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

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

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

.page-footer {
    color: #004A46;
    background: #FEF5E2;
    position: relative;
    z-index: 10;
}

.footer-top {
    padding: 20px 0 0;
    text-align: center;
    background: #FEF5E2;
}

.page-footer ul,
.page-footer ul li {
    margin: 0;
    padding: 0;
}

.page-footer a {
    font-weight: normal;
}

.page-footer ul li::before,
.page-footer a::after {
    display: none;
}

.footer-logo {
    max-width: 153px;
    margin: 0 auto 20px;
}

.footer-col {
    padding-bottom: 27px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #CB4E96;
    line-height: 1.2em;
    text-transform: uppercase;
    padding: 0 0 8px;
}

.footer-col p {
    line-height: 1.66em;
    color: #004A46;
    padding: 0 ;
}

.footer-col p a {
    color: #004A46;
    font-size: 18px;
    white-space: nowrap;
}

.footer-social-media ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer-social-media ul li {
    padding: 0 6px;
}

.footer-social-media ul li a {
    padding: 0 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #65C8C7;
    display: block;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #FFFFFF;
}

.footer-social-media ul li.instagram a {
    background: #F6C254;
}

.footer-social-media ul li.tic-tok a {
    background: #EF96A6;
}

.footer-bottom {
    position: relative;
    padding: 40px 0 0;
    background: #FEEED0;
}

.footer-bottom svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.footer-bottom p {
    padding: 0 0 18px;
    font-size: 12px;
    color: #004A46;
    line-height: 2em;
}

.footer-secondary-menu ul li {
    padding: 5px 0;
    font-size: 12px;
    color: #004A46;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-secondary-menu ul li a {
    padding: 0 0 0;
    font-size: 12px;
    color: #004A46;
    font-weight: 700;
    text-transform: uppercase;
}

.back-top-btn {
    text-align: right;
    padding-top: 20px;
    margin-right: -22px;
}

.back-top-btn a {
    padding: 12px 52px 9px 40px;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    background: #65C8C7;
    display: inline-block;
    border-radius: 60px 0 0 0;
}

.back-top-btn a i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #65C8C7;
    font-size: 9px;
    text-align: center;
    line-height: 1.8em;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 5px 6px;
}

.DM-logo {
    margin-left: auto;
    max-width: 80px;
}

.footer-social-media {
    padding-bottom: 10px;
}

.footer-top-wave {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.page-footer svg.footer-top-wave {
    width: 100%;
    position: absolute;
    left: 0;
    top: -35px;
    z-index: 5;
    height: 50px;
}

.quick-link ul li {
    padding-bottom: 15px;
    padding-top: 10px;
    line-height: 1em;
}

.quick-link ul li a {
    color: #004A46;
    font-size: 18px;
    /*font-family: 'lexendlight';*/
    font-weight: normal;
    line-height: 1.3em;
}

.accreditations-logo {
    padding-top: 27px;
}

.accreditations-logo ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.accreditations-logo li img {
    width: auto;
    margin: 10px;
    height: auto;
    max-height: 50px;
    object-fit:contain;
}

@media (max-width: 767px) {
	.accreditations-logo li img {
		width: auto;
		max-height: 60px;
	}
}

@media (min-width: 600px) {
    .page-footer svg.footer-top-wave {
        top: -41px;
    }
}

@media (min-width: 768px) {
    .footer-row-flex {
        flex-direction: row-reverse;
    }

    .page-footer svg.footer-top-wave {
        top: -42px;
        height: auto;
    }

    .footer-top {
        padding: 0;
        padding-top:20px;
        text-align: left;
    }

    .footer-logo {
        max-width: 200px;
        margin: 0 0 20px;
    }

    .footer-col h4 {
        font-size: 16px;
        padding: 0 0 4px;
    }

    .footer-col p {
        font-size: 18px;
    }

    .headquarters {
        padding-top: 5px;
    }

    .footer-social-media ul {
        justify-content: flex-start;
    }

    .footer-social-media ul li:first-child {
        padding-left: 0;
    }

    .footer-bottom {
        padding: 70px 0 0;
    }

    .footer-secondary-menu ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

    .footer-secondary-menu ul li {
        padding: 5px 25px 10px 0;
    }

    .back-top-btn {
        padding-top: 0;
        margin-right: -52px;
        margin-top: -14px;
    }

    .DM-logo {
        position: absolute;
        right: 52px;
        bottom: 72px;
        max-width: 94px;
    }
}
@media (min-width: 900px) {
    .page-footer svg.footer-top-wave {
        top: -90px;
        height: 92px;
    }
}

@media (min-width: 1200px) {
    .footer-row-flex {
        flex-direction: row;
        padding-top: 78px;
    }

    .page-footer svg.footer-top-wave {
        top: -69px;
        height: auto;
    }

    .DM-logo {
        right: 0;
    }

    /*.footer-row-flex > div {
        width: calc((100% - 275px) / 3);
    }

    .footer-row-flex > div:last-child {
        width: 275px;
    }*/

    .footer-bottom {
        padding: 95px 0 40px;
    }

    .footer-bottom p {
        padding: 0 0 10px;
        font-size: 14px;
        line-height: 1.7em;
    }

    .footer-secondary-menu ul li {
        padding: 0 50px 0 0;
        font-size: 13px;
    }

    .footer-secondary-menu ul li a {
        font-size: 13px;
    }

    .footer-secondary-menu ul {
        padding-top: 22px;
    }

    .footer-bottom__col {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    .back-top-btn {
        padding-top: 0;
        margin-right: 0;
        margin-top: 22px;
        position: absolute;
        right: 0;
    }

    .back-top-btn a {
        padding: 0 0 0 0;
        font-size: 14px;
        color: #00817B;
        background: transparent;
        display: inline-block;
        border-radius: 0 0 0 0;
    }

    .back-top-btn a i {
        background: #00817B;
        color: #FFFFFF;
        margin: 0 0 6px 6px;
    }

    .footer-col p a:hover,
    .quick-link ul li a:hover,
    .footer-secondary-menu ul li a:hover,
    .back-top-btn a:hover {
        color: #CB4E96;
    }

    .back-top-btn a:hover i {
        background: #CB4E96;
        color: #FFFFFF;
    }

    .footer-social-media ul li a:hover {
        background: #47AAA9;
    }

    .footer-social-media ul li.instagram a:hover {
        background: #E6B244;
    }

    .footer-social-media ul li.tic-tok a:hover {
        background: #f24db6;
    }
}

@media (min-width: 1366px) {
    .footer-logo {
        max-width: 278px;
        margin: 0 0 10px;
    }

    .footer-row-flex {
        padding-top: 110px;
    }

    .footer-col {
        padding-bottom: 32px;
    }

    .footer-bottom svg {
        position: absolute;
        left: 0;
        top: -20px;
        width: 100%;
    }

    .footer-top {
        position: relative;
        z-index: 6;
    }

    .footer-social-media {
        padding-bottom: 0;
    }

    .footer-bottom {
        padding: 95px 0 40px;
    }
    
}

@media (min-width: 1500px) {
    .page-footer svg.footer-top-wave {
        top: -86px;
    }
}

@media (min-width: 1800px) {
    .page-footer svg.footer-top-wave {
        top: 0;
        transform: translateY(-100%);
    }

    .footer-bottom {
        padding: 125px 0 40px;
    }

    .footer-top {
        padding: 0;
    }
}

.bialty-container .module:last-of-type,
.section-container .module:last-of-type,
.section-container .bialty-container .module:last-of-type {
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .bialty-container .module:last-of-type,
    .section-container .module:last-of-type,
    .section-container .bialty-container .module:last-of-type {
        padding-bottom: 6%;
    }
} 


/* reduce 80% */
@media (min-width: 1200px) and (max-width: 1550px) {
    .footer-col h4,
    .footer-col p,
    .quick-link ul li a,
    .footer-col p a {
        font-size: 14px;
    }

    .footer-logo {
        max-width: 222px;
        margin: 0 0 10px;
    }
}


/*
*** -----------------------------------
** Screen Resizing  -------------------------------------TEMP DISABLED
*** -----------------------------------

@media ( min-width: 1280px ) and ( max-width: 1799px ) {
    .footer-top > .container,
    .footer-bottom > .container {
        transform: scale( 0.8 ) !important;
        -moz-transform: scale( 0.8, 0.8 ) !important;
        -ms-transform: scale( 0.8 ) !important;
        -webkit-transform: scale( 0.8 ) !important;
    }

    .footer-top {
        padding-top: 100px;
    }

    .footer-top > .container {
        margin-top: -150px;
    }
}*/