@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

body {
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: $bg_color;
  color: $text_color;

  &.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: "Font Awesome 5 Free";
      font-weight: 900;
      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;
    }
  }
}

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

#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;
    }
  }
}
// misc
.modal-dialog.jviewport-width80 {
  width: 80vw;
  max-width: none;
}

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

@media (max-width: 1440px) {
  .sp-dropdown.sp-dropdown-mega {
    width: 920px !important;
  }
}

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

//Topbar

#sp-top-bar {
  padding: 8px 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: -5px;
  display: inline-block;

  > li {
    display: inline-block;
    margin: 5px 7px;
  }
}

// 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: 0 -10px;

  li {
    display: inline-block;
    margin: 0 10px;
    font-size: 90%;
    white-space: nowrap;

    i {
      margin: 0 3px;
    }
  }
}

// offcanvas-menu
.offcanvas-menu .offcanvas-inner .sp-module .menu {
  > li,
  .menu-parent {
    &.active {
      > a,
      > span {
        color: $link_color;
      }
    }

    .menu-child li {
      &.active > a {
        color: $link_color;
      }
    }
  }
}

// Header
#sp-header {
  height: $header_height;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
  box-shadow: none;
  background: #242a35;
  border-bottom: 1px solid rgba(200, 205, 220, 0.3);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;

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

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

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

.com-sppagebuilder #sp-main-body {
  padding: 0;
}

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

// signup
.registration .modal {
  display: inline-block;
  position: inherit;
}
// fix conflict with popover
.com-content.layout-edit .nav-tabs .nav-link,
.com-content.layout-edit label.hasPopover,
.registration label.hasPopover {
  display: inline-block !important;
}

.registration .form-check-inline {
  input[type="radio"] {
    display: inline-block;
  }
}

// Search

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

//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";
        color: #f6bc00;
        font-weight: 900;
      }

      &: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: #999;
  }

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

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

html.offline {
  body {
    background: #f3f3f3;
  }

  .offline-wrapper {
    padding: 50px;
    background-color: #ffffff;
    border-radius: 10px;
  }
}

// Coming soon
html.coming-soon,
html.offline {
  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;
  }

  .error-modules {
    margin-top: 2rem;
  }
}

.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: 30px;
  right: 30px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background: #333;
  border-radius: 3px;
  z-index: 1000;

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

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

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

.sppb-form-control,
.sppb-form-group .sppb-form-control,
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-control) {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.57;
    color: $text_color;
    border-radius: 1px;
    background-color: rgba(247, 247, 247, 0.5);
    background-image: none;
    background-clip: padding-box;
    border: 0;
    border-bottom: 2px solid #c3c3c3;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;

    &::placeholder {
      color: $text_color;
    }

    &:focus {
      color: #495057;
      outline: 0;
    }
  }
}

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

.chzn-container {
  &.chzn-container-single {
    .chzn-single {
      display: block;
      width: 100%;
      padding: 0.5rem 0.75rem;
      font-size: 1rem;
      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;

          &: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: "Font Awesome 5 Free";
        font-weight: 900;
        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: "Font Awesome 5 Free";
              font-weight: 900;
              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;
  }
}

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

.form-check-inline {
  input[type="radio"] {
    display: none;
  }
}

#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;

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

/************************************************************************/
/********* ****************    Start Themis    ********* ****************/
/************************************************************************/

//Bottom 3
#sp-bottom3 {
  padding-top: 50px;
}

//Top Search
.top-search-input-wrap {
  position: fixed;
  top: 0px;
  left: 0px;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: none;
  -webkit-animation: searchZoomIn 0.4s;
  animation: searchZoomIn 0.4s;

  form {
    width: 100%;
  }

  .search-wrap {
    width: 100%;

    .search.themis-top-search {
      float: none !important;
      width: 75%;
      margin: 0 auto;
      max-width: 900px;

      h3.sp-module-title {
        display: none;
      }

      input {
        background: transparent;
        height: auto;
        box-shadow: none;
        padding: 0px;
        width: 100%;
        color: rgba(255, 255, 255, 1);
        font-size: 100px;
        border-color: #fff;
        border-style: solid;
        border-width: 0 0 4px;
        border-radius: 0;
        font-weight: 300;

        &::-webkit-input-placeholder {
          opacity: 1;
          color: #fff;
        }

        &::-moz-placeholder {
          opacity: 1;
          color: #fff;
        }

        &:-ms-input-placeholder {
          opacity: 1;
          color: #fff;
        }

        &::-webkit-search-cancel-button,
        &::-webkit-search-decoration {
          -webkit-appearance: none;
        }

        &:focus {
          outline: 0;
          box-shadow: none;
        }
      }
    }
  }

  .search-upper-part {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    transition: transform 0.6s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transform: translate3d(0, -100%, 0);
  }

  .search-bottom-part {
    background-color: $bg_color;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    transition: transform 0.6s;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transform: translate3d(0, 100%, 0);
    top: 50%;

    h3 {
      color: #fff;
      margin: 0 0 30px;
      font-size: 24px;
      font-weight: 700;
      text-transform: none;

      &:before {
        content: "\f178";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 24px;
        color: #fff;
        display: inline-block;
        padding-right: 20px;
      }
    }

    .sppb-media > .pull-left {
      margin-right: 0;
    }

    .feedback-contact-form {
      .sppb-addon-feature {
        margin-bottom: 0;

        .sppb-media {
          .sppb-icon {
            .sppb-icon-container {
              i {
                font-size: 40px;
                color: #fff;
              }
            }
          }

          .sppb-media-body {
            padding-right: 0;
            padding-top: 0;

            .sppb-addon-title {
              color: #fff;
            }

            .sppb-addon-text {
              color: #fff;
            }
          }
        }
      }
    }
  }

  &.search-open {
    .search-upper-part,
    .search-bottom-part {
      transform: translate3d(0, 0, 0);
    }
  }

  .search-info-text {
    color: #fff;
    text-align: right;
    display: block;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .search-suggested-tag {
    ul {
      margin: 0;
      padding: 0;

      li {
        border: 0;
        display: inline-block;
        padding: 0;

        a {
          &:before {
            display: none;
          }

          color: #fff;
          display: inline-block;
          line-height: 1;
          margin-bottom: 10px;
          margin-right: 10px;
        }
      }
    }
  }

  .search-address-content {
    i {
      color: #fff;
      font-size: 40px;
    }

    h4 {
      color: #fff;
      margin-top: 0;
      font-weight: 500;
    }

    p {
      color: #fff;
      margin-bottom: 0;
    }

    .search-address {
      width: 70%;
      margin-left: 30px;
    }
  }
}

.icon-top-wrapper {
  height: auto;
  line-height: 80px;
  margin: 0 0 0 25px;
  width: 36px;
  position: relative;
  z-index: 999999;

  i {
    cursor: pointer;
    font-size: 16px;
    transition: 3ms;

    &.search-open-icon {
      color: #c3c3c3;
      width: 36px;
      height: 36px;
      line-height: 36px;
      text-align: center;
      border-radius: 50%;
    }

    &.search-close-icon {
      font-size: 22px;
      color: #fff;
      z-index: 9999;
      position: relative;
      margin-left: 10px;
    }
  }

  .search-close-icon {
    display: none;
  }
}

.themis-top-search {
  h3.sp-module-title {
    display: none;
  }

  .search-bottom-part {
    h3.sp-module-title {
      display: block;
    }

    .container {
      border-bottom: 0 !important;
    }
  }
}

//service page top section background image position
.background-position {
  background-position: 28% 100%;
}

//servie page top section box border
.service-box {
  overflow: hidden;
}

//service page service box list iteam padding
.service-item {
  ul {
    padding-left: 15px;

    li {
      margin-bottom: 10px;
    }
  }

  // service box border;
  &:before {
    content: "";
    position: absolute;
    left: -30px;
    width: 1px;
    height: 100%;
    background: rgba(151, 151, 151, 0.2);
  }
}

//servie tab border right
.service-tab {
  .custom-tab {
    .sppb-nav {
      li {
        border-right: 1px solid rgba(200, 205, 220, 0.3);
      }
    }
  }
}

.price-box-item {
  position: relative;
  z-index: 1;

  .sppb-addon-title {
    color: $link-color;

    strong {
      position: absolute;
      left: -40px;
      bottom: 0;
      font-size: 160px;
      font-weight: 900;
      line-height: 0.33;
      color: rgba(20, 23, 30, 0.05);
      z-index: -1;
    }
  }
}

.price-box {
  .sppb-pricing-box {
    .sppb-pricing-header {
      display: flow-root;
      width: 100%;

      .sppb-pricing-title {
        float: left;
        width: 50%;
      }

      .sppb-pricing-price-container {
        float: right;
        padding-right: 20px;

        .sppb-pricing-price {
          display: flex;
          flex-direction: row-reverse;
          color: $link-color;
          margin-bottom: 6px;

          .sppb-pricing-price-symbol {
            line-height: 1;
          }
        }

        .sppb-pricing-duration {
          font-weight: 600;
          letter-spacing: 0.7px;
          display: block;
        }
      }
    }

    .sppb-pricing-features ul {
      li {
        &:not(:first-child) {
          position: relative;
          font-weight: 600;
          padding-left: 26px;

          &:before {
            content: "\f058";
            position: absolute;
            left: 0;
            top: 0;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 16px;
          }
        }

        &:first-child span {
          display: block;
          font-size: 14px;
          font-weight: 400;
          line-height: 1.57;
          color: rgba(50, 56, 72, 0.6);
          margin-bottom: 20px;
          padding-right: 20px;
        }
      }
    }

    .sppb-btn {
      padding: 12px 20px;
    }
  }
}

.price-list {
  .sppb-addon-title {
    .sppb-addon-title-icon {
      font-size: 12px;
      position: relative;
      top: -5px;
      color: $text_color;
      font-weight: 300;
    }
  }
}

.price-list-item {
  .sppb-addon-title {
    display: inline-block;
    overflow: hidden;
    background: $bg_color;
    padding-right: 10px;

    &:before {
      content: "";
      position: absolute;
      top: 15px;
      left: 10px;
      width: 100%;
      height: 1px;
      background-image: linear-gradient(to right, transparent 50%, #fff 50%);
      background-size: 15px 50%;
      z-index: -1;
    }
  }
}

//blog version 2
.blog-v2 {
  .sppb-article-info-wrap {
    border-top: 1px solid rgba(200, 205, 220, 0.3);
  }

  .sppb-addon-articles {
    .sppb-article-img-wrap img {
      width: 100%;
    }

    .sppb-article-meta {
      & > span {
        font-size: 14px;
      }

      span.sppb-meta-date {
        display: block;
        font-size: 14px;
        color: #fff;
        margin-top: 15px;
        font-weight: 400;
      }

      span.sppb-meta-category {
        margin-right: 0px;
      }

      span.sppb-meta-author {
        &:before {
          display: inline-block;
          padding-right: 10px;
          padding-left: 5px;
          content: "|";
        }
      }
    }

    h3 {
      font-family: "Frank Ruhl Libre", sans-serif;
      font-size: 30px;
      font-weight: bold;
      line-height: 45px;
      margin-top: 15px;

      a {
        color: #fff;
      }
    }

    .sppb-article-introtext {
      margin-top: 38px;
    }
  }

  #sp-right {
    .sp-module {
      &:not(:first-child) {
        margin-top: 0px;
      }

      .latestnews {
        .article-list-img {
          display: block;
        }

        .latest-post-content-wrap {
          .latest-post-info {
            display: none;
          }

          .latest-post-title {
            margin-top: 15px;
          }
        }

        & > div:not(:last-child) {
          border-bottom: none;
          margin-bottom: 0px;
          padding-bottom: 20px;
        }
      }

      .sp-module-content {
        padding: 0px 30px;
      }
    }

    &:before {
      content: "";
      width: 1px;
      height: 100%;
      background: rgba(200, 205, 220, 0.6);
      position: absolute;
      left: 24px;
    }
  }

  .articles-more {
    display: none;
  }

  section#sp-main-body {
    background: #fff;
    padding-top: 120px;
  }

  .blog {
    .pagination-wrapper {
      display: none !important;
    }

    .article-list {
      .article {
        box-shadow: none;
        background: none;

        &:hover {
          transform: translateY(0px);
        }

        .article-featured-video {
          box-shadow: 0 12px 24px -10px rgba(5, 1, 41, 0.27);
        }

        .published {
          display: none;
        }

        .article-info {
          display: none;
        }

        .article-body {
          padding: 0px 70px 0px 0px;
        }
      }
    }
  }
}

// link Color
.border-radius3 {
  border-radius: 3px;
}

// menu
#sp-header {
  &:not(.header-sticky) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none;
    background-color: transparent;
    border-bottom: 0;

    .container {
      border-bottom: 1px solid rgba($text_color, 0.3);
    }
  }
}

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

.top-search-wrapper {
  margin-right: -15px;

  i.search-open-icon {
    text-align: right;
  }
}

// Button
.sppb-btn {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.2;
  padding: 15px 20px;
  border: none;

  &.sppb-btn-xlg {
    font-size: 16px;
    padding: 25px 55px;
  }

  &.sppb-btn-lg {
    padding: 15px 45px;
  }

  &.sppb-btn-sm {
    padding: 12px 20px;
  }

  &.sppb-btn-xs {
    padding: 5px 20px;
    font-size: 11px;
  }

  &.sppb-btn-default {
    color: $text_color;
    background-color: #ffffff;

    &:focus,
    &:hover {
      color: darken($text_color, 30%);
      background-color: darken(#ffffff, 15%);
    }

    &.sppb-btn-outline {
      color: #ffffff;
      background-color: transparent;
      border: 1px solid #ffffff;

      &:focus,
      &:hover {
        color: $text_color;
        background-color: #ffffff;
      }
    }
  }

  &.sppb-btn-primary {
    color: #ffffff;

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

    &.sppb-btn-outline {
      color: #ffffff;
      background-color: transparent;

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

  &.sppb-btn-secondary {
    color: $bg-color;
    background-color: $text_color;

    &:focus,
    &:hover {
      color: darken($bg-color, 0.3%);
      background-color: darken($text_color, 15%);
    }

    &.sppb-btn-outline {
      color: $text_color;
      background-color: transparent;
      border: 1px solid $text_color;

      &:focus,
      &:hover {
        color: $bg-color;
        background-color: $text_color;
      }
    }
  }

  &.sppb-btn-link {
    color: #ffffff;
    background-color: transparent;
    padding: 0;
    border-bottom: 2px solid #ffffff;
  }
}

// Forms
.sppb-addon-form-builder {
  .sppb-btn.sppb-btn-primary.sppb-btn-outline {
    color: #14171e;
    padding: 12px 20px;

    &:hover {
      color: #ffffff;
    }
  }
}

// Form Builder
.form-btn-block {
  .sppb-btn {
    width: 100%;
  }
}

.form-builder-radio-content {
  .form-builder-radio-label {
    color: #14171e;
    margin-bottom: 0;
    position: relative;
    margin: 0 20px 0 0;
    padding-left: 25px;
  }

  .form-builder-radio-item {
    label::before,
    label::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      border-radius: 100%;
      transform: translateY(-50%);
      transition: all 0.2s;
    }

    label::before {
      width: 14px;
      height: 14px;
      margin: 1px;
      border: 1px solid #888888;
    }

    label::after {
      width: 16px;
      height: 16px;
      border: 4px solid transparent;
    }

    input:checked + label::before {
      background-color: transparent;
      border-color: transparent;
    }

    input:checked + label::after {
      width: 17px;
      height: 17px;
    }
  }
}

.sppb-addon-form-builder .sppb-form-check {
  .sppb-form-check-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.83;
    color: rgba(114, 116, 120, 0.6);
    margin-left: 5px;

    a {
      color: #727478;
      text-decoration: underline;
    }

    &:before {
      width: 15px;
      height: 15px;
      top: 7px;
      border-radius: 2px;
      border: 2px solid rgba(89, 89, 89, 0.6);
    }

    &:after {
      font-size: 12px;
      top: 9px;
      left: 2.5px;
    }
  }
}

// Page Title
.sp-page-title {
  margin-top: $header_height;
  padding: 95px 0px;
  text-align: center;
  position: relative;

  .sp-page-title-heading {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.33;
    color: #ffffff;

    span {
      display: block;
      max-width: 790px;
      margin: 5px auto 0px;
      font-size: 18px;
      font-weight: 400;
      line-height: 1.35;
      color: #ffffff;
    }
  }

  .sp-page-title-sub-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 260px;
    font-weight: 900;
    line-height: 0.77;
    color: rgba(20, 23, 30, 0.1);
    text-transform: uppercase;
    margin-top: 0;
    transform: translate(-50%, -50%);
  }
}

// Person Addon
.sppb-addon-person,
.sppb-addon-persion {
  &.person-content-position-half-overlay {
    .person-content-show-on-hover {
      padding: 15px 20px;

      .person-content-hover-content-wrap {
        padding: 25px 30px;
        border-radius: 3px;
        background-color: #fff;
      }
    }

    &:hover .sppb-person-image > img {
      opacity: 1;
    }
  }
}

// Hero Section
.hero-contact-info {
  .sppb-icon {
    margin-right: -5px;
  }

  .sppb-feature-box-title {
    color: $text_color;
  }
}

// Practice Areas
.practice-areas {
  padding: 40px 35px;
  background-color: #f7f7f7;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;

  .sppb-feature-box-title,
  .sppb-media-content,
  .sppb-img-container img {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }

  &:hover {
    .sppb-feature-box-title,
    .sppb-media-content {
      color: #ffffff;
    }

    .sppb-img-container img {
      filter: brightness(10) contrast(1);
    }
  }
}

// Testimonial
.sppb-addon-testimonial {
  .sppb-addon-testimonial-footer {
    border-top: 1px solid rgba(151, 151, 151, 0.2);

    &.sppb-testimonial-top-content {
      border: 0px;
    }

    a {
      width: 100%;
    }
  }

  .sppb-addon-testimonial-content-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 24px;
  }

  .sppb-addon-testimonial-client-url {
    color: #727478;
  }
}

// help section
.help-list {
  .sppb-icon {
    position: absolute;
    left: 0;
  }

  .sppb-feature-box-title {
    padding-left: 33px;
  }
}

// Cta Section
.cta-warp {
  border-radius: 2px;
}

.phone-nb {
  font-weight: 600;
}

// fun-fact
.fun-fact-inner,
.number-item {
  position: relative;

  &:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    right: -15px;
    top: 0;
    border-right: 1px solid rgba(136, 136, 136, 0.6);
    z-index: 1;
  }
}

.client-list .sppb-col-sm-2 {
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;

  a {
    display: inline-block;
  }
}

//values-item
.values-item {
  .sppb-addon-title strong {
    font-size: 100px;
    line-height: 0.85;
    font-weight: 900;
    display: block;
    margin-bottom: 22px;
  }
}

// com-spsimpleportfolio
.com-spsimpleportfolio {
  &.view-items {
    #sp-main-body {
      padding: 0px 0px 100px;
    }
  }

  .sp-simpleportfolio {
    &.sp-simpleportfolio-view-items {
      padding: 0px 25px;
    }

    .sp-simpleportfolio-filter {
      margin: 0px -15px 40px;

      > ul > li {
        > a {
          font-size: 16px;
          font-weight: 600;
          line-height: 1.56;
          color: $text_color;
          padding: 17px 38px;
          border-radius: 1px;
          background-color: transparent;
        }
      }
    }

    .sp-simpleportfolio-items {
      margin: -3px;

      .sp-simpleportfolio-item {
        padding: 3px;

        &:nth-child(1),
        &:nth-child(3) {
          margin-top: 30px;
        }

        .sp-simpleportfolio-item-wrapper {
          position: relative;
        }

        .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay {
          height: 30%;
          bottom: 0;
          top: unset;
          background: none;
          opacity: 1;
          background-image: linear-gradient(
            to bottom,
            rgba(45, 50, 63, 0),
            #14171e
          );
        }

        .sp-simpleportfolio-info {
          position: absolute;
          width: 100%;
          height: 100%;
          bottom: 0;
          padding: 20px 60px 30px 25px;
          z-index: 100;
          background-color: transparent;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          h3 {
            font-size: 16px;
            font-weight: 700;
            line-height: 1.5;
            margin-bottom: 0;

            > a {
              color: #ffffff;
            }
          }

          .sp-simpleportfolio-tags {
            font-size: 18px;
            font-weight: 600;
            color: $text_color;
            margin-left: -15px;
          }
        }
      }
    }
  }
}

// Spsimpleportfolio Details
.com-spsimpleportfolio.view-item {
  #sp-title {
    display: none;
  }
}

.sp-simpleportfolio-view-item {
  margin-top: 55px;

  .sp-simpleportfolio-description {
    width: 100%;
  }

  .sp-simpleportfolio-image {
    display: none;
  }

  .sp-simpleportfolio-details-header {
    text-align: center;
    margin-bottom: 40px;

    .sp-simpleportfolio-tags {
      font-size: 16px;
      font-weight: 600;

      line-height: 1.56;
      color: $text_color;
      margin-bottom: 15px;
    }

    h2 {
      max-width: 600px;
      font-size: 40px;
      font-weight: 900;
      line-height: 1.33;
      color: #ffffff;
      margin: auto;
    }
  }
}

.portfolio-info-link {
  .sppb-addon-content a {
    color: #ffffff;
    text-decoration: underline;
  }
}

.blockquote {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  padding: 25px 65px;
  background-color: #ffffff;
}

.portfolio-item-summary {
  .sppb-addon-content {
    padding-left: 15px;
  }
}

.portfolio-details-progress {
  border-radius: 1px;

  .sppb-progress-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
    margin-bottom: 12px;

    span {
      display: none;
    }
  }

  .sppb-progress {
    background-color: #c3c3c3;
  }

  .sppb-progress-bar {
    border-radius: 4px;
  }
}

.portfolio-details-list {
  border-radius: 1px;

  .list ul {
    padding: 0;
    margin: 0;

    li {
      padding-left: 25px;
      margin-bottom: 5px;
      list-style: none;
      position: relative;

      &:after {
        content: "\f00c";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 14px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        line-height: 25px;
      }
    }
  }
}

// home-pagev2
.home-pagev2 {
  background-color: #fff;
}

.team-container-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1370px;
}

// Appointment Page
.appointment-step {
  .sppb-addon-content {
    padding: 5px 15px 16px;
    border-left: 1px solid $text_color;
  }

  &.list-step {
    .sppb-addon-content {
      border-color: transparent;
    }
  }
}

.appointment-form {
  .sppb-addon-form-builder {
    .sppb-form-builder-field-0 {
      padding-right: 0 !important;
      margin-top: 40px;
    }
  }
}

// Blog
.view-category {
  #sp-main-body {
    padding-top: 50px;
  }
}

.article-list {
  .article {
    margin-bottom: 30px;
    line-height: 1.56;
    color: #727478;
    background-color: #fdfdff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;

    .article-intro-image,
    .article-featured-video,
    .article-featured-audio,
    .article-feature-gallery {
      border-radius: 0;

      img {
        border-radius: 0;
        width: 100%;
      }
    }

    .article-body {
      padding: 30px 25px;
      display: flex;
      flex-direction: column;
      position: relative;

      .article-header {
        order: 1;
      }

      .article-introtext {
        order: 2;
      }

      .article-info {
        order: 3;
      }
    }

    .article-header {
      h1,
      h2 {
        font-size: 18px;
        font-weight: 700;
        padding-top: 20px;
        margin: 1rem 0 0.5rem 0;

        a {
          color: #14171e;
        }
      }
    }

    .readmore {
      font-size: 0.875rem;

      a {
        color: $text_color;
        font-weight: 500;
      }
    }

    &:hover {
      transform: translateY(-15px);
      box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.8);
    }
  }
}

.article-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0.5rem;

  > span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.57;

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

    &.published {
      position: absolute;
      top: 30px;
      left: 25px;
      color: #727478;

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

// view-article
.view-article {
  #sp-title {
    display: none;
  }

  #sp-right {
    margin-top: 280px;
  }
}

.article-header-wrap {
  padding: 30px 0px;
  margin-top: -6px;
  position: relative;
}

.article-details {
  .article-header {
    text-align: center;
    position: relative;
    padding-top: 30px;

    h1,
    h2 {
      font-size: 40px;
      font-weight: 900;
      line-height: 1.33;
      color: #ffffff;
    }
  }

  .article-info {
    display: block;
    text-align: center;
    margin-bottom: 0rem;

    > span.published {
      left: 0;
      right: 0;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.57;
      color: #ffffff;
    }
  }

  .article-full-image {
    text-align: center;

    img {
      display: inline-block;
      border-radius: 0;
    }

    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: 2rem 0 0 0;
  display: block;

  > li {
    display: inline-block;

    a {
      display: block;
      font-size: 0.875rem;
      padding: 0.5rem 1rem;
      border-radius: 6.25rem;

      &:hover {
        color: #fff;
      }
    }
  }
}

.pager {
  list-style: none;
  padding: 2.4rem 0 0 0;
  margin: 0 0 0 0;
  border-top: 1px solid rgba($text_color, 0.3);

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

  > li {
    display: inline-block;

    &.previous {
      float: left;

      a {
        position: relative;

        &:before {
          content: "\f053";
          padding-right: 10px;
          position: relative;
          font-size: 12px;
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          color: rgba($text_color, 0.6);
        }
      }
    }

    &.next {
      float: right;

      a {
        position: relative;

        &:after {
          content: "\f054";
          padding-left: 10px;
          position: relative;
          font-size: 12px;
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          color: rgba($text_color, 0.6);
        }
      }
    }

    a {
      display: inline-block;
      font-size: 16px;
      font-weight: 400;
      padding: 1rem 2.5rem;
      border-radius: 0;
    }
  }
}

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

// Left and Right
.view-category {
  #sp-left,
  #sp-right {
    .sp-module.social-link {
      display: none;
    }
  }
}

#sp-left,
#sp-right {
  .sp-module {
    padding: 0px 18px;

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

    .sp-module-title {
      font-size: 30px;
      font-weight: 700;
      line-height: 1.5;
      color: #ffffff;
      margin: 0 0 7px;
    }

    .sp-module-content {
      padding: 35px 30px;
      border-radius: 1px;
      background-color: #fdfdff;
    }

    &.book-free {
      .sp-module-content {
        padding: 0;
        border-radius: 0;
        background-color: transparent;
      }
    }

    &.social-link {
      .sp-module-content {
        padding: 10px 22px;
      }
    }

    //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;
          color: #727478;
        }

        &:last-child {
          border-bottom: none;
        }
      }
    }

    //List category
    .categories-module {
      li {
        border: 0;
        padding: 0;

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

        h5 {
          font-size: 16px;
          font-weight: 400;
          line-height: 1.56;
          margin-bottom: 0;

          a {
            color: #727478;
          }
        }
      }
    }

    // Book Free
    &.book-free {
      .sp-module-content {
        .sppb-btn {
          font-size: 14px;
          line-height: 1.2;
          padding: 12px 24px;

          &.sppb-btn-default.sppb-btn-outline {
            color: #14171e;
          }
        }
      }
    }

    //Latest News
    .latestnews {
      > div {
        &:not(:last-child) {
          padding-bottom: 15px;
          margin-bottom: 15px;
          border-bottom: 1px solid rgba($text_color, 0.3);
        }

        .article-list-img {
          display: none;
        }

        .latest-post-info {
          margin-bottom: 5px;

          > span {
            font-size: 14px;
            font-weight: 400;
            line-height: 1.57;
            color: #727478;
          }
        }

        .latest-post-title {
          font-size: 18px;
          font-weight: 700;

          a {
            display: block;
            color: #14171e;
          }
        }
      }
    }

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

    .sppb-icons-group-list {
      text-align: center;

      li {
        border-bottom: 0;

        &:not(:last-child) {
          margin-right: 38px;
        }

        a {
          line-height: 0.83;
          color: $link-color;

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

// Misc
.pagination-wrapper {
  align-items: center;

  .mr-auto {
    margin: auto;
    width: 100%;
  }

  .pagination-counter {
    display: none;
  }
}

ul.pagination {
  width: 100%;
  justify-content: center;
  border-radius: 0;
  padding: 15px 0px;
  border-top: 1px solid rgba($text_color, 0.3);
  margin: 60px 0 0;
  position: relative;

  .page-item {
    position: relative;

    &:first-child:not(.active) {
      left: 0;

      .page-link {
        padding-left: 20px;

        &:before {
          content: "\f053";
          left: 0;
        }
      }
    }

    &:last-child:not(.active) {
      right: 0;

      .page-link {
        padding-right: 20px;

        &:after {
          content: "\f054";
          right: 0;
        }
      }
    }

    &:last-child:not(.active),
    &:first-child:not(.active) {
      position: absolute;
      .page-link {
        font-size: 16px;
        font-weight: 400;
        color: $text_color;
        margin: 0;
        padding: 0;
        &:before,
        &:after {
          // position: absolute;
          // font-size: 12px;
          // font-family: "Font Awesome 5 Free";
          // font-weight: 900;
          // color: rgba($text_color, 0.6);
          // top: 52%;
          // transform: translateY(-50%);
          display: none;
        }
      }
    }

    .next,
    .previous {
      display: none;
    }

    .page-link {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      padding: 5px;
      margin: 0 15px;
      border: 0;
      border-radius: 0;
      background-color: transparent;

      &:hover {
        background-color: transparent;
      }
    }
  }
}

// Search
.view-search {
  #sp-main-body {
    margin-top: $header_height;
  }

  .search {
    hr {
      border-top: 1px solid rgba($text_color, 0.3);
    }

    .btn-secondary {
      border-radius: 0;
    }

    .controls {
      label {
        margin-right: 10px;
        margin-bottom: 0;

        input[type="radio"] {
          margin-right: 5px;
          margin-left: 5px;
          -webkit-appearance: none;
          appearance: none;
          width: 15px;
          height: 15px;
          position: relative;

          &:before {
            content: "";
            position: absolute;
            width: 15px;
            height: 15px;
            left: 0;
            top: 2px;
            border-radius: 100px;
            border: 1px solid $text_color;
            -webkit-transition: all 0.3s;
            transition: all 0.3s;
          }

          &:checked:before {
            background-color: #fff;
          }

          &:focus {
            outline: none;
          }
        }
      }
    }

    #ordering,
    #limit {
      background-color: rgba(247, 247, 247, 1);
    }

    .form-check-inline {
      input[type="checkbox"] {
        margin-right: 5px;
        margin-left: 5px;
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        position: relative;
        background-color: #fff;

        &:before {
          content: "";
          position: absolute;
          width: 10px;
          height: 5px;
          left: 2px;
          top: 4px;
          border-left: 2px solid transparent;
          border-bottom: 2px solid transparent;
          transform: rotate(-50deg);
          -webkit-transition: all 0.3s;
          transition: all 0.3s;
        }

        &:checked:before {
          background-color: #fff;
        }

        &:focus {
          outline: none;
        }
      }
    }
  }
}

// Contact Page

.contact-info {
  position: relative;
  z-index: initial !important;

  &:after {
    content: "";
    position: absolute;
    width: 234px;
    height: 234px;
    bottom: -20px;
    right: -30px;
    background-color: rgba(20, 23, 30, 0.3);
    z-index: -1;
  }

  .phone-no,
  .email-id {
    .sppb-addon-title {
      float: left;
      width: 70px;
    }
  }

  .phone-no .sppb-addon-content {
    letter-spacing: 1.6px;
  }

  .email-id .sppb-addon-content {
    letter-spacing: 1.3px;
  }
}

.social-profile {
  ul.sppb-icons-group-list {
    li a[aria-label="Instagram"] {
      background-image: linear-gradient(76deg, #ff392a, #cd2ba3);

      &:hover {
        background-image: linear-gradient(76deg, #cd2ba3, #ff392a);
      }
    }
  }
}

// Bottom
#sp-bottom-top {
  border-bottom: 1px solid rgba(136, 136, 136, 0.25);

  .sppb-addon-form-builder {
    .sppb-form-group {
      margin-bottom: 0;
    }

    .sppb-form-builder-btn {
      width: 37%;
      float: left;

      .sppb-btn {
        width: 100%;
        font-size: 14px;
        line-height: 1.2;
        padding: 15px 30px;
      }
    }
  }
}

#sp-bottom {
  padding: 95px 0 65px;
  font-size: 14px;
  line-height: 1.57;
  font-weight: 400;
  background-color: #fff;

  #sp-bottom1 .sp-module {
    padding-right: 65px;
  }

  #sp-bottom3 {
    padding-top: 45px;
  }

  #sp-bottom4 .sp-module {
    letter-spacing: 0.6px;
  }

  .sp-module {
    margin-bottom: 30px;

    .sp-module-title {
      font-weight: 700;
      font-size: 18px;
      line-height: 1.44;
      color: $footer_text_color;
      margin: 0 0 18px;
    }

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

      > li {
        display: block;
        margin-bottom: 20px;

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

        > a {
          display: block;
          font-weight: 700;
          letter-spacing: 1.6px;
          text-transform: uppercase;
          color: $footer_link_color;
        }
      }
    }

    .sppb-icons-group-list {
      li {
        margin-bottom: 0;

        a {
          color: $footer_text_color;
        }
      }
    }
  }
}

.home-pagev2 {
  #sp-bottom,
  #sp-footer {
    background-color: #dee1e4;

    a {
      color: $footer_text_color;
    }
  }

  #sp-footer .container-inner {
    padding: 40px 0px;
  }
}

// Footer
#sp-footer {
  font-size: 12px;
  padding: 0;
  color: rgba($footer_text_color, 0.3);
  background-color: #ffffff;

  .container-inner {
    padding: 27px 0;
    border-top: 1px solid rgba(136, 136, 136, 0.3);
  }

  .sp-copyright a {
    color: rgba($footer_text_color, 0.3);
  }

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

// Login Page
.form-control {
  padding: 0.6rem 0.75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
  color: $text_color;
  border-radius: 1px;
  background-color: rgba(247, 247, 247, 1);
  border: 0;
  border-bottom: 2px solid #c3c3c3;
}

.login,
.logout,
.registration {
  .input-group-text {
    padding: 0.6rem 0.75rem;
    border-radius: 1px;
    border: 0;
    border-right: 2px solid #c3c3c3;
    border-bottom: 2px solid #c3c3c3;
    background-color: rgba(247, 247, 247, 1);
  }

  .btn {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.7px;
    line-height: 1.2;
    padding: 15px 30px;
    border-radius: 1px;
    border-color: transparent;
  }

  .btn-primary {
    color: #ffffff;
  }

  .btn-secondary {
    color: $bg-color;
    background-color: $text_color;

    &:focus,
    &:hover {
      color: darken($bg-color, 0.3%);
      background-color: darken($text_color, 15%);
    }
  }
}

.view-category.blog-v2 #sp-right {
  .book-free,
  .themis-blog-categories,
  .popular-post-v1 {
    display: none;
  }
}

.view-article.blog-v2 {
  section#sp-main-body {
    background: $bg_color;
  }

  #sp-right {
    .popular-post-v2 {
      display: none;
    }

    .sp-module:not(:first-child) {
      margin-top: 20px;
    }
  }
}

.view-article.blog-v2 #sp-position1,
.view-article.blog-v2 #sp-position2 {
  display: none;
}

.blog-v2 {
  #sp-right {
    position: relative;
    .popular-post-v1 {
      .sp-module-title {
        display: none;
      }
    }
  }
}

.counter-border-wrapper {
  .sppb-row {
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: #c8cddc;
  }
}

.view-article.blog-v2 {
  #sp-right {
    .sp-module {
      .latestnews {
        .latest-post-content-wrap {
          .latest-post-info {
            display: block;
          }
        }

        .article-list-img {
          display: none;
        }

        .latest-post-title {
          margin-top: 0px;
        }

        & > div:not(:last-child) {
          padding-bottom: 15px;
          margin-bottom: 15px;
          border-bottom: 1px solid rgba(200, 205, 220, 0.3);
        }

        padding: 30px 0px;
      }
    }

    &:before {
      display: none;
    }

    .themis-blog-categories {
      .sp-module-content {
        padding: 20px 30px;
      }
    }

    .popular-post-v1 {
      .sp-module-title {
        display: block;
      }
    }
  }
}

/* Predefine Header */
#sp-top-bar + #sp-header {
  padding-top: 20px;
}
#sp-top-bar + #sp-header.header-sticky {
  padding-top: 0px;
}

/************************************************************************/
/********* ****************    End:: Themis    ********* ****************/
/************************************************************************/
