/* Grid */
.ct-grid {
  margin: 0 -15px;
  .grid-sizer {
    visibility: hidden;
  }
  .ct-grid-inner, .grid-item-inner {
    position: relative;
  }
  .grid-item.ct-animated .grid-item-inner {
    animation: 0.65s ease 0s normal forwards 1 running moveUp;
    -webkit-animation: 0.65s ease 0s normal forwards 1 running moveUp;
    @include transform(translateY(200px));
  }
  .ct-load-more {
    margin-top: 35px;
    .btn {
      padding: 0 42px;
      line-height: 51px;
      font-size: 15px;
      &.btn-secondary {
        padding: 0 52px;
        line-height: 58px;
      }
    }
    i {
      margin-left: 0;
      margin-right: 8px;
      &.fa-spin {
        display: inline-block;
      }
    }
  }
  .ct-grid-pagination {
    margin-top: 15px;
    .posts-pagination {
      margin-top: 0;
      .posts-page-links {
        margin-top: 0;
        justify-content: center;
      }
    }
    .page-numbers::before {
      background-color: #e8eaf3;
    }
  }
  .item-featured a {
    display: block;
  }
  .btn-loadmore i {
    margin-left: 0;
    margin-right: 0;
    &.fa-refresh {
      margin-right: 8px;
    }
  }
}
.ct-grid-inner.row {
  margin: 0;
}
.grid-filter-wrap {
  margin-bottom: 20px;
  text-align: right;
  padding: 0 15px;
  @media #{$max-sm} {
    text-align: center;
  }
  span {
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    line-height: normal;
    font-weight: 600;
    padding-bottom: 15px;
    margin: 0 13px 10px 13px;
    @include transition(all 300ms linear 0ms);
    text-transform: capitalize;
    color: #8b90a7;
    position: relative;
    @include font-family-heading($heading_default_font);
    @media #{$max-sm} {
      margin-left: 8px;
      margin-right: 8px;
    }
    &:before {
      content: '';
      height: 9px;
      width: 9px;
      @include border-radius(9px);
      background-color: $secondary_color;
      position: absolute;
      bottom: -10px;
      left: 50%;
      @include transform(translate(-50%, 0));
      @include transition(all 220ms linear 0ms);
      opacity: 0;
    }
    &:last-child {
      margin-right: 0;
    }
    &.active, &:hover {
      color: $dark_color;
      &:before {
        opacity: 1;
        bottom: 0;
      }
    }
  }
}

/* End Grid */

/* Carousel */
.hide-nav {
  .slick-arrow {
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute;
    z-index: -99999;
  }
  .ct-slick-carousel[data-arrows="true"] {
    padding-bottom: 0;
  }
}

.ct-nav-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  .nav-prev, .nav-next {
    height: 62px;
    width: 62px;
    position: relative;
    z-index: 1;
    display: inline-block;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid $primary_color;
    @include border-radius(100%);
    @include transition(all 200ms linear 0ms);
    color: $dark_color;
    i {
      font-size: 24px;
      position: absolute;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
    }
    &:hover {
      background-color: $primary_color;
      color: #ffffff;
    }
    @media #{$max-lg} {
      width: 52px;
      height: 52px;
      i {
        font-size: 20px;
      }
    }
  }
  .nav-next {
    margin-left: 21px;
  }
  &.style2 {
    .nav-prev, .nav-next {
      border-color: #494949;
      background-color: #494949;
      color: #fff;
      &:hover {
        background-color: $primary_color;
        border-color: $primary_color;
        color: #ffffff;
      }
    }
  }
}

.ct-slick-carousel {
  .slick-arrow {
    width: 44px;
    height: 44px;
    color: $dark_color;
    cursor: pointer;
    @include transition(all 300ms linear 0ms);
    @include border-radius(60px);
    position: absolute;
    padding: 0;
    background-color: #cddae6;
    background-image: none;
    font-size: 0;
    bottom: 0;
    left: 50%;
    @include transform(translate(-50%, 0));
    &:before {
      font-family: 'Font Awesome 5 Pro';
      position: absolute;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
      font-size: 16px;
    }
    &:after {
      display: none;
    }
    &:hover {
      color: #fff;
      @include box-shadow(none !important);
      background-color: $secondary_color;
    }
    &.slick-disabled {
      cursor: no-drop;
    }
  }
  .slick-prev {
    margin-left: -40px;
    &:before {
      content: '\f104';
    }
  }
  .slick-next {
    margin-left: 30px;
    &:before {
      content: '\f105';
    }
  }
  &.ct-slick-arrow-lg {
    .slick-arrow {
      width: 60px;
      height: 60px;
      &:before {
        font-size: 22px;
        font-weight: 400;
      }
    }
  }
  &[data-arrows="true"] {
    padding-bottom: 75px;
  }
  @media #{$min-xl} {
    &.ct-slick-arrow-center {
      .slick-arrow {
        margin: 0;
        bottom: auto;
        top: 50%;
        @include transform(translate(0, -50%));
        &.slick-prev {
          left: 30px;
          right: auto;
        }
        &.slick-next {
          left: auto;
          right: 30px;
        }
      }
      &[data-arrows="true"] {
        padding-bottom: 0px;
      }
    }
  }
}

.slick-boxshadow {
  .ct-slick-carousel {
    margin: 0 -30px 0 -30px;
    padding-left: 30px;
    padding-right: 30px;
    overflow: hidden;
    .slick-list {
        overflow: visible;
    }
  }
  .slick-slide {
    @include transition(.3s cubic-bezier(.24,.74,.58,1));
    opacity: 0;
    &.slick-active {
        opacity: 1;
    }
  }
}

.slick-slider {
  .slick-slide {
    outline: none;
  }
}

.slick-dots {
  margin: 25px 0 5px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  li {
    display: flex;
    margin: 0 5px;
    line-height: 1;
    button {
      height: 10px;
      width: 10px;
      text-indent: -9999px;
      padding: 0;
      @include border-radius(100%);
      @include box-shadow(none);
      background-color: #8b90a7;
      z-index: 1;
      overflow: visible !important;
      &:after {
        display: none;
      }
      &:before {
        content: '';
        @include transition(.3s cubic-bezier(.24,.74,.58,1));
        height: 18px;
        width: 18px;
        @include border-radius(18px);
        border: 2px solid $dark_color;
        @include border-radius(18px);
        position: absolute;
        top: -4px;
        left: -4px;
        opacity: 0;
      }
    }
    &:not(.slick-active) button {
      background-image: none;
    }
    &.slick-active button {
      background-color: $primary_color;
      &:before {
        opacity: 1;
      }
    }
  }
}
.ct-slick-slider {
  .ct-carousel-inner {
    margin: 0 -15px;
    .slick-slide {
        padding: 0 15px;
    }
  }
}

.ct-dots-style2 {
  .slick-dots {
    margin-top: 48px;
    margin-bottom: 0;
    li {
      button {
        height: 8px;
        width: 8px;
        background-color: #122a93;
        @include border-radius(8px);
        &:before, &:after {
          display: none;
        }
      }
      &.slick-active button {
        width: 30px;
        background-color: $primary_color;
      }
    }
  }
}

.ct-dots-style3 {
  .slick-dots {
    margin-top: 28px;
    margin-bottom: 0;
    li {
      margin: 0 7px;
      button {
        height: 3px;
        width: 29px;
        background-color: #b4b6c0;
        @include border-radius(0px);
        &:before, &:after {
          display: none;
        }
      }
      &.slick-active button {
        background-color: $secondary_color;
      }
    }
  }
}

.dot-style-line {
  .slick-dots {
    top: -10px;
    margin-top: 0;
    margin-bottom: 0;
    li {
      margin: 0 8px;
      button {
        height: 8px;
        width: 30px;
        background-color: #010030;
        @include border-radius(30px);
        &:before, &:after {
          display: none;
        }
      }
      &.slick-active button {
        background-color: $primary_color;
        width: 50px;
      }
    }
  }
}

/* End Carousel */

/* Page Loading */
#ct-loadding {
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 999999;
  top: 0;
  left: 0;
  @include transition(all 300ms linear 0ms);
  background-color: #fff;
  @include transform(scale(1));
  &.ct-loaded {
    opacity: 0;
    visibility: hidden;
    &.style9 {
      @include transform(scale(1.5));
    }
  }
  .loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    @include transform(translate(-50%, -50%));
    img {
      max-height: 80px;
    }
  }
  .ct-dual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    @include transform(translate(-50%, -50%));
    width: 64px;
    height: 64px;
    &:after {
      content: " ";
      display: block;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      border-width: 4px;
      border-style: solid;
      border-right-color: transparent;
      border-left-color: transparent;
      animation: ct_dual_ring 1.2s linear infinite;
      border-bottom-color: $primary_color;
      border-top-color: $primary_color;
    }
  }
  .loading-spin {
      display: block;
      height: 65px;
      margin: -32px auto 0;
      position: relative;
      top: 50%;
      width: 65px;
      .spinner {
        width:60px;   
        height:60px;   
        position:absolute;   
        top:0;   
        left:0;   
        right:0;   
        bottom:0;   
        margin:auto;
        -webkit-animation:spin-rotate-all 1s linear infinite; 
        animation:spin-rotate-all 1s linear infinite;
        .right-side, .left-side {
          width:50%;   
          height:100%;   
          position:absolute;   
          top:0;   
          overflow:hidden;
          -webkit-animation:spin-fade-in-first 1.2s linear infinite alternate; 
          animation:spin-fade-in-first 1.2s linear infinite alternate;
        }
        .left-side {
          left: 0;
        }
        .right-side {
          right: 0;
        }
        &.color-2 {
          .right-side, .left-side {
            -webkit-animation:spin-fade-in-second 1.2s linear infinite alternate; 
            animation:spin-fade-in-second 1.2s linear infinite alternate;
          }
        }
        .bar {
          width:100%;   
          height:100%;   
          @include border-radius(200px 0 0 200px);  
          border:6px solid $primary_color;   
          position:relative;
          &:after {
            content:"";   
            width:6px;   
            height:6px;   
            display:block;   
            background: $primary_color;   
            position:absolute;
            @include border-radius(6px);
          }
        }
        .right-side .bar {
          @include border-radius(0 200px 200px 0);  
          border-left:none;   
          -webkit-transform:rotate(-10deg);   
          -webkit-transform-origin:left center;   
          transform:rotate(-10deg);   
          transform-origin:left center;   
          -webkit-animation:spin-rotate-right 0.75s linear infinite alternate;  
          animation:spin-rotate-right 0.75s linear infinite alternate;
          &:after {
            bottom:-6px;   
            left:-3px
          }
        }
        .left-side .bar {
          border-right:none;   
          -webkit-transform:rotate(10deg);   
          transform:rotate(10deg);   
          -webkit-transform-origin:right center;   
          transform-origin:right center;   
          -webkit-animation:spin-rotate-left 0.75s linear infinite alternate;   
          animation:spin-rotate-left 0.75s linear infinite alternate;
          &:after {
            bottom:-6px;   
            right:-3px
          }
        }
      }
  }
  .ct-dot-square {
    display: block;
    font-size: 13px;
    width: 2px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: transparent;
    transform: translate(-50%, -50%);
    animation: stevloader 3s infinite linear;
    -webkit-animation: stevloader 3s infinite linear;
  }
  &.style11 {
    .loading-spinner {
      color: $primary_color;
      font-size: 60px;
      text-indent: -9999em;
      overflow: hidden;
      width: 60px;
      height: 60px;
      @include border-radius(50%);
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto;
      -webkit-animation: loading-run 1.7s infinite ease, loading-round 1.7s infinite ease;
      animation: loading-run 1.7s infinite ease, loading-round 1.7s infinite ease;
    }
  }
  .loading-ring {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    &:after {
      content: " ";
      display: block;
      width: 64px;
      height: 64px;
      margin: 8px;
      @include border-radius(50%);
      border-width: 6px;
      border-style: solid;
      border-color: $primary_color transparent $primary_color transparent;
      animation: lds-dual-ring 1.2s linear infinite;
    }
  }
}
.ct-spinner2 {
  width: 45px;
  height: 45px;
  background-color: $primary_color;
  margin: 100px auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
}
.ct-spinner3 {
  width: 45px;
  height: 45px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  .double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    @include border-radius(50%);
    background-color: $primary_color;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: ct-bounce 2.0s infinite ease-in-out;
    animation: ct-bounce 2.0s infinite ease-in-out;
  }
  .double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
}
.ct-spinner4 {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  width: 70px;
  height: 40px;
  text-align: center;
  font-size: 10px;
  > div {
    background-color: $primary_color;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: ct-stretchdelay 1.2s infinite ease-in-out;
    animation: ct-stretchdelay 1.2s infinite ease-in-out;
  }
  .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
  }
  .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
  .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }
  .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
  }
}
.ct-spinner5 {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 50%;
  @include transform(translate(0, -50%));
  width: 70px;
  text-align: center;
  > div {
    width: 18px;
    height: 18px;
    background-color: $primary_color;
    @include border-radius(100%);
    display: inline-block;
    -webkit-animation: ct-bouncedelay 1.4s infinite ease-in-out both;
    animation: ct-bouncedelay 1.4s infinite ease-in-out both;
  }
  .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
  }
  .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
  }
}
.ct-cube-grid {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  .ct-cube {
    width: 33%;
    height: 33%;
    background-color: $primary_color;
    float: left;
    -webkit-animation: ct-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: ct-cubeGridScaleDelay 1.3s infinite ease-in-out;
  }
  .ct-cube1 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; 
  }
  .ct-cube2 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; 
  }
  .ct-cube3 {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s; 
  }
  .ct-cube4 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; 
  }
  .ct-cube5 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; 
  }
  .ct-cube6 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; 
  }
  .ct-cube7 {
    -webkit-animation-delay: 0s;
            animation-delay: 0s; 
  }
  .ct-cube8 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; 
  }
  .ct-cube9 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; 
  }
}
.ct-folding-cube {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  .ct-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            -o-transform: scale(1.1); 
            transform: scale(1.1); 
    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: $primary_color;
      -webkit-animation: ct-foldCubeAngle 2.4s infinite linear both;
        -ms-animation: ct-foldCubeAngle 2.4s infinite linear both;
        -o-animation: ct-foldCubeAngle 2.4s infinite linear both;
          animation: ct-foldCubeAngle 2.4s infinite linear both;
      -webkit-transform-origin: 100% 100%;
          -ms-transform-origin: 100% 100%;
              -o-transform-origin: 100% 100%;
              transform-origin: 100% 100%;
    }
  }
  .ct-cube2 {
    -webkit-transform: scale(1.1) rotateZ(90deg);
      -ms-transform: scale(1.1) rotateZ(90deg);
      -o-transform: scale(1.1) rotateZ(90deg);
      transform: scale(1.1) rotateZ(90deg);
    &:before {
      -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
    }
  }
  .ct-cube3 {
    -webkit-transform: scale(1.1) rotateZ(180deg);
      -ms-transform: scale(1.1) rotateZ(180deg);
      -o-transform: scale(1.1) rotateZ(180deg);
      transform: scale(1.1) rotateZ(180deg);
    &:before {
      -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s; 
    }
  }
  .ct-cube4 {
    -webkit-transform: scale(1.1) rotateZ(270deg);
      -ms-transform: scale(1.1) rotateZ(270deg);
      -o-transform: scale(1.1) rotateZ(270deg);
      transform: scale(1.1) rotateZ(270deg);
    &:before {
      -webkit-animation-delay: 0.9s;
        -ms-animation-delay: 0.9s;
        -o-animation-delay: 0.9s;
        animation-delay: 0.9s;
    }
  }
}

.ct-loading-stairs {
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 50%;
  @include transform(translate(0px, -50%));
  width: 75px;
  margin-top: -25px;
  .loader-bar {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 50%;
    background: $primary_color;
    transform-origin: center bottom;
    @include box-shadow(1px 1px 0 rgba(0,0,0,.2));
    @for $i from 1 through 5 { 
       &:nth-child(#{$i}) {
         left: ($i - 1) * 15px;
         @include transform(scale(1,$i*.2));
         animation: barUp#{$i} 4s infinite;
         -webkit-animation: barUp#{$i} 4s infinite;
         -ms-animation: barUp#{$i} 4s infinite;
        }
    }
  }
  .loader-ball {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    background: $primary_color;
    @include border-radius(50%);
    animation: ball 4s infinite;
    -webkit-animation: ball 4s infinite;
    -ms-animation: ball 4s infinite;
  }
}
.ct-spinner9-wrap {
  position: absolute;
  top: 50%;
  @include transform(translate(0px, -50%));
  left: 0;
  right: 0;
  width: 45px;
  height: 45px;
  margin: auto;
}
.ct-spinner9 {
  margin: 0 auto;
  width: 45px;
  height: 45px;
  position: relative;
  text-align: center;
  -webkit-animation: ct-rotate 2.0s infinite linear;
  animation: ct-rotate 2.0s infinite linear;
  .dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: $primary_color;
    @include border-radius(100%);
    -webkit-animation: ct-bounce 2.0s infinite ease-in-out;
    animation: ct-bounce 2.0s infinite ease-in-out;
  }
  .dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }
}
.loading-infinity {
  width: 120px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  @include transform(translate(-50%, -50%));
  div,
  span {
      position: absolute;
  }
  div {
      top: 0;
      left: 50%;
      width: 70px;
      height: 70px;
      animation: ctLoadingrotate 6.9s linear infinite;
      span {
        left: -10px;
        top: 50%;
        margin: -10px 0 0 0;
        width: 20px;
        height: 20px;
        display: block;
        background: $primary_color;
        box-shadow: 2px 2px 8px rgba($primary_color_hex, .09);
        border-radius: 50%;
        transform: rotate(90deg);
        animation: ctLoadingmove 6.9s linear infinite;
        &:before,
        &:after {
            content: '';
            position: absolute;
            display: block;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            background: inherit;
            top: 50%;
            left: 50%;
            margin: -10px 0 0 -10px;
            box-shadow: inherit;
        }
        &:before {
            animation: ctLoadingdrop1 .8s linear infinite;
        }
        &:after {
            animation: ctLoadingdrop2 .8s linear infinite .4s;
        }
      }
      &:nth-child(2) {
        animation-delay: -2.3s;
        span {
            animation-delay: -2.3s;
        }
      }
      &:nth-child(3) {
        animation-delay: -4.6s;
        span {
            animation-delay: -4.6s;
        }
      }
  }
}
@keyframes ctLoadingrotate {
  50% {
      transform: rotate(360deg);
      margin-left: 0;
  }
  50.0001%,
  100% {
    margin-left: -70px;
  }
}
@keyframes ctLoadingmove {
  0%,50% {
    left: -10px;
  }
  25% {
      background: $secondary_color;
  }
  75% {
      background: #85cc02;
  }
  50.0001%,
  100% {
    left: auto;
    right: -10px;
  }
}
@keyframes ctLoadingdrop1 {
  100% {
      transform: translate(32px, 10px) scale(0);
  }
}
@keyframes ctLoadingdrop2 {
  0% {
      transform: translate(0, 0) scale(.9);
  }
  100% {
      transform: translate(32px, -10px) scale(0);
  }
}
/* End Page Loading */


/* Modal and Hidden Sidebar */
.ct-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  @include transition(all 1s ease);
  .ct-modal-close {
    position: absolute;
    top: 60px;
    right: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    height: 60px;
    width: 60px;
    z-index: 99;
    color: #000;
    @include border-radius(100%);
    text-align: center;
    @include transition(all .8s cubic-bezier(.4,0,0,1));
    transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    @include transform(scale(0));
    opacity: 0;
    visibility: hidden;
    &:before {
      content: '';
      @include transition(all 300ms linear 0ms);
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #fff;
      z-index: -1;
      @include border-radius(100%);
      position: absolute;
    }
    &:hover:before {
      @include transform(scale(1.1));
    }
  }
  .ct-modal-overlay {
    position: fixed;
    width: 224vw;
    height: 224vw;
    top: calc(90px - 112vw);
    right: calc(100px - 112vw);
    z-index: 3;
    display: block;
    background-color: rgba(#000000, 0.9);
    @include border-radius(50%);
    @include transform(scale(0));
    -webkit-transform-origin: center;
    transform-origin: center;
    @include transition(transform .8s ease-in-out);
    transition-delay: .3s;
    -webkit-transition-delay: .3s;
  }
  .ct-modal-content {
    position: fixed;
    width: 0;
    max-width: 1200px;
    padding: 30px 15px;
    left: 50%;
    top: 50%;
    opacity: 0;
    z-index: 3;
    @include transform(translate(-50%,-50%));
    @include transition(opacity .5s 0s,width .8s .8s cubic-bezier(.225,.01,.475,1.01),transform .2s 0s);
    transition-delay: 0s, 0.4s, 0s;
    transition-delay: .2s;
    -webkit-transition-delay: .2s;
  }
  &.open {
    z-index: 9999;
    .ct-modal-close {
      opacity: 1;
      visibility: visible;
      @include transform(scale(1));
      transition-delay: .3s;
      -webkit-transition-delay: .3s;
    }
    .ct-modal-overlay {
      @include transform(scale(1));
      transition-delay: 0s;
      -webkit-transition-delay: 0s;
      opacity: 1;
      @include transition(transform 1.6s cubic-bezier(.4,0,0,1));
    }
    .ct-modal-content {
      width: 100%;
      opacity: 1;
      transition-delay: .7s;
      -webkit-transition-delay: .7s;
    }
  }
  &.ct-modal-search .ct-modal-content {
    max-width: 680px;
  }
}
.ct-modal-search {
  .search-form-popup {
    position: relative;
  }
  .search-field {
    background-color: transparent;
    border: none;
    height: 60px;
    padding-left: 0;
    padding-right: 60px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 2px solid rgba(#fff, 0.87);
    &:focus {
      border-color: rgba(#fff, 0.87);
    }
  }
  .search-submit {
    font-size: 28px;
    color: #fff;
    background-color: transparent;
    background-image: none;
    border: none;
    padding: 0;
    height: 60px;
    width: 60px;
    line-height: 60px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    &:before, &:after {
      display: none;
    }
  }
}

.ct-hidden-sidebar-overlay, .ct-widget-cart-overlay {
  background-color: rgba(#000000, 0.82);
  height: 100%;
  width: 100%;
  right: 0;
  top: 0;
  position: fixed;
  z-index: 1026;
  @include transform(scaleX(0));
  transform-origin: 100% 50%;
  -webkit-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  @include transition(transform .8s ease .0s);
  transition-delay: .2s;
    -webkit-transition-delay: .2s;
  cursor: url(../images/pointer.png), auto;
}

.ct-hidden-sidebar {
  position: fixed;
  z-index: 1029;
  top: 0;
  right: 0;
  bottom: 0;
  width: 375px;
  background-color: #fff;
  font-size: 15px;
  line-height: 26px;
  color: #383838;
  overflow: hidden;
  @include transform(translateX(380px));
  @include transition(transform .8s ease .0s);
  transition-delay: 0s;
    -webkit-transition-delay: 0s;
  .ct-hidden-sidebar-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    margin: 115px -15px 90px 0;
    padding: 0 60px 0 60px;
    @media #{$max-xl} {
      margin: 85px -15px 60px 0;
      padding: 0 60px 0 50px;
    }
  }
  .ct-hidden-close {
    height: 40px;
    width: 40px;
    font-size: 24px;
    line-height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: center;
    @include transition(all 300ms linear 0ms);
    cursor: pointer;
    display: inline-block;
    &:hover {
      @include transform(rotate(180deg));
    }
  }
  section.widget {
    margin-bottom: 54px;
    &:last-child {
      margin-bottom: 0;
    }
    &.logo-hidden-sidebar {
      margin-bottom: 30px;
      img {
        max-height: 75px;
        width: auto;
      }
    }
    + .ct-getintouch {
      margin-top: -15px;
    }
  }
}

.ct-hidden-sidebar-wrap.open {
  .ct-hidden-sidebar-overlay {
    @include transform(scaleX(1));
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
  }
  .ct-hidden-sidebar {
    @include transform(translateX(0px));
    transition-delay: .3s;
    -webkit-transition-delay: .3s;
  }
}

.ct-widget-cart-wrap.open {
  .ct-widget-cart-overlay {
    @include transform(scaleX(1));
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
  }
  .ct-widget-cart-sidebar {
    @include transform(translateX(0px));
    transition-delay: .3s;
    -webkit-transition-delay: .3s;
    @include box-shadow(0 2px 27px rgba(54, 54, 54, 0.13));
  }
}

/* End Modal */

@media #{$max-xs} {
  .col-xs-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xs-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xs-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xs-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xs-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xs-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xs-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xs-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xs-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xs-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xs-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.ct-demo-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    background: #fff;
    z-index: 99999;
    height: 100%;
    text-align: center;
    @include transform(translate(301px, 0px));
    @include transition(transform .6s ease);
    @media #{$max-xs} {
      width: 260px;
      @include transform(translate(260px, 0px));
      display: none;
    }
    &.active {
        @include transform(translate(0px, 0px));
    }
    .ct-demo-option {
        position: absolute;
        top: 198px;
        left: -40px;
        height: 110px;
        padding: 10px 0;
        width: 40px;
        background-color: #fff;
        @include box-shadow(0 3px 15px rgba(0,0,0,.1));
        @include border-radius(5px 0 0 5px);
        span {
            position: absolute;
            background-color: #222;
            color: #fff;
            white-space: nowrap;
            padding: 0 12px;
            font-size: 13px;
            top: 0;
            right: 100%;
            margin-right: 12px;
            opacity: 0;
            visibility: hidden;
            @include transition(all 300ms linear 0ms);
            &:before {
                content: '';
                border-color: #222;
                border-style: solid;
                border-color: transparent transparent transparent #222;
                border-width: 6px;
                position: absolute;
                top: 50%;
                right: -12px;
                @include transform(translate(0, -50%));
            }
        }
        a {
            display: block;
            color: #222;
            font-size: 15px;
            height: 30px;
            line-height: 30px;
            position: relative;
            &:first-child {
                font-size: 16px;
            }
            &:hover span {
                opacity: 1;
                visibility: visible;
            }
        }
        .far {
          font-family: "Font Awesome 5 Pro";
        }
    }
    .ct-demo-bar-meta {
        padding: 40px 20px 0 20px;
        h4 {
            font-size: 18px;
        }
    }
    .ct-demo-bar-inner {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        @include box-shadow(-1px 1px 10px rgba(0,0,0,.1));
        overflow: auto;
        height: 100%;
        color: #222;
        line-height: 1.5;
        font-size: 14px;
        &:hover {
            overflow-y: auto;
        }
    }
    .ct-demo-bar-list {
        list-style: none;
        margin: 0;
        padding: 20px;
    }
    .ct-demo-bar-item {
        position: relative;
        @include box-shadow(0 0 10px rgba(0,0,0,0.11));
        &:before {
            z-index: 1;
            content: '';
            background-color: rgba(#000, 0.78);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            @include transition(all 300ms linear 0ms);
            opacity: 0;
        }
        .ct-demo-bar-holder {
            position: absolute;
            top: 50%;
            padding: 20px;
            left: 0;
            right: 0;
            @include transform(translate(0, -50%));
            @include transition(all 300ms linear 0ms);
            opacity: 0;
            z-index: 2;
            h6 {
                color: #fff;
                margin-bottom: 18px;
            }
            .btn {
                line-height: 40px;
                font-size: 14px;
                padding: 0 20px;
            }
        }
        + .ct-demo-bar-item {
            margin-top: 20px;
        }
        &:hover {
            &:before, .ct-demo-bar-holder {
                opacity: 1;
            }
        }
    }
}

.ct-slick-carousel.slick-shadow {
  margin: 0 -30px 0 -30px;
  padding-left: 30px;
  padding-right: 30px;
  overflow: hidden;
  .slick-list {
      overflow: visible;
  }
  .slick-slide {
    @include transition(.3s cubic-bezier(.24,.74,.58,1));
    opacity: 0;
    &.slick-active {
      opacity: 1;
    }
  }
}