/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Footer
    - Footer top
    - Footer middle  
    - Footer bottom
--------------------------------------------------------------*/

/* # Footer */
footer {
    padding: 0 !important;
    background: rgba(245, 246, 248, 1) !important;
    border: none !important;
    box-shadow: rgb(0 0 0 / 15%) 0px -1px 3px;
}
footer .container, footer .container-fluid, footer .container-lg, footer .container-md, footer .container-sm, footer .container-xl, footer .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100% !important;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
    footer .container, footer .container-sm {
        max-width: 540px !important;
    }
}
@media (min-width: 768px) {
    footer .container, footer .container-md, footer .container-sm {
        max-width: 720px !important;
    }
}
@media (min-width: 992px) {
    footer .container, footer .container-lg, footer .container-md, footer .container-sm {
        max-width: 960px !important;
    }
}
@media (min-width: 1200px) {
    footer .container, footer .container-lg, footer .container-md, footer .container-sm, footer .container-xl {
        max-width: 1140px !important;
    }
}
@media (min-width: 1400px) {
    footer .container, footer .container-lg, footer .container-md, footer .container-sm, footer .container-xl, footer .container-xxl {
        max-width: 1320px !important;
    }
}
    /* Footer-top */
    .footer-top {
        padding: 5rem 0rem;
        border-bottom: 1px solid rgba(161, 154, 154, 1);
    }
    .footer-top .footer__menu > ul {
        display: grid;
        padding: 0;
        margin: 0;
        grid-column-gap: 5rem;
        grid-row-gap: 2rem;
        grid-template-areas:
            "a b c d"
            "a e f .";
    }
    .footer__menu > ul > li {
        display:flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    .footer__menu > ul > li:first-child {
        grid-area: a;
    }
    .footer__menu > ul > li:nth-child(2) {
        grid-area: b;
    }
    .footer__menu > ul > li:nth-child(3) {
        grid-area: c !important;
    }
    .footer__menu > ul > li:nth-child(4) {
        grid-area: d;
    }
    .footer__menu > ul > li:nth-child(5) {
        grid-area: e;
    }
    .footer__menu > ul > li:nth-child(6) {
        grid-area: f;
    }
    .footer__menu > ul > li > a {
        text-decoration: none !important;
        color: rgba(57, 51, 51, 1) !important;
        font-family: "Century Gothic" !important;
        font-size: 1.125rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        padding-bottom: 0.25rem !important;
    }
    .footer__menu > ul > li a:hover {
        color: rgba(255, 157, 35, 1) !important;
        text-decoration: none !important;
    }
    .footer__menu > ul > li:nth-child(5) > a,
    .footer__menu > ul > li:nth-child(6) > a {
        color: rgba(255, 157, 35, 1) !important;
    }
    .footer__menu > ul > li > ul {
        padding: 0 !important;
        margin: 0 !important;
        list-style-type: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.625rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(57, 51, 51, 1) !important;
    }
    .footer__menu > ul > li > ul > li > a {
        display: flex !important;
        font-family: "Century Gothic" !important;
        text-decoration: none !important;
        color: rgba(57, 51, 51, 1) !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        line-height: 1.5;
    }
    /* Footer middle */
    .footer-middle {
        padding: 2rem 0rem;
        border-bottom: 1px solid rgba(161, 154, 154, 1);
    }
    .footer-middle .footer__grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1.25fr 1fr;
    }
    .footer-middle .footer__grid > * {
        padding: 0rem 1.25rem;
        border-right: 1px solid rgba(161, 154, 154, 1);
    }
    .footer-middle .footer__grid > *:first-child {
        padding-left: 0rem;
    }
    .footer-middle .footer__grid > *:nth-child(2) {
        text-align: center
    }
    .footer-middle .footer__grid > *:first-child,
    .footer-middle .footer__grid > *:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0rem !important;
    }
    .footer-middle .footer__grid > *:last-child {
        border-right: none;
    }
    .footer__logo svg {
        width: 240px;
        height: 62px;
    }
    .footer__phone a {
        color: rgba(57, 51, 51, 1);
        font-family: "Century Gothic";
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
        text-decoration:none;
    }
    .footer__phone a:hover {
        color: rgba(255,157,35,1);
    }
    .footer__email {
        margin-bottom: 0rem !important;
    }
    .footer__email p {
        color: rgba(57, 51, 51, 1);
        font-family: "Century Gothic";
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1;
        margin-bottom: 1rem;
    }
    .footer__email a {
        color: rgba(57, 51, 51, 1);
        font-family: "Century Gothic";
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
    }
    .footer__email a:hover {
        color: rgba(255,157,35,1);
    }
    .footer__email .contacts__email > span {
        color: rgba(255,157,35,1)!important;
        line-height: 1;
    }
    .footer__socials {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer__socials p {
        color: rgba(57, 51, 51, 1);
        font-family: "Century Gothic";
        font-size: 1.125rem;
        font-weight: 400;
        margin: 0;
        line-height: 1.5;
    }
    .footer__socials .socials {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-top: 0 !important;
    }
    .footer__socials svg {
        width: 2rem !important;
        height: 2rem !important;
        fill: rgba(255, 157, 35, 1) !important;
    }
    .footer__socials .socials > *:hover {
        cursor: pointer;
    }
    .footer__socials .socials > .linkedin svg {
        padding: 0.25rem !important;
    }
    .footer__socials .socials > .viber svg {
        padding: 0.25rem !important;
    }
    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0rem;
    }
    .footer-bottom .footer__grid {
        display: grid;
        grid-column-gap: 4rem;
        grid-template-columns: 1.5fr 1.25fr 1.5fr;
    }
    .footer-bottom .footer__grid > * {
        padding: 0rem 1rem;
    }
    .footer-bottom .footer__grid > *:nth-child(2) {
        text-align: center;
    }
    .footer-bottom .footer__grid > *:first-child {
        padding-left: 0rem;
    }
    .footer-bottom .container:after {
        content: none !important;
    }
    .footer__address {
        margin: 0 !important;
        line-height: 1.5 !important;
    }
    .footer__address .contacts__address {
        color: rgba(113, 113, 113, 1);
        font-size: 1.125rem;
        font-weight: 400;
        font-family: "Century Gothic";
    }
    .footer__politics a {
        color: rgba(113, 113, 113, 1);
        font-size: 1rem;
        font-weight: 400;
        font-family: "Century Gothic";
        text-decoration: none;
        line-height: 1.5;
    }
    .footer__politics a:hover {
        color: rgba(255,157,35,1);
    }
    .footer__unp p {
        color: rgba(113, 113, 113, 1);
        font-size: 1rem;
        font-weight: 400;
        font-family: "Century Gothic";
        text-decoration: none;
        line-height: 1.5;
        margin: 0;
    }
@media (max-width: 1399px) {
    .footer__menu > ul > li > a {
        font-size: 1rem;
    }
    .footer-top .footer__menu > ul {
        grid-column-gap: 3rem;
        grid-template-areas:
        "a b"
        "c d"
        "e f";
    }
    .footer-middle .footer__grid > *:first-child,
    .footer-middle .footer__grid > *:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .footer__phone a {
        font-size: 2rem;
    }
    .footer-bottom .footer__grid {
        grid-column-gap: 2rem;
    }
    .footer-middle .footer__grid > * {
        padding: 0rem 1rem;
    }
}
@media (max-width: 1199px) {
    .footer-top .footer__menu > ul,
    .footer-middle .footer__grid {
        grid-template-areas:
        "a b"
        "c d"
        "e f";
        grid-template-columns: 1fr 1fr;
    }
    .footer-top .footer__menu > ul {
        grid-column-gap: 5rem;
    }
    .footer__menu > ul > li:nth-child(even) > a {
        text-align: right;
    }
    .footer__menu > ul > li:nth-child(odd) > a {
        text-align: left;
    }
    .footer__menu > ul > li:nth-child(even) > ul > li > a {
        justify-content: flex-end;
        text-align: right;
    }
    .footer__menu > ul > li:nth-child(odd) > ul > li > a {
        justify-content: flex-start;
        text-align: left;
    }
    .footer-middle .footer__grid {
        grid-column-gap: 5rem;
    }
    .footer-middle .footer__grid > * {
        border: none;
        border-bottom: 1px solid rgba(161, 154, 154, 1)
    }
    .footer-middle .footer__grid > *:nth-child(3),
    .footer-middle .footer__grid > *:nth-child(4) {
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .footer-middle .footer__phone {
        justify-content: flex-end;
        text-align: right;
        padding: 1rem 0rem;
    }
    .footer-middle .footer__email {
        padding: 1rem 0rem;
    }
    .footer-middle .footer__phone a {
        text-align: right;
    }
    .footer-middle .footer__socials {
        padding: 1rem 0rem;
        align-items: flex-end;
        text-align: right;
    }
    .footer-bottom .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-bottom .footer__grid {
        grid-column-gap: 1rem;
    }
}
@media (max-width: 991px) {
    .footer-top .footer__menu > ul,
    .footer-middle .footer__grid {
        grid-column-gap: 3rem;
    }
    .footer-bottom .footer__grid {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
        grid-template-areas:
        "a b"
        "c c";
    }
    .footer__address {
        grid-area: a;
    }
    .footer__politics {
        grid-area: c;
    }
    .footer__unp {
        grid-area: b;
    }
}
@media (max-width: 767px) {
    .footer-top .footer__menu > ul,
    .footer-middle .footer__grid {
        grid-column-gap: 1rem;
    }
    .footer__phone a {
        font-size: 1.5rem;
    }
}
@media (max-width: 575px) {
    .footer-top {
        padding: 3rem 0rem;
    }
    .footer-top .footer__menu > ul, .footer-middle .footer__grid,
    .footer-bottom .footer__grid {
        grid-template-areas: none;
        grid-template-columns: 1fr;
    }
    .footer-top .footer__menu > ul > li {
        grid-area: auto !important;
        position: relative;
    }
    .footer-top .footer__menu > ul > li > .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 0;
        height: 2rem;
        width: 2rem;
        background: transparent;
        border: none;
    }
    .footer-top .footer__menu > ul > li > .dropdown-toggle:after {
        content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNyAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1IDJMOC41MTg5NyA4TDIgMi41IiBzdHJva2U9IiMyNjMyMzgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIvPgo8L3N2Zz4K);
        border: none;
    }
    .footer-top .footer__menu > ul > li > .dropdown-toggle.show:after {
        transform:rotate(180deg);
    }
    .footer__menu > ul > li > ul {
        display: none !important;
    }
    .footer__menu > ul > li > ul.show {
        display: flex !important;
    }
    .footer-top .footer__menu > ul > li:nth-child(even) > a,
    .footer-top .footer__menu > ul > li:nth-child(odd) > a {
        text-align: left;
    }
    .footer-top .footer__menu > ul > li:nth-child(even) > ul > li > a,
    .footer-top .footer__menu > ul > li:nth-child(odd) > ul > li > a {
        justify-content: flex-start;
        text-align: left;
    }
    .footer-middle .footer__grid > *:first-child, 
    .footer-middle .footer__grid > *:nth-child(2),
    .footer-middle .footer__grid > *:nth-child(3), 
    .footer-middle .footer__grid > *:nth-child(4) {
        align-items: center;
        border: none
    }
    .footer-middle .footer__grid > *:first-child {
        padding-bottom: 0.5rem;
        padding-right: 0rem;
    }
    .footer-bottom .footer__grid > * {
        grid-area: auto;
        display: flex;
        justify-content: center;
        padding: 0rem;
        text-align: center;
    }
}