// Global CSS Variables
:root {
  --header_height: $header_height;
}

body {
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  &.helix-ultimate-preloader {
    overflow: hidden;
    &:before {
      content: " ";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 99998;
      background: rgba(255, 255, 255, 0.9);
    }
    &:after {
      content: "\f110";
      font-family: "FontAwesome";
      font-size: 36px;
      position: fixed;
      top: 50%;
      left: 50%;
      margin-top: -24px;
      margin-left: -24px;
      width: 48px;
      height: 48px;
      line-break: 48px;
      text-align: center;
      color: #007bff;
      -webkit-animation: fa-spin 2s infinite linear;
      animation: fa-spin 2s infinite linear;
      z-index: 99999;
    }
  }
}

a {
  transition: color 400ms, background-color 400ms;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

label {
  font-weight: normal;
}

legend {
  padding-bottom: 10px;
}

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

//Bootstrap 5 customize
.row {
  --bs-gutter-x: 1.875rem;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
}
.element-invisible {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
//Topbar

#sp-top-bar {
  padding: 14px 0;
  .sp-module {
    display: inline-block;
    margin: 0 0 0 1.25rem;
  }
  font-size: 0.875rem;
}

ul.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  > li {
    display: inline-block;
    line-height: 1.5;
    &:not(:last-child) {
      margin-right: 20px;
    }
  }
}
.flex-auto {
  flex: auto;
}
.negativeZIndex {
    z-index: -1 !important;
}
.zIndex-9 {
  position: relative !important;
  z-index: 9 !important;
}
#sp-menu {
  &.menu-with-social {
    .sp-megamenu-wrapper {
      flex: auto;
      justify-content: space-between;
      display: flex;
      align-items: center;
    }
  }
  > .sp-column {
    height: 100%;
  }
  .social-wrap {
    position: relative;
    padding-left: 60px;
    &:after {
      content: "";
      margin-top: 10px;
      margin-bottom: 10px;
      position: absolute;
      width: 2px;
      height: calc(var(--header_height) - 20px);
      left: 30px;
      background-color: rgba(80, 80, 80, 0.2);
    }
  }
  ul.social-icons {
    > li:not(:last-child) {
      margin-right: 20px;
    }
    a {
      color: #9c9c9c;
    }
  }
  .social-wrap.no-border {
    ul.social-icons {
      border-left: none;
      padding-left: 0px;
    }
  }
  &.menu-center {
    .sp-megamenu-wrapper {
      justify-content: center;
    }
  }
}
.menu-flex {
  .sp-megamenu-wrapper {
    display: flex;
    justify-content: flex-end;
  }
}
#menu-right {
  .sp-module {
    &:first-child {
      border-right: 2px solid rgba(80, 80, 80, 0.2);
      padding-right: 30px;
    }
  }
}

.header-has-modules {
  #offcanvas-toggler {
    margin-right: 20px;
    margin-left: 0;
  }
}

// language switcher
.sp-module-content {
  .mod-languages {
    ul.lang-inline {
      margin: 0;
      padding: 0;
      li {
        border: none;
        display: inline-block;
        margin: 0 5px 0 0;
        a {
          padding: 0 !important;
        }
        > a:before {
          display: none;
        }
      }
    }
  }

  // Latest Articles
  .latestnews {
    > li {
      > a {
        > span {
          display: block;
          margin-top: 5px;
          font-size: 85%;
        }
      }
    }
  }
}

.sp-contact-info {
    list-style: none;
    padding: 0;
    margin: 0px;
    li {
        display: inline-block;
        font-size: 14px;
        white-space: nowrap;
        i,
        span {
          margin-right: 5px;
        }
        &:not(:last-child) {
            margin-right: 15px;
        }
    }
}

// Header
#sp-header {
  height: $header_height;
  width: 100%;
  position: relative;
  z-index: 99;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  animation: spFadeIn 0.5s;
  #offcanvas-toggler.offcanvas,
  #offcanvas-toggler.mega {
    display: none !important;
  }
  &.full-header-left,
  &.full-header-center,
  &.header-with-modal-menu,
  &.lg-header,
  &.header-with-social {
    #offcanvas-toggler.offcanvas {
      display: flex !important;
    }
    .menu-with-offcanvas #offcanvas-toggler {
      display: none !important;
    }
  }
  &.full-header {
    padding-left: 45px;
    padding-right: 45px;
  }
  &.lg-header {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    .logo {
      height: auto;
    }
    #offcanvas-toggler {
      margin-right: 20px;
      margin-left: 0px;
      &.offcanvas-toggler-right.offcanvas {
        display: none !important;
      }
    }
    .sp-column {
      height: 100%;
    }
    #sp-logo {
      #offcanvas-toggler {
        display: none;
      }
    }
  }
  &.header-with-modal-menu {
    color: $menu_text_color;
    a {
      color: rgba($menu_text_color, 0.6);
      &:hover,
      &:focus {
        color: $menu_text_hover_color;
      }
    }
    .sp-contact-info {
      > li {
        margin-right: 15px;
        opacity: 0.7;
        transition: 0.3s;
        &:hover,
        &:focus {
          opacity: 1;
        }
        > span {
          margin-right: 5px;
        }
      }
    }
    #offcanvas-toggler {
      display: none !important;
    }
    &.center-layout {
      .modules-wrapper {
        height: auto;
        border: none;
        padding: 0px;
        max-width: 730px;
        margin: 0 auto;
      }
      #modal-menu .modal-menu-inner > .container {
        align-items: flex-start;
        padding: 170px 0 0;
      }
      #modal-menu {
        .search {
          margin-bottom: 80px;
          form {
            &:after {
              font-size: 16px;
            }
            &:hover {
              &:after {
                display: none;
              }
            }
            input {
              background: transparent;
              border-bottom: 2px solid rgba(32, 31, 31, 0.1);
              font-size: 26px;
              padding: 7px;
              border-radius: 0px;
              &::placeholder {
                color: rgba(32, 31, 31, 0.4);
              }
              &:focus,
              &:active,
              &:active:focus {
                box-shadow: none;
                border-bottom: 2px solid rgba(32, 31, 31, 0.7);
              }
            }
          }
        }
      }
      .sp-megamenu-wrapper {
        justify-content: center;
        ul.sp-megamenu-parent {
          flex-direction: row;
        }
        .sp-megamenu-parent > li {
          > a,
          > span {
            padding: 0;
            &:after {
              top: 100%;
              width: 2px;
              height: 20px;
              left: 50%;
              transform: translateX(-50%);
              margin: 10px 0 0 0;
            }
          }
          &.sp-has-child {
            &:hover > a:after,
            &:hover > span:after {
              height: 30px;
            }
            > .sp-dropdown {
              animation: spFadeIn 0.5s;
            }
          }
          &:not(:last-child) {
            > a,
            > span {
              margin-right: 70px;
            }
          }
          > .sp-dropdown.sp-dropdown-main {
            top: 100%;
            padding-top: 50px;
            padding-left: 0;
            left: auto !important;
            right: 0px;
            transition: 0.35s;
            li.sp-menu-item > a,
            li.sp-menu-item > span {
              padding: 6px 0;
            }
          }
        }
      }
    }
    &.classic-layout {
      .modal-menu-inner > div {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 0;
        .sp-megamenu-wrapper {
          height: 100%;
          align-items: center;
        }
        .social-icons {
          margin-top: auto;
          margin-bottom: 0px;
          width: 100%;
          border-top: 2px solid rgb(32 31 31 / 10%);
          padding-top: 20px;
          font-size: 12px;
        }
      }
    }
  }
  .logo {
    height: $header_height;
    display: inline-flex;
    margin: 0;
    align-items: center;
    a {
      font-size: 24px;
      line-height: 1;
      margin: 0;
      padding: 0;
    }
    p {
      margin: 5px 0 0;
    }
  }
  &.header-sticky {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    animation: spFadeInDown 0.5s;
  }
  .sp-module {
    margin-left: 20px;
  }
  nav.sp-megamenu-wrapper {
    #offcanvas-toggler {
      display: none;
    }
  }

  .sp-megamenu-parent > li > a {
    text-transform: uppercase;
  }
  .sp-megamenu-parent > li > a, 
  .sp-megamenu-parent > li > span {
    padding: 0 20px;
  }

  .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    width: 100%;
    font-weight: 400;
  }

  .sp-megamenu-parent > li.sp-has-child > a {
    height: 115px;
    line-height: 115px;
  }

  .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    padding: 20px 0;
  }
  .sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    padding: 0 20px;
  }
}

#sp-header-topbar {
  position: relative;
  z-index: 111;
  .sp-profile-wrapper {
    .sp-sign-in {
      .user-text {
        display: none !important;
      }
    }
  }
  #sp-logo {
    #offcanvas-toggler {
      display: none !important;
    }
  }
  .container-inner {
    border-bottom: 1px solid #e5e5e5;
    > .row {
      min-height: $header_height;
    }
  }
  a {
    color: #909196;
    &:hover {
      color: $link_color;
    }
  }
  .sp-contact-info {
    color: #909196;
  }
}

.header-modules {
  margin-left: 20px;
  .sp-module {
    margin-left: 20px;
  }
  .search {
    position: relative;
    form {
      &:after {
        content: "\f002";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 0;
        font-size: 12px;
        line-height: 32px;
        right: 10px;
      }
      input {
        background: #efeff0;
        border: none;
        height: 32px;
        font-size: 15px;
        border-radius: 3px;
        padding: 5px 10px;
      }
    }
  }
}

// Modal Menu Variation
.burger-icon {
  width: 25px;
  cursor: pointer;
  > span {
    display: block;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    transition: background-color 0.3s ease-in, opacity 0.3s ease-in, transform 0.3s ease-in;
  }
}

.offcanvas-active,
#modal-menu-toggler.active {
  .burger-icon > span {
    background-color: #000;
    &:nth-child(1) {
      transform: translate(0, 8px) rotate(-45deg);
    }

    &:nth-child(2) {
      opacity: 0;
    }

    &:nth-child(3) {
      transform: translate(0, -5px) rotate(45deg);
    }
  }
}
.offcanvas-active .close-offcanvas {
  .burger-icon > span {
    transition-delay: 0.2s;
  }
}
body.modal-menu-active {
  overflow-y: hidden;
}
#modal-menu {
  background: #f9f9f9;
  position: fixed !important;
  top: $header_height;
  left: 0;
  right: 0;
  transition: 0.5s;
  bottom: 120%;
  overflow: hidden;
  display: flex;
  z-index: 10;
  &.has-bg {
    background-image: url(../images/menu-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
  &.active {
    bottom: 0;
  }

  .sp-megamenu-parent > li {
    > a,
    > span {
      display: block;

      &:after {
        transition: 0.3s;
      }
    }

    &:hover,
    &.active {
      > a,
      > span {
        color: $link_color;

        &:after {
          opacity: 1;
        }
      }
    }
  }

  .sp-megamenu-parent > li > a .nav-counter,
  .sp-megamenu-parent > li > span .nav-counter {
    font-size: 16px;
  }

  .sp-megamenu-parent > li:hover > a:before,
  .sp-megamenu-parent > li.active > a:before {
    width: 0;
    opacity: 0;
  }

  .modal-menu-inner {
    position: relative !important;
    width: 100%;

    #menu-dismiss {
      position: absolute;
      top: 60px;
      left: 60px;
      cursor: pointer;

      svg {
        font-size: 55px;
      }
    }

    > .container {
      display: flex;
      padding: 70px 0;
      align-items: center;
      height: 100%;
      > .row {
        width: 100%;
      }
    }
  }

  ul.sp-megamenu-parent {
    display: flex !important;
    flex-direction: column;
    > li {
      position: relative;

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

      > a,
      > span {
        font-size: 26px;
        font-weight: 600;
        line-height: 1.4;
        text-transform: initial;
      }
    }
    li.sp-has-child {
      > a,
      > span {
        position: relative;
        &:after {
          content: "\f105";
          font-family: "Font Awesome 5 Free";
          float: right;
          position: absolute;
          top: 2px;
        }
      }
      &:hover {
        > a,
        > span {
          &:after {
            transform: translateX(5px);
          }
        }
        > .sp-dropdown {
          animation: spFadeInDown 0.5s;
        }
      }
    }
    .sp-dropdown {
      left: 100% !important;
      transition: 0.3s;
      padding-left: 20px;

      &.sp-dropdown-main {
        top: 0px;
      }

      &.sp-dropdown-mega {
        top: auto;
        bottom: 0px;
      }

      .sp-dropdown-inner {
        box-shadow: none;
        border-radius: 0px;
        position: relative;
        overflow: visible !important;
        max-height: initial;
        background-color: #fff;
        padding: 20px;

        ul > li > a {
          font-weight: 500 !important;
          font-size: 15px !important;
        }
      }
    }
  }
  .modules-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 330px;
    border-left: 2px solid rgb(32 31 31 / 10%);
    padding: 30px;
    color: $menu_text_color;
    a {
      color: $menu_text_color;
      &:hover,
      &:focus {
        color: $menu_text_hover_color;
      }
    }

    .sp-module {
      margin-left: 0;
      margin-bottom: 15px;
    }
    .search form {
      margin-bottom: 30px;
      input {
        height: 40px;
      }
    }
    .sp-contact-info {
      margin-bottom: 10px;
      display: flex;
      flex-direction: column;
      > li {
        margin-bottom: 35px;
        > span {
          font-size: 12px;
          margin-bottom: 10px;
        }
        > a {
          opacity: 0.7;
          &:hover,
          &:focus {
            opacity: 1;
          }
        }
      }
    }
    .social-icons {
      font-size: 14px;
      a {
        opacity: 0.7;
        &:hover,
        &:focus {
          opacity: 1;
        }
      }
    }
  }
}

#sp-logo.has-border {
  position: relative;
  padding-right: 45px;
  &:after {
    content: "";
    margin-top: 10px;
    margin-bottom: 10px;
    position: absolute;
    width: 2px;
    height: calc(var(--header_height) - 20px);
    right: 15px;
    background-color: rgba(80, 80, 80, 0.2);
  }
  .sp-column {
    display: inline-flex;
    align-items: center;
  }
}

// profile
.sp-profile-wrapper {
  position: relative;
  font-size: 14px;
  .arrow-icon {
    font-size: 11px;
  }
  .sp-profile-dropdown {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 10px 15px !important;
    list-style: none !important;
    font-size: 14px;
    position: absolute;
    min-width: 100px;
    right: 0;
    top: 100%;
    display: none !important;
    > li:not(:last-child) {
      border-bottom: 1px solid #e4e4e4;
      padding-bottom: 5px;
      margin-bottom: 5px;
      line-height: 1.3;
    }
  }
  &:hover {
    .sp-profile-dropdown {
      display: block !important;
      animation: spFadeInDown 0.5s;
    }
  }
}
// Page Title

#sp-title {
  min-height: 0;
}

.sp-page-title {
  padding: 30px 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  .sp-page-title-heading,
  .sp-page-title-sub-heading {
    margin: 0;
    padding: 0;
    color: #fff;
  }
  .sp-page-title-heading {
    font-size: 24px;
    line-height: 1;
  }
  .sp-page-title-sub-heading {
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    margin-top: 10px;
  }
  .breadcrumb {
    background: none;
    padding: 0;
    margin: 10px 0 0 0;
    > .active {
      color: rgba(255, 255, 255, 0.8);
    }
    > span,
    > li,
    > li + li:before,
    > li > a {
      color: #fff;
    }
  }
}
.breadcrumb {
  padding: 0.75rem 1rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}
// Body
.body-innerwrapper {
  overflow-x: hidden;
}
.layout-boxed .body-innerwrapper {
  max-width: 1240px;
  margin: 0 auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#sp-main-body {
  padding: 100px 0;
}
body.view-article.remove-container {
  .body-innerwrapper {
    > #sp-main-body,
    > .sp-main-body {
      > .container {
        max-width: 100%;
        padding: 0;
      }
    }
  }
}
.com-sppagebuilder #sp-main-body {
  padding: 0;
}

// Left and Right

#sp-left,
#sp-right {
  .sp-module {
    margin-top: 50px;
    border: 1px solid #f3f3f3;
    padding: 30px;
    border-radius: 3px;

    &:first-child {
      margin-top: 0;
    }
    .sp-module-title {
      margin: 0 0 30px;
      padding-bottom: 20px;
      font-size: 22px;
      font-weight: 700;
      border-bottom: 1px solid #f3f3f3;
    }
    //Un-ordered List
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      > li {
        display: block;
        border-bottom: 1px solid #f3f3f3;
        > a {
          display: block;
          padding: 5px 0;
          line-height: 36px;
          padding: 2px 0;
        }
        &:last-child {
          border-bottom: none;
        }
      }
    }
    //List category
    .categories-module {
      ul {
        margin: 0 10px;
      }
    }
    //Latest News
    .latestnews {
      > div {
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px solid #e8e8e8;
        &:last-child {
          padding-bottom: 0;
          margin-bottom: 0;
          border-bottom: 0;
        }
        > a {
          display: block;
          font-weight: 400;
        }
      }
    }
    //Tags Cloud
    .tagscloud {
      margin: -2px 0;
      .tag-name {
        display: inline-block;
        padding: 5px 10px;
        background: #808080;
        color: #fff;
        border-radius: 4px;
        margin: 2px 0;
        span {
          display: inline-block;
          min-width: 10px;
          padding: 3px 7px;
          font-size: 12px;
          font-weight: 700;
          line-height: 1;
          text-align: center;
          white-space: nowrap;
          vertical-align: baseline;
          background-color: rgba(0, 0, 0, 0.2);
          border-radius: 10px;
        }
      }
    }
  }
}

// Login Form

.login {
  img {
    display: inline-block;
    margin: 20px 0;
  }
  .checkbox {
    input[type="checkbox"] {
      margin-top: 6px;
    }
  }
}

.form-links {
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

// Search
.hide-label {
  border: 0;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.search {
  .btn-toolbar {
    margin-bottom: 20px;
    span.icon-search {
      margin: 0;
    }
    button {
      color: #fff;
    }
  }
  .phrases {
    .phrases-box {
      .controls {
        label {
          display: inline-block;
          margin: 0 20px 20px;
        }
      }
    }
    .ordering-box {
      margin-bottom: 15px;
    }
  }
  .only {
    label {
      display: inline-block;
      margin: 0 20px 20px;
    }
  }
  .search-results {
    dt.result-title {
      margin-top: 40px;
    }
    dt,
    dd {
      margin: 5px 0;
    }
  }
}

.filter-search {
  .chzn-container-single {
    .chzn-single {
      height: 34px;
      line-height: 34px;
    }
  }
}

.form-search {
  .finder {
    label {
      display: block;
    }
    .input-medium {
      width: 60%;
      border-radius: 4px;
    }
  }
}

.finder {
  .word {
    input {
      display: inline-block;
    }
  }
  .search-results.list-striped {
    li {
      padding: 20px 0;
    }
  }
}

// Blog

.article-list {
  .article {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #f5f5f5;
    border-radius: 3px;

    .article-intro-image,
    .article-featured-video,
    .article-featured-audio,
    .article-feature-gallery {
      margin: -20px -20px 20px -20px;
      border-radius: 3px 3px 0 0;
      border-bottom: 1px solid #f5f5f5;
      overflow: hidden;
      img {
        border-radius: 3px 3px 0 0;
      }
    }

    .article-header {
      h1,
      h2 {
        font-size: 1.375rem;
        margin: 0 0 1.25rem 0;

        a {
          color: $text_color;
          &:hover,
          &:active,
          &:focus {
            color: $link_hover_color;
          }
        }
      }
    }

    .readmore {
      font-size: 0.875rem;
      a {
        color: $text_color;
        font-weight: 500;
        display: inline-block;
        position: relative;
        padding-right: 20px;
        &:after {
            position: absolute;
            content: "\f054";
            font-weight: 700;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            font-family: "Font Awesome 5 Free";
        }
        &:hover,
        &:active,
        &:focus {
            padding-right: 25px;
            color: $link_hover_color;
        }
      }
    }
  }
}

.related-article-large {
  .article-image {
    width: 350px;
    min-width: 350px;
  }

  .article-information {
    border-left: 1px solid #f1f1f1;
    padding-left: 20px;
    margin-left: 20px;

    > span {
      font-size: 0.813rem;

      + span::before {
        display: inline-block;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        content: "/";
      }

      a {
        color: $text_color;
        &:hover {
          color: $link_hover_color;
        }
      }
    }

    .intro-text {
      margin-top: 20px;
    }
  }
}

.article-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  > span {
    font-size: 0.813rem;

    + span::before {
      display: inline-block;
      padding-right: 0.5rem;
      padding-left: 0.5rem;
      content: "/";
    }

    a {
      color: $text_color;
      &:hover {
        color: $link_hover_color;
      }
    }
  }
}

.article-details {
  .article-header {
    position: relative;
    h1,
    h2 {
      font-size: 2.25rem;
    }
  }

  .article-info {
    margin-bottom: 1rem;
  }

  .article-full-image {
    img {
      display: inline-block;
      border-radius: 4px;
    }
    margin-bottom: 2rem;
  }

  .article-featured-video,
  .article-featured-audio,
  .article-feature-gallery {
    margin-bottom: 2rem;
  }

  .article-ratings-social-share {
    padding: 1rem 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 1rem;
  }

  .article-author-information {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #f5f5f5;
  }

  .article-can-edit {
    position: relative;
    margin-bottom: 10px;
    a {
      display: inline-block;
      background: #2a61c9;
      color: #fff;
      padding: 5px 12px;
      border-radius: 3px;
      font-size: 14px;
    }
  }
}
.related-article-list-container {
  margin-top: 15px;
  .related-article-title {
    font-size: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f3f3;
  }
  ul.related-article-list {
    list-style: none;
    padding: 0;
    li {
      margin-bottom: 10px;
      .article-header {
        h2 {
          font-size: 1.2rem;
          a {
            color: #252525;
            &:hover {
              color: #044cd0;
            }
          }
        }
      }
      .published {
        font-size: 14px;
      }
    }
  }
}

.tags {
  list-style: none;
  padding: 0;
  margin: -0.3125rem;
  display: flex;
  flex-wrap: wrap;
  > li {
    display: inline-block;
    margin: 0.3125rem;
    a {
      display: block;
      font-size: 0.875rem;
      padding: 0.5rem 1rem;
      border-radius: 6.25rem;
      &:hover {
        color: #fff;
      }
    }
  }
}

.pager {
  list-style: none;
  padding: 2rem 0 0 0;
  margin: 2rem 0 0 0;
  border-top: 1px solid #f5f5f5;

  &::after {
    display: block;
    clear: both;
    content: "";
  }

  > li {
    display: inline-block;
    &.previous {
      float: left;
    }
    &.next {
      float: right;
    }
    a {
      display: inline-block;
      font-size: 0.785rem;
      padding: 1rem 2.5rem;
      border-radius: 100px;
    }
  }
}

#article-comments {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #f5f5f5;
}

//Article Voting
.article-ratings {
  display: flex;
  align-items: center;
  .rating-symbol {
    unicode-bidi: bidi-override;
    direction: rtl;
    font-size: 1rem;
    display: inline-block;
    margin-left: 5px;
    span.rating-star {
      font-family: "Font Awesome 5 Free";
      font-weight: normal;
      font-style: normal;
      display: inline-block;
      &.active:before {
        content: "\f005";
        font-weight: 900;
        color: #f6bc00;
      }
      &:before {
        content: "\f005";
        padding-right: 5px;
      }
    }

    span.rating-star:hover:before,
    span.rating-star:hover ~ span.rating-star:before {
      content: "\f005";
      color: #e7b000;
      font-weight: 900;
      cursor: pointer;
    }
  }

  .ratings-count {
    font-size: 0.785rem;
    color: #4c4b4b;
  }

  .fa-spinner {
    margin-right: 5px;
  }
}

// Misc
.pagination-wrapper {
  align-items: center;
  .pagination {
    margin-bottom: 0;
  }
}

//Social Share
.article-social-share {
  float: right;
  .social-share-icon {
    ul {
      padding: 0;
      list-style: none;
      margin: 0;
      li {
        &:not(:last-child) {
          margin-right: 10px;
        }
        display: inline-block;
        a {
          border: 1px solid #ededed;
          font-size: 1rem;
          border-radius: 50%;
          height: 34px;
          line-height: 34px;
          text-align: center;
          width: 34px;
          display: inline-block;
          &:hover,
          &:focus {
            color: #fff;
          }
        }
      }
    }
  }
}

.newsfeed-category {
  .category {
    list-style: none;
    padding: 0;
    margin: 0;
    li {
      padding: 5px 0;
    }
  }
  #filter-search {
    margin: 10px 0;
  }
}

.category-module,
.categories-module,
.archive-module,
.latestnews,
.newsflash-horiz,
.mostread,
.form-links,
.list-striped {
  list-style: none;
  padding: 0;
  margin: 0;
  li {
    padding: 2px 0;
    h4 {
      margin: 5px 0;
    }
  }
}
//Social and rating
.article-footer-top {
  display: table;
  clear: both;
  width: 100%;
  .post_rating {
    float: left;
  }
}

// contentpane
.contentpane {
  &:not(.com-sppagebuilder) {
    padding: 20px;
  }
}

// Bottom

#sp-bottom {
  padding: 60px 0 30px;
  font-size: 14px;
  line-height: 1.6;
  .sp-module {
    margin-bottom: 50px;
    .sp-module-title {
      font-weight: 700;
      font-size: 18px;
      margin: 0 0 30px;
      color: #fff;
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      > li {
        display: block;
        margin-bottom: 15px;
        &:last-child {
          margin-bottom: 0;
        }
        > a {
          display: block;
        }
      }
    }
  }

  #sp-bottom1,
  #sp-bottom2 {
    .sp-module {
      margin-right: 50px;
    }
  }
  #sp-bottom3 {
    .sp-module {
      margin-right: 0;
    }
  }
}

// Footer
#sp-footer {
  font-size: 14px;
  padding: 0;

  .container-inner {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  ul {
    &.menu {
      display: inline-block;
      list-style: none;
      padding: 0;
      margin: 0 -10px;
      li {
        display: inline-block;
        margin: 0 10px;
        a {
          display: block;
          &:hover {
            background: none;
          }
        }
      }
    }
  }

  #sp-footer2 {
    text-align: right;
    .navbar-expand-md .navbar-collapse {
      justify-content: right;
      .mod-menu {
        .nav-item {
          position: relative;
          margin-right: 20px;
          padding-right: 20px;
          &:before {
            content: '';
            position: absolute;
            height: 5px;
            width: 5px;
            border-radius: 100%;
            background: #fff;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
          }
          &:last-child {
            margin-right: 0;
            padding-right: 0;
            &:before {
              display: none;
            }
          }
        }
      }
    }
  }
}

// Coming soon
html.coming-soon {
  width: 100%;
  height: 100%;
  min-height: 100%;

  body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50% 40%;
  }

  .coming-soon-logo {
    display: inline-block;
    margin-bottom: 2rem;
  }

  #coming-soon-countdown {
    margin-top: 4rem;

    .coming-soon-days,
    .coming-soon-hours,
    .coming-soon-minutes,
    .coming-soon-seconds {
      margin: 0;
      float: left;
      width: 25%;

      .coming-soon-number {
        width: 100%;
        font-size: 4.5rem;
        letter-spacing: -1px;
        line-height: 1;
      }

      .coming-soon-string {
        font-size: 1.5rem;
        letter-spacing: -1px;
        display: block;
        text-transform: uppercase;
      }
    }
  }

  .coming-soon-position {
    margin-top: 2rem;
  }

  .social-icons {
    margin-top: 4rem;
  }
  .coming-soon-login form {
    display: inline-block;
  }
}

// error
html.error-page {
  width: 100%;
  height: 100%;

  body {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50% 40%;
  }

  .error-logo {
    display: inline-block;
    margin-bottom: 2rem;
  }

  .error-code {
    margin: 0 0 1rem;
    font-size: 6rem;
    line-break: 1;
  }

  .error-message {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }
}

.sp-social-share {
  ul {
    display: block;
    padding: 0;
    margin: 20px -5px 0;
    li {
      display: inline-block;
      font-size: 24px;
      margin: 0 5px;
    }
  }
}

// profile
.profile {
  > div:not(:last-child) {
    margin-bottom: 30px;
  }
}

.dl-horizontal {
  dt {
    margin: 8px 0;
    text-align: left;
  }
}

// page-header
.page-header {
  padding-bottom: 15px;
}

// featured contact
table.category {
  width: 100%;
  thead,
  tbody {
    > tr {
      border: 1px solid #f2f2f2;
      th,
      td {
        padding: 10px;
      }
    }
  }
}

//contact from
.contact-form {
  .form-actions {
    background: none;
    border: none;
  }
}

@media print {
  .visible-print {
    display: inherit !important;
  }
  .hidden-print {
    display: none !important;
  }
}

// Preloader
.sp-preloader {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
  > div {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    position: absolute;
    animation: spSpin 0.75s linear infinite;
    &:after {
      content: "";
      position: absolute;
      width: 49px;
      height: 49px;
      top: 1px;
      right: 0;
      left: 0;
      margin: auto;
      border-radius: 50%;
    }
  }
}

.sp-scroll-up {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background: rgba(100, 100, 100, 0.4);
  border-radius: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);

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

// Forms
.control-group {
  margin-bottom: 1rem;
}

select.form-control:not([multiple]),
select.inputbox:not([multiple]),
select:not([multiple]) {
  height: calc(2.25rem + 2px);
}

.form-control-feedback {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875em;
}

//remove bootstrap input focus outline
input[type="text"],
textarea {
  outline: none;
  box-shadow: none !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select:not(.form-select) {
  &:not(.form-control) {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;

    &:focus {
      color: #495057;
      background-color: #fff;
      border-color: #80bdff;
      outline: 0;
    }
  }
}

// password group meter
.password-group {
  meter {
    width: 100%;
  }
}

.chzn-select,
.chzn-select-deselect {
  width: 100%;
}

.chzn-container {
  &.chzn-container-single {
    .chzn-single {
      display: block;
      width: 100%;
      padding: 0.5rem 0.75rem;
      line-height: 1.25;
      height: calc(2.25rem + 2px);
      color: #495057;
      background-color: #fff;
      background-image: none;
      background-clip: padding-box;
      border: 1px solid rgba(0, 0, 0, 0.15);
      border-radius: 0.25rem;
      transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
      box-shadow: none;

      div {
        width: 30px;
        background: none;
        > b {
          background: none;
          position: relative;
          font: normal normal normal 14px/1 FontAwesome;
          &:after {
            content: "\f0dc";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 0.875rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
          }
        }
      }
    }

    &.chzn-container-active {
      &.chzn-with-drop {
        .chzn-single {
          border-radius: 0.25rem 0.25rem 0 0;
        }
      }
    }

    .chzn-search {
      padding: 0.625rem;
      input[type="text"] {
        display: block;
        width: 100%;
        padding: 0.5rem 1.429rem 0.5rem 0.75rem;
        font-size: 0.875rem;
        line-height: 1.25;
        height: calc(2rem + 2px);
        color: #495057;
        background-color: #fff;
        background-image: none;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
        box-shadow: none;
        -webkit-box-shadow: none;

        &:focus {
          border-color: #80bdff;
          outline: 0;
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
      }

      &:after {
        content: "\f002";
        font-family: FontAwesome;
        font-size: 0.875rem;
        color: rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
      }
    }

    .chzn-drop {
      border-color: rgba(0, 0, 0, 0.15);
      border-radius: 0 0 0.25rem 0.25rem;
      box-shadow: none;
      -webkit-box-shadow: none;
    }

    .chzn-results {
      li {
        &.highlighted {
          background-image: none !important;
        }
      }
    }
  }

  &.chzn-container-multi {
    .chzn-choices {
      display: block;
      width: 100%;
      padding: 0 0.75rem;
      min-height: calc(2.25rem + 2px);
      line-height: 1.25;
      background-color: #fff;
      background-image: none;
      background-clip: padding-box;
      border: 1px solid rgba(0, 0, 0, 0.15);
      border-radius: 0.25rem;
      transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
      box-shadow: none;
      -webkit-box-shadow: none;

      li {
        &.search-field {
          input[type="text"] {
            font-size: 0.875rem;
            font-weight: normal;
            line-height: 1.25;
            height: calc(2rem + 2px);
            background-color: #fff;
          }
        }

        &.search-choice {
          margin: 5.5px 5px 0 0;
          padding: 5px 20px 5px 5px;
          background-image: none;
          background-color: #f5f5f5;
          border-color: rgba(0, 0, 0, 0.1);
          box-shadow: none;
          -webkit-box-shadow: none;

          .search-choice-close {
            background: none;
            top: 5px;
            color: rgba(0, 0, 0, 0.2);
            &:hover {
              color: rgba(0, 0, 0, 0.5);
            }
            &:after {
              content: "\f00d";
              font-family: FontAwesome;
              font-size: 0.875rem;
              position: absolute;
              top: 0;
              right: 0;
            }
          }
        }
      }
    }

    &.chzn-with-drop {
      &.chzn-container-active {
        .chzn-choices {
          border-radius: 0.25rem;
        }
      }
      .chzn-drop {
        margin-top: -4px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;

        .chzn-results {
          &:not(:empty) {
            padding: 0.75rem;
            background: #fff;
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-top: 0;
            border-radius: 0 0 0.25rem 0.25rem;
          }

          li {
            &.no-results {
              background: none;
            }
          }
        }
      }
    }
  }
}

// Form control
.form-horizontal {
  .control-label {
    float: left;
    width: auto;
    padding-top: 5px;
    padding-right: 5px;
    text-align: left;
  }

  .controls {
    margin-left: 220px;
  }
}

.card-block {
  padding: 20px;
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    li {
      display: block;
    }
  }
}

// Alerts
.alert {
  &.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
  }
}
.invalid {
  color: #a51f18;
  border-color: #a51f18;
}

// Cookie
#sp-cookie-consent {
  position: fixed;
  font-size: 16px;
  font-weight: 500;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10001;

  > div {
    padding: 20px;
    position: relative;
  }
}

#attrib-helix_ultimate_blog_options {
  #jform_attribs_helix_ultimate_article_format {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    .form-check-inline {
      margin: 0;
      margin-right: -5px;
      padding-left: 0px;
      label {
        display: inline-block;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 18px;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        background-color: #f3f3f3;
        color: #333;
        border-top: 1px solid #b3b3b3;
        border-right: 1px solid #b3b3b3;
        border-bottom: 1px solid #b3b3b3;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        border-radius: 0;
        &.btn-success {
          background: #46a546;
          color: #fff;
        }
        input[type="radio"] {
          display: none !important;
        }
      }
      &:last-child {
        label {
          border-top-right-radius: 3px;
          border-bottom-right-radius: 3px;
        }
      }
      &:first-child {
        label {
          border-left: 1px solid #b3b3b3;
          border-top-left-radius: 3px;
          border-bottom-left-radius: 3px;
        }
      }
    }
  }
}
.com-contenthistory {
  .btn-group {
    display: flex;
    justify-content: flex-end;
    button {
      display: inline-block;
      padding: 4px 12px;
      margin-bottom: 0;
      font-size: 13px;
      line-height: 18px;
      text-align: center;
      vertical-align: middle;
      cursor: pointer;
      color: #333;
      text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
      background-color: #f5f5f5;
      background-repeat: repeat-x;
      border: 1px solid #bbb;
      border-bottom-color: #a2a2a2;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
      &:hover {
        color: #333;
        background-color: #e9e9e9;
      }
    }
  }
}
#versionsModal {
  top: 10%;
  .modal-dialog {
    max-width: 80%;
  }
  iframe {
    min-height: 300px;
  }
}
body.com-content.view-form.layout-edit .nav-tabs .nav-link {
  display: block !important;
}

// noscript fallback style for lazysizes script
.no-js img.lazyload {
  display: none;
}

#system-message-container {
  position: fixed;
  bottom: 0px;
  right: 15px;
  max-width: 350px;
  .alert {
    font-size: 13px;
    line-height: 1.5;
    > .btn-close {
      position: absolute;
      right: 5px;
      top: 5px;
      cursor: pointer;
    }
  }
  // for joomla4
  joomla-alert {
    font-size: 13px;
  }
}
.com-users.view-registration,
.com-users.view-profile {
  #member-registration,
  #member-profile {
    .modal-dialog {
      display: flex;
      align-items: center;
      min-height: calc(100% - 1rem);
    }
  }
}

//privacy
.registration {
  #member-registration {
    #jform_privacyconsent_privacy-lbl {
      display: inline-flex;
      > a {
        position: initial;
        display: block;
        color: $text_color;
        &:hover,
        &:focus {
          color: $link_hover_color;
        }
      }
    }
  }
}
body.com-users.view-registration {
  > #sbox-window {
    overflow: hidden;
    > #sbox-btn-close {
      top: 5px;
      right: 5px;
    }
  }
}
//article frontend editing
body.helix-ultimate.hu.view-form.layout-edit {
  .edit.item-page {
    > #adminForm {
      > fieldset {
        > .joomla-tabs {
          display: flex;
          padding: 0;
          margin: 0 !important;
          overflow-x: auto;
          overflow-y: hidden;
          white-space: nowrap;
          list-style: outside none none;
          background-color: #f5f5f5;
          border-color: #ccc #ccc currentcolor;
          border-style: solid solid none;
          border-width: 1px 1px 0;
          border-radius: 0.25rem 0.25rem 0 0;
          border-image: none;
          box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgb(0 0 0 / 15%), 0 -4px 0 rgb(0 0 0 / 5%) inset,
            0 0 3px rgb(0 0 0 / 4%);

          .nav-item > .nav-link {
            color: var(--text-color);
          }
          .nav-item > .nav-link.active {
            background-color: rgba(0, 0, 0, 0.03);
            background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05) 100%);
            border-right: 0 none;
            border-left: 0 none;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            box-shadow: 2px 0 1px -1px rgb(0 0 0 / 8%) inset, -2px 0 1px -1px rgb(0 0 0 / 8%) inset,
              0 1px 0 rgb(0 0 0 / 2%) inset;
          }
        }
        > .tab-content {
          padding: 15px;
          background-color: #fefefe;
          border: 1px solid #ccc;
          border-radius: 0 0 0.25rem 0.25rem;
          box-shadow: 0 0 3px rgb(0 0 0 / 4%);
        }
        #editor {
          label#jform_title-lbl {
            margin-bottom: 15px;
            font-weight: 700;
          }
          .js-editor-tinymce {
            display: flex;
            flex-direction: column;
          }
        }
        #publishing,
        #metadata,
        #attrib-helix_ultimate_blog_options {
          > .control-group {
            display: flex;
            flex-direction: column;
            > label {
              margin-bottom: 5px;
              font-weight: 700;
            }
            textarea {
              width: 100%;
            }
            .calendar-container .time td {
              select {
                padding: 4px;
                font-size: 13px;
              }
            }
          }
        }
      }
    }
  }
}
body.contentpane.com-media.view-images {
  .container-popup {
    #imageForm {
      > #messages + .well {
        .row-fluid {
          display: flex;
          max-width: 100%;
          .span8 {
            flex: auto;
            > .controls {
              margin-left: 10px;
              display: flex;
              max-width: 500px;
              #folderlist_chzn,
              #folderlist {
                flex: auto;
              }
            }
            #upbutton {
              background: var(--bs-primary);
              color: #fff;
              margin: 0 5px;
            }
          }
        }
      }
      .well {
        > .row-fluid:not(:last-child) {
          margin-bottom: 5px;
          > .control-group:not(:last-child) {
            margin-bottom: 5px;
          }
        }
      }
      .btn.button-cancel {
        background: var(--bs-danger);
        color: #fff;
        &:hover,
        &:focus {
          border-color: var(--bs-danger);
        }
      }
    }
  }
}
body.contentpane.com-menus.view-items.layout-modal {
  #adminForm {
    .js-stools-container-bar {
      display: flex;
    }
  }
}
body.contentpane.com-modules.view-modules.layout-modal {
  .container-popup {
    #adminForm {
      > .js-stools {
        .js-stools-container-bar {
          display: flex;
          align-items: center;
          padding: 10px 0px;
          > label {
            margin-right: 10px;
          }
          > .btn-wrapper.input-append {
            display: flex;
            > button[type="submit"] {
              background: var(--bs-primary);
              color: #fff;
              margin-left: 5px;
            }
          }
          > .btn-wrapper {
            > button[type="button"] {
              background: var(--bs-primary);
              color: #fff;
            }
          }
        }
      }
    }
  }
}

body.contentpane.com-content.view-articles.layout-modal,
body.contentpane.com-menus.view-items.layout-modal,
body.contentpane.com-contact.view-contacts.layout-modal {
  .container-popup {
    #adminForm {
      > .js-stools {
        padding-top: 15px;
        .js-stools-container-bar {
          margin-bottom: 10px;
          > label {
            margin-right: 10px;
          }
          > .btn-wrapper.input-append {
            display: flex;
            > button[type="submit"] {
              background: var(--bs-primary);
              color: #fff;
              margin-left: 5px;
            }
          }
          > .btn-wrapper {
            > button[type="button"] {
              background: var(--bs-primary);
              color: #fff;
            }
          }
        }
      }
    }
  }
}
body.contentpane.com-content.view-articles.layout-modal,
body.contentpane.com-contact.view-contacts.layout-modal {
  .container-popup {
    #adminForm {
      .js-stools-container-bar {
        display: flex;
        align-items: center;
      }
    }
  }
}

// misc
.modal-dialog.jviewport-width80 {
  width: 80vw;
  max-width: none;
}

// remove button box-shadow on focus
.btn:focus {
  box-shadow: none !important;
}









// Theme Custom CSS
// ---------------------------------------

// Common Css Start

a {
    transition: all 0.3s !important;
}

.rs-header {
    .container-fluid {
        padding-left: 100px;
        padding-right: 100px;
    }
}

.col-border-right {
    border-left: 0px !important;
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.col-border-left {
    border-right: 0px !important;
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.gutter-16 {
    .sppb-container-inner {
        > .sppb-row {
            margin-right: -8px;
            margin-left: -8px;
            > [class^="sppb-col-"] {
                padding-right: 8px;
                padding-left: 8px;
            }
        }
    }
}

.iconsize-90 {
    .sppb-addon-content {
        .sppb-img-container {
            img {
                max-width: 90px;
                width: 100%;
            }
        }
    }
}

.iconsize-70 {
    .sppb-addon-content {
        .sppb-img-container {
            img {
                max-width: 70px;
                width: 100%;
            }
        }
    }
}

.iconheight-70 {
    .sppb-addon-content {
        .sppb-img-container {
            img {
                height: 70px;
                width: auto;
            }
        }
    }
}

.iconheight-65 {
    .sppb-addon-content {
        .sppb-img-container {
            img {
                height: 65px;
                width: auto;
            }
        }
    }
}

.sp-scroll-up {
    background: $link_hover_color;
    color: #fff;
}

.sppb-addon-wrapper {
    > div {
        transform: scale(1);
    }
}

.arrow-style-small {
    div#n2-ss-11 .nextend-arrow img {
        width: 22px;
    }
}
// Common Css End

// Header Css
.rs-header {
    &.transparent {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        #sp-top-bar {
            background: transparent;
            position: relative;
            z-index: 2;
            padding: 0;
            border-bottom: 1px solid rgba(255,255,255,.2);
            .sp-contact-info {
                list-style: none;
                padding: 0;
                margin: 0px;
                li {
                    padding-top: 15px;
                    padding-bottom: 15px;
                    &:not(:last-child) {
                        border-right: 1px solid rgba(255,255,255,.2);
                        padding-right: 15px;
                    }
                }
            }
        }
        #sp-header {
            background: transparent;
            box-shadow: unset;
            .header-modules {
                .search-btn-header {
                    i {
                        color: #fff;
                    }
                }
            }
            .container-fluid {
                .header-modules {
                    .search-btn-header {
                        margin: 0;
                    }
                }
            }
            #offcanvas-toggler {
                .burger-icon {
                    > span {
                        background: #fff;
                    }
                }
            }
            .sp-megamenu-parent {
                > li.sp-has-child {
                    > a {
                        height: 95px;
                        line-height: 95px;
                    }
                }
            }
            &.header-sticky {
                background: #000;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
            }
        }
        &.style2 {
            #offcanvas-toggler {
                display: none !important;
            }
            .header-sticky {
                background: rgba(16, 16, 16, 0.9) !important;
            }
        }
    }
    &.box-layout {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        #sp-top-bar {
            display: none;
        }
        #sp-header {
            background: transparent;
            box-shadow: none;
            margin-top: 55px;
            .container {
                background: rgba(255, 255, 255, 0.9);
                box-shadow: unset;
                padding-right: 40px;
                padding-left: 40px;
                border-right: 10px solid;
                border-left: 10px solid;
                border-color: $link_hover_color;
            }
            .sp-megamenu-parent {
                > li.sp-has-child {
                    > a {
                        height: 95px;
                        line-height: 95px;
                    }
                }
            }
            &.header-sticky {
                margin-top: 0;
                background: #fff;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
                .container {
                    border-color: #fff;
                    padding-right: 5px;
                    padding-left: 5px;
                }
            }
        }
    }
    &.skew-style {
        #sp-top-bar {
            position: relative;
            overflow: hidden;
            padding: 0;
            background: $link_hover_color;
            .container-inner {
                z-index: 1;
                position: relative;
                .sp-contact-info li i,
                .sp-contact-info li span {
                    color: $link_hover_color; // Topbar Background Color 
                }
                .sp-contact-info {
                    li {
                        padding-top: 14px;
                        padding-bottom: 14px;
                        &:not(:last-child) {
                            border-right: 1px solid rgba(255,255,255,.1);
                            padding-right: 20px;
                            margin-right: 20px;
                        }
                    }
                }
            }
            &:before {
                position: absolute;
                content: '';
                left: -50px;
                top: 0;
                bottom: 0;
                width: 73%;
                transform: skew(-20deg);
                background: $link_color; // Body Link Color
            }
        }
    }
}
.offcanvas-transparent {
    .offcanvas-menu {
        .off-logo-area {
            background: darken($link_hover_color, 20%);
            .burger-icon {
                span {
                    background: #fff;
                    transition: 0s;
                }
            }
        }
    }
}

// Section Title
.sppb-section-title {
    .sppb-title-heading {
        line-height: 46px !important;
    }
}
.sppb-addon-header {
    &.line-right {
        .sppb-addon-title {
            position: relative;
            &:after {
                position: absolute;
                content: '';
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                height: 2px;
                width: 50px;
                background: $link_hover_color;
                margin-top: -1px;
            }
        }
    }
    &.white-color {
        .sppb-addon-title {
            color: #fff;
        }

    }
}

// Slider Setyle1
.sppb-carousel {
    &.slider-style1 {
        .sppb-carousel-item-inner {
            padding: 0;
            .sppb-carousel-pro-inner-content {
                .sppb-carousel-pro-text {
                    position: relative;
                    padding: 50px 50px 65px;
                    border-radius: 5px;
                    overflow: hidden;
                    * {
                        z-index: 1;
                        position: relative;
                    }
                    &:after {
                        position: absolute;
                        content: '';
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 100%;
                        background: $link_hover_color;
                        opacity: 0.9;
                    }
                }
            }
        }
    }
    &.nav-style1 {
        .sppb-carousel-arrow {
            opacity: 0;
            transition: all 0.5s;
            text-shadow: unset;
            width: 60px;
            height: 60px;
            line-height: 60px;
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
            background: #fff;
            transition-delay: 1s;
            i {
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
            &.left {
                margin-left: 30px;
                i {
                    margin-left: -2px;
                }
            }
            &.right {
                margin-right: 30px;
                i {
                    margin-right: -10px;
                }
            }
        }
        &:hover {
            .sppb-carousel-arrow {
                opacity: 1;
                transition-delay: 0s;
            }
        }
    }
}

// Portfolio Style
.sp-simpleportfolio {
    &.style1 {
        .sp-simpleportfolio-filter {
            ul {
                li {
                    margin-right: 20px;
                    a {
                        padding: 0;
                        border-radius: 0;
                        background: transparent;
                         &:hover {
                            color: $link_hover_color;
                         }
                    }
                    &.active {
                        a {
                            color: $link_hover_color;
                        }
                    }
                    &:last-child {
                        margin: 0;
                    }
                }
            }
        }
        .sp-simpleportfolio-item {
            .sp-simpleportfolio-overlay-wrapper {
                .sp-simpleportfolio-overlay {
                    .sp-simpleportfolio-btns {
                        position: absolute;
                        content: '';
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, -50%);
                        .btn-zoom {
                            font-size: 0;
                            opacity: 1;
                            border: none;
                            border-radius: 0;
                            letter-spacing: 0;
                            padding: 0;
                            margin: 0;
                            transform: unset;
                            line-height: unset;
                            &:after {
                                font-family: "Font Awesome 5 Free";
                                font-weight: 700;
                                content: "\f067";
                                font-size: 17px;
                                width: 45px;
                                line-height: 39px;
                                display: inline-block;
                                height: 45px;
                                border-radius: 50%;
                                border: 2px solid #fff;
                            }
                            &:hover {
                                background: transparent;
                            }
                        }
                        .btn-view {
                            display: none;
                        }
                    }
                }
            }
            .sp-simpleportfolio-info {
                padding: 30px 30px 34px;
                background: #fff;
                .sp-simpleportfolio-title {
                    font-size: 20px;
                    line-height: 1.34;
                    a {
                        color: #101010;
                    }
                }
                .sp-simpleportfolio-tags {
                    color: #363636 !important;
                    font-size: 15px;
                }
                &:hover {
                    .sp-simpleportfolio-title {
                        a {
                            color: #101010;
                            &:hover {
                                color: $link_hover_color;
                            }
                        }
                    }
                    .sp-simpleportfolio-tags {
                        color: #363636;
                    }
                }
            }
        }
        &.modify {
            .sp-simpleportfolio-item {
                .sp-simpleportfolio-info {
                    background: #f1f6fc;
                }
            }
        }
        &.small-title {
            .sp-simpleportfolio-item {
                .sp-simpleportfolio-info {
                    .sp-simpleportfolio-title {
                        font-size: 17px;
                        line-height: 1.30;
                    }
                }
            }
        }
    }
}

// Portfolio Single
.com-spsimpleportfolio{
    .sp-simpleportfolio-description{
        padding-right: 30px;
        h2{
            margin-bottom: 20px;
        }
    }
    .sp-simpleportfolio-image{
        border-bottom: none !important;
    }
    ul.stylelisting {
        padding-left: 20px;
        margin-top: 30px;
        column-count: 2;
        li{
            line-height: 30px;
            position: relative;
            list-style: none;
            padding-left: 40px;
            &:before{
                position: absolute;
                font-family: "Font Awesome 5 Free";
                font-weight: 700;
                content: "\f058";
                transition: all 0.3s ease 0s;
                top: 50%;
                transform: translateY(-50%);
                left: 5px;
                color: $link_hover_color;
                font-size: 18px;
            }
        }
    }
}
// Project Gallery
.project-gallery {
    .project-info {
        .project-information {
            padding: 40px 40px 45px;
            background: rgba(16, 16, 16, 0.05);
            .info-title {
                font-size: 24px;
                color: #303745;
                font-weight: 600;
                text-transform: uppercase;
                margin-bottom: 30px;
            }
            ul {
                padding: 0;
                margin: 0;
                li {
                    padding-top: 10px;
                    margin-top: 10px;
                    border-top: 1px solid rgba(54, 54, 54, 0.05);
                    list-style: none;
                    span {
                        width: 150px;
                        display: inline-block;
                        font-weight: 700;
                    }
                    &:first-child {
                        padding-top: 0;
                        margin-top: 0;
                        border-top: none;
                    }
                }
            }
        }
    }
}

//Team Custom CSS
.rs-team-part {
    .sppb-carousel-extended-list {
        padding: 10px;
        margin: -10px;
    }
    .sppb-carousel-extended-team-designation {
        margin-bottom: 0;
    }
    .sppb-carousel-extended-team-content {
        margin: 0;
    }
    &.style2 {
        .sppb-carousel-extended-item {
            text-align: center;
            img {
                border-radius: 50%;
            }
            .sppb-carousel-extended-team-content {
                box-shadow: none;
            }
        }
    }
    &.style3 {
        .sppb-carousel-extended-item {
            text-align: center;
            > a {
                background: url(../../../images/tm_bg.png);
                background-repeat: no-repeat;
                background-size: cover;
                padding: 41px;
                padding-left: 42px;
                display: block;
            }
            img {
                border-radius: 50%;
            }
            .sppb-carousel-extended-team-content {
                box-shadow: none;
            }
        }
    }
}

//Testimonial Part
.rs-testimonial-part {
    .sppb-testimonial-carousel-content-wrap {
        margin-top: 20px;
        display: flex;
        align-items: center !important;
        flex-direction: initial !important;
        .sppb-testimonial-carousel-img-wrap {
            margin-right: 15px !important;
            margin-bottom: 0 !important;
        }
    }
    &.bullet-left {
        .sppb-carousel-extended-dots {
            ul {
                text-align: unset;
            }            
        }
    }
    &.modify1 {
      .sppb-testimonial-carousel-content-wrap {
          margin-top: 20px;
          display: block;
          .sppb-testimonial-carousel-img-wrap {
              margin-right: auto !important;
          }
      }
    }
}

//Pricing Table
.sppb-addon-pricing-table {
    &.pricing-mod {
        .sppb-pricing-duration {
            display: block;
            margin-top: 12px;
            font-weight: 700;
        }
        .sppb-pricing-box {
            .sppb-pricing-features {
                > ul {
                    > li {
                        i {
                            color: #485973;
                            margin-right: 10px;
                            min-width: 15px;
                        }
                    }
                }
            }
        }
    }

    &.rs-pricing {
        .sppb-pricing-duration {
            display: block;
            margin-top: 10px;
        }
    }

    &.rs-pricing2 {
        .sppb-pricing-box {
            .sppb-pricing-features {
                > ul {
                    > li {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        i {
                            color: #485973;
                            text-align: right;
                            min-width: 15px;
                        }
                    }
                }
            }
        }
    }

    &.rs-pricing3 {
        border-radius: 20px 20px 250px 250px;
        box-shadow: 0px 3.8px 44.8px 0px rgba(36, 36, 36, 0.1);
        text-align: center;
        transition: all 0.4s;
        overflow: hidden;
        .sppb-pricing-box {
            .sppb-pricing-header {
                .sppb-pricing-title {
                    background: #eaf1fd;
                    padding: 30px 15px 25px 15px !important;
                }
                .sppb-pricing-price-container {
                    background: #fff;
                    padding: 28px 20px 24px;
                    .sppb-pricing-price {
                        .sppb-pricing-price-symbol {
                            position: relative;
                            top: -5px;
                            margin-right: 4px;
                        }
                    }
                    .sppb-pricing-duration {
                        font-weight: 700;
                        position: relative;
                        margin-left: 4px;
                        &:before {
                            content: '/';
                            color: #f2f2f2;
                            padding-right: 6px;
                            font-size: 20px;
                        }
                    }
                }
            }
            .sppb-pricing-features {
                > ul {
                    > li {
                        border-bottom: 1px solid rgba(186,186,186,0.25);
                        padding: 18px 0px 18px 0px;
                        &:first-child {
                            padding-top: 0;
                        }
                        &:last-child {
                            border: none;
                            padding-bottom: 0;
                        }
                    }
                }
            }
            .sppb-pricing-footer {
                a {
                    display: inline-block;
                    width: 120px;
                    height: 120px;
                    line-height: 100px;
                    margin: 0px 0px 50px 0px;
                    padding: 0px;
                    border-radius: 100%;
                    border: 10px solid #f2f2f2;
                    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.35);
                    &:hover {
                        box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.50);
                    }
                }
            }
        }
        &.active {
            .sppb-pricing-box {
                .sppb-pricing-header {
                    .sppb-pricing-title {
                        background: #0955d0;
                    }
                    .sppb-pricing-price-container {
                        background: #2065d5;
                    }
                }
            }
        }
        &:hover {
            box-shadow: 0px 3.8px 44.8px 0px rgba(36,36,36,0.30);
        }
    }

    &.white-icon {
        .sppb-pricing-box {
            .sppb-pricing-features {
                > ul {
                    > li {
                        i {
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}

// Accordion Style
.rs-accordion {
    &.style1 {
        .sppb-panel {
            box-shadow: 0 0 22px rgba(0,0,0,.1);
            .sppb-panel-heading {
                .sppb-accordion-icon-wrap {
                    .fa-eye {
                        min-width: 26px;
                        &:before {
                            transition: all 0.3s;
                        }
                    }
                }
                &.active {
                    .sppb-accordion-icon-wrap {
                        .fa-eye {
                            &:before {
                                content: "\f070";
                            }
                        }
                    }
                }
            }
        }
    }
}

// Partner Style
.rs-partner {
    &.box-style {
        .sppb-column {
            .sppb-column-addons {
                .sppb-addon-wrapper {
                    > div {
                        min-height: 241px;
                        display: flex;
                        align-items: center;
                        &:hover {
                            box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.12) !important;
                            .sppb-addon-feature {
                                .sppb-addon-content {
                                    .sppb-img-container {
                                        animation-name: wobble-vertical;
                                        animation-duration: 1s;
                                        animation-timing-function: ease-in-out;
                                        animation-iteration-count: 1;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

//Blog Part
.rs-blog-part {
    .sppb-articles-carousel-link {
        line-height: 1.4;
    }
    .bx-controls.bx-has-pager {
        top: unset;
        bottom: -40px;
        .bx-pager.bx-default-pager {
            text-align: center;
        }
    }
    .bx-wrapper .bx-pager.bx-default-pager .bx-pager-link {
        height: 8px;
        line-height: 8px;
        width: 30px;
        border-radius: 8px;
        margin: 0 5px;
        &.active {
            width: 50px;
        }
    }
    &.no-bullet {
        .bx-wrapper {
            margin-bottom: 0;
            .bx-controls {
                &.bx-has-pager {
                    display: none;
                }
            }
        }
    }
    &.primary-bullet {
        .bx-wrapper {
            .bx-controls {
                &.bx-has-pager {
                    .bx-pager-link {
                        background: $link_hover_color;
                        opacity: 0.7;
                        &.active {
                            opacity: 1;
                        }
                    }
                }
            }
        }
    }
}

// Blog Detail
.article-details {
    .article-header {
        position: relative;
        h1,
        h2 {
            font-size: 2.25rem;
        }
    }

    .link-edit-article {
        position: absolute;
        right: 0;
        top: 10px;
    }

    .article-info {
        margin-bottom: 1rem;
    }

    .article-full-image {
        text-align: center;
        img {
            display: inline-block;
            border-radius: 4px;
        }
        margin-bottom: 2rem;
    }

    .article-featured-video,
    .article-featured-audio,
    .article-feature-gallery {
        margin-bottom: 2rem;
    }

    .article-ratings-social-share {
        padding: 1rem 0;
        border-top: 1px solid #f5f5f5;
        border-bottom: 1px solid #f5f5f5;
        margin-bottom: 1rem;
        display: none !important;
    }

    .article-author-information {
        padding-top: 2rem;
        margin-top: 2rem;
        border-top: 1px solid #f5f5f5;
    }
}
blockquote {
    margin: 20px !important;
    padding: 45px 60px 30px;
    color: #666;
    position: relative;
    background: url(../../../images/quote-left.png);
    background-repeat: no-repeat;
    background-position: left 20px top 20px;
    background-size: 55px;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 30px;
}
// Breadcrumb
.sp-page-title {
    padding-top: 165px;
    padding-right: 0px;
    padding-bottom: 165px;
    padding-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-repeat: no-repeat;
    background-size: cover !important;
    text-align: center;
    background-attachment: fixed;
    .sp-page-title-heading, .sp-page-title-sub-heading {
        margin: 0;
        padding: 0;
        color: #fff;
    }
    .sp-page-title-heading {
        margin-bottom: 5px;
        letter-spacing: .5px;
        margin: 0;
        line-height: 56px;
        padding-bottom: 0;
        color: #fff;
        font-weight: 700;
        font-size: 46px;
        text-shadow: 1px 1px 2px rgba(0,0,0,.3);
    }
    .sp-page-title-sub-heading {
        font-size: 14px;
        font-weight: normal;
        line-height: 1;
        margin-top: 10px;
    }
    .breadcrumb {
        background: none;
        padding: 0;
        margin: 10px 0 0 0;
        justify-content: center;
        li {
            &.float-start {
                display: none;
            }
            &:nth-child(2) {
                &:before {
                    margin-right: 10px;
                    font-family: "Font Awesome 5 Free";
                    font-weight: 900;
                    content: "\f015";
                }
            }
        }
        >.active {
            color: rgba(255, 255, 255, 0.8);
        }
        >span, >li, >li+li:before, >li>a {
            color: #fff;
        }
    }
}

//Slider Part
.rs-slider-part {
    &.align-center {
        .sppb-item {
            .sppb-row {
                align-items: center;
            }
        }
    }
}

//Feature Part
.rs-feature-part {
    .single-feature {
        .sppb-img-container {
            img {
                max-width: 55px;
            }
        }
    }
    &.style1 {
        .sppb-addon-content {
            .sppb-icon {
                .sppb-icon-container {
                    width: 100px;
                    height: 100px;
                    border-radius: 100%;
                    position: relative;
                    display: flex !important;
                    align-items: center;
                    justify-content: center;
                    i {
                        width: unset !important;
                        height: unset !important;
                    }
                    &:after {
                        position: absolute;;
                        content: '';
                        right: 0;
                        bottom: 0;
                        border-radius: 100%;
                        width: 112px;
                        height: 112px;
                        border: 1px solid;
                        border-color: inherit;
                    }
                }
            }
            &.sppb-text-center {
                .sppb-icon {
                    .sppb-icon-container {
                        margin: 0 auto;
                    }
                }
            }
        }
    }
    &.style2 {
        .sppb-addon-content {
            .sppb-icon {
                .sppb-icon-container {
                    width: 100px;
                    height: 100px;
                    border-radius: 100%;
                    position: relative;
                    display: flex !important;
                    align-items: center;
                    justify-content: center;
                    i {
                        width: 65px !important;
                        height: 65px !important;
                        line-height: 65px !important;
                        border-radius: 100%;
                        text-align: center;
                        box-shadow: 0px 2px 15px 1px rgba(5, 4, 4, 0.17);
                    }
                }
            }
        }
    }
}

// Contact Info Style
.contact-info {
    &.style1 {
        .sppb-addon-content {
            .sppb-icon {
                .sppb-icon-container {
                    i {
                        text-align: center;
                        font-size: 17px !important;
                        width: 40px !important;
                        height: 40px !important;
                        border-radius: 100%;
                        background: $link_hover_color;
                        line-height: 40px !important;
                    }
                }
            }
            .sppb-media {
                overflow: visible;
                .sppb-img-container {
                    width: 60px;
                    text-align: center;
                    line-height: 60px;
                    height: 60px;
                    box-shadow: 7px 5px 30px 0px rgba(71.99999999999999, 72.99999999999999, 120.99999999999999, 0.15);
                    img {
                        width: auto;
                        height: 35px;
                        margin: 0 auto;
                    }
                }
            }
        }
    }
}

// Header Search css
.popup-search-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 9999;
    transition: all 0.3s;
    pointer-events: none;
    transform: translateY(-100%);
    * {
        z-index: 1;
    }
    .search-collaps-btn {
        position: absolute;
        right: 30px;
        top: 30px;
        display: inline-block;
        line-height: 50px;
        height: 50px;
        width: 50px;
        border-radius: 100%;
        background: #fff;
        color: $link_hover_color;
        font-size: 20px;
    }
    .content-area {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 500px;
        width: 100%;
        .form-part {
            position: relative;
            i {
                position: absolute;
                top: 50%;
                right: 20px;
                transform: translateY(-50%);
                pointer-events: none;
                color: #fff;
                font-size: 18px;
            }
            form {
                .awesomplete {
                    width: 100%;
                    input {
                        padding: 10px 20px;
                        height: 50px;
                        border-radius: 10px;
                        color: #fff;
                        background: transparent;
                        border: none;
                        border-bottom: 1px solid rgba(255,255,255,0.5);
                    }
                }
                ::placeholder {
                    color: #fff;
                }
            }
        }
    }
    &:after {
        position: absolute;
        content: '';
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: $link_hover_color;
        opacity: 0.98;
    }
}
.search-collaps-btn {
    cursor: pointer;
}
.search-btn-header {
    margin-left: 30px;
    i {
        font-size: 18px;
    }
}
body.search-is-open {
    .popup-search-wrapper {
        transform: translateX(0%);
        pointer-events: unset;
    }
}


// Subscribe newsletter saas
.saas-newsletter {
    .sppb-addon-form-builder-form {
        position: relative;
        max-width: 500px;
        margin-left: auto !important;
        margin-right: auto !important;
        .sppb-form-group {
            margin-bottom: 0 !important;
            position: relative;
            input {
                box-shadow: 0 0 30px rgba(0,0,0,.2);
            }
            .sppb-form-builder-required {
                position: absolute;
                left: 0;
                top: -25px;
            }
        }
        button {
            position: absolute;
            top: 5px;
            bottom: 5px;
            right: 5px;
            outline: none;
        }
    }
}
.newsletter-style2 {
    .sppb-addon-form-builder-form {
        position: relative;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        .sppb-form-group {
            margin-bottom: 0 !important;
            position: relative;
            input {
                max-width: calc(100% - 150px);
            }
            .sppb-form-builder-required {
                position: absolute;
                left: 0;
                top: -25px;
                color: #fff;
            }
        }
        button {
            position: absolute;
            top: 0px;
            bottom: 0px;
            right: 0px;
            outline: none;
            border-radius: 3px;
        }
    }
}

// Pie Flex CSS
.rs-flex-pie .sppb-column-addons {
    display: flex;
}

//Number Block
.rs-number-block {
    .sppb-blocknumber {
        .pull-left {
            margin: 0 0 15px;
            float: unset !important;
            .sppb-blocknumber-number {
                display: block;
                text-align: left;
                line-height: 1;
            }
        }
    }
}

//Map Filter 
.rs-map-filter {
    .sppb-addon-gmap-canvas {
        filter: brightness( 65% ) contrast( 133% ) saturate( 0% ) blur( 0px ) hue-rotate( 360deg );
    }
} 
.rs-map-filter2 {
    filter: brightness( 75% ) contrast( 133% ) saturate( 0% ) blur( 0px ) hue-rotate( 360deg );
}

.rs-modal-popup {
    .sppb-magnific-popup {
        span.text {
            background: unset !important;
            border: none !important;
            padding: 0 !important;
            line-height: 1.4 !important;
        }
    }
}

/*Footer Bottom Part CSS*/
#sp-bottom {
  padding: 90px 0 50px;
  .footer-top-logo {
    height: 38px;
  }
  .sp-module {
    margin-right: 30px;
  }
  .sp-module .sp-module-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .sp-module-content .latestnews li a {
    font-size: 16px;
    font-weight: 600;
  }
  .sp-module-content .latestnews > li > a > span {
    font-weight: 400;
  }
  .sp-module-content .footer-btn {
    display: inline-block;
    font-weight: 500;
    color: #fff;
    background: $link_hover_color;
    padding: 16px 24px;
    border-radius: 3px;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    &:hover {
      background: $menu_text_hover_color;
    }
  }
  .sp-module-content .footer-logo-part {
    margin-bottom: 30px;
  }
  .sp-module-content .footer-desc {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 30px;
  }
  .sp-module-content .footer-contact {
    li {
      font-size: 16px;
    }
  }

  .contact-address {
    margin-right: 40px;
    .address-item {
      display: flex;
      align-items: center;
      margin-bottom: 22px;
      .address-icon {
        margin-right: 20px;
        i {
          font-size: 20px;
          color: $link_hover_color;          
        }
      }
      .address-text {
        font-size: 16px;
      }
    }
  }

  .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    .post-img {
        a.post-img {
            display: block;
            max-width: 100px;
            overflow: hidden;
        }
      img{
        height: 80px;
        border-radius: 4px;
        max-width: unset;
      }
    }
    .post-desc {
      margin-left: 25px;
      font-size: 16px;
      font-weight: 600;
      span {
        display: block;
        font-size: 13.5px;
        font-weight: 400;
        margin-top: 7px;
      }
    }
  }
}

/*Container Width Fixed*/

@media (min-width:576px) {
    .container,
    .container-sm {
        max-width:540px
    }
}
@media (min-width:768px) {
    .container,
    .container-md,
    .container-sm {
        max-width:720px
    }
}
@media (min-width:992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width:960px
    }
}
@media (min-width:1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width:1140px
    }
}
@media (min-width:1300px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width:1140px
    }
}


// Animation Css
.rotate-sl-ly {
    div {
        img {
            animation: rotate-sl-ly 10s linear infinite;
            -webkit-animation: rotate-sl-ly 10s linear infinite;
        }
    }
}
@keyframes rotate-sl-ly {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes rotate-sl-ly {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

// Animation X Direction
.anim-x {
    div {
        animation: anim-x 5s linear infinite alternate;
        -webkit-animation: anim-x 5s linear infinite alternate;
    }
}
@keyframes anim-x {
    0% {
        transform: translateX(30px);
        -webkit-transform: translateX(30px);
    }
    100% {
        transform: translateX(-30px);
        -webkit-transform: translateX(-30px);
    }
}
@-webkit-keyframes anim-x {
    0% {
        transform: translateX(30px);
        -webkit-transform: translateX(40px);
    }
    100% {
        transform: translateX(-30px);
        -webkit-transform: translateX(-30px);
    }
}

// Animation X reverse Direction
.anim-reverse-x {
    div {
        animation: anim-reverse-x 5s linear infinite alternate;
        -webkit-animation: anim-reverse-x 5s linear infinite alternate;
    }
}
@keyframes anim-reverse-x {
    0% {
        transform: translateX(-30px);
        -webkit-transform: translateX(-30px);
    }
    100% {
        transform: translateX(30px);
        -webkit-transform: translateX(30px);
    }
}
@-webkit-keyframes anim-reverse-x {
    0% {
        transform: translateX(-30px);
        -webkit-transform: translateX(-30px);
    }
    100% {
        transform: translateX(30px);
        -webkit-transform: translateX(30px);
    }
}

// Wobble Vertical
@keyframes wobble-vertical {
    16.65% {
      transform: translateY(8px);
    }
    33.3% {
      transform: translateY(-6px);
    }
    49.95% {
      transform: translateY(4px);
    }
    66.6% {
      transform: translateY(-2px);
    }
    83.25% {
      transform: translateY(1px);
    }
    100% {
      transform: translateY(0);
    }
}
