html, body{
	/*background-color: #d6e2e7;*/
	background-color: #f4f4f4;
	height:100%;
    margin:0;
    font-family: 'Open Sans', sans-serif;
}

p {
	text-align:center;
}

#cim {
	color:#35475F;
    font-size: 1em;
    margin-top:0;
}

#fo {
    overflow:hidden;
    width: 100%;
	height: calc(100% - 40px);
    display: block;
}

#masodik {
    width: 100%;
    height: 100%;
	float:left;
    display: block;
    overflow:hidden;
}
.button {
    background-color: #0086b3;
    font-size: 16px;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

.button1 {
    background-color: #0086b3;
    font-size: 16px;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 49%;
}

.button2 {
    	background-color: #35475F;
    	font-size: 16px;
    	color: white;
    	padding: 10px 10px;
    	border: none;
    	cursor: pointer;
    	width: 7em;
    	display: inline-block;
    	margin: 0 auto;
}
.button2:hover {
    background-color: #46586F;
}

.button2:active {
    background-color: darkgray;
}

.button:hover, .button1:hover, .cancelbtn:hover {
    opacity: 0.65;
}

::placeholder{
	font-weight:normal;
	font-size:12px;    
    }

    /* Extra styles for the cancel button */
    .cancelbtn {
    	background-color: darksalmon;
    	font-size: 16px;
    	color: white;
    	padding: 10px 20px;
    	margin: 8px 0;
    	border: none;
    	cursor: pointer;
    	width: 100%;
    }

    .containerx {
        padding: 10px 20px;
     }

    input[type=text], input[type=password]{
        width: 100%;
        font-size:14px;
        font-weight:bold;
        padding: 6px 20px; /* a beleírt szöveg teteje+alja, ill. bal+jobb oldal*/
        display: block;
        margin: 8px auto;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }
    
 
    select{
        width: 100%;
        height: 2em;
    	padding: 0px 20px;
    	margin: 8px auto;
        font-size: 14px;
        font-weight:bold;
    	border-radius: 0px;
    	box-shadow:0;
    	background-color:#fefefe;
        display: block;
        border: 1px solid #ccc;
    	cursor:pointer;
    }


.topnav {
  overflow: hidden;
  /*background-color: #333;*/
  background-color: #527045;
  height: auto;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 0.3em 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 1.5vh 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: #f9f9f9;*/
    background-color: #B8D6AB;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 1.2vh 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #749267;
  color: white;
}

#bea{
    padding: 0.5em;
	font-size:14px; 
	color:limegreen;
}

#bea:hover{
	background-color: #527045;
	color:Lime;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:last-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .modal-content{width: 100%}
    #cim{font-size: 2.25em;}
}

@media screen and (min-width: 1001px) {
    #logodiv{display:table;margin:1em 2em 0 10%;}
  }
  
  @media screen and (max-width: 1000px) {
    #logodiv{display:table;margin:1em 2em 0 1em;}
}

@media screen and (max-width: 900px) {
    #logodiv{display:none;}
    #fejlec{display:none;}
    #fo{height: calc(100% - 40px);}
}

@media screen and (min-width: 601px) {
  .modal-content{width: 50%}
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

  .modal {  /* The Modal (background) */
    	display: none; /* Hidden by default */
    	position: fixed; /* Stay in place */
    	z-index: 1; /* Sit on top */
    	left: 0;
    	top: 0;
    	width: 100%; /* Full width */
    	height: 100%; /* Full height */
    	overflow: auto; /* Enable scroll if needed */
    	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    	padding-top: 10px;
	}

    .modal-content { /* Modal Content/Box */
    	background-color: #fefefe;
    	font-size:14px;
    	margin: 0 auto auto auto; /* 5% from the top, 15% from the bottom and centered */
    	border: 1px solid #888;
    	/*width: 50%; /* Could be more or less, depending on screen size */
    }

    /* Add Zoom Animation */
    .animate {
    	-webkit-animation: animatezoom 0.6s;
    	animation: animatezoom 0.6s
    }

    @-webkit-keyframes animatezoom {
    	from {-webkit-transform: scale(0)} 
    	to {-webkit-transform: scale(1)}
    }
    
    @keyframes animatezoom {
    	from {transform: scale(0)} 
    	to {transform: scale(1)}
    }

