.site-footer {
    font-family: inherit;
    padding: 30px 0;
    color: #8A8A8A;
    background: #191919;
}

.site-footer .layout-container {
    max-width: 1280px;
    margin: auto;
    padding: 0 15px;
}

#page-wrapper > footer > div > div {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    column-gap: 30px;
}


@media all and (min-width: 560px) {
    .site-footer__top .region {
        float: left; /* LTR */
        position: relative;
        width: 50%;
    }

    [dir="rtl"] .site-footer__top .region {
        float: right;
    }
}

@media all and (min-width: 560px) and (max-width: 850px) {
    .site-footer .region {
        box-sizing: border-box;
    }

    .site-footer__top .region:nth-child(2n+1) {
        padding-right: 10px; /* LTR */
    }

    [dir="rtl"] .site-footer__top .region:nth-child(2n+1) {
        padding-left: 10px;
        padding-right: 0;
    }

    .site-footer__top .region:nth-child(2n) {
        padding-left: 10px; /* LTR */
    }

    [dir="rtl"] .site-footer__top .region:nth-child(2n) {
        padding-left: 0;
        padding-right: 10px;
    }

    .region-footer-third {
        clear: both;
    }
}

.site-footer h2 {
    color: #c0c0c0;
    color: rgba(255, 255, 255, 0.65);
}

.site-footer blockquote {
    color: #555;
}

.site-footer .content {
    color: #c0c0c0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.857em;
}

.site-footer .menu-item {
    padding: 0;
}

.site-footer .content ol:not(.menu),
.site-footer .content ul:not(.menu) {
    padding-left: 1.4em; /* LTR */
}

[dir="rtl"] .site-footer .content ol:not(.menu),
[dir="rtl"] .site-footer .content ul:not(.menu) {
    padding-right: 1.4em;
    padding-left: 0;
}

.site-footer .content a,
.site-footer .content a.is-active {
    color: #fcfcfc;
    color: rgba(255, 255, 255, 0.8);
    border: 0;
}

.site-footer .content a:hover,
.site-footer .content a:focus {
    color: #fefefe;
    color: rgba(255, 255, 255, 0.95);
}

.site-footer .block {
    margin: 0;
    border: 0;
    padding: 0;
}


.site-footer table {
    width: 50%;
    font-size: 1em;
    margin: 0 auto;
    color: inherit;
    background: transparent;
}

.site-footer tr {
    background: none;
    border: 0;
}

.site-footer tr td,
.site-footer tr th {
    border-color: transparent;
    border-color: transparent;
    text-align: center;
    padding: 10px;
}

.site-footer tr.odd {
    background-color: transparent;
}

.site-footer tr.even {
    background-color: #2c2c2c;
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid #333;
    padding: 10px;
}

/* Footer Top Styling. */
.site-footer__top h2 {
    border-bottom: 1px solid darkslategrey;
    /* border-color: rgba(255, 255, 255, 0.15); */
    font-size: 1.1em;
    margin: 0.1em 0 0 0;
    padding-bottom: 4px;
    text-transform: none;
    color: darkslategrey;
    font-weight: 600;
}

.site-footer__top .content {
    margin-top: 0;
}

.site-footer__top p {
    margin-top: 0;
}

.site-footer__top .content .menu {
    padding-left: 0; /* LTR */
}

[dir="rtl"] .site-footer__top .content .menu {
    padding-right: 0;
}

.site-footer__top .content li a {
    display: block;
    border-bottom: 1px solid #555;
    border-color: rgba(255, 255, 255, 0.15);
    line-height: 1.2;
    /*padding: 0.8em 2px 0.8em 20px;
    text-indent: -15px;*/
    padding: 0.8em 2px 0.8em 0;
    text-indent: 0;
}

[dir="rtl"] .site-footer__top .content li a {
    padding: 0.8em 20px 0.8em 2px;
}

.site-footer__top .content li a:hover,
.site-footer__top .content li a:focus {
    background-color: #1f1f21;
    background-color: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.site-footer__top .block-menu,
.site-footer__bottom .block {
    margin: 0;
    padding: 0;
    border: none;
}

/* Footer Bottom Styling. */
.site-footer__bottom .block {
    margin: 0.5em 0;
}

.site-footer__bottom .content {
    padding: 0.5em 0;
    margin-top: 0;
}

.site-footer__bottom .block h2 {
    margin: 0;
}

.site-footer__bottom {
    letter-spacing: 0.2px;
    margin-top: 30px;
    border-top: 1px solid #555;
    border-color: rgba(255, 255, 255, 0.15);
}

.site-footer__bottom .region {
    margin-top: 20px;
}

.site-footer__bottom .block {
    clear: both;
}

/* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
.site-footer__bottom .block .menu {
    padding: 0;
}

.site-footer__bottom .menu-item a {
    float: left; /* LTR */
    padding: 0 12px;
    display: block;
    border-right: 1px solid #555; /* LTR */
    border-color: rgba(255, 255, 255, 0.15);
}

[dir="rtl"] .site-footer__bottom .menu-item a {
    float: right;
    border-left: 1px solid #555;
    border-right: none;
}

.site-footer__bottom .menu-item:first-child a {
    padding-left: 0; /* LTR */
}

[dir="rtl"] .site-footer__bottom .menu-item:first-child a {
    padding-right: 0;
    padding-left: 12px;
}

.site-footer__bottom .menu-item:last-child a {
    padding-right: 0; /* LTR */
    border-right: none; /* LTR */
}

[dir="rtl"] .site-footer__bottom .menu-item:last-child a {
    padding-left: 0;
    padding-right: 12px;
    border-left: none;
}

/**
 * When the item is both first and last, :last-child overrides the right padding
 * when using [dir="rtl"]. We need this rule to remove the right padding.
 */
[dir="rtl"] .site-footer__bottom .menu-item:first-child:last-child a {
    padding-right: 0;
}


.site-footer__top .region-footer-third {
    float: right;
    text-align: right;
}

.site-footer__top #block-leconseilconsultatifdedeveloppement .content li a {
    display: block;
    border-bottom: 1px solid #555;
    border-color: rgba(255, 255, 255, 0.15);
    line-height: 1.2;
    padding: 0.8em 2px 0.8em 20px;
    text-indent: -15px;
    color: darkslategrey;
}

#block-leconseilconsultatifdedeveloppement .text-formatted ul {
    margin: 0;
}


@media all and (min-width: 851px) {
    .site-footer__top .region {
        /*width: 24%;
        padding: 0 0.65%;*/
        width: inherit;
        padding: 0 0.65% 0 0;
    }

    [dir="rtl"] .site-footer__top .region:first-child {
        padding-left: 10px;
        padding-right: 0;
    }

    .site-footer__top .region:last-child {
        padding-right: 0; /* LTR */
    }

    [dir="rtl"] .site-footer__top .region:last-child {
        padding-left: 0;
        padding-right: 10px;
    }
}

@media screen and (max-width: 1023px) {

    #page-wrapper > footer > div > div {
        display: contents;
    }

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