/**
 * @file
 * Subtheme specific CSS.
 */

@media only screen and (min-width: 851px) {
    .site-footer__top .region:first-child {
        padding-left: 0;
        width: 40%;
    }
    .site-footer__top .region-footer-second {
        width: 51%;
    }
    .site-footer__top .region:last-child {
        width: 15%;
    }
}

.site-footer__top .region-footer-second .content li a {
    border: none;
    line-height: 1.2;
    position: relative;
    display: block;
    padding: 10px 15px !important;
    text-indent: unset;
}

.region-footer-first {
    margin-bottom: 40px !important;
}

.footer_content {
    width: 100% !important;
}

footer.site-footer {
    border: none;
    background-color: #047b8d !important;
    color: #fff;
    /* margin: 120px 0 0;*/
    z-index: 1;
    position: relative;
    padding: 0 0 20px;
}

.site-footer .block {
    margin: 0 !important;
    border: none !important;
    /* padding: 0 !important;*/
}


/*.site-footer .content a, .site-footer .content a.is-active {
    color: white;
    font-size: 0.98em !important;
}*/

.site-footer .region-footer-second a {
    color: white;
    font-size: 0.98em !important;
}

.site-footer .content a,
ul.sf-menu a,
ul.sf-menu span.nolink {
    padding: 1em 0.85em !important;
}

.site-footer::before {
    background: inherit;
    height: 240px;
    left: -25%;
    top: 0;
    -webkit-transform: rotate( -2.49deg);
    -ms-transform: rotate(-2.49deg);
    -o-transform: rotate(-2.49deg);
    transform: rotate( -2.49deg);
    transform-origin: 0 0 0;
    width: 130%;
    z-index: -1;
    content: unset;
    position: absolute;
}

.site-footer .container {
    margin-top: 80px !important;
}

#block-liensgauchedupieddepage li {
    float: left !important;
    display: table !important;
    text-align: center !important;
    margin-left: 28px !important;
    padding: 6.8% 0% !important;
}

#block-liensgauchedupieddepage li::before {
    border: 1px solid white !important;
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: -1 !important;
    transition: all 0.1s ease !important;
    width: 100% !important;
    height: 100% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#block-liensgauchedupieddepage #liens-gauche-du-pied-de-page-menu-link-contentcc732e9b-5684-41a0-bebc-7141f604dd26::after {
    border: 0.5px solid white !important;
    content: "" !important;
    position: absolute !important;
    top: 60% !important;
    left: 125% !important;
    transform: translate(-50%, -50%) !important;
    z-index: -1 !important;
    width: 0.1px !important;
    height: 195% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#block-liensgauchedupieddepage a {
    text-transform: uppercase !important;
    font-size: 0.8em !important;
    text-align: center !important;
    text-indent: unset;
    border: none;
}

#block-liensgauchedupieddepage li:hover a {
    color: #262626 !important;
}

#block-liensgauchedupieddepage li:hover::before {
    background-color: white;
}

#block-liensgauchedupieddepage a:hover {
    text-decoration: none;
}

.site-footer .region-footer-third {
    margin-bottom: 25px;
}

@media only screen and (max-width: 991px) {
    .site-footer .row {
        /*margin-top: 56px;*/
    }
}

@media only screen and (max-width: 767px) {
    .offset-sm-3 {
        margin-left: 15%;
    }
    .site-footer .row {
        margin-top: 70px;
    }
    .site-footer .region {
        box-sizing: border-box;
        margin-top: 7%;
    }
    #block-liensgauchedupieddepage li {
        float: left !important;
        display: table !important;
        text-align: center !important;
        margin-left: 18px !important;
        padding: 2.8% 0% !important;
    }
    #block-liensgauchedupieddepage li::before {
        border: 1px solid white !important;
        content: "" !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: -1 !important;
        transition: all 0.1s ease !important;
        width: 91% !important;
        height: 144% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    #block-liensgauchedupieddepage #liens-gauche-du-pied-de-page-menu-link-contentcc732e9b-5684-41a0-bebc-7141f604dd26::after {
        border: 0.5px solid white !important;
        content: "" !important;
        position: absolute !important;
        top: 62% !important;
        left: 124% !important;
        transform: translate(-50%, -50%) !important;
        z-index: -1 !important;
        width: 0.1px !important;
        height: 280% !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .site-footer .region-footer-second {
        width: 447px;
        margin-left: -35%;
    }
    .site-footer .region-footer-third {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 639px) {
    .site-footer .row {
        margin-top: 22px;
    }
    .site-footer .container {
        margin-top: 194px !important;
    }
}

@media only screen and (max-width: 576px) {
    .site-footer .row {
        margin-top: 30px;
    }
    .site-footer .region-footer-second {
        width: 447px;
        margin-left: -71px;
    }
    .site-footer .region-footer-third {
        margin-left: 3%;
    }
}

@media only screen and (max-width: 375px) {
    .offset-sm-3 {
        margin-left: 6%;
    }
    .site-footer .region-footer-second {
        width: 300px;
        margin-left: -3%;
    }
    .site-footer .region-footer-third {
        margin-left: -7%;
        padding: 25px;
        margin-bottom: 0;
        margin-top: 0 !important;
    }
}