@import url("https://cdn.jsdelivr.net/npm/jolty-ui/dist/jolty-ui-base.min.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
body {
  font-family: "Roboto", sans-serif;
}
.header {
  margin: 0 auto;
  padding: 0 1.5rem;
  background-color: rgb(35 39 50);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .header {
    padding: 1rem 2rem;
  }
}

.github {
  padding: 0.5rem;
  margin-right: -0.5rem;
}
.github svg {
  width: 2rem;
  fill: white;
}

/* styles */

/* .home-bg {
  background: linear-gradient(
        89deg,
        rgb(2 41 106 / 68%) 0.32%,
        rgba(217, 217, 217, 0) 43.83%,
        rgba(217, 217, 217, 0) 70.32%,
        rgb(2 41 106) 104.19%
      )
      fixed,
    url(https://www.rickettsluxury.com/child/assets/img/slider/slider.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */
/* ------------------------------------ */

.booking-form {
  /* position: relative; */
  max-width: 642px;
  width: 100%;
  margin-right: 0;
  margin: auto;
  margin-right: 0;
  /* padding: 40px; */
  overflow: hidden;
  background: #ffffffa8;
  background-size: cover;
  border-radius: 10px;
  /* z-index: -1; */
  backdrop-filter: blur(8px);
}

.booking-form .form-header {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.booking-form .form-group {
  position: relative;
  /* margin-bottom: 30px; */
}

.booking-form .form-control {
  background-color: rgb(129 101 101 / 8%);
  width: 100%;
  height: 59px;
  padding: 15px 25px;
  border: none;
  border-radius: 10px;
  color: #02296a;
  -webkit-box-shadow: 0px 0px 0px 2px transparent;
  box-shadow: 0px 0px 0px 2px transparent;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  border: 1px solid #02296a45;
  /* padding-top: 15px; */
}

.booking-form .form-control::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-control:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-control:focus {
  -webkit-box-shadow: 0px 0px 0px 2px #02296a;
  box-shadow: 0px 0px 0px 2px #02296a;
}

.booking-form input[type="date"].form-control {
  padding-top: 16px;
}

.booking-form input[type="date"].form-control:invalid {
  color: rgb(2 41 106);
}

.booking-form input[type="date"].form-control + .form-label {
  opacity: 1;
  top: 5px;
}

.booking-form select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.booking-form select.form-control:invalid {
  color: rgb(2 41 106);
}

.booking-form select.form-control + .select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 32px;
  line-height: 32px;
  height: 32px;
  text-align: center;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.booking-form select.form-control + .select-arrow:after {
  content: "\279C";
  display: block;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  color: #02296a;
}

.booking-form select.form-control option {
  color: #000;
}

.booking-form .form-label {
  position: absolute;
  top: -10px;
  left: 25px;
  opacity: 0;
  color: #02296a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  height: 15px;
  line-height: 15px;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.booking-form .form-group.input-not-empty .form-control {
  padding-top: 16px;
}

.booking-form .form-group.input-not-empty .form-label {
  opacity: 1;
  top: 10px;
}

.booking-form .submit-btn {
  color: #fff;
  background-color: #02296a;
  font-weight: 700;
  height: 60px;
  padding: 10px 30px;
  width: 100%;
  border-radius: 40px;
  border: none;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.3px;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.booking-form .submit-btn:hover,
.booking-form .submit-btn:focus {
  opacity: 0.9;
}

/* ------------------------------------ */
@media only screen and (max-width: 1023px) {
  .modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  }

  .close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: #02296a;
    z-index: 99;
    color: #fff;
    position: relative;
    display: block !important;
  }
  .close-button:hover {
    background-color: darkgray;
  }
  .show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    z-index: 9999999;
  }
  .booking-form {
    background: #ffffffc7;
  }
}
.close-button {
  display: none;
}

/* ---------------------------------------------- */
.sidebar-open {
  overflow: hidden;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(58 56 56 / 34%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  backdrop-filter: blur(5px);
}
.sidebar-open .overlay {
  opacity: 1;
  visibility: visible;
}
/* .header {
  padding: 30px 0;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
} */
.logo {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
}
.row-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  /* display: flex; */
  align-items: center;
}
.nav-list li {
  padding: 0 10px;
}
.nav-list li a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  display: block;
}
.nav-list li a::after {
  content: "";
  background-color: #ffffff;
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all 0.3s linear;
}
.nav-list li a:hover::after {
  width: 100%;
}
.nav-list li.active a::after {
  width: 100%;
}
.nav-list li.with-submenu {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-list li.with-submenu > a {
  margin-right: 10px;
}
.nav-list li.with-submenu::after {
  content: "";
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  right: 0;
  margin-bottom: 5px;
  transition: all 0.3s;
}
.nav-list li.with-submenu:hover::after {
  transform: rotate(225deg);
  margin-top: 10px;
}

.nav-list li.with-submenu .submenu a:hover {
  background-color: #fff;
}

.nav-list li.with-submenu > a {
  position: relative;
  z-index: 1;
}
.hamburger {
  display: none;
  z-index: 99;
}
.hamburger .line {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  display: block;
  margin: 7px 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.hamburger:hover {
  cursor: pointer;
}
.hamburger.is-active .line {
  background-color: #fff;
}
.hamburger.is-active .line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .line:nth-child(1) {
  -webkit-transform: translateY(6.5px) rotate(45deg);
  -ms-transform: translateY(6.5px) rotate(45deg);
  -o-transform: translateY(6.5px) rotate(45deg);
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-6.5px) rotate(-45deg);
  -ms-transform: translateY(-6.5px) rotate(-45deg);
  -o-transform: translateY(-6.5px) rotate(-45deg);
  transform: translateY(-6.5px) rotate(-45deg);
}
/* .header {
  padding: 10px 0;
} */
.hamburger {
  display: block;
}
.nav-wrap {
  position: fixed;
  top: 0;
  right: -100%;
  transform: translateX(100%);
  background: #02296a;
  transition: all 0.5s linear;
  max-width: 500px;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}
.nav-wrap.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  right: 0;
  z-index: 9;
}
.nav-list {
  flex-direction: column;
  align-items: unset;
  opacity: 0;
  visibility: hidden;
  transition-delay: 0.5s;
  transition-duration: 1s;
  transition-property: all;
  /* padding: 10px; */
}
.nav-wrap.is-open .nav-list {
  opacity: 1;
  visibility: visible;
}
.nav-list li {
  padding: 11px 0px;
}
.nav-list li.active a {
  font-weight: 500;
  /* font-family: "Gordita-Medium"; */
}
.nav-list li a {
  color: #fff;
  text-align: left;
  display: inline-block;
  padding: 2px 0;
}
.nav-list li a::after {
  background-color: #0664ffc9;
}
.nav-list li.with-submenu {
  display: block;
}
.nav-list li.with-submenu::after {
  border-color: #ffffff;
  right: 10px;
  top: 12px;
}
.nav-list li.with-submenu:hover::after {
  transform: rotate(45deg);
  margin-top: 0;
}
.nav-list li.with-submenu.is-open::after {
  transform: rotate(225deg);
  margin-top: 5px;
}
.nav-list li.with-submenu .submenu {
  position: static;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border-radius: 0;
  /* border-top: 1px solid #ccc; */
  display: none;
  transition: auto;
  margin: 5px 0;
}
.nav-list li.with-submenu .submenu li {
  padding: 5px 10px;
}
.nav-list li.with-submenu .submenu li:hover a {
  background-color: transparent;
}
.nav-list li.with-submenu .submenu li a {
  display: inline-block;
  padding: 2px 0;
}
.nav-list li.with-submenu .submenu li a::after {
  display: block;
}
.is-active {
  display: none;
}
.submenu-inner li a {
  font-size: 18px;
}

.nav-sticky {
  position: fixed !important;
  top: 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease-in;
  z-index: 999;
  background-color: #02296a;
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-sticky .logo svg {
  color: #312783;
}
.nav-sticky ul li {
  color: #fff;
}
.nav-sticky .menu a {
  color: #fff;
}
.nav-sticky .hamburger .line {
  background-color: #ffffff;
}
/* ------------------------------------- */
.listing .activeButton {
  background: #002466;
  border-radius: 24px;
}
/* ---------------------------favourites--------------------------- */

.check[type="checkbox"] {
  display: none;
}

.icon {
  width: 1.5em;
  height: 1.5em;
  fill: #02296a;
  transition: opacity 0.3s ease-in-out;
}

.icon.active {
  display: none;
  fill: #f52121;
}

.check[type="checkbox"]:checked + .container .icon.active {
  display: inline-block;
  animation: wiggle 0.5s ease-in-out;
}

.check[type="checkbox"]:checked + .container .icon.inactive {
  display: none;
}

.like-text {
  margin-left: 0.5em;
  padding: 0.5em;
  color: white;
  font-family: Arial, sans-serif;
  font-weight: bolder;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}
/* --------------------- */
.about-bg {
  background: linear-gradient(
    90deg,
    rgba(2, 41, 106, 1) 60%,
    rgba(255, 255, 255, 1) 60%
  );
}
.anguilla-bg {
  background: linear-gradient(
    270deg,
    rgba(2, 41, 106, 1) 50%,
    rgba(255, 255, 255, 1) 50%
  );
}
/* +------------------------ */
.slick-slide {
  margin: 0 10px;
}

/* the parent */
.slick-list {
  margin: 0 -10px;
}
/* ------------------------------------------ */

 
 
details {
  font-size: var(--title);
  margin: 0 auto;
  width: 100%;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease-in-out;
}
details:hover {
  opacity: 1;
}
summary {
  user-select: none;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  padding: var(--header-padding);
}
 
summary:hover .title {
  opacity: 1;
}
summary:hover .accordion-icon {
  opacity: 1;
}
.accordion-title { 
  transition: all 250ms ease-in-out;
}
.accordion-icon {
  opacity: 1;
  pointer-events: none;
  position: absolute;
  right: 1rem;
  transition: all 150ms ease-out;
}
.accordion-icon svg { 
  transition: transform 0.3s ease-in-out;
}
 
/** Remove Marker */
summary::-webkit-details-marker {
  display: none;
}
/** Rotate Icon */
details[open] .accordion-icon svg {
  transform: rotate(180deg);
}
/* ----------------------------------------------------- */


/* carousel */
.carousel{
  height: 75vh;
  margin-top: -50px;
  /* width: 100vw; */
  overflow: hidden;
  position: relative;
}
.carousel .list .item{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}
.carousel .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel .list .item .content{
  position: absolute;
  top: 20%;
  /* width: 1140px; */
  max-width: 80%;
  left: 9%;
  /* transform: translateX(-50%); */
  /* padding-right: 30%; */
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
  font-weight: bold;
  letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}
.carousel .list .item .topic{
  color: #f1683a;
}
.carousel .list .item .buttons{
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.carousel .list .item .buttons button{
  border: none;
  background-color: #eee;
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}
/* thumbail */
/* .thumbnail{
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 9;
  display: flex;
  gap: 20px;
} */
.thumbnail{
  position: absolute;
  bottom: 50px;
  left: 50% !important;
  width: max-content;
  z-index: 9 !important;
  display: flex;
  gap: 20px;
/*   top: 88% !important; */
}
.thumbnail .item{
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}
.thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.thumbnail .item .content{
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.thumbnail .item .content .title{
  font-weight: 500;
}
.thumbnail .item .content .description{
  font-weight: 300;
}
/* arrows */
.arrows{
  position: absolute;
  top: 80%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
  left: 9%;
}
.arrows button{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eeeeee29;
  border: 1px solid #fff;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  transition: .5s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrows button:hover{
  background-color: #fff;
  color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
  z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
  to{
      transform: translateY(0px);
      filter: blur(0px);
      opacity: 1;
  }
}
.carousel .list .item:nth-child(1) .content .title{
  animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
  animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
  animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
  animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
  to{
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1){
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
  z-index: 100;
}
@keyframes showThumbnail{
  from{
      width: 0;
      opacity: 0;
  }
}
.carousel.next .thumbnail{
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
  from{
      transform: translateX(150px);
  }
}

/* running time */

.carousel .time{
  position: absolute;
  z-index: 9;
  width: 0%;
  height: 3px;
  background-color: #f1683a;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time{
  animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
  from{ width: 100%}
  to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame{
  to{
      width: 150px;
      height: 220px;
      bottom: 50px;
      left: 50%;
      border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1){
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
  pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
  animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
  to{
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
  }
}
@media screen and (max-width: 678px) {
  .carousel .list .item .content{
      padding-right: 0;
  }
  .carousel .list .item .content .title{
      font-size: 30px;
  }
}
@media screen and (max-width: 1270px) {
  .booking-form { 
    max-width:100%;}
}
.pagination .nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}
.pagination .nav-links span.current{
  color: #002466;
  font-size: 16px;
  border: 1px solid #002466;
  padding: 5px 10px;
  border-radius: 6px;
}
.pagination .nav-links a.page-numbers {
  border: 1px solid #002466;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: #002466;
  color: #FFF;
  font-size: 16px;
}
.pagination .nav-links a.page-numbers:hover {
  border: 1px solid #002466;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: #ffffff;
  color: #002466;
  font-size: 16px;
}