@media only screen and (max-width:1920px) {
	body{min-width:320px;min-height:320px;}
	.NHP #contentC{padding:0 0em;box-sizing: border-box;}
	.RK li:first-child{padding: 1.1666em 0.7em 1.1666em 1.0335em}
	.RK li{padding:0.9335em 0.7em 0.9335em 1.0335em;}
	
	#content .svetlaM{font-size:1vw;padding:4.427em 7.552em 0em 2.1879em;}
	#content .tmavaM{font-size:1.42vw;padding: 2.202em 2.8255em 2.275em 3.303em;line-height:1.835em;}
	.NHP #content{font-size: 1.042vw;}
	.NHP .noborder #content{font-size:110%;}
	
	.lokalita.vp img{width: 100% !important;height: auto !important;}
	.prilohavymena .prilohy .soubory a.stahnoutTL{padding:1.435em 3.435em;}
	/*.kontakt #content li{padding: 2.2em 0em 1.95em 24.55em;}*/
	.AppFormKont .inputSubmit{padding: 0.9em 3.4335em;}
	
}
@media only screen and (max-width:1720px) {
	.HP #content{grid-template-columns: 1fr 1fr;}
}
@media only screen and (max-width:1550px) {
	.sekce{grid-template-columns: auto 47.2em;}
	.velka img{width: 47.2em;}
	.podNadpis{padding-bottom: 0.7em;}
	.podNadpis ~ .podNadpis{padding: 1.0em 0 0.5em;}
	.nahledy span{margin: 0 auto;height: 2em;}
	.koupelna .nahledy img{max-width:110px;}
}
@media only screen and (max-width:1525px) {
	.UvodPodText{grid-column: 1/3;place-self: start;}
	.pozaditmave:before{top:874px;}
}
@media only screen and (max-width:1490px) {
	.domy td:nth-child(8) img{margin-left: 1em;}
}
@media only screen and (max-width:1400px) {
	.lokalita.sp table{width: 95%;}
}

@media only screen and (max-width:1355px) {
	.pozaditmave:after,.pozaditmave:before,.pozadisvetla:after{display:none;}
	.pozaditmave .content{padding-left: 10em;padding-right: 10em;}
	table.tmava ~ table.tmava + p{margin-left: 0;}
	table.tmava ~ ul{margin-left: 2em;}
}
@media only screen and (max-width:1290px) {
	#bottom{font-size:1.557vw;}
}
@media only screen and (max-width:1280px) {
	.photogaleryFoto{}
}
@media only screen and (max-width:1111px) {
	#topNavigC{margin-right: 1em;}
	.pozaditmave .content,.pozadisvetla .content{padding-left: 5em;padding-right: 5em;}
}
@media only screen and (max-width:1080px) {
	.NHP #content{font-size: 1.342vw;}
	.mapa .txCenikD{padding-top: 5em;}
	.pozaditmave .content,.pozadisvetla .content{padding-left: 2em;padding-right: 2em;}
	.informaceDum .DumPopis{overflow: scroll;}
	.sekce{grid-template-columns: auto 37.2em;grid-template-rows: 0.2fr 1fr;}
	.velka img{width: 37.2em;}	
	.sekNadpis{margin: 0 0 0 0.1em;}
	.nahledy{padding: 0 0 0 1.5em;}
	.nahledy a{width: calc(100%/3);}
	.nahledy span{line-height: 1.2em;}
	.obyvak .nahledy a{width: calc(100%/2);}
	.obyvak .nahledy a img{max-width:50%;}
}
@media only screen and (max-width:1025px) {
	.RK{font-size:1em;}
	#slideShow .leftMainText{font-size:1.6em;}
}
@media only screen and (max-width:1015px) {
	#topBanner{margin: 0;}
	#logoC{}
	#logoC, #logoC h1, #logoC a {width: 83px;height: 70px;}
	#topNavigC{grid-column: 1/3;grid-row: 2/3;margin-bottom: 0.5em;}
	.DumDetail #topBannerC{height: 215px;}
}
@media only screen and (max-width:980px) {
	.HP #content{grid-gap: 3em 0;grid-template-columns: 0.4fr 1fr;}
	#content .svetlaM{grid-column: 2/3;font-size: 1.7vw;}
	#content .tmavaM{grid-row: 2/3;font-size: 2vw;}
}
@media only screen and (max-width:880px) {
	#topNavigC.hidenav{display:none;}
	#hidenavig{
		background:#112d31 url(/images/resp_navi_bg.png) no-repeat 50% 50%;
		display:block;width:36px;height:28px;
		margin:0 1em 0 0;
		cursor:pointer;position:relative;
		grid-column:2/3;grid-row:1/2;
		place-self: end end;
		font-size: 1.25em;
	}
	#topNavigC.hidenav + #hidenavig{border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;}
	#topNavigC + #hidenavig{border-radius: 5px 5px 0 0;-moz-border-radius: 5px 5px 0 0;-webkit-border-radius: 5px 5px 0 0;}
	#logoC{grid-row: 1/3;}
	#topBanner{z-index: 3;grid-gap: 0;grid-template-rows: 1fr 0.5fr;}
	#topNavigC{position: relative;grid-row: 2/3;place-self: start end;width: 100%;max-width: 270px;}
	#topNavig{position: absolute;top: 0;left: 0;text-align: right;background: #112d31;border-radius: 5px 0 5px 5px;}
	#topNavig ul{flex-wrap: wrap;justify-content: flex-start;padding: 0.75em 1em;box-sizing: border-box;}
	#topNavig li{width: 100%;margin: 0 0 0.25em 0;}
	#topNavig li a{color:#fff;}
	
	.informaceDum{height:auto !important;}
	.informaceDum .dum{width:100%;}
	.informaceDum .dum #mapster_wrap_0{margin:0 auto;}
	.informaceDum .dumP{width:100% !important;height: auto !important;float:left;}
	.informaceDum .velkePismeno{padding: 1em 0 0;}
	.informaceDum .DumPopis{padding: 1em 1.5em 0;height: auto;}
	.informaceDum .tlDowloand{padding: 1em 0;}
	
	.DumDetail #topBannerC{height: auto;}
	.DumDetail .titulek{padding: 0 70px 0 90px;top: -4em;}
	.tmavaM p,.lokalita.vp,.lokalita.sl,.pozaditmave p, table.tmava td,.pozaditmave ul li,.pozadisvetla .content,.informaceDum .DumPopis{text-align:left !important;}
}
@media only screen and (max-width:860px) {
	.photogaleryFoto,.size{width:49.886%;}
	.fotos .po12{margin-bottom:25px;}
	.kontakt #content .menuText{padding: 1.5em 0;}
}
@media only screen and (max-width:790px) {
	.NHP #content{font-size: 1em;}
	.lokalita .prilohy{padding: 1.5em 0 2.5em;}
	.lokalita .prilohy img{height:10em;}
	.lokalita.vp h3{padding: 1em 0.5em 0;}
	.lokalita.vp p{padding: 0 1.25em;}
	.lokalita.sl:after{display: none;}
	.lokalita.sl{padding: 2em 1.25em;}
	.lokalita.sp table table tr td + td{padding-right: 1.1em !important;}
	.lokalita.sp table tbody > tr:last-child td:first-child{padding-left: 0.5em}
	
	table.tmava td:first-child,table.tmava td{margin-bottom: 0;margin-top:0.5em;width: 100%;}
	table.tmava td{padding-left: 4em;margin-top:0;}
	table.domyS{font-size:0.8em;}
	table.domyS tr{flex-wrap: wrap;justify-content: center;}
	table.domyS td{width: calc(100%/3);}
	
	.mapa .txCenikD{padding:0.5em;}
	
	.domy,.domy tbody,.domy tr,.domy th,.domy td{display:block;}
	.domy{}
	.domy tbody{}
	.domy tr{}
	.domy th{display:none;}
	.domy td,.domy th:first-child, .domy td:first-child,.domy th:last-child, .domy td:last-child
	{width:100%;padding-left:50%;box-sizing:border-box;position:relative;text-align:center;border:0;line-height:35px;height:35px;border-bottom: 1px solid rgba(156, 176, 180,0.7);}
	
	.domy tr:first-child,.domy tr:last-child{border:0;}.domy tr{border-bottom:3em solid #294f5a;}
	.domy td:before{display:block;position:absolute;left: 0;width: 50%;letter-spacing: 1px;padding-left:0.5em;box-sizing:border-box;text-align:left;}
	.domy td:nth-child(1):before{content:"ČÍSLO PRODEJE";}
	.domy td:nth-child(2):before{content:"TYP DOMU";}
	.domy td:nth-child(3):before{content:"DISPOZICE";}
	.domy td:nth-child(4):before{content:"PARCELA (M2)";}
	.domy td:nth-child(5):before{content:"UŽITNÁ PLOCHA(M2)";}
	.domy td:nth-child(6):before{content:"POZEMEK(M2)";}
	.domy td:nth-child(7):before{content:"PRODEJNÍ CENA(vč. DPH)";}
	.domy td:nth-child(8):before{content:"NADSTANDARDNÍ VYBAVENÍ";}
	.domy td:nth-child(9):before{content:"STAV";}
	.domy td:nth-child(10):before{content:"DETAIL";}
	.domy td:nth-child(8) img{height:23px;float: none;display: inline-block;}
	.domy td:nth-child(8) img:first-child{margin-left:0;}
	.domy td:last-child img{height:35px;}
	
	.popis{padding: 2em 0;}
	.legenda{padding:0 1em;}
	.popis h4{margin: 1em 0;padding: 0;}
	.popis ol{padding: 0 0.5em 0 2em;width: 100%;box-sizing:border-box;}
	
	.pozaditmave h3,.pozadisvetla h3{font-size:1.8em;}
	.pozaditmave p, table.tmava td, .pozaditmave ul li,.pozadisvetla p, .pozadisvetla li{font-size:1em;}
	
	.kontakt #content{padding: 0;}
	.kontakt #content ul{grid-template-columns: 1fr;}
	.kontakt #content li {grid-column: 1/2;padding: 0;text-align: right;}
	
	.noborderkontakt{width: 95% !important;left: 2.5% !important;}
	.noborderkontakt .fancybox-inner{width:100% !important;}
	
	.sekce,.sekce + .sekce{grid-template-columns: 1fr;grid-template-rows: auto auto auto;}
	.velka{grid-column: 1/2;grid-row: 3/4;}
	.velka span{padding: 0.35em}
	.velka img{width: 100%;}
	.sekNadpis{grid-column: 1/2;grid-row: 1/2;left: 0;padding: 0 0 0.2em 0;}
	.podNadpis,.sekce + .sekce .podNadpis{padding: 0.5em 0;}
	.nahledy{grid-column: 1/2;grid-row: 2/3;padding: 0 0.5em;}
	.nahledy a{width: calc(100%/3);}
	.nahledy span,.sekce + .sekce .nahledy span{height: auto;margin: 0;padding: 0;}
	.koupelna .nahledy img{max-width: calc(155px/2);}
	.obyvak .nahledy a{width: calc(100%/2);}
	.obyvak .nahledy a img{}
	
	.podNadpis ~ .podNadpis{padding: 0 0 0.25em;}
	.sekce + .sekce .nahledy img{max-width: 20%;}
	.sekce + .sekce .podNadpis ~ .podNadpis{top:0;position:relative;}
	.boxy{float:none;}
	.boxy:after{content:"";display:block;clear:both;}
	.hvezdicka{padding: 0 1em;margin: 1.5em 0;}
	
	.DumDetail .titulek{font-size: 1.2em;top: -4.5em}
	
	#bottom{grid-template-columns: auto 1fr;grid-gap: 1em 3.7em;}
	#bottom .logoPat{width: 120px;height: 100px;background-size: contain;background-position: center;}
	#bottom .copy{grid-column: 1/2;grid-row: 3/4;}
	#bottom .PatTel{grid-column: 2/3;grid-row: 2/3;}
	#bottom .podpis{grid-column: 2/3;grid-row: 3/4;}
}
@media only screen and (max-width:660px) {
	.HP #content{grid-template-columns: 0 1fr;}
	#content .svetlaM{font-size: 0.95em;}
	#content .tmavaM{font-size: 1.1em;}
	.lokalita.vl,.lokalita.vp,.lokalita.sl,.lokalita.sp,.lokalita.ac{width:100%;height:auto;padding-bottom: 1.5em;}
	.lokalita.vl{height:250px;padding:0;}
	/*.domy td,.domy th:first-child, .domy td:first-child,.domy th:last-child, .domy td:last-child{line-height: 1.55em;}*/

}
@media only screen and (max-width:610px) {
	.pozaditmave .content,.pozadisvetla .content{padding-left: 0.5em;padding-right: 0.5em;}
	
	.mapa .txCenikD{font-size: 1.2em;width: auto;padding: 1.5em 0.5em 0.5em;}
	
	/*.kontakt #content .menuText{margin-bottom:1em;}
	.kontakt #content{padding: 2.5em 0 0;}*/
	.kontakt #content li {padding: 0 0.5em;text-align:left;}
	
	#bottom{grid-template-columns: 1fr;grid-gap: 1em 3.7em;max-width: 300px;font-size: 0.8em;}
	#bottom .logoPat{grid-column: 1/2;grid-row: 1/2;}
	#bottom .pattxt{grid-column: 1/2;grid-row: 2/3;}
	#bottom .copy{grid-column: 1/2;grid-row: 4/5;}
	#bottom .PatTel{grid-column: 1/2;grid-row: 3/4;margin: 0;place-self:start;}
	#bottom .podpis{grid-column: 1/2;grid-row: 5/6;}
}
@media only screen and (max-width:555px) {
	#slideShow .leftMainText{padding: 0 0.8em 0.8em 0;font-size: 1.4em;}
	.fotos{max-width: calc(410px + 12.5px*2);}
	.photogaleryFoto,.size{width:100%;}.fotos .po12{margin-bottom:35px;}
	
	table.tmava td:first-child:before{left: 0.5em;}
	table.tmava td:first-child,table.tmava td{padding-left: 1.5em;}
	table.tmava td{padding-left: 2.5em;}
	
	.AppFormKont form{padding-top:2em;}
	.AppFormKont td input.inputTextCaptcha{width: 100%;margin-bottom: 0;}
	.AppFormKont #captchaImg{margin-top: 0;padding: 0;margin: 0 auto;display: block;}
}
@media only screen and (max-width:550px) {
	.AppFormKont table,.AppFormKont table tbody,.AppFormKont table tr,.AppFormKont table td{display:block;box-sizing: border-box;}
	.AppFormKont td input.inputText, .AppFormKont td input.inputTextCaptcha, .AppFormKont td textarea.inputTextarea{box-sizing: border-box;}	
}
@media only screen and (max-width:540px) {
	.lokalita.sp table tbody > tr:last-child td:first-child{width:100%;}
	.lokalita.sp table tbody > tr:last-child td:last-child{width:0;display:block;}
	.lokalita.sp table table tr td{width:auto !important;display:table-cell;}
	.lokalita.sp table table tr td + td{padding-right: 0.5em !important;}
	.lokalita.sp table h4{font-size: 1.3em;margin-bottom: 1.1em;}
	/*.domy td:nth-child(8) img{height: 2.15em;}
	.domy td:nth-child(8) img,.domy td:nth-child(8) img + img{margin-left: 0.5em;}*/
	.nahledy span, .sekce + .sekce .nahledy span{font-size:0.8em;height:2.8em;}
	/*.nahledy a{width: calc(100%/2);margin-bottom: 1.5em;}*/
	.domy td, .domy th:first-child, .domy td:first-child, .domy th:last-child, .domy td:last-child{line-height: calc(44px/2);height: 44px}
	.domy td:before{font-size: 0.8em;}
}
@media only screen and (max-width:515px) {
	.HP #contentC{background-position: left bottom;}
	.UvodPodText{margin:1.5em 0 2.5em;}
	#content .svetlaM{padding: 1.5em 75px 0 1em;background-size: 70px auto;}
	#content .tmavaM{padding: 1em 1.25em;}
	.noborder #centerC{padding: 1em 1.25em;}
}
@media only screen and (max-width:460px) {
	table.domyS td{width: calc(100%/2);}
	.podNadpis, .sekce + .sekce .podNadpis{font-size:0.9em;}
	/*.nahledy a{width: calc(100%/1);}*/
	/*.obyvak .nahledy a{width: calc(100%/1);}*/
}

@media only screen and (max-width:440px) {
	.prilohajedna .prilohy .soubory{left:0;right:0;}
	.prilohavymena .prilohy .soubory a.stahnoutTL{padding:1.435em 2.435em;}
	.AppFormKont td input.inputText, .AppFormKont td input.inputTextCaptcha, .AppFormKont td textarea.inputTextarea{padding-left: 0.5em;padding-right: 0.5em;}
	.AppFormKont .inputSubmit{padding: 0.5em 1em;}
	.NHP #topBanner {margin-bottom: 3em;}
	.DumDetail .titulek {font-size: 0.95em;top: -6.8em;}
}

@media only screen and (max-height:640px) {
	#slideShow .leftMainText{padding: 0 0.3em 0.3em 0;font-size: 1.1em;}
	.RK{padding: 1.5em 0 0;}
	.RK li{font-size: 1em;line-height: 1em;padding: 0.7em 0.7em 0.7em 1.0335em;margin: 0 0 0.5em 0;}
	.RK li:first-child{padding: 0.8em 0.7em 0.8em 1.0335em;}
	.RK li a{padding-left: 1.65em;}
}
@media only screen and (max-width:570px) and (max-height:410px) {
	#slideShow .leftMainText{padding-right: 11.5em;}
}
@media only screen and (max-height:820px) {
	.informaceDum .dum{float:none;margin:0 auto;}
}
@media only screen and (max-height:790px) {
	.kontakt #content .menuText{padding:0.5em 0;}
}
@media only screen and (max-height:700px) {
	.kontakt #content ul{grid-gap: 0.5em 0;}
}
@media only screen and (max-height:750px) and (max-width:540px) {
	.kontakt #content .menuText{height: auto !important;}
	.kontakt #content li{padding-top:0.5em;padding-bottom:0.5em;}
}