/* ==========================================================================
   Header
   ========================================================================== */


.header-container-wrapper {
  z-index: 10;
  width: 100vw;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
}
.header-container {}

.header-container .wrapper{}

.header-wrapper{
/*   background-color: rgba(0,0,0,0.15); */
  background: #FFF; 
  transition: 0.3s ease all;
}

/* Header */
.header{
  position: relative;
  padding: 28px 0;
  transition: 0.3s ease all;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo a img{
  max-height: 40px;
  width: auto;
  transition: 0.3s ease all;
  display: none;
  min-width: 200px;
  min-height: 100px;
}
.header .logo a img.light{display: block}

.header .breadcrumbs{
  position: absolute;
  top: 100%;
  left: 0;
}
.header .breadcrumbs ul{
  padding: 0; 
  padding-top: 27px;
}
.header .breadcrumbs ul li{
  
}
.header .breadcrumbs ul li a{
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  text-transform: inherit;
}
.header .breadcrumbs ul li:not(:last-child) a:after{
  content: '>';
  display: inline-block;
  margin: 0 16px;
}
.header.light-text .breadcrumbs ul li a{
  color: #FFE66F;
}
.header.dark-text .breadcrumbs ul li a{
  color: #262626;
}
.header .breadcrumbs ul li a[href="javascript:void(0);"]{
  cursor: default;
  text-decoration: none;
}
.header.light-text .breadcrumbs ul li a[href="javascript:void(0);"]{
  color: #FFF; 
}
.header.dark-text .breadcrumbs ul li a[href="javascript:void(0);"]{
  color: #CCC; 
}

body.sticky-menu .header-wrapper,
body.no-hero .header-wrapper,
body.sidr-open .header-wrapper{
  background: #FFF; 
}
body.sticky-menu .header .logo a:not(.mobile-nav) img.dark,
body.no-hero .header .logo a:not(.mobile-nav) img.dark,
body.sidr-open .header .logo a:not(.mobile-nav) img.dark{
  display: block;
}
body.sticky-menu .header .logo a:not(.mobile-nav) img.light,
body.no-hero .header .logo a:not(.mobile-nav) img.light,
body.sidr-open .header .logo a:not(.mobile-nav) img.light{
  display: none;
}

body.sticky-menu .header .breadcrumbs,
body.no-hero .header .breadcrumbs{
  display: none;
}

@media(max-width: 1023px){
  .header .breadcrumbs ul li a{
    font-size: 14px; 
  }
  .header .breadcrumbs ul li:not(:last-child) a:after{
    margin: 0 8px; 
  }
}
@media(max-width: 767px){
  .header .breadcrumbs ul{
    width: 100%;
  }
  .header .breadcrumbs ul li{
    float: left !important;
    width: auto;
  }
  .header .breadcrumbs ul li a{
    font-size: 12px; 
  } 
}
@media(max-width: 480px){
  .header-container .wrapper{
    max-width: calc(100vw - 40px);
  }
  .header .breadcrumbs{
    display: none;
  }
}

/* Header - CTA */
.header .icon-nav .cta{
  display: inline-block; 
/*   margin-right: 40px; */
}

/* Header - Icon Nav */
.header .icon-nav .inner-nav{
  position: relative;
  display: inline-block;
}
.header .icon-nav a:not(.cta_button){
  font-size: 16px;
  font-family: 'muli', sans-serif;
  line-height: 1;
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
  display: inline-block;
}
.header .icon-nav a:not(.cta_button) svg{
  vertical-align: middle; 
}
body.sticky-menu .header .icon-nav a:not(.cta_button_,
body.no-hero .header .icon-nav a:not(.cta_button_,
body.sidr-open .header .icon-nav a:not(.cta_button_{
  color: #54565A;
}
.header .icon-nav .btn-search{
  margin-right: 30px; 
}
.header .icon-nav .btn-search .close,
.header .icon-nav .mobile-nav .close{
  display: none; 
}

.header .icon-nav .btn-search svg,
.header .icon-nav .mobile-nav svg{
  width: 26px;
  height: 22px;
}
.header .icon-nav .btn-search svg rect,
.header .icon-nav .mobile-nav svg rect,
.header .icon-nav .btn-search svg path,
.header .icon-nav .mobile-nav svg path{
  fill:  #FFFFFF;
}
body.sticky-menu .header .icon-nav .btn-search svg rect,
body.sticky-menu .header .icon-nav .mobile-nav svg rect,
body.no-hero .header .icon-nav .btn-search svg rect,
body.no-hero .header .icon-nav .mobile-nav svg rect,
body.sidr-open .header .icon-nav .btn-search svg rect,
body.sidr-open .header .icon-nav .mobile-nav svg rect,
body.sticky-menu .header .icon-nav .btn-search svg path,
body.sticky-menu .header .icon-nav .mobile-nav svg path,
body.no-hero .header .icon-nav .btn-search svg path,
body.no-hero .header .icon-nav .mobile-nav svg path,
body.sidr-open .header .icon-nav .btn-search svg path,
body.sidr-open .header .icon-nav .mobile-nav svg path{
  fill:  #54565A;
}
.header .icon-nav .btn-search svg g circle{
  stroke: #FFF;
}
body.sticky-menu .header .icon-nav .btn-search svg g circle,
body.no-hero .header .icon-nav .btn-search svg g circle,
body.sidr-open .header .icon-nav .btn-search svg g circle{
  stroke: #54565A;
}

.header.open-search .icon-nav .btn-search .search,
body.sidr-open .icon-nav .mobile-nav .open{
  display: none; 
}
.header.open-search .icon-nav .btn-search .close,
body.sidr-open .icon-nav .mobile-nav .close{
  display: inline-block; 
}
.header .hs-search-field{
  width: 240px;
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%);
  transform-origin: right center;
  
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: 0.3s ease-out max-width;
}
.header .hs-search-field__suggestions{
  position: absolute;
  top: 100%;
  background: white;
  margin: 0;
  border: 1px solid #54565A;
  border-top: none;
  list-style: none;
  padding: 0;
}
.header .hs-search-field__suggestions li:first-child{
  font-size: 14px;
  font-weight: 500 !important; 
  padding: 10px 10px 5px 10px;
}
.header .hs-search-field__suggestions li:last-child{
  padding-bottom: 10px;
}
.header .hs-search-field__suggestions li:not(:last-child){
}
.header .hs-search-field__suggestions li a{
  font-size: 14px; 
  color: #54565A;
  background: none;
  padding: 5px 10px;
  display: block;
}
.header .hs-search-field__suggestions li a:hover{
  color: #000;
}
.header form{
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.header.open-search .hs-search-field{
  opacity: 1;
  overflow: visible;
  max-width: 240px;
}
.header form input{
  margin: 0;
  height: 37px;
  padding: 7px 14px;
  border: 2px solid #54565A !important;
  font-size: 16px !important;
}
.header form button,
.header form button svg{
  padding: 0;
  width: 37px;
  height: 37px;
  border: 0;
}

@media(max-width: 767px){
  .header .icon-nav{
    display: none !important; 
  }
}
@media(max-width: 375px){
  .header form{
    width: 150px;
  }
  .header.open-search .hs-search-field{
    max-width: 150px; 
  }
  .header .icon-nav .btn-search{
    margin-right: 15px; 
  }
}

/* Sidr Theme */
.sidr {
  display: block;
  position: fixed;
  top: 96px;
  height: calc(100% - 96px);
  z-index: 11;
  width: 100%;
  overflow: hidden;
  letter-spacing: 0.9px;
  background: #E0E0E0;
  color: #000;
  padding: 0;
  
  left: 100%;
}
.sidr .sidr-inner{
  height: 100%; 
}
body.sidr-open .sidr{
  left: 0; 
}
#mobile-menu{
  display: none;
}
.mobile-menu{
  background-color: #E0E0E0;
  background-image: url(https://www.caymanenterprisecity.com/hubfs/assets_2020/cec-star-icon-big.svg);
  background-size: 30vw 30vw;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  height: 100%;
}
.mobile-menu>.nav{
  height: 100%;
  padding: 62px 0;
  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.mobile-menu>.nav::-webkit-scrollbar {
  display: none;
}
.mobile-menu>.nav ul{
  list-style: none;
  padding: 0;
  margin: 0 !important;
  display: inline-block !important;
}
.mobile-menu>.nav ul>li{
  float: none !important;
}
.mobile-menu>.nav ul>li>a{
  font-weight: bold;
  font-family: 'muli';
  
  color: #000;
  padding: 0 32px 0 0 !important;
  display: block;
  position: relative;
  
  font-size: 1.78vw;
  line-height: 2;
}

.mobile-menu>.nav ul>li.hs-menu-depth-1>a{
  font-size: 4vw;
  line-height: 1.4;
}



.mobile-menu>.nav ul>li.hs-menu-depth-1 ul.hs-menu-children-wrapper{z-index: 12;}
.mobile-menu>.nav ul>li.hs-menu-depth-2 ul.hs-menu-children-wrapper{z-index: 13;}
.mobile-menu>.nav ul>li.hs-menu-depth-3 ul.hs-menu-children-wrapper{z-index: 14;}

/* Info Box */
.mobile-menu>.nav .info-box{
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  font-family: 'muli';
}
.mobile-menu>.nav .info-box .title{
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 26px;
  display: block;
}
.mobile-menu>.nav .info-box .item{
  margin-bottom: 26px;
}
.mobile-menu>.nav .info-box .social ul{
  display: flex !important;
}
.mobile-menu>.nav .info-box .social ul li a{
  font-size: 20px; 
}

.mobile-menu>.nav .info-box .hs-cta-node{
  display: block; 
}
.mobile-menu>.nav .info-box .hs-cta-node:not(:last-child){
  margin-bottom: 20px; 
}
.mobile-menu>.nav .info-box .hs-cta-node:last-child .cta_button{
  background: none;
  border-color: #54565A;
  color: #54565A;
}
.mobile-menu>.nav .info-box .hs-cta-node:last-child .cta_button:hover{
  background: #54565A;
  color: #FFF;
}

@media(max-height: 767px){
  .mobile-menu>.nav>.inner .hs-menu-wrapper{
    padding-bottom: 124px;
  }
}
@media(min-height: 768px){
  .mobile-menu>.nav{
    align-items: center;
  }
}

@media(min-width: 768px){
  .mobile-menu>.nav{
    display: flex;
  }
  .mobile-menu>.nav>.inner{
    position: relative; 
    width: 100%;
  }
  .mobile-menu>.nav ul:hover li{
    opacity: 0.5; 
  }
  .mobile-menu>.nav ul:hover li:hover{
    opacity: 1;
  }
  .mobile-menu>.nav ul>li.hs-item-has-children:hover>a:after{
    content: '';
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
    width: 16px;
    height: 32px;
    background-image: url(https://www.caymanenterprisecity.com/hubfs/assets_2020/chevron_right-black.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  
  .mobile-menu>.nav ul>li.close-level{
    display: none; 
  }
  .mobile-menu>.nav ul>li ul.hs-menu-children-wrapper{
    position: absolute;
    left: 100%;
    padding-left: 3vw;
    top: 50%;
    transform: translateY(-50%);
  }
  .mobile-menu>.nav ul{
    position: relative; 
  }
  .mobile-menu>.nav ul li.hs-item-has-children>ul{
    display: none !important; 
  }
  .mobile-menu>.nav ul li.hs-item-has-children:hover>ul{
    display: block !important; 
  }
  
  
}
@media(max-width: 1023px){
  .mobile-menu>.nav .info-box{
    position: relative;
    margin-top: 40px;
  } 
}
@media(max-width: 767px){
  .header .icon-nav .btn-search span{
    display: none; 
  }
  .mobile-menu>.nav ul>li.close-level{
    display: block; 
  }
  .mobile-menu>.nav ul>li.close-level>a:before{
    content: '';
    position: absolute;
    top: calc(50% - 16px);
    left: -48px;
    width: 16px;
    height: 32px;
    background-image: url(https://www.caymanenterprisecity.com/hubfs/assets_2020/chevron_right-black.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(180deg);
  }
  
  .mobile-menu>.nav ul>li.hs-item-has-children>a:after{
    content: '';
    position: absolute;
    top: calc(50% - 16px);
    right: 0;
    width: 16px;
    height: 32px;
    background-image: url(https://www.caymanenterprisecity.com/hubfs/assets_2020/chevron_right-black.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
  
  .mobile-menu>.nav ul>li>a{
    font-size: 32px !important; 
  }
  .mobile-menu>.nav ul>li ul.hs-menu-children-wrapper{
    background: #E0E0E0;
    padding: 62px 64px;
    width: 100vw;
    position: fixed !important;
    top: 96px;
    left: 100%;

    height: 100%;
    overflow: scroll;
    transition: 0.3s ease left;
  }
  .mobile-menu>.nav ul>li.active>ul.hs-menu-children-wrapper{
    left: 0;
  }
}
@media(max-width: 479px){
  .mobile-menu{
    background-size: 75%; 
  }
  .mobile-menu>.nav ul>li ul.hs-menu-children-wrapper{
    padding: 62px 32px 62px 64px;
  }
  .mobile-menu>.nav ul>li ul.hs-menu-children-wrapper li a{
    padding: 0 !important;
    white-space: normal !important;
    line-height: 1.3;
  }
  .mobile-menu>.nav ul>li ul.hs-menu-children-wrapper li:not(:last-child) a{
    margin-bottom: 10px;
  }
}
