/* Bootstrap Over-ride */

@media (min-width: 1000px){
    .container{
        max-width: 1000px;
    }
}
@media (max-width: 1200px){
    .container{
        max-width: 100%;
        padding:0 24px;
    }
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    top:58px;
    left:0px;
    padding:10px;
    margin-right:50px;
}

.navbar {
    border-bottom:1rem #0a0f0f solid;
}

a {
    text-decoration: none;
    color: #000;
}

ul {
    list-style-type: none;
}

/* Consent */

.consent {
    text-decoration: underline;
    color: grey;
}


/* Fonts */

.fs12 {
    font-size: 13px;
}
.fs15 {
    font-size: 1rem;
}

.fw300 {
    font-weight: 300;
}
.fw500 {
    font-weight: 500;
}

/* Navigation-Main*/

/* xs */
.logo {
    width: 200px;
    height: auto;
}
/* sm */
@media (min-width: 768px) {
    .logo {
        width: 200px;
        height: auto;
    }
}
/* md */
@media (min-width: 992px) {
    .logo {
        width: 180px;
        height: auto;
    }
}
/* lg */
@media (min-width: 1200px) {
    .logo {
        width: 180px;
        height: auto;
    }
}

/* Booking Menu */

.booking-btn{
    position: relative;
    background: transparent;
    border: none;
    top:-2px;
   -webkit-appearance:none;
}

.booking-btn:hover, .booking-btn:focus, .booking-btn:active, .booking-btn.active{
    color:#b3e6b3;
    transition-duration: 0.4s;
    background: transparent;
   -webkit-appearance:none;
}

/* Search Menu */

.search-btn{
    title: search;
    position: relative;
    background: transparent;
   -webkit-appearance:none;
}

.search-btn:hover, .search-btn:focus, .search-btn:active, .search-btn.active{
    color:#b3e6b3;
    transition-duration: 0.4s;
    background: transparent;
}

.video-btn{
    position: relative;
    background: transparent;
   -webkit-appearance:none;
}

.video-btn:hover, .video-btn:focus, .video-btn:active, .video-btn.active{
    color:#b3e6b3;
    transition-duration: 0.4s;
    background: transparent;
}

/* Imgholder */
.imgHolder {
    position: relative;
}

.top-right {
    position: absolute;
    right: 16px;
    top: 8px;
    color: white;
    text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

/* Footer */

.footer > div > div > ul > li{
    padding-bottom:8px;
}
/* demo image */

/* Responsive Height Adjustment */

@media (max-width: 768px) {
    #demo .carousel-inner .carousel-item {
        height: auto; /* Allow auto height for mobile */
    }
}

@media (min-width: 769px) {
    #demo .carousel-inner .carousel-item {
        height: 550px; /* Fixed height for larger screens */
    }
}

#demo .carousel-inner .carousel-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

#demo .carousel-inner .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the aspect ratio box */
    display: block; /* Prevents bottom spacing */
    margin: auto; /* Center the image */
    transition: transform 0.2s ease; /* Smooth transition for hover effect */
}

#demo .carousel-inner .carousel-item > img:hover {
    transform: scale(1.1); /* Slight scaling on hover */
}

/* Thumbnail images */

.thumbnail {
    flex: 0 0 auto; /* Prevent thumbnails from shrinking */
    height: 80px; /* Set a standard height */
    width: auto; /* Allow width to determine by the image aspect ratio */
    margin: 0 5px; /* Space around the thumbnails */
    cursor: pointer; /* Change cursor to pointer */
    transition: transform 0.2s ease; /* Smooth scaling transition */
}

.thumbnail:hover {
    transform: scale(1.1); /* Slightly scale up on hover */
}

.thumbnail-container {
    display: flex;
    justify-content: flex-start;/* Center thumbnails */
    overflow: hidden; /* Prevent overflow on mobile devices */
}

css
@media (max-width: 768px) {
    .thumbnail {
        height: 60px; /* Smaller height for mobile */
        width: auto; /* Keep width auto to maintain aspect ratio */
    }
}

@media (max-width: 576px) {
    .thumbnail {
        height: 48px; /* Further adjust height for extra small screens */
        width: auto; /* Keep width auto */
    }
}

/* Desktop carouesel */

#myCarousel2 .carousel-innner .carousel-item {
   overflow:hidden;
   max-height: 75vh;
}

#myCarousel2 .carousel-item > img {
   object-fit: cover;
   max-height: 75vh;
}

#myCarousel2 .carousel-control-prev {
    transform: scale(1.1);
}

#myCarousel2 .carousel-control-next {
    transform: scale(1.1);
    margin-right:20px;
}

/* Mobile carouesel */

#myCarousel .carousel-innner .carousel-item {
   overflow:hidden;
   max-height: 100vh;
}

#myCarousel .carousel-item > img {
   object-fit: cover;
   width: 100%;
   height: 100%;
}

/* input/checkbox color-focus */

.form-control:focus {
    box-shadow: none !important;
    border-color: #6c757d !important;
}

/* snow */

.editor-stage .snow {
           height:50px;
           background: #fff;
       }
      .snow{
          position:fixed;
          pointer-events:none;
          top:0;
          left:0;
          right:0;
          bottom:0;
          height:100vh;
          background: none;
          background-image: url('https://s3-eu-west-1.amazonaws.com/static-ressources/s1.png'), url('https://s3-eu-west-1.amazonaws.com/static-ressources/s2.png'), url('https://s3-eu-west-1.amazonaws.com/static-ressources/s3.png');
          z-index:100;
          -webkit-animation: snow 40s linear infinite;
          -moz-animation: snow 40s linear infinite;
          -ms-animation: snow 40s linear infinite;
          animation: snow 40s linear infinite;
       }
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-ms-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

/* Calendar available dates*/

 .calendar-available {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.day-available {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    height: 50px;
    line-height: 50px; /* Center the text vertically */
}

.day-w {
    padding: 2px;
    text-align: center;
}

.available {
    background-color: #70cc93;
    color: white;
}

.unavailable {
    background-color: gray;
    color: white;
}

.month-available {
    margin-bottom: 30px;
}

.month-dn {
    margin: 10px 0;
}

.navigation-available {
    display: flex;
    justify-content: space-between;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
}

.a-button {
    float: right;
    margin-right: 30px;
}

.indicator-container {
    display: flex;
    align-items:center; 
    justify-content: space-around;
    margin-bottom: 10px;
    font-size: 16px;
}

.indicator {
    display: inline-block;
    width: 20px; 
    height: 20px; 
    margin-right: 5px; 
}

.available-box {
    background-color: #70cc93;
}

.unavailable-box {
    background-color: gray;
}

/* Button-container single */

.button-container {
    display: flex;
    gap: 6px; /* Adjust the space between buttons */
    justify-content: space-between; /* Adjusts space evenly */
    flex-wrap: nowrap; /* Prevent wrapping into a new line */
}

.button-container a {
     flex: 1; /* Make buttons equal width */
     min-width: 150px; /* Increase the min button width to prevent wrapping */
     max-width: 200px; /* Optional: Set a max-width if needed */
     height: 50px; /* Set a fixed height for buttons */
     text-align: center; /* Center text inside buttons */
     display: flex; /* Enables flexbox on anchor tag */
     align-items: center; /* Vertically centers text */
     justify-content: center; /* Horizontally centers text */
     padding: 5px; /* Remove any padding */
     text-decoration: none; /* Remove text underline */
     white-space: nowrap; /* Prevent text wrapping */
     overflow: hidden; /* Hide overflow text if it doesn't fit */
     text-overflow: ellipsis; /* Show ellipsis for overflow text if necessary */
    }
}

@media (max-width: 600px) { /* Adjust this breakpoint as needed */
    .button-container {
        flex-direction: row; /* Ensure buttons are in a row */
    }    
}

@media (max-width: 1024px) {
    .button-container {
        gap: 10px; /* Adjust space between buttons for tablet */
        justify-content: center; /* Center the buttons in the container */
    }
    
    .button-container a {
        min-width: 120px; /* Adjust the min width for better spacing */
        max-width: none; /* Remove max-width to allow buttons to stretch */
    }
}

/* Bookings */

.grid-container-booking {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* Maintain 8 equal width columns */
    gap: 5px; /* Space between grid items */
    padding: 10px; /* Padding around the container */
}

.header-booking {
    background-color: gray; /* Background color for headers */
    color: white; /* Text color for headers */
    text-align: center; /* Center align text */
    padding: 10px; /* Padding inside header */
    font-weight: bold; /* Bold header text */
}

.grid-container-booking div {
    border: 1px solid #ddd; /* Light border for each item */
    padding: 10px; /* Padding inside each item */
    text-align: center; /* Center align text */
}

/* Responsive Adjustments to size properly without changing layout */
@media (max-width: 768px) {
    .grid-container-booking div {
        font-size: 0.9em; /* Slightly smaller font size */
        padding: 8px; /* Reduce padding */
    }
}

@media (max-width: 480px) {
    .grid-container-booking div {
        font-size: 0.8em; /* Even smaller font size */
        padding: 6px; /* Further reduce padding */
    }
}

@media (max-width: 375px) {
    .grid-container-booking div {
        font-size: 0.5em; /* Smallest font size */
        padding: 3px; /* Minimum padding */
    }

    .grid-container-booking {
        margin-right:30px;     
    }
}

.btn-danger-booking {
    background-color: #f44336; /* Red background for cancel button */
    color: white; /* Text color */
    border: none; /* No border */
    padding: 5px 10px; /* Padding inside button */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1em; /* Base font size for buttons */
}

.btn-danger-booking:hover {
    background-color: #d32f2f; /* Darker color on hover */
}

/* Adjust button styles for smaller screens */
@media (max-width: 375px) {
    .btn-danger-booking {
        font-size: 0.8em; /* Adjust button font size */
        padding: 3px 6px; /* Reduce button padding */
    }
}

 .cancelled-booking {
            color: red;
            font-weight: bold;
        }


/* Bills */

.table-bill {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 800px; /* You can adjust the width as needed */
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.header-bill {
    background-color: #f8f8f8;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cell-bill {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cell-bill:last-child {
    border-bottom: none; /* Remove border for last row */
}

