body {
	/*width: 1200px;*/
	margin: 0 auto;
	background-color: #FFFFFF;
	font: 1em 'Arial', 'Verdana'; sans-serif;
	/*1em=12pt=16px - Vsetko co máš v px delíš 16 a uvádzaš to v em (príklad: 1000px/16=62.5em, ale BACHA, vsetko sa odvija od velkosti fontu takze pokial je iny, nez 1em, tak sa zmeni vsetko = RIESENIE Ak mám velkosť písma 0.875em (14/16), tak potom vsetko delím 14*/
	color: #5b5b5b;
}

a {
	text-decoration: none;
	color: #5b5b5b;
}

.container {
	margin: 0 auto;
	width: 1200px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

img {
	border: 0;
}

/* HEADER */
header {
	clear: both;
	position: relative;
	margin: 0 auto;
	display: block;
	width: 1200px;
	height: 100px;
}

header .tel a {
	position: absolute;
	right: 80px;
	top: 30px;
	font-size: 1.8em;
	color: #F5F5F5;
	font-weight: bold;
	text-shadow: -2px 2px 2px rgba(0,0,0,0.4);
}

/* LOGO */
logo img {
	margin: 0;
	height: auto;
}

logo span {
	display: none;
}

	.logo_fix span {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		height: 40px;
		background: #F00;
		color: #ffffff;
		font-weight: bold;
		padding: 5px 5px 0 10px;
		z-index: 99;
		font-size: 1.5em;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.logo_fix img {
		display: none;
	}

/* NAV MENU SUBMENU */
nav {	
	background: rgba(227,0,15,1);
	color: #ffffff;
	width: 100%;
	/*height: 2.50em;*/
	height: 40px;
	font-size: 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin-bottom: 10px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.nav_fix {
	position: fixed;
	top: 0;
	z-index: 99;
}

	.current_page {
		text-decoration: underline;
	}

nav a {
	color: #ffffff;
}

nav a:hover {
	text-decoration: underline;
}

	nav a:active {
		text-decoration: underline;
	}

nav ul {
	margin: 0 auto;
	width: 1200px;
	padding: 0;
	list-style-type: none;
	color: #ffffff;
}

nav li {
	display: inline-block;
	padding: 10px;
	margin-right: 10px;
}

.submenu {
	position: relative;
	display: inline-block;
	padding: 10px;
	margin-right: 10px;
}

	.submenu.current_page {
		text-decoration: underline;
	}

.submenu-content {
	display: none;
	position: absolute;
	left: 0;
	margin-top: 10px;
	background-color: rgba(227,0,15,1);
	min-width: 250px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
	z-index: 99;
}

.submenu-content a {
	display: block;
	padding: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}

.submenu:hover .submenu-content {
	display: block;
}
	
		.hamburger {
			display: none;
			position: fixed;
			top: 0px;
			right: 0px;
			cursor: pointer;
			background: none;
		}
		
		span.tel {
			display: none;
		}
		
.search {
	margin: 0 auto;
	width: 1200px;
	margin-top: -33px;
}

	.search input {
		float: right;
		width: 200px;
		height: 30px;
		border-radius: 5px;
		box-shadow: inset 2px 2px 5px rgba(204,204,204,0.3);
		border: 1px solid #CCC
	}

/* SECTION OBSAH*/
section {
	/*width: auto;*/
	height: 100%;
	overflow: auto;
	font-size: 1em;
	padding: 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	/*box-shadow: 2px 2px 4px rgba(0,0,0,0.1);*/
	/*border: solid 1px #F5F5F5;*/
	/*border-radius: 5px;*/
	margin-bottom: 10px;
	line-height: 150%;
}

section .clanok h1 {
	line-height: normal;
	width: auto;
}

section .clanok img {
	max-width: 100%;
	height: auto;
}

	section .clanok form {
		float: right;
		display: block;
		padding: 10px;
		width: 480px;
		color: #5b5b5b;
		border: 1px solid #CCC;
		border-radius: 5px;
		box-shadow: 0 0 5px rgba(204,204,204,0.3);
	}
	
	section .clanok form label {
		float: right;
		font-size: 0.9em;
		margin-bottom: 5px;
	}
	
	section .clanok form input {
		display: block;
		float: right;
		width: 300px;
		border-radius: 5px;
		border: 1px solid #CCC;
		box-shadow: inset 2px 2px 5px rgba(204,204,204,0.3);
		padding: 4px;
		margin-bottom: 5px;
		font-size: 0.9em;
		color: #5b5b5b;
	}
	
	.g-recaptcha {
		position: relative;
		float: right;
		display: block;
		margin-bottom: 5px;
	}
	
	section .clanok form textarea {
		float: right;
		width: 470px;
		border-radius: 5px;
		border: 1px solid #CCC;
		box-shadow: inset 2px 2px 5px rgba(204,204,204,0.3);
		padding: 4px;
		margin-bottom: 5px;
		font-size: 1em;
		color: #5b5b5b;
	}

.aktualizovane {
	color: rgba(227,0,15,1);
}

	.clanky_aktual {
		display: block;
	}
	
	.clanky_aktual a {
		display: inline-block;
		position: relative;
		width: 580px;
		height: 180px;
		margin: 0px 10px 10px 0px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
		border: #666 solid 1px;
		overflow: hidden;
	}

	.clanky_aktual img {
		width: 240px;
		/*height: 180px;*/
	}
	
	.clanky_aktual span {
		position: absolute;
		top: 0px;
		height: 175px;
		margin-left: 10px;
		font-weight: bold;
		overflow: hidden;
	}
	
	.clanky_aktual a span perex {
		display: block;
		font-weight: normal;
	}
	
	.clanky_aktual .aktualizovane {
		font-size: 0.7em;
		font-weight: normal;
	}
	
.nadpis {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	font-weight: normal;
	margin: 5px auto;
}
	
.clanky {
	display: block;
	width: 100%;
	min-height: 224px;
	overflow: auto;
}

.clanky a {
	display: block;
	position: relative;
	float: left;
	
	/* 3 články vedľa seba 380 x 285 */
	/*width: 380px;
	height: 285px;*/
	/* 4 články vedľa seba 285 x 213 */
	width: 285px;
	height: 213.75px;
	
	margin: 0px 10px 10px 0px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.clanky img {
	/* 3 články vedľa seba */
	/*width: 380px;
	height: 285px;*/
	/* 4 články vedľa seba */
	width: 285px;
	height: 213.75px;
}

.clanky a span {
	position: absolute;
	display: block;
	left: 0px;
	bottom: 0px;
	padding: 5px;
	
	/* 3 články vedľa seba */
	/*width: 370px;*/
	/* 4 články vedľa seba */
	width: 275px;
	
	/*height: 15px;*/
	height: auto;
	min-height: 0px;
	color: #ffffff;
	font-weight: bold;
	/*background: #000000;*/
	background: rgba(000,000,000,0.2);
	-moz-transition: min-height 0.5s;
	-o-transition: min-height 0.5s;
	-webkit-transition: min-height 0.5s;
	transition: min-height 0.5s;
	overflow: hidden;
}

.clanky a:hover span {
	position: absolute;
	display: block;
	left: 0px;
	bottom: 0px;
	padding: 5px;
	
	/* 3 články vedľa seba */
	/*width: 370px;
	min-height: 275px;*/
	/* 4 články vedľa seba */
	width: 275px;
	min-height: 203.75px;
	
	color: #ffffff;
	/*font-weight: bold;*/
	background: #000000;
	background: rgba(000,000,000,0.7);
}

.clanky a span perex {
	display: none;
}

.clanky a:hover span perex {
	display: block;
	position: absolute;
	margin-top: 10px;
	
	/* 3 články vedľa seba */
	/*width: 360px;*/
	/* 4 články vedľa seba */
	width: 265px;
	
	color: #ffffff;
	line-height: normal;
	border-top: 1px solid #ffffff;
	padding-top: 10px;
	font-weight: normal;
	overflow: hidden;
}

.backToTop {
	display: none;
	position: fixed;
	font-size: 2.5em;
	text-align: center;
	right: 30px;
	bottom: 50px;
	width: 50px;
	height: 50px;
	border-radius: 15px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-shadow: 0 0 7px rgba(0,0,0,0.5);
	background: rgba(227,0,15,1);
	z-index: 99;
}

	.backToTop:hover {
		text-decoration: none;
	}

/*GALERIA*/
.galeriathumbs img {
	width: 230px;
	height: auto;
	margin: 0 5px 5px 0;
	float: left;
}

/* FOOTER */
footer {
	padding: 5px;
	background: #000000;
	font-size: 0.7em;
	color: #CCC;
    height: 50px;
}

/* REKLAMY */
ads_top {
	position: relative;
	margin: 0 auto;
	display: block;
	width: 1200px;
	height: auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	background: #ffffff;
}

	ads_top picture {
		max-width: 1024px;
	}

ads_left {
	display: none;
	float: left;
	border: solid 1px #F00;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
ads_right {
	display: none;
	float: right;
	border: solid 1px #F00;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

@media screen and (max-width: 1200px) {
	nav {
		height: auto;
		min-height: 40px;
	}
	
	nav ul {
		width: 100%;
	}
	
	.search {
		position: absolute;
		right: 10px;
		width: 200px;
	}
	
	.container {
		width: 100%;
	}
	
	header {
		width: 100%;
		overflow: hidden;
	}
	
		logo img {
			margin: 0;
			height: auto;
			position: absolute;
			left: -400px;
		}
		
		header .tel a {
			right: 10px;
			font-size: 1.5em;
			color: #F5F5F5;
}
	
	.clanky_aktual a {
		width: 100%;
	}
	
	section {
		width: auto;
		margin: 0 10px 0 10px;
	}
	
	section .clanok img {
		max-width: 100%;
		height: auto;
	}
	
	section .clanok form {
		display: block;
		float: none;
		width: 450px;
		margin-bottom: 10px;
	}
	
	section .clanok form label {
		float: left;
	}
	
	section .clanok form input {
		display: block;
		float: none;
	}
	
	section .clanok form textarea {
		width: 440px;
		display: block;
		float: none;
	}
	
	ads_top {
		width: 100%;
	}

		ads_top img {
			max-width: 100%;
		}
}

footer {
    height: auto;
}


@media screen and (max-width: 512px) {
	.search {
		position: inherit;
		display: block;
		margin-top: 50px;
		height: 30px;
		top: 10px;
		width: 90%;
        background: #fff;
	}
	
		.search input {
			height: 50px;
			width: 100%;
		}
	
	.container {
		width: 100%;
	}
	
	header {
		position: fixed;
		top: 0;
		width: 100%;
		height: 45px;
		background: #ffffff;
		box-shadow: 0 2px 5px rgba(0,0,0,0.2);
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		z-index: 99;
	}
	
	header logo img {
		display: none;
	}
	
	header .tel {
		display: none;
	}
	
	nav {
		margin-top: 40px;
		height: 0;
		min-height: 0;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.nav_fix {
		margin-top: 40px;
		height: 0;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	.hamburger {
		display: block;
		font-size: 2em;
		width: 40px;
		height: 45px;
		/*background: #ffffff;*/
		color: #000000;
		/*position: fixed;*/
		padding: 0 0 5px 5px;
		/*box-shadow: 0 2px 5px rgba(0,0,0,0.2);*/
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		z-index: 99;
	}
	
		.hamburger .logo {
			position: fixed;
			top: 0;
			left: 0;
			font-weight: bold;
			text-align: center;
			display: block;
			width: 45px;
			height: 45px;
			background: rgba(227,0,15,1);
			color: #FFFFFF;
			float: right;
			padding: 0 5px 5px 5px;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
		}
		
		span.tel {
			display: block;
			position: fixed;
			top: 7px;
			width: auto;
			height: 45px;
			left: 60px;
			font-size: 1.7em;
			color: #5b5b5b;
			z-index: 100;
		}
	
	.ukazmenu {
		display: block;
		top: -120%;
		position: fixed;
		/*top: 45px;*/
	}
	
	nav a:hover {
		text-decoration: none;
	}
	
	nav ul {
		margin-left: 0;
		position: fixed;
		top: 45px;
		left: 0;
		display: block;
		width: 100%;
		height: 100%;
		z-index: 100;
		
		background: rgba(255,255,255,0.8);
		-moz-transition: top 0.5s;
		-o-transition: top 0.5s;
		-webkit-transition: top 0.5s;
		transition: top 0.5s;
		
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	nav ul li {
		width: 100%;
		height: auto;
		padding: 15px;
		font-size: 1.5em;
		margin: 0;
		background: rgba(227,0,15,1);
		border-bottom: solid 1px rgba(255,255,255,0.5);
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}
	
	nav ul li a {
		display: block;
		width: 100%;
		height: auto;
		padding: 0;
	}
	
	.submenu:hover .submenu-content {
	display: none;
	}

	section {
		width: 100%;
		margin: 0;
		padding: 10px;
	}
	
	section .clanok form {
		width: 95%;
	}
	
	section .clanok form textarea {
		width: 98%;
	}
	
	section .clanok img {
		max-width: 100%;
		height: auto;
	}
	
	section .clanok iframe {
		max-width: 100%;
	}
	
		.clanky_aktual a {
			height: 100px;
		}
		
		.clanky_aktual img {
			width: auto;
			height: 100px;
		}
		
			.clanky {
				padding-right: 5px;
			}
		
			.clanky a {
				display: block;
				width: 100%;
				float: none;
				height: 100px;
				overflow: hidden;
			}
		
			.clanky img {
				width: auto;
				height: 100px;
				margin-right: 10px;
				float: left;
			}

			.clanky a span {
				position: relative;
				width: auto;
				background: none;
				color: #5b5b5b;
				transition: none;
				padding-top: 0px;
                overflow: hidden;
			}
	
			.clanky a span perex {
				display: block;
				font-weight: normal;
				width: auto;
                overflow: hidden;
			}
		
			.clanky a:hover span {
				position: relative;
				width: auto;
				background: none;
				color: #5b5b5b;
				padding-top: 0px;
			}
			
			.clanky a:hover span perex {
				width: auto;
				color: #5b5b5b;
				border-top: none;
				padding: 0 5px 5px 0;
				margin-top: 0px;
				line-height:inherit;
			}

	.backToTop {
		right: 10px;
	}

	ads_top {
		margin-top: 55px;
	}

		ads_top img {
			max-width: 100%;
		}
	
	ads_left, ads_right {
		display: none;
	}
}