html, body{
	/*background-color: #d6e2e7;*/
	background-color: #f4f4f4;
	height:100%;
    margin:0;
}

#first {
	width:20%;
	float:left;
	overflow:hidden;
	height:100%;
    margin-left: 3%;
}

#second {
	width:100%;
	overflow:hidden;
    display:block;
	height:100%;
 }

#masodik {
	//width:80%;
    height: 100%;
   // height:calc(100% - 2em);
	float:left;
    display: inline-block;
    overflow:hidden;
    //padding-left: 5%;
    //padding-right: 5%;
}

#elso {
	width:3%;
	float:left;
	overflow:hidden;
}

#harmadik {
	width:3%;
}
    
#suli{
    display:inline-block;
    float:left;
    font-size: 16px;
    color:orange;
    margin-right: 3em;
}

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

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

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

.topnav .icon {
  display: none;
}

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

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

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

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

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

.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;
  }
  #first{display:none;}
  #masodik{width:100%; margin-right: 0;}
  #second{ height: calc(100% - 2em);}
  .modal-content{width: 100%}
}

@media screen and (min-width: 601px) {
  #masodik{width:74%; margin-right: 3%; }
  .modal-content{width: 50%}
  .topnav{display:none;}
}

@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: 60px;
	}

    .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)}
    }

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

   .button:hover, .button2:hover, .button3:hover, .cancelbtn:hover {
    	opacity: 0.65;
    }
    
    ::placeholder{
	font-weight:normal;
	font-size:12px;    
    }

    /* Extra styles for the cancel button */
    .cancelbtn {
    	background-color: coral;
    	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: 2px 10px; /* a beleírt szöveg teteje+alja, ill. bal+jobb oldal*/
        margin: 6px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }
    
    select{
        width: 100%;
        height: 1.8em;
    	padding: 0px 20px;
    	margin: 3px 0px;
        font-size: 14px;
        font-weight:bold;
    	border-radius: 0px;
    	box-shadow:0;
    	background-color:#fefefe;
        display: inline-block;
        border: 1px solid #ccc;
    	cursor:pointer;
    }

