/*--------------------------------------------------------------
  09. General
----------------------------------------------------------------*/
.background-parallax {
  position: relative;
  overflow: hidden;
  .parallax-image {
    top: 0;
    left: 0;
    img {
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }
  }
  .content-for-parallax {
    position: relative;
    z-index: 2;
  }
}

.max-height-750{
  max-height: 750px;
}


.cs-hover-card-anim {
  position: relative;
  overflow: hidden;
  transition: background-image var(--theme-transition);
  &:hover {
    background-color: var(--theme_bg_primary);
    transition: background-image var(--theme-transition);
  }
  .content-for-top {
    position: relative;
    z-index: 10;
    transition: var(--theme-transition);
  }
}
.magic {
  position: absolute;
  z-index: 0;
  transition: var(--theme-transition);
  opacity: 1;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.cs-hover-card-anim[data-ser="hover-reveal"]:hover .magic {
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.animate-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  .reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme_bg_primary);
    z-index: 9;
  }
  .the-animated-image {
    object-fit: cover;
    transform: scale(1.1);
  }
}

.opacity05 {
  opacity: 0.5;
}
.opacity02 {
  opacity: 0.2;
}
.opacity01 {
  opacity: 0.1;
}
.cs-animated-text {
  position: relative;
  text-transform: uppercase;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

.swiper-button-next {
  ::after {
    display: none !important;
  }
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}

.theme-border-wrap {
  position: relative;

  .b-top-left {
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--theme-transition);
    z-index: 20;
  }
  .b-top-right {
    position: absolute;
    top: 0;
    right: 0;
    transition: var(--theme-transition);
    z-index: 20;
  }
  .b-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--theme-transition);
    z-index: 20;
  }
  .b-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    transition: var(--theme-transition);
    z-index: 20;
  }
  &:hover {
    .b-top-left {
      top: 20px;
      left: 20px;
      transition: var(--theme-transition);
      opacity: 0.3;
    }
    .b-top-right {
      top: 20px;
      right: 20px;
      transition: var(--theme-transition);
      opacity: 0.3;
    }
    .b-bottom-right {
      bottom: 20px;
      right: 20px;
      transition: var(--theme-transition);
      opacity: 0.3;
    }
    .b-bottom-left {
      bottom: 20px;
      left: 20px;
      transition: var(--theme-transition);
      opacity: 0.3;
    }
  }
}
.theme-dark.theme-border-wrap {
  .horizontal,
  .verticle {
    background: var(--themecolor_secondary);
  }
}

@keyframes horizontal-grow {
  0% {
    width: 0;
  }
  100% {
    width: 50px;
  }
}

@keyframes vertical-grow {
  0% {
    height: 0;
  }
  100% {
    height: 50px;
  }
}

.horizontal {
  width: 50px;
  height: 1px;
  background: var(--themecolor);
  animation: horizontal-grow 0.5s ease-out forwards;
}

.verticle {
  width: 1px;
  height: 50px;
  background: var(--themecolor);
  animation: vertical-grow 0.5s ease-out forwards;
}

.lg-gutter-control {
  margin-bottom: -30px;
}

.flex-end {
  align-items: flex-end;
}
.flex-start {
  align-items: flex-start;
}

blockquote {
  padding: 50px;
  font-size: 26px;
  line-height: 140%;
  background: var(--theme_bg_primary);
}

@media screen and (min-width: 1400px) {
  .stickysec-wrap {
    position: relative;
    .sticky-box {
      float: right;
      width: 415px;
      .sticky-box-child {
        display: block;
        width: 415px;
      }
    }

    .fixed-position {
      position: fixed;
      top: 30px;
      width: 415px;
    }
    .absolute-position {
      position: absolute;
      bottom: 25px;
      width: 415px;
    }
  }
}

.cs-heading-with-animation {
  position: relative;
  .cs-heading {
    z-index: 2;
  }

  &.text-center {
    text-align: center !important;
    display: flex;
    justify-content: center;
  }
}
.cs-animated-text {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  opacity: 0.08;
}

.cs-w-full {
  width: 100%;
}

.cs-constr-arrow-wrap {
  .constr-arrow-in {
    display: flex;
    gap: 15px;
    i {
      font-size: 20px;
      line-height: 0px;
    }
    .constr-nvigate {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      cursor: pointer;
    }
    .cs-arrow-left {
      transform: rotate(-180deg);
    }
  }
}

.cs-max-width-200 {
  max-width: 200px;
}

.max-width-800 {
  max-width: 800px;
}
.max-width-700 {
  max-width: 700px;
}
.max-width-600 {
  max-width: 600px;
}
.max-width-1120 {
  max-width: 1120px;
}
.max-width-740 {
  max-width: 740px;
}

hr {
  margin: 0;
  padding: 0;
  border: none;
  border-top: 1px solid #f2f1ff;
}
.jcb {
  justify-content: space-between;
}

.mp-0 {
  margin: 0px;
  padding: 0px;
}
.cs_bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.cs_vertical_middle {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.cs_vertical_middle_in {
  flex: none;
  width: 100%;
}
.cs-flex {
  display: flex;
}

.cs_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

label {
  margin-bottom: 12px;
}

//end cs_back_to_services_btn
@media screen and (max-width: 991px) {
  .cs_column_reverse_lg {
    flex-direction: column-reverse;
  }

  .cs_row_gap_150 {
    > div {
      margin-bottom: -30px;
    }
  }
}

.cs_toggle {
  position: relative;
  font-size: 18px;
  cursor: pointer;
  z-index: 10000;
  .setting_mode {
    position: fixed;
    right: 0;
    top: 40%;
    -webkit-transition: all 0.2s;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: all 0.2s;
    button {
      border: none;
      background-color: #2b2b2f;
      padding: 10px;
      img {
        width: 100%;
        height: 30px;
      }
    }
    #clecel {
      display: none;
    }
  }
  .cs_mode_btn {
    position: fixed;
    right: -120px;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    mix-blend-mode: exclusion;
    button {
      border: none;
      background-color: #2b2b2f;
      color: #8f8f8fee;
      padding: 10px;
    }
    .active {
      color: #fff;
    }
  }
}

.cs-container-border {
  margin: auto;
  height: 1px;
  background: var(--theme_light_border);
}

// Scrollbar Style
::-webkit-scrollbar {
  width: 5px;
  background: var(--themecolor);
  opacity: 0.2;
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-track {
  box-shadow: none;
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-thumb {
  background: var(--theme_black);
  transition: all 0.4s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme_black);
  transition: all 0.4s ease-in-out !important;
}

.cs-icon20-0 {
  font-size: 20px;
  line-height: 0px;
}
