@font-face {
    font-family: "Icons";
    src: url("../ico/drupal_ddx_femto.eot?99527027");
    src: url("../ico/drupal_ddx_femto.eot?99527027#iefix")
            format("embedded-opentype"),
        url("../ico/drupal_ddx_femto.woff2?99527027") format("woff2"),
        url("../ico/drupal_ddx_femto.woff?99527027") format("woff"),
        url("../ico/drupal_ddx_femto.ttf?99527027") format("truetype"),
        url("../ico/drupal_ddx_femto.svg?99527027#Icons") format("svg");
}

body {
    margin: 0;
    background-color: #f3f3f3;
}
header,
section,
main,
aside,
footer,
article,
div,
p,
ul,
ol,
figure {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
iframe {
    display: block;
    width: 100%;
}

.wrap {
    max-width: 1200px;
    padding: 10px;
    margin: auto;
}
.wrap:after {
    content: "";
    display: block;
    height: 1px;
    clear: both;
    overflow: hidden;
}
.no-sidebars .wrap {
    max-width: 900px;
}
.block h3.block-title {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 25px;
}

#banner {
    position: relative;
    margin-top: 60px;
}
#banner .wrap {
    padding: 0;
    background-color: #fff;
}

.region-header {
    position: relative;
}

.region-header .bean.entete-du-site {
    margin-top: -120px;
    min-height: 180px;
    position: relative;
}
.region-header .bean.entete-du-site > figure.user-picture {
    margin: 0 3%;
    padding: 0;
    border-radius: 5px;
    width: 180px;
    height: 180px;
    border: 0px none;
    padding: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
    -moz-box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
    box-shadow: 0px 0px 10px rgba(125, 125, 125, 0.5);
}
.region-header .bean.entete-du-site > figure.user-picture img {
    display: block;
}

.region-header .bean.entete-du-site > .site-name {
    color: var(--current_color);
    font-size: 42px;
    line-height: 40px;
    position: absolute;
    top: 82%;
    left: 0;
}
.region-header .bean.entete-du-site > .site-slogan {
    text-transform: capitalize;
    font-weight: bold;
    color: #fff;
    font-size: 36px;
    line-height: 34px;
    position: absolute;
    top: 10px;
    left: 0;
    width: calc(97% - 240px);
}
.region-header .bean.entete-du-site > .site-name,
.region-header .bean.entete-du-site > .site-slogan {
    margin-left: 3%;
}
.region-header .bean.entete-du-site > figure.user-picture + .site-name,
.region-header
    .bean.entete-du-site
    > figure.user-picture
    + .site-name
    + .site-slogan {
    margin-left: 230px;
    margin-left: calc(3% + 200px);
}

.region-header .bean.banner {
    clear: both;
    position: relative;
    z-index: 0;
    border-bottom: 10px solid #f3f3f3;
}
.region-header .bean.banner::after {
    content: "";
    position: absolute;
    background: linear-gradient(0deg, #00000038 0%, #ffffff00 55%, #ffffff00 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.region-header .bean.banner > img {
    object-fit: cover;
    height: 300px !important;
    background-color: var(--current_color);
    display: block;
}

.block.menu > ul {
    margin: 0;
    padding: 0;
}
.block.menu > ul li {
    margin: 0;
    list-style: outside none none;
    display: inline-block;
    margin: 0;
    position: relative;
}
.block.menu > ul a,
.block.menu > ul span {
    display: block;
    color: #333;
    display: block;
    padding: 15px 7px;
    overflow: hidden;
}
.block.menu > ul li a:hover,
.block.menu > ul li span:hover {
    background-color: var(--current_light_color);
    color: #fff;
}

.region-femto-bar {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: auto;
    font-size: 14px;
    line-height: 20px;
}

.block.menu.language {
    margin: 5px 0;
    padding: 10px 15px;
    border-left: 1px solid #ccc;
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #868686;
    font-weight: bold;
}
.block.menu.language > ul li {
    float: left;
}
.block.menu.language > ul li .language-link {
    display: block;
    padding: 0;
    line-height: 20px;
    height: 30px;
    overflow: hidden;
}
.block.menu.language > ul li .language-link:hover {
    background: transparent;
    color: inherit;
}
.block.menu.language > ul li .language-link:before {
    content: "en";
    text-transform: uppercase;
    width: 20px;
    float: left;
    text-align: center;
    height: 30px;
    line-height: 30px;
    color: #868686;
}
.block.menu.language > ul li .language-link.locale-untranslated:before {
    text-decoration: line-through;
}
.block.menu.language > ul li[hreflang="fr"] .language-link:before {
    content: "fr";
    float: right;
}

.block.menu-femto-menu > ul li a {
    display: block;
    padding: 8px 10px 2px;
    overflow: hidden;
    height: 50px;
    color: #868686;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block.menu-femto-menu > ul li.link-to-home a {
    text-align: center;
}
.block.menu-femto-menu > ul li[class*="link-to-"] a:before {
    content: " ";
    height: 31px;
    min-width: 30px;
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.45;
}
.block.menu-femto-menu > ul li.link-to-home a:before {
    background-image: url(../../femto/ui/i-home.png);
}
.block.menu-femto-menu > ul li.link-to-actu a:before {
    background-image: url(../../femto/ui/i-news.png);
}
.block.menu-femto-menu > ul li.link-to-publi a:before {
    background-image: url(../../femto/ui/i-publis.png);
}
.block.menu-femto-menu > ul li.link-to-contact a:before {
    background-image: url(../../femto/ui/i-mail.png);
}

.region-navigation {
    position: absolute;
    width: 100%;
    top: 0px;
    max-width: 1200px;
    margin: auto;
    font-size: 14px;
    line-height: 20px;
}

.block.menu.sections a.menu-toggle {
    display: none;
}

.block.menu.sections li {
    padding: 0;
}
.block.menu.sections li a,
.block.menu.sections li span {
    padding: 8px 10px;
    line-height: 1em;
    border-radius: 0;
}
.block.menu.sections li a.is-active {
    background-color: var(--current_light_color);
    color: #fff;
    opacity: 0.7;
    cursor: default;
}

.main-container {
    width: 100%;
    background-color: #fff;
    margin-top: -60px;
    padding-top: 60px;
}
main {
    padding: 0 5% 50px;
}
.region-content {
    min-height: 200px;
}

aside {
    padding: 0 5%;
}

.region-sidebar-first > .block {
    border-top: 1px solid #ccc;
    margin-bottom: 30px;
}
.region-sidebar-first > .block:first-child {
    border-top: 0;
}
.region-sidebar-first > .block h3.block-title {
    color: var(--current_color);
    margin-top: 25px;
}
.region-sidebar-first > .block h3.block-title a {
    color: inherit;
}

.block.menu.sections > ul.menu li {
    display: block;
}
.block.menu.sections > ul.menu ul.menu {
    padding-left: 0;
    margin-left: 1em;
    border-left: 1px solid #ddd;
}

.block.sub-menu:before {
    content: "";
    position: absolute;
    width: 125%;
    height: 125%;
    z-index: -1;
    top: -10%;
    left: -25%;
    border-bottom: 1px solid #ccc;
    margin-top: -1px;
}
.block.sub-menu:after {
    content: "";
    background-color: #d8d8d8;
    position: absolute;
    width: 1px;
    height: 125%;
    z-index: 0;
    top: -10%;
    left: -25%;
    margin-left: -1px;
    border-bottom: 20px solid #fff;
}
.block.sub-menu h3.block-title:before {
    content: ">>";
    position: absolute;
    top: 10px;
    left: -92px;
    width: 1px;
    height: 1px;
    border: 15px solid transparent;
    border-right-color: #d8d8d8;
    z-index: 1;
    overflow: hidden;
}
.block.sub-menu h3.block-title:after {
    content: ">>";
    position: absolute;
    top: 10px;
    left: -90px;
    width: 1px;
    height: 1px;
    border: 15px solid transparent;
    border-right-color: #ffffff;
    z-index: 1;
    overflow: hidden;
}
.block.sub-menu > ul {
    padding: 0;
}

.block.sub-menu + .block {
    border-top-color: #fff;
    padding-top: 20px;
}

.latest-news h3.block-title a {
    display: block;
    padding: 5px 5px 3px 5px;
    border-radius: 3px;
}
.latest-news h3.block-title a:after {
    content: "\e80f";
    float: right;
    font-family: Icons;
    font-weight: normal;
    color: #ccc;
}
.latest-news h3.block-title a:hover {
    background-color: #eee;
    color: inherit;
}
.latest-news h3.block-title a:hover:after {
    color: inherit;
}
.view.news.block-aside ul {
    padding-left: 1.5em;
}
.view.news.block-aside ul li {
    list-style-type: disc;
}
.view.news.block-aside ul li a {
    color: inherit;
    margin: 10px 0;
}
.view.news.block-aside ul li a:hover {
    text-decoration: underline;
}

.partner-link {
    display: block; /* width: 100px;*/
    margin: 30px 0 0;
    font-weight: bold;
    color: #666;
    font-size: 18px;
    line-height: 16px;
    text-align: center;
}
.partner-name {
    padding: 10px;
    background-color: #eee;
    min-width: 100px;
    display: block;
}

footer {
    font-size: 12px;
    background-color: #f1f1f1;
    height: 30px;
    overflow: hidden;
}
footer p.last-update {
    float: left;
    margin: 0;
    font-size: 11px;
}
footer ul {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 300px;
    float: right;
}
footer li {
    list-style: outside none none;
    display: inline-block;
    margin: 0 2px;
}
footer a {
    color: inherit;
}
footer a:hover {
    text-decoration: underline;
}

/*
 * RESPONSIVE CONTENTS
 * @media screen and (min-width: 200px) and (min-width: 960px) {}
 */

@media screen and (min-width: 960px) {
    #banner {
        z-index: 1;
    }
    #banner .banner-bg:before {
        content: "";
        display: block;
        height: 50px;
        background-color: #fff;
    }

    .block.menu.language {
        float: right;
    }
    .block.menu.language > ul {
        position: relative;
    }
    .block.menu.language > ul:before {
        border: 2px solid #868686;
        border-radius: 50px;
        content: " ";
        display: block;
        position: absolute;
        z-index: -1;
        width: 30px;
        height: 15px;
        left: 50%;
        top: 5px;
        margin-left: -17px;
    }
    .block.menu.language > ul li .language-link {
        width: 40px;
        position: relative;
    }
    .block.menu.language > ul li.is-active .language-link:after {
        content: " ";
        width: 7px;
        height: 7px;
        border-radius: 10px;
        position: absolute;
        top: 9px;
        right: 2px;
        border: 2px solid #868686;
        background-color: #f3f3f3;
    }
    .block.menu.language > ul li[hreflang="fr"].is-active .language-link:after {
        left: 2px;
    }

    .region-sidebar-first > .block.menu.sections {
        margin-bottom: 0px;
    }
    .block.menu.sections li.depth-1 > a,
    .block.menu.sections li.depth-1 > span {
        padding: 12px 10px;
        border-top: 1px solid #eee;
    }

    .main-container {
        width: 100%;
        position: relative;
        overflow: hidden;
    }
    .main-container:before {
        content: "";
        width: 0;
        height: calc(100% - 140px);
        left: 310px;
        border-left: 1px solid #d8d8d8;
        top: 60px;
        margin-top: 60px;
        position: absolute;
    }
    main {
        padding: 0 2% 0 7%;
        padding: 0 5%;
    }
    .one-sidebar main {
        margin-left: 300px;
        float: left;
        width: calc(100% - 300px);
    }
    .no-sidebars main {
        padding: 0 5%;
    }

    aside {
        width: 300px;
        float: left;
        margin-left: -100%;
        padding: 0;
        padding-top: 60px;
    }
    aside > .region {
        padding: 0 20% 20px 0;
        padding: 0 10% 20px;
    }
    .region-sidebar-first > .block:first-child {
        padding-top: 0px;
    }
}

@media screen and (max-width: 959px) {
    body {
        padding: 0px 0 27px;
    }
    #site-id {
        height: 50px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 2;
    }
    #site-id a.site-name {
        font-size: 16px;
    }

    #banner {
        margin-top: 40px;
        z-index: 0;
    }
    .region-header .bean.entete-du-site > .site-name {
        padding: 0.2em 0;
        font-size: 35px;
    }
    .region-header .bean.entete-du-site > figure.user-picture {
        width: 20%;
        margin: 0 2%;
        height: auto;
    }
    .region-header .bean.entete-du-site > .site-name,
    .region-header .bean.entete-du-site > .site-slogan {
        margin-left: 7%;
    }
    .region-header .bean.entete-du-site > figure.user-picture + .site-name,
    .region-header
        .bean.entete-du-site
        > figure.user-picture
        + .site-name
        + .site-slogan {
        margin-left: 25%;
    }

    .region-navigation {
        top: 0px;
        z-index: 1;
        height: 40px;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
    }

    .region-femto-bar {
        top: -40px;
        height: 40px;
        z-index: 2;
    }

    .block.menu.language {
        position: absolute;
        top: 5px;
        right: 40px;
        z-index: 10;
        margin: 0;
        padding: 0;
        height: 30px;
    }
    .block.menu.language > ul li:first-of-type:after {
        content: "/";
        position: absolute;
        right: -5px;
        top: -5px;
        line-height: 40px;
        font-weight: bold;
        width: 10px;
        text-align: center;
    }
    .block.menu.language > ul li .language-link {
        width: 35px;
        height: 40px;
        margin-top: -5px;
    }
    .block.menu.language > ul li .language-link:before {
        width: 35px;
        height: 40px;
        line-height: 40px;
        color: #000;
        opacity: 0.45;
    }
    /*
    .block.menu.language > ul li .language-link:hover {
        background-color: var(--current_light_color);
    }
    .block.menu.language > ul li.is-active .language-link:hover {
        background-color: transparent;
        cursor: default;
    }*/
    
    .block.menu.language > ul li .language-link:hover {
        background-color: transparent;
    }

    .block.menu-femto-menu {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 0 0 40px;
        z-index: 2;
    }
    .block.menu-femto-menu > ul li a {
        padding: 0px;
        width: 40px;
        height: 40px;
    }
    .block.menu-femto-menu > ul li[class*="link-to-"] a:before {
        width: 40px;
        height: 40px;
        background-size: 20px;
    }

    body.adminimal-menu .block.menu.sections {
        top: 69px;
    }
    .block.menu.sections {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100% !important;
        padding: 0;
        float: none;
        min-height: inherit;
        -webkit-box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
        box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
    }
    .block.menu.sections > ul.menu {
        height: 0;
        max-height: 0;
        background-color: #fff;
        overflow: hidden;
        padding: 0 5px;
        -webkit-transition: all 200ms linear;
        -moz-transition: all 200ms linear;
        transition: all 200ms linear;
    }
    .block.menu.sections a.menu-toggle {
        display: block;
        padding: 11px 10px 7px;
        position: absolute;
        top: -40px;
    }
    .block.menu.sections a.menu-toggle:before {
        content: "";
        width: 1px;
        border-right: 1px solid #9a9a9a;
        position: absolute;
        right: 0;
        height: 30px;
        top: 5px;
    }
    .block.menu.sections a.menu-toggle:after {
        content: "\f0c9";
        font-family: "Icons";
        display: inline-block;
        width: auto;
        text-align: center;
        font-variant: normal;
        font-size: 21px;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #999;
    }
    .block.menu.sections a.menu-toggle span {
        display: none;
    }
    .block.menu.sections.open > ul.menu {
        max-height: 500px;
        height: auto;
        padding: 5px;
    }

    /*.main-container{ padding: 60px 0 0; }*/

    .btn-group#navCat .btn {
        border-radius: 4px;
        margin-bottom: 11px;
        float: none;
    }
    aside {
        background-color: #f1f1f1;
        padding: 10px 5% 0;
        overflow: hidden;
    }
    .region-sidebar-first {
        margin-left: -5%;
    }
    .region-sidebar-first > .block {
        width: 33.33%;
        float: left;
        border: 0;
        padding: 20px 0 20px 5%;
        position: relative;
        min-height: 220px;
        margin-bottom: 0;
    }
    .region-sidebar-first > .block h3.block-title {
        margin-top: 10px;
    }

    .region-sidebar-first > .block.info {
        width: auto;
        float: none;
    }
    .region-sidebar-first > .block.latest-news + .block.info {
        width: 66.66%;
        float: left;
    }
    .region-sidebar-first > .block.latest-news + .block.info:before {
        content: " ";
        position: absolute;
        bottom: 12%;
        left: 3%;
        height: 80%;
        width: 1px;
        border-right: 1px solid #ddd;
    }

    .region-sidebar-first > .block.partners {
        clear: both;
        background-color: #fff;
        width: 107%;
        float: none;
        margin-left: -1%;
        margin-bottom: 0;
        padding-left: 6%;
    }
    .partner-link {
        display: inline-block;
        vertical-align: middle;
        margin: 16px;
    }
}

@media screen and (max-width: 768px) {
    /*.region-header .bean.entete-du-site{ padding-top: 25%; }*/
    .region-header .bean.entete-du-site {
        margin-top: 10px;
        min-height: 0;
    }
    .region-header .bean.entete-du-site > figure.user-picture {
        margin-top: -10%;
        position: relative;
        float: left;
    }
    .region-header .bean.entete-du-site > .site-name,
    .region-header .bean.entete-du-site > .site-slogan {
        position: static;
        display: block;
    }
    .region-header .bean.entete-du-site > .site-slogan {
        position: static;
        font-size: 20px;
        line-height: 22px;
        color: #999;
        text-shadow: none;
        width: auto;
    }

    .region-header .bean.entete-du-site > figure.user-picture + .site-name,
    .region-header
        .bean.entete-du-site
        > figure.user-picture
        + .site-name
        + .site-slogan {
        margin-left: 25%;
    }

    .main-container {
        margin-top: -80px;
    }

    /*.region-header .bean.banner{ position: absolute; top: 40px; }*/
    aside {
        padding: 0;
    }
    .region-sidebar-first {
        margin: 0;
        padding: 0;
    }
    .region-sidebar-first > .block {
        width: auto !important;
        float: none !important;
        min-height: inherit;
    }
    .region-sidebar-first > .block.latest-news + .block.info:before {
        position: absolute;
        bottom: 100%;
        left: 5%;
        height: 1px;
        width: 95%;
        border-top: 1px solid #ddd;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"] {
        width: 97%;
    }
    iframe {
        height: 280px !important;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 38px;
        line-height: 35px;
    }

    .region-header .bean.entete-du-site > figure.user-picture {
        width: 30%;
        padding: 5px;
        margin-top: -80px;
    }
    .region-header .bean.entete-du-site > .site-name {
        font-size: 30px;
        line-height: 1em;
    }
    .region-header .bean.entete-du-site > .site-name,
    .region-header .bean.entete-du-site > .site-slogan {
        margin-left: 10px;
    }
    .region-header .bean.entete-du-site > figure.user-picture + .site-name,
    .region-header
        .bean.entete-du-site
        > figure.user-picture
        + .site-name
        + .site-slogan {
        margin: 10px 10px;
        clear: both;
    }
    .region-header .bean.entete-du-site > figure.user-picture + .site-name {
        padding-top: 20px;
    }

    .block.menu-femto-menu > ul li {
        float: left;
    }
    .block.menu-femto-menu > ul li a {
        width: 30px;
    }
    .block.menu-femto-menu > ul li[class*="link-to-"] a:before {
        width: 30px;
        background-size: 18px;
    }

    .block.menu.language {
        right: 40px;
    }
    .block.menu.language > ul li .language-link {
        width: 30px;
    }
    .block.menu.language > ul li .language-link:before {
        width: 30px;
    }

    main {
        padding: 0 0% 50px;
    }

    iframe {
        height: 210px !important;
    }
}

@media screen and (max-width: 320px) {
    .region-header .bean.entete-du-site > figure.user-picture {
        width: 120px;
        float: none;
        position: static;
        margin: -80px 10px 10px;
    }
    .region-header .bean.entete-du-site > figure.user-picture + .site-name,
    .region-header
        .bean.entete-du-site
        > figure.user-picture
        + .site-name
        + .site-slogan {
        margin: 0 10px;
    }

    iframe {
        height: 140px !important;
    }
}

.pager__item{
	text-align: center;
  margin: 0 0 0.25em 1.5em;
  list-style-type: none;
  display: inline;
  position: relative;
}

.pager__items {
	clear: both;
	text-align: center;
  position: relative;
  
}

.sidebar .pager {
	display : none; 
}

/*
body.logged-in:after{ content: '> 960px'; position: fixed; bottom: 0; left: 0; background-color: #000; height: 20px; color: #fff; font-weight: bold; line-height: 20px; padding: 5px; z-index: 1; }
@media screen and (max-width: 959px) {
	body.logged-in:after{ content: '< 960px'; background-color: red; }
}
@media screen and (max-width: 600px) {
	body.logged-in:after{ content: '< 600px'; background-color: seagreen; }
}
@media screen and (max-width: 480px) {
	body.logged-in:after{ content: '< 480px'; background-color: blueviolet; }
}
@media screen and (max-width: 320px) {
	body.logged-in:after{ content: '< 320px'; background-color: yellowgreen; }
}
*/
