/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clear{
	clear:both;
}
.fl{
	float:left;
}
.fr{
	float:right;
}
a{
	text-decoration:none;
	color:#000;
}
body {
	background-color:#ffa800;
	font-family: 'PT Sans', Arial, sans-serif;
	margin:0px auto;
	overflow-y:scroll;
	font-size: 1em;
}

.wrapper{
	max-width:1000px;
	margin:0px auto;
}

.logoh{
	width:30%;
	max-width:270px;
}
.logoh img{
	display: block;
	width:100%;
	max-width:270px;
	max-height:80px;
}
.adholder728{
	width:70%;
	max-width:728px;
}
.adholder728 img{
	display: block;
	width:100%;
	max-width:728px;
}
.holder{
	margin: 5px auto 0;
	background-color:#ffd27a;
    border: 1px solid #bfbfbf;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 3px;
}

nav.menu{

}
nav.menu li a {
	color:#000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	display:block;
	height:100%;
}

nav.menu ol, ul {
    list-style: outside none none;
	margin: 0;
    padding: 0;
}
nav.menu li{
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
	height:40px;
	background: #e5dc99;
    border: 1px solid black;
    border-radius: 10%;
    box-sizing: border-box;
    display: block;
    float: left;
    margin: 0.5%;
    padding: 0.5%;
    text-align: left;
    width: 19%;
	border-radius: 3px;
	color:#fff;
	font-weight:bold;
	font-size: 1em;
	line-height: 1em;	
}
nav.menu li:hover{

		background: #e5dc69;
}
	
nav.menu li a img{
	display:inline-block;
	height:100%;
	width:auto;
	margin-right: 2%;
	vertical-align: middle;
}

.maintitle{
	font-size:1.2em;
	line-height: 1.4em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	padding-left:5px;
	margin-bottom: 5px;
}
.main{

}
.grid{

	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	border: 1px solid black;
    border-radius: 3px;
	background-color: white;
	float:left;
	width:19%;
	/*height: 230px;*/
	overflow:hidden;
	margin: 0.5%;
    padding: 0.5%;
}
.grid:hover{
	background-color: #fffca4;
}
.jkep{
	overflow:hidden;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 70%;
}

.jkep img{
	width:100%;
}
.jcim h2{
	margin:0;
	color:#934c00;
	font-size: 1em;
    line-height: 1.4em;
	text-shadow: 1px 1px 2px #fff;
}
.jleir{
	font-size: 1em;
    line-height: 1.4em;
}
.jmaintitle{
	text-align:center;
}
.mypager{
	padding-top:15px;
	clear:both;
	font-size:1.2em;
	text-align:center;
}
.iframecontainer{
    display: table;
    float: left;
    text-align: center;
    width: 100%;
}
.iframecontainer iframe{
    margin-left:auto;
	margin-right:auto;
}
.iframecontainer div{
    margin-left:auto;
	margin-right:auto;
}

.iframecontainer2 p{
	margin-top:3px;
	margin-bottom:3px;
}
.jdescript{
	margin-top:6px !important;
	margin-bottom:6px !important;
	padding-top:3px;
	padding-bottom:3px;
	background-color:#fffca4;
}
.iframecontainer2{
    display: block;
    float: left;
    text-align: center;
    width: 100%;
	position:relative;
}
.notoverlayimg{
	width: 10vw;
	height:auto;
}
.overlayimg{
	display: block;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width:75px;
	height:75px;
	position:absolute;
	top:163px;
}
.bottomimg{
    display: block;
    /*height: 400px;*/
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    width: 25vw;
}
.f_item{
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	/*border: 1px solid black;
    border-radius: 3px;
	background-color: #ccc;*/
	color: #000;
	float:left;
	width:32.333%;
	/*height: 230px;*/
	overflow:hidden;
	margin: 0.5%;
    padding: 0.5%;
}
.footer p{
	padding-left:5px;
	margin-top:0px;
	margin-bottom:5px;
	font-size:0.8em;
}
/* Mobile first queries */
#videoplayer {
    border: 5px solid #ccc;
    float: left;
    max-width: 622px;
    text-align: center;
    width: calc(100% - 380px);
}
.sideadholder {
    float: right;
    width: 368px;
}
	@media (max-width: 799px) {
		#videoplayer{
		width:100%;
		max-width:100%;
		float:none;
				 box-sizing: border-box;
			-moz-box-sizing: border-box;
		}
		.sideadholder{
		margin-left:auto;
		margin-right:auto;
		float: none;
		}
	}
.mymenu { display: block; width: 100%; margin: 0; }
	#toggle, .toggle { display: none; }

@media only screen and (max-width: 750px){

	.mymenu > li { display: block; width: 100%; margin: 0; }
	.mymenu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.mymenu{ display: none;}
}	
	
@media (max-width: 750px) {
.mymenu{ display: none;}
.notoverlayimg{
width: 20vw;
}
body{
font-size: 0.9em;
}
.grid{
width:24%;
/*height:190px;*/
}
	nav.menu li{
		font-size: 1em;
		height:40px;
		width:50%;
		margin:0;
	}

	.mymenu > li { display: block; width: 100%; margin: 0; }
	.mymenu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

	.toggle{
		content: 'Kategóriák';
		font-weight:bold;
		display: block;
		padding-top: 10px;
		padding-bottom: 10px;
		background-color:#51C1F1;
		background-image: url("/images/nav-icon.png"); 
		background-repeat: no-repeat;
		background-position: right 10px top 10px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		text-align: left;
		padding-left:5px;
		font-size: 1.1em;
		color: #FFFFFF;
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
	}	
	.toggle:hover:after{
		background-color: #45ABD6;
	}	

	
	
.jcim h2{
	margin:0;
	font-size:0.9em;
}
.jleir{
	font-size:0.8em;
}
}

@media (max-width: 550px) {	
.notoverlayimg{
	width: 30vw;
}
body{
	font-size: 0.8em;
}
.grid{
	width:32.3333%;
/*height:190px;*/
}

.jcim h2{
	margin:0;
	font-size:0.8em;
}
.jleir{
	font-size:0.7em;
}
.bottomimg{
	width: 30vw;
	height:auto;
}
.overlayimg{
	width:56px;
	height:56px;
	top:147px;
}
}
@media (max-width: 420px) {	
body{
font-size: 0.8em;
}
	nav.menu li{
	width:100%;
	}	
.grid{
width:49%;
/*height:200px;*/
}
.bottomimg{
width: 45vw;
height:auto;
}
.overlayimg{
width:56px;
/*height:56px;*/
top:122px;
}
}



