// Global CSS Variables
:root {
  --header_height: $header_height;
  --link-color: #{$link_color};
  --text-color: #{$text_color};
  --link-hover-color: #{$link_hover_color};
}

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;
  display: none;
}
#jform_spacer-lbl {
  display: none;
}

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;
}
.no-shadow {
  box-shadow: none !important;
}
//Topbar

#sp-top1 {
  padding: 0px;
}
#sp-top2 {
  position: relative;
}

#sp-top-bar {
  padding: 12px 100px 12px 100px;
  .sp-module {
    display: block;
  }
}

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;
}
#sp-menu {
  padding: 0px;
  &.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: 0px;
    &: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;
    margin: 0px 10px 0px 0px;
    font-size: 90%;
    white-space: nowrap;
    i {
      margin: 0 3px;
    }
  }
}

// Header
#sp-header {
  padding: 0px 0px 0px 85px;
  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;
    display: flex;
    align-items: center;
  }
  nav.sp-megamenu-wrapper {
    #offcanvas-toggler {
      display: none;
    }
  }
}

#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;
    }
  }
  .login-form-input {
    margin-bottom: 35px;
  }
  .form-check-label {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: rgba(25, 30, 30, 0.8);
  }
  .form-check-label {
    margin-bottom: 40px;
  }
  form.form-validate {
    margin-right: 80px;
  }
  .list-group {
    .list-group-item {
      font-weight: 500;
      font-size: 16px;
      line-height: 24px;
      color: $text_color;
      border: none;
      padding: 5px 0px;
      &:hover {
        text-decoration: underline;
      }
      &:before {
        content: url("../images/button-arrow.svg");
        display: inline-block;
        position: relative;
        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;
        &:hover,
        &:active,
        &:focus {
          text-decoration: underline;
        }
      }
    }
  }

  .intro-articles-top-title {
    margin: 0px 0px 40px 15px;
  }
}

.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: 30px;
    .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;
        }
      }
    }
  }
}

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

  .container-inner {
    padding: 0px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    &:before {
      content: url("../images/footer-shape-1.svg");
      position: absolute;
      left: -240px;
      top: -123px;
      z-index: 1;
    }
    &:after {
      content: "";
      position: absolute;
      top: -50px;
      right: -105px;
      z-index: 1;
      background: rgba(135, 118, 255, 0.3);
      backdrop-filter: blur(4px);
      width: 80px;
      height: 100px;
    }
  }

  ul {
    &.menu {
      display: flex;
      flex-direction: column;
      list-style: none;
      padding: 0;
      margin: 0px;
      li {
        display: inline-block;
        margin-bottom: 26px;
        a {
          display: block;
          font-weight: 500;
          font-size: 16px;
          line-height: 24px;
          &:hover {
            background: none;
          }
        }
      }
    }
  }

  #sp-footer1 {
    padding-top: 125px;
    padding-left: 68px;
  }

  #sp-footer2 {
    padding: 125px 0px 35px 110px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.sp-copyright {
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

// 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%;
    background-size: cover;
  }

  .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-content {
    display: none;
  }

  .coming-soon-position {
    max-width: 440px;
  }

  .social-icons {
    display: block;
    text-align: left;
    li {
      a {
        i {
          padding: 5px;
          background: rgba(255, 255, 255, 0.2);
          font-size: 20px;
          color: #191e1ecc;
        }
      }
    }
  }

  .coming-soon-title {
    font-weight: 400;
    font-size: 92px;
    line-height: 94px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    color: $text_color;
    text-align: left;
    max-width: 45%;
  }

  .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%;
    background-color: #f6f5f6;
  }

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

  .error-code {
    font-weight: 400;
    font-size: 92px;
    line-height: 94px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    color: #191e1e;
    text-align: left;
    margin-bottom: 30px;
    margin-top: 150px;
  }

  .error-message {
    font-size: 36px;
    line-height: 46px;
    margin-bottom: 30px;
    text-align: left;
    margin-bottom: 55px;
  }
  .sppb-btn {
    margin-right: 100%;
  }
}

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

  &: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;
}
label,
.form-label {
  font-weight: 500;
  font-size: 17px;
  line-height: 18px;
  margin-bottom: 10px;
  color: $text_color;
}

.sppb-form-group {
  margin-bottom: 40px;
}
.sppb-form-group textarea.sppb-form-control {
  padding: 8px 20px 8px 16px;
  font-size: 16px;
  line-height: 24px;
  color: $text_color;
  background: rgba(239, 240, 252, 0.6);
  border: 1px solid #dddae1;
  border-radius: 3px !important;
}
.form-control {
  display: block;
  width: 100%;
  padding: 8px 20px 8px 16px;
  font-size: 16px;
  line-height: 24px;
  background: rgba(239, 240, 252, 0.6);
  border: 1px solid #dddae1;
  border-radius: 3px !important;
  height: 48px;
  color: $text_color;

  &:focus,
  &:hover,
  &:active {
    color: $text_color;
    background-color: rgba(239, 240, 252, 1);
    border-color: #dddae1;
    outline: 0;
  }
}

.input-group-text {
  display: none;
}

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) {
    @extend .form-control;
    background-image: none;
    background-clip: padding-box;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  }
}

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

          &: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: 105px;
  }
}

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

// view profile

.com-users.view-profile {
  .sp-module-content-top {
    display: none;
  }
}

//privacy
.registration {
  #member-registration {
    margin-right: 70px;
    #jform_privacyconsent_privacy-lbl {
      display: inline-flex;
      > a {
        position: initial;
        display: block;
        color: $text_color;
        &:hover,
        &:focus {
          color: $link_hover_color;
        }
      }
    }
    .registration-input {
      margin-bottom: 35px;
    }
  }
  #password-0 {
    text-align: left !important;
  }
}
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,
.sppb-btn {
  &:focus,
  &:active {
    box-shadow: none !important;
  }
}

// btn primary hover focus outline and dropdown remove
body .sppb-btn,
body .btn,
.btn-primary {
  outline: none !important;
}

// Buttons
body .sppb-btn,
body .btn {
  letter-spacing: 0.01em;
  text-transform: capitalize;
  font-weight: 500;
  padding: 1rem 1.52rem 1rem 1.52rem;
  line-height: 1.5;
  font-size: 16px;
  border: none;

  // 3d btn
  &.sppb-btn-3d {
    padding-top: 13px;
    padding-bottom: 12px;
  }

  //button extra large
  &.sppb-btn-xlg {
    padding: 0px 0px 18px 22px;
    text-align: left;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    position: relative;
    border: 1px solid #dddae1;
    height: 120px;
    display: inline-flex;
    align-items: flex-end;
    width: 220px;

    &:after {
      content: url("../images/button-arrow.svg");
      position: absolute;
      top: 27px;
      right: 26px;
    }
  }

  // button large
  &.sppb-btn-lg {
    padding: 1rem 1.8rem 1rem 1.8rem;
  }

  //button medium
  &.sppb-btn-sm {
    padding: 0.7rem 1rem 0.7rem 1rem;
  }

  //button extra small
  &.sppb-btn-xs {
    padding: 0.4rem 1rem 0.4rem 1rem;
    font-size: 14px;
    line-height: 1.6;
  }

  //button primary
  &.sppb-btn-default,
  &.sppb-btn-primary,
  &.btn-primary {
    color: $text_color;
    background-color: $link_color;
    box-shadow: 0px 2px 8px rgba(28, 26, 32, 0.1);
    &:hover,
    &:focus,
    &:active {
      background-color: $link-hover-color;
    }

    &.sppb-btn-rounded {
      border-radius: 3px;
    }

    &.sppb-btn-round {
      border-radius: 30px;
    }
    &.sppb-btn-outline {
      border: 1px solid $link_color;
      background-color: transparent;
      color: $text_color;

      &:hover,
      &:focus,
      &:active {
        background-color: $link_color;
        color: $text_color;
      }
    }
    &.sppb-btn-gradient {
      background-image: linear-gradient(-180deg, #06fff7, #3ac6c0);
    }

    &.sppb-btn-3d {
      border-bottom: 4px solid $link_hover_color;

      &:hover {
        border-bottom-color: transparent;
      }
    }
  }
  //button primary
  &.sppb-btn-secondary,
  &.btn-secondary {
    color: #fff;
    background-color: $text_color;
    box-shadow: 0px 2px 8px rgba(28, 26, 32, 0.1);
    &:hover,
    &:focus,
    &:active {
      color: #fff;
      background-color: rgba(25, 30, 30, 0.8);
    }

    &.sppb-btn-rounded {
      border-radius: 3px;
    }

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

      &:hover,
      &:focus,
      &:active {
        background-color: $text_color;
        color: #fff;
      }
    }
    &.sppb-btn-gradient {
      background-image: linear-gradient(-180deg, #191e1e, #4a4c4c);
    }

    &.sppb-btn-3d {
      border-bottom: 4px solid #525454;

      &:hover {
        border-bottom-color: transparent;
      }
    }
    &.sppb-btn-xlg {
      border: 1px solid #dddae1;
      &:hover,
      &:focus,
      &:active {
        background-color: rgba(242, 241, 249, 0.6);
        color: $text_color;
      }
    }
  }
  // &.sppb-btn-secondary {
  //   &:hover,
  //   &:focus,
  //   &:active {
  //     color: #ffffff;
  //     background-color: $link-color;
  //   }
  // }
  //button link
  &.sppb-btn-link {
    padding: 0px;
    color: $link_color;
    letter-spacing: 1px;
    font-weight: 800;
  }
}

.nuron-topbar-accordion {
  position: relative;
  top: -2px;
  .sppb-panel-heading {
    padding: 0px;
    border: none;
    display: inline-block;
    border-bottom: none !important;
    &:before {
      content: url("../images/covid19-warning.svg");
      position: relative;
      top: 2px;
      margin-right: 20px;
    }
    .sppb-toggle-direction {
      right: -30px;
      color: #fff;
      transform: translateY(-50%) rotate(90deg);
      transition: all 0.5s ease-in-out;
    }
    &.active {
      .sppb-toggle-direction {
        transform: translateY(-50%) rotate(-90deg);
      }
    }
  }
  .sppb-panel-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    top: -5px;
    position: relative;
    span {
      font-weight: 500;
    }
  }
  .sppb-panel-body {
    padding: 20px 0px 0px 0px;
    margin-left: 50px;
    display: inline-block;
  }
}
// -------- ahtna style -------
.text-color-opacity {
  color: fadeOut($text-color, 0.2);
}
.secondary-bg-color {
  background-color: rgba(242, 241, 249, 0.6);
}
.secondary-bg-color2 {
  background-image: linear-gradient(
    00deg,
    #ffffff 50%,
    rgba(242, 241, 249, 0.6) 50%
  );
}
// about page
.video-thumb1 {
  .sppb-modal-icon-wrap {
    color: fadeOut($text-color, 0.2);
    background-color: $link_color;
    margin-left: -60px;
    i {
      padding-left: 2px;
    }
  }
}
.team-member {
  .sppb-person-information {
    > span.sppb-person-designation {
      color: fadeOut($text-color, 0.2);
    }
  }
}
// Emergency facilities Page
.content-list {
  .sppb-addon-content {
    ul {
      padding: 0px;
      margin: 24px 0px 0px;
      li {
        line-height: 2;
        position: relative;
        padding-left: 25px;
        list-style: none;
        &:after {
          content: "";
          position: absolute;
          width: 7px;
          height: 7px;
          top: 12px;
          left: 0px;
          border-radius: 50%;
          background-color: $text-color;
        }
      }
    }
  }
}
.accordion-style1 {
  .sppb-panel {
    border: 0;
    border-radius: 0;
    margin-bottom: 0px;
    border-bottom: 1px solid #dddae1;

    .sppb-panel-heading {
      color: $text-color;
      background-color: transparent;
      padding: 24px 30px 24px 0px;

      .sppb-panel-title {
        font-size: 18px;
        line-height: 1.2;
        font-weight: 500;
        font-family: "Outfit", sans-serif;
      }

      .sppb-toggle-direction {
        transform: translateY(-50%) rotate(90deg);
      }
      &.active {
        padding-bottom: 16px;
        .sppb-toggle-direction {
          transform: translateY(-50%) rotate(-90deg);
        }
      }
    }
    .sppb-panel-body {
      padding: 0px 15px 24px 0px;
      border: 0px;
    }
  }
}
// insurance policy page
.insurance-plans {
  .sppb-img-container {
    img {
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba($text-color, 0.1);
      border-radius: 3px;
    }
  }
  .sppb-addon-title {
    color: fade-out($text-color, 0.4);
  }
}
// package and offer page
.pricing-table {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #dddae1;
  backdrop-filter: blur(25px);
  border-radius: 3px;
  padding: 0px 40px 40px;
  .sppb-pricing-header {
    display: flex;
    flex-direction: column-reverse;

    .sppb-pricing-price-container {
      background: #eff0fc;
      border-radius: 3px 3px 0px 0px;
      padding: 33px 40px;
      margin: 0px -40px;
      transition: all 0.3s;

      .sppb-pricing-duration {
        margin-left: 10px;
        color: fade-out($text-color, 0.2);
        transition: all 0.3s;
      }
    }
  }
  .sppb-pricing-features {
    color: fade-out($text-color, 0.2);
  }
  .sppb-btn.sppb-btn-link {
    color: $text-color;
    i {
      transform: rotateZ(-45deg);
      margin-left: 5px;
    }
    &:hover {
      opacity: 0.7;
    }
  }
  &:hover {
    .sppb-pricing-price-container {
      background: #8776ff;
      color: #ffffff;
      .sppb-pricing-duration {
        color: #ffffff;
      }
    }
  }
}
// package and offer details page
.test-parameter-list {
  .sppb-blocknumber-number {
    color: fade-out($text-color, 0.35);
    &:after {
      content: ".";
    }
  }
  .sppb-blocknumber-text {
    color: fade-out($text-color, 0.2);
  }
}
// Home dental page
.hero-slider {
  &.sppb-addon-sp-slider {
    .sp-item {
      .sp-background {
        &::after {
          content: "";
          position: absolute;
          width: 100%;
          height: 100%;
          background: linear-gradient(
            102.05deg,
            #000000 12.45%,
            rgba(0, 0, 0, 0) 74.31%
          );
          opacity: 0.7;
        }
        &::before {
          content: "";
          position: absolute;
          width: 100%;
          height: 50%;
          bottom: 0px;
          background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            #000000 100%
          );
          opacity: 0.5;
        }
      }
      .btn2 .sp-slider-btn-icon i {
        transform: rotatez(-45deg);
      }
    }
  }
  .sp-nav-control .nav-control {
    backdrop-filter: blur(25px);
    transition: all 0.3s;
    &:hover {
      backdrop-filter: blur(8px);
    }
  }
}
.hero-btn {
  .sppb-addon-content {
    display: flex;
  }
  a.sppb-btn {
    width: 24.84%;
    text-align: left;
  }
  .sppb-btn {
    &.sppb-btn-secondary {
      font-size: 24px;
      line-height: 28px;
      backdrop-filter: blur(44px);
      background-color: fade-out($text-color, 0.8);
      padding: 32px 41px 32px 80px;
      i {
        position: absolute;
        left: 40px;
      }
    }
  }
}
@media (max-width: 991px) {
  .hero-btn {
    .sppb-btn {
      &.sppb-btn-secondary {
        font-size: 20px;
        padding: 15px 15px 15px 45px;
        i {
          top: 20px;
          left: 15px;
        }
      }
    }
  }
}
@media (max-width: 767px) {
  .accordion-style1 {
    .sppb-panel {
      .sppb-panel-heading {
        padding: 15px 30px 15px 0px;
        .sppb-panel-title {
          font-size: 14px;
        }
      }
      .sppb-panel-body {
        padding: 0px 15px 20px 0px;
      }
    }
  }
  .pricing-table {
    padding: 0px 25px 25px;
    .sppb-pricing-header {
      .sppb-pricing-price-container {
        padding: 25px 25px;
        margin: 0px -25px;
      }
    }
  }
  .hero-slider {
    .sp-nav-control {
      width: 75px !important;
      top: unset !important;
      bottom: 25% !important;
    }
  }
  .hero-btn {
    .sppb-addon-content {
      display: block;
    }
    a.sppb-btn {
      width: 100%;
    }
    .sppb-btn {
      &.sppb-btn-secondary {
        font-size: 18px;
        padding: 15px 15px 15px 45px;
        i {
          top: 20px;
          left: 15px;
        }
      }
    }
  }
}
.home-dental-feature {
  backdrop-filter: blur(25px);
}
.service-list {
  position: relative;
  border-radius: 3px;
  padding: 24px 24px 18px 24px;
  background-color: #eff0fc;
  border: 1px solid transparent;
  transition: all 0.3s;
  .sppb-addon-content {
    display: flex;
    flex-direction: column;
    .sppb-img-container {
      order: 2;
    }
    .sppb-media-content {
      order: 1;
    }
  }
  &:before {
    content: url("../images/button-arrow.svg");
    position: absolute;
    right: 16px;
    top: 24px;
    opacity: 0;
    transition: all 0.3s;
  }
  &:hover {
    border-color: #dddae1;
    background-color: rgba(255, 255, 255, 0.5);
    &:before {
      opacity: 1;
    }
  }
}
.testimonial-horizontal {
  .sppb-carousel-extended-outer-stage {
    transform: translate(0px) !important;
    width: 100% !important;
    height: 510px !important;
    display: flex;
    flex-direction: column;

    .sppb-carousel-extended-item {
      width: 100% !important;
      margin-bottom: 33px;
      border: 1px solid #dddae1;
      border-radius: 3px;
    }
  }
  .sppb-carousel-extended-list {
    position: relative;

    &:before {
      content: "";
      position: absolute;
      height: 50%;
      width: 100%;
      bottom: 0px;
      left: 0px;
      right: 0px;
      background: linear-gradient(
        0deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 100%
      );
      z-index: 10;
    }
  }
  .sppb-carousel-extended-nav-control {
    height: auto;
    width: 80px;
    margin: 0px;
    right: -88px;
    bottom: unset;
    transform: rotateZ(90deg);
    top: 24px !important;
  }
}
@media (max-width: 767px) {
  .testimonial-horizontal {
    .sppb-carousel-extended-item {
      margin-bottom: 20px !important;
    }
    .sppb-carousel-extended-nav-control {
      right: 0px;
      bottom: unset;
      transform: rotateZ(0deg);
      top: -50px !important;
    }
  }
}
// header big button
.nuron-arrow-big-button {
  padding: 24px 110px 20px 32px;
  &:before {
    content: url("../images/button-arrow.svg");
    position: absolute;
    right: 25px;
    top: 25px;
  }
}

.module-search-button {
  &:hover {
    cursor: pointer;
  }
  i {
    font-size: 20px;
  }
}

.module-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 50px;
  margin-right: 30px;
  transform: translateY(-10px);
}

.module-finder-search {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 111;
  display: none;
}

.module-search-input {
  width: 520px;
  height: 48px;
  border: 1px solid #dddae1;
  border-radius: 3px;
  background: rgb(239 240 252);
}

.module-search-close {
  position: absolute;
  top: 12px;
  right: 15px;
  &:hover {
    cursor: pointer;
  }
}

.sp-megamenu-wrapper {
  transform: translateY(-10px);
}

.menu-button-wrapper {
  .sppb-row > div {
    padding: 0px;
  }
}

.nuron-animated-number {
  position: relative;
  top: 222px;
}

.left-wrapper {
  .sppb-column-addons {
    max-width: 640px;
    margin-left: auto;
  }
}

.home-diagnostic-search {
  .mod-finder__search {
    flex-direction: column;
    align-items: baseline;
  }
  .awesomplete {
    width: 100%;
  }
  label {
    margin-bottom: 15px;
  }
  .btn.btn-primary {
    background: #191e1e;
    color: #fff;
    border-radius: 3px !important;
    margin-top: 30px;
    padding: 15px 35px;
    &:hover,
    &:focus {
      background-color: rgba(25, 30, 30, 0.8);
    }
  }
  .js-finder-search-query {
    height: 56px;
  }
}

.home-diagn-testimonial {
  .sppb-carousel-extended-item {
    border: 1px solid #dddae1;
    border-radius: 3px;
  }
  .sppb-testimonial-carousel-content-wrap {
    margin-bottom: 30px;
  }
  .sppb-testimonial-carousel-message {
    font-style: italic;
  }
  .sppb-carousel-extended-list {
    position: relative;
    &:before {
      content: "";
      background: linear-gradient(
        270deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: matrix(-1, 0, 0, 1, 0, 0);
      left: 0px;
      z-index: 11;
      top: 0px;
      width: 600px;
      height: 100%;
      position: absolute;
    }
  }
  .sppb-carousel-extended-nav-control {
    height: auto;
    width: 80px;
    margin: 0px;
    right: 0px;
    top: auto !important;
    bottom: -55px;
  }
}

// Nuron Doctor
.spmedical-specialists
  .specialist-wrapper:hover
  .specialists-img-wrapper:after {
  opacity: 0;
}
.view-specialists {
  .spmedical-specialists-search-result {
    .spmedical-specialists {
      .specialist-wrapper {
        flex-direction: column;
      }
    }
  }
}
.spmedical-specialists-search {
  max-width: 1060px;
  margin: 0px auto 52px;
  .input-filters {
    position: relative;
    display: flex;
  }
  .input-filters .specialist-wrapper {
    width: 100%;
    display: block;
    padding: 0px;
    .custom-combobox {
      input {
        font-size: 16px;
        line-height: 1.5;
        font-weight: 400;
        text-indent: 28px;
        padding: 15px 18px;
        background: rgba(239, 240, 252, 0.6);
        &:active,
        &:focus {
          border-color: $link_color;
        }
      }
      .custom-combobox-toggle {
        position: absolute;
        top: 22px;
        left: 18px;
        right: unset;
        font-size: 10px;
        color: $text-color;
      }
    }
  }
  .input-btn {
    position: absolute;
    margin-bottom: 0;
    top: 0;
    right: 0;

    .spmedical-btn-primary {
      font-size: 16px;
      font-weight: 500;
      text-transform: capitalize;
      padding: 16px 22px;
      color: $text_color;
      background-color: $link_color;
      &:hover,
      &:focus,
      &:active {
        background-color: $link-hover-color;
      }
    }
  }
}

.spmedical-specialists-search-result {
  .spmedical-sidebar {
    max-width: 260px;
    margin-left: auto;
    border: 0px;
    border-radius: 0px;
    margin-right: 35px;
    h3 {
      font-size: 26px;
      line-height: 1.4;
      font-weight: 500;
      padding-bottom: 8px;
      margin-bottom: 38px;
      border-bottom: 1px solid fade-out($text-color, 0.8);
    }
    #spmedical-specialists-filters-form {
      &.spmedical-specialists-filters {
        .spmedical-category-search {
          padding: 0px;
          border-bottom: 0px;
          margin-bottom: 38px;
          h4 {
            font-size: 20px;
            line-height: 1.4;
            font-weight: 500;
            margin-bottom: 13px;
          }
          ul > li {
            input[type="checkbox"] {
              appearance: none;
              position: relative;
              width: 16px;
              height: 16px;

              &::before {
                content: "";
                position: absolute;
                width: 16px;
                height: 16px;
                left: 0px;
                top: 0px;
                background: rgba(242, 241, 249, 0.6);
                border: 1px solid #dddae1;
                border-radius: 3px;
              }
              &:checked::before {
                content: "\f00c";
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                font-size: 10px;
                text-align: center;
                color: #ffffff;
                background: #8776ff;
                border-color: transparent;
              }
            }
            label {
              margin-bottom: 8px;
              font-size: 16px;
              line-height: 1.45;
              font-weight: 400;

              .checkmark {
                padding-left: 10px;
              }
            }
          }
        }
        .spmedical-buttons-group {
          padding: 0px;
          text-align: left;

          .spmedical-btn {
            color: $text_color;
            font-weight: 500;
            text-transform: capitalize;

            &.spmedical-submit-button {
              font-size: 16px;
              padding: 4px 10px;
              letter-spacing: 0.01em;
              background-color: $link_color;
              &:hover,
              &:focus,
              &:active {
                background-color: $link-hover-color;
              }
              &:after {
                display: none;
              }
            }
            &.reset-button {
              font-size: 13px;
              line-height: 24px;
            }
          }
        }
      }
    }
  }
}
.spmedical-specialists {
  max-width: 330px;
  .specialist-wrapper {
    box-shadow: none;
    margin-bottom: 78px;
    .specialists-img-wrapper {
      position: relative;
      border-radius: 0px;
      margin: 0px 0px 24px;
      max-width: 260px;
      &:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 45%;
        left: 0px;
        top: unset;
        bottom: 0px;
        background: linear-gradient(
          360deg,
          #ffffff 0%,
          rgba(255, 255, 255, 0) 86.55%
        );
        opacity: 1;
      }
    }
    .specialists-info-wrapper {
      padding: 0px;
      .specialists-name {
        margin-bottom: 16px;

        h3 {
          font-size: 36px;
          line-height: 1.4;
          font-weight: 500;
          margin-bottom: 10px;

          a {
            transition: all 0.3s ease-in-out;
            border-bottom: 1px solid transparent;
            &:hover {
              color: $text-color;
              border-color: $text-color;
            }
          }
        }
      }
      .specialists-designation {
        font-size: 16px;
        line-height: 1.4;
        font-weight: 400;
        color: fadeOut($text-color, 0.2);
      }
    }
    .specialist-contact-info {
      margin-left: -8px;
      .btn {
        font-size: 22px;
        line-height: 38px;
        width: 40px;
        height: 40px;
        margin: 0px 8px;
        padding: 0px;
        text-align: center;
        display: inline-block;
        color: fade-out($text-color, 0.2);
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid fade-out($text-color, 0.8);
        backdrop-filter: blur(25px);
        border-radius: 50%;
        box-shadow: none;
        transition: all 0.3s ease-in-out;
        &:hover {
          color: #ffffff;
          background-color: $text-color;
        }
      }
    }
    &:hover {
      box-shadow: none;

      .specialists-img-wrapper:after {
        opacity: 1;
      }
    }
  }
}
.mod-spmedical-services {
  .spmedical-departments {
    margin-bottom: 40px;
  }
  .spmedical-department-wrap {
    background: #eff0fc;
    border-radius: 3px;
    padding: 31px 20px 20px 24px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    a {
      display: flex;
      flex-direction: column-reverse;
      color: $text-color;
    }
    &:before {
      content: url("../images/button-arrow.svg");
      position: absolute;
      right: 25px;
      top: 25px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    &:hover {
      background: #fff;
      border-color: #dddae1;
      &:before {
        opacity: 1;
        visibility: visible;
      }
    }
  }

  .spmedical-department-img-wrap {
    width: 32px;
    height: 32px;
  }
  .spmedical-department-content {
    margin-bottom: 40px;
    .spmedical-department-title {
      font-weight: 500;
      font-size: 20px;
      line-height: 26px;
      margin-bottom: 8px;
      color: #191e1e;
    }
    div {
      font-weight: 400;
      font-size: 13px;
      line-height: 18px;
      color: rgba(25, 30, 30, 0.8);
    }
  }
}
// Doctor Details page
.nuron-specialist-top-info-wrap {
  .specialist-information {
    max-width: 742px;
    margin-left: auto;
    padding-top: 42px;
    .specialist-name {
      margin-bottom: 75px;
      h3 {
        font-size: 92px;
        line-height: 94px;
        font-weight: 400;
        letter-spacing: -0.02em;
        text-transform: capitalize;
        margin: 0px -10% 20px 0px;
      }
      span {
        max-width: 510px;
        display: block;
        font-size: 26px;
        line-height: 1.5;
        font-weight: 500;
        text-transform: capitalize;
        color: fade-out($text-color, 0.2);
      }
    }
    .doctor-location {
      font-size: 20px;
      line-height: 26px;
      font-weight: 400;
      margin-bottom: 48px;
      span {
        font-size: 13px;
        line-height: 24px;
        font-weight: 600;
        text-transform: uppercase;
        color: fade-out($text-color, 0.4);
        margin-bottom: 6px;
        display: block;
        i {
          font-size: 18px;
          margin-right: 8px;
          position: relative;
          top: 2px;
        }
      }
    }
    .appointment-request-wrap {
      display: flex;
      align-items: center;
      padding-bottom: 110px;
      .appointment-button {
        padding: 0px;
        margin-right: 40px;
      }
      .doctor-phone {
        font-size: 26px;
        line-height: 35px;
        font-weight: 400;
        span {
          font-size: 13px;
          line-height: 24px;
          font-weight: 600;
          text-transform: uppercase;
          color: fade-out($text-color, 0.4);
          display: block;
          margin-bottom: 8px;
          i {
            font-size: 18px;
            margin-right: 8px;
            position: relative;
            top: 2px;
          }
        }
        p {
          margin: 0px;
        }
      }
    }
  }
  .specialist-img {
    margin: -74px -132px 0px -10px;
    position: relative;
    &:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 45%;
      left: 0px;
      top: unset;
      bottom: 0px;
      background: linear-gradient(
        360deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 86.55%
      );
    }
  }
}
.nuron-specialist-bottom-info-wrap {
  .bottom-info-wrap-title {
    max-width: 290px;
    margin-left: auto;
    font-size: 36px;
    line-height: 46px;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 5px;
  }
}
.specialist-available-hours {
  ul {
    padding: 0px;
    margin: 0px 0px 60px;
    li {
      list-style: none;
      display: inline-block;
      position: relative;
      padding: 5px 66px 5px 0px;
      margin-bottom: 16px;

      &:not(:last-child):after {
        content: "";
        position: absolute;
        height: 100%;
        width: 1px;
        top: 50%;
        right: 33px;
        border-right: 1px solid fade-out($text-color, 0.8);
        transform: translateY(-50%) rotateZ(18deg);
      }
      span {
        display: block;
        color: fade-out($text-color, 0.1);
        &.date {
          font-size: 17px;
          line-height: 18px;
          font-weight: 500;
          margin-bottom: 6px;
        }
        &.time {
          font-size: 13px;
          line-height: 18px;
          font-weight: 400;
        }
      }
    }
  }
}
.specialist-intro {
  margin-bottom: 34px;
}
.specialist-specialties {
  margin-bottom: 60px;
  .specialist-specialties-title {
    font-size: 13px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    color: fade-out($text-color, 0.4);
    margin-bottom: 8px;
    i {
      margin-right: 8px;
    }
  }
  .specialties {
    ul {
      padding: 0px;
      li {
        display: inline-block;
        font-size: 17px;
        line-height: 18px;
        font-weight: 500;
        margin-right: 8px;
        padding: 8px 16px;
        border-radius: 3px;
        margin-bottom: 10px;
        background-color: rgba(255, 167, 118, 0.2);
        &:nth-child(odd) {
          background-color: rgba(255, 167, 118, 0.2);
        }
        &:nth-child(even) {
          background-color: rgba(118, 197, 255, 0.2);
        }
        &:nth-child(3n + 0) {
          background-color: rgba(178, 118, 255, 0.2);
        }
      }
    }
  }
}
.specialist-education {
  margin-bottom: 78px;
  .spmedical-timeline-wrap {
    margin-bottom: 32px;
    .info {
      span {
        font-size: 26px;
        line-height: 35px;
        font-weight: 500;
        text-transform: capitalize;
        margin-bottom: 4px;
        display: block;
      }
    }
  }
}
.others-info {
  p {
    margin-bottom: 40px;
  }
}
.accepted-insurances {
  hr {
    max-width: 619px;
    margin: 78px 0px 40px;
    border: 0px;
    background-color: fade-out($text-color, 0.2);
  }
}
.patient-reviews,
.years-of-service {
  margin-bottom: 65px;
  i {
    font-size: 26px;
    color: #8776ff;
    margin-bottom: 28px;
  }
  h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .specialist-stats {
    font-weight: 200;
    font-size: 68px;
    line-height: 74px;
    font-family: "Outfit", sans-serif;
  }
}
// blog page
.sppb-addon-articles-carousel {
  .bx-viewport {
    .sppb-articles-carousel-column {
      .sppb-articles-carousel-img {
        margin-bottom: 20px;
      }
      .sppb-articles-carousel-content {
        box-shadow: none;
        padding: 0px;
        margin: 0px;
        a {
          font-size: 18px;
          line-height: 24px;
          font-weight: 500;
          color: $text-color;
          margin: 0px;
          &:hover {
            text-decoration: underline;
          }
        }
        .sppb-articles-carousel-meta,
        .sppb-articles-carousel-meta-category {
          display: none;
        }
      }
    }
  }
  .bx-controls {
    .bx-controls-direction {
      position: absolute;
      right: 28%;
      a {
        font-size: 22px;
        line-height: 30px;
        text-align: center;
        width: 32px;
        height: 32px;
        left: -12px;
        color: $text-color;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid #dddae1;
        backdrop-filter: blur(8px);
        border-radius: 3px;
        &:hover {
          color: $text-color;
          background-color: #eff0fc;
        }
      }
    }
  }
  .bx-pager.bx-default-pager {
    display: none;
  }
}
.article-list {
  max-width: 1090px;
  margin: auto;
  .article {
    padding: 40px 30px 30px 40px;
    margin: 0px 15px 60px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #dddae1;
    backdrop-filter: blur(25px);

    .article-body {
      .article-info {
        span:before {
          display: none;
        }
        margin-bottom: 10px;
        .createdby {
          display: none;
        }
        .published {
          .title-icon-wrap {
            display: none;
          }
          time {
            font-size: 17px;
            line-height: 18px;
            font-weight: 500;
            color: fade-out($text-color, 0.4);
          }
        }
      }
      .article-header {
        margin-bottom: 22px;
        a {
          font-size: 26px;
          line-height: 35px;
          font-weight: 500;
          color: $text-color;
          transition: all 0.3s;
          &:hover {
            color: $text-color;
            text-decoration: underline;
          }
        }
      }
      .article-intro-image {
        border-radius: 0px;
        margin: 0px -30px 22px -40px;
        border: 0px;
        img {
          border-radius: 0px;
          width: 100%;
        }
      }
      .article-introtext p {
        margin-bottom: 35px;
      }
      .readmore a {
        padding-left: 22px;
        position: relative;
        &:before {
          content: "\f061";
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          font-size: 115%;
          position: absolute;
          left: 0px;
          top: -3px;
          transform: rotateZ(-45deg);
        }
      }
    }
  }
}
.view-article {
  #sp-main-body {
    padding-top: 0px;
    .container {
      max-width: 100%;
      margin: 0px auto;
    }
  }
}
.article-details {
  .article-details-top-wraper {
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    .article-header {
      max-width: 662px;
      margin: 45px -150px 0px auto;
      .article-details-title {
        font-size: 54px;
        line-height: 64px;
        font-weight: 500;
        color: $text-color;
        margin-bottom: 34px;
      }
      .article-info {
        max-width: 400px;
        display: block;
        margin-bottom: 0px;
        span {
          display: inline-block;
          margin-right: 40px;
          .title-icon-wrap {
            display: flex;
            font-size: 13px;
            line-height: 24px;
            font-weight: 600;
            text-transform: uppercase;
            color: fade-out($text-color, 0.4);
            margin-bottom: 5px;
            i {
              margin-right: 8px;
              line-height: 1.3;
              font-size: 140%;
            }
            p {
              margin: 0px;
            }
          }
          time,
          span {
            font-size: 20px;
            line-height: 26px;
            font-weight: 400;
          }
        }
        span + span::before {
          display: none;
        }
      }
    }
    .article-full-image {
      margin: 0px -15px 0px 0px;
      img {
        border-radius: 0px;
      }
    }
  }
}

// pagination
.pagination-wrapper {
  display: flex;
  justify-content: center !important;
  .pagination-counter {
    display: none;
  }
}
div.pagination,
ul.pagination {
  border: 0px;
  padding: 0px;
  margin: 40px 0px 0px;
  li {
    &:first-child,
    &:nth-child(2),
    &:last-child {
      display: none;
    }
    &.page-item {
      margin: 0px 4px;
      span.page-link,
      a.page-link {
        font-size: 17px;
        font-weight: 500;
        padding: 0;
        min-width: 40px;
        line-height: 38px;
        min-height: 40px;
        text-align: center;
        color: fade-out($text-color, 0.4);
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid #dddae1;
        backdrop-filter: blur(25px);
        border-radius: 3px;
      }
      &.active {
        span {
          background-color: #eff0fc;
        }
      }
    }
    &:last-child.page-item .page-link,
    &.page-item.disabled .page-link {
      font-size: 26px;
      border: 0px;
      display: none;
    }
  }
}
@media (max-width: 991px) {
  .spmedical-specialists-search-result .spmedical-sidebar {
    max-width: 100%;
    margin-right: 0px;
  }
  .spmedical-specialists {
    max-width: 400px;
    padding-left: 30px;
    .specialist-wrapper .specialists-info-wrapper .specialists-name h3 {
      font-size: 31px;
    }
  }
  .nuron-specialist-top-info-wrap {
    padding-top: 40px;
    .specialist-information {
      position: relative;
      z-index: 10;
      .specialist-name {
        margin-bottom: 45px;
        h3 {
          font-size: 68px;
          line-height: 78px;
        }
        span {
          font-size: 22px;
        }
      }
      .doctor-location {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
        span {
          font-size: 12px;
          line-height: 22px;
          margin-bottom: 4px;
          i {
            font-size: 16px;
          }
        }
      }
      .appointment-request-wrap .doctor-phone {
        font-size: 22px;
        line-height: 32px;
        span {
          font-size: 12px;
          line-height: 22px;
          margin-bottom: 5px;
          i {
            font-size: 16px;
          }
        }
      }
    }
    .specialist-img {
      margin: -35px -132px 0px -110px;
    }
  }
  .nuron-specialist-bottom-info-wrap .bottom-info-wrap-title {
    font-size: 31px;
    line-height: 41px;
  }
  .specialist-available-hours ul {
    margin: 0px 0px 25px;

    li {
      padding: 5px 50px 5px 0px;
      &:not(:last-child):after {
        right: 25px;
      }
    }
  }
  .specialist-intro {
    margin-bottom: 25px;
  }
  .specialist-specialties {
    margin-bottom: 35px;
  }
  .specialist-education .spmedical-timeline-wrap {
    margin-bottom: 20px;
    .info span {
      font-size: 24px;
      line-height: 35px;
    }
  }
  .specialist-education {
    margin-bottom: 40px;
  }
  .others-info p {
    margin-bottom: 25px;
  }
  .accepted-insurances hr {
    margin: 45px 0px 30px;
  }
  .patient-review,
  .years-of-service {
    margin-bottom: 30px;
    i {
      font-size: 22px;
      margin-bottom: 20px;
    }
    h3 {
      font-size: 18px;
      line-height: 24px;
    }
    .specialist-stats {
      font-size: 54px;
      line-height: 64px;
    }
  }
  .sppb-addon-articles-carousel {
    .bx-wrapper {
      margin-bottom: 40px;
    }
  }
  .article-list .article {
    margin: 0px 0px 40px;
    .article-body {
      .article-info .published {
        time {
          font-size: 15px;
          line-height: 16px;
        }
      }
      .article-header a {
        font-size: 24px;
        line-height: 33px;
      }
    }
  }
  .article-details .article-details-top-wraper {
    display: block;
    padding-top: 120px;
    .article-header,
    .article-full-image {
      max-width: 720px;
      padding: 0px 15px;
      margin: 0px auto;
    }
    .article-header {
      margin-bottom: 40px;
      .article-details-title {
        font-size: 36px;
        line-height: 46px;
        margin-bottom: 20px;
      }
    }
  }
}
@media (max-width: 767px) {
  .spmedical-specialists-search-result {
    .spmedical-sidebar {
      max-width: 540px;
      margin: 0px auto 30px;

      h3 {
        padding-bottom: 6px;
        margin-bottom: 25px;
      }
      #spmedical-specialists-filters-form.spmedical-specialists-filters
        .spmedical-category-search {
        margin-bottom: 25px;
      }
    }
  }
  .spmedical-specialists {
    max-width: 540px;
    margin: 0px auto;
    padding-left: 0px;
    .specialist-wrapper {
      margin-bottom: 25px;
      .specialists-img-wrapper {
        max-width: 340px;
        margin: 0px 0px 10px;
      }
      .specialists-info-wrapper .specialists-name h3 {
        font-size: 26px;
        margin-bottom: 5px;
      }
      .specialist-contact-info .btn {
        font-size: 16px;
        line-height: 33px;
        width: 35px;
        height: 35px;
        margin: 0px 5px;
      }
    }
  }

  .nuron-specialist-top-info-wrap {
    padding-top: 0px;
    .specialist-information {
      .specialist-name {
        margin-bottom: 30px;
        h3 {
          font-size: 42px;
          line-height: 52px;
        }
        span {
          font-size: 20px;
        }
      }
      .doctor-location {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 20px;
        span {
          font-size: 10px;
          line-height: 20px;
          i {
            font-size: 14px;
            margin-right: 5px;
          }
        }
      }
      .appointment-request-wrap {
        padding-bottom: 10px;
        .doctor-phone {
          font-size: 20px;
          line-height: 30px;
          span {
            font-size: 10px;
            line-height: 20px;
            i {
              font-size: 14px;
              margin-right: 5px;
            }
          }
        }
      }
      .appointment-request-wrap {
        flex-direction: column;
        align-items: flex-start;
        .appointment-button {
          margin-right: 20px;
          margin-bottom: 20px;
        }
      }
    }
    .specialist-img {
      margin: 0px;
    }
  }
  .nuron-specialist-bottom-info-wrap .bottom-info-wrap-title {
    max-width: 540px;
    margin: 0px auto 10px;
    font-size: 26px;
    line-height: 36px;
  }
  .specialist-available-hours ul {
    margin: 0px 0px 20px;

    li {
      padding: 5px 40px 5px 0px;
      &:not(:last-child):after {
        right: 20px;
      }
    }
  }
  .specialist-intro {
    margin-bottom: 20px;
  }
  .specialist-specialties {
    margin-bottom: 25px;
  }
  .specialist-education .spmedical-timeline-wrap {
    margin-bottom: 20px;
    .info span {
      font-size: 21px;
      line-height: 31px;
    }
  }
  .specialist-education {
    margin-bottom: 30px;
  }
  .others-info p {
    margin-bottom: 25px;
  }
  .accepted-insurances hr {
    margin: 25px 0px 25x;
  }
  .patient-reviews,
  .years-of-service {
    margin-bottom: 10px;
    i {
      font-size: 20px;
      margin-bottom: 15px;
    }
    h3 {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: 0px;
    }
    .specialist-stats {
      font-size: 36px;
      line-height: 46px;
    }
  }
  .sppb-addon-articles-carousel {
    .bx-wrapper {
      margin-bottom: 0px;
    }
  }
  .layout-blog {
    #sp-main-body {
      padding: 50px 0px;
    }
  }
  .article-list .article {
    padding: 25px;
    margin: 0px 0px 20px;
    .article-body {
      .article-info {
        margin-bottom: 5px;
        .published time {
          font-size: 14px;
        }
      }
      .article-header a {
        font-size: 21px;
        line-height: 31px;
      }
      .article-intro-image {
        margin: 0px -25px 20px;
      }
      .article-introtext p {
        margin-bottom: 25px;
      }
    }
  }
  .article-details .article-details-top-wraper {
    padding-top: 0px;
    padding-bottom: 40px;
    .article-header,
    .article-full-image {
      max-width: 540px;
      margin: 0px auto;
    }
    .article-header {
      margin-bottom: 25px;
      .article-details-title {
        font-size: 34px;
        line-height: 44px;
        margin-bottom: 15px;
      }
      .article-info span {
        .title-icon-wrap {
          font-size: 12px;
          line-height: 22px;
        }
        time,
        span {
          font-size: 16px;
          line-height: 22px;
        }
      }
    }
  }
}

// spspecialist carousel
.spmedical-specialist-carousel {
  position: relative;
  .spmedical-specialist {
    &:after {
      display: none;
    }
    > a {
      margin-bottom: 20px;
      display: inline-block;
      position: relative;
      &:after {
        content: "";
        background: linear-gradient(
          360deg,
          #ffffff 0%,
          rgba(255, 255, 255, 0) 86.55%
        );
        display: block;
        width: 100%;
        height: 120px;
        position: absolute;
        bottom: 0px;
        left: 0px;
      }
    }
    .medical-specialist-info {
      position: relative;
      left: 0px;
      bottom: 0px;
      opacity: 1;
      visibility: visible;
      padding: 0px;

      .medical-specialist-name {
        a {
          color: #191e1e;
          font-weight: 500;
          font-size: 36px;
          line-height: 46px;
          margin-bottom: 8px;
        }
      }
      .medical-specialist-designation {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: rgba(25, 30, 30, 0.8);
        margin-bottom: 15px;
      }
      .btn.btn-secondary {
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid #dddae1;
        backdrop-filter: blur(25px);
        border-radius: 3px;
        color: rgba(25, 30, 30, 0.8);
        border-radius: 50%;
        height: 40px;
        width: 40px;
        padding: 0px;
        margin-right: 10px;
        box-shadow: none;
        transition: all 0.3s;
        &:hover {
          color: #ffffff;
          background-color: $text-color;
        }
      }
    }
    &:hover {
      box-shadow: none;
    }
  }
  .splide__pagination {
    display: none;
  }
  .splide__arrows {
    position: absolute;
    right: 0px;
    top: -105px;
    display: flex;

    .splide__arrow {
      background: transparent;
      border: 1px solid #dddae1;
      backdrop-filter: blur(8px);
      border-radius: 3px;
      position: relative;
      transform: none;
      margin: 0px;
      left: 0px;
      right: 0px;
      &.splide__arrow--prev {
        margin-right: 15px;
      }
      &:hover,
      &:focus {
        background: #eff0fc;
      }
    }
  }
}

//service details
.view-spmedical-department {
  .spmedical-title {
    font-size: 92px;
    font-weight: 400;
    line-height: 1.4;
  }
  .spmedical-title-small {
    font-size: 36px;
  }
  @media (max-width: 768px) {
    .spmedical-title-small {
      font-size: 24px;
    }
  }
  .spmedical-department-price-lists {
    > ul {
      display: flex;
      flex-wrap: wrap;
      > li {
        flex: 0 0 50%;
      }
    }
  }
  .spmedical-details {
    font-size: 16px;
    line-height: 1.5;
  }
  .spmedical-symptoms ul.nav-tabs {
    border-bottom: none;
    > li {
      flex: 1;
      button {
        font-weight: 500;
        font-size: 26px;
        line-height: 35px;
        border: 1px solid #dddae1;
        border-radius: 0px;
        color: rgba(20, 31, 37, 0.6);
        padding: 13px 20px;
        width: 100%;
        &:hover,
        &.active {
          background: #eff0fc;
          color: #191e1e;
        }
      }
    }
  }
  .spmedical-specialists
    .specialist-wrapper
    .specialists-info-wrapper
    .specialists-name
    h3 {
    font-size: 32px;
  }
  ul > li {
    margin-bottom: 10px;
    font-weight: 500;
  }
  .spmedical-department-cta {
    background: #8776ff;
    .tilte {
      color: #fff;
    }
  }
}
//cost calculator
body.com-spmedical.view-costestimates {
  #sp-footer {
    overflow: hidden;
  }
  .spmedical-title {
    font-weight: 400;
    font-size: 92px;
    line-height: 94px;
    letter-spacing: -0.02em;
  }
  .body-innerwrapper {
    overflow-x: initial;
  }
  .spmedical-total-cost-wrapper {
    position: sticky;
    top: calc(100vh - 104px);
    z-index: 100;
    margin-top: 20px;
    .spmedical-test-total-wrap {
      background: #8776ff;
      box-shadow: 0px 5px 12px rgb(35 33 53 / 15%);
      border-radius: 40px;
      color: #fff;
      font-weight: 500;
      font-size: 26px;
      line-height: 35px;
      width: 100%;
      max-width: 510px;
      text-align: left;
      padding: 10px 45px;
      border-radius: 100px;
      margin: 0 auto;
    }
    .small {
      font-size: 13px;
      line-height: 1.4;
      opacity: 0.6;
    }
  }
  .reset-items {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    &:hover,
    &:focus {
      opacity: 1;
    }
  }
  .spmedical-costestimates {
    .spmedical-test-list-wrapper {
      border: none;
      h3 {
        padding: 0 0 25px 0;
        font-weight: 500;
        font-size: 26px;
        line-height: 1.5;
      }
      .spmedical-test-list {
        padding: 25px 0 0 0;
      }
    }
    .spmedical-test-list {
      display: flex;
      flex-wrap: wrap;
      > div {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        margin-bottom: 40px;
        padding-right: 30px;
      }
    }

    .custom-checkbox {
      display: flex;
      input.cost-checkbox {
        width: 20px;
        height: 20px;

        opacity: 0.7;
      }
      .checkmark {
        position: relative;
        top: -5px;
        line-height: 1.4;
      }
    }
    .cost-price {
      padding-left: 35px;
      opacity: 0.6;
      font-size: 14px;
    }
    .spmedical-service-tests {
      > div > div {
        margin-bottom: 50px;
      }
    }
    .spmedical-services-list {
      max-width: 550px;
      margin: 0 auto;
      h3 {
        font-weight: 500;
        font-size: 17px;
        line-height: 1.3;
      }
      .spmedical-select {
        background: rgba(242, 241, 249, 0.6);
        padding: 12px 25px;
        color: #000;
      }
    }
  }
}
//services
.view-spmedical-departments.spmedical-departments-list {
  .accordion-item {
    border: 1px solid transparent;
    border-radius: 3px;
  }
  .accordion-button {
    background: #eff0fb;
    box-shadow: none;
    padding: 22px 35px;
    transition: 0.3s;
    &:not(.collapsed)::after{
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    &:not(.collapsed){
      color: #000;
    }
    &.collapsed {
      background: transparent;
      border: 1px solid #dddae1;
    }
    &:hover {
      background: #eff0fb;
      text-decoration: underline;
    }
    img {
      max-width: 40px;
    }
  }
  .accordion-header {
    font-size: 36px;
    color: #000;
    margin-left: 20px;
    font-weight: 400;
  }
  .accordion-collapse {
    background: transparent;
    transition: 0.3s;
    background: #eff0fb;
  }
  .spmedical-department-content {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
    > div {
      flex: 0 0 25%;
      max-width: 25%;
      padding: 15px;
      > span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 18px;
        font-weight: 400;
      }
    }
  }
  .accordion-body {
    padding: 15px 35px 35px 35px;
  }
}

// doctor schedule

.spmedical-schedules {
  padding-top: 60px;
  thead {
    background: rgba(242, 241, 249, 0.6);
    th {
      font-weight: 500;
      font-size: 16px;
      line-height: 24px;
      text-transform: uppercase;
      color: rgba(20, 31, 37, 0.6);
    }
  }
  tbody > tr > td:first-child {
    background: rgba(242, 241, 249, 0.6);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: rgba(20, 31, 37, 0.6);
    max-width: 96px;
    min-width: auto;
    vertical-align: middle;
    padding: 15px 16px;
  }

  .spmedical-table td {
    padding: 15px 10px;
  }
  .content-wrapper {
    display: flex;
    padding: 3px;
    border-radius: 21px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
    width: 150px;
    max-width: 150px;
    align-items: center;

    &.bg-green {
      border-color: #77d6a4;
      background: rgba(16, 185, 129, 0.1);
      &:hover {
        background: rgba(16, 185, 129, 0.1);
      }
    }
    &.bg-red {
      background: rgba(244, 63, 94, 0.1);
      border-color: #fb8989;
      &:hover {
        background: rgba(244, 63, 94, 0.1);
      }
    }

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

    img {
      width: 34px;
      height: 34px;
      border-radius: 100%;
      padding: 0px;
      flex: 1 0 34px;
      margin-right: 8px;
      max-width: 34px;
      object-fit: cover;
      background: #a3d7a2;
      object-position: top;
    }
    h3 {
      font-weight: 500;
      font-size: 13px;
      line-height: 15px;
      color: #191e1e;
    }
    h4 {
      display: none;
    }

    .details-info {
      padding: 0px;
      max-width: 188px;
      border-radius: 3px;
      text-align: center;
      background: #ffffff !important;
      box-shadow: 0px 5px 12px rgba(35, 33, 53, 0.15);
      width: 188px;
      bottom: calc(100% + 10px);
      display: none;

      &:after {
        content: "";
        position: absolute;
        left: -8px;
        top: -2px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid #c7b2f9;
        transform: rotate(-45deg);
      }
      &:before {
        transform: rotate(0deg);
        transform-origin: 0 0;
        box-sizing: border-box;
        margin-left: -15px;
        position: absolute;
        left: 50%;
        bottom: -16px;
        z-index: 10;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #ffffff;
        border-color: #fff transparent transparent !important;
      }
      .special-in {
        font-weight: 400;
        font-size: 13px;
        line-height: 18px;
        color: rgba(25, 30, 30, 0.8);
        padding: 16px 16px 16px 16px;
        border-bottom: 1px solid rgba(25, 30, 30, 0.1);
      }
      a {
        font-weight: 500;
        font-size: 13px;
        line-height: 24px;
        color: #191e1e;
        padding: 6px 0px;
        display: inline-block;
        &:hover {
          text-decoration: underline;
        }
        i {
          margin-right: 4px;
          transform: rotate(45deg);
        }
      }
    }

    &:hover {
      background: rgba(139, 92, 246, 0.1);
      cursor: pointer;
      .details-info {
        display: none;
        animation: none;
      }
    }

    &.show {
      .details-info {
        display: block !important;
      }
    }
    &:nth-child(n) {
      img {
        background: #a3d7a2;
      }
    }
    &:nth-child(2n) {
      img {
        background: #b79be3;
      }
    }
    &:nth-child(3n) {
      img {
        background: #e0b596;
      }
    }
    &:nth-child(4n) {
      img {
        background: #9bd2e3;
      }
    }
  }
}
//bootstrap default border color
.table-bordered > :not(caption) > * {
  border: 1px solid rgba(25, 30, 30, 0.1);
}
.home-diagnostic-search {
  .awesomplete {
    position: relative;
    &:before {
      content: "\f002";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      position: absolute;
      left: 18px;
      top: 50%;
      margin-top: -12px;
    }
    input {
      text-indent: 30px;
    }
  }
  .icon-search {
    display: none;
  }
}
.home-diagnostic-article {
  .sppb-addon-article {
    .sppb-article-img-wrap {
      margin-bottom: 20px;
      display: inline-block;
    }
    .sppb-article-info-wrap {
      h3 {
        font-weight: 500;
        font-size: 26px;
        line-height: 35px;
        text-transform: capitalize;
        margin-bottom: 8px;
        a {
          color: $text_color;
        }
        &:hover {
          text-decoration: underline;
        }
      }

      .sppb-article-introtext {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: rgba(25, 30, 30, 0.8);
        border-bottom: 1px solid #dddae1;
        padding-bottom: 30px;
        margin-bottom: 15px;
      }
      .sppb-readmore {
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #191e1e;
        position: relative;
        padding-left: 25px;
        &:before {
          content: "\f061";
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          font-size: 110%;
          position: absolute;
          left: 0px;
          top: 0px;
          transform: rotateZ(-45deg);
        }
        &:hover {
          color: $link-hover-color;
        }
      }
    }
  }
}

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

//appointments
.spmedical.view-spmedical-appointments {
  .spmedical-specialist-appointment {
    box-shadow: none;
  }
  .spmedical-specialist-appointment-form {
    padding: 0;
    .title {
      text-align: left;
      font-weight: 400;
      font-size: 92px;
      line-height: 1.3;
      letter-spacing: -0.02em;
    }
    .desc {
      font-weight: 400;
      font-size: 20px;
      line-height: 1.5;
    }
    #spmedical-specialist-appintment-from {
      margin-top: 120px;
      h3 {
        font-weight: 600;
        font-size: 36px;
        line-height: 1.4;
        text-align: left;
      }
      label,
      .label {
        font-weight: 500;
        font-size: 17px;
        line-height: 1.4;
      }
      .custom-checkbox {
        input:checked + label {
          background-color: #8776ff;
          border: 1px solid #dddae1;
          color: #fff;
        }
        > label {
          border: 1px solid #dddae1;
          box-sizing: border-box;
          border-radius: 3px !important;
          margin-right: 35px;
          width: 120px;
          padding: 10px;
          color: rgba(20, 31, 37, 0.6);

          &.active,
          &:hover,
          &:focus {
            background-color: #8776ff;
            border: 1px solid #dddae1;
            color: #fff;
          }
        }
        &.visiting-option {
          > label {
            width: 160px;
          }
        }
      }
      .input-field:not(:last-child) {
        margin-bottom: 45px;
      }
      .divider {
        height: 5px;
        border-radius: 3px;
        background-color: rgba(242, 241, 249, 0.6);
        border: none !important;
        opacity: 1;
        margin-top: 70px;
        margin-bottom: 70px;
      }
      textarea,
      .custom-combobox-input {
        background: rgba(239, 240, 252, 0.6);
      }
      .custom-combobox {
        .custom-combobox-toggle {
          color: #8b8b8b;
          &:hover {
            color: #000;
          }
        }
      }
      .checkbox-text {
        font-weight: 400;
        font-size: 13px;
        line-height: 18px;
        color: rgba(25, 30, 30, 0.8);
      }
      .tac-text {
        display: flex;
        input {
          margin-top: 5px;
          margin-right: 10px;
        }
      }
    }
  }
}

//advance carousel
.spmedical-advance-carousel {
  .splide__slide {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #dddae1;
    backdrop-filter: blur(25px);
    border-radius: 3px;
    max-width: 550px;
    padding: 35px 30px 0px 35px;
  }

  .sppb-testimonial-carousel-message {
    font-style: italic;
  }

  .splide__arrows {
    position: absolute;
    right: 0px;
    .splide__arrow {
      background: #eff0fc;
      border: 1px solid rgba(25, 30, 30, 0.2);
      backdrop-filter: blur(25px);
      border-radius: 3px;
      transform: translate(0px);
      position: relative;
      left: 0px;
      right: 0px;
      bottom: 0px;
      top: 0px;
      &:hover {
        background: rgba(255, 255, 255, 0.8);
      }
      &.splide__arrow--next {
        top: 15px;
      }
    }
  }
  .splide__pagination {
    display: none;
  }

  .splide__track {
    &:after {
      content: "";
      width: 100%;
      height: 238px;
      position: absolute;
      display: block;
      background: linear-gradient(
        360deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 86.55%
      );
      max-width: 550px;
      bottom: 0px;
    }
  }
}

.view-search {
  .finder {
    #search-form {
      .awesomplete {
        input.js-finder-search-query {
          padding: 27px 20px;
          border-top-right-radius: 0 !important;
          border-bottom-right-radius: 0 !important;
        }
      }
    }
  }
}
