body {
  overflow-x: hidden;
}
.arrow {
  font-size: 125px; /* Adjust size as needed */
  font-weight: bold;
  color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  line-height: 0; /* Remove unwanted spacing */
  padding: 65px;
  transition: transform 0.3s ease, padding 0.3s ease; /* Smooth transition for hover or other effects */
}
/* Chevron pointing downwards for both left and right arrows */
.arrow::before {
  content: '>'; /* Using ">" for the chevron shape */
  display: block;
  transform: rotate(90deg) scaleY(2.2) scaleX(1.3); /* Rotate ">" to point downward */
  
}
.arrow:active {
  color: rgba(147, 108, 7, 0.5);; /* Change color to red (or any color of your choice) */
}

/* Arrow circle container styling */
.arrowcircle-left, .arrowcircle-right {
  position: absolute;
  bottom: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Left-aligned arrow circle */
.arrowcircle-left {
  left: -48%; /* Position left */
}

/* Right-aligned arrow circle */
.arrowcircle-right {
  right: -48%; /* Position right */
}

/* Hover effect for arrow circle */
.arrowcircle-left:hover, .arrowcircle-right:hover {
  background-color: white;
  border-radius: 5%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1600px) {
  .arrowcircle-right {
    right: -45%;
  }

  .arrowcircle-left {
    left: -45%;
  }
}
@media (max-width: 767px) {
  .arrowcircle-right {
    bottom: 15px;
    right: 4%;
    
  }

  .arrowcircle-left {
    bottom: 15px;
    left: 88%
  }
  .arrow {
    font-size: 50px;
    padding: 5px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);


  }
  .arrow:hover {
    color: rgba(147, 108, 7, 0.5);

  }
  .arrowcircle-left:hover, .arrowcircle-right:hover {
    box-shadow: 0 0 0px rgba(0, 0, 0, 0);
  }
}

.popup-text-animated {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease; /* For fade-in and upward motion */
  overflow: visible; /* Ensure all text is shown */
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word; /* Handle long words gracefully */
  color: #000;
}



/* Class to trigger fade-in and upward motion */
.popup-text-animated.show {
  opacity: 1;
  transform: translateY(0);
}
/* Thin separator between paragraphs */
.animated-separator {
  width: 70%;
  height: 1px;
  background-color: #ccc; /* Light gray */
  margin: 50px auto !important; /* Adds spacing above and below */
  border: none; /* Remove default browser styles */
  display: block; /* Ensures full width */
  text-align: center !important; /* Center align */
}
@media (max-width: 767px) {
  .animated-separator {
    margin: 25px auto !important; /* Adds spacing above and below */
  }
}
/* Add margin to the list */

.popup-text-animated ul {
    margin-left: 20px !important; /* Add margin to the list */
}
@media (max-width: 767px) {

.popup-text-animated ul {
  margin-left: 10px !important; /* Add margin to the list */
  }
}

/* Ensure paragraphs have no left margin */
.popup-text-animated p {
    margin-left: 0 !important;
}

/* Prevent other elements (not ol or ul) from having a left margin */
.popup-text-animated > *:not(ol):not(ul) {
    margin-left: 0 !important;
}

/* Bold text for <b> tags */
.popup-text-animated b {
    font-weight: bold;
}

/* Section subheadings inside animated text */
.animated-header {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Make sure the separator is unaffected by the list margin */
.popup-text-animated > .animated-separator {
    margin-left: auto !important;
    margin-right: auto !important;
}

.popup-text-animated br {
  margin-bottom: 10px; /* Adjust this value as needed */
}

/* Apply negative margin to the span (text after <b>) */
.popup-text-animated li span {
  display: inline-block; /* Make sure the span behaves like inline element */
  margin-left: -60px !important; /* Apply negative margin */
}
@media (max-width: 767px) {
  .popup-text-animated li span {
    margin-left: -50px !important; /* Apply negative margin */
  }
  .popup-text-animated li {
    margin-bottom: 10px; /* Adjust this value as needed */
  }
}




/* General Styles for Blur and Overlay */
.blur-overlay {
  position: relative; /* Ensure positioning is set for the overlay */
  filter: blur(8px); /* Increase the blur intensity */
  transition: filter 0.4s ease, opacity 0.4s ease; /* Smooth transition for blur effect and overlay */
  pointer-events: auto;
}

/* Styles for the overlay effect */
.blur-overlay::after {
  content: ''; /* Create a pseudo-element for the overlay */
  position: absolute; /* Position it on top of the section */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
  transition: opacity 0.4s ease; /* Smooth transition for the overlay */
  opacity: 1; /* Show overlay by default */
  pointer-events: none;
}

/* Class to apply blur and overlay */

/* Darken overlay when the section is blurred */

/* Remove blur and overlay when more than 60% of section is visible */
.blur-overlay:not(.blurred) {
  filter: none; /* Remove blur */
}

/* Remove overlay when the section is visible */
.blur-overlay:not(.blurred)::after {
  opacity: 0; /* Hide overlay */
}

@media (max-width: 783px) {
  .hide-on-small {
    display: none;
  }
}




.pt-m {
  padding-top: 50px !important;
}
@media (max-width: 991.98px) {
  .pt-m {
      padding-top: 20px !important;
  }
}

.flexnp {
  display: flex;
  flex-direction: row;
  text-align: left;
  position: absolute;
  left: 5%;
  bottom: 8%;
  text-transform: uppercase;
  font-size: 40px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Posun a rozostření stínu */
  line-height: 1.5;
  font-weight: normal;
  letter-spacing: 1px;
  font-family: "Josefin Sans", Arial, sans-serif;
  z-index: 2; /* Text je nad překryvnou vrstvou */
}
@media (max-width: 991px) {
  .flexnp {
      font-size: 30px; 
  }
}

.pozadi {
  background-color: #fff;
  position: relative;
  padding-top: 80px;
}
.pozadi1 {
  background-color: #fff;
  position: relative;
  padding-top: 80px;
}
.pozadi2 {
  position: relative;
  width: 100vw;
  min-height: 50vh; /* On small screens */
  height: calc(100vh - 50px); /* Desktop: Full screen minus menu */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5% 5%;
  margin: 100px 0 75px 0;
}

/* For both iframe and .youtube placeholder */
.pozadi2 iframe,
.pozadi2 .youtube {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16/9;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  background: #000;
  position: relative;
}

/* Ensure .youtube still displays placeholder background correctly */
.pozadi2 .youtube {
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

/* Optional play icon override if needed */
.pozadi2 .youtube::after {
  content: '▶';
  font-size: 4em;
  color: white;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Mobile adjustments */
@media (max-width: 783px) {
  .pozadi2 {
    margin-top: 50px;
    margin-bottom: 0;
    padding: 2% 2%;
    height: auto; /* Use aspect ratio instead */
  }

  .pozadi2 iframe,
  .pozadi2 .youtube {
    max-width: 100%;
    aspect-ratio: 16/9;
  }
}



@media (max-width: 783px) {
  .navbar {
      display: block !important; 
  }
}
@media (max-width: 767px) {
  .headernp {
      display: none !important; 
  }
}
@media (max-width: 767px) {
  .menunp {
      display: none !important; 
  }
}
.headernp-container {
  width: 80%; /* Šířka kontejneru nastavena na 80%, aby byl prostor 10% z obou stran */
  margin: 0 auto; /* Centrovaný kontejner */
  
  
}
.headernp {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin: 0;
  
}

.headernp::before,
.headernp::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: rgb(219, 216, 216);
  position: relative;
  top: -5px;
  
}
.headernp::before {
  margin-right: 10px; /* Mezera 10px od nadpisu */
}
.headernp::after {
  margin-left: 10px; /* Mezera 10px od nadpisu */
}
.logo1 {
  display: none; /* Hide the sticky logo by default */
  height: 20px;
  width: auto;
  margin-top: -10px;
  
}
@media (max-width: 783px) {
   .pozadi {
  display: none;
      
  }
}



#o_nas {
  padding-top: 0; /* Reset padding for O Nás section */
  transition: padding-top 0.3s ease; /* Smooth transition for padding */
}
.headernp2-container {
  width: 80%; /* Šířka kontejneru nastavena na 80%, aby byl prostor 10% z obou stran */
  margin: 0 auto; /* Centrovaný kontejner */
  margin-top: 20px;
  margin-bottom: 20px;
  color: #000;
}
@media (max-width: 767px) {
  .headernp2-container {
      margin-top: 1rem; 
      margin-bottom: 1rem; 
      
  }
}
.headernp2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin: 0;
  font-size: 200%;

  
}




.logo {
  display: block; /* Show the original logo by default */
   width: auto; /* Udržení loga v rámci rodiče */
    height: 100px; /* Zachování poměru stran */
    margin-top: -70px;
    margin-bottom: 25px;
}

.menunp-container {
  width: 80%; /* Šířka kontejneru nastavena na 80%, aby byl prostor 10% z obou stran */
  margin: 0 auto; /* Centrovaný kontejner */
  margin-top: -30px;
  margin-bottom: -8px;
}
.menunp {
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: #fff;
  margin-left: 0px;
  
  
}
.menunp a {
  text-decoration: none;
  color: black;
  padding: 14px 20px;
  display: block;
  text-align: center;
  position: relative;
  margin: 0 -5px; /* Nastavte rozestupy mezi odkazy */
}
.menunp a.separatornp::after {
  content: "|";
  position: absolute;
  right: -30%;
  top: 50%;
  transform: translateY(-50%);
  
  color: #000;
}

.dropdownnp {
  position: relative; /* Udržuje relativní pozici pro menu */
}

.dropdownnp-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 450px; /* Zvětšete šířku podle potřeby */
  
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: -10px;
  left: -20px; /* Zarovnání vlevo s tlačítkem */
}

.dropdownnp-content a {
  color: black;
  padding: 0px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100px;
  transition: background-color 0.3s, color 0.3s; /* Add transition for smooth effect */
}
.dropdownnp-content span {
  flex: 1; /* Take up available space */
  font-size: large;
  margin-left: 0px;
  
 
}
.dropdownnp-content .dropdownnp-image {
  width: 90px; /* Adjust image width */
  height: 60px;
  padding-right: 10px;
  
  margin-left: 180px; /* Space between text and image */
}
.dropdownnp-content a:not(:last-child)::after {
  content: "";
  display: block;
  width: 85%;
  height: 1px; /* Výška čáry */
  background-color: rgb(219, 216, 216); /* Barva čáry, přizpůsobte podle potřeby */
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: translateY(50%); /* Posune čáru dolů, aby byla mezi položkami */
}

.dropdownnp:hover .dropdownnp-content {
  display: block;
}

.dropdownnp-content a:hover {
  background-color: rgba(147, 108, 7, 0.5); /* Background color on hover */
  color: #fff !important; /* Text color on hover */
}
/* Styl pro mřížku */

.uvodnifoto {
  position: relative;
  height: 750px; /* Výška pozadí */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 0; /* Pozice vrstvy */
}

.uvodnifoto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Překryvná vrstva pro snížení jasu, upravte průhlednost podle potřeby */
  z-index: 1; /* Překryvná vrstva je nad obrázkem */
}
      @media (max-width: 1199.98px) {
        .uvodnifoto {
          background-position: center center !important;
           } }
           .uvodnifotom {
  
            position: relative;
            height: 600px;
            z-index: 0; 
            
              background-size: cover;
              background-repeat: no-repeat;
              background-position: center center;
              height: 750px;
              position: relative;
              z-index: 0; }
              @media (max-width: 1199.98px) {
                .uvodnifoto {
                  background-position: center center !important;
                   } }
       @media (max-width: 767.98px) {
        .uvodnifotom {
              height: 60vh;
              background-position: center center !important;
               } }
               @media (max-width: 767.98px) {
                .uvodnifoto {
                  display: none;
                   } }
                   @media (min-width: 767.99px) {
                    .uvodnifotom {
                      display: none;
                       } }
 
                       body {
                        margin: 0;
                        padding: 0;
                        background-color: #f4f4f4;
                    }
                    
                    body {
                        margin: 0;
                        padding: 0;
                        background-color: #f4f4f4;
                    }
                    
                    .grid-containerjbm {
                        display: grid;
                        gap: 1px; /* Bez mezer mezi položkami */
                        
                    }
                    
                    /* Displeje nad 1365.9px */
                    @media (min-width: 1366px) {
                        .grid-containerjbm {
                            grid-template-columns: repeat(3, 1fr); /* 3 sloupce */
                            grid-template-rows: repeat(2, 45vh); /* 2 řady, 45% výšky */
                            height: 90vh; /* Výška gridu */
                        }
                    }
                    
                    /* Velké displeje (991.99px - 1365.9px) */
                    @media (min-width: 992px) and (max-width: 1365.9px) {
                        .grid-containerjbm {
                            grid-template-columns: repeat(3, 1fr); /* 3 sloupce */
                            grid-template-rows: repeat(2, 40vh); /* 2 řady, 40% výšky */
                            height: 80vh; /* Výška gridu */
                        }
                    }
                    
                    /* Malé displeje (do 991.98px) */
                    @media (max-width: 991.98px) {
                        .grid-containerjbm {
                            grid-template-columns: repeat(2, 1fr); /* 2 sloupce */
                            grid-template-rows: repeat(3, 30vh); /* 3 řady, 30% výšky */
                            gap:1px;
                            height: 90vh; /* Výška gridu */
                        }
                    }
                    
                    /* Extra malé displeje (do 767.8px) */
                    @media (max-width: 767.8px) {
                        .grid-containerjbm {
                            grid-template-columns: 1fr; /* 1 sloupec */
                            grid-template-rows: repeat(6, 25vh); /* 6 řad, max 25% výšky */
                            height: 150vh; /* Výška gridu */
                        }
                    }
                    
                    .grid-itemjbm {
                      
                        position: relative; /* Pro absolutní pozicování nadpisu */
                        overflow: hidden; /* Skrýt přetékající obsah */
                    }
                    
                    .grid-itemjbm img {
                        width: 100%; /* Šířka obrázku */
                        height: 100%; /* Výška obrázku */
                        filter: brightness(0.8);
                        object-fit: cover; /* Zachování poměru stran obrázku */
                    }
                    .item-titlejbm {
                        position: absolute; /* Absolutní pozicování */
                        padding-left: 25px;
                        top: 10%; /* Vzdálenost od vrchu */
                        font-size: 35px;
                       color: #fff;
                       text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Posun a rozostření stínu */
                       letter-spacing: 1px;
                       line-height: 1.1;
                       z-index: 10;
                       font-family: "Josefin Sans", Arial, sans-serif;                    }   
                       @media (max-width: 767.8px) {
                        .item-titlejbm {
                          font-size: 25px;
                          padding-left: 30px;
                        }
                    }
                    @media (max-width: 767.8px) {
                      .item-titlejbm {
                       
                      }
                  }
                       .item-buttonjbm {
                        position: absolute;
                        bottom: 30px;
                        left: 30px;
                        background: transparent;
                        color: #fff;
                        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Posun a rozostření stínu */
                        border: 1px solid #fff;
                        padding: 10px 20px;
                        font-size: 16px;
                        cursor: pointer;
                        z-index: 10;
                        transition: background 0.3s, color 0.3s;
                        line-height: 1; /* Zajištění vyrovnání výšky řádku */
                    }
                    @media (max-width: 767.8px) {
                      .item-buttonjbm {
                        font-size: 14px;
                        padding: 5px 10px;
                        bottom: 15px;
                      }
                    }
                 
                  
                  @media (max-width: 767.8px) {
                    .item-buttonjbm:hover {
              
                    }
                }
                    
                    .item-buttonjbm::before {
                        content: ">"; /* Přidání znaku > */
                        font-size: 24px; /* Zvětšení znaku > */
                        margin-right: 5px; /* Vzdálenost mezi znakem > a textem */
                        vertical-align: -2px; /* Jemné doladění pozice znaku > */
                    }
                    
                    .item-buttonjbm:hover {
                        background: rgba(255, 255, 255, 0.2);
                        color: #000;
                        text-shadow: none;
                    }
                  
                  .stitek {
                    padding: 5px;
                    padding-left: 20px;
                    padding-right: 20px;
                    border-radius: 5%;
                    text-align: center;
                    background-color: rgba(255, 255, 255, 0.9);
                    color: #000;
                    font-weight: bold;
                    position: absolute;
                    bottom: 80px;
                    left: 30px;
                  }
                  @media (max-width: 767.8px) {
                    .stitek {
                      font-size: 80%;
                      padding: 5px 10px;
                      bottom: 55px;
                     
                    }
                  }

/* Popup overlay (blurred background) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none; /* Initially hidden */
  justify-content: flex-end; /* Align items to the end (right) */
  align-items: stretch; /* Stretch the overlay to fill the height */
  z-index: 9999; /* Ensure it is above other elements */
}

/* Popup content */
.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
  width: 910px;
  height: auto;
  max-width: 100%;
  position: relative;
  animation: slideIn 0.5s forwards;
  overflow-y: auto; /* Enable vertical scrolling */
  z-index: 10000; /* Ensure popup is above the overlay */
}
.popup-content1 {
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: white;
  width: 910px;
  min-height: 100vh;
  height: auto;
  max-width: 100%;
  position: relative;
  animation: slideIn 0.5s forwards;
  overflow-y: auto; /* Enable vertical scrolling */
  z-index: 10000; /* Ensure popup is above the overlay */
  justify-content: flex-start;
  overflow-x: hidden;
}
@media (min-width: 3800px) {
  .popup-content1 {
width: 1500px;
  }
}


/* Popup sliding animation */
@keyframes slideIn {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(0);
  }
}

/* Popup header */
.popup-header {
  padding: 20px;
  position: relative;
  text-align: left; /* Ensure text is aligned to the left */
}

/* Main and sub headlines */
.popup-header h1 {
  font-size: 20px;
  color: grey;
  margin: 0 0 0px 20px; /* Set left margin to 20px */
}

.popup-header h2 {
  font-size: 24px;
  margin: 0 0 0px 20px; /* Set left margin to 20px */
}

/* Close button (cross) */
.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 20%; /* Make it square */
  background-color: rgba(0, 0, 0, 0.1); /* Grey background */
  border: none; /* Remove border */
  font-weight: lighter;
  font-size: 24px; /* Set font size */
  color: #000; /* Color of the icon */
  cursor: pointer; /* Change cursor on hover */
  width: 25px; /* Set width for square */
  height: 25px; /* Set height for square */
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  transition: background-color 0.3s; /* Smooth transition for background */
}

/* Hover effect for close button */
.popup-close:hover {
  background-color: rgba(0, 0, 0, 0.3); /* Light background on hover */
}

/* Bottom button */
.popup-bottom-button {
  display: inline-block;
  align-self: flex-start; /* Align to the left within the flex container */  
  bottom: 20px;
  margin-left: 38px;
  margin-top: 10px;
  padding: 10px 20px;  
  background-color: #000;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  border-radius: 6px;
}
.popup-bottom-buttoni {
  display: inline-block;
  align-self: flex-start; /* Align to the left within the flex container */  
  bottom: 20px;
  margin-top: 10px;
  padding: 10px 20px;  
  background-color: #000;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  border-radius: 6px;
  min-width: 200px;
}
.button-container {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  align-items: flex-start; /* Align to the top if needed */
  margin-top: 0px; /* Space above the buttons */
}
.button-container1 {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  align-items: flex-start; /* Align to the top if needed */
  margin-top: 10px; /* Space above the buttons */
  padding-bottom: 200px;
}
.popup-bottom-button:hover {
  border: 1px solid rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.7);
  color: #fff; }

  .popup-bottom-buttoni:hover {
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.7);
    color: #fff; }

/* Popup body content */

/* Text styling */

/* Image styling */

/* Responsive popup (for small screens) */
@media (max-width: 910px) {
  .popup-content {
      width: 100%;
     
  }
}
@media (max-width: 910px) {
  .popup-content1 {
      width: 100%;
      padding-left: 0px !important;
      padding-right: 0px !important;
  }
}
@media (max-width: 910px) {
  .popup-header-text {
      padding-right: 25px;
     
  }
}

/* Align first column to the left */

/* Align second column to the right */

.popup-image1 {
  width: calc(100% + 20px);
  height: auto;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  margin-top: 35px;
  margin-left: 20px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  
}
.popup-text {
 margin-bottom: 20px;
  margin-left: 40px;
  margin-right: 40px;
  
}

.popup-text-animated {
  margin-left: 40px;
  margin-right: 40px;
  z-index: 2;
  margin-bottom: 20px;
  
}

.popup-logo {
  width: 100px;
  height: auto;
  margin: 10px 10px 0 auto; /* Center horizontally with top margin */
  display: block; /* Ensure it's treated as a block element */
  margin-top: auto; /* Push the logo to the bottom of the content */
}




@media (max-width: 991px) {
  .popup-logo {
    /* Optionally, you can adjust the bottom distance for smaller screens */
    bottom: 15px;  /* Make room for text-animated to expand */
    margin-right: 20px;
  }
}
@media (max-width: 767px) {
  .popup-logo {
    /* Optionally, you can adjust the bottom distance for smaller screens */
bottom: 10px;
margin-right: 20px;
  }
}
@media (max-width: 767px) {
   .popup-bottom-button {
margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .popup-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures bottom button stays visible */
    height: 100%; /* Ensures it fills the popup */
  }

  .popup-bottom-button {
    display: block ; /* Force show the button */
    position: relative; /* Keeps it in normal document flow */
    bottom: 1px; /* Adds spacing */
  }
  .popup-bottom-buttoni {
    display: block ; /* Force show the button */
    position: relative; /* Keeps it in normal document flow */
    bottom: 1px; /* Adds spacing */
  }
}

                /* New overlay styles */
/* New overlay styles */
.claimcontainer0 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* White background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100; /* Make sure overlay is on top of all content */
  opacity: 0; /* Initially hide the overlay */
  visibility: hidden; /* Initially hide the overlay */
  transition: opacity 0.5s ease, visibility 0.5s ease; /* Smooth transition */
}

/* Style for the animated text inside the overlay */
.claimcontainer0 .overlay-text {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  opacity: 0; /* Text starts as invisible */
  animation: fadeInText 2s ease-in-out forwards; /* Animation for text appearance */
  visibility: visible; /* Make sure the text is visible once it's animated */
}



                
                .claimcontainer0 {
                  width: 100%;
                  background-color: #fff;
                  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Jemný stín */
                  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                  margin: auto;
                  transition: box-shadow 0.3s ease-in-out; /* Animace přechodu stínu */
                  position: relative;
                }
                @media (max-width: 767px) {
                  .claimcontainer0 {
                   width: 100%; 
                  }
                }



                

.claimphotos-container1 {
  display: flex; /* Arrange items in a row */
  justify-content: space-between; /* Add space between items */
  align-items: center; /* Align items vertically */
  width: 95%; /* Ensure container fills available space */
  margin: auto;
  margin-bottom: calc(1.5vw);
}     
/* claimphotos-containerm removed from HTML — container1 now handles both layouts */

@media (max-width: 949px) {
  /* Switch container1 to 2x2 grid on mobile (was handled by containerm) */
  .claimphotos-container1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5vw !important;
    width: 95%;
    margin: auto;
    margin-bottom: calc(1.5vw);
  }
  .caption {
    font-size: 90% !important;
    line-height: 1 !important;
  }
  .claimphotos-container1 .uvcphoto {
    max-width: 100%;
    flex: initial;
    margin-top: 0;
  }
  .claimphoto0 {
    margin-top: 1.5vw !important;
  }
  /* First row (first two items) */
  .claimphotos-container1 .uvcphoto:nth-child(-n+2) {
    margin-top: calc(1.8vw);
  }
}
@media (max-width: 767px) {
  .claimphoto0 {
    margin-top: 3vw!important;
  }
  }
@media (min-width: 768px) and (max-width: 949px) {
  .claimphoto0 {
    /* For example, change the aspect ratio from 3/3.75 to 3/3.2 */
    aspect-ratio: 3 / 3.2 !important;

  }
}
 
.uvcphoto {
  flex: 1;               /* Each wrapper takes equal space */
  max-width: 22.5%;       /* Same maximum width as the original image */
  display: flex;
  flex-direction: column;/* Stack image and caption vertically */
  align-items: center;   /* Center the contents */
}            
.claimphoto0 {
  width: 100%;           /* Fill the .uvcphoto container's width */
  height: auto;
  aspect-ratio: 3 / 3.75; /* Maintain 3:4 aspect ratio */
  margin-top: calc(2.5vw);
 
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
}
/* Existing caption container – adjust styling as needed */
.caption {
  margin-top: 15px;       /* Margin between image and caption */
  line-height: 1.2;

  
}
/* Caption styling */
.caption span {
  display: block;  /* Each span appears on its own line */
  /* You can add additional styling (font-size, color, etc.) as needed */
} 
@media (max-width: 1500px) {
 .textclaim0 {

  width: 65% !important; /* Šířka kontejneru */

}
}
@media (max-width: 1600px) {

 .textclaim0 {

  width: 65% !important; /* Šířka kontejneru */

}

} 
@media (max-width: 1200px) {

  .textclaim0 {
 
   width: 85% !important; /* Šířka kontejneru */
 
 }
 
 } 
@media (max-width: 767px) {

  .textclaim0 {

    width: 100% !important; /* Šířka kontejneru */
    line-height: 1.2 !important;

  }



} 

                
                .carousel {
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  position: relative;
                  overflow: hidden;
                }

             
               

                @media (max-width: 767px) {
                  .textclaimh0 {
                    width: 100% !important;
                    font-size: 170% !important;
                  }
                  .textclaimhuvc {
                    width: 100% !important;
                    font-size: 265% !important;
                  }
                }
                .textclaimh0 {
                  text-transform: uppercase;
                  text-align: left;
                  padding-left: 5%;
                  padding-right: 5%;
                  width: 100%;
                  font-size: 200%;
                  font-weight: bold;
                  line-height: 1.2;
                  color: #000;
                  padding-bottom: 20px;
                  padding-top: 20px;
                  
                }
                .textclaimhuvc {
                  text-transform: uppercase;
                  text-align: left;
                  padding-left: 8%;
                  padding-right: 5%;
                  width: 100%;
                  font-size: 400%;
                  font-weight: bold;
                  line-height: 1.2;
                  color: #000;
                  padding-bottom: 20px;
                  padding-top: 20px;
                  background-color: rgb(238 239 242 / var(--tw-bg-opacity));
                  
                }
                .textclaimhi {
                  margin: auto;
                  font-size: 150%;
                  font-weight: bolder;
                  line-height: 1.2;
                  color: #000;
                  padding-bottom: 20px;
                  
                }
            
                .textclaim0 {
                  justify-content: space-evenly; /* Rovnoměrná mezera mezi prvky */
                  align-items: flex-start; /* Zarovná odstavce vertikálně na střed */
                  width: 50%; /* Šířka kontejneru */
                  padding: 20px; /* Vnitřní okraje kontejneru */
                  padding-left: 8%;
                  gap: 12%; /* Mezera mezi odstavci */
                  text-align: left;
                  line-height: 1.7; /* Adjust this value to control the line height */
                }
                  .odkazclaim {
                    text-align: left;
                    padding-left: 5%;
                    padding-bottom: 60px;
                    font-size: 105%;
                    font-weight: bolder;

                    }
                  .odkazclaimi {
                    margin: auto;
                    padding-bottom: 40px;
                    }

                .textclaim0 p {
                  flex: 1 1 calc(30% - 10px); /* Každý odstavec má přibližně 45 % šířky kontejneru minus mezera */
                  margin-bottom: 20px; /* Removes default margin at the bottom */
                }
                @media (max-width: 767px) {
                  .textclaim0 {
                    display: block; /* Stack paragraphs vertically */
                  }
                
                  .textclaim0 p {
                    margin-bottom: 20px; /* Add space between stacked paragraphs */
                    width: 100%; /* Full width for each paragraph */
                  }
                    .odkazclaim {
                      padding-bottom: 5px;
                      text-align: left;
                      }

              }
         
                .claimcontainer {
                  width: 60%;
                  max-width: 1200px;
                  height: calc(98vh - 50px); /* Full screen minus menu */
                  min-height: 400px;
                  background-color: #fff;
                  border-radius: 20px;
                  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Jemný stín */
                  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
                  margin: auto;
                  transition: box-shadow 0.3s ease-in-out; /* Animace přechodu stínu */
                  position: relative;
                  max-height: 2000px;
                }
         
                @media (min-width: 768px) {
                .claimvyssi {
                  height: 98vh;
                  min-height: 450px;
                }
                .claimvyssi1 {
                  height: 95vh;
                }
              }
              @media (max-width: 1200px) {
                .claimcontainer {
            max-height: 700px;
            
                }
                
                
                .claimvyssi {
                  max-height: 780px;
                  
                      }
                      .claimvyssi1 {
                        max-height: 780px;
                        
                            }
              }
                @media (max-width: 767px) {
                  .claimcontainer {
                   width: 100%; 
                   height: auto; /* Let the height adapt to content */
                   min-height: unset !important; /* Remove the minimum height constraint */
                  }
                }
                    @media (min-width: 1600px) {
                  .claimcontainer {
                   width: 50%; 
                  }
                }
                @media (min-width: 1600px) {
                  .textclaimh0 {
                   width: 100%; 
                  }
                  .textclaimhuvc {
                    width: 100%; 
                    padding-left: 7.5% !important;
                   }
                   .textclaim0 {
                    padding-left: 7.5% !important;
                   }
                }

          
                .claimphoto  {
                  padding-top: 2.5%;
                  padding-bottom: 20px;
                  width: 95%;
                  margin: auto;
                  max-height: 60%;
                }
             
                @media (max-height: 767px) {
                  .claimphoto {
                    max-height: 40%;
                  }
                }
                @media (max-width: 767px) {
                  .textclaim {
                    width: 100% !important;
                    padding-right: 2.5%;
                  }
                }
                .textclaim {
                  padding-top: 20px;
                  padding-bottom: 5px;
                  text-align: left;
                  padding-left: 5%;
                  width: 65%;
                  font-size: 100%;
                  line-height: 1.2;
                  color: #302e2e;
                }

@media (min-width: 768px) {
  .claim-l0 {
    margin-left: 5% !important;      
  }
}
@media (min-width: 768px) {
  .claim-r0 {
    margin-right: 5% !important;      
  }
}
/* Styl pro jednotlivé obdélníky */
  
  ul {
    list-style: none;
  }
  


/*
.menunp a:hover {
  background-color: #ddd;
}
*/






/*!
 * Bootstrap v4.1.0 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #78d5ef;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

@-ms-viewport {
  width: device-width; }

 dialog, footer, main, nav, section {
  display: block; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  --tw-bg-opacity: 1;
  background-color: rgb(238 239 242 / var(--tw-bg-opacity)) !important; }

h1, h2 {
  margin-top: 0;
  margin-bottom: 0.5rem; }
 

p {
  color: #000 ;
  margin-top: 0;
  margin-bottom: 1rem; }


ul {
  margin-top: 0;
  margin-bottom: 1rem; }


ul ul {
  margin-bottom: 0; }

b {
  font-weight: bolder; }

a {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects; }
  a:hover {
    color: #000;
    text-decoration: underline; }

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none; }
  a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none; }
  a:not([href]):not([tabindex]):focus {
    outline: 0; }


code {
  font-family: monospace, monospace;
  font-size: 1em; }

img {
  vertical-align: middle;
  border-style: none; }

svg:not(:root) {
  overflow: hidden; 
  border-collapse: collapse; }

label {
  display: inline-block;
  margin-bottom: 0.5rem; }

button {
  border-radius: 0; }

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color; }

input,
button,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit; }

button,
input {
  overflow: visible; }

button {
  text-transform: none; }

button,
html [type="button"],
[type="submit"] {
  -webkit-appearance: button; }

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none; }

textarea {
  overflow: auto;
  resize: vertical; }

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button; }

[hidden] {
  display: none !important; }

h1, h2,
.h1, .h2 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit; }

h1, .h1 {
  font-size: 2.0rem; }

h2, .h2 {
  font-size: 1.75rem; }

code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

code {
  font-size: 87.5%;
  color: #e83e8c;
  word-break: break-word; }
  a > code {
    color: inherit; }

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto; }
  @media (min-width: 576px) {
    .container {
      max-width: 540px; } }
  @media (min-width: 768px) {
    .container {
      max-width: 720px; } }
  @media (min-width: 992px) {
    .container {
      max-width: 960px; } }
  @media (min-width: 1200px) {
    .container {
      max-width: 1140px; } }

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px; }

 .col-md-6, .col-lg-3 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px; }

@media (min-width: 768px) {
  .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%; } }

@media (min-width: 992px) {
  .col-lg-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%; } }

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; }
  @media screen and (prefers-reduced-motion: reduce) {
    .form-control {
      -webkit-transition: none;
      -o-transition: none;
      transition: none; } }
  .form-control::-ms-expand {
    background-color: transparent;
    border: 0; }
  .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #eaf8fd;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(120, 213, 239, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(120, 213, 239, 0.25); }
  .form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1; }
  .form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1; }
  .form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1; }
  .form-control::placeholder {
    color: #6c757d;
    opacity: 1; }
  .form-control:disabled {
    background-color: #e9ecef;
    opacity: 1; }

.form-group {
  margin-bottom: 1rem; }

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; }
  @media screen and (prefers-reduced-motion: reduce) {
    .btn {
      -webkit-transition: none;
      -o-transition: none;
      transition: none; } }
  .btn:hover, .btn:focus {
    text-decoration: none; }
  .btn:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(120, 213, 239, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(120, 213, 239, 0.25); }
   .btn:disabled {
    opacity: 0.65; }
  .btn:not(:disabled):not(.disabled) {
    cursor: pointer; }
  .btn:not(:disabled):not(.disabled):active {
    background-image: none; }

.collapse:not(.show) {
  display: none; }

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none; }

.nav-link {
  display: block;
  padding: 0.5rem 1rem; }
  .nav-link:hover, .nav-link:focus {
    text-decoration: none; }

.navbar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: none;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0.5rem 1rem; }
  .navbar > .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; }

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap; }
  .navbar-brand:hover, .navbar-brand:focus {
    text-decoration: none; }

.navbar-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none; }
  .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0; }

.navbar-collapse {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem; }
  .navbar-toggler:hover, .navbar-toggler:focus {
    text-decoration: none; }
  .navbar-toggler:not(:disabled):not(.disabled) {
    cursor: pointer; }

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0; }
  to {
    background-position: 0 0; } }

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0; }
  to {
    background-position: 0 0; } }

.media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start; }

.carousel {
  position: relative; }

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important; }

@media (min-width: 768px) {
  .d-md-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important; } }

.justify-content-center {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important; }

.align-items-center {
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important; }

.mb-3 {
  margin-bottom: 1rem !important; }

.mb-4 {
  margin-bottom: 1.5rem !important; }

.mb-5 {
  margin-bottom: 3rem !important; }


.py-3 {
  padding-top: 1rem !important; }


.py-3 {
  padding-bottom: 1rem !important; }


.px-4 {
  padding-right: 1.5rem !important; }

.pl-4,
.px-4 {
  padding-left: 1.5rem !important; }

.ml-auto {
  margin-left: auto !important; }

@media (min-width: 768px) {
  .ml-md-4 {
    margin-left: 1.5rem !important; }
  .mb-md-5 {
    margin-bottom: 3rem !important; } }

@media print {
  *,
  *::before,
  *::after {
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important; }
  a:not(.btn) {
    text-decoration: underline; }
  
  img {
    page-break-inside: avoid; }
  p,
  h2 {
    orphans: 3;
    widows: 3; }
  h2 {
    page-break-after: avoid; }
  @page {
    size: a3; }
  body {
    min-width: 992px !important; }
  .container {
    min-width: 992px !important; }
  .navbar {
    display: none; } }
      

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: gray;
  
  background-size: cover; }
  @media (max-width: 900px) {
     .body {
    background-image: none !important;
   } }
/*
span {
  color: #bfbfbf; }
*/
a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #c49b63; }
  a:hover, a:active, a:focus {
    color: #c49b63;
    outline: none !important;
    text-decoration: none !important; }

h1, h2,
.h1, .h2 {
  line-height: 1.4;
  color: #000;
  font-weight: 400;
  font-family: "Josefin Sans", Arial, sans-serif; }

.ftco-navbar-light {
  background: transparent !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  @media (max-width: 991.98px) {
    .ftco-navbar-light {
      background: #000 !important;
      position: relative;
      top: 0; } }
  .ftco-navbar-light .navbar-brand {
    color: #fff;
    font-family: "Josefin Sans", Arial, sans-serif; }
    @media (min-width: 768px) {
      .ftco-navbar-light .navbar-brand {
        color: #fff; } }
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 13px;
    padding-top: .9rem;
    padding-bottom: .9rem;
    padding-left: 0;
    padding-right: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1 !important; }
    @media (min-width: 768px) {
      .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 20px;
        padding-right: 20px;
        color: rgba(255, 255, 255, 0.9); } }
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover, .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus {
      color: #c49b63; }
      .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:after, .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus:after {
        opacity: 1; }
  .ftco-navbar-light .navbar-toggler {
    border: none;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    padding-right: 0;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: .1em; }
    .ftco-navbar-light .navbar-toggler:hover, .ftco-navbar-light .navbar-toggler:focus {
      outline: none !important; }

.navbar-brand {
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  display: block;
  text-align: center; }
    .navbar-brand .a {
color:#000;
}

.btn {
  cursor: pointer;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-size: 13px; }
  .btn:hover, .btn:active, .btn:focus {
    outline: none; }
  .btn.btn-white {
    background: #fff;
    border: 1px solid #fff;
    color: #000; }
    .btn.btn-white:hover {
      border: 1px solid #000;
      background: #000;
      color: #fff; }

/*.ftco-about .one-half {
  
  width: 100%;
  padding: 30px 15px; }
  @media (min-width: 768px) {
    .ftco-about .one-half {
      padding: 8% 13% 8% 5%;
      width: 50%; } }
  .ftco-about .one-half.img {
    display: block; 
  max-width: 600x;
  max-height: 800px; ;}
    @media (max-width: 767.98px) {
      .ftco-about .one-half.img {
        height: 300px; } }
  @media (min-width: 1000px) {
    .ftco-about .one-half .overlap {
      margin-left: -50px;
      padding: 50px;
    
      background: rgba(147, 108, 7, 0.5) } }

      @media (max-width: 767.98px) {
        .ftco-about  {
          padding-left: 3rem;
          padding-right: 3rem; } }

          @media (min-width: 767.98px) {
            .ftco-about  {
              padding-left: 10rem;
              padding-right: 10rem; } }*/

      .m {
        min-width: 500px !important;
        width: 100%;
        text-align: center; }

.appointment-form .form-group {
  position: relative;
  width: 100%;
  display: block; }
  .appointment-form .form-group .icon {
    position: absolute;
    top: 50% !important;
    right: 0;
    font-size: 14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%); }
    .appointment-form .form-group .icon span {
      color: white !important; }
   .appointment-form .form-group .input-wrap {
    position: relative; }
  .appointment-form .form-group .btn {
    width: 100%;
    display: block !important; }

.appointment-form .form-control {
  border: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  height: 58px !important;
  padding-left: 0;
  padding-right: 0;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px;
  border-radius: 0px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important; }
  .appointment-form .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(255, 255, 255, 0.9); }
  .appointment-form .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(255, 255, 255, 0.9); }
  .appointment-form .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(255, 255, 255, 0.9); }
  .appointment-form .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(255, 255, 255, 0.9); }
  .appointment-form .form-control:focus, .appointment-form .form-control:active {
    border-color: #fff; }

.appointment-form textarea.form-control {
  height: inherit !important; }

.form-control {
  height: 58px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px;
  border-radius: 0px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-right: 0;
  padding-left: 0; }
  .form-control:focus, .form-control:active {
    border-color: #c49b63; }

textarea.form-control {
  height: inherit !important; }

.ftco-animate {
  opacity: 0;
  visibility: hidden; }

.ftco-section {
  padding: 7em 0;
  position: relative; }
  @media (max-width: 767.98px) {
    .ftco-section {
      padding: 6em 0; } }

.ftco-footer {
  font-size: 16px;
  padding: 7em 0;
  background: #120f0f; }
  .ftco-footer .ftco-footer-widget h2 {
    font-weight: normal;
    color: #fff;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px; }
  .ftco-footer .ftco-footer-widget ul li a span {
    color: #fff; }
  .ftco-footer p {
    color: rgba(255, 255, 255, 0.7); }
  .ftco-footer a {
    color: rgba(255, 255, 255, 0.7); }
    .ftco-footer a:hover {
      color: #fff; }
  .ftco-footer .ftco-heading-2 {
    font-size: 17px;
    font-weight: 400;
    color: #000; }

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  70% {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  70% {
    -moz-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }


.img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; }

.block-23 ul {
  padding: 0; }
  .block-23 ul li, .block-23 ul li > a {
    display: ;
    line-height: 1.5;
    margin-bottom: 15px; }
  .block-23 ul li span {
    color: rgba(255, 255, 255, 0.7); }
  .block-23 ul li .icon, .block-23 ul li .text {
    display: -cell;
    vertical-align: top; }
  .block-23 ul li .icon {
    margin-right: 15px;
    width: 40px;
    font-size: 18px;
    padding-top: 2px;
    color: white; }

/* Blog*/

#ftco-loader {
  position: fixed;
  width: 96px;
  height: 96px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
  -o-transition: opacity .2s ease-out, visibility 0s linear .2s;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
  z-index: 1000; }

#ftco-loader.fullscreen {
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  background-color: #fff;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none; }

#ftco-loader.show {
  -webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
  -o-transition: opacity .4s ease-out, visibility 0s linear 0s;
  transition: opacity .4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1; }

#ftco-loader .circular {
  -webkit-animation: loader-rotate 2s linear infinite;
  animation: loader-rotate 2s linear infinite;
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  display: block;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg); }

#ftco-loader .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: loader-dash 1.5s ease-in-out infinite;
  animation: loader-dash 1.5s ease-in-out infinite;
  stroke-linecap: round; }

@-webkit-keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }

@keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }

@-webkit-keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px; }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px; } }

@keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px; }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px; } }



/* New class for headers inside animated text */

/* Tablet-specific rules (existing block) */
@media screen and (min-device-width: 768px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  .claimcontainer {
    height: calc(90vh - 50px); /* Full screen minus menu */
  }
  .claimvyssi {
    height: calc(98vh - 50px); /* Full screen minus menu */
  }
  .claimvyssi1 {
    height: calc(95vh - 50px); /* Full screen minus menu */
  }
}

/* Safari-specific rules for Mac ONLY */
@supports (-webkit-hyphens: none) and (not (-ms-ime-align: auto)) {
  .claimcontainer {
    height: calc(98vh - 50px); /* Full screen minus menu */
  }
  .claimvyssi {
    height: calc(108vh - 50px); /* Full screen minus menu */
  }
  .claimvyssi1 {
    height: calc(100vh - 50px); /* Full screen minus menu */
  }
}

/* Safari Mac Resize Fix for Screens Between 768px and 1599px */
@supports (-webkit-hyphens: none) and (not (-ms-ime-align: auto)) {
  @media (min-width: 768px) and (max-width: 1299px) {
    .claimphoto {
      max-height: 55%; /* Increase height slightly for mid-sized screens */
      min-height: 30vh; /* Ensure a minimum height to prevent shrinking */
    }

    .claimcontainer {
      height: auto !important; /* Allow container to adjust dynamically */
      min-height: inherit; /* Inherit min-height from default styles */
    }
  }
}

/* NEW FIX: Prevents Safari Mac resizing issues */
@media not all and (min-resolution: .001dpcm) {
  @supports (-webkit-appearance: none) {
    .claimvyssi {
      height: 98svh; /* More stable than vh */
      min-height: 100dvh; /* Ensure it adapts dynamically */
    }
    .claimvyssi1 {
      height: 95svh; /* More stable than vh */
      min-height: 100dvh; /* Ensure it adapts dynamically */
    }

    .claimcontainer {
      height: calc(98svh - 50px); /* Ensures full height minus menu */
      min-height: 100dvh; /* Better resizing behavior */
      transition: none !important; /* Prevents Safari reflow bugs */
    }
  }
}

/* NEW FIX: Ensure Safari recalculates width/height properly */
.claimcontainer {
  will-change: height, width;
}

@supports (-webkit-touch-callout: none) {
}

@media only screen and (max-width: 428px) {
  .claimcontainer{
    max-height: none !important; /* Removes any maximum height restriction */
    min-height: 0 !important;    /* Resets the minimum height to its default (0) */
  }
}