.collapsible-text {
  position: relative;
  margin-bottom: 1rem;
}

.text-content.truncated {
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 15em; /* Adjust based on your line-height, ~3 lines */
  transition: max-height 0.5s ease-in-out; /* Smooth height transition */
}

.text-content.full {
  overflow: hidden;
  transition: max-height 0.5s ease-in-out; /* Smooth height transition */
}

.read-more, .read-less {
  margin-top: -0.5rem;
  display: inline-block;
}

.read-more:hover, .read-less:hover {
  text-decoration: underline;
}

.thumbnail-container {
  overflow: hidden; 
  max-height: 200px; 
 
}

.thumbnail-scroller {
  display: flex;
  flex-wrap: nowrap; /* Ensures items stay in a single row */
  overflow-x: auto; /* Enables horizontal scrolling */
  overflow-y: hidden; /* Prevents vertical scrolling */
  padding: 10px;
  gap: 10px; /* Space between thumbnails */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  list-style: none; /* Removes default list numbering */
  margin: 0; /* Removes default margin */
  width: 100%; /* Ensures full width */
}

.thumbnail-scroller li {
  flex: 0 0 auto; /* Prevents shrinking, ensures fixed size */
  cursor: pointer; /* Indicates interactivity for carousel */
  opacity: 0.6; /* Grey out non-active thumbnails */
  transition: opacity 0.3s ease; /* Smooth transition */
}

.thumbnail-scroller li.active {
  opacity: 1; /* Full brightness for active thumbnail */

}

.thumbnail-scroller li img {
  width: 100px !important; /* Overrides inline width */
  height: 100px !important; /* Fixed height for thumbnails */
  object-fit: cover; /* Maintains aspect ratio, crops to fit */
  object-position: center; /* Centers the image */
  border-radius: 4px; /* Slight rounding */
}

/* Styled scrollbar for desktop */
.thumbnail-scroller::-webkit-scrollbar {
  height: 8px; /* Thin scrollbar */
}

.thumbnail-scroller::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light track */
  border-radius: 4px;
}

.thumbnail-scroller::-webkit-scrollbar-thumb {
  background: #888; /* Thumb color */
  border-radius: 4px;
}

.thumbnail-scroller::-webkit-scrollbar-thumb:hover {
  background: #555; /* Darker on hover */
}

/* Ensure scrollbar visibility for non-WebKit browsers */
.thumbnail-scroller {
  -ms-overflow-style: auto; /* Show scrollbar in IE/Edge */
  scrollbar-width: thin; /* Thin scrollbar for Firefox */
  scrollbar-color: #888 #f1f1f1; /* Thumb and track colors */
}

/* Override MDBootstrap carousel-indicators if needed */
.carousel-indicators .thumbnail-scroller {
  position: static !important; /* Prevent absolute positioning */
  overflow-x: auto !important; /* Ensure scrolling */
}


br{
  display: block;  
  margin-bottom: 15px;  
}

strong{
  font-weight: bold !important;
}

.b500{
  font-weight: 500;
}
.navbar {
  z-index: 10;

  background-color: transparent;
  box-shadow: none;
  
}

.open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

}

.navbar a{
  
}

.top-nav-collapse {
  background-color: #ffffff;
}

#headbg {
  margin-top: -218px;
}

.navbar-brand img {
  max-width: 200px;
}
.navbar-nav .nav-link {
  color:#FFF;
  font-family: 'Open Sans', sans-serif;
}

.navbar .active{
  background-color: #03A9F4;
  color:#FFF;
}

.navbar-nav .nav-link:hover {
  background-color: #03A9F4;
  color:#FFF;
}
.link-pad {
  padding: 30px 20px 30px 20px;
}

@media only screen and (max-width: 1199px) {
  .navbar {
      background-color: #ffffff;
  }
  .navbar-nav .nav-link {
    color:#333333;
    font-family: 'Open Sans', sans-serif;
  }
  .link-pad {
    padding: 10px;
  }
  .navbar-nav .nav-link:hover {
    background-color: #F0F0ED;
    color:#03A9F4;
  }
  .navbar .active{
    background-color: #F0F0ED;
    color:#03A9F4;
  }
}

  .bg-main{
    background-image: url("../img/caribe_arial.jpg");
    background-size: cover;
    background-position:center;
    background-attachment: fixed;     
    font-family: 'Open Sans', sans-serif;
  }

  .hero_full{
    background-size: cover;
    background-position:center;
    background-attachment: fixed;
    height: 100vh;
    font-family: 'Open Sans', sans-serif;
  }
  .height_full{
    height: 100%;
  }
  .hero{
    min-height: 80vh;
  }

  .blue-hero{
      background-color: #136C9D;
      color:white;
      font-family: 'Open Sans', sans-serif !important;
  }
  
  .blue-hero::before{
      position: relative;
      bottom: 36px;
      display: block;
      height: 37px;
      width: 100%;
      background-image: url("../img/brush-top.png");
      background-repeat: repeat-x;
      content: '';  
  }

  .blue-hero::after{
      position: relative;
      top:36px;
      display: block;
      height: 37px;
      width: 100%;
      background-image: url("../img/brush-bottom.png");
      background-repeat: repeat-x;
      content: '';  
  }

  .section-header{
    font-size: 3em;
  
  }

  .header-white{
      font-size: 3.5em !important;
      font-weight: 900 !important;
      color:white;
      font-family: 'Open Sans', sans-serif !important;
  }

  .bg-test2{
    background-image:url("../img/resort/Caribe_Poolside_002.jpg");
    background-attachment: fixed;
  }

  .wave-bg{
    background-image: url("../img/WaveGraphic.png");
    background-color:#ffffff;
    background-position:center center;
    background-repeat:no-repeat;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
    background-size:cover;
  } 

  .text-shadow{
    text-shadow: 1px 2px 4px #333333;
  }
  
  .stay{
    background-image: url("../img/CRC308_living_dark.jpg");
    background-size:cover; 
    background-position: center center;
    min-height: 600px;
    border: 5px solid white; 
  }

  .play{
    background-image: url("../img/hot_tub2_80.jpg");
    background-size:cover; 
    background-position: center center;
    min-height: 600px;
    border: 5px solid white; 
  }

  .dine{
    background-image: url("../img/shrimp_dark.jpg");
    background-size:cover; 
    background-position: center center;
    min-height: 600px;
    border: 5px solid white; 
  }

  .hm-gradient {
    background: linear-gradient(40deg, rgba(0,51,199,.3), rgba(209,149,249,.3));
  }

  .heading {
    margin: 0 6rem;
    font-size: 3.8rem;
    font-weight: 700;
    color: #5d4267;
  }

  .subheading {
    margin: 2.5rem 6rem;
    color: #bcb2c0;
  }

  .btn.btn-margin {
    margin-left: 6rem;
    margin-top: 3rem;
  }

  .btn.btn-lily {
    background: linear-gradient(40deg, rgba(0,51,199,.7), rgba(209,149,249,.7));
    color: #fff;
  }

  .title {
    margin-top: 6rem;
    margin-bottom: 2rem;
    color: #5d4267;
  }

  .subtitle {
    color: #bcb2c0;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 6rem;
  }

  .gallery {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-width: 33%;
    -moz-column-width: 33%;
    column-width: 33%; 
  }
  .gallery .pics {
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease; 
  }
  .gallery .animation {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1); 
  }

  @media (max-width: 450px) {
    .gallery {
      -webkit-column-count: 1;
      -moz-column-count: 1;
      column-count: 1;
      -webkit-column-width: 100%;
      -moz-column-width: 100%;
      column-width: 100%;
    }
  }

  @media (max-width: 400px) {
    .btn.filter {
      padding-left: 1.1rem;
      padding-right: 1.1rem;
    }
  }
  button.close {
    position: absolute;
    right: 0;
    z-index: 2;
    padding-right: 1rem;
    padding-top: .6rem;
  } 

  /* Search Bar */

  #search2{
    font-size:40px;
  }
  #search2 input{
    display: inline-block;
    background-color: white;
  }



  #x1{background-image: url("../img/unit3.jpg");}
#x2{background-image: url("../img/resort/Caribe_Poolside_001.jpg");}
#x3{background-image: url("../img/resort/Caribe_Hottub_001.jpg");}
#x4{background-image: url("../img/Ready_Or_not.jpg");}
#x5{background-image: url("../img/resort/Caribe_BayWalk_001.jpg");}


.main{
    height: 100%;
    width: 100%;
}

.one{
    height: 700px; /*Here should be 100% value but it doesn't work and i know why*/
    width: 20%;
    float: left;
    overflow: hidden;
    position: relative;
    background-position: center;    
}

img.menuImg{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/*cards*/
.title
{
    padding: 30px 0;
    text-align: center;
    font-family: "Arial", sans-serif;
    font-size: 40px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
}

.info
{
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding: 50px 30px 0px;
    font-family: "Arial", sans-serif;
}

.infoTitle
{
    font-size: 20px;
    padding: 30px 0;
}

.infoText
{
    font-size: 16px;
}

.more
{
    padding: 30px 0 10px;
    text-align: center;
    cursor: pointer;
}
