* {
	margin:0;
	padding:0;
}
body {
	font-family: 'Headland One', serif; 
	font-size:100%;
	background-color: #e0f7ff;
	margin: 0;
	padding: 0;
	color: #3d3b38;
	text-shadow:0 0px, 1px 1px #f7eec7;
}
h1 {
    font-family: '', serif; 
	padding:15px 0 0 0;
	font-weight:inherit;
    text-align: center;
}
h1 a {
	font-size:1.2em; 
	color:#1f4061;
/*	font-family: 'Skranji', cursive;*/
	text-decoration:none;
	line-height:10px;
    text-align: center;
}
h2 {
	/*font-family: 'McLaren', cursive;*/
	font-size:1.8em;
	color:#1f4061;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 0px;
}

h3 {
    /*font-family: 'McLaren', cursive;*/
    font-size:1.2em;
    color:#1f4061;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 0px;
}

h4 {
    /*font-family: 'McLaren', cursive;*/
    font-size:1em;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 0px;
}

span {
/*	font-family: 'McLaren', cursive;*/
	text-transform:uppercase;
	color:#1b728f;
	font-size:1em;
}
a img { 
	border: none;
}
a {
	color: #1b728f;
	text-decoration: underline; 
}
a:hover { 
	color: #095974;
	text-decoration: none;
}
img {
	max-width: 100%;
	height: auto;
}
/*
img.kepeslap {
    width: 500px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;    
}
*/
p {
	line-height:140%;
}
.wrapper {
	width:700px;
	margin:0 auto;
}
header {
	text-align:center;
}
header img {
	margin:20px 0 0 0;
	float:left;
}

.menu_tablazat {
    padding: 0px; 
    margin: 0px;
}

.welcome {
	width:64.166666666666666666666666666667%; /* 616px/960px */
	float:left;
	margin:20px 0 0 0;
}

.tartalom {
    width:650px; /* 616px/960px */
    margin-left: auto;
    margin-right: auto;
}

.felso{
    width:100%;
    margin-left: auto;
    margin-right: auto;
    text-align:center;  
}

.bal{
    width:200px;
    text-align:right;  
}

.jobb{
    width:200px;
    text-align:left;  
}

.kozep{
    width:500px; 
}

.also{
    width:100%;
    margin-left: auto;
    margin-right: auto;
    text-align:center;  
}


.kepeslap {
    width:100%; /* 616px/960px */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

img.kepeslap {
    width: 300px;    
    margin-left: auto;
    margin-right: auto;  
    padding-bottom: 20px;
    padding-top: 10px;
}
/*
table.kepeslap {
    width: 900px;    
    margin: 20px;
    border: none;
}*/

kep.kepeslap {
    border:none;    
    text-align: center;
}

.kepeslapszoveg {
    border:none;    
    text-align: justify;
}

img.terkep {
    width: 600px;    
    margin-left: auto;
    margin-right: auto;  
}

.sidebar {
	width:31.041666666666666666666666666667%; /* 298px/960px */
	float:right;
	margin:20px 0 0 0;
}
.sidebar li {
    list-style: none;
	width:100%;
	border-bottom: 1px dotted #3d3b38;
    box-shadow: 0 1px #f7eec7;
}
.sidebar li a {
	background: url("../images/p.png") no-repeat scroll 7px 14px;
    display: block;
    padding: 7px 10px 7px 17px;
	text-decoration:none;
	color: #3d3b38;
	text-shadow:0 0px, 1px 1px #f7eec7;
}
.sidebar li a:hover {
	background:rgba(126, 66, 0, 0.3) url("../images/p.png") no-repeat scroll 7px 14px;
	padding: 7px 10px 7px 17px;
}
.boxes li {
	list-style:none;
	width:26.599%;
	display:block;
	float:left;
	margin-right:4%;
	padding:2%;
	background:none repeat scroll 0 0 rgba(126, 66, 0, 0.3);
}
.boxes li img {
	box-shadow:1px 1px 0px 0 #f7eec7;
	margin:10px 0 0 0;
}
.lastBox {
	margin-right:0 !important;
}
footer {
	text-align: center;
/*	padding:20px 10px;*/
/*background:none repeat scroll 0 0 rgba(126, 66, 0, 0.3);*/
/*	margin-top:20px;*/
}
footer p {
	font-size:0.8571428571428571em; /* 12px/14px */
}
footer a {
	color:#1b728f;
	text-decoration:underline;
}
footer a:hover {
	color:#095974;
	text-decoration:none;
}
.clearfloat { 
	clear:both;
	height:20px;
	line-height: 0px;
}
/**************************/
/*********************************Begin main menu****************************************/
/**************************/
nav {
/*	background:none repeat scroll 0 0 rgba(126, 66, 0, 0.3);*/
	text-align:center;
/*	padding:10px 0;*/
	margin-bottom:0px;
}

nav img {
    height: 40px;
}

nav li {
	list-style:none;
	display:list-item;
/*	padding:10px 0;*/
}
nav li a {
/*	font-family: 'McLaren', cursive;*/
/*	text-shadow:0 0px, 1px 1px #000000;*/
	/*color:#a0945f;*/
/*	text-shadow:0 0px, 1px 1px #393939;*/
	/*text-transform:uppercase;*/
	text-decoration: none;
	padding:10px 15px;
    font-size:medium;    
}
nav li a:hover {
/*	background:#7e4200;
    color:#a0945f;*/
}
nav .active a {
	/*background:#7e4200;*/
}
nav select {
      display: none;
    }
select {
	width:200px;
}
/**************************/
/*********************************End main menu****************************************/
/**************************/
/*********************************Begin Media Queries****************************************/
/**************************/
/* for 960px or less */
@media screen and (max-width: 980px) {
	.wrapper {
		width:93.75%; /* 960px/1024px  */
		margin:0 auto;
	}
}
/* for 768px or less */
@media screen and (max-width: 768px) {
	.welcome {
		float:none;
		width:auto;
	}
	.sidebar {
		float:none;
		width:auto;
		padding-top:20px;
	}
	.boxes li {
		float:none;
		width:auto;
		margin-right:0 !important;
		padding:2%;
		text-align:center;
		border-bottom: 1px dotted #3d3b38;
    	box-shadow: 0 1px #f7eec7;
	}
	nav ul { display: none; }
	nav select { display: inline-block; }
	
}
/* for 480px or less */
@media screen and (max-width: 480px) {
	

}
/**************************/
/*********************************End Media Queries****************************************/
/**************************/