:root {
  --orange: #e4573d;
  --orange-hover: #ca371c;
  --light: #f4f3ec;
  --body-color: #696969;
  --body-color-invert: rgba(255, 255, 255, .7);
  --black: #161616;
  --dark: #333;
  --grey: #666;
  --light-grey: #ccc;
  --text-light: #7e7e7e;
  --muted: #ababab;
  --background-light: #f8f8f8;
  --border-color: #ededed;
  --golden: #c5a374;
  --font-family-sans-serif: "Nunito Sans", sans-serif;
  --font-family-heading: "Libre Baskerville", serif;

  --img-blockquote: url(../images/double-quote-end.png);
  --img-feather: url(../images/bg-feather.png);
  --img-feather-big-dark: url(../images/bg-feather-big-dark.jpg);
  --img-sunflower: url(../images/bg-sunflower.png);
  --img-sunflower-big: url(../images/bg-sunflower-big.jpg);
  --img-home-hero: url(../images/home-hero.png);
  --img-home-hero-dark: url(../images/home-hero-dark.png);
  --img-jungle-waterflow: url(../images/bg-jungle-waterflow.jpg);
  --img-footer: url(../images/bg-footer.jpg);
  --img-book-1: url(../images/book-1.jpg);
  --img-book-2: url(../images/book-2.jpg);

  @media (max-width: 1199.98px) {
    --offcanvas-width: 280px;
  }
  @media (min-width: 1200px) {
    --offcanvas-width: 300px;
  }
}
body {
  color: var(--body-color);
  font-family: var(--font-family-sans-serif);
  font-size: 16px;
  line-height: 1.73;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a, a:focus, a:hover {
  color: var(--orange);
  transition: all .3s ease-in-out;
}
.font-heading {
  font-family: var(--font-family-heading) !important;
}
.font-body {
  font-family: var(--font-family-sans-serif) !important;
}
.bg-light {
  background-color: var(--light) !important;
}
.border-light-grey {
  border-color: var(--light-grey) !important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-family: var(--font-family-heading);
  font-weight: 400;
  line-height: 1.4;

  a {
    color: inherit;
    text-decoration: none;

    &:focus,
    &:hover {
      color: var(--orange);
    }
  }
}
a.hover-underline {
  position: relative;
  text-decoration: none !important;

  &:before {
    background-color: var(--orange);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    transition: transform .4s ease;
    transform: scale3d(0,1,1);
    transform-origin: 100% 50%;
    transition-timing-function: cubic-bezier(.8,0,.2,1);
    height: 1px;
  }

  &:focus,
  &:hover {
    &:before {      
      transform: scale3d(1,1,1);
      transform-origin: 0% 50%;
    }
  }
}
.fs-12 {
  font-size: 12px !important;
}
.fs-13 {
  font-size: 13px !important;
}
.fs-14 {
  font-size: 14px !important;
}
.fs-15 {
  font-size: 15px !important;
}
.fs-18 {
  font-size: 18px !important;
}
.display-5 {
  font-size: 3rem;
}
.font-weight-bolder {
  font-weight: 800 !important;
}
.container-xxl-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.mt-4d5, .my-4d5 {
  margin-top: 2.2rem !important;
}
.mb-4d5, .my-4d5 {
  margin-bottom: 2.2rem !important;
}
.pl-4d5, .px-4d5 {
  padding-left: 2.2rem !important;
}
.pr-4d5, .px-4d5 {
  padding-right: 2.2rem !important;
}
.pt-4d5, .py-4d5 {
  padding-top: 2.2rem !important;
}
.pb-4d5, .py-4d5 {
  padding-bottom: 2.2rem !important;
}
.text-primary {
  color: var(--orange) !important;
}
.text-white-invert {
  color: var(--body-color-invert) !important;
}
.text-body {
  color: var(--body-color) !important;
}
.text-dark {
  color: var(--dark) !important;
}
.text-light {
  color: var(--text-light) !important;
}
.text-muted {
  color: var(--muted) !important;
}
.text-golden {
  color: var(--golden) !important;
}
.text-hover-primary {
  &:focus,
  &:hover {
    color: var(--orange) !important;
  }
}
.btn {
  border-radius: 0;
  font-size: 0.813rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
}
.btn-icon-left .fa {
  margin-right: .5rem;
}
.btn-icon-right .fa {
  margin-left: .5rem;
}
.btn.btn-md, .btn.btn-sm, .btn.btn-xs {
  padding: 11px 25px;
  font-size: 13px;
  line-height: 20px;
}
.btn.btn-sm {
  padding: 12px 30px;
}
.btn.btn-md {
  padding: 13px 35px;
}
.btn.btn-lg {
  padding: 13px 50px;
}
.btn.btn-xl {
  padding: 13px 80px;
}
.btn-primary {
  background-color: var(--orange);
  border-color: var(--orange);

  &:focus,
  &:hover {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
  }
}
.btn-primary-inverted {
  background-color: var(--border-color);
  border-color: var(--border-color);
  color: var(--orange);

  &:focus,
  &:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
  }
}
.btn-outline-dark {
  border-color: #ccc;
}
.btn-black {
  color: #fff;
  background-color: var(--black);
  border-color: var(--black);

  &:focus,
  &:hover {
    color: #fff;
    background-color: var(--orange);
    border-color: var(--orange);
  }
}
.btn-grey {
  color: #fff;
  background-color: var(--grey);
  border-color: var(--grey);

  &:focus,
  &:hover {
    color: #fff;
    background-color: var(--orange);
    border-color: var(--orange);
  }
}
.btn-white {
  color: var(--body-color);
  background-color: #fff;
  border-color: #fff;

  &:focus,
  &:hover {
    color: #fff;
    background-color: var(--orange);
    border-color: var(--orange);
  }
}
.btn-link {
  background-color: transparent !important;
  border: none !important;
  color: var(--orange) !important;
  font-weight: 700;
  padding: 0 !important;
  position: relative;
  text-decoration: none !important;

  &:after {
    background-color: currentColor;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform .4s ease;
    transform: scale3d(0,1,1);
    transform-origin: 100% 50%;
    transition-timing-function: cubic-bezier(.8,0,.2,1);
    height: 1px;
  }

  &:focus,
  &:hover {
    &:after {
      transform: scale3d(1,1,1);
      transform-origin: 0% 50%;
    }    
  }
}
.btn-loader {
  overflow: hidden;
  position: relative;

  .btn-label {
    display: inline-block;
    transition: all .3s;
  }
  .loader-icon {
    opacity: 0;
    padding-top: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s;
  }

  &.loading {
    .btn-label {
      opacity: 0;
      transform: scale(5);
    }
    .loader-icon {
      opacity: 1;
    }
  }
}
.btn-hover-to-white {
  &:focus,
  &:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--orange);
  }
}
.btn-hover-to-black {
  &:focus,
  &:hover {
    background-color: var(--dark);
    border-color: var(--dark);
  }
}
.btn-hover-to-light-grey {
  &:focus,
  &:hover {
    background-color: var(--light-grey);
    border-color: var(--light-grey);
    color: var(--dark);
  }
}
.btn-hover-to-golden {
  &:focus,
  &:hover {
    background-color: var(--golden);
    border-color: var(--golden);
  }  
}
.form-control {
  background-color: var(--background-light) !important;
  border-radius: 0;
  border-color: transparent;
  color: var(--body-color);
  font-family: var(--font-family-heading);
  font-size: 14px;
  line-height: 1;
  outline: none;
  padding: 0 20px;
  transition: all .3s;
  height: 48px;

  textarea& {
    padding-top: 15px;
    height: 150px;
  }

  select& {
    font-family: var(--font-family-sans-serif);
  }

  &:focus {
    background-color: transparent !important;
    border-color: var(--orange);
    box-shadow: none;
  }

  &.bg-white {
    background-color: #fff !important;
  }
}
.custom-control-label {
  &:before {
    box-shadow: none !important;
  }
  .custom-checkbox &:before {
    background-color: var(--border-color);
    border: none;
    border-radius: 0;
  }
}
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--orange);
}
.breadcrumb {
  background-color: transparent;
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-style: italic;
  margin: 0;
  padding: 0;
}
.breadcrumb-item a {
  color: var(--body-color);
  text-decoration: none;
}
.breadcrumb-item a:focus,
.breadcrumb-item a:hover {
  color: var(--orange);
}
.breadcrumb-item.active {
  color: var(--orange);
}
.blockquote {
  font-family: var(--font-family-heading);
  font-weight: bold;
  line-height: 1.58;
  padding-left: 90px;
  position: relative;
}
.blockquote:before {
  background-image: var(--img-blockquote);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px;
  content: "";
  color: var(--orange);
  font-size: 50px;
  padding-right: 20px;
  position: absolute;
  top: 0;
  left: 0;
  text-align: right;
  width: 90px;
  height: 65px;
}
.tooltip-inner {
  background-color: var(--dark);
  border-radius: 0;
  font-size: 12px;
}
.tooltip.bs-tooltip-left .arrow::before {
  border-left-color: var(--dark);
}
.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: var(--dark);
}

.owl-carousel {
  .owl-stage-outer {
    margin-top: -50px;
    margin-bottom: -50px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .owl-dots {
    margin-top: 35px;
    text-align: center;

    .owl-dot {
      border-radius: 50%;
      display: inline-block;
      font-size: 0;
      position: relative;
      width: 16px;
      height: 16px;
      zoom: 1;

      &:not(:first-child) {
        margin-left: 19px;
      }

      &:before {
        border: 1px solid var(--orange);
        border-radius: 50%;
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        opacity: 0;
        transition: all .3s;
        transform: scale(.5);
      }

      span {
        background-color: rgba(51, 51, 51, .4);
        border-radius: 50%;
        display: inline-block;
        position: relative;
        margin: 3px;
        transition: all .3s;
        width: 10px;
        height: 10px;
      }

      &:focus,
      &:hover,
      &.active {
        &:before {
          transform: scale(1);
          opacity: 1;
        }
        span {
          background-color: transparent !important;
        }
      }
    }
  }
}
.offcanvas {
  background-color: #222;
  border-color: rgba(255,255,255,.3);
  backface-visibility: visible;
  border-bottom: 30px solid transparent !important;
  margin-left: calc(var(--offcanvas-width) * -1);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  transition: margin .5s cubic-bezier(.785,.135,.15,.86) .5s, visibility .1s 1s;
  visibility: hidden;
  max-width: var(--offcanvas-width);
  width: 80%;
  z-index: 100000;

  .close {
    color: #fff;
    font-size: 1.2rem;
    opacity: .7;
    position: absolute;
    top: .5rem;
    right: .8rem;
    text-shadow: none;

    &:focus,
    &:hover {
      color: #f00;
    }
  }

  .offcanvas-inner {
    opacity: 0;
    transform: translateY(50px);
    transition: transform .5s cubic-bezier(.785,.135,.15,.86), opacity .5s cubic-bezier(.785,.135,.15,.86);
  }

  .offcanvas-search {

    .input-group {
      background-color: #272727;
      color: rgba(255,255,255,.7);

      input {
        padding-right: 48px;
      }

      .input-group-append {
        margin-left: -48px;
        width: 48px;
      }
    }

    input,
    button {
      background-color: transparent;
      color: inherit;
    }
  }
}
.main-wrapper {
  transition: margin .5s cubic-bezier(.785,.135,.15,.86) .5s;
}
.aside-overlay {
  display: none;
  opacity: 0;
  transition: opacity .5s cubic-bezier(.785,.135,.15,.86) .5s;
}
body.offcanvas-open {
  .main-wrapper {
    margin-left: var(--offcanvas-width);
    margin-right: calc(var(--offcanvas-width) * -1);
    overflow: hidden;
    transition: margin .5s cubic-bezier(.785,.135,.15,.86);
  }

  .offcanvas.in {
    margin: 0 !important;
    transition: margin .5s cubic-bezier(.785,.135,.15,.86);
    visibility: visible;

    .offcanvas-inner {
      opacity: 1;
      transform: translateY(0);
      transition: transform .5s cubic-bezier(.785,.135,.15,.86) .5s, opacity .5s .5s;
    }
  }

  @media (max-width: 1199.98px) {
    .aside-overlay {
      background-color: rgba(0,0,0,0.7);
      display: block;
      opacity: 1;
      position: fixed;
      inset: 0;
      z-index: 9999;
    }
  }
}
.social-list-inline-square {
  li {
    margin-right: 15px !important;
    margin-bottom: 15px;
  }
  a {
    background-color: var(--orange);
    color: #fff;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    width: 30px;
    height: 30px;

    &:focus,
    &:hover {
      background-color: #fff;
      color: var(--orange);
    }
  }
}
.social-list-inline-round {
  li {
    margin-bottom: 8px;
  }
  a {
    border: 1px solid #ccc;
    border-radius: 50%;
    color: var(--body-color);
    display: inline-block;
    line-height: 40px;
    text-align: center;
    width: 40px;
    height: 40px;

    &:focus,
    &:hover {
      background-color: #fff;
      border-color: #fff;
      color: var(--orange);
    }
  }
}
.social-list-inline-fill {
  a {
    background-color: var(--light);
    border: none;
    color: var(--body-color);

    &:focus,
    &:hover {
      background-color: var(--orange);
      color: #fff;
    }
  }
}

header {
  transition: all .5s;
  height: var(--header-height);

  .navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;

    span {
      background-color: var(--dark);
      margin-left: -5px;
      position: relative;
      transition: all .3s;
      width: 15px;
      height: 2px;

      &:before,
      &:after {
        background-color: var(--dark);
        content: "";
        position: absolute;
        left: 0;
        transform-origin: 50% 50%;
        transition: all .3s;
        width: 20px;
        height: 2px;
      }
      &:before {
        top: -6px;
      }
      &:after {
        top: 6px;
      }
    }

    &:focus,
    &:hover {
      outline: none;
      span, span:before, span:after {
        background-color: var(--orange);
      }
    }
  }

  &.main-header {
  --header-height: 110px;

    nav {
      width: 750px;

      .nav-item {
        position: relative;
        display: block;
        line-height: 24px;

        > a {
          font-family: var(--font-family-sans-serif);
          font-size: 14px;
        }
        
        &:focus,
        &:hover {
          > .sub-menu {
            opacity: 1;
            transform: none;
            visibility: visible;
          }
        }
      }

      > ul > .nav-item:not(.logo) {
        padding-top: calc((var(--header-height) - 44px)/2);
        padding-bottom: calc((var(--header-height) - 44px)/2);
        transition: padding .5s;

        > a {
          font-weight: 800;
          padding: 10px 0;
          position: relative;
          text-transform: uppercase;

          &:after {
            content: "";
            position: absolute;
            height: 1px;
            bottom: 8px;
            left: -3px;
            right: -3px;
            background-color: var(--orange);
            transition: transform .4s ease;
            transition-timing-function: ease;
            transform: scale3d(0,1,1);
            transform-origin: 100% 50%;
            transition-timing-function: cubic-bezier(.8,0,.2,1);
          }

          &:focus,
          &:hover {
            &:after {
              transform: scale3d(1,1,1);
              transform-origin: 0% 50%;
            }
          }
        }
        
        &.nav-active {
          > a {
            color: var(--orange);
            &:after {
              transform: scale3d(1,1,1);
              transform-origin: 0% 50%;
            }
          }
        }
      }

      .logo-dark {
        display: block;
      }
      .logo-white {
        display: none;
      }

      .sub-menu {
        background-color: #fff;
        border-bottom: 2px solid var(--orange) !important;
        box-shadow: 0 9px 24px rgba(0,0,0,.15);
        font-size: 14px;
        font-weight: 700;
        list-style: none;
        opacity: 0;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        text-align: left;
        transform: translate3d(0,50px,0);
        transition: all .5s;
        visibility: hidden;
        z-index: 999;

        li {
          line-height: 22px;
          position: relative;
          min-width: 230px;

          &:first-child {
            margin-top: 15px;
          }
          &:last-child {
            margin-bottom: 21px;
          }

          a {
            color: var(--body-color);
            display: block;
            line-height: 20px;
            margin-left: 23px;
            margin-right: 20px;
            padding: 10px 0;
            transition: all .3s;
            white-space: nowrap;
          }

          &.nav-active {
            a {
              color: var(--orange);
            }
          }
        }

        &.open-left {
          top: 0;
          right: calc(100% + 1px);
        }

        &.open-right {
          top: 0;
          left: calc(100% + 1px);
        }

        &.mega-menu {
          a {
            margin: 0;
          }
        }
      }

      @media (min-width: 1300px) {
        width: 800px;
      }
      @media (min-width: 1400px) {
        width: 900px;
      }
    }
  }

  .menu-right {
    > li {
      margin-left: 25px;
      margin-right: 0 !important;

      a {
        font-size: 20px;
      }

      &.header-cart {
        position: relative;

        .cart-count {
          background-color: var(--orange);
          border-radius: 50%;
          color: #fff;
          font-size: 12px;
          line-height: 16px;
          position: absolute;
          top: 0;
          right: 0;
          text-align: center;
          transform: translateX(50%);
          width: 16px;
          height: 16px;
        }

        .mini-cart {
          background-color: #fff;
          box-shadow: 0 9px 24px rgba(0,0,0,.15);
          color: var(--body-color);
          font-size: 14px;
          font-weight: 700;
          list-style: none;
          opacity: 0;
          margin: 0;
          padding: 40px 20px;
          position: absolute;
          top: 100%;
          right: 0;
          text-align: left;
          transform: translate3d(0,50px,0);
          transition: all .5s;
          visibility: hidden;
          width: 320px;
          z-index: 999;
        }
        &:focus,
        &:hover {
          .mini-cart {
            opacity: 1;
            transform: none;
            visibility: visible;
          }
        }
      }
    }
  }

  &.mobile-header {
    --header-height: 70px;

    .logo-white {
      display: none;
    }
  }

  a {
    color: var(--body-color);

    &:focus,
    &:hover {
      color: var(--orange) !important;
      text-decoration: none;
    }
  }

  &.header-dark {
    a {
      color: #fff;
    }

    &.main-header {
      .navbar-toggler {
        span,
        span:before,
        span:after {
          background-color: #fff;
        }
      }
      nav > ul > .nav-item {
        > a {
          &:after {
            background-color: #fff;
          }
          &:focus,
          &:hover {
            color: #fff !important;
          }
        }
        &.nav-active {
          > a {
            color: #fff !important;
          }
        }
      }
      .logo-dark {
        display: none;
      }
      .logo-white {
        display: block;
      }
    }

    &.mobile-header {
      .logo-white {
        display: block;
      }
      .logo-dark {
        display: none;
      }
    }

    &.scroll-fixed {
      a {
        color: var(--body-color);
      }
    }

    &:not(.scroll-fixed) {
      .navbar-toggler {
        span,
        span:before,
        span:after {
          background-color: #fff;
        }
      }
    }
  }

  &.scroll-fixed {
    --header-height: 80px;
    background: #fff;
    box-shadow: 0 3px 7px -3px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;

    .navbar-toggler {
      span,
      span:before,
      span:after {
        background-color: var(--dark) !important;
      }
    }

    &.main-header {
      nav {
        > ul > .nav-item {
          > a {
            &:after {
              background-color: var(--body-color);
            }

            &:focus,
            &:hover {
              color: var(--orange) !important;

              &:after {
                background-color: var(--orange);
              }
            }
          }
          &.nav-active {
            > a {
              color: var(--orange) !important;

              &:after {
                background-color: var(--orange);
              }
            }
          }
          .logo-dark {
            display: block;
          }
          .logo-white {
            display: none;
          }
        }
      }
    }

    &.mobile-header {
      .logo-dark {
        display: block;
      }
      .logo-white {
        display: none;
      }
    }
  }

  &.header-hidden {
    transform: translate(0,-100%);
    box-shadow: none !important;
  }

  .navbar-toggler[aria-expanded="true"] {
    span {
      background-color: transparent !important;

      &:before,
      &:after {
        top: 0;
        transition: top .3s ease-in-out,transform .3s .5s ease-in-out,background .3s;
      }
      &:before {
        transform: rotate3d(0,0,1,-45deg);
      }
      &:after {
        transform: rotate3d(0,0,1,45deg);
      }
    }
  }
}
.mobile-menu {
  ul > li {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    position: relative;

    &:not(:last-child) {
      border-bottom: 1px solid #2e2e2e;
    }
    a {
      color: rgba(255, 255, 255, .7);
      display: inline-block;
      letter-spacing: .05em;
      line-height: 48px;
      padding: 0 1.5rem;
      text-decoration: none;
      text-transform: uppercase;
      transition: all .3s;
    }
    .fa {
      color: rgba(255, 255, 255, .7);
      display: inline-block;
      font-size: 10px;
      line-height: 48px;
      position: absolute;
      top: 0;
      right: 0;
      width: 48px;
      height: 48px;
      text-align: center;
      transition: all .3s;
    }

    &:focus,
    &:hover,
    &.active {
      > a,
      > .fa {
        color: rgba(255, 255, 255, 1);
      }
    }

    .sub-menu {
      background-color: #2e2e2e;
      display: none;
      position: relative;

      &:before {
        content: "";
        position: absolute;
        left: 20px;
        border-left: solid 6px transparent;
        border-right: solid 6px transparent;
        border-top: solid 6px #222;
      }

      li {
        border-color: #3a3a3a;

        .sub-menu {
          background-color: #3a3a3a;

          &:before {
            border-top-color: #2e2e2e;
          }
        }
      }
    }
  }
}

.s_subheader {
  h1 {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  &.s_subheader-background {
    display: flex;
    align-items: center;
    position: relative;
    height: 660px;

    .subheader-img {
      overflow: hidden;
      position: absolute;
      inset: 0;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }

      &:after {
        background-color: rgba(0, 0, 0, 0.4);
        content: "";
        display: block;
        position: absolute;
        inset: 0;
      }
    }

    .container {
      position: relative;
      z-index: 10;

      h1 {
        font-size: 56px;
        line-height: 1.4;
        margin: 0;
      }
    }

    @media (max-width: 991.98px) {
      height: 400px;

      .container h1 {
        font-size: 40px;
      }
    }

    @media (max-width: 767.98px) {
      height: 300px;

      .container h1 {
        font-size: 35px;
      }
    }
  }
}
.heading_sub_title {
  font-family: var(--font-family-heading);
  font-size: 18px;
  letter-spacing: 5px;
  line-height: 18px;
  margin-bottom: 0;
}
.section_heading {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 55px;
  padding-bottom: 55px;

  &.section_heading_feather {
    background-image: var(--img-feather);
  }
  &.section_heading_sunflower {
    background-image: var(--img-sunflower);
  }
}

.testimonials_carousel {
  position: relative;

  .owl-prev,
  .owl-next {
    background-color: transparent !important;
    border: 1px solid var(--body-color) !important;
    border-radius: 100%;
    color: rgba(255, 255, 255, .7) !important;
    display: inline-block;
    font-size: 24px !important;
    line-height: 48px !important;
    opacity: 0;
    padding: 0 !important;
    position: absolute;
    top: 50%;
    text-align: center;
    transition: all .3s;
    width: 48px;
    height: 48px;

    &:focus,
    &:hover {
      background-color: #fff !important;
      border-color: #fff !important;
      color: var(--orange) !important;        
    }

    &:not(.disabled) {
      &:focus,
      &:hover {
        opacity: 1 !important;
      }
    }
  }

  .owl-prev {
    color: var(--body-color) !important;
    left: 10px;
    transform: translate(-20px,-50%);
  }
  .owl-next {
    color: var(--body-color) !important;
    right: 10px;
    transform: translate(20px,-50%);
  }

  &:focus,
  &:hover {
    .owl-prev {
      opacity: .5;
      transform: translate(0,-50%);
    }
    .owl-next {
      opacity: .5;
      transform: translate(0,-50%);
    }
  }

  .testimonial-item {
    .testimonial-quote {
      display: block;
      margin: 0 auto 65px;
      width: auto !important;
    }
    .testimonial-author-avatar {
      border-radius: 50%;
      filter: grayscale(100%);
      margin: 0 auto 30px;
      width: 140px;
      height: 140px;
    }
    .testimonial-content {
      margin-bottom: 75px;

      p {
        font-size: 24px;
        font-family: var(--font-family-heading);
        font-style: italic;
        line-height: 2;
        margin: 0 auto;
        max-width: 800px;
      }
    }

    .author-info {
      .author-name {
        font-style: 18px;
        font-weight: 700;
        margin-bottom: 11px;
        text-transform: uppercase;
      }
    }
  }

  @media (max-width: 575.98px) {
    .testimonial-item {
      .testimonial-content {
        margin-bottom: 40px;
        p {
          font-size: 18px;
        }
      }
    }
  }
  @media (max-width: 991.98px) {
    .testimonial-item {
      .testimonial-content {
        margin-bottom: 50px;
        p {
          font-size: 20px;
        }
      }
    }
    .owl-prev {
      left: 0px;
    }
    .owl-next {
      right: 0px;
    }
  }
  @media (max-width: 1199.98px) {
    .testimonial-item {
      .testimonial-content {
        margin-bottom: 60px;
      }
    }
  }
}

.s_testimonials .testimonials_carousel {
  .owl-prev {
    left: 0;
    transform: translate(-40px,-50%);
  }
  .owl-next {
    right: 0;
    transform: translate(40px,-50%);
  }
  &:focus,
  &:hover {
    .owl-prev {
      opacity: .5;
      transform: translate(-20px,-50%);
    }
    .owl-next {
      opacity: .5;
      transform: translate(20px,-50%);
    }
  }
  @media (max-width: 575.98px) {
    .owl-prev, .owl-next,
    &:focus .owl-prev, &:focus .owl-next,
    &:hover .owl-prev, &:hover .owl-next {
      transform: translate(0, -50%);
    }
  }
}

.s_home_hero {
  background-image: var(--img-home-hero);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #3e513c;

  .blockquote {
    font-size: 32px;
    padding-left: 0;
    
    &:before {
      display: none;
    }

    footer {
      color: #3e513c;
      font-size: 25px;
    }
  }

  .author-intro {
    margin-top: 80px;

    h2 {
      color: #3e513c;
    }
  }

  @media (min-width: 1200px) {
    .author-intro {
      margin-top: 200px;
      margin-left: 50px;
      width: 80%;
    }
  }

  @media (max-width: 991.98px) {
    .author-img {
      border-bottom: 3px solid #3e513c;
      padding: 0 3rem;
    }
    .blockquote {
      font-size: 28px;

      footer {
        font-size: 22px;
      }
    }
    h2 {
      font-size: 28px;
    }
  }
}
.s_home_hero_dark {
  background-image: var(--img-home-hero-dark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  h1 {
    border-bottom: 2px solid #fff;
  }

  .author_jobs li {
    font-size: 15px;
    letter-spacing: 2.5px;
    margin: 0;
    padding: 0 25px;
  }
  .author-quote {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 55px 15px 18px 15px;

    p {
      color: var(--golden);
      font-size: 1.5rem;
      font-style: italic;
      line-height: 2;
    }
  }
}
.awards_carousel {
  .owl-stage {
    display: flex;
    align-items: center;
  }
  .owl-item img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    max-height: 160px;
  }
}
[class*="dropcap-"] {
  display: inline-block;
}
[class*="dropcap-"]::first-letter {
  color: var(--orange);
  display: block;
  float: left;
  margin: 0 15px -10px 0;
  padding-bottom: 10px;
  padding-top: 10px;
  font-size: 78px;
  line-height: 60px;
  height: 60px;
  width: 72px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}
.dropcap-white::first-letter {
  color: #fff !important;
}

.product-card {
  padding-top: 5px;

  .product-thumb {
    margin-bottom: 8px;
    position: relative;

    .product-flash {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 1px;
      background-color: var(--orange);
      color: #fff;
      height: 32px;
      min-width: 55px;
      line-height: 32px;
      pointer-events: none;
      text-align: center;
      position: absolute;
      top: -5px;
      left: -10px;
      z-index: 3;
      text-transform: uppercase;

      &:before,
      &:after {
        content: "";
        display: block;
        position: absolute;
        left: 100%;
        border-right: 10px solid transparent;
      }
      &:before {
        top: 0;
        border-top: 16px solid var(--orange);
      }
      &:after {
        bottom: 0;
        border-bottom: 16px solid var(--orange);
      }

      &.on-sale {
        background-color: #38cb89;
        &:before {
          border-top-color: #38cb89;
        }
        &:after {
          border-bottom-color: #38cb89;
        }
      }

      & + .product-flash {
        top: 37px;
      }
    }

    .product-actions {
      margin-top: 0;
      position: absolute;
      top: 15px;
      right: 20px;

      a {
        background-color: #fff;
        border-radius: 50%;
        line-height: 48px;
        margin: 0;
        opacity: 0;
        text-align: center;
        transform: translateX(25px);
        visibility: hidden;
        width: 48px;
        height: 48px;

        &:not(:last-child) {
          margin-bottom: 5px;
        }

        .fa {
          color: var(--body-color);
        }

        &:focus,
        &:hover {
          background-color: var(--orange);

          .fa {
            color: #fff;
          }
        }

        &:nth-of-type(1) {
          transition: color .4s .001s ease-out,background .4s .001s ease-out,visibility .4s .1s ease-out,opacity .4s .15s ease-out,transform .4s .1s ease-out;
        }
        &:nth-of-type(2) {
          transition: color .4s .001s ease-out,background .4s .001s ease-out,visibility .4s .15s ease-out,opacity .4s .15s ease-out,transform .4s .15s ease-out;
        }
        &:nth-of-type(3) {
          transition: color .4s .001s ease-out,background .4s .001s ease-out,visibility .4s .2s ease-out,opacity .4s .2s ease-out,transform .4s .2s ease-out;
        }
        &:nth-of-type(4) {
          transition: color .4s .001s ease-out,background .4s .001s ease-out,visibility .4s .25s ease-out,opacity .4s .25s ease-out,transform .4s .25s ease-out;
        }
      }
    }

    .product-thumb-flip {
      position: relative;
      transform: rotateY(180deg);
      transform-style: preserve-3d;
      transition: all .5s cubic-bezier(.215,.61,.355,1);

      .product-thumb-primary, .product-thumb-secondary {
        transition: all .3s linear;
      }

      .product-thumb-primary {
        transform: rotateY(-180deg);
        z-index: 0;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
      }

      .product-thumb-secondary {
        margin: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 0;
        z-index: 1;
      }
    }
  }
  .product-info {
    * {
      margin-top: 7px;
      margin-bottom: 0;
    }
    .product-name {
      font-size: 18px;
      font-weight: 400;
      line-height: 1.44;
      order: 2;
      a {
        color: var(--dark);
        text-decoration: none;

        &:focus,
        &:hover {
          color: var(--orange);
        }
      }
    }
    .price {
      color: var(--golden);
      font-size: 14px;
      font-weight: 700;
      line-height: 2;
      order: 1;

      del {
        font-size: 12px;
        margin-right: 5px;
        text-decoration: line-through;
      }
    }
    .product-author {
      color: var(--body-color);
      font-family: var(--font-family-heading);
      font-size: 13px;
      order: 3;

      a {
        color: inherit;
        text-decoration: none;

        &:focus,
        &:hover {
          color: var(--orange);
        }
      }
    }
  }

  &:focus,
  &:hover {
    .product-actions a {
      opacity: 1;
      transform: translateX(0);
      visibility: visible;      
    }

    .product-thumb-flip {
      transform: rotateY(0deg);

      .product-thumb-secondary {
        opacity: 1;
      }
    }
  }
}
.product-list {
  .single-product {
    &:not(:first-child) {
      border-top: 1px solid var(--border-color);
      margin-top: 30px;
      padding-top: 30px;
    }

    .product-thumb {
      width: 220px;
      position: relative;

      .product-flash {
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 1px;
        background-color: var(--orange);
        color: #fff;
        height: 32px;
        min-width: 55px;
        line-height: 32px;
        pointer-events: none;
        text-align: center;
        position: absolute;
        top: -5px;
        left: -10px;
        z-index: 3;
        text-transform: uppercase;

        &:before,
        &:after {
          content: "";
          display: block;
          position: absolute;
          left: 100%;
          border-right: 10px solid transparent;
        }
        &:before {
          top: 0;
          border-top: 16px solid var(--orange);
        }
        &:after {
          bottom: 0;
          border-bottom: 16px solid var(--orange);
        }

        &.on-sale {
          background-color: #38cb89;
          &:before {
            border-top-color: #38cb89;
          }
          &:after {
            border-bottom-color: #38cb89;
          }
        }

        & + .product-flash {
          top: 37px;
        }
      }

      .product-thumb-flip {
        position: relative;
        transform: rotateY(180deg);
        transform-style: preserve-3d;
        transition: all .5s cubic-bezier(.215,.61,.355,1);

        .product-thumb-primary, .product-thumb-secondary {
          transition: all .3s linear;
        }

        .product-thumb-primary {
          transform: rotateY(-180deg);
          z-index: 0;
          -webkit-backface-visibility: hidden;
          -moz-backface-visibility: hidden;
          -ms-backface-visibility: hidden;
        }

        .product-thumb-secondary {
          margin: auto;
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          opacity: 0;
          z-index: 1;
        }
      }
    }
    .product-info {
      margin-top: 25px;

      .product-name {
        font-size: 34px;
        line-height: 1.44;
      }
      .product-author {
        color: var(--body-color);
        font-family: var(--font-family-heading);
        font-size: 13px;
        order: 3;

        a {
          color: inherit;
          text-decoration: none;

          &:focus,
          &:hover {
            color: var(--orange);
          }
        }
      }
      .product-description {
        font-size: 15px;
        line-height: 1.73em;
        max-height: 5.19em;
        margin-top: 12px;
        margin-bottom: 8px;
        overflow: hidden;
      }

      @media (min-width: 768px) {
        margin-top: 0;
        margin-left: 50px;
      }
    }

    &:focus,
    &:hover {
      .product-thumb-flip {
        transform: rotateY(0deg);

        .product-thumb-secondary {
          opacity: 1;
        }
      }
    }
  }
}
.product-actions {
  margin-top: 25px;
  > * {
    margin: 5px 10px 5px 0;
  }

  .btn-square {
    border: 1px solid #ccc;
    color: var(--body-color);
    line-height: 46px;
    padding: 0;
    text-align: center;
    width: 48px;
    height: 48px;

    &:focus,
    &:hover {
      border-color: var(--dark);
      color: var(--dark);
    }
  }
}
.product-filter-toggle {
  color: var(--body-color);

  .product-filter-toggle-icon {
    background-color: var(--dark);
    display: inline-block;
    margin-right: 6px;
    position: relative;
    top: -5px;
    width: 8px;
    height: 1px;

    &:before,
    &:after {
      background-color: var(--dark);
      content: "";
      margin: auto;
      position: absolute;
      left: 0;
      transition: all .3s;
      transform-origin: 50% 50%;
      height: 1px;
    }
    &:before {
      top: 4px;
      right: 3px;
    }
    &:after {
      top: -4px;
      right: -4px;
    }
  }

  &:before {
    background-color: var(--dark) !important;
  }

  &[aria-expanded="true"] {
    .product-filter-toggle-icon {
      background-color: transparent !important;

      &:before,
      &:after {
        top: 0;
        transition: top .3s ease-in-out,transform .3s .5s ease-in-out,background .3s;
      }
      &:before {
        transform: rotate3d(0,0,1,45deg);
        right: -4px;
      }
      &:after {
        transform: rotate3d(0,0,1,-45deg);
      }
    }
  }

  &:focus,
  &:hover {
    color: var(--dark);
  }
}
#products-filter {
  background-color: rgba(237,237,237,.3);

  .widget .link-list a {
    font-size: 13px;
  }
}
.full-product {

  .product-gallery-container {
    position: relative;

    .product-gallery {
      position: relative;
      transition: all cubic-bezier(.795,-.035,0,1) .5s;
      transform-style: preserve-3d;
      transform: rotateY(0);
      max-width: 100%;

      &.flip-view {
        transform: rotateY(-180deg);
      }

      img {
        display: block;
        width: 100%;
        height: auto;
      }

      .product-gallery-flip {
        background-image: linear-gradient(45deg,white,#fafafa);
        overflow: hidden;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        transform-origin: 0;
        transition: transform 0.3s ease;
        will-change: transform;
      }
      .product-gallery-flip-front {
        background-color: #333;
        transform: rotateY(-2deg);

        &:after {
          background: linear-gradient(90deg,transparent,rgba(0,0,0,.1) 10px,rgba(0,0,0,.1) 15px,transparent,16px,transparent);
          content: " ";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
      .product-gallery-flip-back {
        background: #f3f3f3;
        box-shadow: 15px 15px 30px rgba(0,0,0,.1);
        transform: translateZ(-50px) rotateY(180deg);
        transform-origin: center;
        width: 100%;
        height: 100%;

        &:after {
          background: linear-gradient(-90deg,transparent,rgba(0,0,0,.3) 10px,rgba(0,0,0,.5) 15px,transparent,16px,transparent);
          content: " ";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
      .product-gallery-flip-first-page,
      .product-gallery-flip-second-page {
        background-color: #fff;
        width: 100%;
        height: 100%;
      }
      .product-gallery-flip-first-page {
        background-image: linear-gradient(75deg,#aaa,#ccc);
        transform: rotateY(-1deg);
      }
      .product-gallery-flip-second-page {
        background-color: #fafafa;
        background-image: linear-gradient(45deg,#f3f3f3,#fafafa);
      }
      .product-gallery-flip-side {
        background-color: #333;
        background-image: linear-gradient(45deg,#333,#111);
        bottom: 0;
        transform: rotateY(90deg);
        width: 50px;
      }
      .product-gallery-flip-side-paper {
        background-color: #f3f3f3;
        background-image: repeating-linear-gradient(to right,#fff 0%,#ebebeb 1.3%,#fff 2%,#e2e2e2 3.2%);
        bottom: 0;
        left: 100%;
        transform: rotateY(90deg);
        width: 50px;
      }

      &:not(.flip-view):focus,
      &:not(.flip-view):hover {
        transform: rotateY(-30deg);

        .product-gallery-flip-front {
          transform: rotateY(-20deg);
        }
        .product-gallery-flip-first-page {
          transform: rotateY(-10deg);
        }
      }
    }

    .product-gallery-actions {
      a.btn {
        background-color: transparent;
        border: 2px solid #ebebeb;
        border-radius: 50px;
        color: #000;
        cursor: pointer;
        font-size: 15px;
        font-weight: 400;
        display: inline-block;
        letter-spacing: 0;
        line-height: 1;
        margin: 0 5px;
        padding: 5px 15px;
        transition: .3s ease;
        text-decoration: none;
        text-transform: none;

        &:focus,
        &:hover {
          background-color: #000;
          border-color: #000;
          color: #fff;
        }
      }
    }
  }

  .modal {
    .modal-body {
      position: relative;

      .modal-product-inside-images {
        margin: 0 auto;
        transition: .3s ease;
        max-width: 96%;
        width: 600px;

        img {
          border: 1px solid rgba(0,0,0,.3);
          box-shadow: 0 10px 20px -5px rgba(0,0,0,.3);
          display: block;
          margin: 20px auto;
          text-align: center;
          max-width: 100%;
          width: 100%;
          height: auto;
        }
      }
    }
    .modal-product-inside-actions {
      position: absolute;
      right: 20px;
      bottom: 20px;
      z-index: 3;

      .btn {
        border: solid 1px #ebebeb;
        background-color: #fff;
        background: linear-gradient(#fff,#f2f2f2);
        border-radius: 50%;
        box-shadow: 0 3px 10px rgba(0,0,0,.1);
        color: var(--muted);
        font-size: 20px;
        line-height: 48px;
        margin: 0 5px;
        padding: 0;
        transition: all 0.3s;
        width: 48px;
        height: 48px;

        &:focus,
        &:hover {
          color: var(--dark);
        }
      }
    }
  }

  .product-short-description {
    p:last-child {
      margin-bottom: 0;
    }
  }
  .product-quantity {
    .product-quantity-label {
      color: var(--dark);
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 1px;
      line-height: 1.6;
      margin-bottom: 0;
      margin-right: 30px;
      text-transform: uppercase;
    }
    .product-quantity-control {
      position: relative;
      height: 44px;

      input {
        font-family: var(--font-family-heading);
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        padding-left: 40px;
        padding-right: 40px;
        width: 140px;
        height: 100%;

        &:focus,
        &:hover {
          background: #fff !important;
        }
      }

      button {
        background: transparent;
        color: var(--muted);
        font-size: 20px;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;

        &:focus,
        &:hover {
          color: var(--orange);
        }
      }
      .btn-quantity-decrease {
        left: 0;
      }
      .btn-quantity-increase {
        right: 0;
      }
    }
  }
  .product-meta {
    border-top: 2px solid var(--border-color);
    font-family: var(--font-family-heading);
    font-size: 15px;

    span {
      color: var(--muted);
      display: inline-block;
      margin-right: 40px;
    }
    a {
      color: var(--dark);
    }
    .post-share a {
      color: var(--muted);
      margin-right: 8px;
    }
  }

  .author_carousel.owl-carousel {
    > .owl-nav {
      margin-top: 50px;
      text-align: center;

      button {
        border: 1px solid #ccc;
        border-radius: 50%;
        color: var(--body-color);
        font-size: 20px;
        line-height: 46px;
        margin: 5px;
        opacity: .5;
        outline: 0;
        text-align: center;
        transition: all .3s;
        width: 48px;
        height: 48px;

        .disabled {
          pointer-events: none;
        }

        &:not(.disabled) {
          &:focus,
          &:hover {
            border-color: var(--orange);
            color: var(--orange);
            opacity: 1;
          }
        }
      }
    }
  }
  .author-info {
    .author-avatar-wrapper {
      padding-right: 85px;
      position: relative;

      &:after {
        background-image: repeating-linear-gradient( 45deg, #deddd7 0px, #deddd7 2px, transparent 2px, transparent 10px);
        background-repeat: no-repeat;
        content: "";
        display: block;
        position: absolute;
        top: 30px;
        bottom: 40px;
        right: 20px;
        left: 45px;
        z-index: 1;
      }
    }
    .author-avatar-thumb {
      position: relative;
      z-index: 2;
    }
  }
  .author-quote {
    color: var(--dark);
    font-family: var(--font-family-heading);
    font-size: 24px;
    font-style: italic;
    line-height: 2;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    max-width: 645px;
  }
  .product-card .product-actions {
    top: 10px;
    right: 10px;

    a {
      line-height: 40px;
      width: 40px;
      height: 40px;
    }
  }
  .product-description {
    border-bottom: 1px solid var(--border-color);

    .nav-item {
      margin-bottom: 0;
      padding: 0 20px;
    }
    .nav-link {
      border: none !important;
      color: var(--muted);
      font-family: var(--font-family-heading);
      font-size: 34px;
      line-height: 1.88;
      padding: 0;
      position: relative;

      &:after {
        background-color: var(--orange);
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        transition: transform .4s ease;
        transform: scale3d(0,1,1);
        transform-origin: 100% 50%;
        transition-timing-function: cubic-bezier(.8,0,.2,1);
        height: 1px;
      }

      &:focus,
      &:hover,
      &.active {
        color: var(--dark);

        &:after {
          transform: scale3d(1,1,1);
          transform-origin: 0% 50%;
        }
      }
    }

    .tab-content {
      padding-top: 73px;
      padding-bottom: 70px;
      margin: 0 auto;
      max-width: 770px;
    }

    .product-reviews {
      h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 40px;
      }
      .product-reviews-list {
        list-style: none;
        margin-bottom: 0;
        padding-left: 0;

        > li {
          border-bottom: 1px solid var(--border-color);
          display: flex;
          padding: 40px 0;

          &:first-child {
            padding-top: 0;
          }
        }
        .product-review-author-avatar {
          border-radius: 50%;
          width: 80px;
          height: 80px;
        }
        .product-review-description {
          display: flex;
          flex-flow: row wrap;
          align-items: center;
          overflow: hidden;
          padding-left: 40px;
          padding-top: 2px;

          .star-rating {
            margin: 0 20px 18px 0;
            order: 1;
            width: 82px;
          }
          .product-reviews-meta {
            display: flex;
            flex-grow: 1;
            justify-content: space-between;
            font-size: .83em;
            line-height: 1;
            margin-bottom: 18px;
            order: 2;

            strong {
              color: var(--dark);
              flex-grow: 1;
              font-size: 18px;
              font-weight: 800;
            }

            time {
              font-style: 15px;
              line-height: 1.2;

              &:before {
                display: inline-block;
                content: "/";
                padding-right: 5px;
              }
            }
          }          
          .review-text {
            order: 3;
            flex: 1 100%;
          }
        }
      }
    }

    .product-add-review {
      margin-top: 70px;

      form {
        label {
          color: var(--dark);
          font-size: 14px;
          font-weight: 700;
          letter-spacing: 1px;
          line-height: 1.71;
          text-transform: uppercase;
        }

        .review-stars {
          line-height: 1;
          padding-top: calc(.375rem + 1px);
          padding-bottom: calc(.375rem + 1px);
          padding-left: 20px;

          a {
            display: inline-block;
            margin-right: 2px;
            position: relative;
            text-indent: -999em;
            text-decoration: none;
            height: 15px;
            width: 15px;

            &:before {
              color: var(--muted);
              content: "\f005";
              display: block;
              font-size: 15px;
              font-family: "FontAwesome";
              line-height: 1;
              position: absolute;
              top: 0;
              left: 0;
              text-indent: 0;
              height: 15px;
              width: 15px;
            }

            &:focus,
            &:hover,
            &.active {
              ~ a:before {
                content: "\f006";
              }
            }
          }

          &:focus,
          &:hover,
          &.selected {
            a:before {
              color: #efc720 !important;
            }
          }
        }
      }
    }
  }
}
.home-events-grid {
  .single-event {
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 50px;
  }
}
.events-filter {
  position: relative;

  @media (min-width: 992px) {
    input {
      &:first-child {
        width: 260px;
      }
      &:last-child {
        width: 350px;
      }
    }
  }

  @media (max-width: 991px) {
    a.btn {
      background-color: var(--grey);
      color: #fff;
      display: flex;
      font-weight: 700;
      text-align: left;

      &:before {
        content: "Hide\00a0";
        display: inline-block;
      }
      &:after {
        content: "\f0d8";
        color: inherit;
        display: inline-block;
        font-family: "FontAwesome";
        font-size: 1.2rem;
        line-height: 1;
        margin-left: auto;
      }

      &.collapsed {
        &:before {
          content: "Show\00a0";
        }
        &:after {
          content: "\f0d7";
        }
      }
    }
    #collapse-events-filter {
      box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
      position: absolute;
      width: 100%;
      z-index: 10;
    }
    input, button {
      width: 100%;
    }
  }
}
.events-grid {
  .single-event {
    .event-thumbnail {
      position: relative;

      .btn {
        opacity: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
      }
    }
    .event-content {
      font-size: 15px;
    }
    .event-date {
      letter-spacing: 4px;
    }

    @media (min-width: 992px) and (max-width: 1199.98px) {
      h2 {
        font-size: 1.8rem;
      }
      .event-content {
        font-size: 13px;
      }
    }
    @media (max-width: 991.98px) {
      h2 {
        font-size: 1.5rem;
      }
      .event-content {
        font-size: 12px;
      }
    }

    &:focus,
    &:hover {
      .event-thumbnail .btn {
        opacity: 1;
      }
    }
  }
}
.events-navigation {
  .btn-link {
    color: var(--body-color) !important;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;

    &:after {
      display: none;
    }

    &:focus,
    &:hover {
      color: var(--orange) !important;
    }
  }
}
.full-event {
  .event-map {
    .event-map-venue {
      background: #eee;
      border: 1px solid #ddd;
      border-radius: 3px;
      padding: 5px;
      zoom: 1;
    }
    a {
      color: var(--body-color);
      font-size: 15px;
      font-style: italic;
      text-decoration: none;

      &:focus,
      &:hover {
        color: var(--orange);
      }
    }
  }
  .events-navigation {
    margin-top: 60px;
    margin-bottom: 16px;

    a {
      color: var(--orange) !important;

      &:focus,
      &:hover {
        text-decoration: underline !important;
      }
    }
  }
}
.s_brands {
  .brand-owl-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: end;
    padding-bottom: 3rem;
    height: 750px;

    @media (max-width: 1199.98px) {
      height: 650px;
    }
  }

  .brands_carousel {
    position: relative;

    .owl-prev,
    .owl-next {
      background-color: #fff !important;
      border: 1px solid var(--body-color) !important;
      border-radius: 100%;
      color: rgba(255, 255, 255, .7) !important;
      display: inline-block;
      font-size: 24px !important;
      line-height: 48px !important;
      opacity: 0;
      padding: 0 !important;
      position: absolute;
      top: 50%;
      text-align: center;
      transition: all .3s;
      width: 48px;
      height: 48px;

      &:focus,
      &:hover {        
        border-color: var(--orange) !important;
        color: var(--orange) !important;        
      }

      &:not(.disabled) {
        &:focus,
        &:hover {
          opacity: 1 !important;
        }
      }
    }

    .owl-prev {
      color: var(--body-color) !important;
      left: 40px;
      transform: translate(-20px, -50%);
    }
    .owl-next {
      color: var(--body-color) !important;
      right: 40px;
      transform: translate(20px, -50%);
    }

    &:focus,
    &:hover {
      .owl-prev {
        opacity: .5;
        transform: translate(0, -50%);
      }
      .owl-next {
        opacity: .5;
        transform: translate(0, -50%);
      }
    }

    @media (max-width: 767.98px) {
      .brand-owl-item {
        background-position: top left;
      }
      .owl-prev {
        left: 20px;
      }
      .owl-next {
        right: 20px;
      }
    }
  }
}
.s_brands_box {
  .brand-owl-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: end;
    padding-bottom: 3rem;
    height: 750px;

    @media (max-width: 1199.98px) {
      height: 650px;
    }
  }
  .brands_carousel {
    position: relative;

    .owl-prev,
    .owl-next {
      background-color: #fff !important;
      border: 1px solid var(--body-color) !important;
      border-radius: 100%;
      color: rgba(255, 255, 255, .7) !important;
      display: inline-block;
      font-size: 24px !important;
      line-height: 48px !important;
      opacity: 0;
      padding: 0 !important;
      position: absolute;
      top: 50%;
      text-align: center;
      transition: all .3s;
      width: 48px;
      height: 48px;

      &:focus,
      &:hover {        
        border-color: var(--orange) !important;
        color: var(--orange) !important;        
      }

      &:not(.disabled) {
        &:focus,
        &:hover {
          opacity: 1 !important;
        }
      }
    }

    .owl-prev {
      color: var(--body-color) !important;
      left: -70px;
      transform: translate(-20px, -50%);
    }
    .owl-next {
      color: var(--body-color) !important;
      right: -70px;
      transform: translate(20px, -50%);
    }

    &:focus,
    &:hover {
      .owl-prev {
        opacity: .5;
        transform: translate(0, -50%);
      }
      .owl-next {
        opacity: .5;
        transform: translate(0, -50%);
      }
    }

    @media (max-width: 767.98px) {
      .brand-owl-item {
        background-position: top left;
      }
      .owl-prev {
        left: 0;
      }
      .owl-next {
        right: 0;
      }
    }
  }
}
.s_home_testimonials {
  background-color: #333;
  background-image: var(--img-feather-big-dark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.s_plans {
  background-color: #232323;
  background-image: var(--img-jungle-waterflow);
  background-position: center ;
  background-repeat: no-repeat;
  background-size: cover;

  .plans_carousel {
    position: relative;

    .owl-prev,
    .owl-next {
      background-color: #fff !important;
      border: 1px solid var(--body-color) !important;
      border-radius: 100%;
      color: rgba(255, 255, 255, .7) !important;
      display: inline-block;
      font-size: 24px !important;
      line-height: 48px !important;
      opacity: 0;
      padding: 0 !important;
      position: absolute;
      top: 50%;
      text-align: center;
      transition: all .3s;
      width: 48px;
      height: 48px;

      &:focus,
      &:hover {        
        border-color: #fff !important;
        color: var(--orange) !important;        
      }

      &:not(.disabled) {
        &:focus,
        &:hover {
          opacity: 1 !important;
        }
      }
    }

    .owl-prev {
      color: var(--body-color) !important;
      left: -40px;
      transform: translate(-20px, -50%);
    }
    .owl-next {
      color: var(--body-color) !important;
      right: -40px;
      transform: translate(20px, -50%);
    }

    &:focus,
    &:hover {
      .owl-prev {
        opacity: .5;
        transform: translate(0, -50%);
      }
      .owl-next {
        opacity: .5;
        transform: translate(0, -50%);
      }
    }
  }

  .plan-box {
    background-color: #f4f3ec;
    padding: 35px 35px 0;
    position: relative;
    transition: .3s;
    text-align: center;
    min-height: 474px;  

    .plan-name {
      color: #333;
      font-size: 15px;
      font-family: var(--font-family-sans-serif);
      line-height: 1.87;
      letter-spacing: 2px;
      margin: 0 0 43px;
    }

    .plan-price {
      font-size: 0;
      margin-bottom: 10px;
      padding-left: 30px;

      > * {
        display: inline-block;
      }
      span {
        color: #333;
        font-size: 24px;
        line-height: 1;
        vertical-align: top;
      }
      h5 {
        color: #333;
        font-size: 64px;
        font-weight: 700;
        line-height: .88;
        margin: 0 10px 0 0;
      }
      p {
        color: #7e7e7e;
        font-size: 15px;
      }
    }

    .featured-text {
      background-color: var(--orange);
      border-radius: 100%;
      color: #fff;
      font-family: var(--font-family-heading);
      font-size: 12px;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(-345deg);
      position: absolute;
      top: -28px;
      right: -27px;
      width: 80px;
      height: 80px;

      span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
      }
    }

    .plan-features {
      margin-top: 42px;
      padding-bottom: 55px;

      ul {
        list-style: none;
        padding: 0;

        li {
          color: #7e7e7e;
          font-size: 15px;
          line-height: 1.8;
          padding: 6.5px 0;
        }
      }
    }

    a.btn {
      padding-top: 17px;
      padding-bottom: 17px;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
    }

    &.plan-popular {
      a.btn {
        background-color: var(--orange);
        border-color: var(--orange);

        &:focus,
        &:hover {
          background-color: var(--dark);
          border-color: var(--dark);
        }
      }
    }
  }
  @media (max-width: 991.98px) {
    .plan-box {
      .featured-text {  
        font-size: 8px;
        right: -10px;
        top: -10px;
        width: 60px;
        height: 60px;
      }
    }
  }
  @media (max-width: 575.98px) {
    .owl-prev {
      left: -10px !important;
    }
    .owl-next {
      right: -10px !important;
    }
    .owl-prev, .owl-next,
    &:focus .owl-prev, &:focus .owl-next,
    &:hover .owl-prev, &:hover .owl-next {
      transform: translate(0, -50%);
    }
  }
  @media (min-width: 1200px) and (max-width: 1300px) {
    .owl-prev {
      left: -15px !important;
    }
    .owl-next {
      right: -15px !important;
    }
  }
  @media (min-width: 992px) {
    .plans_carousel {

      .owl-item > div {
        padding-left: 2.2rem !important;
        padding-right: 2.2rem !important;
      }
    }
  }
}

.blog-list {
  article:not(:first-child) {
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
    padding-top: 30px;
  }
  .post-thumbnail {

    a, img {
      width: inherit;
      height: inherit;
    }

    @media (min-width: 992px) {
      margin-right: 40px;
      width: 330px;
      height: 200px;
    }
  }
}
.pagination {
  text-transform: uppercase;

  .page-item.disabled span {
    background-color: var(--orange);
    border-radius: 50%;
    color: #fff;
    line-height: 48px;
    text-align: center;
    width: 48px;
    height: 48px;
  }
  .page-link {
    border: none;
    color: #ccc;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.5;
    margin: 0 15px;
    padding: 0;
    transition: all .3s;

    &:focus,
    &:hover {
      background-color: transparent;
      color: var(--orange);
    }
  }
}
.single-post {
  .post-thumbnail {
    background-color: #000;
    position: relative;

    img {
      aspect-ratio: 16/9;
    }

    &:after {
      background-color: var(--orange);
      color: #fff;
      font-family: "FontAwesome";
      font-size: 18px;
      font-weight: 300;
      line-height: 48px;
      pointer-events: none;
      position: absolute;
      left: 10px;
      bottom: -10px;
      text-align: center;
      width: 50px;
      height: 50px;
      z-index: 3;
    }

    &:focus,
    &:hover {
      a {
        opacity: .7;
      }
    }
  }
  .post-meta a {      
    text-decoration: none;

    &:focus,
    &:hover {
      color: var(--orange) !important;
    }
  }
  .post-excerpt {
    overflow: hidden;
    height: 3.5em;
  }

  &.post-format-quote {
    .post-thumbnail:after {
      content: "\f10d";
    }
  }
  &.post-format-video {
    .post-thumbnail:after {
      content: "\f03d";
    }
  }
  &.post-format-audio {
    .post-thumbnail:after {
      content: "\f025";
    }
  }
  &.post-format-gallery {
    .post-thumbnail:after {
      content: "\f03e";
    }
  }
}
.full-post {
  .post-meta {
    li {
      &:not(:last-child) {
        margin-right: 25px;
      }
    }
  }

  .post-thumbnail {
    aspect-ratio: 16/9;
    display: flex;
    position: relative;

    > * {
      z-index: 5;
    }

    img {
      transition: all .3s;
      width: 100%;
    }

    iframe {
      width: 100%;
      height: 100%;
    }
  }

  .owl-carousel {
    .owl-nav {
      position: absolute;
      top: 50px;
      right: 0;
      z-index: 10;

      button {
        background-color: #fff;
        border: 1px solid #fff;
        border-radius: 50%;
        color: var(--orange);
        font-size: 20px;
        line-height: 34px;
        opacity: .5;
        margin: 5px;
        text-align: center;
        transition: all .3s;
        width: 36px;
        height: 36px;

        .disabled {
          pointer-events: none;
        }

        &:not(.disabled) {
          &:focus,
          &:hover {
            opacity: 1;
          }
        }
      }
    }
  }

  .post-content {
    h2, h3, h4, h5, h6 {
      margin-top: 35px;
      margin-bottom: 20px;
    }

    p:last-child {
      margin-bottom: 0;
    }

    .blockquote {
      border-left: 4px solid var(--dark);
      font-family: var(--font-family-sans-serif);
      font-size: inherit;
      font-weight: normal;
      line-height: inherit;
      padding-left: 1rem;

      &:before {
        display: none;
      }
    }

    .list-check {
      list-style: none;

      li {
        position: relative;

        &:before {
          color: var(--orange);
          content: "\f00c";
          display: block;
          font-family: "FontAwesome";
          font-size: 14px;
          position: absolute;
          top: 2px;
          left: -20px;
        }
      }
    }

    @media (max-width: 767.98px) {
      .float-left,
      .float-right {
        float: none !important;
        display: block;
        margin: 0 auto 1rem !important;
        max-width: 100%;
      }
    }
    @media (min-width: 768px) {
      .float-left,
      .float-right {
        margin-bottom: 1rem;
      }
      .float-left {
        margin-right: 1rem;
      }
      .float-right {
        margin-left: 1rem;
      }
    }
  }

  .post-tags,
  .post-share {
    a {
      color: var(--muted);
      font-family: var(--font-family-heading);
      text-decoration: none;

      &:focus,
      &:hover {
        color: var(--orange);
      }
    }
  }
}
.post-nav {
  a[class*="post-nav"] {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-decoration: none;
    height: 200px;

    div.d-flex {
      border: 1px solid var(--border-color);
      padding: 30px;
      transition: .5s;
    }

    h4 {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    &:focus,
    &:hover {
      div.d-flex {
        transform: scale(1.3);
        opacity: 0;
      }
    }
  }
}
.post-comments {
  margin-top: 90px;

  h4 {
    font-size: 34px;
    margin-bottom: 50px;
  }
}
.pswp-item {
  position: relative;

  &:before {
    background-color: #000;
    content: "";
    display: block;
    position: absolute;
    inset: 0 1px 1px 0;
    z-index: 3;
  }

  img {
    position: relative;
    transition: all .3s;
    z-index: 4;
  }

  .pswp-trigger {
    color: #fff;
    display: flex;
    line-height: 1;
    opacity: 0;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 14px;
    height: 16px;
    z-index: 5;

    svg {
      fill: currentColor;
    }

    &:focus,
    &:hover {
      color: var(--orange);
    }
  }

  &:focus,
  &:hover {
    img {
      opacity: .7;
    }
    a {
      opacity: 1;
    }
  }
}
.s_about_author {
  background-image: var(--img-sunflower-big);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.popup_video_trigger {
  background-color: var(--orange);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s;
  width: 90px;
  height: 90px;

  &:before {
    border: 5px solid #fff;
    border-radius: 50%;
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: all .5s;
  }

  .fa {
    color: #fff;
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &:focus,
  &:hover {
    background-color: var(--orange);

    &:before {
      opacity: 0;
      transform: scale(1.3);
    }
  }
}

.s_author_contact {
  .author_contact_banner {

    overflow: hidden;
    padding-bottom: 140.049%;
    position: relative;

    &:before {
      background-size: cover;
      background-position: center center;
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      transition: all .3s;
    }
    &:after {
      background: rgba(255,255,255,.5);
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,-150%,0);
      transition: all .6s;
      width: 100%;
      height: 100%;
      z-index: 2;
    }

    &:focus,
    &:hover {
      &:before {
        transform: scale3d(1.1,1.1,1.1);
      }
      &:after {
        transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,-45deg) translate3d(0,150%,0);
      }
    }
  }
  .author_contact_banner_row > div {
    &:first-child .author_contact_banner:before {
      background-image: var(--img-book-1);
    }
    &:last-child .author_contact_banner:before {
      background-image: var(--img-book-2);
    }
  }
  > div > div > div:last-child > * {
    max-width: 370px;
  }
}
.newsletter {
  border: 5px solid var(--background-light);
  padding: 45px 15px;

  .newsletter-form {
    width: 450px;
    max-width: 100%;

    form > div {
      position: relative;

      input {
        border: none;
        border-bottom: 2px solid #ccc;
        line-height: 48px;
        outline: none;
        padding: 0 35px;
        transition: all .3s;
        width: 100%;
        height: 48px;

        &:focus,
        &:active {
          border-color: var(--orange);
        }
      }
      button {
        padding-right: 0;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        height: 48px;

        &:focus,
        &:hover {
          color: var(--orange);
        }
      }
    }
  }

  @media (min-width: 768px) {
    padding-left: 45px;
    padding-right: 45px;
  }
  @media (min-width: 1200px) {
    padding-left: 100px;
    padding-right: 100px;
  }
}
.counter {
  .counter-item {
    .counter-value {
      font-size: 3.5rem;
      line-height: 1.2;
    }
    .counter-title {
      font-weight: 600;
      letter-spacing: 3px;
    }
  }
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  text-align: center;

  > div {
    display: flex;
    flex-direction: column;
    width: 80px;

    .countdown-value {
      color: var(--orange);
      display: block;
      font-family: var(--font-family-heading);
      font-size: 56px;
      font-weight: 400;
      line-height: 1;
      margin-bottom: 22px;
    }
    .countdown-text {
      color: var(--muted);
      display: block;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.5;
      letter-spacing: 3px;
      opacity: .7;
      text-transform: uppercase;
    }
  }
  > span {
    color: var(--orange);
    font-size: 24px;
    padding: 0 40px;
  }

  @media (min-width: 768px) and (max-width: 991.98px) {
    > div {
      width: 70px;

      .countdown-value {
        font-size: 50px;
      }
      .countdown-text {
        font-size: 14px;
      }
    }

    > span {
      padding: 0 40px;
    }
  }
  @media(max-width: 767.98px) {
    > div {
      width: 60px;

      .countdown-value {
        font-size: 35px;
        margin-bottom: 15px;
      }
      .countdown-text {
        font-size: 12px;
      }
    }

    > span {
      padding: 0 30px;
    }
  }

  @media(max-width: 575.98px) {
    > div {
      width: 55px;

      .countdown-value {
        font-size: 25px;
        margin-bottom: 5px;
      }
      .countdown-text {
        font-size: 10px;
      }
    }

    > span {
      padding: 0 10px;
    }
  }
}

aside {
  .widget {
    &:not(:first-child) {
      margin-top: 50px;
    }
    .widget-title {
      border-bottom: 1px solid var(--border-color);
      font-weight: normal;
      line-height: normal;
      padding-bottom: 6px;
      margin-bottom: 30px;

      span {
        position: relative;

        &:after {
          border-top: 1px solid var(--orange);
          content: "";
          display: block;
          position: absolute;
          left: 0;
          right: 0;
          bottom: -7px;
        }
      }
    }
    .aside-search {
      position: relative;

      input {
        line-height: 48px;
        padding: 0 40px 0 20px;
        height: 48px;
      }
      button {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        width: 48px;
        height: 48px;
      }
    }
    .link-list {
      li {
        line-height: 20px;

        &:not(:first-child) {
          margin-top: 15px;
        }

        &.active a {
          color: var(--dark);

          &:after {
            transform: scale3d(1,1,1);
            transform-origin: 0% 50%;
          }
        }
      }
      a {
        color: var(--muted);
        font-family: var(--font-family-heading);
        font-size: 15px;
        line-height: inherit;
        position: relative;
        text-decoration: none;
        transition: all .3s;

        &:after {
          background-color: var(--muted);
          content: "";
          position: absolute;
          left: 0;
          right: 0;
          bottom: -1px;
          transition: transform .4s ease;
          transform: scale3d(0,1,1);
          transform-origin: 100% 50%;
          transition-timing-function: cubic-bezier(.8,0,.2,1);
          height: 1px;
        }

        &:focus,
        &:hover {
          color: var(--dark);

          &:after {
            transform: scale3d(1,1,1);
            transform-origin: 0% 50%;
          }
        }
      }
    }
    .link-list-normal {
      a {
        color: inherit !important;
        text-decoration: none;

        &:focus,
        &:hover {
          color: var(--orange) !important;
        }
      }
    }
    .post-tags {
      li {
        margin: 0 10px 10px 0;

        a {
          background-color: #f4f3ec;
          color: var(--body-color);
          display: inline-block;
          font-family: var(--font-family-heading);
          font-size: 13px;
          line-height: 32px;
          padding: 0 10px;
          text-decoration: none;
          transition: all .3s;
          height: 32px;

          &:focus,
          &:hover {
            background-color: var(--orange);
            color: #fff;
          }
        }
      }
    }

    &.widget-recent-posts {
      article:not(:first-child) {
        border-top: 1px solid var(--border-color);
        margin-top: 20px;
        padding-top: 20px;
      }
      .post-thumbnail {
        width: 100px;
        height: 100px;

        a, img {
          width: inherit;
          height: inherit;
        }
      }
      .post-title {
        line-height: 1.73;
      }
    }
    &.widget-popular-books {
      .single-product {
        &:not(:first-child) {
          border-top: 1px solid var(--border-color);
          margin-top: 20px;
          padding-top: 20px;
        }
        &:focus,
        &:hover {
          a {
            color: var(--orange);
          }
        }
      }
      .product-thumbnail {
        width: 100px;
        height: 140px;

        a, img {
          width: inherit;
          height: inherit;
        }
      }
      .product-title {
        line-height: 1.73;
      }
    }
    .carousel-nav {
      a {
        color: var(--body-color);
        font-size: 28px;
        line-height: 1;
        opacity: .5;
        padding: 0 3px;

        &.disabled {
          cursor: default;
          pointer-events: none;
        }

        &:not(.disabled):focus,
        &:not(.disabled):hover {
          color: var(--orange);
          opacity: 1;
        }
      }
    }
  }
}
.custom-range-slider.noUi-target {
  background-color: var(--border-color);
  border: none;
  border-radius: 5px;
  box-shadow: none;
  height: 4px;

  .noUi-connect {
    background-color: var(--orange);
  }

  &.noUi-horizontal .noUi-handle {
    background-color: var(--orange);
    border: none;
    border-radius: 50%;
    box-shadow: none;
    cursor: ew-resize;
    top: -7px;
    width: 18px;
    height: 18px;

    &:before,
    &:after {
      display: none;
    }
  }
}

.team-member {

  .tm-thumb a {
    position: relative;

    &:before {
      background-color: var(--orange);
      border-radius: 50%;
      content: "";
      display: block;
      position: absolute;
      inset: 1px;
      z-index: 1;
    }

    img {
      position: relative;
      transition: .3s;
      z-index: 5;
    }
  }
  .tm-meta {
    overflow: hidden;
    height: 32px;
  }
  .tm-position {
    letter-spacing: 1px;
    line-height: 32px;
    transition: .3s;
  }
  .tm-social {
    line-height: 32px;
    transition: .3s;

    li:not(:last-child) {
      margin-right: 15px;
    }
    a {
      color: var(--muted);

      &:focus,
      &:hover {
        color: var(--orange);
      }
    }
  }

  &:focus,
  &:hover {
    .tm-thumb img {
      opacity: 0.3;
    }
    .tm-position,
    .tm-social {
      transform: translateY(-32px);
    }
  }

  @media (min-width: 992px) {
    margin: 0 auto;
    width: 210px;
  }
}
.team-modal {
  .close {
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
  }
  .tm-photo {
    margin: 0 0 -1.5rem -1.5rem;
    padding: 0 0 1.5rem 1.5rem;
    position: relative;

    &:before {
      background-image: repeating-linear-gradient( 45deg, var(--border-color) 0px, var(--border-color) 2px, transparent 2px, transparent 10px);
      background-repeat: no-repeat;
      background-position: bottom left;
      content: "";
      display: block;
      position: absolute;
      left: 0;
      bottom: 0;
      width: calc(100% - 1.5rem);
      height: calc(100% - 1.5rem);
      z-index: 1;
    }
    img {
      position: relative;
      z-index: 5;
    }
  }
  .tm-position {
    letter-spacing: 1px;
  }
  .tm-social {
    li:not(:last-child) {
      margin-right: 10px;
    }
    a {
      border: 1px solid;
      border-radius: 50%;
      color: var(--muted);
      display: inline-flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      width: 30px;
      height: 30px;

      .fa {
        font-size: 12px;
      }

      &:focus,
      &:hover {
        color: var(--orange);
      }
    }
  }
}
.contact-details {
  .d-flex > div:first-child {
    margin-right: 20px;
    width: 40px;

    .fa {
      font-size: 40px;
    }
    @media (max-width: 767.98px) {
      margin-right: 5px;
      .fa {
        font-size: 35px;
      }
    }
  }
}
.gallery-grid {
  .grid-item {
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    width: 32%;
    z-index: 5;

    &.pswp-item:before {
      background-color: var(--orange-hover) !important;
    }

    .grid-item-thumb {
      position: relative;

      &:before,
      &:after {
        background-color: transparent;
        content: "";
        display: block;
        opacity: 0;
        position: absolute;
        transition: all .5s;
        z-index: 10;
      }
      &:before {
        border-left-width: 1px;
        border-left-style: solid;
        border-left-color: #fff;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #fff;
        top: 50%;
        bottom: 50%;
        left: 25px;
        right: 25px;
      }
      &:after {
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #fff;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #fff;
        top: 25px;
        bottom: 25px;
        left: 50%;
        right: 50%;
      }
    }

    a {
      display: block;
      margin-top: -24px;
      margin-left: -24px;
      opacity: 0;
      position: absolute;
      top: 50%;
      left: 50%;
      transition: color .5s, opacity 1s, transform .5s;
      transform: scale(0);
      width: 48px;
      height: 48px;
      z-index: 10;

      &:before,
      &:after {
        background-color: #fff;
        content: "";
        position: absolute;
      }
      &:before {
        width: 50px;
        height: 1px;
        left: 0;
        top: 50%;
      }
      &:after {
        width: 1px;
        height: 50px;
      }
    }

    @media (max-width: 767.98px) {
      width: 49%;
    }
    @media (max-width: 575.98px) {
      width: 48%;
    }

    &:focus,
    &:hover {
      .grid-item-thumb {
        &:before,
        &:after {
          opacity: 1;
        }
        &:before {
          top: 10px;
          bottom: 10px;
        }
        &:after {
          left: 10px;
          right: 10px;
        }
      }
      a {
        opacity: 1;
        transform: scale(1);
      }
    }
  }
}

.home-footer {
  .home-footer-social {
    li {
      font-size: 14px;
      margin: 0 35px 5px 0 !important;

      &:last-child {
        margin-right: 0 !important;
      }
      a {
        color: var(--muted);
      }
    }
  }
  .home-footer-copyright {
    color: #7e7e7e;
    font-size: 14px;
  }
  a {
    color: inherit;
    text-decoration: none;

    &:focus,
    &:hover {
      color: var(--orange) !important;
    }
  }
}
footer.site-footer {
  background-color: var(--light);
  font-family: var(--font-family-heading);
  font-size: 15px;

  .widget-title {
    color: var(--black);
    font-family: var(--font-family-sans-serif);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
  }

  a {
    color: var(--body-color);
    text-decoration: none !important;

    &:focus,
    &:hover {
      color: var(--orange);
    }
  }

  .footer-social li {
    &:not(:last-child) {
      margin: 0 40px 5px 0;
    }
  }
  .list-unstyled {
    li:not(:last-child) {
      margin-bottom: 15px;
    }
    a {
      /* color: var(--muted); */
      font-style: italic;
      position: relative;

      &:before {
        background-color: var(--orange);
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        transition: transform .4s ease;
        transform: scale3d(0,1,1);
        transform-origin: 100% 50%;
        transition-timing-function: cubic-bezier(.8,0,.2,1);
        height: 1px;
      }

      &:focus,
      &:hover {
        /* color: #fff; */

        &:before {
          transform: scale3d(1,1,1);
          transform-origin: 0% 50%;
        }
      }
    }
  }
}

@media (min-width: 576px) {
  .container-xxl-fluid {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container-xxl-fluid {
    max-width: 720px;
  }
  .s_home_hero_dark .d-flex:first-child {
    min-height: calc(100vh - 17rem);
  }
  .home-events-grid {
    .single-event:nth-of-type(2) {
      position: relative;

      &:before {
        border-left: 1px solid var(--border-color);
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 50px;
        left: -1px;
      }
    }
  }
}
@media (min-width: 992px) {
  .container-xxl-fluid {
    max-width: 960px;
  }
  .s_home_hero_dark .d-flex:first-child {
    min-height: calc(100vh - 9.5rem);
  }
}
@media (min-width: 1200px) {
  .container,
  .container-xxl-fluid {
    max-width: 1200px;
  }
  .big-gap-l-xl,
  .big-gap-lr-xl {
    padding-left: 100px;
  }
  .big-gap-r-xl,
  .big-gap-lr-xl {
    padding-right: 100px;
  }
  .s_home_hero_dark .d-flex:first-child {
    min-height: calc(100vh - 10rem);
  }
  .home-events-grid {
    .single-event:nth-of-type(3) {
      position: relative;

      &:before {
        border-left: 1px solid var(--border-color);
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 50px;
        left: -1px;
      }
    }
  }
}
@media (min-width: 1400px) {
  .container-xxl-fluid {
    max-width: 100%;
  }
  .big-gap-l-xxl,
  .big-gap-lr-xxl {
    padding-left: 100px;
  }
  .big-gap-r-xxl,
  .big-gap-lr-xxl {
    padding-right: 100px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .display-1 {
    font-size: 3rem;
  }
  .display-4 {
    font-size: 2.13rem;
  }
  .display-5 {
    font-size: 2.125rem;
  }
  .mt-sm-md-4d5, .my-sm-md-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-sm-md-4d5, .my-sm-md-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-sm-md-4d5, .py-sm-md-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-sm-md-4d5, .py-sm-md-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .display-1 {
    font-size: 3.75rem;
  }
  .display-4 {
    font-size: 2.5rem;
  }
  .display-5 {
    font-size: 2.5rem;
  }
  .mt-md-lg-4d5, .my-md-lg-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-md-lg-4d5, .my-md-lg-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-md-lg-4d5, .py-md-lg-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-md-lg-4d5, .py-md-lg-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .display-1 {
    font-size: 5rem;
  }
  .display-4 {
    font-size: 3rem;
  }
  .mt-lg-xl-4d5, .my-lg-xl-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-lg-xl-4d5, .my-lg-xl-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-lg-xl-4d5, .py-lg-xl-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-lg-xl-4d5, .py-lg-xl-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.5rem;
  }
  .h1, h1, .display-4 {
    font-size: 1.9rem;
  }
  .display-5 {
    font-size: 1.875rem;
  }
  .mt-sm-4d5, .my-sm-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-sm-4d5, .my-sm-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-sm-4d5, .py-sm-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-sm-4d5, .py-sm-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (max-width: 767.98px) {
  .mt-md-4d5, .my-md-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-md-4d5, .my-md-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-md-4d5, .py-md-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-md-4d5, .py-md-4d5 {
    padding-bottom: 2.2rem !important;
  }
  .s_home_hero_dark .d-flex:first-child {
    min-height: 50vh;
  }
  .home-events-grid {
    .single-event {
      padding-bottom: 30px;
    }
  }
}
@media (max-width: 991.98px) {
  .h1, h1 {
    font-size: 2.13rem;
  }
  .mt-lg-4d5, .my-lg-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-lg-4d5, .my-lg-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-lg-4d5, .py-lg-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-lg-4d5, .py-lg-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (max-width: 1199.98px) {
  .mt-xl-4d5, .my-xl-4d5 {
    margin-top: 2.2rem !important;
  }
  .mb-xl-4d5, .my-xl-4d5 {
    margin-bottom: 2.2rem !important;
  }
  .pt-xl-4d5, .py-xl-4d5 {
    padding-top: 2.2rem !important;
  }
  .pb-xl-4d5, .py-xl-4d5 {
    padding-bottom: 2.2rem !important;
  }
}
@media (max-width: 1399.98px) {
}
