.styl {   /*jen pomocne CSS - pak smazat*/
  box-shadow: #000000 2px 2px 4px;
  -webkit-box-shadow: #000000 2px 2px 4px;
  -moz-box-shadow: #000000 2px 2px 4px;
  /* generator stinu - http://www.cssmatic.com/box-shadow */
  
  -webkit-border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  border-radius: 15px 15px 15px 15px;
  
  /* objekt pak pocita paddingy a bordery "dovnitr" => 
  - bez "box-sizing: border-box" = wresidth 200px a paddingy kolem 20px = celkova sirka 240
  - s "box-sizing: border-box" = width 200px a paddingy kolem 20px = celkova sirka 200
  Tudiz to je vhodne na sirky s procentami kdy mi paddingy v px (ci treba bordery)) nedelaji problemy s sirkou v procentech
  */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  
  background-color:#F3F3F3;
  background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#E6E6E6)); /* Chrome a Safari*/
  background-image: -webkit-linear-gradient(#FFFFFF, #E6E6E6); /* Chrome a Safari*/
  background-image: -moz-linear-gradient(#FFFFFF, #E6E6E6); /* Opera */
  background-image: -o-linear-gradient(#FFFFFF, #E6E6E6); /* Opera */
  background-image: -ms-linear-gradient(#FFFFFF, #E6E6E6); /* pro IE10 */
  background-image: linear-gradient(#FFFFFF, #E6E6E6); /* CSS3 */
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF',endColorstr='#E6E6E6'); /* IE9 a starsi*/
  zoom:1; /* Bez zoomu se prechod v IE nezobrazi */
  /* generator prechodu - http://www.colorzilla.com/gradient-editor/ */
  
  /* deaktivace doubleclick oznacovani textu */
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */ 
  
  /*--- navod na selct s vlastni ikonou sipky.. nutne ddat i pravy padding (START) ---*/
  -webkit-appearance: none; 
  -moz-appearance: none;
  appearance: none;       /* remove default arrow */
  background-image: url("../../img/ikony/sipka_select.png");  /* add custom arrow */
  background-repeat: no-repeat;
  background-position: right 20px center;
  /*--- navod na selct s vlastni ikonou sipky.. nutne ddat i pravy padding (KONEC) ---*/
  
  /*--- CSS cover na obrazek v danem divu - patri k tagu img (START) ---*/
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*--- CSS cover na obrazek v danem divu - patri k tagu img (KONEC) ---*/
  
  /*--- CSS3 dynamicka pozice pro absolutni/fixni prvky (START) ---*/
  padding-left: calc((100vw - 1590px) / 2); /* zarovnani s ostatnim obsahem webu */
  /*--- CSS3 dynamicka pozice pro absolutni/fixni prvky (KONEC) ---*/
}



/*--- Responsive design ---*/

@media only screen and (min-width: 1922px) {
  .blok_sirky_webu_full_hd{
    width: 1920px;
  }
}

@media only screen and (max-width: 1420px) {	 /*full HD tablet - vetsinou do 1280*/
  
.blok_sirky_webu{
  width: 88%;
  padding-left: 6%; /*neopomenout pro mobily jit na 8% protoze 4% jsou malo*/
  padding-right: 6%; /*neopomenout pro mobily jit na 8% protoze 4% jsou malo*/
}

}

@media only screen and (max-width: 1100px) {	 /*tablet - vetsinou do 1024*/


.resp_menu_postupne{
  display: block;
}
#obal_polozky_menu_5{
  display: none;
}
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/

}

@media only screen and (max-width: 1010px) {
  
td img{ /* v zakladu to rusim, ale pro mensi zarizeni je potreba tech 100% jinak i na mobilu ma tabulka klidne 800px sirku a jd eji videt jen pulka a nejde se k ni posunout */
  max-width: 100%;
}
  
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/
#obal_polozky_menu_4{
  display: none;
}
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/
  
}

@media only screen and (max-width: 840px) {
  
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/
#obal_polozky_menu_3{
  display: none;
}
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/
  
}


@media only screen and (max-width: 650px) {	/*mobil - na sirku*/

/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/
#obal_polozky_menu_2{
  display: none;
}
/*pokud neni vyuzito postupne zabalovani menu prez jQuery, tak smazat styly pro preklopeni menu do "postupneho responsivniho vzhledu" (START)*/

}

@media only screen and (max-width: 550px) {	/*mobil - na vysku*/



}

/*--- Responsive design - help z Stackoverflow ---*/
@media (min-width:320px) { /* smartphones, iPhone, portrait 480x320 phones */ }
@media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ }
@media (min-width:641px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ }
@media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }


@media print {
  
  * {
      -webkit-print-color-adjust: exact !important;   /* Chrome, Safari 6 – 15.3, Edge */
      color-adjust: exact !important;                 /* Firefox 48 – 96 */
      print-color-adjust: exact !important;           /* Firefox 97+, Safari 15.4+ */
  } /*tiskni i obrazky v pozadi + barvy pozadi*/

  .no-print, .hlavicka, .paticka{
    display: none !important;
  }
  
  .blok_sirky_webu{
    width: 100%;
  }
  
  .pagebreak{ /* toto pred danym blokem to ukonci stranku */
    page-break-before: always;
  }
  
}

/*
    HLAVICKA
*/
.mobile-row{
  display: flex;
}
.logo{
  float: left;
  width: 240px;
  height: 100px;
  
  background-size: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cervena);
  /*background-image: url("../../img/hlavicka/logo.png");*/
  background-image: url("../../img/hlavicka/logo PPS_web.jpeg");
  z-index: 2;
}

.horni-menu{
  margin-inline: auto;
  max-width: 1920px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  transition: background-color.1s linear;
}

.horni-menu-pravo{
  z-index: 2;
  display: flex;
  flex-direction: row ;
  gap: 40px;
  padding-inline: 35px;
}
.white-background{
  background-color: rgba(255, 255, 255);
}
.menu-pravo-link{
  display: flex;
  pointer-events: none;
  justify-content: center;
  position: relative;
}
.menu-pravo-link::before{
  content: '';
  background-color: var(--cervena);
  height: 4px;
  width: max(80px,calc(100% + 40px));
  position: absolute;
  top: -4px;
  transition: top.1s linear;
}
.menu-pravo-link a{
  color: white;
  pointer-events: auto;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: auto;
  transition: color.1s linear;
}
.dark a{
  color: rgba(0, 26, 71, 1) !important;
}
.menu-pravo-link:hover::before{
  top: 0;
}

#hamburger{
  display: none;
	width: 46px;
	height: 46px;
	box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0);
	border: none;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;

	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
  margin-inline: 25px;
}
#hamburger i {
  display: block;
	position: absolute;
	width: 100%;
	height: 6px;
	background-color: white;
	opacity: 1;
	left: 0;
  border-radius: 3px;

	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}
#hamburger > i:nth-child(1){
	top: 7px;
}
#hamburger > i:nth-child(2){
	top: 20px;

}
#hamburger > i:nth-child(3){
	top: 33px;
}

#hamburger.active > i:nth-child(1){

	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 22px;
}
#hamburger.active > i:nth-child(2){
	opacity: 0;

}
#hamburger.active > i:nth-child(3){
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 22px;
}


/* HLAVNI BANNER */

.nahled{
  width: 100%;
  aspect-ratio: 2.134 / 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../../img/nahled.jpg");
  position: relative;
  display: flex;
  flex-direction: column;
  color: white;
}
.banner-gradient-down{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: linear-gradient(to bottom,rgba(0, 26, 71, 60%),rgba(0, 26, 71, 0%));
}
.banner-gradient{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(101deg,
                                    rgba(0, 15, 42, 0.9),
                                    rgba(0, 15, 42, 0.9) 33%,
                                    rgba(0, 15, 42, 0.7) 33%, 
                                    rgba(0, 15, 42, 0.3) 53%, 
                                    rgba(0, 15, 42, 0) 53%, 
                                    rgba(0, 15, 42, 0) 100%);
}
.banner-content{
  display: flex;
  flex-direction: column;
  margin-top: clamp(130px,12.5vw,240px);
  margin-left: clamp(30px,12vw,230px);
  z-index: 1;
}
.nahled span{
  font-size: 60px;
  font-weight: 700;
  margin-bottom: clamp(20px,2.3vw,45px);  
}
.popis{
  max-width: 540px;
  font-size: 40px;
  font-weight: 400;
  margin-left: 30px;
}
.plan{
  display: flex;
  gap: 9px;
  font-size: 20px;
  font-weight: 400;
  margin-block: clamp(30px,2.6vw,50px);
  flex-wrap: wrap;
}
.plan div{
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
}
.arrow{
  width: 20px;
  height: 12px;
}
.nahled a{
  color: white;
  margin-bottom: 35px;
}
.red-outline-btn{
  background-color: unset;
  max-width: fit-content;
  color: white;
  padding-inline: 30px;
  padding-top: 21px;
  padding-bottom: 22px;
  border: 2px solid var(--cervena);
  border-radius: 2px;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color.2s linear;
}
.chevron{
  margin-left: 6px;
  width: 15px;
  height: 10px;
}

.red-outline-btn:enabled:hover{
  background-color: var(--cervena);
  text-decoration: none;
}

/* sekce se službami*/

#sluzby{
  padding-top: 180px;
  margin-inline: auto;
  max-width: 1200px;
  padding-bottom: 190px;
  padding-inline: 60px;
}
#sluzby span{
  font-size: 50px;
  font-weight: 700;
}
.ikona{
  height: 82px;
  margin-top: -33px;
}
.ikona img{
  height: 100%;
}
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 15px;
}
.grid span{
  font-size: 30px !important;
}
.grid span::before{
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--cervena);
  position: absolute;
  margin-top: -16px;
  margin-left: -20px;
}
.nadpis1{
  margin-top: 57px;
}
.nadpis2{
  grid-column-start: 1;
  grid-column-end: 4;
}
.karta{
  min-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 5px 5px 10px rgba(0, 26, 71, 4%);
  padding-inline: 30px;
  padding-bottom: 41px;
}
.karta-popis{
  padding-top: 17px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.popisek{
  margin-top: 3px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}
.poznamka{
  margin-top: 107px;
  max-width: fit-content;
  margin-inline: auto;
  font-size: 19px;
  font-weight: 400;
  padding-inline: 20px;
  padding-top: 25px;
  padding-bottom: 30px;
  background-color: rgba(0, 97, 209, 5%);
  border-radius: 4px;
  text-align: center;
}

/*kontakt fomrulář*/

#kontakt{
  position: relative;
  background-color: rgb(0, 26, 71);
  padding-bottom: 150px;
  padding-top: 140px;
}
.gradient{
  top: 0;
  left: 0;
  rotate: 180deg;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(101deg,
                                    rgba(0, 15, 42, 0.9),
                                    rgba(0, 15, 42, 0.9) 30%,
                                    rgba(0, 15, 42, 0.7) 30%, 
                                    rgba(0, 15, 42, 0.3) 60%, 
                                    rgba(0, 15, 42, 0) 60%, 
                                    rgba(0, 15, 42, 0) 100%);
}
.form{
  color: white;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  max-width: 600px;
}
.form form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kontakt-nadpis{
  position: relative;
  font-size: 50px;
  font-weight: 700;
}
.kontakt-popis{
  position: relative;
  margin-top: 15px;
  margin-bottom: 50px;
  font-size: 19px;
  font-weight: 400;
}
.short-input{
  max-width: 400px;
}
.long-input{
  max-width: 600px;
}
.form input:not(.red-outline-btn), .form textarea{
  position: relative;
  font-family: 'Roboto Slab', serif;
  background-color: rgb(21, 45, 88);
  border-radius: 4px;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: 400;
  padding-left: 17px;
  padding-top: 33px;
  padding-bottom: 13px;
  border-color: rgb(0, 97, 209);
  transition: border-color.2s linear;
}
.red-input{
  border-color: rgba(242, 71, 82, 1) !important;
}
.form input:not(.red-outline-btn):focus-visible, .form textarea:focus-visible{
  outline: none;
  border-width: 2px;
  border-style: solid;
  padding-inline: 15px;
}
.form input{
  height: 70px;
  width: 100%;
}
.form textarea{
  resize: none;
  height: 160px;
  width: 100%;
}
.input-wrap{
  position: relative;
}
.input-wrap label{
  font-size: 17px;
  font-weight: 400;
  opacity: 40%;
  position: absolute;
  left: 15px;
  top: 25px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  transition: top.2s linear, 
              font-size.2s linear,
              color.2s linear,
              opacity.2s linear, 
              font-weight.2s linear ;
}
.dekorace{
  width: 40px;
  height: 2px;
  position: absolute;
  border-radius: 4px;
  background-color: white;
  opacity: 20%;
  top: 0px;
  left: 0px;
  pointer-events: none;
  transition: opacity.2s linear;
}
.opacity-1{
  opacity: 1 !important;
}
.opacity-0{
  opacity: 0 !important;
}
.red-text{
  color: rgba(242, 71, 82, 1) !important;
  opacity: 1 !important;
}
.red-dekorace{
  background-color: rgba(242, 71, 82, 1) !important;
}
.small-text{
  top: 13px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.alert{
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(242, 71, 82, 1);
  opacity: 0;
  transition: opacity.2s linear;
}
.form input:not(.red-outline-btn):focus-visible + .dekorace + label, .form textarea:focus-visible + .dekorace + label{
  opacity: 100%;
  color: rgb(54, 147, 255);
}
.form input:not(.red-outline-btn):focus-visible + .dekorace, .form textarea:focus-visible + .dekorace{
  opacity: 0;
}
.form .red-outline-btn{
  margin-top: 30px;
  position: relative;
}
#email_fd{
  height: 0;
  width: 0;
  padding: 0;
  margin: 0;
}

/*FOOTER*/

.paticka{
  color: white !important;
  background-color: rgba(0, 14, 39, 1);
  padding-top: 140px;
  padding-bottom: 144px;
}
.paticka-wrap{
  display: flex;
  padding-inline: 40px;
  margin-inline: auto;
  max-width: fit-content;
  gap: 140px;
  justify-content: center;
}
.paticka-sekce{
  max-width: 700px;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 400;
}
.paticka-nadpis{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 23px;
}
.paticka-popis{
  opacity: 70%;
  line-height: 1.7;
}
.paticka-flex{
  display: flex;
  flex-direction: row;
  gap: 25px;
  opacity: 70%;
  line-height: 1.7;
}
.paticka-sloupec{
  display: flex;
  flex-direction: column;
}
.paticka-buttons{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}
.paticka-buttons a{
  color: white;
  border: 2px solid rgba(0, 54, 117, 1);
  border-radius: 2px;
  padding-top: 20px;
  padding-inline: 20px;
  padding-bottom: 20px;
  transition: border-color.2s linear;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}
.paticka-buttons a:hover{
  border-color: rgba(0, 97, 209, 1);
  text-decoration: none;
  color: white;
}

/* REALIZACE */
.realizace{
  display: flex;
  flex-direction: column;
  margin-top: 200px;
  margin-inline: auto;
  max-width: fit-content;
  margin-bottom: 180px;
}
.realizace span, .nadpis_detail{
  color: rgba(0, 26, 71, 1);
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 65px;
}
.obal_fotogalerie_pomerove span{
  margin-bottom: 0px;
}
.galerie{
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 70px;
  max-width: fit-content;
}
.galerie-hidden{
  display: none;
}
.galerie a{
  cursor: pointer;
}
.img{
  width: 420px;
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
}
.img a{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}
.img-gradient{
  border-radius: 4px;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(98deg,rgba(0, 26, 71, 0.9),rgba(0, 26, 71, 0.9) 53%,rgba(0, 26, 71, 0.7) 53%, rgba(0, 26, 71, 0.55) 75%, rgba(0, 26, 71, 0.3) 100%);
  opacity: 0;
  transition: opacity.2s linear;
}
.labels-wrap{
  position: absolute;
  left: 7.14%;/*PŘEPOČÍTÁNO Z PIXELŮ NA FULLHD*/
  bottom: 15.5%;/*PŘEPOČÍTÁNO Z PIXELŮ NA FULLHD*/
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 10%;
}
.img-label, .img-sublabel{
  color: white;
  opacity: 0;
  transition: opacity.2s linear;
}
.img-label{
  font-size: 27px;
  font-weight: 700;
}
.img-sublabel{
  font-size: 19px;
  font-weight: 400;
}
.img:hover > .labels-wrap > .img-label, .img:hover > .labels-wrap > .img-sublabel, .img:hover > .img-gradient{
  opacity: 1;
}


/*--- Detail/clanek (START) ---*/
.obal_h1_h2_clanek{ /* Tato trida je pouzita i u error_404 v template - tam jen zkontrolovat zda ok pripadne tam tridu zmenit */
  display: block;
  margin-bottom: 20px;
}
.h1_clanek{ /* Tato trida je pouzita i u error_404 v template - tam jen zkontrolovat zda ok pripadne tam tridu zmenit */
  display: block;
  margin: 0px;
  color: rgba(0, 26, 71, 1);
  font-size: 26px;
  line-height: normal;
  font-weight: bold;
}
.h2_clanek{
  display: block;
  font-size: 20px;
  line-height: normal;
  margin: 0px;
  font-weight: bold;
}

.obal_obr_clanek{
  display: block;
  text-align: left;
  vertical-align: top;
  margin-bottom: 20px;
}
.obal_obr_clanek img{
  max-width: 100%;
  /*max-width: 480px;
  _width: expression(this.height < this.width && this.width > 480 ? 480 : true);*/
  max-height: 360px;
}

.zkraceny_vypis{
  display: block;
  font-weight: bold;
}
.text_detail{
  display: block;
}

.obal_fotogalerie_pomerove{
  display: block;
  margin: 20px 0px 0px 0px;
  text-align: center;
  vertical-align: top;
  font-size: 0;
}

.polozka_fotogalerie_pomerove{
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 31.333%; /* souvisi s hodnotou v tride "pomer_fotek_v_galerii" */
  margin: 1% 1% 1% 1%;
  overflow: hidden;
  
  -webkit-border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px 4px;
  border-radius: 4px 4px 4px 4px;
}
.polozka_fotogalerie_pomerove_in{
  display: block;
  height: 270px; /* souvisi s hodnotou v tride "pomer_fotek_v_galerii" */
  line-height: 270px;
  background-color: #DADADA;
  text-align: center;
  overflow: hidden;
  font-size: 0; /*tim se odstrani bug s 1px mezerou nad obrazkem*/
}
.polozka_fotogalerie_pomerove img{
  max-width: 100%;
  /*max-width: 140px;
  _width: expression(this.height < this.width && this.width > 140 ? 140 : true);*/
  max-height: 270px;
}
.pomer_fotek_v_galerii{ /*pomocna trida pro pomerove zmensovani galerie v responsivite pomoci Javascriptu*/
  display: none;
  width: 360px; /* to je tech 20% z ".polozka_fotogalerie_pomerove" v zakladu (= full hd) */
  height: 270px; /* to je height z ".polozka_fotogalerie_pomerove_in" v zakladu (= full hd) */
}

.vypln_obal_obrazkem_css{
  position: relative;
  text-align: center;
}
.vypln_obal_obrazkem_css img{
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  height: auto;
  max-width: 100%;
  max-height: none !important; /* skrze pripadne spojeni se skriptem na pomerove zmensovani bloku */
}

/*--- Detail/clanek (KONEC) ---*/


@media only screen and (max-width: 1920px) {
  #sluzby{
    padding-top: 12.14vw;
  }
  .karta{
    min-width: 20.3vw;
  }
}
@media only screen and (max-width: 1500px) {
  
  .paticka-wrap{
    gap: 40px;
  }
  .img{
    height: 315px;
    width: 315px;
  }
  .img-label{
    font-size: 17.25px;
  }
  .img-sublabel{
    font-size: 12.25px;
  }
}

@media only screen and (max-width: 1300px) {
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .nadpis2{
    grid-column-start: 1;
    grid-column-end: 3;
  }
  #sluzby {
    padding-top: 80px;
    padding-bottom: 100px;
  }
  #kontakt {
    padding-top: 80px;
  }
}

@media only screen and (max-width: 1150px) {
  .banner-content span{
    font-size: 50px;
  }
  .popis{
    font-size: 33px;
  }
  .plan{
    font-size: 16.5px;
  }
  .img{
    width: 210px;
    height: 210px;
  }
  
}
@media only screen and (max-width: 1000px) {
  .paticka-wrap{
    flex-wrap: wrap;
  }
  .paticka-sekce{
    align-items: center;
  }
  .paticka-popis{
    text-align: center;
  }
}
@media only screen and (max-width: 900px) {
  .grid{
    display: flex;
    flex-direction: column;
  }
  .karta{
    min-width: 0;
  }
  
  .polozka_fotogalerie_pomerove{
    width: 48%;
  }
  
}
@media only screen and (max-width: 800px) {
  .galerie{
    grid-template-columns: auto auto;
  }
  .realizace{
    align-items: center;
  }
  .nahled{
    background-position: right 30% top;
  }
}
@media only screen and (max-width: 650px) {
  .horni-menu{
    flex-direction: column;
    background-color: rgba(0, 15, 42, 0.8);
    backdrop-filter: blur(15px);
    align-items: center;
  }
  .dark a{
    color: white !important;
  }
  .logo{
    height: 80px;
  }
  .mobile-row{
    width: 100%;
    background-color: rgba(222, 1, 14, 1);
    justify-content: space-between;
    align-items: center;
  }
  .menu-wrapper{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.15s ease-out;
  }

  .menu-wrapper[data-visible="true"]{
    grid-template-rows: 1fr;
    padding-bottom: 20px;
  }
  .horni-menu-pravo{
    overflow: hidden;
    padding-inline: 0;
  }
  .menu-pravo-link::before{
    display: none;
  }
  .menu-pravo-link a{
    margin-top: 20px;
  }
  #hamburger{
    display: flex;
  }

  .banner-gradient{
    background: rgba(0, 15, 42, 0.9);
  }
  .banner-content{
    padding-right: 30px;
  }

  .form{
    padding-inline: 20px;
  }
  .short-input{
    max-width: none;
  }
  #form input{
    max-width: 100%;
  }
  .paticka-buttons{
    flex-direction: column;
    width: 100%;
  }

  .realizace{
    text-align: center;
  }
}
@media only screen and (max-width: 550px) {
  .galerie{
    display: flex;
    flex-direction: column;
  }
  .img{
    height: 315px;
    width: 315px;
  }
  .labels-wrap{
    align-items: baseline;
    bottom: 10%;
  }
  .img-label{
    font-size: 14.25px;
    opacity: 1;
  }
  .img-sublabel{
    font-size: 9.25px;
    opacity: 1;
  }
  .img-gradient{
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(15deg,rgba(0, 26, 71, 0.9),rgba(0, 26, 71, 0.9) 20%,rgba(0, 26, 71, 0.7) 20%, rgba(0, 26, 71, 0.55) 35%,rgba(0, 26, 71, 0) 35%, rgba(0, 26, 71, 0) 100%);
    opacity: 1;
  }
}
@media only screen and (max-width: 400px) {
  .horni-menu-pravo{
    flex-direction: column;
    max-height: fit-content;
    gap: 0;
  }
  .menu-wrapper[data-visible="true"]{
    margin-top: 5px;
  }
  .realizace span, .nadpis_detail{
    font-size: 45px;
  }
  .img{
    height: 280px;
    width: 280px;
  }
  .galerie{
    gap: 30px;
  }
}

