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

p {
	text-align:center;
}

table, th, td {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    border: 1px solid black;
}
tr{

    color:black;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
}

td.bt {
    width:1.2em;
    text-align: center;
    cursor:pointer;
}
    
#cim {
	color:#35475F;
    font-size: 1em;
    margin-top:0;
}

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

#masodik {
    width: 100%;
    height: 100%;
	float:left;
    display: block;
    overflow:hidden;
}

.bs{
    font-size: 1em;
    padding: 0.5em 0 0 0;
}

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

td.lemogomb {
    background-image: url('fele.png');
    cursor: pointer;
    width: 2em;
    height: 2em;
    background-size: 1.8em;
    background-position: center;
    background-repeat: no-repeat;
    }

td.szoveg1 {
    padding: 0 6px;
}
    
td.szoveg2 {
    padding: 0 6px;
    font-weight: bold;
}
    
.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;
}
.button_link {
    display: block;
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 0;
    color: #00f;
    text-decoration: underline;
    font: inherit;
  }
.button2:hover {
    background-color: #46586F;
}

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

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

#adatok_gomb{
    width: 5em;
}

#adatok2_gomb{
    width: 6em;
}


::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%;
    }

    .textcontainer{
        margin: 0 auto;
    }

    .containerx {
        padding: 10px 20px;
     }

    input[type=text], input[type=number], input[type=password]{
        width: 100%;
        font-size:14px;
        font-weight:bold;
        padding: 6px 2px 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: 50%;*/
        height: 2.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: 1120px) {
    /*#logodiv{display:none;}*/
    .modal-content{width: 100%}
    input[type=text]{width:90%;}
    input[type=password]{width:90%;}
    /*select{width: calc(100% - 10px); margin:10px 5px;}
    .button2{width: calc(100% - 10px); margin:10px 5px;}*/
    .button2{width: 80%; margin:10px 10%;}
    #adatok_gomb{width: 80%; margin:10px 10%;}
    #adatok2_gomb{width: 80%; margin:10px 10%;}
    #tsz1 {display:table-footer-group}
    #tsz2 {display:table-header-group;}
    #fsz2 {display:table-footer-group;}
    #rsz {display:none;}
    .textcontainer {display:none;}
    #menu{top:10em}
    #cim{font-size: 08em}
    #nev_id{width: 80%; margin:4px 10%;}
    #napkozi_id{width: 80%; margin:4px 10%;}
    #cimke{margin:0 auto;text-align: center}
    #also{position: absolute;top:480px; width:100%; }
    #fo_kezdo_0{width:60%; margin:1em auto 0 auto;text-align:center;}
    #fo_kezdo_1{width:100%; margin:1em 1px 0 1px;text-align:center;}
    #menu{background-color: #f4f4f4;}
    /*#logodiv{display:table;margin:1em 2em 0 1em;}*/
}

@media screen and (min-width: 1121px) {
  .modal-content{width: 50%}
  #tsz1 {display:table-cell;}
  #tsz2 {display:table-cell;}
  #fsz2 {display:table-cell;}
  #rsz {display:table-cell;}
  .textcontainer {display:table-cell;}
  #nev_id{margin:4px 0;}
  #napkozi_id{margin:4px 0;}
  #menu{top:110px}
  #cimke{margin:0 10%; text-align: left}
  #also{position: relative;width:50%; }
  #fo_kezdo_0{width:50%; margin:1em 0 0 3em;text-align:left;}
  #fo_kezdo_1{width:80%; margin:1em 0 0 3em;text-align:left;}
  /*#logodiv{display:table;margin:1em 2em 0 10%;}*/
  #menu{background-color: #35475F;}
}

/*@media screen and (max-width: 600px) {
  .topnav a:not(:last-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .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)}
    }

    .xcheckbox-custom, .xradio-custom {
    	opacity: 0;
    	position: absolute;   
    }

    .xcheckbox-custom, .xcheckbox-custom-label, .xradio-custom, .xradio-custom-label {
    	display: inline-block;
    	vertical-align: middle;
    	margin: 0px 10px;
    	cursor: pointer;
     	font-size:14px;
   }

    .xcheckbox-custom-label, .xradio-custom-label {
    	position: relative;
    	font-weight:bold;
    }

    .xcheckbox-custom + .xcheckbox-custom-label:before, .xradio-custom + .xradio-custom-label:before {
    	content: '';
    	background: #fff;
    	border: 2px solid #ddd;
    	display: inline-block;
    	vertical-align: middle;
    	width: 8px;
    	height: 8px;
    	padding: 2px;
    	margin-right: 2px;
    	text-align: center;
    }

    .xcheckbox-custom:checked + .xcheckbox-custom-label:before {
    	box-shadow: inset 0px 0px 0px 2px #fff;
    	background: #0086b3;
    	color: #fff;
    }

    .xradio-custom + .xradio-custom-label:before {
    	border-radius: 50%;
    }

    .xradio-custom:checked + .xradio-custom-label:before {
    	color: #fff;
    	background: #0086b3;
    	box-shadow: inset 0px 0px 0px 4px #fff;
    }

    .xcheckbox-custom:focus + .xcheckbox-custom-label, .xradio-custom:focus + .xradio-custom-label {
  	outline: 1px solid #ddd; /* focus style */
    }



