/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    margin-top: auto; /* used to affix footer at bottom of page */
}

/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    position: relative;
    background: #ffffff;
    padding: 54px 0 24px;
    z-index: 99;
}

.page-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #EFEFEF;
    z-index: -1;
}

body.home .page-footer::before {
    content: none;
}

.footer-logo {
    width: 164px;
    margin: 0 0 40px;
}

.footer-logo a {
    border: none;
}

.footer-logo img {
    width: 100%;
}

.social-icon {
    display: flex;
    flex-wrap: wrap;
}

.social-icon a {
    border: none;
    font-weight: normal;
    color: #000000;
    border: none;
    font-size: 27px;
    margin-right: 15px;
    transition: all .4s ease-in-out;
}

.social-icon a span {
    color: #fff;
    background: #333333;
    padding: 6px;
    border-radius: 2px;
}

.social-icon a:last-child {
    margin-right: 0;
}

.social-icon a:hover {
    color: #014937;
    background: transparent;
}

.footer-box {
    margin-bottom: 20px;
}

.footer-contact-phone,
.footer-contact-mail {
    border: none;
    color: #353535;
    font-size: 15px;
    font-weight: 300;
    position: relative; 
    padding-left: 32px;
    display: block;
    margin: 10px 0;
    border: none;
}

.footer-contact-phone::before,
.footer-contact-mail::before {
    content: "";
    font-family: 'icomoon';
    position: absolute;
    top: 4px;
    left: 0;
    font-size: 17px;
    color: #333333;
}

.footer-contact-phone::before {
    content: "\e918";
}

.footer-contact-mail::before {
    content: "\e912";
}

.footer-contact-phone:hover,
.footer-contact-mail:hover {
    border: none;
    background: transparent;
    color: #01916D;
}

.footer-box .btn {
    margin-top: 20px;
}

.copyrights ul {
    margin: 0;
    padding: 0;
}

.copyrights  ul li {
    padding: 0;
    margin: 0 0 8px;
    color: #353535;
    font-size: 14px;
    font-weight: 300;
    width: 100%;
    letter-spacing: unset;
}

.copyrights  ul li:before {
    display: none;
}

.copyrights  ul li:last-child {
    margin-bottom: 0;
}

.copyrights  ul li a {
    color: #353535;
    font-size: 14px;
    font-weight: 300;
    border: none;
    background: transparent;
}

.copyrights  ul li a:hover {
    color: #01916D;
}

.backtop {
    text-align: center;
}

.back-to-top {
    display: inline-block;
    border: none;
    font-size: 14px;
    color: #014937;
    font-weight: 300;
    background: transparent;
    transition: all .4s ease-in-out;
}

.back-to-top-icon {
    color: #ffffff;
    width: 48px;
    height: 48px;
    background: #014937;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 0;
    text-align: center;
    font-size: 14px;
    transition: all .4s ease-in-out;
    margin-bottom: 5px;
    border-radius: 2px;
}

.back-to-top:hover {
    color: #353535;
    border: none;
    background: transparent;
}

.back-to-top:hover .back-to-top-icon {
    background: #353535;
}

.quick-links-footer ul {
    margin: 0;
    padding: 0;
}

.quick-links-footer ul li {
    padding: 0;
    margin: 0 0 6px;
    letter-spacing: unset;
    font-weight: 300;
    font-size: 16px;
}

.quick-links-footer ul li:last-child {
    margin-bottom: 0;
}

.quick-links-footer ul li:before {
    display: none;
}

.quick-links-footer ul li a {
    color: #353535;
    border: none;
    font-weight: 300;
    background: transparent;
}

.quick-links-footer ul li a:hover {
    border: none;
    background: transparent;
    color: #014937;
}

.cta-half-and-half + .page-footer:before {
    content: none;
}

@media( max-width:1024px ) {
    .backtop {
        clear: both;
    }
}

@media(max-width: 300px){
    .social-icon a {
        margin-right: 10px;
    }
}

@media (min-width: 768px) {
    .page-footer {
        padding: 76px 0 40px;
    }

    .page-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        /* background: linear-gradient(90deg, #00B1E8 0%, #00AA54 19.7%, #EADB35 39.9%, #F8982F 60.1%, #EF263E 80.3%, #E90684 100%); */
        background: #014937;
    }

    .page-footer::after {
        height: 90px;
    }

    .footer-logo {
        width: 226px;
        margin: 0;
    }

    .footer-box {
        margin-bottom: 36px;
    }

    .footer-contact-phone, 
    .footer-contact-mail {
        margin: 8px 0;
    }

    .footer-box .btn {
        margin-top: 18px;
    }

    .copyrights ul li {
        margin: 0 0 12px;
    }

    .quick-links-footer ul li {
        font-size: 18px;
    }

    .back-to-top-icon {
        margin-bottom: 5px;
    }
}

@media (min-width: 1200px) {
    .page-footer {
        padding: 88px 0 78px;
    }

    .page-footer::after {
        display: none;
    }

    .copyrights ul {
        text-align: center;
        display: flex;
        justify-content: space-evenly;
        max-width: 95%;
        margin: auto;
    }

    .copyrights ul li {
        width: auto;
        display: inline-block;
        font-size: 16px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .copyrights ul li,
    .copyrights ul li a{
        font-size: 16px;
    }

    .copyrights ul li:last-child {
        margin-right: 0;
    }

    .footer-contact-phone, 
    .footer-contact-mail {
        margin: 0 0 14px;
    }

    .footer-box {
        margin-bottom: 48px;
    }


}

@media (min-width: 1366px) {
    .back-to-top-icon {
        margin-bottom: 8px;
    }

    .footer-contact-phone, 
    .footer-contact-mail {
        font-size: 18px;
    }

    .footer-contact-phone::before, 
    .footer-contact-mail::before {
        font-size: 18px;
        top: 7px;
    }

    .copyrights ul {
        max-width: 80%;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .footer-box .btn {
        font-size: 14px;
        padding: 20px 25px;
    }
}

@media (min-width: 1800px) {
    .back-to-top {
        font-size: 18px;
    }
}

.footer-archive__wrapper {
    text-align: center;
    left: 0;
    right: 0;
    margin-top: 25px;
}

.footer-archive__wrapper a {
    font-family: 'Clarimo UD PE', sans-serif;
    border-radius: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-archive__wrapper a i {
    margin-right: 10px;
}

.truste-close-button,
.truste-close-button:hover {
    cursor: pointer;
    outline: none;
    border-bottom: none;
}

#truste-consent-content #truste-consent-text {
    color: #555;
    font-size: 16px;
    line-height: 1.5em;
}

.social-icon a:hover span {
    background: #01916D;
}

/* Make back-to-top button sticky on tablet/desktop */

@media screen and (max-width: 899px) {
    .page-footer {
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 900px) {
    .backtop {
        position: fixed;
        right: 0;
        bottom: 50px;
    }
    
    a.back-to-top {
        color: #7f7f7f;
        font-weight: bold;
    }

    a.back-to-top:hover {
        color: #7f7f7f;
    }

    a.back-to-top:hover .back-to-top-icon {
        background: #05916d;
    }
    
    .back-to-top-icon {
        border: 2px solid white;
    }
}