body.home-template section#services ul li:nth-child(1),
body.home-template section#services ul li:nth-child(2),
body.home-template section#services ul li:nth-child(3) {
    flex: 0 0 25%;
    width: 25%;
}

body.single-disaster-template section#need-to-know .content ul li .image img,
body.single-disaster-template section#service .content .left .image img {
    height: auto;
    max-height: 70px;
}

/* header styles */

header .container nav ul:nth-child(1)>li:nth-child(2) {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

header .mobile-dropdown-toggle-new {
    display: none;
    appearance: none;
    width: 2rem;
    height: 2rem;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 50% 50%;
    opacity: .6;
    transform: translate3d(0, .35rem, 0);
    transition: opacity .2s ease;
}

header .mobile-dropdown-toggle-new:hover,
header .mobile-dropdown-toggle-new:active,
header .mobile-dropdown-toggle-new:focus {
    opacity: 1;
    cursor: pointer;
}

header .mobile-dropdown-toggle-new svg {
    transform: translate3d(0, 2px, 0);
}

header .mobile-dropdown-toggle-new.is-active svg {
    transform: rotate(180deg);
}

header .mobile-dropdown-toggle-new.is-active~.header-dropdown {
    max-height: 999px;
}

@media screen and (max-width: 1365px) {
    header .container nav ul:nth-child(1)>li:nth-child(2) {
        padding-top: 0;
        padding-bottom: 0;
    }

    header .mobile-dropdown-toggle-new {
        display: inline-block;
        pointer-events: auto;
    }

    header .mobile-dropdown-toggle-new.is-active~.header-dropdown {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }
}

/* footer styles */

footer .footer__icons-wrapper {
    padding: 55px 0;
    background-color: white;
}

footer .main .content .left .column-1 ul li .icon-renovation::before {
    background-image: url('/wp-content/themes/truemarket/assets/img/icons/icon-new-build-white.svg') !important;
    left: 6px;
    width: 23px;
}

footer .footer__icons {
    max-width: 1730px;
    margin: 0 auto;
}


footer .footer__top-icons,
footer .footer__bottom-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 30px;
    padding: 0 10px;
}

footer .footer__top-icons {
    margin-bottom: 25px;
}

footer .footer__bottom-icons img,
footer .footer__top-icons img {
    max-width: 100%;
    height: auto;
    flex: 1 1 auto;
}

@media screen and (max-width: 992px) {

    footer .footer__top-icons,
    footer .footer__bottom-icons {
        gap: 20px;
    }

    footer .footer__icon {
        width: 16%;
    }
}

@media screen and (max-width: 500px) {
    footer .footer__icons-wrapper {
        padding: 25px 0;
    }

    footer .footer__top-icons {
        gap: 15px;
    }

    footer .footer__icon {
        width: 40%;
    }
}


/* rebuild-restore-template */
body.rebuild-restore-template section#subnav {
    background-color: #131f6b;
    padding: 25px 0;
}

body.rebuild-restore-template section#subnav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

body.rebuild-restore-template section#subnav ul li {
    flex: 0 0 auto;
}

body.rebuild-restore-template section#subnav ul li:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

body.rebuild-restore-template section#subnav ul li a {
    font-size: 15px;
    font-family: "Poppins-Medium";
    color: #ffffff;
    opacity: .6;
    display: inline-block;
    padding: 20px 35px;
    padding-left: calc(40px + 30px);
    position: relative;
    transition: .25s;
}

body.rebuild-restore-template section#subnav ul li a:hover {
    opacity: 1;
}

body.rebuild-restore-template section#subnav ul li a:hover::before {
    left: 24px;
}

section#subnav ul li .icon-reno-new-build::before,
section#subnav ul li .icon-restoration::before {
    transition: .25s;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    content: '';
    top: calc(50% - 20px);
    height: 35px;
    left: 20px;
}

section#subnav ul li .icon-reno-new-build::before {
    background-image: url('/wp-content/themes/truemarket/assets/img/icons/icon-new-build-white.svg');
    width: 30px;
}

section#subnav ul li .icon-restoration::before {
    background-image: url('/wp-content/themes/truemarket/assets/img/icons/icon-rebuilding-white.svg');
    width: 35px;
}

body.single-disaster-template section#cta p a.no-icon-phone {
    padding-left: 0;
}

body.single-disaster-template section#cta p a.no-icon-phone::before {
    display: none;
}