/* ------------------------------------------------
  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 {
  height: 200px; /* Set height to 200 pixels */
  animation: rotateSkew 2s ease-in-out infinite;
}

@keyframes rotateSkew {
  0% {
    transform: rotateY(0deg) skewX(0deg);
  }
  25% {
    transform: rotateY(90deg) skewX(5deg);
  } /* Skew while rotating */
  50% {
    transform: rotateY(180deg) skewX(0deg);
  }
  75% {
    transform: rotateY(270deg) skewX(-5deg);
  } /* Skew in the other direction */
  100% {
    transform: rotateY(360deg) skewX(0deg);
  }
}


/* ------------------------
    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
------------------------*/
@font-face {
    font-family: 'Mylius Sans Regular'; /* This is the name you'll use in font-family */
    src: url('../fonts/MyliusSans-Regular.woff') format('woff'); /* Path to your font file relative to this CSS file */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Improves performance by displaying text while font loads */
}

/* This is the class for the header top section */
.header-top {
    background-color: #000080;
    padding-bottom: 10px;
    padding-top: 10px;
}

.topbar-link, .topbar-link li a {
    color: var(--themeht-white-color);
    font-family: 'Mylius Sans Regular', sans-serif;
}

.topbar-link i {
    margin-right: 5px;
    color: var(--themeht-secondary-color);
    font-size: 24px;
    vertical-align: middle;
}

.topbar-link li {
    display: inline-block;
    padding: 0 10px;
    margin: 0;
    border-right: 1px solid #000080;
    font-size: 18px;
    position: relative;
    font-family: 'Mylius Sans Regular', sans-serif;
    white-space: nowrap;
}

.topbar-link li:first-child {
    padding-left: 0;
}

.topbar-link li:last-child {
    border-right: none;
    padding-right: 0;
}

.header-top ul {
    margin: 0;
}

.header-top .social-icons li {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 10px;
}

.header-top .social-icons li:first-child {
    margin-left: 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;
    font-family: 'Mylius Sans Regular', sans-serif;
}

.search-icon a {
    color: var(--themeht-white-color);
    font-size: 24px;
    display: block;
    line-height: 1;
}

.header-top .col-12 > p {
    margin-bottom: 0.2em;
}

@media (max-width: 767.98px) {
    .header-top .col-12.d-flex.justify-content-between {
        flex-direction: column;
        align-items: center;
    }
    .header-top .col-12.d-flex.justify-content-between p {
        margin-bottom: 10px;
        text-align: center;
        font-size: 1.5em;
    }
    .header-top .social-icons {
        margin-top: 10px;
    }
}

.header .primary-btn {
    margin-left: 20px;
}

.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;
    font-family: 'Mylius Sans Regular', sans-serif;
}

.header-media i {
    font-size: 40px;
    color: #000080;
    display: inline-block;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 0;
}

.header-media h6 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    font-family: 'Mylius Sans Regular', sans-serif;
}

/* ------------------------
  Header
------------------------*/
.header {
    background: #000080;
    margin: 20px 70px;
    border-radius: 20px;
    padding: 20px;
    overflow: visible;
    z-index: 1000;
}

/* --- Start of NEW Modifications --- */

/* Change the header's white background to the hover color of the navigation items */
#header-wrap {
    background: #000080 !important;
    overflow: visible;
}

#header-wrap.fixed-header {
    animation: smoothScroll 1s forwards;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    background: #000080 !important;
    overflow: visible;
}

/* --- End of NEW Modifications --- */

/*--navigation--*/
.navbar-brand.logo {
    margin-right: 10px;
}

.logo img {
    height: 100px;
    width: auto;
}

.navbar {
    padding: 0;
    position: relative;
    z-index: 1001;
}

/* --- Start of Modifications --- */

/* All text should be in a single line (prevent breakage) */
.navbar-nav .nav-link,
.nav-item.dropdown .dropdown-menu a {
    white-space: nowrap;
    font-family: 'Mylius Sans Regular', sans-serif;
}

/* Book appointment text with plus icon should be in a single line */
.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: auto;
    font-weight: normal;
    display: inline-block;
    margin-left: 5px;
}

/* Add font to the main title in the header top */
.header-top .text-center p {
    font-family: 'Mylius Sans Regular', sans-serif;
}

/* Apply font to the "Book Appointment" button's text */
.themeht-btn span {
    font-family: 'Mylius Sans Regular', sans-serif;
}

/* --- End of Modifications for common rules --- */

@media (min-width: 992px) {
    .navbar-nav {
        background: #000080;
        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);
        position: relative;
        z-index: 1002;
        overflow: visible !important;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu .nav-item {
        margin: 0;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        padding: 20px;
        background: var(--themeht-white-color);
        box-shadow: 0 0.5rem 1rem rgb(42 39 94 / 6%);
        border-radius: 20px;
        border: none;
        top: 100%;
        margin-top: 0;
        left: 0;
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: absolute;
        z-index: 1003;
    }

    .navbar-nav .dropdown-menu .dropdown-submenu .dropdown-menu {
        background: var(--themeht-white-color);
        left: 100%;
        margin: 0;
        right: auto;
        top: 0;
        z-index: 1004;
    }

    .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;
        position: relative;
        background: none;
        color: #000000;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        font-family: 'Mylius Sans Regular', sans-serif;
    }

    .nav-item.dropdown .dropdown-menu a:hover {
        color: var(--themeht-secondary-color);
        padding-left: 10px;
    }

    .navbar-nav .dropdown-menu .dropdown-submenu .dropdown-toggle.show,
    .navbar-nav .dropdown-menu .dropdown-submenu .dropdown-toggle:focus {
        color: #000080;
        padding-left: 10px;
    }

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

    .navbar-nav .dropdown-menu {
        min-width: 12em !important;
        max-width: fit-content;
    }

    .navbar-nav .dropdown > .dropdown-menu {
        opacity: 0;
        position: absolute;
        display: block;
        pointer-events: none;
        background: var(--themeht-white-color);
        z-index: 1003;
    }

    .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;
        z-index: 1003;
    }

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

    /* Main navigation links */
    .navbar-nav .nav-link {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 700;
        position: relative;
        border-radius: 100px;
        padding: 10px 18px !important;
        display: inline-block;
        color: var(--themeht-white-color);
        background: #000080;
        z-index: 1002;
        font-family: 'Mylius Sans Regular', sans-serif;
    }

    .navbar-nav .nav-link:hover, .navbar-nav .nav-item .nav-link.active {
        background: var(--themeht-secondary-color);
        color: var(--themeht-white-color);
        z-index: 1002;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-submenu .dropdown-menu {
        padding: 0;
        top: 0;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-toggler {
        background: none;
        border: 1px solid #000080;
        height: 40px;
        width: 40px;
        padding: 0;
        border-radius: 10px;
        margin-left: auto;
        z-index: 1005;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .ht-toggler svg {
        width: 40px;
        height: 40px;
        display: inline-block;
    }

    .ht-toggler .line {
        fill: none;
        stroke: #000080;
        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: #000080;
        max-height: 400px;
        left: 0;
        position: absolute;
        z-index: 1004;
        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;
        color: var(--themeht-white-color);
        background: #000080;
        z-index: auto;
        font-family: 'Mylius Sans Regular', sans-serif;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-item .nav-link.active {
        background: var(--themeht-secondary-color);
        color: var(--themeht-white-color);
    }

    .navbar-nav .dropdown-menu a.active {
        background: none;
        color: var(--themeht-secondary-color);
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        background: var(--themeht-white-color);
        box-shadow: none;
        z-index: 1005;
    }

    .navbar-nav .dropdown-menu a {
        color: #000000;
        font-family: 'Mylius Sans Regular', sans-serif;
    }

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