/*rewrite css */
.col-auto.h-logo-wrapper{flex-grow: 0;}


 

.submenu-link:hover .span-item-title {
   color: #8bc8c4;
}

.menu-item-has-children.depth-1 .submenu-link .span-item-title {
   color: #000000 !important;
}
/* General styles for the navigation menu */
.header-main-menu>.nav>li.depth-0 {
    padding: 15px 0;
}
    .header-main-menu > .nav > li {
        font-size: 20px;
    }

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.menu-item-has-children .first-sub-menu {
    z-index: 99;
    padding: 32px;
    min-width: 300px;
}



/* Default hidden state for all sub-menus at depth 1 */
.first-sub-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
    height: auto;
}

.second-sub-menu {
    margin-top: 10px;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.third-sub-menu {}

/* Styles for submenu positioning and layout may need to be adjusted */
.columns-4>ul {
    columns: 4;
    column-rule: 1px solid #b8d4c480;
}

.columns-4>ul>li {
    break-inside: avoid-column;
    margin-left: 10px;
    display: inline-block;
    z-index: 2;
    position: relative;
}

/*
.columns-4 > ul > li:first-of-type {
  margin-left: 0;
}
*/
/*image icons */
.submenu-link {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-item-has-children.has-image img {
    width: 46px;
    height: auto;
}

/*menu item title */
.sub-submenu-link:hover span {
    color: #8bc8c4;
}

.submenu-link .span-item-title {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    color: #000000;
}

.sub-submenu-link .span-item-title {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    color: #7f7f7f;
}

/*Extra css */
.header-main-menu {
    max-width: 1184px;
    width: 100%;
    position: relative;
}

.header-main-menu>.nav {
    flex-direction: row;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-auto {
    flex-grow: 1;
}

/*css for background image menu */
/* Container holding the image and the text */
.container-menu-1 {
    /*position: relative;*/
    text-align: center;
    color: white;
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 20%;
    max-width: 523px;
}

.container-menu-1 img {
    margin-bottom: -1px;
}

/* Centered text */
.centered-menu {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(0, -40%);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.centered-menu .cm-title {
    font-family: Roboto;
    font-size: 18px;
    font-weight: 700;
    line-height: 21.09px;
    text-align: center;
    text-transform: uppercase;
}

.centered-menu .cm-price {
    font-family: Roboto;
    font-size: 56px;
    font-weight: 900;
    line-height: 60px;
    letter-spacing: -0.02em;
    text-align: center;
    color: #ffaf13;
}

.centered-menu .cm-link {
    border: 1px solid #ffffff;
    padding: 15px 23px;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 8px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.centered-menu .cm-link::after {
    content: "→";
    padding-left: 10px;
}

.centered-menu .cm-link:hover {
    border: 1px solid #8bc8c4;
    color: #8bc8c4;
}

/*test second hoks */
/* .hide-me > a.submenu-link {
  display: none;
} */

.menu-item-bg {
    color: white;
    position: absolute;
    right: 0;
    bottom: -2px;
    min-width: 50%;
    background-repeat: no-repeat;
    background-position: right;
    min-height: 60%;
    z-index: 5;
    overflow: hidden;
}

.menu-item-bg-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80%;
    width: 40%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.first-sub-menu>li {
    margin: 0 0 24px 0;
}

.first-sub-menu>li:last-of-type {
    /*margin: 0 0 0 0;*/
}

.first-sub-menu>li a {
    font-family: Roboto;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
}

.top-line {
    height: 60px;
    border-top: 1px solid #b8d4c480;
}

.top-line a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/*move logo and hamburger menu to top*/

.header.sticky {
   /* margin-top: 0px !important;
    top: 0;*/
}

.fixed-ham-menu {
    position: fixed !important;
    top: 0 !important;
    z-index: 9999 !important;
    margin-top: 0px !important;
    width: 100%;
    background-color: #fff;
}

/*Tablet*/

@media only screen and (max-width: 1024px) and (min-width: 768px)  {
	.header.sticky {
    margin-top: 0px !important;
    top: 0;
}
}

/*Mobile and tablet css */
@media (max-width: 1024px) {
	/*Global CSS*/
	.body-overlay{
  position: fixed;
  display: none;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0,0,0,0.8);
  z-index: 99;
		
}
	.meet-the-doctor::before {
        right: 0;
    }
	 .home .inner_banner {
        margin-top: 0px;
    }
	.inner_banner {
        margin-top: 0;
    }

	/*begin megamenu*/
    #mob-fixed-header > .container-fluid{
        padding-left: 15px;
    	padding-right: 15px;
    }
    #mob-fixed-header {
                padding: 14px 0;
    }
    .header-main-menu {
        display: none;
    }

    .hide-btn-mobile {
        display: none;
    }

    /* Hamburger Menu Button Styles */
    .hamburger-menu {
		 display: block;
        cursor: pointer;
        z-index: 999;
    }

    .hamburger-menu span {
        display: block;
        width: 30px;
        height: 2px;
        margin: 5px;
        background-color: #000000;
        transition: transform 0.3s, opacity 0.3s;
    }

    .hm-wrapper .hamburger-menu span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hm-wrapper .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu span:nth-child(3) {
        width: 25px;
        left: 5px;
        position: relative;
    }

    .hm-wrapper .hamburger-menu span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        width: 30px;
        left: 0;
    }

    /* Mobile Menu Styles */
    .mobile-menu {
        position: fixed;
        top: 86px;
        display: block;
      	 width: 80%;
        max-width: 400px;
        height: 100%;
        background-color: #fff;
        z-index: 998;
        /* transition: right 0.3s ease-in-out;*/

        background-color: #8bc8c4;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
		 left: 0;
    }

    .mobile-menu.open {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
        left: 0;
        animation: slide-in 0.5s forwards;
        -webkit-animation: slide-in 0.5s forwards;
    }
.mobile-nav::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
    .mobile-nav {
        list-style: none;
        padding: 0 0 100px 0;
        margin: -1px;
        height: 100%;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: block;
    }


    
    .first-sub-menu {
        position: relative;
    }

    .container-menu-1 {
        display: none;
    }

    .header-nav>li {
        background-color: #8bc8c4;
    }

    .has-children.columns-4>ul.first-sub-menu {
        columns: 1;
        column-rule: 1px solid #b8d4c480;
        width: 100% !important;
        left: 0% !important;
        min-width: unset;
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav li a {
        display: block;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        text-align: left;
		padding-left: 24px;
		position: relative;
    }

    .mobile-nav li a.submenu-link {
        display: flex;
		padding: 12px 0;
    }
.first-sub-menu>li {
    margin: 0 0 5px 0;
}
		.first-sub-menu>li:first-of-type a {
        padding-top: 0;
}
	.first-sub-menu>li:last-of-type a {
        padding-bottom: 0;
}
	li.no-sub{padding-left:0}
    .mobile-nav .sub-menu {
        display: none;
        padding-left: 15px;
    }
	.menu-item-has-children .first-sub-menu {
    padding: 24px;
}
	.top-line a {
    margin-top: 0;
}
.columns-4>ul>li {margin-left: 0;}
	
    /* Add right arrow icon to depth 0 menu items that have children */
    .mobile-nav>.menu-item-has-children>a::after {
		/*
        content: "►";
        float: right;
        margin-left: 10px;
        font-size: 16px;
		*/
		        margin-right: 10px;
        font-size: 16px;
        content: "";
        position: absolute;
        right: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 12px solid #fff;
        width: 0;
        height: 0;
		
    }

	.depth-0.active{
		background-color: #ffffff;
		
	}
	.depth-0.active a{
		color:#8bc8c4;
	}
    /* Change to down arrow when active */
    .mobile-nav>.menu-item-has-children.active>a::after {
        content: "▼";
		padding-right: 10px;
        margin-top: -5px;
    }

    .submenu-link .span-item-title {
        font-size: 16px;
        line-height: 18.75px;
    }

    .sub-submenu-link {
      padding: 5px 0 !important;
    }

    .sub-submenu-link .span-item-title {
        font-size: 15px;
        line-height: 17.58px;
    }

    .no-sub a {
        /*padding: 0 15px !important;*/
    }

    .top-line {
        height: 100%;
    }
}

/*Mobile only css*/
@media (max-width: 530px) {
    #mob-fixed-header {
        margin-top: 50px;
    }
}
@media (min-width: 1025px) {

    .hamburger-menu,
    .mobile-menu {
        display: none;
    }

    /* Display submenu on hover over parent item with 'has-children' class */
    .has-children:hover>.first-sub-menu {
        display: flex;
        flex-direction: column;
        visibility: visible;
        opacity: 1;
        width: auto;
        left: auto;
    }
    .columns-4:hover {
        position: static !important;
    }

    .columns-4:hover>.first-sub-menu {
        display: block !important;
        visibility: visible;
        opacity: 1;
        width: 100% !important;
        min-width: 1184px;
        /*left: -30% !important;*/
left: -13% !important;
        padding: 30px 30px 6px 20px;
        top: 100%;
    }

    .columns-4:hover>.first-sub-menu {
        /* padding: 0;*/
    }

}

 @media only screen and (min-width: 1025px) and (max-width: 1280px)  {
       .columns-4:hover>.first-sub-menu {
        left: -33% !important;
    }
   
    }
 @media only screen and (min-width: 1281px) and (max-width: 1380px)  {
       .columns-4:hover>.first-sub-menu {
        left: -27% !important;
    }
   
    }
@media (min-width: 2000px) {
    .columns-4:hover>.first-sub-menu {

        left: 15% !important;
 
    }	
}
.slide-in {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

@keyframes slide-in {
    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slide-in {
    100% {
        -webkit-transform: translateX(0%);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-120%);
        -webkit-transform: translateX(-120%);
        -moz-transform: translateX(-120%);
        -ms-transform: translateX(-120%);
        -o-transform: translateX(-120%);
    }
}

@-webkit-keyframes slide-out {
    0% {
        -webkit-transform: translateX(0%);
    }

    100% {
        -webkit-transform: translateX(-120%);
    }
}

/*global rewrite*/
@media (max-width: 530px) {
    .inner_banner .inner_banner-image {
        top: 0;
        height: 100%;
    }
	    .inner_banner .inner-banner-overlay .overlay-content-box {
        padding-top: 0;
        top: 0 !important;
    }
}