/*-----------------------------------------------------------------------------------

  Theme Name: jirisvitak-truhlarstvi.cz
  Theme URI:
  Description: Sablona pro web jirisvitak-truhlarstvi.cz
  Author: Jan Kafka
  Author URI:
  License:
  License URI:
  Version: 1



-----------------------------------------------------------------------------------*/


body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  color: #4A3625;
  font-size: 16px;
  text-align: justify;
  background-color:#F9F1E1;
}

body.admin-bar .sticky-top{
  top:32px;

}
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #9E5A33;
  text-align:center;
}
h1 {
    font-size: 28px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
h6 {
    font-size: 16px;
}
.single h1,
.single h2,
.single h3,
.single h4,
.single h5,
.single h6{
  text-align:left;
}

.has-text-align-center{
   text-align:center;
}
.single h1,
main h1{
  margin-bottom:50px;
}
a{
  transition: color .3s ease;
}
a,
a:active,
a:focus,
a:visited {
  color: #9E5A33;
  text-decoration: none;
}
a:hover {
  color: #9E5A33;
  opacity:0.8;
}
iframe{
  max-width:100%;
  aspect-ratio:2/1;
}
.main-header a,
.main-header a:active,
.main-header a:focus,
.main-header a:visited,
.header-contact-divider {
  color: #F9F1E1;
  text-decoration: none;
}
.main-header a:hover {
  color: #F9F1E1;
  opacity:0.8;
}
img{
  max-width:100%;
  height:auto;
}
.header-holder{
  padding-top:5px;
}
.top-menu .navbar-nav{
  margin-left:auto;
  margin-right:0;
}
.home main{
  margin-top:-130px;
}
header.main-header{
 transition: all 0.5s ease-in-out;

}
body:not(.home) header.main-header,
header.main-header.scrolled{
  background-color:#4a3625ee;
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.1);
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.1);
}

.top-right-header{
  text-align:right;
}
.top-right-header .searchform{
  display:inline-block;
  margin-right:15px;
  top: -5px;
  position: relative;
}
.top-right-header .header-contact-divider{
  padding-right:15px;
  padding-left:15px;
}
.top-right-header a:last-of-type{
  padding-right:0px;
}
.top-right-header i,
footer i{
  font-size:16px;
  color: #C89F65;
}
.top-menu li{
  padding:10px 15px 18px;
}

.top-menu li:last-of-type{
  padding-right:0px;
}
.top-menu li:first-of-type{
  padding-left:0px;
}
.top-menu a{
  font-size:20px;
  font-weight:500;
}
.dropdown-toggle::after {
  margin-left: 0.1em;
}
.top-menu nav{
  padding-top:0px;
}
#menu-top-menu{
  margin-left:auto;
  margin-right:0;
}

.home header.main-header a,
.home header.main-header a:active,
.home header.main-header a:focus,
.home header.main-header a:visited {
  /*color: #ffffff;*/
  text-decoration: none;

}

#menu-top-menu  > li > .dropdown-menu > li{
  padding-top:5px;
  padding-bottom:5px;
}
#menu-top-menu > li > .dropdown-menu a{
  color:#9E5A33;
  font-size:18px;
  line-height:22px;
}
#menu-top-menu  li:hover > .dropdown-menu{
  display:block;
}
#menu-top-menu  .dropdown-menu > li {
  padding-left:15px;
}
#menu-top-menu  .dropdown-menu > li.dropdown a:after{
  display:block;
  content:" ";
  width:20px;
  height:10px;
  position:absolute;
  right:0;
  top:calc( 50% - 5px );
  border-color:#666;
  border-right:10px solid #fff;
  border-top:5px solid #fff;
  border-bottom:5px solid #fff;
}

header.main-header.scrolled a:hover {
  color: #F9F1E1;

  opacity:0.8;
}
.header-holder .header{
  max-height:130px;
}
.header .logo img{
  height:80px;
  display:inline-block;
  margin-bottom:10px;
  transition: height .5s ease-out;
}
.scrolled .header .logo img{
  height:70px;
}
.header-text-widget h1{
  color:#F9F1E1;
  font-size:36px
}

header.scrolled h1{
  color:#F9F1E1;
}
.hp-slider{
  aspect-ratio:16/9;
  background-image:radial-gradient(
      ellipse at center,
      rgba(59, 42, 30, 0) 10%,      /* St�ed je �ir� pro detaily pr�ce */
      rgba(59, 42, 30, 0.4) 50%,    /* Pozvoln� tmavnut� */
      rgba(59, 42, 30, 0.85) 100%   /* Okraje jsou tmav� pro �itelnost menu/textu */
    ),url('images/jirisvitak-truhlarstvi_header_image.jpg');
  display: flex;
  align-items: center;
  justify-content: center;
  color:#F9F1E1;
  margin-bottom:30px;
 /* filter: brightness(0.7);*/
  background-size: cover;

}
.slider-caption{
  font-size:26px;
  font-weight:600;

}
.slider-caption h1,
.slider-caption p{
  text-shadow: rgba(0,0,0,0.9) 0 0 20px;
}
.home .sluzby h2{
  font-size:28px;
  margin-top:50px;
  margin-bottom:35px;
}
/* Kontejner a dlaždice */
.sluzba-dlazdice {
    aspect-ratio: 1 / 1; /* Zajistí, že dlaždice budou vždy čtvercové */
    transition: transform 0.3s ease-in-out;
    border-radius:10px;
}

.sluzba-dlazdice img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Upravený styl pro nadpis v dlaždici */
.sluzba-overlay h3 {
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #F9F1E1 !important; /* Tvá béžová barva */

    /* Vícenásobný stín pro efekt "do ztracena" */
    /* 1. vrstva: ostrý stín pro definici hran */
    /* 2. vrstva: střední rozptyl */
    /* 3. vrstva: hluboký rozptyl do ztracena */
    text-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.5),
        0px 4px 10px rgba(0, 0, 0, 0.3),
        0px 10px 20px rgba(0, 0, 0, 0.2);

    /* Volitelné: Jemné vyhlazení písma */
    -webkit-font-smoothing: antialiased;
    letter-spacing: 1px;
}

/* Vylepšený overlay, který pomáhá kontrastu textu */
.sluzba-overlay {
    /* Lineární přechod: nahoře průhlednější, dole u textu tmavší */
    background: linear-gradient(
        to bottom,
        rgba(59, 42, 30, 0.2) 0%,
        rgba(59, 42, 30, 0.6) 50%,
        rgba(59, 42, 30, 0.2) 100%
    );
    transition: all 0.3s ease;
}
/*
.sluzby figcaption{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  display:flex;
linear-gradient( to bottom, rgba(59, 42, 30, 0.2) 0%, rgba(59, 42, 30, 0.6) 50%, rgba(59, 42, 30, 0.2) 100% );
  transition: all 0.3s ease;
}
*/




.pagination-row nav {
  font-family: Ubuntu,sans-serif;
  border-top: 4px solid #01b03b;
  border-bottom: 4px solid #01b03b;
  padding: 10px 0 !important;
}
.pagination-row .pagination {
  justify-content: center;
  margin-bottom:25px;
}
.pagination-row .nav-links .prev,
.pagination-row .nav-links .next {
  text-indent: -9999px;
  position: relative;
  display: inline-block;
  border-right-width: 10px;
  width: 18px;
  background-color: #fff;
  padding: 0;
  border-top: 12px solid #fff;
  box-sizing: border-box;
  border-bottom: 12px solid #fff;
  height: 24px;
  font-size: 0;
  line-height: 18px;
}
.nav-links .prev {
  border-right: 18px solid #01b03b;
  margin-right: 15px;
}
.nav-links .next {
  border-left: 18px solid #01b03b;
  margin-left: 15px;
}
.pagination-row .page-numbers {
  font-size: 24px;
  padding: 0 10px;
  line-height: 28px;
  color: #1c1c1c;
}
.pagination-row .page-numbers.current {
  color: #d9d8d7;
}
footer{
  margin-top:50px;
  background-color: #4A3625;
}
.footer-holder{
  background-color:#4A3625;
  padding-top:50px;
  padding-bottom:0px;
  border-radius:10px 10px 0 0;
  color:#ffffff;
}
footer h4{
  color:#ffffff;
  text-align:left;
}
.footer-holder h4{
  padding-left:20px;
}
.footer-holder p{
  padding-left:35px;
}
.footer-holder a,
.subfooter a,
.footer-holder a:active,
.subooter a:active,
.footer-holder a:focus,
.subfooter a:focus,
.footer-holder a:visited,
.subfooter a:visited {
  color: #ffffff;
  text-decoration: none;
  text-decoration:underline;
}
.footer-holder a:hover,
.subfooter a:hover {
  color: #F9F1E1;
  opacity:0.8;
}
.footer-menu{
  list-style:none;
}
.subfooter{
  color:#C89F65;;
  font-size:12px;
  background-color:#4A3625;
  padding-top:8px;
  padding-bottom:8px;
}
.subfooter .copy{
  text-align:center;
}
.subfooter .author{
  text-align:center;
}
.footer-border{
  padding-left:35px;
  padding-right:35px;
}
.footer-border>div{
  border-bottom:1px solid #F9F1E1;
}
.wpcf7 label,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
  width:100%;
  font-weight:600;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
  border-color:#9E5A33;
  border-radius:5px;
  padding:8px 15px;
  border-width:2px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ee0000;
}

.wpcf7 input[type="text"]:focus ,
.wpcf7 input[type="email"]:focus ,
.wpcf7 input[type="tel"]:focus ,
.wpcf7 textarea:focus {
    border: 2px solid #9E5A33; /* Nová barva a tloušťka borderu */
    outline: none;            /* Odstraní výchozí modrý/černý obrys prohlížeče */
    box-shadow: 0 0 5px rgba(200, 159, 101, 0.9); /* Volitelné: přidá záři */
}
.wpcf7 input[type="submit"]{
    background-color:#9E5A33;
    border-color:#9E5A33;
    border-radius:5px;
    color:#F9F1E1;
    font-weight:600;
    padding: 8px 35px;
    border-width:0;
    margin-left: calc(50% - 65px);
}
.wpcf7 input[type="submit"]:hover{
    color:#C89F65;;
}
#footer-menu ul{
    list-style:none;
}
#footer-menu li{
    text-align:left;
    margin-bottom:4px;
}
#footer-menu li a{
    text-decoration:none;
    font-weight:600;

}
.footer-column-kontakt{
    padding-left:30px;
}
.footer-column-kontakt p{
     padding-left:0;
}
.footer-column-kontakt input[type="email"],
.footer-column-kontakt input[type="tel"],
.footer-column-kontakt textarea{
     width:100%;
}
.footer-column-kontakt textarea{
     height:120px;
     margin-bottom:5px;
}
.footer-column-kontakt .wpcf7-acceptance{
     display:block;
     margin-bottom:10px;
}
.footer-column-kontakt .wpcf7-acceptance .wpcf7-list-item {
     margin-left:0;
}
.footer-column-kontakt .wpcf7-acceptance,
.footer-column-kontakt .wpcf7-acceptance a{
     font-size:12px;
     text-align: left;
}

@media (min-width: 1400px) {

}
@media (min-width: 1200px) {
  .cez-inner{
    border-left:1px solid #01b03b;
    padding-bottom: 25px;
  }
}
@media (min-width: 992px) {
  .nav{
    position:initial;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    left: 0;
    width: 100%;
        -webkit-box-shadow: 2px 14px 15px 3px rgba(0,0,0,0.5);
    box-shadow: 2px 14px 15px 3px rgba(0,0,0,0.5);
    margin-top:16px;
    background-color:#F9F1E1;
  }
.scrolled .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top:10px;
  }
  .nav > li,
  .navbar{
    position:static;
  }
  .header-holder{
    position:relative;
  }
  #menu-top-menu > li > ul.dropdown-menu > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #menu-top-menu > li > ul.dropdown-menu > div > li{
    flex-basis: calc(25% - 00px);
    margin: 0px;
    text-align:left;
    padding: 3px 0px 3px 10px;
    border-right: 3px solid #4a3625;
  }
  #menu-top-menu > li > ul.dropdown-menu > div > li:nth-child(4n){
    border-right:none;
  }
  #menu-top-menu > li > ul.dropdown-menu > div > li > a{
    font-size: 18px;
    font-weight: 500;
    border-radius: 0px;
    position: relative;
    min-height: 0px;
    display: flex;
    padding-top: 5px;
    padding-bottom: 5px;
    align-items: center;
    justify-content: left;

  }
  #menu-top-menu > li > ul.dropdown-menu > div > li > a:hover{
    color: #C89F65;
  }
  #menu-top-menu .searchform{
    display:none;
  }
  .scrolled .top-menu li{
    padding-bottom:10px;
  }
}
@media (min-width: 768px) {
  .subfooter .copy{
    text-align:left;
    padding-left:35px;
  }
  .subfooter .author{
    text-align:right;
    padding-right:35px;
  }
}
@media (min-width: 576px) {

}
@media (max-width: 1399px) {
  #menu-top-menu > li > a{
    font-size:18px;
  }
  .header h1{
    font-size:22px;
    margin-left:10px;
  }
}
@media (max-width: 1199px) {

  .header .logo img {
    height: 80px;
    padding: 8px 0 4px 0;
  }
  .header h1{
    font-size:18px;
    margin-left:0px;
  }
  .header .logo{
    text-align:center;
  }
  .top-menu li{
    padding-left:12px;
    padding-right:12px;
  }
}
@media (max-width: 991px) {
    body {
      font-size: 14px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 16px;
    }
    h5 {
        font-size: 14px;
    }
    h6 {
        font-size: 14px;
    }
    .subfooter .copy,
    .subfooter .author{
      text-align:center;
    }
    .navbar-collapse {
      border: 1px solid #333;
      background-color: #fff;
      position: absolute;
      right: 0;
      top: 60px;
      max-height: calc( 100vh - 150px);
      overflow-y: scroll;
      width:295px;
    }

    header .bottom-right-header a,
    header .bottom-right-header a:active,
    header .bottom-right-header a:focus,
    header .bottom-right-header a:visited {
      color: #9E5A33;
    }
    .top-menu li,
    .top-menu li:first-of-type,
    .top-menu li:last-of-type {
      padding: 5px 15px;
    }

    .top-menu .dropdown-menu {
      border: none;
    }
    .top-right-header .searchform{
      display:none;
    }
    .main-icon-inner i {
      font-size: 35px;
    }
    .main-icon-inner {
      font-size:12px;
      padding:5px;
    }
    .navbar-toggler{
       margin-left:auto;
       background-color:#ffffff;
       margin-top: 9px;
    }
    .top-right-header i {
      margin-top: 9px;
      display: inline-block;
    }
  .header .logo{
    text-align:left;
  }
  #menu-top-menu .searchform{
    position:relative;
  }
  #menu-top-menu .searchform label{
    width:100%;
  }
  #menu-top-menu .searchform input{
    width:100%;
    padding-right:30px;
  }
  #menu-top-menu .searchform button{
    position:absolute;
    top:0;
    right:0;
    border: 2px solid #01b03b;
    background: #01b03b;
    color: white;
  }
  .home .news-list,
  .hp-deska-list{
    margin-bottom:30px;
  }
  .slider-caption h1{
    font-size:26px;
    margin-bottom:10px;
  }
  .slider-caption {
    font-size: 14px;
    font-weight: 600;
  }
  .hp-slider{
    align-items: end;
  }
  .top-right-header{
    text-align: center;
  }
  .top-right-header .header-contact-divider {
    padding-right: 5px;
    padding-left: 5px;
  }
  .header-contact-divider.divider-2{
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
  }
}
@media (max-width: 767px) {

  .rounded-button {
    font-size: 12px;
    letter-spacing: 0px;
  }
  .top-right-header{

  }
  header.main-header .container {
    position:relative;
  }
  .top-right-header{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 5px 15px;
  }
  .header-holder .header {
    max-height: 160px;
    padding-top: 20px;
  }
  .top-right-header i {
    margin-top: 0px;
  }

}
@media (max-width: 575px) {
  .hp-slider {
    aspect-ratio: unset;
    height: 250px;
  }
  .header .logo{
    text-align:left;
  }
  .header .logo img {
    height: 70px;
    padding: 8px 0 4px 0;
  }
  .scrolled .header .logo img {
    height: 55px;
  }
  .footer-holder h4 {
    padding-left: 0px;
  }
  .footer-holder p,
  #footer-menu ul {
    padding-left: 15px;
  }
  .footer-column-kontakt,
  .footer-column-kontakt p {
    padding-left: 0px;
  }

  .top-right-header{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 5px 15px;
  }
  .header-contact-divider.divider-1{
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .header-holder .header {
    max-height: 180px;
    padding-top: 40px;
  }
  .header-contact-divider.divider-2{
    display: unset;
    width: unset;
    height: unset;
    overflow: unset;
  }
}





