html {
	height: 100%;
	width: 100%;
	background: 
    linear-gradient(
      rgba(255, 184, 126, 0.1), 
      rgba(255, 184, 126, 0.1)
    ),
    url("../img/bg2.jpg")
	no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

html.white-background {
	background: rgba(255,255,255,1)
}

body {
	width: 100%;
	height: 100%;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	border: 0px;
	color: black;
}

h1 {
	color: rgba(255, 130, 40, 1);
	margin: 0;
	font-family: "Arial Black", Arial;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 900;
	padding: 0;
	line-height: 45px;
}

a h1 {
	text-decoration: underline;
}


h2{
	color: rgba(255, 130, 40, 1);
	margin: 0;
	font-family: "Arial Black", Arial;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 600;
	padding: 10px;
	padding-bottom: 0;
	padding-top: 7px;
	line-height: 35px;
}

h2.akce {
	font-family: "Arial Black", Arial;
	font-size: 30px;
	line-height: 28px;
	color: red;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	margin-bottom: 3px;
}

h3 {
	margin-bottom: 0px;
	margin-top: 5px;
	
	color: rgba(255, 130, 40, 1);
	margin: 0;
	font-family: "Arial Black", Arial;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 900;
	padding: 0;
	padding-bottom: 5px;
	font-size: 30px;
	line-height: 30px;
}

h4 {
	margin-bottom: 0px;
	margin-top: 5px;
	
	color: rgba(255, 130, 40, 1);
	margin: 0;
	font-family: "Arial Black", Arial;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	font-weight: 500;
	padding: 0;
	padding-bottom: 5px;
	font-size: 25px;
	line-height: 25px;
}

a {
	text-decoration: none; 
	color: black;
	text-shadow: none;
}

p{
	margin-top: 5px;
	margin-bottom: 8px;
	padding:0;
}

hr {
	border: 0;
	padding: 0;
	margin: 0;
	height:2px;
	color: rgb(255, 184, 126);
	background-color: rgb(255, 184, 126);
}

img { 
	border-style: none; 
	text-decoration: none; 
} 


ul {
	margin:0;
	margin-bottom: 5px;
}

#web_container {
	position: relative;
	margin: 0 auto;
	padding: 0;
	height:100%;
	width: 95%;
	max-width: 1250px;
	min-width: 835px;
}

#left {
	float:left;
	width:235px;
}

#right {
	display: block;
	float: right; 
	width: calc(100% - 250px);
}


#header { 
	position: relative;
	margin: 0 auto;
	padding: 0;
	height: 145px;
	width: 800px;
}

/* MAIN NAVIGATION */

#nav{
	position: fixed;
	width: 235px;
	height: 100%;
	float: left;
	color: black;
	background-color: rgba(255, 130, 40,0.6);
}

#logo {
	position: relative; 
	top:10px;

	display: block;
	float: left;
	width: 100%;
	height: 110px;
	font-size: 35px;
	font-family: "Arial Black", Arial;
	font-weight: 900;
	text-align:center;
	color: white;

	text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;  
}

#cert {
	display: block;
    float: left;
	position: relative;
    top: 20px;
    width: 100%;
    text-align: center;
}

#cert div {
	display: inline-block;
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 67%, rgba(255,255,255,0) 68%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,0) 68%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 67%,rgba(255,255,255,0) 68%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#nav ul {
	position: relative; 
	top:10px;
	
	display: block;
	float: left;
    margin: 0; 
    width: 100%;
    list-style-type: none;
	padding-left:0;
	font-family: "Arial Black", Arial;
	font-weight: 900;
}

#nav ul li a {
	text-decoration: none;
	font-size: 18px;
    padding: 4px 11px 6px 11px;
    background-color: rgba(255, 130, 40, 1);
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
    display:block;
	border-top: 2px solid rgb(255, 184, 126);
	
	-webkit-transition: All 300ms ease;
	-moz-transition: All 300ms ease;
	-ms-transition: All 300ms ease;
	-o-transition: All 300ms ease;
	transition: All 300ms ease;
}

#nav ul li:last-child a {
	border-bottom: 2px solid rgb(255, 184, 126);
}

#nav ul li a.selected {
	background-color: white;
	color: rgba(255, 130, 40, 1);
} 

#nav ul li a:hover, #nav ul li a.selected:hover {
	padding-left:20px;
}

#nav ul li a.subnav {
	text-decoration: none;
	font-size: 14px;
    padding: 5px 22px;
    background-color: rgba(255, 120, 5, 0.5);
    display:block;
	border-top: none;
}

#nav ul li a.subnav:hover {
	padding-:35px;
}

#nav ul li.li_break {
	padding-top: 10px;
}

#nav ul li.sub a{
	padding-left: 22px;
}

#nav ul li.li_cat_title {
	color: white;
	font-size: 18px;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	padding: 5px 11px 7px 11px;
	border-top: 2px solid rgb(242, 203, 171);
	background-color: rgba(255, 130, 40, 1);
}
/* ----- NAVIGATION END ----- */

#content {
	display: table;
	position: relative;
	top: 15px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	width: 100%;
	font-family: "Times New Roman", Times, serif;
	font-size: 20px;
	color: black;
	background-color: rgba(255, 255, 255, 1);
}

#footer {
	position: relative;
	margin-top: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 600px;
	float: right;
	background: white;
	border: solid 2px rgb(0,100,0);
	font-family: "Times New Roman", Times, serif;
	font-size: 19px;
	color: black;
}

.content_column {
	display: block;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 10px;
	padding-bottom: 0;
}

.w50 {
	width: 50%;
	min-height: 200px;
}

.w50r {
	width: 50%;
	min-height: 200px;
	padding-right: 0;
}

.w50el {
	width: 50%;
	min-height: 200px;
	padding-right: 5px;
}

.w50er {
	width: 50%;
	min-height: 200px;
	padding-left: 5px;
}

.w100 {
	width: 100%;
}

.kontakty {
	font-family: "Arial", Arial;
	font-size: 18px;
}

.kontaky_table tr td:nth-child(1) {
	width: 65px;
}

.kontaky_table tr td:nth-child(2) {
	font-weight: 900;
}

.stav_stavby td:first-child{
	font-weight: bold;
	font-family: "Arial", Arial;
	font-size: 18px;
}

#cullom_box {
	width: 100%;
	height: auto;
	overflow: hidden;
}

.map_image {
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: block;
	float: left;
}

.map_thumbnail {
	text-align: center;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

.house_icon {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 19%;
}

.house_icon .house_name {
	display: block;
	float: left;
	width: 100%;
	text-align: center;
	font-family: "Arial", Arial;
	font-size:25px;
	background-color: rgba(255, 130, 40, 1);
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	padding:0;
	padding-top:5px;
	padding-bottom:5px;
	margin: 0;
}

.house_icon .house_gallery {
	display: none;
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 39px);
	//background: url("../img/lupa_colored.png") no-repeat center center;
	background-color: rgba(255, 130, 40, 0.25);
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-right: 2px solid white;
	border-left: 2px solid white;
}

.house_icon:hover .house_gallery {
	display: block;
}

.house_icon img {
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: block;
	float: left;
}

/* AKCE */

.akce_icon {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
} 

.akce_icon .akce_name {
	display: block;
	float: left;
	width: 100%;
	text-align: center;
	font-family: "Arial", Arial;
	font-size:35px;
	background-color: rgba(255, 130, 40, 1);
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	padding:0;
	padding-top:5px;
	padding-bottom:5px;
	margin: 0;
}

.akce_icon .akce_gallery {
	display: none;
	float: left;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 39px);
	background-color: rgba(255, 130, 40, 0.25);
}

.akce_icon:hover .house_gallery {
	display: block;
}

.akce_icon img {
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: block;
	float: left;
}

.gallery_image_box:nth-child(2n) {
	margin-right: 0px;
}

.gallery_image {
	width: 190px;
	height: 190px;
	margin: 0;
}

.hidden {
	display: none;
}

.center {
	text-align: center;
}

.cena_pozemku{
	font-family: "Arial", Arial;
	font-weight: bold;
	font-size: 16px;
}

.dodatek{
	color: red;
	font-family: "Arial", Arial;
	font-weight: bold;
	font-size: 16px;
}

/* TABLE */

.table_css {
	table-layout: fixed;
	border-collapse: collapse;
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 15px;
}

.table_css th, .table_css td{
	text-align: center;
	border: 1px solid black;
}

.table_css td{
	height: 34px;
	border: 1px solid rgba(170, 170, 170, 1);
	z-index: 200;
}

.table_css tr:nth-child(2n) {
	background-color: rgba(240,240,240,1);
}

.table_css th{
	border: 1px solid rgba(255, 130, 40, 1);
	border-bottom: 4px solid rgba(254, 187, 129, 1);
	font-family: "Arial", Arial;
	font-size:13px;
	background-color: rgba(255, 130, 40, 1);
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	padding: 5px;
	z-index: 300;
	word-wrap: break-word;
}

.table_css tr td:last-child { /* stav */
	font-weight: bold;
	font-family: "Arial", Arial;
}

.akce_row {
	background-color: rgba(254, 187, 129, 1) !important;
}

.youtube_wrapper {
	width: 100%;
	display: inline-block;
	position: relative;
}

.youtube_wrapper:after {
	padding-top: 56.25%;
	display: block;
	content: '';
}

.youtube_block {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

/* HREBEC */

#hrebec_table th:nth-child(1),
#hrebec_table th:nth-child(2),
#hrebec_table th:nth-child(3){
	width: 55px;
}

#hrebec_table th:nth-child(4),
#hrebec_table th:nth-child(8){
	width: 100px;
}

#hrebec_table td:nth-child(5),
#hrebec_table td:nth-child(6),
#hrebec_table td:nth-child(7){
	text-align: right;
	padding-right: 5px;
}

/* KOSORICE */

#kosorice_table th:nth-child(1){
	width: 55px;
}

#kosorice_table th:nth-child(2),
#kosorice_table th:nth-child(3){
	width: 80px;
}

#kosorice_table th:last-child{
	width: 100px;
}

#kosorice_table td:nth-child(4),
#kosorice_table td:nth-child(5),
#kosorice_table td:nth-child(6){
	text-align: right;
	padding-right: 5px;
}

/* RADVANEC */

#radvanec_table th:nth-child(1),
#radvanec_table th:nth-child(3),
#radvanec_table th:nth-child(4){
	width: 65px;
}

#radvanec_table th:nth-child(2),
#radvanec_table th:last-child{
	width: 100px;
}

#radvanec_table td:nth-child(5){
	text-align: right;
	padding-right: 5px;
}


/* KRIZATKY */

#krizatky_table th:nth-child(1),
#krizatky_table th:nth-child(2),
#krizatky_table th:nth-child(3){
	width: 55px;
}

#krizatky_table th:nth-child(5){
	width: 140px;
}

#krizatky_table th:last-child{
	width: 100px;
}

#krizatky_table td:nth-child(4),
#krizatky_table td:nth-child(6),
#krizatky_table td:nth-child(7){
	text-align: right;
	padding-right: 5px;
}

/* POSTRIZIN */

#postrizin_table .middle_th {
	border-top: 4px solid rgba(254, 187, 129, 1);
}

#postrizin_table .last_th {
	border-top: 4px solid rgba(254, 187, 129, 1);
	border-bottom: 1px solid rgba(255, 130, 40, 1);
}

#postrizin_table th:nth-child(9), #postrizin_table td:nth-child(9),
#postrizin_table th:nth-child(11), #postrizin_table td:nth-child(11),
#postrizin_table th:nth-child(12), #postrizin_table td:nth-child(12){
	display: table-cell;
}

#postrizin_table td:nth-child(6),
#postrizin_table td:nth-child(7),
#postrizin_table td:nth-child(8){
	text-align: right;
	padding-right: 5px;
}

#postrizin_table th:nth-child(1) {
	width: 35px;
}

#postrizin_table th:nth-child(1),
#postrizin_table th:nth-child(4) {
	width: 45px;
}

#postrizin_table th:nth-child(2){
	width: 85px;
}

#postrizin_table th:nth-child(3) {
	width: 90px;
}

#postrizin_table th:nth-child(5) {
	width: 50px;
}

#postrizin_table th:last-child {
	width: 85px;
}

/* POSTRIZIN 5 */

#postrizin5_table td:nth-child(4),
#postrizin5_table td:nth-child(5),
#postrizin5_table td:nth-child(6){
	text-align: right;
	padding-right: 5px;
}

#postrizin5_table th:nth-child(1) {
	width: 35px;
}

#postrizin5_table th:nth-child(1),
#postrizin5_table th:nth-child(4) {
	width: 50px;
}

#postrizin5_table th:nth-child(2){
	width: 100px;
}

#postrizin5_table th:nth-child(3) {
	width: 75px;
}

#postrizin5_table th:last-child {
	width: 95px;
}

/* VINARICE */

#vinarice_table th:nth-child(1),
#vinarice_table th:nth-child(2){
	width: 55px;
}

#vinarice_table th:nth-child(7) {
	width: 70px;
}

#vinarice_table td:nth-child(3),
#vinarice_table td:nth-child(4),
#vinarice_table td:nth-child(5){
	text-align: right;
	padding-right: 5px;
}

#vinarice_table td:nth-child(6){
	padding-right: 5px;
}

/* LANY */
#lany_table th:nth-child(1){
	width: 55px;
}

#lany_table th:nth-child(2),
#lany_table th:nth-child(3),
#lany_table th:nth-child(4){
	width: 80px;
}

#lany_table th:nth-child(8){
	width: 100px;
}

#lany_table th:nth-child(7){
	min-width: 100px;
}

#lany_table td:nth-child(5),
#lany_table td:nth-child(6),
#lany_table td:nth-child(7){
	text-align: right;
	padding-right: 5px;
}

/* LANY 2 */
#lany2_table th:nth-child(1){
	width: 55px;
}

#lany2_table th:nth-child(2){
	width: 100px;
}

#lany2_table th:nth-child(3),
#lany2_table th:nth-child(4),
#lany2_table th:nth-child(5){
	width: 60px;
}

#lany2_table td:nth-child(6),
#lany2_table td:nth-child(7),
#lany2_table td:nth-child(8){
	text-align: right;
	padding-right: 5px;
}

/* rozdelov */
#rozdelov_table th:nth-child(1),
#rozdelov_table th:nth-child(2){
	width: 55px;
}


#rozdelov_table th:nth-child(3),
#rozdelov_table th:nth-child(4),
#rozdelov_table th:nth-child(5),
#rozdelov_table th:nth-child(6){
	width: 80px;
}

#rozdelov_table td:nth-child(7){
	text-align: right;
	padding-right: 5px;
}

#rozdelov_table th:nth-child(8){
	width: 100px;
}

/* slany */
#slany_table th:nth-child(1),
#slany_table th:nth-child(4){
	width: 55px;
}
	
#slany_table th:nth-child(2),
#slany_table th:nth-child(3){
	width: 95px;
}


#slany_table td:nth-child(5),
#slany_table td:nth-child(6),
#slany_table td:nth-child(7){
	text-align: right;
	padding-right: 5px;
}

#slany_table th:nth-child(8){
	width: 100px;
}


@media (max-width: 1150px) {
	html {
		background:rgba(255, 184, 126, 0.3);
	}

	.w50 {
	width: 100%;
	min-height: 200px;
	}
	
	.w50r {
	width: 100%;
	min-height: 200px;
	padding-right: 0;
	}

	#hrebec_table th:nth-child(5), #hrebec_table td:nth-child(5),
	#hrebec_table th:nth-child(6), #hrebec_table td:nth-child(6){
		display: none;
	}
	
	#kosorice_table th:nth-child(4), #kosorice_table td:nth-child(4),
	#kosorice_table th:nth-child(5), #kosorice_table td:nth-child(5){
		display: none;
	}
	
	#krizatky_table td:nth-child(4), #krizatky_table th:nth-child(4),
	#krizatky_table td:nth-child(6), #krizatky_table th:nth-child(6){
		display: none;
	}
	
	#postrizin_table th:nth-child(6), #postrizin_table td:nth-child(6),
	#postrizin_table th:nth-child(7), #postrizin_table td:nth-child(7){
		display: none;
	}
	
	#postrizin5_table th:nth-child(5), #postrizin5_table td:nth-child(5),
	#postrizin5_table th:nth-child(6), #postrizin5_table td:nth-child(6){
		display: none;
	}

	#lany_table th:nth-child(5), #lany_table td:nth-child(5),
	#lany_table th:nth-child(6), #lany_table td:nth-child(6){
		display: none;
	}
	
	#lany2_table th:nth-child(6), #lany2_table td:nth-child(6),
	#lany2_table th:nth-child(7), #lany2_table td:nth-child(7){
		display: none;
	}
	
	#rozdelov_table th:nth-child(3), #rozdelov_table th:nth-child(4),
	#rozdelov_table th:nth-child(5), #rozdelov_table th:nth-child(6){
		display: none;
	}
	
	#slany_table th:nth-child(6), #slany_table td:nth-child(6),
	#slany_table th:nth-child(7), #slany_table td:nth-child(7){
		display: none;
	}
	
	.house_icon .house_name {
		font-size:15px;
	}
	
	.akce_icon .akce_name{
		font-size:25px;
	}
}

@media (max-height: 1000px) {
	#nav ul li a {
		padding: 5px 11px 7px 11px;
	}
}