:root{
  --h2-max-font-size: 65;
  --subheading-max-font-size: 13;
  --distance-min-xsmall: 30;
  --distance-min-small: 30;
  --distance-min-medium: 50;
  --distance-min-large: 100;
  --distance-min-xlarge: 160;
  --distance-max-xsmall: 50;
  --distance-max-small: 120;
  --distance-max-normal: 240;
  --distance-max-large: 360;
  --distance-max-xlarge: 400;
  --gutter-horizontal: 120px;
  --gutter-vertical: 80px;
  --preloader-circle-max-size: 960;
  --preloader-circle-min-size: 280
}
/* Grid */
.grid-item-inner .item--icon img {
  display: inline-block;
}
.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: 0px;
    .btn {
      padding: 0 40px;
      &:before {
        content: '';
        width: 16px;
        height: 16px;
        @include border-radius(100%);
        border-color: transparent #fff transparent #fff;
        border-width: 1px;
        border-style: solid;
        position: absolute;
        top: 0;
        right: 14px;
        bottom: 0;
        margin: auto;
        animation: ctspin 0.6s infinite linear;
        -webkit-animation: ctspin 0.6s infinite linear;
        box-sizing: border-box;
        z-index: 2;
        opacity: 0;
      }
      &.loading-active {
        padding-right: 50px;
        &:before {
          opacity: 1;
        }
      }
    }
  }
  .ct-posts-pagination {
    margin-top: 0;
    .page-numbers {
      margin-top: 0;
      margin-bottom: 10px;
    }
  }
  .ct-grid-pagination {
    padding: 0 15px;
    .posts-page-links {
      justify-content: center;
    }
  }
  .item-featured a {
    display: block;
  }
  .btn-loadmore i {
    margin-left: 0;
    margin-right: 0;
    &.fa-refresh {
      margin-right: 8px;
    }
  }
  &.item--no-space {
    margin: 0;
    .grid-item {
      padding: 0;
      .grid-item-inner {
        margin-bottom: 0 !important;
      }
    }
  }
}
.ct-grid-inner.row {
  margin: 0;
}
.grid-filter-wrap {
  margin-bottom: 35px;
  padding: 0 15px;
  span { 
    margin: 0 6px 15px;
    font-size: 16px;
    line-height: 30px;
    color: #383838;
    font-weight: 700;
    position: relative;
    cursor: pointer;
    display: inline-block;
    z-index: 1;
    padding: 7px 23px;
    @include border-radius(35px);
    background-color: #f1f1f1;
    @include font-family-heading($heading_default_font);
    @include transition(.3s cubic-bezier(.24,.74,.58,1));
    &.active, &:hover {
      background-color: $primary_color;
      color: #fff;
    }
  }
}

/* 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;
  }
}

.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;
    }
  }
}

.ct-nav-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  .nav-prev, .nav-next {
      height: 30px;
      width: 30px;
      position: relative;
      z-index: 1;
      display: inline-block;
      cursor: pointer;
      background-color: transparent;
      @include border-radius(5px);
      @include transition(all 200ms linear 0ms);
      color: #1a2428;
      border: 1px solid #1a2428;
      i {
        font-size: 14px;
        position: absolute;
        top: 50%;
        left: 50%;
        @include transform(translate(-50%, -50%));
      }
      &:hover {
        background-color: $primary_color;
        border-color: $primary_color;
        color: #ffffff;
      }
  }
  .nav-prev {
    @include transform(scaleX(-1));
  }
  .nav-next {
    margin-left: 16px;
  }
}

.ct-slick-filter-wrap .slick-track {
  display: flex;
  .slick-filter-active {
    animation: flipX 600ms ease-out infinite;
    -webkit-animation: flipX 600ms ease-out infinite;
    animation-iteration-count: 1;
  }
}

.ct-slick-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  .filter-item {
    height: 40px;
    font-size: 14px;
    line-height: 40px;
    padding: 0 26px;
    color: #010148;
    @include border-radius(4px);
    @include box-shadow(0 0 0 1px #f0efef);
    background-color: #fff;
    font-weight: 600;
    margin: 0 10px 20px 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    &:before {
      opacity: 0;
      width: 50px;
      height: 50px;
      content: '';
      position: absolute;
      top: -13px;
      left: -28px;
      @include border-radius(50px);
      z-index: -1;
      background-color: rgba(#fff, 0.32);
      @include transition(.3s cubic-bezier(.24,.74,.58,1));
    }
    &:hover, &.active, &:focus {
      background-color: $primary_color;
      color: #fff;
      border: none;
      @include box-shadow(none);
      &:before {
        opacity: 1;
      }
    }
  }
}

.ct-slick-carousel {
  .slick-arrow {
    width: 38px;
    height: 38px;
    cursor: pointer;
    @include transition(all 300ms linear 0ms);
    @include border-radius(47px);
    position: absolute;
    padding: 0;
    background-color: #e8e8e8;
    color: #222;
    background-image: none;
    font-size: 0;
    bottom: 0;
    left: 50%;
    @include transform(translate(-50%, 0));
    background-repeat: no-repeat;
    background-position: center;
    @include box-shadow(none !important);
    &:before {
      font-family: "Caseicon";
      font-size: 12px;
      position: absolute;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
      font-weight: 400;
    }
    &:after {
      display: none;
    }
    &:hover {
      background-color: $primary_color;
      color: #fff;
      @include box-shadow(0 3px 5px rgba(#000, 0) !important);
    }
    &.slick-disabled {
      cursor: no-drop;
    }
  }
  .slick-prev {
    margin-left: -30px;
    &:before {
      content: '\f103';
    }
  }
  .slick-next {
    margin-left: 30px;
    &:before {
      content: "\f104";
    }
  }
  &[data-arrows="true"] {
    padding-bottom: 75px;
  }
  &.ct-slick-arrow-middle {
    .slick-arrow {
      margin: 0;
      bottom: auto;
      top: 50%;
      @include transform(translate(0, -50%));
      opacity: 0;
      visibility: hidden;
      &.slick-prev {
        left: -58px;
        right: auto;
      }
      &.slick-next {
        left: auto;
        right: -58px;
      }
    }
    &[data-arrows="true"] {
      padding-bottom: 0px;
    }
    &:hover .slick-arrow {
      opacity: 1;
      visibility: visible;
      &.slick-prev {
        left: -38px;
        @media #{$max-lg} {
          left: 30px;
        }
      }
      &.slick-next {
        right: -38px;
        @media #{$max-lg} {
          right: 30px;
        }
      }
    }
  }
}

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

.slick-dots {
  margin: 42px 0 18px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  li {
    display: flex;
    margin: 0 8px;
    line-height: 1;
    button {
      height: 6px;
      width: 6px;
      font-size: 0px;
      padding: 0;
      @include border-radius(6px);
      @include box-shadow(none);
      z-index: 1;
      overflow: visible !important;
      background: $secondary_color;
      &:before {
        color: #333333;
        font-size: 18px;
        font-weight: 700;
        @include font-family-heading($heading_default_font);
        position: absolute;
        top: 50%;
        left: 50%;
        @include transform(translate(-50%, -50%));
        opacity: 0;
        @include transition(.3s cubic-bezier(.24,.74,.58,1));
      }
      &:after {
        content: '';
        opacity: 0;
        height: 20px;
        width: 20px;
        border: 2px solid $primary_color;
        position: absolute;
        top: 50%;
        left: 50%;
        @include transform(translate(-50%, -50%));
        @include border-radius(20px);
        @include transition(.3s cubic-bezier(.24,.74,.58,1));
      }
    }
    &.slick-active {
      button {
        background: $primary_color;
        &:before, &:after {
          opacity: 1;
        }
      }
    }
  }
}

.slick-dots-style2 {
  .slick-dots {
    li {
      button {
        height: 10px;
        width: 10px;
        background-color: $secondary_color;
        &:before {
          display: none;
        }
        &:after {
          opacity: 0;
          height: 22px;
          width: 22px;
        }
      }
      &.slick-active button {
        background-color: $primary_color;
        @include transform(scale(0.8));
        &:after {
          opacity: 1;
        }
      }
    }
  }
}
.slick-dots-style3 {
  .slick-dots {
    li {
      margin-left: 4px;
      margin-right: 4px;
      button {
        height: 12px;
        width: 12px;
        background-color: #f8f8f8;
        border-radius: 12px;
        &:before, &:after {
          display: none;
        }
      }
      &.slick-active button {
        background-color: #00d7a8;
        @include transform(scale(0.8));
        width: 50px;
        height: 8px;
      }
    }
  }
}
.ct-slick-slider {
  .ct-carousel-inner {
    margin: 0 -15px;
    .slick-slide {
        padding: 0 15px;
    }
  }
}

.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;
    }
  }
}

/* End Carousel */

/* Page Loading */
#ct-loadding {
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 999999;
  top: 0;
  left: 0;
  @include transition(.3s cubic-bezier(.27,.76,.38,.87));
  &.style3 + .ct-page-loading-bg, &.style5 + .ct-page-loading-bg  {
    background-color: #fff;
  }
  .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: 80px;
      margin: -40px auto 0;
      position: relative;
      top: 50%;
      width: 80px;
      .spinner {
        width:80px;   
        height:80px;   
        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:4px solid $primary_color;   
          position:relative;
          &:after {
            content:"";   
            width:4px;   
            height:4px;   
            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:-4px;   
            left:-2px
          }
        }
        .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:-4px;   
            right:-2px
          }
        }
      }
  }
  .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: 130px;
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  > div {
    margin: 0 8px;
    width: 20px;
    height: 20px;
    background-color: rgba($primary_color, 0.8);
    @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;
  }
}
.ct-loading-industo {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  .item {
    width: 22px;
    height: 22px;
    background-color: $primary_color;
    @include border-radius(100%);
    position: absolute;
  }
  .item-1 {
    top: 0;
    left: 0;
    z-index: 1;
    animation: item-1_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
  }

  .item-2 {
    background-color: transparent;
    border: 3px solid $gradient_color_to;
    top: 0;
    right: 0;
    animation: item-2_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
    &:before {
      background-color: $primary_color;
      content: '';
      width: 8px;
      height: 8px;
      @include border-radius(8px);
      position: absolute;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
    }
  }

  .item-3 {
    bottom: 0;
    right: 0;
    z-index: 1;
    animation: item-3_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
  }

  .item-4 {
    bottom: 0;
    left: 0;
    background-color: $gradient_color_to;
    animation: item-4_move 1.8s cubic-bezier(.6,.01,.4,1) infinite;
  }
}
.ct-gears {
   width: 350px;
   display: block;
   text-align: center;
   font-weight: bold;
   font-family: Arial;
   color: #fff;
   text-shadow: 1px 1px 2px #5F868A;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ct-gears .big {
   width: 70px;
   height: 70px;
   -webkit-transform-origin: center;
   -moz-transform-origin: center;
   -o-transform-origin: center;
   transform-origin: center;
   -webkit-animation: ct-rotate 0.5s linear infinite;
   -moz-animation: ct-rotate 0.5s linear infinite;
   -o-animation: ct-rotate 0.5s linear infinite;
   animation: ct-rotate 0.5s linear infinite
}

.ct-gears .small {
   width: 50px;
   height: 50px;
   margin-left: -12px;
   -webkit-transform-origin: center;
   -moz-transform-origin: center;
   -o-transform-origin: center;
   transform-origin: center;
   -webkit-animation: reverseRotate 0.3s linear infinite;
   -moz-animation: reverseRotate 0.3s linear infinite;
   -o-animation: reverseRotate 0.3s linear infinite;
   animation: reverseRotate 0.3s linear infinite;
}
@-webkit-keyframes ct-rotate {
   0% {
      -webkit-transform: rotate(0);
      transform: rotate(0);
   }
   100% {
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg);
   }
}


@-moz-keyframes ct-rotate {
   0% {
      -moz-transform: rotate(0);
      transform: rotate(0);
   }
   100% {
      -moz-transform: rotate(180deg);
      transform: rotate(180deg);
   }
}


@-o-keyframes ct-rotate {
   0% {
      -o-transform: rotate(0);
      transform: rotate(0);
   }
   100% {
      -o-transform: rotate(180deg);
      transform: rotate(180deg);
   }
}


@keyframes ct-rotate {
   0% {
      -webkit-transform: rotate(0);
      -moz-transform: rotate(0);
      -o-transform: rotate(0);
      transform: rotate(0);
   }
   100% {
      -webkit-transform: rotate(180deg);
      -moz-transform: rotate(180deg);
      -o-transform: rotate(180deg);
      transform: rotate(180deg);
   }
}

@-webkit-keyframes reverseRotate {
   0% {
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg);
   }
   100% {
      -webkit-transform: rotate(0);
      transform: rotate(0);
   }
}

@-moz-keyframes reverseRotate {
   0% {
      -moz-transform: rotate(180deg);
      transform: rotate(180deg);
   }
   100% {
      -moz-transform: rotate(0);
      transform: rotate(0);
   }
}

@-o-keyframes reverseRotate {
   0% {
      -o-transform: rotate(180deg);
      transform: rotate(180deg);
   }
   100% {
      -o-transform: rotate(0);
      transform: rotate(0);
   }
}

@keyframes reverseRotate {
   0% {
      -webkit-transform: rotate(180deg);
      -moz-transform: rotate(180deg);
      -o-transform: rotate(180deg);
      transform: rotate(180deg);
   }
   100% {
      -webkit-transform: rotate(0);
      -moz-transform: rotate(0);
      -o-transform: rotate(0);
      transform: rotate(0);
   }
}
@keyframes item-1_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(0, 28px)} 
  50% {transform: translate(28px, 28px)} 
  75% {transform: translate(28px, 0)} 
}

@keyframes item-2_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(-28px, 0)} 
  50% {transform: translate(-28px, 28px)} 
  75% {transform: translate(0, 28px)} 
}

@keyframes item-3_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(0, -28px)} 
  50% {transform: translate(-28px, -28px)} 
  75% {transform: translate(-28px, 0)} 
}

@keyframes item-4_move {
  0%, 100% {transform: translate(0, 0)} 
  25% {transform: translate(28px, 0)} 
  50% {transform: translate(28px, -28px)} 
  75% {transform: translate(0, -28px)} 
}
.ct-page-loading-bg {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  @include transform(scaleX(1));
  @include transition(transform .3s cubic-bezier(.27,.76,.38,.87));
  z-index: -1;
  z-index: 999998;
  transform-origin: right center;
  pointer-events: none;
}
/* End Page Loading */


/* Modal and Hidden Sidebar */
.ct-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  @include transition(.5s cubic-bezier(.24,.74,.58,1));
  @include transform(translateY(-100%));
  opacity: 0;
  .ct-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    @include border-radius(0);
    @include transition(.5s cubic-bezier(.24,.74,.58,1));
    transition-delay: 500ms;
    -webkit-transition-delay: 500ms;
    @include transform(scale(0));
    opacity: 0;
    z-index: 9999;
    background-color: $primary_color;
    width: 40px;
    height: 40px;
    .ct-icon-close {
      position: absolute;
      top: 50%;
      left: 50%;
      @include transform(translate(-50%, -50%));
      background-color: transparent;
      color: #fff;
      &:before, &:after {
        background-color: #fff;
      }
    }
  }
  .ct-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: block;
    background-color: rgba(#000, 0.9);
  }
  .ct-modal-content {
    position: fixed;
    width: 100%;
    max-width: 1200px;
    padding: 30px 15px;
    left: 50%;
    top: 50%;
    z-index: 3;
    @include transform(translate(-50%,-50%));
    @include transition(.5s cubic-bezier(.24,.74,.58,1));
    margin-top: 60px;
    transition-delay: 500ms;
    -webkit-transition-delay: 500ms;
    opacity: 0;
  }
  &.open {
    @include transform(translateY(0%));
    opacity: 1;
    .ct-modal-close {
      @include transform(scale(1));
      opacity: 1;
    }
    .ct-modal-content {
      margin-top: 0;
      opacity: 1;
    }
  }
  &.remove {
    @include transform(translateY(-100%));
    opacity: 0;
    transition-delay: 500ms;
    -webkit-transition-delay: 500ms;
    .ct-modal-content {
      margin-top: 60px;
      transition-delay: 0ms;
      -webkit-transition-delay: 0ms;
    }
    .ct-modal-close {
      @include transform(scale(0));
      transition-delay: 0ms;
      -webkit-transition-delay: 0ms;
    }
  }
  &.ct-modal-search .ct-modal-content {
    max-width: 680px;
  }
}

.admin-bar .ct-modal {
  top: 32px;
}

.ct-modal-search {
  max-height: 410px;
  .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;
    border-bottom: 1px solid rgba(#fff, 0.67);
    @include font-family-heading($heading_default_font);
    letter-spacing: 0.025em;
    &:focus {
      border-color: rgba(#fff, 0.67);
    }
  }
  .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;
    i {
      font-weight: 400;
      margin-right: 5px;
    }
    &:before, &:after {
      display: none;
    }
  }
}

.ct-hidden-sidebar-overlay, .ct-widget-cart-overlay {
  background-color: rgba(#000, 0.67);
  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: 20px;
    line-height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: center;
    @include transition(all 200ms 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;
    }
  }
}

.admin-bar .ct-hidden-sidebar {
  top: 32px;
}

.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;
            }
        }
    }
}

.preloader{
    display:flex;
    align-items:center;
    justify-content:center;
    position:fixed;
    top:0;
    left:0;
    width:50vw;
    height:50vh;
    z-index:9999;
    background-color:#0F0F0F;
    overflow:hidden
}
.preloader__circle{
    position:fixed;
    top:50%;
    left:50%;
    right:0;
    transform:translate(-50%, -50%);
    width:calc(1 * (var(--preloader-circle-min-size) * 1px));
    height:calc(1 * (var(--preloader-circle-min-size) * 1px));
    max-width:calc(100vh - var(--gutter-vertical) * 3);
    max-height:calc(100vh - var(--gutter-vertical) * 3);
    border-radius:100%;
    z-index:1;
    pointer-events:none
}
@media screen and (min-width: 320px){
    .preloader__circle{
        width:calc(1 * (var(--preloader-circle-min-size) * 1px + (var(--preloader-circle-max-size) - var(--preloader-circle-min-size)) * ((100vw - 320px) / 2240)))
    }
}
@media screen and (min-width: 2560px){
    .preloader__circle{
        width:calc(1 * (var(--preloader-circle-max-size) * 1px))
    }
}
@media screen and (min-width: 320px){
    .preloader__circle{
        height:calc(1 * (var(--preloader-circle-min-size) * 1px + (var(--preloader-circle-max-size) - var(--preloader-circle-min-size)) * ((100vw - 320px) / 2240)))
    }
}
@media screen and (min-width: 2560px){
    .preloader__circle{
        height:calc(1 * (var(--preloader-circle-max-size) * 1px))
    }
}
.preloader__heading {
  font-size: calc(var(--h2-max-font-size)*1px);
  letter-spacing: 0.05em;
  color: rgba(#fff, 0.76);
}
.preloader__subline {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: calc(var(--subheading-max-font-size)*1px);
}
.preloader__content{
    position:fixed;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    transform:translate(-50%, -50%);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    padding:30px;
    width:calc(1 * (var(--preloader-circle-min-size) * 1px));
    height:calc(1 * (var(--preloader-circle-min-size) * 1px));
    max-height:calc(100vh - var(--gutter-vertical) * 3)
}
@media screen and (min-width: 320px){
    .preloader__content{
        width:calc(1 * (var(--preloader-circle-min-size) * 1px + (var(--preloader-circle-max-size) - var(--preloader-circle-min-size)) * ((100vw - 320px) / 2240)))
    }
}
@media screen and (min-width: 2560px){
    .preloader__content{
        width:calc(1 * (var(--preloader-circle-max-size) * 1px))
    }
}
@media screen and (min-width: 320px){
    .preloader__content{
        height:calc(1 * (var(--preloader-circle-min-size) * 1px + (var(--preloader-circle-max-size) - var(--preloader-circle-min-size)) * ((100vw - 320px) / 2240)))
    }
}
@media screen and (min-width: 2560px){
    .preloader__content{
        height:calc(1 * (var(--preloader-circle-max-size) * 1px))
    }
}
.preloader__header{
    width:100%
}
.preloader__counter{
    white-space:nowrap
}
.preloader__counter-number{
    display:inline-block;
    width:40px
}
.preloader__counter-current{
    text-align:right
}
.preloader__counter-total{
    text-align:left
}
.preloader__curtain-svg{
    width:100%;
    height:100%;
    fill:#ccc
}
.preloader__curtain{
    position:absolute;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center
}
.preloader__curtain-curve{
    visibility:hidden
}
.preloader__curtain-normal{
    visibility:visible
}