html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;

}

html {
  overflow-y: scroll;
  
}

h1,h2,h3,h4,h5,h6,p,form{
  margin:0;
}
body{
 /* background:url(img/bg.png) repeat;*/
  background:#ffffff;
  margin: 0; 
  /*font-family: webfont, serif;*/
    font-family: "Rethink Sans", sans-serif;
}


a:link, a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

#main {
  width:auto;
  margin:0px auto;
}
#main h1.top{
position:absolute;
}


#menu {
  height:75px;
  width:auto;
  margin:0px auto;
  position:relative; 
  background-color:#c6dcdd;
  /*border-bottom: 1px solid #ebebeb;*/
  
}

.logo {
display: block;
  height:75px;
  width:75px;
  margin:0px auto;

	/*background: url(img/logo.png) no-repeat;
	  background-position: center;*/
}


#home {
	width:200px;
	height:75px;
	margin:0px auto;
	float: left;
	background:#ffffff;
	
}



.container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1300px;
  height:80px;
  /*background:#df001b;*/
}

#navbar {
  position: absolute;
    height:75px;
  width: 100%;
  z-index: 5;
  position: fixed !important;
  /*rozmazání*/
    backdrop-filter: saturate(180%) blur(20px);
    background:url(img/bg-menu.png)  no-repeat;
    background-position: center;
  
}

.telefon a{
    height:75px;
  width: auto;
  float:right;
  padding-top:27px;
  padding-right:6px;
  color: #000000;
  font-size:15px;
  \01F3E0;
}




#navigace {
 max-height:454px;
  width:auto;
  margin:0px auto;
  position:relative; 
  background: #eeeeee;
   z-index:0;
}

#bannery {
  max-width:1300px;
  margin:0px auto;
 max-height:454px;
}

#rozcestnik {
  height:auto;
  width:auto;
  margin:0px auto;
  position:relative; 
     background: #ffffff;
	 border-bottom:1px dotted #cccccc;

}

#rozcestnik img {

 max-height:140px;
}

.rozcestnik-cont {
 max-width:1280px;
 margin:0px auto;
  padding-top:20px;
  padding-left:20px;
  min-height:320px;
  overflow:hidden;


}

.rozcestnik-cont a {
  color: #636363;
  text-decoration: underline;
  font-size:0.9em;
}

.rozcestnik-cont a:hover {
  color: #df001b;
}

.rozcestnik-cont h2 {
  font-size:2em;
  color: #df001b;
  padding-bottom:12px;
}

.rozcestnik-cont h3 a  {
  font-size:1em;
   color: #000000;
    text-decoration: none;
   /* font-weight:bold;*/
}

.rozcestnik-cont p{
  color: #636363;
   font-size:0.8em;
   padding-top:8px;
   padding-bottom:14px;

}

.rozcestnik-cont img{
   padding-bottom:8px;
     padding-top:15px;
}

.rozcestnik-cont-1{
	width:22.22222%;
	float:left; 
	margin-bottom: -1000px;
	padding: 0 5px 1000px 16px;
	  text-align: center;

		
}

@media (max-width:799px) {
.rozcestnik-cont-1{
margin:0px 10px 20px 25px;
width:300px;
padding: 0;
	
}
}

@media (max-width:710px) {
.rozcestnik-cont-1{
margin:0px 10px 20px 20px;
width:250px;
padding: 0;	
}
}

@media (max-width:600px) {
.rozcestnik-cont-1{
margin:0px 10px 20px 20px;
width:90%;
padding: 0;	
}
.rozcestnik-cont{
padding-right: 0px;
padding-left: 0;
}

.rozcestnik-cont h2 {
padding-left:10px;
}

}




#cont {
  height:auto;
  width:auto;
  margin:0px auto;
  position:relative; 
     background: #ffffff;
	 padding-top

}

#centr {
  max-width:1300px;
  margin:0px auto;
  /*padding-top:5px;*/
  min-height:200px;
    background: #ffffff;
}


#cont-mapa {
  height:auto;
  width:auto;
  margin:0px auto;
  position:relative; 
  background: #ededed;

}
#mapa {
  max-width:1300px;
  margin:0px auto;
 max-height:400px;
}

.rsmapa {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }


.rsmapa img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: 0;
}

.mapycz {
  position: relative;
  border
  overflow: hidden;
  width: 100%;
  padding-top: 45.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid #000000;
}



#cont-loga {
  height:auto;
  width:auto;
  margin:0px auto;
  position:relative; 
  background: #d1d1d1;

}
#loga {
  max-width:1300px;
  margin:0px auto;
 max-height:400px;
}

.rsloga {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }


.rsloga img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: 0;
} 




.text-cont {
  padding:10px 20px 20px 20px;
  color:#000000;
  min-height:100px;
  
}

.text-cont a{
color:#ff1e00;
}

.text-cont h2{
  font-size:2em;
    color: #ff1e00;
	text-align:center;
	padding-bottom:15px;
	padding-top:5px;
}

.text-cont h3{
  font-size:1.4em;
  padding-left:0px;
  padding-bottom:1px;
  padding-top:5px;

  color: #ff1e00;
}

.text-cont h4{
  font-size:1.3em;
  padding-left:0px;
  padding-bottom:1px;
  padding-top:5px;
  font-weight:bold;
}

.text-cont b{
   font-weight:bold;
}
.text-cont p{
  font-size:1.1em;
  text-align: justify;
  text-indent: 0px;
  margin-bottom:11px;
  line-height: 1.2;

}

.text-cont img{
  	float:left; 
  padding:0px 10px 10px 0px;
}


  
.text-cont ul {
    display: block;
    list-style-type: disc ;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;

}

.text-cont ul li { 
  margin:2px;
  font-size:1.1em;
  color: #000000; 


  
  }
  
.text-cont ul li::marker {
  color: #000000;
}
  
.text-cont ol li {
    display: block;
    list-style-type: disc ;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
	
    }
  
 .head-img{ 

  }
  
 .head-img img{ 
  width:100%;
  margin:0px auto;
  padding-bottom:20px;
  /*border:1px dotted #cccccc;*/
  float:left;
  
  }
  
  

  

.clear{
	clear:both;
}

#bottom{
  height:auto;
  width:auto;
	margin:0px auto;
	margin-top:25px;
	background:#ececec;


}

#bottom-kontakt {
 max-width:1300px;
  margin:0px auto;
  padding-top:20px;
 /* border-left:1px dotted #cccccc;
  border-right:1px dotted #cccccc;*/
  min-height:200px;
  overflow:hidden;
  background: url(img/logo_ms_mas.png)right 70% no-repeat;

}

.bottom-cont,.bottom-cont-download{
	/*width:390px;
	float:left; 
	margin:20px 20px 25px 20px;
	border:1px dotted #cccccc;*/
	
	width:30%;
	float:left; 
	margin-bottom: -1000px;
	padding: 0 5px 1000px 15px;

}


.bottom-cont h3,.bottom-cont-download h3{
	  font-size:1.3em;
	  padding-left:30px;
	  color: #777368; 
}

.bottom-cont p{
  font-size:0.9em;
  padding-left:30px;
  padding-top:15px; 
  color: #777368; 
}

.bottom-cont span.grey p{
 color: #777368; 
}

.bottom-cont ul ,.bottom-cont-download ul {

  color: #777368; 
  padding-top:8px;
}

.bottom-cont a,.bottom-cont-download a{

  color: #777368; 
}

.bottom-cont ul li{ 
  margin:0px;
  line-height:26px;
  font-size:1em;
  margin-left:55px;
  list-style-image: url(img/li.png);
  }
  
  
 .bottom-cont-download ul li{ 
  margin:0px;
  line-height:26px;
  font-size:1em;
  margin-left:55px;
  list-style-image: url(img/li-pdf.png);
  }
  
  
@media (max-width:677px) {
.bottom-cont,.bottom-cont-download{
margin:0px 10px 20px 25px;
width:300px;
padding: 0;
}

}

.bottom-cont-button {
  width:180px;
  height:35px;
  float:left; 
  margin:20px 20px 20px 30px;
  background:#df001b;
  -webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
}

.bottom-cont-button p {
  font-size:1em;
  padding-left:15px;
  padding-top:8px; 
  color: #ffffff; 
}

.bottom-cont-button:hover {
  color: #ffffff;
  text-decoration: underline;
   background:#cccccc;
}


/* -------------------------footer------------------------*/
#footer{
	
  height:auto;
  width:auto;
margin:0px auto;
background: #badfe1;

}

#footer-end {
	max-width:1300px;
	height:60px;
	margin:0px auto;

}


@media (max-width:1150px) {

#bottom-kontakt {
  background:none;
}

#footer-end {
  background:none;

}
}


.copyright {
	max-width:1300px;
	height:50px;
	margin:0px auto;
	color:#000000;
	font-size: 1em;
	padding:20px 0px 0px 10px;
	text-align:center;
	/*	border:1px dotted #cccccc;*/
}

.copyright span.grey {
 color: #ff1e00; 
}





/*------------------------kontakty----------------------*/



#mappopup{
  height:102px;
  width: 260px;
  padding-left:8px;
}

#mappopup h1{
  color: #118f9a;
  font-size: 1.2em;
}

#bodyMappopup p{
	font-size: 0.9em;
	color: #118f9a;
}

#map_pdy{
}

 /* Napište nám */
 
.formular{
	padding-left:20px;
	padding-top:20px;
	max-width:512px;
	background: #eeeeee;
	min-height:430px;
	 
	     border: dotted 1px #eeeeee;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    margin: 5px 5px 5px 0px;
    background: #eeeeee;


} 

.formular p{
  font-size:0.9em;
  color: #df001b; 
  padding-bottom:20px;
} 
 
 
form.kontakt{


}
form.kontakt label{ 
	color:#004d2d;
	font-size: 0.8em;
	float:left;
	clear:left;
	width:50px;
	text-align:right;
	padding:5px 10px 10px 10px;
	margin-bottom:10px;
}
form.kontakt input{
  border: solid 1px #cccccc;
	float:left;
	width:60%;
	padding:4px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

form.kontakt textarea{
  border: solid 1px #cccccc;
	float:left;
	width:95%;
	height:100px;
}

form.kontakt input.submit{
	clear:both;
	width:75px;
	height:30px;
	border:0;
	background:#018601;
	color:#fff;
	float:right;
	margin:20px 20px 20px 20px;
}

div.war{
	border:1px solid red;
	padding:4px 5px 3px 5px;
	margin:5px 0;
	font-weight:bold;
	text-align:center;
}

table.kontakt{
	width:100%;
	border-collapse: collapse;
	margin-bottom :10px;
}

table.kontakt thead tr th{
	text-align:left;
	border:0;
	border-bottom:0;
	padding:2px;
	font-weight:bold;
}

table.kontakt tbody td{
	padding:6px;
}




.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	 border: 1px dotted #eeeeee;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
}



.imgCont{
	max-width:280px;
	height:180px;
  /* border: dotted 1px #cccccc;*/

}

.imgCont img{

}

.cont_news img{
margin-left:60px;
margin-top:25px;
/*border: dotted 1px #cccccc;*/

	
}

.cont_news{
	max-width:300px;
	float:left; 
	padding-left:0px;	
	padding-top:0px;	
  border: dotted 1px #eeeeee;
  	-webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
margin:5px;


}



.cont_news-button {
  width:145px;
  height:25px;
  float:right; 
  margin:10px;
  background:#018601;
  -webkit-border-radius: 4px 4px 4px 4px;
border-radius: 4px 4px 4px 4px;
padding-top:5px;

}



.cont_news-button a {
  color: #ffffff; 
}


.cont_news-button:hover {
  text-decoration: none;
   background:#ffa800;
}




.cont_news a{

     font-size: 1em;
    padding-left: 15px;

}

.cont_news h3 a{
  color:#000000;
  font-size:0.8em;
  padding-bottom:5px;
  font-weight:bold;
  text-overflow: ellipsis;
  padding-left:0px;
}

.cont_news b{
 font-weight:bold;
 color:#008ed6;
}
.cont_news p{
padding-top:3px;
padding-bottom:3px;
  font-size:0.8em;
  font-family: verdana, serif;
 background: url(img/bg.png) repeat;
  padding-right:3px;
  color:#878787;

  
}
.objednani {

  margin-top:3px;
  	margin-bottom:3px;
	 font-size:1.2em;
	  font-weight:bold;
 color:#df001b;
}



.drob-menu{
 font-size:0.9em;
padding-bottom:6px;
margin-bottom:20px;
border-bottom: dotted 1px #eeeeee;

	width:auto;
}

.drob-menu a{ 
 font-size:1em;

}




#centr_box {
	width: 543px;
	min-height:660px;
	background: url(img/bg_center.jpg);
	float:left;
	margin-left:2px;
	/*margin-bottom:-20px;*/
}
#centr_box h2{
    color: #fff3bb;
    font-weight: bold;
    font-size: 1.5em;
	padding-top:5px;
	margin-top:-2px;
	padding-left:22px;
	background: url(img/h2_center.png);	
	height:46px;
}
	
#centr_box img{

}
	
	
.text-centr_box {
    color: #000;
    font-weight: normal;
    font-size: 1.1em;
	padding-left:30px;
	padding-right:30px;
}
	
.text-centr_box a{
       color: #000;
	   font-weight: bold;
	   text-decoration:none;
}

.text-centr_box h3{
	   font-weight: bold;
	   	padding-top:6px;

}


.text-centr_box b{
	   font-weight: bold;

}


.text-centr_box span.big{
       font-size: 1.6em;
}
.text-centr_box span.fotogalerie{
	background: url(img/camera.png) right no-repeat;
	height:30px;
	width:120px;
	display:block;
}


.scrollup {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 80px;
    display: none;
    text-indent: -9999px;
    background: url(img/sipka.png) no-repeat;

}

@media (max-width:677px) {

.scrollup {

    bottom: 25px;
    right: 30px;

}
}


/* ----rozcestník-hp------*/

.grid-container {
	max-width: 1920px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/*grid-template-rows: repeat(1, 1fr);*/
	grid-template-rows: repeat(3, minmax(8px, auto));
	gap: 0px 4px;
	padding-top:5px;
	padding-bottom:10px;
	background-color: #fff;

}
.grid-container-prod {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 5px 5px;
	padding-top:15px;

}

.grid-item h3 {
	font-size: 1.6em;
    color: #000000;	
	
}

.grid-nahled-street, .grid-nahled-oaza, .grid-nahled-mont, .grid-nahled-pujc{
	min-width: 230px;
	min-height: 200px;
	margin:10px;
	margin-bottom:-5px;
}

.grid-nahled-street{
	background:url(img/street_ms.jpg)  no-repeat;
}

.grid-nahled-oaza{
	background:url(img/oaza_ms.jpg)  no-repeat;
}
.grid-nahled-mont{
	background:url(img/mont_ms.jpg)  no-repeat;
}

.grid-nahled-pujc{
	background:url(img/pujc_ms.jpg)  no-repeat;
}


.grid-item img{
	max-width: 230px;
	width: auto;
	margin-bottom:-15px;
	margin-top:10px;

}

.grid-item {
	border-radius: 5px;
	display: block;
	color: white;
	text-align:center;
	padding-bottom:15px;
	box-shadow: -8px 13px 20px -5px rgba(51,51,51,0.42);
	-webkit-box-shadow: -8px 5px 10px -5px rgba(51,51,51,0.42);
	-moz-box-shadow: -8px 13px 20px -5px rgba(51,51,51,0.42);
	/*box-shadow: 0px 3px 14px 2px rgba(0, 0, 0, .1215686275), 0px 0px 10px 1px rgba(0, 0, 0, .0392156863);*/

}

.item-1 {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	background-color: #f7f7f7;
	transition: all 0.5s ease;
}

.item-1:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #c3c3c3;
  transition: all 0.5s ease;
  background-color: #fff;
}

.item-2 {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	background-color: #f7f7f7;
	transition: all 0.5s ease;
}
.item-2:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #c3c3c3;
  transition: all 0.5s ease;
  background-color: #fff;
}


.item-3 {
	grid-column: 3 / 4;
	grid-row: 1 / 2;	
	background-color: #f7f7f7;
	transition: all 0.5s ease;
}

.item-3:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #d191fa;
  transition: all 0.5s ease;
  background-color: #d191fa;
}

.item-3:hover h3 {
color: #fff;
}


.item-4 {
	grid-column: 4 / 5;
	grid-row: 1 / 2;
	background-color: #f7f7f7;
	transition: all 0.5s ease;	
}
.item-4:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #c3c3c3;
  transition: all 0.5s ease;
  background-color: #fff;
  
}



/* Tablet styles */
@media (max-width: 1024px) {
.grid-container {
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, minmax(10px, auto));
	gap: 5px 4px;
}
.item-1 {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}
.item-2 {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}
.item-3 {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}
.item-4 {
	grid-column: 2 / 3;
	grid-row: 2 / 3;
}

.grid-nahled-street, .grid-nahled-oaza, .grid-nahled-mont, .grid-nahled-pujc{
	display:none;
}

}
/* Mobile styles */
@media (max-width: 640px) {
.grid-container {
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: repeat(5, minmax(10px, auto));
	gap: 5px 5px;
}
.item-1 {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}
.item-2 {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}
.item-3 {
	grid-column: 1 / 2;
	grid-row: 3 / 4;
}
.item-4 {
	grid-column: 1 / 2;
	grid-row: 4 / 5;
}
}






/*------------strom--------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
  
}


.timeline {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 5px 0;
  margin-top:-35px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #df001b;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.container-tree {
  padding: 15px 12px 15px 12px;
  position: relative;
  background: inherit;
  width: 50%;
}

.container-tree.left {
  left: 0;
}

.container-tree.right {
  left: 50%;
}

.container-tree::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -8px;
  background: #ffffff;
  border: 2px solid #df001b;
  border-radius: 16px;
  z-index: 1;
}

.container-tree.right::after {
  left: -8px;
}

.container-tree::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  top: calc(50% - 1px);
  right: 8px;
  background: #df001b;
  z-index: 1;
}

.container-tree.right::before {
  left: 8px;
}

.container-tree .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 8px);
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #df001b;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.container-tree.left .date {
  right: -65px;
}

.container-tree.right .date {
  left: -65px;
}

.container-tree .icon {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 9px 0;
  top: calc(50% - 20px);
  background: #fff;
  border: 2px solid #df001b;
  border-radius: 40px;
  text-align: center;
  font-size: 18px;
  color: #df001b;
  z-index: 1;
}

.container-tree.left .icon {
  right: 36px;
}

.container-tree.right .icon {
  left: 36px;
}

.container-tree .content {
  padding: 30px 90px 30px 30px;
  background: #badfe1;
  position: relative;
  border-radius: 0 50px 50px 0;
  	box-shadow: -8px 13px 20px -5px rgba(51,51,51,0.42);
	-webkit-box-shadow: -8px 5px 10px -5px rgba(51,51,51,0.42);
	-moz-box-shadow: -8px 13px 20px -5px rgba(51,51,51,0.42);
	/*box-shadow: 0px 3px 14px 2px rgba(0, 0, 0, .1215686275), 0px 0px 10px 1px rgba(0, 0, 0, .0392156863);*/
}

.container-tree.right .content {
  padding: 30px 30px 30px 90px;
  border-radius: 50px 0 0 50px;
}

.container-tree .content h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #df001b;
}

.container-tree .content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

@media (max-width: 767.98px) {
  .timeline::after {
    left: 60px;
  }

.container-tree {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
  }

 .container-tree.right {
    left: 0%;
  }

 .container-tree.left::after, 
.container-tree.right::after {
    left: 52px;
  }

.container-tree.left::before,
.container-tree.right::before {
    left: 59px;
    border-color: transparent #006E51 transparent transparent;
  }

.container-tree.left .date,
.container-tree.right .date {
    right: auto;
    left: 10px;
  }

.container-tree.left .icon,
.container-tree.right .icon {
    right: auto;
    left: 90px;
  }

.container-tree.left .content,
.container-tree.right .content {
    padding: 20px 30px 30px 60px;
	margin-left:-35px;
    border-radius: 50px 0 0 50px;
  }
}




.ms-h2 {
	padding-top:9px;
	padding-bottom:9px;
	text-align:center;
  	font-size: 2em;
	color: #ffffff;
	background: #ff1e00;
	max-width: 1920px;
	margin: auto;

  
}
.ms-h2 a{
	color: #ffffff;

  
}




/*****************************************/



#montmenu {
	position: sticky;
	top: 75px;
	background: #ff1e00;
	height: 10px;
	padding-right: 1px;
	border-radius: 0px 0px 5px 5px;
	width: auto;
	margin-bottom:60px;
	z-index:1;
}
#montmenu ul, #montmenu li {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
#montmenu ul {
	width: 100%;
	text-align: center;
}
#montmenu li {
	display: inline-block;
	position: relative;
 transform: scale(1.006);
  transition: all 0.5s ease;
  /*background-color: #aad3d5;*/
background-color: #aad3d5;
border-radius: 0px 0px 5px 5px;


}
#montmenu a {
	display: block;
	line-height: 55px;
	padding: 0 32px;
	text-decoration: none;
	color: #000;
	font-size: 1.5em;
}
#montmenu a.dropdown-arrow:after {
	content: "\25BE";
	margin-left: 5px;
}
#montmenu li a:hover {

transform: scale(1.06);
  box-shadow: 0 0 10px #badfe1;
  transition: all 0.3s ease;
  background-color: #fff;
}
#montmenu input {
	display: none;
	margin: 0;
	padding: 0;
	height: 60px;
	width: 100%;
	opacity: 0;
	cursor: pointer
}
#montmenu label {
	display: none;
	line-height: 60px;
	text-align: center;
	position: absolute;
	left: 35px
}
#montmenu label:before {
	font-size: 2.8em;
	color: #000000;
	content: "\2261"; 
	margin-left: 20px;
}
#montmenu ul.sub-menus{
	height: auto;
	overflow: hidden;
	width: 170px;
	background: #444444;
	position: absolute;
	z-index: 99;
	display: none;
}
#montmenu ul.sub-menus li {
	display: block;
	text-align: left;
	width: 100%;
}
#montmenu ul.sub-menus a {
	color: #FFFFFF;
	font-size: 16px;
}
#montmenu li:hover ul.sub-menus {
	display: block
}
#montmenu ul.sub-menus a:hover{
	background: #F2F2F2;
	color: #444444;
}

@media screen and (max-width: 800px){
	/* ÚPRAVY PRO #MONTMENU: zajištění 100% šířky a pozice */
	#montmenu {
	position: sticky;
	top: 75px;
        height: 60px;
        margin-bottom: 0px;
        background: #badfe1;
        width: 100%;       /* Zajištění plné šířky */

        border-radius: 0;   /* Volitelné, pro jistotu, aby se nezaoblilo */
	
    }
    
	#montmenu ul {
        background: #444444;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 3;
        height: auto;
        display: none; 
        text-align: center;
    }

	#montmenu ul.sub-menus {width:100%;position:static;}
	#montmenu ul.sub-menus a {padding-left:30px;}
    
	#montmenu li {
        display: block;
        float: none;
        width: auto;
        border-bottom: 1px solid #ffffff;
	transform: scale(1);
    }
    
    /* ÚPRAVY PRO TLAČÍTKO: Pozicování vpravo a zobrazení */
	#montmenu input, #montmenu label {
        position: absolute;
        top: 0;
        right: 15px; /* Tlačítko 15px od pravého okraje */
        left: auto;  /* Zrušení left: 35px z desktop CSS */
        display: block; /* Zobrazení labelu, který byl pro desktop 'display: none' */
        width: 60px; 
        height: 60px; 
        line-height: 60px; 
        text-align: center;
        font-size: 48px; 
        color: #444444; 
        cursor: pointer;
    }

    /* Přebití 'display: none' pro input z desktopu (i když by se neměl zobrazit) */
	#montmenu input {
        display: block; 
        z-index: 4;
        /* Rušíme opacity, která by mohla překážet */
        opacity: 0;
        height: 60px;
        width: 60px;
    }

    /* Ikona hamburgeru - používáme definici z desktopu, ale pro jistotu ji necháváme */
    /* Můžete zkusit i variantu bez tohoto bloku, protože ho definuje desktop CSS */
    #montmenu label:before {
        content: "\2261";
        margin-left: 0; /* Rušíme nechtěný margin-left z desktopu */
        font-size: 1em; /* Menší velikost, protože jsme ji definovali ve font-size pro label */
    }

    /* Styly pro otevřené menu */
	#montmenu input:checked + label {color:#FFFFFF}
	#montmenu input:checked + label:before {content:"\00d7"}
	#montmenu input:checked ~ ul {display:block}
}


/*---------------kont-mont------------------*/


.kontakt-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px 10px;
  margin-bottom:30px;

}

.kontakt-item {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt-item p{
text-align:center;
  color: #000000;
  line-height: 1.3;
  font-size: 1.04em;
   margin: 5px;
}
.kontakt-item a{
color: #467072;
line-height: 1.8;
}

.kontakt-item b{
text-align:center;
font-size: 1.2em;
color: #ff1e00;
font-weight:normal;
}


.itemk-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background-color: #ffffff;
}

.itemk-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background-color: #ffffff;
}

.itemk-3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background-color: #ffffff;
}

.itemk-4 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
  background-color: #ffffff;
}

.itemk-5 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background-color: #ffffff;
}

.itemk-6 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background-color: #ffffff;
}

.itemk-7 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  background-color: #ffffff;
}

.itemk-8 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
  background-color: #ffffff;
}

.itemk-9 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  background-color: #ffffff;
}

.itemk-10 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  background-color: #ffffff;
}

.itemk-11 {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  background-color: #ffffff;
}

.itemk-12 {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
  background-color: #ffffff;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .kontakt-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, minmax(60px, auto));
    gap: 10px 10px;
	margin-bottom:-60px;
  }
  
  .itemk-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  
  .itemk-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  
  .itemk-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  
  .itemk-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  
  .itemk-5 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  
  .itemk-6 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  
  .itemk-7 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }
  
  .itemk-8 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
  
  .itemk-9 {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
  }
  
  .itemk-10 {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
  }
  
  .itemk-11 {
    grid-column: 1 / 2;
    grid-row: 6 / 7;
  }
  
  .itemk-12 {
    grid-column: 2 / 3;
    grid-row: 6 / 7;
  }
}

/* Mobile styles */
@media (max-width: 640px) {
  .kontakt-container {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(13, minmax(60px, auto));
    gap: 10px 10px;
	margin-bottom:-130px;
  }
  
  .itemk-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  
  .itemk-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  
  .itemk-3 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  
  .itemk-4 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }
  
  .itemk-5 {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
  }
  
  .itemk-6 {
    grid-column: 1 / 2;
    grid-row: 6 / 7;
  }
  
  .itemk-7 {
    grid-column: 1 / 2;
    grid-row: 7 / 8;
  }
  
  .itemk-8 {
    grid-column: 1 / 2;
    grid-row: 8 / 9;
  }
  
  .itemk-9 {
    grid-column: 1 / 2;
    grid-row: 9 / 10;
  }
  
  .itemk-10 {
    grid-column: 1 / 2;
    grid-row: 10 / 11;
  }
  
  .itemk-11 {
    grid-column: 1 / 2;
    grid-row: 11 / 12;
  }
  
  .itemk-12 {
	  display:none;
    grid-column: 1 / 2;
    grid-row: 12 / 13;
  }
}





/* Basic styling for the gallery */


        .gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 20px;
        }

        .gallery img {
            margin: 10px;
            cursor: pointer;
            max-width: 300px;
            width: 50%;
            height: 50%;
          border-radius: 10px;
        }

        /* Lightbox styles */
        #lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(170, 211, 213, 0.8);
            justify-content: center;
            align-items: center;
            overflow: hidden;
            flex-direction: column;
			z-index:6;
        }

        #lightbox img {
            max-width: 70%;
            max-height: 75vh;
            box-shadow: 0 0 15px rgba(103, 103, 103, 0.8);
          border-radius: 5px;
		  padding:0px;

        }

        #close-btn {
            position: absolute;
            top: 0px;
            right: 20px;
            font-size: 60px;
            color: #000000;
            cursor: pointer;
            z-index: 7;
        }

        /* Style for navigation buttons */
        #prev-btn,
        #next-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 20px;
            color: #fff;
            background-color: rgba(0, 0, 0, 0.5);
            border: none;
            padding: 10px;
            cursor: pointer;
            transition: background-color 0.3s;
		border-radius: 5px;
        }

        #prev-btn {
            left: 10px;
        }

        #next-btn {
            right: 10px;
        }

        #prev-btn:hover,
        #next-btn:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        /* Styles for thumbnails */
        .thumbnail-container {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }
        .thumbnail {
            max-width: 50px;
            width: 100px;
            cursor: pointer;
            margin-top: 30px;
            margin-left: 5px;
            margin-right: 5px;
            border: 2px solid #fff;
            transition: opacity 0.3s;
        }

        .thumbnail:hover,
        .thumbnail.active-thumbnail {
            opacity: 0.7;
        }