/* ------------------------------------------------
  Project:   Lifeplus - Oncology Medical & Healthcare HTML5 Template
  Author:    ThemeHt
------------------------------------------------ */

/* ------------------------
    Table of Contents

  1. General
  2. Transition
  3. Box Shadow
  4. Pre Loader
  5. Scroll to Top
  6. Header
  9. Footer
  10. Page Title

 
/* ------------------------
    General
------------------------*/
a, a:focus {
    text-decoration: none !important;
}

a {
    color: var(--themeht-text-color);
}

    a:focus, a:hover {
        color: var(--themeht-primary-color);
        text-decoration: none !important;
    }

a, button, input {
    outline: medium none !important;
}

*::-moz-selection {
    background: var(--themeht-primary-color);
    color: var(--themeht-white-color);
    text-shadow: none;
}

::-moz-selection {
    background: var(--themeht-primary-color);
    color: var(--themeht-white-color);
    text-shadow: none;
}

::selection {
    background: var(--themeht-primary-color);
    color: var(--themeht-white-color);
    text-shadow: none;
}


/* ------------------------
    Transition
------------------------*/
a,
.btn,
button,
img,
span,
input,
.wpcf7-form-control,
.nav-link,
.dropdown-toggle::after,
.social-icons li:hover a,
.featured-item,
.service-item,
.service-desc,
.service-icon,
.featured-item.style-1:before,
.swiper-button-next, .swiper-button-prev,
.team-description,
.team-social-icon,
.footer-list li a:before,
.service-item.style-3 .service-title:before,
.service-widget li a:before,
.service-widget li a:after,
.gallery-hover,
.tab .nav-tabs .nav-link {
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

    /* ------------------------
    Box Shadow
------------------------*/
    .box-shadow, .scroll-top, .dropdown-menu, #header-wrap.fixed-header, .navbar-nav ul, .themeht-btn, a.themeht-btn, .marquee-icon-box, .featured-item.style-1, .featured-item.style-3, .post-card.style-2 .post-date, .themeht-blogs .post-card.style-2, .portfolio-single-page ul.portfolio-meta-info, .team-member .team-description, .swiper-button-next, .swiper-button-prev,
    .service-widget.widget, .comment-author img, .themeht-sidebar, .product-item, .tab .nav-tabs .nav-link, .comment-reply-link, .testimonial.style-2, .service-widget, .service-item.style-2 .service-desc {
        -webkit-box-shadow: 0 5px 22px 0px rgba(15,53,103,.05);
        -moz-box-shadow: 0 5px 22px 0px rgba(15,53,103,.05);
        box-shadow: 0 5px 22px 0px rgba(15,53,103,.05);
    }

/* ------------------------
    Pre Loader
------------------------*/
#ht-preloader {
    background: var(--themeht-white-color);
    bottom: 0;
    height: 100%;
    left: 0;
    overflow: hidden !important;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader img {
    max-height: var(--loader-img-height);
}


/* ------------------------
    Scroll to Top
------------------------*/
.scroll-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background: var(--themeht-white-color);
}

    .scroll-top.active-progress {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top::after {
        position: absolute;
        font-family: 'bootstrap-icons';
        content: '\F145';
        text-align: center;
        line-height: 60px;
        font-size: 30px;
        color: var(--themeht-text-color);
        left: 0;
        top: 0;
        height: 60px;
        width: 60px;
        cursor: pointer;
        display: block;
        z-index: 1;
        -webkit-transition: all 200ms linear;
        transition: all 200ms linear;
    }

    .scroll-top:hover::after {
        opacity: 0;
    }

    .scroll-top::before {
        position: absolute;
        font-family: 'bootstrap-icons';
        content: '\F145';
        text-align: center;
        line-height: 60px;
        font-size: 30px;
        opacity: 0;
        background-image: linear-gradient(298deg, var(--themeht-text-color), var(--themeht-text-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        left: 0;
        top: 0;
        height: 60px;
        width: 60px;
        cursor: pointer;
        display: block;
        z-index: 2;
        -webkit-transition: all 200ms linear;
        transition: all 200ms linear;
    }

    .scroll-top:hover::before {
        opacity: 1;
    }

    .scroll-top svg path {
        fill: none;
    }

    .scroll-top svg.scroll-circle path {
        stroke: var(--themeht-text-color);
        stroke-width: 2;
        box-sizing: border-box;
        -webkit-transition: all 200ms linear;
        transition: all 200ms linear;
    }



/* ------------------------
    Header
------------------------*/
.topbar-link, .topbar-link li a {
    color: var(--themeht-white-color);
}

    .topbar-link i {
        margin-right: 5px;
        color: var(--themeht-secondary-color);
        font-size: 24px;
        vertical-align: middle;
    }

    .topbar-link li {
        display: inline-block;
        border-right: 1px solid var(--themeht-primary-color);
        margin: 0;
        padding: 0 20px;
        font-size: 14px;
        position: relative;
    }

        .topbar-link li:first-child {
            padding-left: 0;
        }

        .topbar-link li:last-child {
            border-right: none;
            padding-right: 0;
        }

.header-top {
    padding-bottom: 10px;
}

    .header-top ul {
        margin: 0;
    }

    .header-top .social-icons li {
        margin-bottom: 0;
    }

        .header-top .social-icons li a {
            color: var(--themeht-white-color);
            height: 35px;
            line-height: 35px;
            background: var(--themeht-rgb-color);
            border-radius: 50%;
            width: 35px;
            font-size: 16px;
        }

.header .primary-btn {
    margin-left: 30px;
}

.header-middle {
    padding: 20px 0 10px;
}

.header-media li {
    display: inline-block;
    font-size: 14px;
    position: relative;
    padding-left: 50px;
    font-weight: 600;
    text-align: left;
}

.header-media i {
    font-size: 40px;
    color: var(--themeht-primary-color);
    display: inline-block;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 0;
}

.header-media h6 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
}

/* ------------------------
  Header
------------------------*/
.header {
    background: var(--themeht-bg-dark-color);
    margin: 20px 70px;
    border-radius: 20px;
    padding: 20px;
}

#header-wrap {
    position: relative;
    z-index: 999;
    padding: 10px;
    background: white;
    border-radius: 20px;
}

    #header-wrap.fixed-header {
        animation: smoothScroll 1s forwards;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999 !important;
        background: var(--themeht-white-color) !important;
    }

/*--navigation--*/
.navbar-brand.logo {
    margin-right: 200px;
}

.logo img {
    max-height: var(--logo-desktop-height);
}

.navbar {
    padding: 0;
}

@media (min-width:992px) {
    .navbar-nav {
        background: var(--themeht-white-color);
        box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.1);
        border-radius: 100px;
        backdrop-filter: brightness(120%) contrast(100%) saturate(102%) blur(10px) hue-rotate(0deg);
    }
}

.navbar-nav .nav-item.dropdown .dropdown-menu .nav-item {
    margin: 0;
}

.navbar-nav .nav-item.dropdown .dropdown-menu {
    background: var(--themeht-white-color);
    box-shadow: 0 0.5rem 1rem rgb(42 39 94 / 6%);
    border-radius: 20px;
    padding: 0;
    border: none;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    border-radius: 100px;
    padding: 10px 30px !important;
    display: inline-block;
    color: var(--themeht-text-color);
    background: var(--themeht-white-color);
}

    .navbar-nav .nav-link:hover, .navbar-nav .nav-item .nav-link.active {
        background: var(--themeht-primary-color);
        color: var(--themeht-white-color);
    }

.navbar-nav .nav-item.dropdown .dropdown-menu {
    padding: 20px;
    background: var(--themeht-white-color);
    top: 100%;
    border: none;
    border-radius: 20px;
    margin-top: 0;
    left: 0;
}

.navbar-nav .dropdown-menu .dropdown-submenu .dropdown-menu {
    background: var(--themeht-white-color);
    left: 100%;
    margin: 0;
    right: auto;
    top: 0;
}

.navbar-nav .dropdown-submenu {
    display: block;
    position: relative;
}

.nav-item.dropdown .dropdown-menu li:last-child {
    margin-bottom: 0;
}

.nav-item.dropdown .dropdown-menu a {
    display: block;
    padding: 10px 0;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    background: none;
    color: var(--themeht-text-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

    .nav-item.dropdown .dropdown-menu a:hover {
        color: var(--themeht-primary-color);
        padding-left: 10px;
    }

.navbar-nav .dropdown-menu .dropdown-submenu .dropdown-toggle.show, .navbar-nav .dropdown-menu .dropdown-submenu .dropdown-toggle:focus {
    color: var(--themeht-primary-color);
    padding-left: 10px;
}

.nav-link.dropdown-toggle::after, .navbar-nav .dropdown-submenu .dropdown-toggle::after {
    border: none;
    content: '+';
    vertical-align: -1px;
    font-size: 22px;
    line-height: 1;
    width: 10px;
    font-weight: normal;
}

.nav-link.dropdown-toggle:hover::after, .navbar-nav .dropdown-submenu .dropdown-toggle:hover::after {
    content: '-';
}

.navbar-nav .dropdown-submenu .dropdown-toggle::after {
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 8px;
}

@media (min-width:992px) {
    .navbar-nav .dropdown-menu {
        min-width: 12em !important;
        max-width: 20em !important;
    }

    .navbar-nav .dropdown > .dropdown-menu {
        opacity: 0;
        position: absolute;
        display: block;
        pointer-events: none;
        background: var(--themeht-white-color);
    }

    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        -webkit-transition: all 0.5s ease-in-out 0s;
        -moz-transition: all 0.5s ease-in-out 0s;
        -ms-transition: all 0.5s ease-in-out 0s;
        -o-transition: all 0.5s ease-in-out 0s;
        transition: all 0.5s ease-in-out 0s;
    }

    .navbar-nav .dropdown-submenu:hover .dropdown-menu {
        top: 0;
    }

    .navbar-nav.ms-auto .nav-item.dropdown .dropdown-menu {
        right: 0;
    }

    .navbar-nav.ms-auto .dropdown-menu .dropdown-submenu .dropdown-menu {
        left: auto;
        right: 100%;
    }
}

@media (max-width:991.98px) {
    .navbar-nav .dropdown-submenu .dropdown-menu {
        padding: 0;
        top: 0;
    }
}

@media (max-width:991.98px) {
    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-toggler {
        background: none;
        border: 1px solid var(--themeht-primary-color);
        height: 40px;
        width: 40px;
        padding: 0;
        border-radius: 10px;
        margin-left: auto;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    .ht-toggler svg {
        width: 40px;
        height: 40px;
        display: inline-block;
    }

    .ht-toggler .line {
        fill: none;
        stroke: var(--themeht-primary-color);
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ht-toggler .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 3;
    }

    .ht-toggler .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 3;
    }

    .ht-toggler .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 3;
    }

    .ht-toggler[aria-expanded="true"] .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 3;
    }

    .ht-toggler[aria-expanded="true"] .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 3;
    }

    .ht-toggler[aria-expanded="true"] .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 3;
    }

    .navbar-collapse {
        border-radius: 20px;
        background: var(--themeht-white-color);
        max-height: 400px;
        left: 0;
        position: absolute;
        z-index: 99;
        top: 100%;
        width: 100%;
        overflow: auto;
        border: medium none;
        -webkit-box-shadow: 0 0 45px rgb(5 28 141 / 10%);
        -moz-box-shadow: 0 0 45px rgb(5 28 141 / 10%);
        box-shadow: 0 0 45px rgb(5 28 141 / 10%);
    }

    .navbar-nav .dropdown-toggle::after {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }

    .navbar-nav .nav-link {
        padding: 8px 15px !important;
        width: 100%;
        border-bottom: 1px dashed var(--themeht-border-light-color);
        border-radius: 0;
    }

        .navbar-nav .nav-link:hover, .navbar-nav .nav-item .nav-link.active {
            background: none;
            color: var(--themeht-primary-color);
        }

    .navbar-nav .dropdown-menu a.active {
        background: none;
        color: var(--themeht-primary-color);
    }

    .nav-item.dropdown .dropdown-menu a.active:before {
        opacity: 1;
        left: 0;
        color: var(--themeht-primary-color);
        animation: rotate 5s ease-in-out infinite;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        background: var(--themeht-white-color);
        box-shadow: none;
    }

    .navbar-nav .dropdown-menu a {
        color: var(--themeht-text-color);
    }

    .navbar-nav .dropdown-submenu .dropdown-toggle::after {
        top: 17px;
    }
}

/*--Header Search--*/
.search-icon a {
    font-size: 20px;
    color: var(--themeht-white-color);
    line-height: 1;
    display: block;
}

.search-input {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    background: var(--themeht-bg-dark-color);
    z-index: 9999;
    top: 0;
    display: none;
    padding: 80px 0;
}

.search-inner {
    padding: 15px 0;
    position: relative;
}

.search-input label {
    width: 100%;
}

.search-input .search-field {
    width: 100%;
    background: transparent;
    border: none;
    height: 100%;
    padding-right: 60px;
}

.search-input .search-form button[type="submit"] {
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    font-size: 30px;
    right: 50px;
    position: absolute;
    top: 5px;
}

.search-input .search-submit:hover {
    color: var(--themeht-primary-color);
}

.right-nav {
    position: relative;
}

.search-input .search-form {
    margin: 0 auto;
    background: var(--themeht-white-color);
    padding: 15px 10px;
    border-radius: 10px;
    width: 100%;
}

.close-search {
    position: absolute;
    bottom: -40px;
    right: 0;
    cursor: pointer;
    font-size: 30px;
    color: var(--themeht-white-color);
}

    .close-search:hover {
        color: var(--themeht-primary-color);
    }


/* ------------------------
    Footer
------------------------*/
.footer .widget-title {
    margin-bottom: 30px;
}

.primary-footer {
    background: var(--themeht-bg-dark-color);
    position: relative;
    z-index: 99;
    padding: 100px 0;
}

.secondary-footer {
    background-color: var(--themeht-primary-color);
    padding: 20px 0;
    font-weight: 500;
    color: var(--themeht-white-color);
    text-transform: uppercase;
}

.footer h5 {
    position: relative;
    color: var(--themeht-secondary-color);
}

.media-icon.list-inline li {
    display: inline-block;
}

.media-icon li {
    margin-bottom: 25px !important;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: var(--themeht-white-color);
}

    .media-icon li:last-child {
        margin-bottom: 0 !important;
    }

    .media-icon li i {
        font-size: 30px;
        color: var(--themeht-secondary-color);
        vertical-align: middle;
        margin-right: 15px;
        line-height: 1;
        text-align: center;
    }

    .media-icon li a {
        color: var(--themeht-white-color);
    }

        .media-icon li a:hover {
            color: var(--themeht-secondary-color);
        }

.footer-menu li {
    margin-bottom: 15px;
    text-transform: capitalize;
}

    .footer-menu li:last-child {
        margin-bottom: 0;
    }

    .footer-menu li a {
        color: var(--themeht-white-color);
        position: relative;
        font-size: 16px;
        font-weight: 500;
    }

        .footer-menu li a:hover {
            color: var(--themeht-secondary-color);
        }

.social-icons.footer-social li {
    margin-bottom: 0;
}

.social-icons.footer-social {
    margin: 30px 0;
}

    .social-icons.footer-social li a {
        border-radius: 50%;
        height: 40px;
        width: 40px;
        line-height: 40px;
        font-size: 16px;
        color: var(--themeht-white-color);
        background: var(--themeht-primary-color);
    }

        .social-icons.footer-social li a:hover {
            color: var(--themeht-text-color);
            background: var(--themeht-secondary-color);
        }

.subscribe-form {
    display: flex;
    align-items: center;
    position: relative;
}

    .subscribe-form input {
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--themeht-border-light-color);
        color: var(--themeht-white-color);
        padding: 0.375rem 40px 0.375rem 0;
    }

    .subscribe-form button {
        background: none;
        border: inherit;
        color: var(--themeht-white-color);
        line-height: inherit;
        position: absolute;
        right: 0;
        top: auto;
        padding: 0;
        font-size: 20px;
    }

    .subscribe-form input[type="email"]:focus {
        color: var(--themeht-white-color);
        border: none;
        border-bottom: 1px solid var(--themeht-primary-color);
    }

    .subscribe-form ::-webkit-input-placeholder {
        color: var(--themeht-white-color);
        opacity: 1;
    }

    .subscribe-form :-moz-placeholder {
        color: var(--themeht-white-color);
        opacity: 1;
    }

    .subscribe-form ::-moz-placeholder {
        color: var(--themeht-white-color);
        opacity: 1;
    }

    .subscribe-form :-ms-input-placeholder {
        color: var(--themeht-white-color);
        opacity: 1;
    }

.footer .white-btn:hover {
    background: var(--themeht-primary-color);
}


/* ------------------------
    Page Title
------------------------*/
.page-title {
    display: block;
    position: relative;
    padding: 50px;
    background: var(--themeht-bg-light-color);
    margin: 0 70px;
    border-radius: 20px;
    overflow: hidden;
}

    .page-title h1 {
        font-size: 40px;
        line-height: 50px;
        word-break: break-word;
        margin-bottom: 0;
    }

.theme-breadcrumb-box {
    display: inline-block;
}

.page-breadcrumb {
    display: inline-block;
    background: var(--themeht-primary-color);
    padding: 10px 30px;
    border-radius: 100px;
}

.breadcrumb {
    background: none;
    display: inline-block;
    margin: 0;
    text-transform: capitalize;
    font-weight: 500;
}

.breadcrumb-item {
    display: inline-block;
}

    .breadcrumb-item a {
        color: var(--themeht-white-color)
    }

        .breadcrumb-item.active, .breadcrumb-item a:hover {
            color: var(--themeht-white-color);
        }

    .breadcrumb-item + .breadcrumb-item:before {
        color: var(--themeht-white-color);
    }

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
    }

    100% {
        -webkit-transform: rotate(720deg);
        -moz-transform: rotate(720deg);
    }
}

@-webkit-keyframes smoothScroll {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes smoothScroll {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
