/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Basic Styles */
body {
	background-color:#EFE;
	background-image:url(../images/tile3.jpg);
	font-size:20px;
}

nav {
	height: 40px;
	width: 100%;
	background: #456;
	font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;
	position: relative;
	border-bottom: 2px solid #283744;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 600px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 100px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-color: #8c99a4;
}
nav a#pull {
	display: none;
}
.navig1 {
	background-color:#EEE; height:20px; background-image:url(/images/bg.gif);
}
.navig2 {
	font-size:12px; max-width:1200px; margin:auto; padding-top:2px; padding-left:20px;
}
.navig2 a {
	color:#930;
	text-decoration:underline;
}
.navig2 a:hover {
	color:#C63;
	text-decoration:none;
}
.footer {
	background-color:#456; text-align:center; border-top:1px solid #006; padding:8px 0; font-size:12px; color:#FFF;
}
.footer a {
	color:#FF6;
}
.buttons a {
	background-color:#EEE; display:inline-block; width:76px; margin:4px; padding:4px; border:1px solid #CCC; border-radius:4px; white-space:nowrap; text-decoration:none;
}
.buttons a:hover {
	background-color:#FC0;
}
.buttons a b{
	font-size:24px;
}
.button2 a {
	background-color:#EEE; display:inline-block; margin:6px; padding:4px; border:1px solid #CCC; border-radius:4px; text-decoration:none;
}
.button2 a:hover {
	background-color:#FC0;
}
.col_50 {
  width:48%;
  min-width:310px;
  margin:0;
  padding-left:2px;
  float:left;
}
.col_33 {
  width:30%;
  min-width:260px;
  margin:0;
  padding-left:2px;
  float:left;
}

.tartalom {
	max-width:1200px; margin:auto; background-color:#FFF;
	border-left:1px solid #006;
	border-right:1px solid #006;
	padding:2px;
}
#narrow {
  float: left;
  width: 160px;
}
#wide {
  float:right;
  width: calc(100% - 170px);
  min-width:300px;
  padding-left:4px;
}
.active {
	color:#FC0;
	background-color:#5d707f;
}

.lang { width:160px; line-height:20px; text-align:right; font-size:9px; }
/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
#narrow {
  float:none;
  width:auto;
}
#wide {
  float:none;
  width:auto;
}
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
.lang { width:80px; line-height:18px; text-align:right; font-size:9px; }
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}