@-moz-document url-prefix(http), url-prefix(file) {
	img:-moz-broken {
		-moz-force-broken-image-icon: 1;
		width: 24px;
		height: 24px;
	}
}

* {
	font-family: Arial;
}

img {
	border: 0;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 16px;
	background: #01ACFC url(/i/back.jpg) no-repeat;
	background-size: cover;
}

#obsah {
	width: 986px;
	margin: auto;
	position: relative;
}

#head {
	height: 165px;
}

#head a, #zoznam a {
	color: white;
	text-decoration: none;
}

#head > span {
	float: right;
	display: block;
	padding: 5px 0 0;
	color: white;
	font-size: 18px;
}

#head > span a {
	color: yellow;
}

#head > span a:focus, #head > span a:hover {

}

#head a:hover, #head a:focus, #head a.sel, #zoznam a:hover, #zoznam a:focus, #foot a:hover, #foot a:focus, #foot a.sel {
	color: yellow;
	text-decoration: none;
}

#head ul {
	display: block;
	background: rgba(237, 31, 36, 0.8);
	border-left: 4px solid white;
	position: absolute;
	top: 32px;
	right: 0;
	padding: 26px 0 22px;
	width: 644px;
	margin: 0;
}

#head li {
	list-style-type: none;
	font-size: 25px;
	padding: 3px 10px;
	display: block;
	float: left;
	border-right: 1px dotted white;
	line-height: 31px;
}

#head li:last-child {
	border: 0;
}

#zoznam {
	margin: 0 0 55px;
}

#zoznam > .list {
	float: left;
	width: 304px;
	border-left: 4px solid #ED1F24;
	background: rgba(2, 172, 253, 0.8) url(/i/panel.png) right top no-repeat;
	margin-right: 31px;
	color: white;
}

#zoznam > .list:nth-child(3) {
	margin: 0;
}

#zoznam strong {
	font-size: 25px;
	font-weight: normal;
	line-height: 21px;
	display: block;
	padding: 22px 22px 17px;
}

#zoznam p {
	margin: 0 0 10px;
	padding: 14px 22px 0 22px;
	height: 88px;
	overflow: hidden;
	line-height: 21px;
}

#zoznam a {
	display: block;
	margin: auto;
	background: #ED1F24;
	width: 162px;
	padding: 7px 0;
	text-align: center;
	font-size: 18px;
	line-height: 22px;
}

#text {
	color: white;
}

#text.apartman {
	border-left: 4px solid #ED1F24;
	background: rgba(2, 172, 253, 0.8) url(/i/panel.png) right top no-repeat;
	padding: 26px 22px 32px 28px;
}

#text.apartman td {
	padding: 0 4px 4px 0;
	border-spacing: 0;
	border-collapse: collapse;
}

#text.apartman h2 {
	border-top: 1px solid #E12933;
	padding: 26px 0 0 0;
	margin: 12px 0 0;
}

#text .foto {
	float: right;
	width: 320px;
	padding: 0 0 0 42px;
	margin-top: -23px;
}

#text .foto:first-of-type {
	margin-top: -30px;
}

#text .foto.max {
	float: none;
	width: auto;
	padding-left: 0;
	margin: 0;
	padding-top: 20px;
}

#text .foto a {
	display: block;
	float: left;
	margin: 0 22px 22px 0;
	border: 7px solid white;
}

#text .foto a:hover, #text .foto a:focus {
	border-color:white;
}

#text .foto:not(.max) a:nth-child(2n) {
	margin-right: 0;
}

#text .foto.max a:nth-child(4n) {
	margin-right: 0;
}

#text h1 {
	color: #ED1F24;
	font-size: 38px; /*46*/
	margin: 0;
	padding: 0;
}

#text p {
	margin-top: 14px;
	padding-top: 0;
	line-height: 22px;
}

#foot .f {
	float: left;
}

#foot .f1 {
	width: 225px;
	font-size: 13px;
}

#foot .f2 a {
	display: block;
}

#foot .f2 a:first-child {
	padding: 12px 0 0;
	line-height: 42px;
	font-size: 35px;
}

#foot .f2 a:last-child {
	font-size: 44px;
	padding: 22px 0 0;
	line-height: 51px;
}

#foot ul {
	margin: 15px 0 0;
	padding: 0;
	line-height: 22px;
}

#foot li {
	list-style-type: none;
	font-size: 16px;
	padding: 0 0 0 2px;
}

#foot * {
	color: white;
	text-decoration: none;
}

#foot {
	margin: 82px 0 0;
	padding: 25px;
	background: #ED1F24 url(/i/foot.png) right center no-repeat;
}

#text a {
	color: white;
	text-decoration: none;
}

#text a:hover, #text a:focus {
	color: yellow;
}

.podstranka {
	border-top: 1px solid #E12933;
	padding: 26px 0 0;
}

#text.apartman .podstranka h2 {
	border: 0;
	padding: 0;
	margin-top: 0;
}

.podstranka img {
	float: left;
	margin: 0 24px 24px 0;
	border: 7px solid white;
}