/*------------ top header ---------*/
.topheader {
    background-color: var(--secondary);
    padding: 8px 0;
}

.tp-hd-rating {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    font-size: 16px;
    color: var(--white);
    font-weight: var(--font-weight-semibold);

    & span {
        padding: 0 8px;
    }
}

.middleheader-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    align-items: center;

    & .logo {
        margin-top: -35px;
    }



}



ul.btnlist-wrap {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0 -10px;
    align-items: center;
    padding-left: 0;
}

ul.btnlist-wrap li {
    padding: 0;
    line-height: 1;
    padding: 0 10px;
    margin-bottom: 0;
}

.bcall-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    & .call-icon {
        width: 40px;
        height: 40px;
        background-color: var(--paragraph);
        border-radius: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    & .call-detail {
        width: calc(100% - 40px);
        padding-left: 10px;

        & span {
            color: var(--paragraph);
            font-size: 12px;
            letter-spacing: 0.12px;
            font-weight: var(--font-weight-semibold);
            display: block;
            line-height: 1;
            margin-bottom: 4px;
        }

        & a {
            font-size: 20px;
            letter-spacing: 0.24px;
            font-weight: var(--font-weight-bold);
            color: var(--paragraph);
            line-height: 1;
        }

        & a:hover {
            color: var(--theme);
        }
    }
}

/**/
.menu-link nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.menu-link nav>ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin: 0;
}

.menu-link nav>ul>li {
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 0;
}

.menu-link nav>ul>li {
    padding: 0px 25px;
    position: relative;
}

.menu-link nav>ul>li .menudrop {
    font-size: 16px;
    line-height: 1;
    margin-left: 10px;
}

.menu-link nav>ul>li>a {
    font-size: 16px;
    padding: 0px;
    position: relative;
    line-height: 6.375;
    letter-spacing: 0px;
    font-weight: var(--font-weight-bold);
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    text-decoration: none;
    text-transform: capitalize;
    font-family: var(--font-body-family);
    color: #272727;
    text-transform: uppercase;
}

.menu-link nav>ul>li:hover>a,
.menu-link nav>ul>li.active>a {
    color: var(--theme);
    background-position: 0 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}

.menudrop {
    z-index: 1;
    height: 16px;
    width: 16px;
    text-align: center;
    vertical-align: middle;
    margin-left: 6px;
    margin-top: 0px;
    line-height: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    line-height: 16px;
}

.menudrop.openedmenu:before {
    content: "\f106";
}

.menu-link .sub-menu {
    left: 0;
    margin-left: 0px;
    position: absolute;
    top: 100%;
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    border-radius: 0px 0 10px 10px;
    z-index: 999;
    background: #ffffff;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    top: 100%;
    padding: 35px;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -moz-transform: scaleY(0);
    transform: scaleY(0);
    transform-origin: 0 0;
    border-top: 1px solid rgba(0 0 0 / 10%);
}

.menu-link li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    display: block;
}

.menuoverlay {
    position: relative;
}

.menuoverlay:after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 147px);
    top: 0;
    margin-top: 147px;
    background-color: rgba(0 0 0 / 70%);
    left: 0;
    z-index: 99;
}

.menu-link nav>ul>li.area-menu .sub-menu {
    width: 650px;
    left: auto;
}

.menu-link nav>ul>li.area-menu .sub-menu ul.sub-dropdown {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.menu-link nav>ul>li.area-menu .sub-menu ul.sub-dropdown>li {
    width: calc(33.33% - 15px);
    margin-bottom: 0;
}

.menu-link nav>ul>li.service-menu .sub-menu {
    width: 1380px;
    left: auto;
    margin-left: 0px;
    padding: 0;
}

.submenu-bottom {
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 25px 50px;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(22 22 22 / 10%);
}

.submenu-bottom .sbtm-right {
    width: 450px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.submenu-bottom .sbtm-right>a {
    margin-left: 20px;
}

.submenu-bottom .sbtm-left {
    width: calc(100% - 450px);
    font-size: 30px;
    color: var(--paragraph);
    font-family: var(--font-head-family);
    line-height: 1;
}

.submenu-wrap {
    padding: 50px;
}

.menu-link nav>ul>li ul.sub-dropdown {
    list-style-type: none;
    margin: 0;
}

.menu-link nav>ul>li ul.sub-dropdown>li {
    margin-bottom: 0;
    line-height: 1;
}

.menu-link nav>ul>li ul.sub-dropdown>li:not(:last-child) {
    margin-bottom: 20px;
}

.menu-link nav>ul>li ul.sub-dropdown>li>a {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.16px;
    color: #161616;
    position: relative;
    padding-left: 16px;
}

.menu-link nav>ul>li ul.sub-dropdown>li:hover>a,
.menu-link nav>ul>li ul.sub-dropdown>li.active>a {
    color: var(--theme);
}

.menu-link nav>ul>li ul.sub-dropdown>li>a:before {
    position: absolute;
    content: "\f105";
    left: 0;
    top: 0;
    font-family: 'FontAwesome';
    font-weight: bold;
}

/*STICKY HEADER*/
.fixed-header .mainheader {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    -webkit-animation: 0.7s ease-in-out 0s normal none 1 running fadeInDown;
    animation: 0.7s ease-in-out 0s normal none 1 running fadeInDown;
    border-top: 0;
    background-color: var(--white);
    box-shadow: 0px 3px 10px 0px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0px 3px 10px 0px rgb(0 0 0 / 20%);
    -webkit-box-shadow: 0px 3px 10px 0px rgb(0 0 0 / 20%);
}

@-webkit-keyframes fadeInDown {
    0% {
        -webkit-transform: translate3d(0, -10%, 0);
        opacity: 0;
        transform: translate3d(0, -10%, 0);
    }

    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}

@keyframes fadeInDown {
    0% {
        -webkit-transform: translate3d(0, -10%, 0);
        opacity: 0;
        transform: translate3d(0, -10%, 0);
    }

    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}



@media (hover: hover) and (pointer: fine) {
    .menu-link ul>li>.sub-menu {
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        top: 80%;
        -webkit-transition: all 0.45s ease 0s;
        -moz-transition: all 0.45s ease 0s;
        -ms-transition: all 0.45s ease 0s;
        -o-transition: all 0.45s ease 0s;
        transition: all 0.45s ease 0s;
        box-shadow: 0 0px 30px rgba(0, 0, 0, 0.20);
    }

    .menu-link ul>li:hover>.sub-menu {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        top: 100%;
        display: block;
    }

}

.smid-ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    padding: 0;
    list-style-type: none;
    gap: 15px;

    & li {
        width: calc(20% - 15px);
        padding: 0;
        margin-bottom: 0;
    }
}

.smid-ul li a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #E4EEEC;
    border-radius: 10px;
    padding: 20px;
    height: 100%;

    & .smid-img {
        width: 76px;
        border-radius: 10px;

        & img {
            border-radius: 10px;
        }
    }

    & .smid-title {
        width: calc(100% - 76px);
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 0.16px;
        color: #161616;
        line-height: 22px;
        padding-left:15px;
    }
}

.smid-ul li a:hover,
.smid-ul li.active a{
    background-color: #1EB3C6;
}

.smid-ul li a:hover .smid-title,
.smid-ul li.active a .smid-title{
    color: var(--white);
}

/* RESPONSIVE  MEDIA QUERY */


@media (max-width: 1599.98px) {
    .menu-link nav>ul>li.service-menu .sub-menu {
        width: 1200px;
    }

    .submenu-wrap {
        padding: 30px;
    }

    .smid-ul {
        gap: 10px;

        & li {
            width: calc(20% - 8px);
        }
    }

    .submenu-bottom {
        padding: 25px 30px;
    }
	.smid-ul li a{
		padding:15px;
		& .smid-img{
			width:60px;
		}
		& .smid-title{
			width: calc(100% - 60px);
			        line-height: 20px;
        padding-left: 10px;
		}
	}
}

@media (max-width: 1439.98px) {
    .middleheader-wrap {
        & .logo {
            margin-top: -35px;
            width: 110px;
        }
    }

    .menu-link nav>ul>li {
        padding: 0 12px;
    }

    .menu-link nav>ul>li>a {
        font-size: 15px;
    }

    ul.btnlist-wrap {
        margin: 0 -8px;
    }

    ul.btnlist-wrap li {
        padding: 0 8px;
    }

    .tp-hd-rating .tp-star {
        width: 16px;
    }

    .menu-link nav>ul>li.service-menu .sub-menu {
        width: 980px;
    }

    .smid-ul li a {
        padding: 12px;

        & .smid-img {
            width: 60px;

        }

        & .smid-title {
            width: calc(100% - 60px);
            font-size: 15px;
            line-height: 1.14;
            padding-left: 10px;
            letter-spacing: 0.14px;
        }
    }

    .submenu-bottom .sbtm-right {
        width: 400px;

        & .button-group {
            gap: 10px;
        }
    }

    .submenu-bottom .sbtm-left {
        width: calc(100% - 400px);
        font-size: 22px;
    }
	
	    .smid-ul {
        gap: 6px;
						& li {
            width: calc(20% - 6px);
        }
    }
	    .smid-ul li a {
        padding: 12px;
						        & .smid-img {
            width: 50px;
        }
						        & .smid-title {
            width: calc(100% - 50px);
            font-size: 14px;
            line-height: 1.14;
            padding-left: 10px;
            letter-spacing: 0px;
        }
    }
}

@media (max-width: 1199.98px) {
    .togglebtn span {
        position: relative;
        display: inline-block;
        margin-top: 12px;
        vertical-align: top;
        border-radius: 0px;
    }

    .togglebtn span::before,
    .togglebtn span::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .togglebtn span,
    .togglebtn span::before,
    .togglebtn span::after {
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        width: 26px;
        height: 3px;
        background-color: var(--theme);
    }

    .togglebtn span::before {
        top: -8px;
        width: 26px;
    }

    .togglebtn span::after {
        top: 8px;
        width: 26px;
    }

    .togglebtn {
        position: absolute;
        right: 15px;
        top: 60px;
        display: block;
        text-align: center;
        width: 26px;
        height: 24px;
        border: 0;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        background: transparent;
        cursor: pointer !important;
    }

    .togglebtn.active span::before {
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        top: 0;
    }

    .togglebtn.active span::after {
        -webkit-transition-delay: 0.09s;
        top: 0;
        transition-delay: 0.09s;
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        width: 24px;
    }

    .togglebtn.active span {
        background-color: transparent;
    }

    .overlay {
        position: fixed;
        top: 108px;
        right: 0;
        z-index: 999;
        width: 100%;
        height: calc(100% - 108px);
        display: none;
        background-color: rgb(0 0 0 / 30%);
        cursor: pointer;
    }

    .menu-link nav {
        padding: 0;
    }

    .menu-link.active {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
    }

    .menu-link {
        float: none;
        padding: 0;
        position: fixed;
        top: 108px;
        height: calc(100% - 108px);
        width: 450px;
        margin: 0;
        transition: all 0.6s ease;
        -webkit-transition: all 0.6s ease;
        -ms-transition: all 0.6s ease;
        overflow-y: auto;
        left: 0;
        z-index: 999;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        padding: 20px;
        background: var(--paragraph);
    }

    .menu-link nav {
        flex-direction: column;
    }

    .menu-link nav>ul {
        padding-right: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .menu-link .sub-menu {
        -webkit-transform: none;
        transform: none;
        display: none;
        visibility: unset;
        opacity: unset;
        width: 100%;
        position: relative;
        padding: 0;
        left: auto;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        margin: 0;
        background: transparent;
        min-width: inherit;
        top: auto;
        padding: 0 15px 15px;
        border-top: 0;
        border-radius: 0;
    }

    .menu-link li .sub-menu {
        opacity: unset;
        visibility: unset;
    }

    .menu-link ul>li>.sub-menu {
        opacity: unset;
        top: 0;
        visibility: unset;
        display: none;
        padding: 20px;
        box-shadow: none;
        display: none;
        background: #212121;
    }

    .menu-link li:hover .sub-menu {
        display: none;
        -webkit-transform: none;
        transform: none;
        opacity: inherit;
    }

    .menudrop {
        margin: auto 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        width: 30px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
    }

    .menu-link nav>ul>li>a {
        display: block;
        width: 100%;
        line-height: 1.2;
        padding: 12px 0px;
        color: var(--white);
        font-size: 15px;
        position: relative;
    }

    html.menuhidden {
        overflow-y: hidden;
    }

    .menu-link nav>ul>li {
        padding: 0;
        width: 100%;
        text-align: left;
    }

    .menu-link nav>ul>li .menudrop {
        color: var(--white);
    }

    .menu-link nav>ul>li.has-sub>a:after {
        display: none;
    }

    .menu-link nav>ul>li ul.sub-dropdown>li>a {
        font-size: 15px;
        line-height: 1.1;
        padding: 0 0 0 14px;
        color: var(--white);
    }

    .tp-hd-rating .tp-star {
        width: 14px;
    }

    .tp-hd-rating {
        font-size: 14px;

        & span {
            line-height: 1;
        }

        & .tp-rating {
            width: 80px;
        }
    }

    .middleheader {
        padding: 12px 0;
    }

    .hd-right {
        padding-right: 20px;
    }

    .middleheader-wrap {
        & .logo {
            margin-top: -36px;
            width: 100px;
        }
    }

    .menu-link nav>ul>li.service-menu .sub-menu {
        padding: 20px;
        width: 100%;
    }

    .submenu-wrap {
        padding: 0;
    }

    .smid-ul li a {
        & .smid-img {
            display: none;
        }
    }

    .smid-ul {
        gap: 0px;
    }

    .smid-ul {
        & li {
            width: 100%;
            margin-bottom: 10px;
        }

        & li:last-child {
            margin-bottom: 0;
        }
    }

    .smid-ul li a {
        padding: 0;
        background-color: transparent;
        height: auto;

        & .smid-title {
            font-size: 15px;
            line-height: 1.1;
            padding: 0 0 0 14px;
            color: var(--white);
            width: 100%;
            font-weight: normal;
            position: relative;
        }

        & .smid-title:before {
            position: absolute;
            content: "\f105";
            left: 0;
            top: 0;
            font-family: 'FontAwesome';
            font-weight: bold;
        }
    }

    .menu-link nav>ul>li ul.sub-dropdown>li:not(:last-child) {
        margin-bottom: 10px;
    }

    .submenu-bottom {
        display: none;
    }
    .menu-link nav > ul > li.area-menu .sub-menu{
        width:100%;
    }
    .menu-link nav > ul > li.area-menu .sub-menu ul.sub-dropdown > li{
        width:calc(50% - 5px);
    }
    .menu-link nav > ul > li.area-menu .sub-menu ul.sub-dropdown{
        gap:10px;
    }
	
			.smid-ul li a:hover, .smid-ul li.active a {
					background-color: transparent;
				 color:var(--theme);
			}
	.smid-ul li a:hover .smid-title, .smid-ul li.active a .smid-title {
    color:var(--theme);
}
}

@media (max-width: 991.98px) {
    .mainheader .container {
        max-width: 100%;
    }

    .hd-right {
        padding-right: 40px;
    }
    .overlay,.menu-link
    {
    top: 104px;
    height: calc(100% - 104px);
    }
    .togglebtn{
        top:58px;
    }
}

@media (max-width: 767.98px) {
    .bcall-wrap {
        & .call-icon {
            width: 34px;
            height: 34px;
        }

        & .call-detail {
            width: calc(100% - 34px);
            padding-left: 8px;
        }
    }

    ul.btnlist-wrap {
        margin: 0 -5px;
    }

    ul.btnlist-wrap li {
        padding: 0 5px;
    }
    .togglebtn{
        top:56px;
    }
}

@media (max-width: 575.98px) {

    .middleheader-wrap {
        & .logo {
            margin: 0;
            width: 60px;
        }
    }

    .tp-hd-rating {
        justify-content: center;
        font-size: 12px;

        & .tp-star {
            width: 10px;
        }

        & span {
            padding: 0 6px;
        }
    }

    .topheader {
        padding: 5px 0;
    }

    .middleheader ul.btnlist-wrap {
        margin: 0px;
        background-color: var(--theme);
    }

    .middleheader ul.btnlist-wrap li {
        width: 50%;
        padding: 0px;
        margin-bottom: 0;
        text-align: center;
    }

    .middleheader .bcall-wrap {
        & .call-icon {
            display: none;
        }

        & .call-detail {
            width: 100%;
            padding-left: 0;

            & span {
                display: none;
            }

            & a {
                font-size: 14px;
                letter-spacing: 0.10px;
                background-color: var(--paragraph);
                color: var(--white);
                padding: 9px 14px;
                line-height: 1;
                height: 38px;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: center;
            }

            & a:hover {
                background-color: var(--theme);
                color: var(--white);
            }
        }
    }

    .hd-right {
        margin: 10px -15px 0;
        width: calc(100% + 30px);
        padding-right: 0;

        & .button {
            padding: 9px 10px;
            height: 38px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            letter-spacing: 0.10px;
        }

        & .button:hover {
            background-color: var(--paragraph);
            border-color: var(--paragraph);
        }
    }

    .middleheader {
        padding: 10px 0 0 0;
    }
.menu-link{
    width:100%;
}
  .overlay,.menu-link
    {
    top: 129px;
    height: calc(100% - 129px);
    }
    .togglebtn{
        top:44px;
    }
}

@media (max-width: 375.98px) {
     .menu-link nav > ul > li.area-menu .sub-menu ul.sub-dropdown > li {
    width:100%;
  }
}