body {
	background-color: rgb(40,40,40);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
header.big {
	width: 100%;
	height: 200px;
	display: inline-block;
	background: red; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
	background: linear-gradient(red, yellow); /* Standard syntax */
	border-bottom: 1px solid black;
	box-shadow: 0px 3px 3px black;
	position: fixed;
	top: 0;
	left: 0;
	bottom: auto;
}

header.big h1 {
	color: yellow;
	text-shadow: 3px 3px 3px black;
	margin-left: 20px;
	font-size: 46px;
	font-weight: 900;
	padding: 0px;
	margin: 0px;
	display: inline-block;
}

header.big div.Fejléc {
	height: 128px;
	text-align: left;
}

header.big div.Fejléc p.motto {
	font-size: 18px;
	padding: 0px;
	font-style: italic;
}

header.big div.logo {
	background-image: url('content/logo.png');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 128px 128px;
    background-position: 0px 0px;
	width: 128px;
	height: 128px;
	display: inline-block;
	float: left;
}

header.big div.tuzolto {
	background-image: url('content/tuzolto.png');
	background-repeat: no-repeat;
	background-size: 350px 200px;
    background-position: 0px 0px;
	width: 350px;
	height: 200px;
	display: inline-block;
	position: fixed;
	right: 0px;
	top: 0px;
}
header.small {
	width: 100%;
	height: 50px;
	display: inline-block;
	background: red; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
	background: linear-gradient(red, yellow); /* Standard syntax */
	border-bottom: 1px solid black;
	box-shadow: 0px 3px 3px black;
	z-index: 0;
	position: fixed;
	top: 0;
	left: 0;
	bottom: auto;
}

header.small div.Fejléc {
	background-image: url('content/logo_small.png');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 50px 50px;
    background-position: 20px 0px; 
	height: 50px;
}
header.small div.Fejléc p.motto {
	display: none;
}
header.small h1 {
	
	display: none;
}
nav.big {
	min-width: 1067px;
	display: inline-block;
	position: fixed;
	top: 142px;
	font-size: 22px;
	left: 20px;
}

nav.big ul li {
	list-style: none;
	float: left;
	margin: 0;
	margin-right: 5px;
	padding: 5px;
	height: 48px;
	width: 150px;
	display: inline-block;
	background: red; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(brown, red); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(brown, red); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(brown, red); /* For Firefox 3.6 to 15 */
	background: linear-gradient(brown, red); /* Standard syntax */
	box-shadow: inset 1px 1px 5px black;
}

nav ul {
	list-style-position: outside;
	padding: 0px;
	margin: 0px;;
}

nav.big ul li.active {
	background: white;
	border-bottom: 7px solid white;
	box-shadow: inset 0px 5px 5px 0px black;
}
nav.big ul li.active a {
	color: yellow;
	text-shadow: 1px 1px 2px black;
}

nav.small {
	display: inline-block;
	position: fixed;
	top: 10px;
	font-size: 22px;
	padding: 2px;
	left: 80px;
}

nav.small ul li {
	list-style: none;
	float: left;
	margin: 0;
	margin-right: 20px;
	padding: 0px;
	display: inline-block;
}

nav.small ul li.active a {
	color: black;
	text-shadow: 1px 1px 2px black;
}

nav.big a, nav.big a:visited {
	text-align: left;
	text-decoration: none;
	color: white;
	text-shadow: 0px 0px 3px black;
	height: 48px;
	width: 150px;
	display: inline-block;
}

nav.big a:hover {
	color: yellow;
}

nav.small a, nav.small a:visited {
	text-align: left;
	text-decoration: none;
	color: brown;
	text-shadow: 0px 0px 3px yellow;
	display: inline-block;
}

nav.small a:hover {
	color: white;
}

main {
	background-color: white;
	width: 100%;
	min-height: 600px;
	display: inline-block;
	margin-top: 200px;
}
main section {
	font-size: 18px;
	width: 70%;
	padding: 50px;
}
main section article {
	border-bottom: 1px solid black;
	padding-bottom: 50px;
}
main section article p {
	text-align: justify;
	margin-top: 25px;
	margin-bottom: 25px;
}
main section article font.szam {
    font-size: 200%;
    color: red;
}
main section article p img {
	margin-left: 40px;
}
main section article table.arak {
	margin-left: 20px;
	width: 80%;
}
main section article table.arak tr:nth-child(even) {
	background-color: #fffed1;
} 
main section article table.arak th, main section article table.arak td, table#mailTable {
    text-align: left;
}

aside.up {
	background-color: yellow;
	width: 20%;
	height: 600px;
	display: inline-block;
	float: left;
	margin-top: 200px;
	border-left: 1px solid black;
	position: fixed;
	top: -150px;
	right: 0;
}
aside.down {
	background-color: yellow;
	width: 20%;
	height: 600px;
	display: inline-block;
	float: left;
	margin-top: 200px;
	border-left: 1px solid black;
	position: fixed;
	top: 0px;
	right: 0;
}
footer {
	width: 100%;
	height: 100px;
	display: inline-block;
	color: white;
	font-size: 16px;
	padding: 50px;
	background-color: rgb(40,40,40);
	position: relative;
	bottom: 0px;
}
footer a, footer a:visited {
	text-decoration: none;
	color: brown;
	font-size: 18px;
}
footer p.webmester {
	position: absolute;
	top: 110px;
	right: 150px;
	font-size: 14px;
}
footer a.webmester, footer a.webmester:visited {
	text-decoration: underline;
	color: brown;
	
}
