/*
	Theme Name: MXL New Design (Hello Elementor child)
	Description: A plain-vanilla & lightweight theme for Elementor page builder
	Template: hello-elementor
	Version: 1.0.0
	Stable tag: 1.0.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: mxl-main-hello-elementor
	Description: Perfect theme for  New Design
*/


@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body {
    font-family: 'Oxygen', sans-serif;
}

a {
    color: #000000;
}

a:hover {
    color: #9C0C19;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    scroll-margin-top: 90px;
}

h3 {
    font-size: 26px;
}

h5 {
    font-size: 22px;
}

/* HEADER */
#site-header {
    box-shadow: 0px 10px 10px #00000029;
    z-index: 30;
}

main {
    position: relative;
}

@media only screen and (min-width: 1201px) {
    .site-branding img {
        width: 240px;
    }

    .site-header .site-navigation {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        display: flex !important;
    }

    .site-navigation ul.menu li ul {
        z-index: 20;
        top: 70px;
        columns: 2;
        margin-left: 0px !important;
        -webkit-box-shadow: 0px 10px 13px -7px rgb(0 0 0 / 10%), 5px 5px 15px 5px rgb(0 0 0 / 10%);
        box-shadow: 0px 10px 13px -7px rgb(0 0 0 / 10%), 5px 5px 15px 5px rgb(0 0 0 / 10%);
    }

    .site-navigation ul.menu li:last-child ul {
        columns: 1;
    }

    .site-navigation ul.menu li a {
        padding: 25px;
        text-transform: uppercase;
        font-weight: bold;
    }

    .site-navigation ul.menu li ul {
        padding: 15px 0;
    }

    .site-navigation ul.menu li ul li {
        border-bottom: none;
        width: 220px;
    }

    .site-navigation ul.menu li:first-child ul li {
        width: 310px;
    }

    .site-navigation ul.menu li ul li a {
        font-weight: 500;
        text-transform: capitalize;
        padding: 13px 20px;
    }

    .site-header {
        padding: 0 40px;
    }

    .site-navigation ul.menu li.menu-item-has-children:after {
        display: none;
    }

    .topcontact {
        position: relative;
        font-size: 20px;
    }

    .topcontact::before {
        content: "";
        position: absolute;
        top: -18px;
        left: -30px;
        width: 100%;
        max-width: 20px;
        height: 100%;
        opacity: 1;
        z-index: 0;
        background: url(https://static.maleexcel.com/wp-content/uploads/sites/5/2021/09/27121239/phone.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom left;
    }

    .toggle-nav {
        display: none !important;
    }
}

@media only screen and (max-width: 1200px) {
    .site-branding {
        width: 50%;
    }

    .site-branding a {
        margin-left: 50px;
    }

    .site-header:not(.dynamic-header) {
        max-width: 100%;
    }

    .site-branding img {
        width: 100%;
        max-width: 145px;
    }

    .mobile-menu {
        position: absolute;
        left: 0;
        top: 0;
    }

    .toggle-nav {
        display: inline-block !important;
        float: right;
        padding: 10px 15px;
        font-size: 28px;
        transition: color linear 0.15s;
    }

    a.toggle-nav:link,
    a.toggle-nav:visited,
    a.toggle-nav:hover,
    a.toggle-nav:active {
        text-decoration: none;
        color: #000;
    }

    .site-navigation {
        display: none;
        background: #fff;
        text-align: left;
        width: 100%;
        height: 100vh;
        max-height: calc(100vh - 60px);
        position: absolute;
        top: 64px;
        left: 0;
        z-index: 999;
    }

    .site-navigation ul {
        position: absolute;
        overflow: auto;
        top: 0px;
        right: 0px;
        width: 100vw;
        max-height: 80%;
        z-index: 999;
        padding-right: 15px;
        background: #fff;
        flex-direction: column;
        flex-wrap: nowrap !important;
    }

    .site-navigation ul li {
        float: none;
        display: block;
        position: relative;
        top: 0px;
        right: 0px;
        min-width: 200px;
        background: #fff;
        flex-direction: column;
    }

    .site-navigation ul li a {
        font-size: 24px;
        font-weight: bold;
    }

    .site-navigation ul.menu li ul {
        position: relative;
        left: 0;
        top: 0;
    }

    .site-navigation ul.menu li ul li {
        border: none;
        margin-left: 20px;
    }

    .site-navigation ul.menu li:first-child ul li {
        width: 310px;
    }

    .site-navigation ul li ul li a {
        font-size: 18px;
        padding: 7px 20px;
    }

    .site-navigation::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 20px;
        width: 40%;
        max-width: 170px;
        height: 40%;
        opacity: 1;
        z-index: 100;
        background: url(https://static.maleexcel.com/wp-content/uploads/sites/11/2022/03/16113617/e_symbol.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom left;
    }

    .site-navigation ul.menu li.menu-item-has-children:after {
        content: none;
    }

    .site-navigation ul.menu li:hover>ul {
        display: none;
    }

    .site-navigation ul.menu li a {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }

    .site-navigation ul.menu li.menu-item-has-children:focus-within>ul {
        display: inherit;
    }

    .site-navigation ul.menu li a {
        padding: 4px 15px;
    }

    .site-navigation ul.menu li ul li a {
        font-size: 18px;
    }

    .sub-show ul {
        display: block !important;
    }

    li:not(.sub-show) ul {
        /* display: none !important; */
    }

    .menu-close {
        font-size: 40px;
        line-height: 40px;
    }

    .topcontact::before {
        content: none;
    }

    .topcontact {
        width: 32%;
        text-transform: uppercase;
        font-weight: 600 !important;
        font-size: 10px;
        line-height: 16px;
    }

    .topcontact strong {
        font-size: 14px;
    }

    /* .toggle-nav {
		display: none !important;
	} */
}

@media only screen and (min-width: 1080px) {
    .site-header:not(.dynamic-header) {
        max-width: 100%;
    }

    .screen-darken {
        content: '';
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .5);
        pointer-events: none;
        z-index: 10;
        visibility: visible;
        position: absolute;
        animation: me-overlay 500ms;
        -webkit-transition: opacity 700ms linear;
        transition: opacity 700ms linear;
        opacity: 0;
    }

    .screen-darken-on {
        opacity: 1;
    }

    .navbar {
        position: relative;
        z-index: 15;
    }

    .fade-out {
        animation: fade 2s;
        -webkit-animation: fade 2s;
        -moz-animation: fade 2s;
    }

    /* Animate opacity */
    @keyframes fade {
        from {
            opacity: 1
        }

        to {
            opacity: 0
        }
    }

    @-moz-keyframes fade {
        from {
            opacity: 1
        }

        to {
            opacity: 0
        }
    }

    @-webkit-keyframes fade {
        from {
            opacity: 1
        }

        to {
            opacity: 0
        }
    }

    .toggle-nav {
        display: none !important;
    }
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100% !important;
    z-index: 20;
    background-color: #fff;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky+.content {
    padding-top: 102px;
}

.pre-footer-disclaimer {
    display: block;
    width: 100%;
    background-color: #9DC1CE;
    padding-top: 30px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.pre-footer-disclaimer p {
    margin-top: 0;
    margin-bottom: 10px;
    max-width: 1174px !important;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER STYLE */
footer {
    background: #1C5580;
    max-width: 100vw !important;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

footer .logo-footer .logo-footer-main {
    max-width: 230px;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    width: 270px;
}

.footer-minilogos {
    width: 230px;
    display: flex;
    justify-content: space-between;
}

.footer-minilogos a {
    width: 33%;
}

.footer-minilogos a:first-child {
    margin-top: -3px;
}

.footer-minilogos a:nth-child(2) {
    text-align: center;
}

.footer-minilogos a:last-child {
    text-align: right;
}

footer .logo-footer .minilogo-footer {
    height: auto;
}

.contact-footer h6,
.social-footer h6 {
    font-size: 16px !important;
    font-weight: 900;
}

.social-footer h6 {
    margin-bottom: 30px;
}

.footer-grid-column .menu-area h4,
.footer-grid-second-row .menu-area h4,
.footer-grid-column.contact-footer h4 {
    font-size: 20px;
    margin-bottom: 5px;
    text-transform: none;
    color: #fff;
    font-weight: 700;
    margin-top: 0;
}

.contact-footer p {
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 10px;
}

/* .contact-footer span {
	font-size: 12px;
} */
.contact-footer .contact-icons {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding-top: 15px;
}

.contact-footer .contact-icons a {
    color: #fff;
    text-decoration: none;
}

.contact-footer .contact-icons a:hover {
    color: #98B8CF;
}

.contact-footer .contact-icons img {
    margin-right: 10px;
}

.social-footer .icon {
    width: 25px;
    margin-right: 30px;
}

.social-footer .divider-separator {
    width: 100%;
    border-top: none;
}

.menu-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.site-footer .seal {
    margin-top: 20px;
}

.second-row-two h4 {
    margin-top: 15px !important;
}

.menu-area h4 {
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
}

.menu-area ul {
    margin: 0;
    padding: 0;
}

.menu-area ul li {
    list-style: none;
    margin: 0;
}

.menu-area ul li a {
    color: #fff;
    line-height: 36px;
    text-decoration: none;
}

footer .menu-area ul li a:hover {
    color: #98B8CF;
}

.menu-footer div:nth-of-type(2),
.menu-footer div:nth-of-type(3) {
    padding-left: 20px;
}

.copyright-footer {
    font-size: 12px;
    line-height: 16px;
    color: #E6E6E6;
    text-align: left;
}

.copyright-footer p {
    margin-bottom: 10px;
    max-width: 540px;
}

.second-row {
    margin-top: 10px;
}

@media only screen and (min-width: 768px) {
    footer .footer-grid {
        display: grid;
        grid-template-columns: 3fr 4fr 3fr 2fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .footer-grid-second-row {
        display: grid;
        grid-template-columns: 10fr 2fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    footer .footer-container {
        max-width: 1174px;
        margin: 0 auto;
        padding-top: 15px;
        /* 40px - 1rem(16px) */
    }

    footer .logo-footer {
        /* margin: 50px 0 20px 0; */
    }

    /*footer .footer_area_one {
		max-width: 200px;
	}

	footer .footer_area_two {
		max-width: 180px;
	}*/

    /*footer .footer_area_four {
		margin-left: -50px;
	}*/

    .contact-footer {
        color: #E6E6E6;
        font-size: 20px;
    }

    .social-footer {
        margin-top: 35px;
    }

    .social-footer div {
        display: flex;
        align-items: center;
    }

    .social-footer .icons {
        justify-content: start;
    }

    .divider-desktop {
        display: block;
        margin: 0 5%;
        border-bottom: 2px solid #484646;
        height: 50%;
        width: 90%;
    }
}

@media only screen and (max-width: 767px) {
    .site-footer:not(.dynamic-footer) {
        padding-right: 35px;
        padding-left: 35px;
    }

    .pre-footer-disclaimer {
        padding: 20px !important;
    }

    footer .logo-footer .logo-footer-main {
        width: 100%;
        max-width: 230px;
        padding: 10px 0px;
        margin: 0 auto 10px;
        display: flex;
    }

    .footer-minilogos {
        width: 240px;
        margin: 0 auto;
    }

    .contact-footer h6,
    .social-footer h6 {
        font-size: 14px !important;
    }

    .social-footer h6 {
        margin: 20px 0 25px;
    }

    .contact-footer p {
        font-size: 12px;
    }

    .contact-footer .contact-icons img {
        max-width: 20px;
    }

    .divider-desktop {
        display: none;
    }

    .footer_area_one,
    .footer_area_two,
    .footer_area_three,
    .footer_area_four {
        margin-top: 20px;
    }

    .footer_area_one,
    .footer_area_two,
    .footer_area_three,
    .footer_area_four {
        width: 50%;
    }

    .menu-area-two,
    .second-row-two {
        padding-left: 5px;
    }

    .social-footer {
        margin: 15px 0;
    }

    .social-footer .seal {
        width: 50%;
        margin-top: 50px;
    }

    .second-row-two {
        margin-top: -25px;
    }

    .social-footer .icons {
        width: 100%;
    }

    .social-footer .icons {
        margin-top: 20px;
    }

    .social-footer .seal img {
        max-width: 125px;
        margin-top: -20px;
    }

    .social-footer .icon {
        width: 12%;
        display: inline-block;
        margin-right: 8px;
    }

    .social-footer .icon img {
        max-width: 20px;
    }

    .footer-grid-column .menu-area h4,
    .footer-grid-second-row .menu-area h4,
    .footer-grid-column.contact-footer h4 {
        font-size: 14px;
        line-height: 19px;
        margin-bottom: 10px;
    }

    .contact-footer p {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .copyright-footer {
        font-size: 9px;
        line-height: 14px;
        margin-top: 5px;
    }

    .menu-footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .footer-grid,
    .footer-grid-second-row {
        display: flex;
        flex-wrap: wrap;
    }

    .second-row-one,
    .second-row-two {
        width: 50%;
    }

    .logo-footer,
    .contact-footer {
        width: 100%;
    }

    .site-footer .seal {
        margin-top: 85px;
    }

    .menu-area ul li {
        margin: 15px 0;
        line-height: 15px;
    }

    .menu-area ul li a {
        font-size: 12px;
        line-height: 16px;
    }

    .menu-footer div:nth-of-type(3) {
        padding-left: 0;
    }

    .menu-footer div:nth-of-type(4) {
        padding-left: 20px;
    }

    .contact-footer .contact-icons {
        font-size: 14px;
    }
}
