@import url(https://fonts.googleapis.com/css?family=Capriola);

html
{
	min-height: 100%;
	position: relative;
}

body
{
	background: #ffffe6 url(http://loczygimnazium.hu/content/theme/img/hatter.png) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin-bottom: 120px;
}



@media(max-width: 767px)
{
	body
	{
		background: #ffffe6;
	}
}

*
{
	margin: 0;
	padding: 0;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 12pt;
}

#Holder
{
	padding: 0 25px 0 25px;
	padding-bottom:100px;
}

#wrapper 
{
	min-height:100%;
}

p
{
	margin: 0;
	text-align: justify;
}

a,
a:focus
{
	text-decoration: none;
	color: #0f71ba;
}

a:hover
{
	text-decoration: none;
	color: #89c6f5;
}

strong
{
	font-weight: bold;
}

table.tb-border td,
table.tb-border th
{
	border-top: 1px solid grey;
	padding: 0.4em 1em 0.4em 1em;
	text-align: left;
}

.search-box
{
	border-radius: 3px;
}



/* Menü */

header {
  height:64px;
  width: 100%;
  z-index: 255;
  background-color: #00001a;
  background: linear-gradient(top, bottom, #3fa4f0 0%, #00001a 100%);
  background: -moz-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3fa4f0), color-stop(100%, #00001a));
  background: -webkit-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
  background: -o-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
  background: -ms-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
}

header ul
{
	list-style: none;
	float: right;
}

header nav .burger
{
	padding: 10px;
	background: #00001a;
	float: right;
	margin-top: 10px;
	cursor: pointer;
}

header nav .burger .arrow
{
	display: block;
	height: 5px;
	width: 32px;
	background: #ffffe6;
}

header nav .burger .arrow + .arrow
{
	margin-top: 5px;
}

header ul li
{
	float: left;
	vertical-align: middle;
	line-height: 64px;
	margin-right: 15px;
}

header ul li a,
header ul li a:focus
{
	display: block;
	height: 64px;
    color: #d0e6fb;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	font-family: Capriola, Helvetica, sans-serif;
	font-size: 15px;
}

header ul li a:hover
{
	color: white;
}

header ul ul
{
	margin: 0;
	text-align: initial;
	float: initial;
	position: absolute;
	min-width: 200px;
	background: #00001a;
	padding: 10px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
}

header ul ul li
{
	float: initial;
	height: 32px;
	line-height: 32px;
	margin: 0;
}

div.search
{
	background: url(http://loczygimnazium.hu/content/theme/img/icon/kereses.png);
	width: 32px;
	height: 32px;
	margin-top: 16px;
	cursor: pointer;
}

img.logo
{
	display: block;
	width: initial;
	margin-top: 2px;
}

@media(max-width: 768px)
{
	
	header
	{
		height: auto;
		min-height: 64px;
		position: initial;
	}
	
	header nav
	{
		text-align: initial;
	}
	
	header ul
	{
		display: none;
		float: initial;
		margin-top: 64px;
		margin-left: auto;
		margin-right: auto;
		width: 200px;
	}
	
	header ul li
	{
		width: 200px;
		text-align: center;
		float: initial;
		margin-top: 5px;
		margin-right: 0;
		background: #0066ff;
		line-height: 32px;
		cursor: pointer;
	}

	header ul li a,
	header ul li a:focus
	{
		display: block;
		line-height: 32px;
		height: 32px;
	}
	
	header ul ul
	{
		float: initial;
		background: transparent;
		box-shadow: initial;
		position: initial;
		padding: initial;
		width: 200px;
	}
	
	header ul ul li
	{
		display: block;
		float: initial;
		height: 32px;
		line-height: 32px;
		margin: 5px 0 0 0;
	}
	
	img.logo
	{
		display: block;
		float: initial;
		margin: 2px auto 0 auto;
		text-align: center;
	}
}


/* ---------------------------------------------*/


#maps_aligner
{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#maps_aligner iframe
{
	position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.ytb-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.ytb-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.img-wrapper 
{
    max-width:90%;
    height:auto;
    position: relative;
    display:block;
    margin:0 auto;
}

.img-wrapper img
{
    max-width:100% !important;
    max-height:100% !important;
    display:block;
	margin-bottom: 25px;
}

img.top-post
{
	display: block;
	width: auto;
	text-align: center;
	margin: 10px auto;
}

img.left-post,
img.right-post
{
	margin: 0 10px 10px 10px;
}

div.post-body
{
	text-align: justify;
	margin-left: 1em;
	margin-right: 1em;
	margin-bottom: 25px;
}

div.page-body
{
	padding: 25px 50px;
	text-align: justify;
}

div.post-date
{
	font-family: Capriola, Helvetica, sans-serif;
	font-size: 15px;
	padding-top: 5px 1em;
}

.allborder, .allborder td, .allborder th
{
	border: 1px solid grey;
	border-collapse: collapse;
	word-wrap: break-word;
	table-layout: fixed;
}

.allborder td, th
{
	padding: 0.4em 1em 0.4em 1em;
}

.idezet span
{
	position: absolute;
    left: -1000px;
    visibility: hidden;
    background-color: #222266;
    color: #ffffff;
    font-weight: normal;
    font-family: Arial, sans-serif;
    padding: 1em;
    width: 700px;
    text-decoration: none;
}

.idezet:hover span
{
	position: absolute;
    left: 100px;
    visibility: visible;
    background-color: #222266;
    color: #ffffff;
    font-weight: normal;
    font-family: Arial, sans-serif;
    padding: 1em;
    width: 700px;
    text-decoration: none;
}


#koszontsz
{
	font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 1.6em;
    line-height: 1.3em;
	color: #0f71ba;
	margin-bottom: 15px;
	margin-top: 10px;
}

#alapitvany
{
	border-radius: 25px;
	background-color: #8B0000;
	max-width: 780px;
	margin: 0 auto;
	color: white;
	animation: bounceIn 2s;
	font-family: "Trebuchet MS", Tahoma, sans-serif;
	line-height: 1.2em;
	padding: 0.2em 0.5em 0.5em 0.8em;
	font-size: 1em;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	background-color: #f3c5bd;
	background: linear-gradient(top, #ea2803 0%, #ff6600 75%, #c72200 100%);
/* background: -moz-linear-gradient(top, #ffbb99 0%, #cc3300 100%);*/
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffbb99), color-stop(100%, #cc3300));
/*  background: -webkit-linear-gradient(top, #ffbb99 0%, #cc3300 100%);*/
	background: -o-linear-gradient(top, #ea2803 0%, #ff6600 75%, #c72200 100%);
	background: -ms-linear-gradient(top, #ea2803 0%, #ff6600 75%, #c72200 100%);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	background: -moz-linear-gradient(top, #ea2803 0%, #ff6600 75%, #c72200 100%);
	background: -webkit-linear-gradient(top, #ea2803 0%,#ff6600 75%,#c72200 100%);
	background: linear-gradient(to bottom, #ea2803 0%,#ff6600 75%,#c72200 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3c5bd', endColorstr='#c72200',GradientType=0 );
}

#alapitvany a
{
	color: lightgreen

}

#alapitvany a:hover
{
	color: red
}

.center,
#evismetlo
{
	text-align: center;
}

.left
{
	text-align: left;
}

.right
{
	text-align: right;
}

.justify
{
	text-align: justify;
}

ol li 
{
	margin-top: 1em;
}

div.post-title 
{
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	padding: 5px 1em;
	min-height: 32px;
	margin-bottom: 1em;
	font-size: 1em;
	font-family: Capriola, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: #00001a;
	background: linear-gradient(top, bottom, #3fa4f0 0%, #00001a 100%);
	background: -moz-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3fa4f0), color-stop(100%, #00001a));
	background: -webkit-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -o-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -ms-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
}

div.pg-title
{
	padding: 5px 0.5em;
	font-size: 1em;
	color: #FFFFFF;
	background-color: #00001a;
	font-family: Capriola, Helvetica, sans-serif;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
	background: linear-gradient(top, bottom, #3fa4f0 0%, #00001a 100%);
	background: -moz-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3fa4f0), color-stop(100%, #00001a));
	background: -webkit-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -o-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -ms-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
}


section.page-content
{
	display: block;
	max-width: 1000px;
	min-height: 150px;
	box-shadow: 2px 2px 2px rgba(0,0,0,.15);
	margin-top: 20px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	padding-bottom: 1em;
	word-wrap: break-word;
	background: #ffffff;
}

section.page-content p
{
	text-indent: 0px;
}

footer
{
	width: 100%;
	position: absolute;
	height: 125px;
	bottom: 0;
  	/*margin-top: -100px;*/
  	clear:both;
	color: #ffffe6;
	line-height: 1.2em;
	background-color: #00001a;
	background: linear-gradient(top, bottom, #3fa4f0 0%, #00001a 100%);
	background: -moz-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3fa4f0), color-stop(100%, #00001a));
	background: -webkit-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
	background: -o-linear-gradient(top, #3fa4f0 0%, #00001a 100%);
}

footer div.footer-content
{
	display: table;
	text-align: center;
	margin: 0 auto;
}

footer img.footlogo
{
	margin-top: 3.5px;
}


#bannerek
{
	width: 120px;
	float: left;
	margin-bottom: 20px;
}

a.banner_a img
{
	margin-top: 5px;
}

#ContentIndex
{
	display: table;
	max-width: 980px;
	margin-bottom: 100px;
	margin-left: auto;
	margin-right: auto;
}

section.post {
	max-width: 640px;
	height: auto;
	overflow: auto;
	margin: 0 auto;
	background: #ffffff;
	word-wrap: break-word;
	margin-bottom:25px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

section.search-result-box {
	min-width: 640px;
	height: auto;
	overflow: auto;
	margin: 0 auto;
	background: #ccefff;
	word-wrap: break-word;
	margin-bottom:25px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

h3 a { font-size: 24px; }

ol { padding-left: 1em; }

.csengetes table,
.orarend table 
{
	border-collapse: collapse; 
	border: 1px solid grey;
	margin: 0;
	margin-top: 10px;
}

.csengetes td, .csengetes th, .orarend th, .orarend td
{
	border: 1px solid grey;
	padding: 0.4em 1em 0.4em 1em;
	vertical-align: top; 
	text-align: left;
}

.csengetes tr, .orarend tr
{
	border: 1px, solid grey;
}

.oszfo
{
	float: left;
	font-weight: bold;
	margin: 0;
}

.letszam
{
	float: right;
	font-weight: bold;
}

.noborder
{
	border:none;
	margin: 0;
}

.minmargin
{
	margin-bottom: 25px;
}

.nomargin
{
	margin: 0;
}

li.nomargin
{
	margin:0;
}

.adatlap span
{
	position: absolute;
	visibility: hidden;
}

.adatlap:hover span 
{
	visibility: visible;
	left: 300px;
	z-index: 150;
}

.tanarviewer 
{
	border: none;  
	margin: 0; 
	width: 100%;
	text-align: center;
}

.tanarviewer.nev strong
{
	font-weight: normal;
}

td.nev
{
	width: 205px;
    text-align: right;
    padding-right: 1.5em;
    font-weight: bold;
}

td.targy
{
	width: 395px;
}

td.adatlapos
{
	    padding-left: 5px;
    padding-right: 2px;
    vertical-align: middle;
    width: 35px;
}

.tanarviewer td
{
	border: none;
    border-bottom: 1px solid grey;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    vertical-align: top;
	padding: 0.2em 0.5em;
}

p.osztfonok
{
	font-weight: bold;
}

span.emuul
{
	padding-left:25px;
}

span.datum
{
	float: right;
}

/*---*/
@keyframes bounceIn {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/*-----*/

