:root {
    --green-ocpam:#C0A03D;
    --dark-green-ocpam:#63a537;
    --light-green-ocpam:#99cb38;
    --blue-ocpam:#000000;
    --blue-ocpam-opacity:rgba(0, 0, 0, 0.6);
    --blue-ocpam-opacity-less:rgba(0, 0, 0, 0.9);
}

* {
    padding: 0;
    margin: 0;
    z-index:auto;
    font-family: 'Roboto'
}


/*
    Menu
*/
#main-header {
    height: 100px;
    background-color: #000000;
    display: flex;
    flex-wrap: wrap;
}
#main-header .logo {
    position: relative;
    text-align: left;
    width: 100%;
    flex: 0 0 15%;
    max-width: 15%;
    min-height: 1px;
    z-index: 300;
}
#main-header .logo img {
    width: 150px;
    position: absolute;
    right: 0;
}
#main-header nav {
    font-weight: 600;
    position: relative;
    width: 100%;
    flex: 0 0 85%;
    max-width: 85%;
}
#main-header nav ul{
    position: relative;
    top: 40px;
    background-color: #C0A03D;
    margin-left: 20px;
    padding-right: 35px;
    padding-left: 35px;
    z-index: 300;
    display: flex;
}
#main-header nav ul li {
    padding-top: 25px;
    padding-bottom: 25px;
    cursor: pointer;
}
#main-header nav ul li span,
#main-header nav ul li a {
    padding-top: 25px;
    padding-bottom: 25px;
    cursor: pointer;
}
#main-header nav .menu-mainmenu:before {
    position: absolute;
    -webkit-transform: translate(-170%, 0%);
    transform: translate(-170%, 0%);
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 20px 70px 30px;
    border-color: transparent #C0A03D transparent transparent;
}

#main-header nav .menu-mainmenu li {
    display: inline-block;
}
#main-header nav .menu-mainmenu li.active span {
    color: #FFFFFF;
}
#main-header nav .parent-listmenu:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    top: 0px;
    position: relative;
    background-image: url("/theme/asprix/img/down.png");
    background-size: 100%;
    transition: all 0.8s;
    transform: rotate(-90deg);
}
#main-header nav .parent-listmenu:hover:before {
    transform: rotate(0deg);
}

#main-header nav .menu-mainmenu li a,
#main-header nav .menu-mainmenu li span {
    color: var(--blue-ocpam);
    text-decoration: none;
    padding-right: 50px;
}
#main-header nav .menu-mainmenu li:hover a,
#main-header nav .menu-mainmenu li:hover span {
    color: #FFFFFF;
}

#main-header nav li ul {
    display: none;
}
#main-header nav .parent-listmenu ul li {
    transition: .5s;
    padding: 0;
    margin: 0;
    width: 90%;
}
#main-header nav .parent-listmenu ul li a {
    display: block;
    width: 100%;
    padding: 15px 7px;
}
#main-header nav .parent-listmenu ul li:hover, #main-header nav .parent-listmenu ul li.active {
    background-color: var(--green-ocpam);
}

#main-header nav .menu-mainmenu li ul {
    background-color: var(--blue-ocpam-opacity-less);
    position: absolute;
    height: 350px;
    top: 67px;
    left: -20px;
    right: 30%;
     -webkit-column-count: 4; /* Chrome, Safari, Opera */
     -moz-column-count: 4; /* Firefox */
     column-count: 4;
     -webkit-column-gap:.5em;
     -moz-column-gap:.5em;
     column-gap:.5em;
     padding-bottom:2px;
     font-size:18px;
     line-height:21px;
}
#main-header nav .menu-mainmenu li:hover ul {
    display: block;
}
#main-header nav li:hover ul li {
    display:inline-block;
    width:100%;
}
#main-header nav li ul li {
    border-bottom: solid 1px #C0A03D;
}
#main-header nav .menu-mainmenu li:hover ul li a {
    color: white;
}
#main-header nav .menu-mainmenu li:hover ul li:hover a, #main-header nav .menu-mainmenu li ul li.active a {
    color: white;
}
#main-header nav li.active a{
    color: #FFFFFF;
}

@media screen and (max-width: 1450px) {
    #main-header nav ul,
    #main-header nav .menu-mainmenu li ul {
        font-size: 0.8em;
    }
    #main-header nav .menu-mainmenu li ul {
        top: 64px;
        font-size: 1em;
    }

    #main-header nav ul {
        top:43px;
    }
}
@media screen and (max-width: 1358px) {
    #main-header .logo {
        padding-left: 10px;
    }
    #main-header .logo img {
        margin-top: 20px;
        width: 170px;
    }
    #main-header nav .menu-mainmenu::before {
        border-width: 0px 20px 65px 30px;
    }
    #main-header nav .menu-mainmenu li ul {
        font-size: 1em;
        top:64px;
    }
}
@media screen and (max-width: 1167px) {
    #main-header nav .menu-mainmenu li ul {
        font-size: 1.2em;
        right: 0%;
    }
    #main-header .logo img {
        margin-top: 30px;
        width: 150px;
    }

    #main-header nav ul {
        font-size: 11px;
    }
    #main-header nav ul li ul {
        font-size: 1em;
    }
    #main-header nav .menu-mainmenu li ul {
        top:60px;
    }
    #main-header nav .menu-mainmenu li a, #main-header nav .menu-mainmenu li span {
        padding-right: 30px;
    }
}
@media screen and (max-width: 982px) and (min-width: 820px) {
    #main-header .logo img{
        margin-top: 35px;
        padding-left: 25px;
    }
    #main-header nav .menu-mainmenu li a, #main-header nav .menu-mainmenu li span {
        padding-right: 15px;
    }
}
@media screen and (max-width: 820px) {
    #main-header nav .menu-mainmenu::before {
        display: none;
    }
    #main-header {
        display: block;
        height:75px;
    }
    #main-header .logo{
        display:block;
        margin: 0;
        padding: 0;
        z-index: 300;
        margin-left: auto;
        margin-right: auto;
        width:90px;
        max-width: 90px;
    }
    #main-header .logo a {
        width:90px;
        display:block;
        height:max-content;
    }
    #main-header nav ul {
        display: block;
    }
    #main-header .logo img {
        position: absolute;
        left: 0;
        margin: 0;
        padding: 0;
        width: 90px;
    }
    #main-header nav {
        position:absolute;
        max-width: 100%;
        top: 0;
        z-index: 1;
    }
    #main-header nav ul {
        position: absolute;
        top: 75px;
        margin: 0;
        text-align: center;
        width: 100%;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 1em;
    }
    #main-header nav ul li {
        padding: 0;
    }
    #main-header nav ul li:first-child {
        padding-top:30px;
    }
    #main-header nav ul li span {
        display: block;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #main-header nav ul li a {
        padding-top: 15px;
        padding-bottom: 15px;
        display: block;
        width: 100%;
    }
    #main-header nav .menu-mainmenu li{
        display: block;
    }
    nav .menu-responsive-button {
        margin-top: 18px;
        margin-right: 25px;
        background: #e6e6e6;
        color: var(--blue-ocpam);
        border: 1px solid var(--blue-ocpam);
    }
    #main-header nav .parent-listmenu:before {
        display: none;
    }
    #main-header nav .menu-mainmenu li ul {
        margin-top: 10px;
        position: relative;
        background-color: transparent;
        top: 0px;
        left: 0px;
        right: 0px;
        column-count: unset;
        width: 100%;
        height: auto;
    }
    #main-header nav .menu-mainmenu li:hover ul {
        display: none;
    }
    #main-header nav .parent-listmenu ul li {
        display: block;
        width: 100%;
        padding: 12px;
        margin: 0;
        transition: .5s;
    }
    #main-header nav .menu-mainmenu li a, #main-header nav .menu-mainmenu li span {
        padding-right: 0;
    }
}


/**
*   Header-Accueil
**/
.header-accueil {
    display: flex;
    height:calc(100vh - 191px);
}

.info-colonne{
    height: 620px;
}

.bloc-accueil.info-colonne,
.header-accueil .info-colonne {
    background:#000;
    height:100%;
}

.header-accueil h1.editor-partenaire-du-jour {
    display: none;
}
.calendrier-match .slider,
.info-colonne .slider {
    margin: 30px auto;
    width: 100%;
    max-width: 320px;
    height: 300px;
    margin-bottom: 50px;
}
.calendrier-match .slider-bullet .slider-menu,
.info-colonne .slider-bullet .slider-menu {
    display: none;
}
h1.editor-partenaire-du-jour {
    margin-top: 15px;
}

.info-colonne img, .info-colonne .slider{
    width:100%;
    margin-top:20px;
    max-height: calc(100% - 137px);
    object-fit:contain;
}

.info-colonne .slider {
    margin-left:0;
    margin-right:0;
    margin-bottom:0;
    max-width:100%;
    height:auto;
}

.info-colonne .slider .slider-control-arrow div {
    width: 30px;
    height: 33px;
    background-size: cover;
    background-color:black;
    border:8px solid black;
    top:auto;
    bottom:10%;
}

.info-colonne .slider .slider-items {
    height:100% !important;
}

.info-colonne .slider .slider-items .slideritem {
    height:100% !important;
    background-size:contain;
}

    /*Slider-premium*/
    .header-accueil .slider-premium {
        position: relative;
        width: 75%;
        min-height: 1px;
        height: 100%;
        overflow: hidden;
        background-color: black;
        text-align: center;
    }

    .slider-premium img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        width: 100%;
        object-fit: cover;
        height: 100%;
    }

    .header-accueil .slider-premium .container-titre-news {
        position: absolute;
        bottom: 40px;
        right: 0;
        width: 650px;
        max-width:100%;
        background-color: var(--blue-ocpam-opacity);
        padding: 15px;
    }
    .header-accueil .slider-premium .container-titre-news a {
        text-decoration: none;
        color: #C0A03D;
    }
    .header-accueil .slider-premium .container-titre-news h2 {
        font-size: 2.5em;
        text-align: left;
    }
    .lire-Suite {
        text-align: left;
        margin-top: 35px;
        display: block;
        width: 35%;
        border-bottom: solid 1px var(--green-ocpam);
    }
    @media screen and (max-width: 650px) {
        .header-accueil .slider-premium .container-titre-news {
            width: 100%;
            background-color: var(--blue-ocpam-opacity-less);
            padding: 15px;
            bottom: 0;
        }
    }
    @media screen and (max-width: 446px) {
        .header-accueil .slider-premium .container-titre-news h2{
            font-size: 2em;
        }
    }

    @media screen and (max-width: 820px) {
        .header-accueil .slider-premium .container-titre-news h2 {
            font-size:1.2rem;
        }
    }

    @media screen and (max-width: 446px) {
        .header-accueil .slider-premium .container-titre-news h2{
            font-size: 0.9rem;
        }
    }

    /* Colonne Info */
    .info-colonne {
        width: 25%;
        min-height: 1px;
        padding-top: 15px;
        text-align: center;
    }

    .info-colonne h1 {
        padding-top: 2px !important;
        padding-bottom: 0 !important;
        text-align: center;
        font-weight: 600;
        font-size: 2.2em;
        color: black !important;
    }

    .bloc-accueil.info-colonne h1,
    .header-accueil .info-colonne h1 {
        color: #C0A03D !important;
        margin-top: 10px;
    }

    .info-colonne .classement {
        background-color: black !important;
        color: white !important;
        font-size: 1.7em;
        padding-top: 10px !important
    }
    .info-colonne .info-prochain-match strong {
        font-size: 0.7em;
    }
    .info-colonne .scoreMatch {
        padding-right: 15px;
        padding-left: 15px;
        margin-top: 15px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .info-colonne .scoreMatch .logo-score {
        width: 25%;
        text-align: center;
    }
    .info-colonne .scoreMatch .score {
        width: 50%;
    }
    .info-colonne .scoreMatch p {
        font-size: 2em;
        font-weight: 600;
        color:var(--blue-ocpam);
    }
    .info-colonne .info-dernier-match {
        margin-top: 10px;
    }
    .info-colonne .info-dernier-match h1 {
        font-size: 1.7em;
    }

    .info-colonne .classement-Block {
        margin: 0;
        color: white;
    }
    .info-colonne .classement-Block ul {
        list-style:none;
        margin-top: 5px;
        margin-left: 35px;
        margin-right: 20px;
        padding-bottom: 13px;
    }
    .info-colonne .classement-Block ul li{
        background-color: #2A2A2A;
        text-align: left;
        margin-top: 3px;
        margin-bottom: 2px;
        padding: 8px;
        width: 100%;
    }
    .info-colonne .classement-Block ul li strong {
        margin-left: 10px;
    }
    .info-colonne .classement-Block ul li.fond-vert {
        background-color: var(--blue-ocpam);
    }


@media screen and (min-width: 1167px) and (max-width: 1860px){
    .slider-premium {
        overflow: hidden;
    }
}
@media screen and (min-width: 1167px) and (max-width: 1460px){
    .info-colonne .info-dernier-match {
        margin-top: 0px;
    }
    .info-colonne .scoreMatch.dernierMatch p {
        font-size: 2em;
    }
    .info-colonne .scoreMatch div div {
        font-size: 0.7em;
    }
    .info-colonne .info-dernier-match h1 {
        font-size: 1em;
    }
    .info-colonne h1 {
        font-size: 1.5em;
    }
    .info-colonne .classement-Block ul li{
        padding: 8px;
    }
    .info-colonne .classement-Block ul li strong {
        font-size: 0.9em;
        margin-left: 10px;
    }
    .info-colonne .scoreMatch {
        margin-top: 5px;
    }
}
@media screen and (max-width: 1358px) {
    .info-colonne .scoreMatch p {
        font-size: 3em;
    }
    .info-colonne .scoreMatch.dernierMatch p {
        font-size: 3em;
    }
    .info-colonne .scoreMatch div {
        font-size: 0.9em;
    }
    .info-colonne h1 {
        font-size: 1.6em;
    }
    .info-colonne .info-dernier-match h1 {
        font-size: 1.3em;
    }
}
@media screen and (max-width: 1166px) {
    .slider-premium img {
        width: auto;
        max-height: 660px;
    }
    .info-colonne {
        display:block;
        height: auto;
    }
    .info-colonne .scoreMatch {
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 10px;
    }
    .info-colonne .scoreMatch.dernierMatch p {
        font-size: 2em;
    }

    .info-colonne {
        height: 670px;
    }
}
@media screen and (max-width: 486px) {
    .header-accueil .slider-premium {
        height: 336px;
    }
    .slider-premium img {
        width: auto;
        max-height: 450px;
    }
    .info-colonne .classement-Block ul {
        margin-left: 10%;
        margin-right: 10%;
    }
    .info-colonne .scoreMatch {
        width: auto !important;
    }
    .info-colonne .scoreMatch .dernierMatch p {
        font-size: 1.5em;
    }
}

/*Dernier Minute Bandeaux*/
.dernieres-minutes-et-classement {
    display:flex;
    flex-wrap:wrap;
    background:#fff;
}

.dernieres-minutes-et-classement .left {
    width:75%;
}

.dernieres-minutes-et-classement .right {
    width:25%;
}

.dernieres-minutes-et-classement .right img {
    width:100%;
    margin-top:20px;
}

.dernieres-minutes-et-classement .right img:first-child {
    margin-top:0;
}

.page-content .dernieres-minutes-et-classement .Photos .photo {
    width:calc(100% / 3 - 13px);
    height: calc((75vw / 3) * 9 / 16);
}

.dernieres-minutes-et-classement .Photos .photo a {
    width:100%;
}

.dernieres-minutes-et-classement .Photos .photo a img {
    width:100%;
}

.dernier-minutes {
    background-color: var(--blue-ocpam);
    list-style: none;
    color: white;
    height:91px;
}
.dernier-minutes li {
    border-right: 1px solid rgba(65,84,56, 0.7);
    border-top: none;
    padding: 25px 17px;
    display: inline-block;
    width: calc((100% - 175px) / 4);
    text-align: match-parent;
    position:relative;
}
.dernier-minutes li:first-child:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    -webkit-transform: translate(0, -71%);
    left:100%;
    transform: translate(0, -71%);
    border-style: solid;
    border-width: 0px 0px 92px 78px;
    border-color: transparent transparent transparent var(--green-ocpam);
}


.dernier-minutes li:first-child {
    border:none;
    background-color: var(--green-ocpam);
    margin-right: 65px;
    padding-top: 28px;
    padding-bottom: 26px;
    width:110px;
}
@media screen and (max-width: 1316px){
    .dernier-minutes {
        text-align: center;
    }
    .dernier-minutes li:first-child {
        width: 100%;
        margin-right: 0px;
    }
    .dernier-minutes li:first-child:after {
        display: none;
    }

    .dernier-minutes {
        height:182px;
    }

    .dernier-minutes li {
        width: calc(100% / 4);
    }
}
.dernier-minutes li:last-child {
    border:none;
}
@media screen and (max-width: 972px) {
    .dernier-minutes {
        text-align:center;
    }
    .dernier-minutes li {
        width: 350px;
        border-right: none;
        border-bottom: 1px solid rgba(65,84,56, 0.7);
    }
    .dernier-minutes li:last-child {
        border-right: none;
        border-bottom: 1px solid rgba(65,84,56, 0.7);
    }

    .dernier-minutes {
        height:auto;
    }
}
@media screen and (max-width: 703px) {
    .dernier-minutes li {
        width: 100%;
        border-bottom: 1px solid rgba(65,84,56, 0.7);
    }
}

.dernier-minutes li a {
    color: white;
    text-decoration: none;
}

.dernier-minutes li:first-child a {
    line-height: 37px;
    color:#000;
}
.dernier-minutes li a .col-txt h4 {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    line-height: 16px;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-family: arial, sans-serif;
    font-weight: bold;
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
}
@media screen and (max-width: 1316px) {
    .dernier-minutes li a .col-txt h4 {
        position: relative;
    }
}
.dernier-minutes li a .date {
    font-size: 14px;
    line-height: 38px;
    color: var(--green-ocpam);
}
.dernier-minutes li a .col-txt {
    height: 38px;
}
.dernier-minutes li a:hover .date {
    position: relative;
    top: 0;
    color: var(--green-ocpam);
}
.dernier-minutes li a:hover .col-txt h4{
    color: var(--green-ocpam);
}


/*
    Contenu/accueil
*/
.page-content h1,
.mce-content-body  h1 {
    padding-top: 35px;
    padding-bottom: 35px;
    margin-bottom: 10px;
    color: var(--blue-ocpam);
    text-align: center;
}
@media screen and (max-width: 510px) {
    .page-content h1,
    .mce-content-body  h1 {
        font-size: 1.3em;
    }
}
.page-content .Photos,
.mce-content-body .Photos {
    margin: auto;
    max-width: 1620px;
}
.page-content .Photos .photo,
.mce-content-body .Photos .photo {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 205px;
    margin: 5px;
}

.page-content .Photos .photo img {
    object-fit: contain;
}

.page-content .Photos .photo span.text,
.mce-content-body .Photos .photo span.text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 1.5em;
    color: white;
    background-color: var(--blue-ocpam);
    text-align: center;
}
.page-content .Partenaires,
.mce-content-body .Partenaires {
    text-align: center;
    background-color: #C0A03D;
}
.page-content .Partenaires h1,
.mce-content-body .Partenaires h1 {
    margin-top: 50px;
    margin-bottom: 10px;
    color: var(--blue-ocpam);
    text-align: center;
    background-color: #C0A03D;
}
.page-content .content-article .Partenaires h1 {
    display: none;
}
.page-content .Partenaires img,
.mce-content-body .Partenaires img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 35px;
    background-color: white;;
    margin-right: 10px;
    margin-left: 10px;
    padding: 15px;
}
@media screen and (max-width: 1600px) {
    .page-content .Photos,
    .mce-content-body .Photos {
        margin: auto;
        max-width: 1295px;
    }
}
@media screen and (max-width: 1300px) {
    .page-content .Photos,
    .mce-content-body .Photos {
        margin: auto;
        max-width: 970px;
    }

    .info-colonne {
        height:auto;
    }

    .page-content .dernieres-minutes-et-classement .Photos .photo {
      height: calc((100vw / 3) * 9 / 16);
    }
}
@media screen and (max-width: 965px) {
    .page-content .Photos,
    .mce-content-body .Photos {
        margin: auto;
        max-width: 650px;
    }

    .page-content .dernieres-minutes-et-classement .Photos {
        max-width:100%;
    }
}
@media screen and (max-width: 650px) {
    .page-content .Photos,
    .mce-content-body .Photos {
        margin: auto;
        max-width: 320px;
    }

    .page-content .dernieres-minutes-et-classement .Photos {
        max-width:100%;
    }

    .page-content .dernieres-minutes-et-classement .Photos .photo span.text {
        font-size:1rem;
    }

}
@media screen and (max-width: 385px) {
    .page-content .Partenaires img,
    .mce-content-body .Partenaires img {
        padding: 0;
    }
}

/*
    Page equipe
*/
.page-equipe {
    display: flex;
}


.page-equipe .content-article {
    position: relative;
    width: 70%;
    margin: 0 auto;
    top: -50px;
    background-color: white;
    padding: 25px;
}
.page-equipe .content-article #header-article,
.page-equipe .content-article .contenu {
    margin: 0 35px;
}
.content-article h1 {
    background-color: white;
    color: var(--blue-ocpam);
    text-align: left;
    padding-bottom: 0;
}
.content-article .contenu {
    margin-top: 25px;
    min-height: 200px;
}
.content-article p {
    line-height: 25px;
}
.content-article ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.content-article h3 {
    font-size: 1.320em;
    /*font-family: 'ubuntu';*/
    color: var(--blue-ocpam);
    line-height: 35px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 15px;
}
.content-article h5 {
    color: var(--blue-ocpam);
    font-style: italic;
}
p.editor-citation {
    margin-top: 25px;
    padding: 20px;
    font-style: italic;
    border-left: solid 10px var(--blue-ocpam);
    margin-bottom: 25px;
    background-color: #EAEAEA;
}
.page-equipe .content-article #header-article .title-1 {
    background-color: white;
    color: var(--blue-ocpam);
    text-align: left;
    padding-bottom: 0;
}
.page-equipe .content-article #header-article .date {
    color: grey;
    font-size: 0.9em;
}
.page-equipe .share-article {
    padding: 25px;
    text-align: center;
}
.page-equipe .content-article .share-article h5 {
    padding: 5px;
    background-color: #EAEAEA;
}
.page-equipe .share-article {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    background-color: white;
}
.page-equipe .share-article h5 {
    background-color: white;
    padding: 5px;
}
.page-equipe .share-article h5 {
    padding-top: 15px;
    font-size: 1.3em;
}
.page-equipe .over-new {
    width: 350px;
    margin: 10px auto;
    padding: 5%;
    text-align: center;
    background-color : #EAEAEA;
}
.page-equipe .over-new a {
    color: #333333;
    text-decoration: none;
}
.page-equipe .over-new .picture {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}
.page-equipe .over-new .picture img {
    width: 100%;
    transition: all 0.5s;
}
.page-equipe .over-new:hover .picture img {
    transform: scale(1.2);
}
.page-equipe .over-new .date {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin: 0;
}
.page-equipe .over-new h6 {
    margin: 0;
    transition: all 0.5s;
    font-size: 1rem;
}
.page-equipe .over-new:hover h6 {
    color: var(--blue-ocpam);
}



.page-equipe .equipes {
    width:75%;
    background-color: #EAEAEA;
    position: relative;
    padding-bottom: 10px;
}
.page-equipe .baniereactu {
    height: auto;
    overflow: hidden;
}
.page-equipe .equipes img {
    width: 100%;
    height: auto;
}
.page-equipe .equipes .PhotosEquipe {
    position: relative;
    overflow: hidden;
    height: 500px;
}
.page-equipe .equipes .PhotosEquipe img {
    width: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
}
.page-equipe .equipes .PhotosEquipe h1 {
    font-family: 'Ubuntu', sans-serif;
    width: 650px;
    padding: 10px 15px;
    margin:0;
    bottom: 40%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4em;
    background-color: var(--blue-ocpam-opacity);
    color:white;
}
.page-equipe .equipes .PhotosEquipe .Match {
    font-family: 'Ubuntu', sans-serif;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    bottom: 5%;
    display: flex;
    width: 75%;
    text-align: center;
    flex-flow: row wrap;
}
.page-equipe .equipes .PhotosEquipe .Match p {
    align-self: center;
    flex: 33.3%;
    font-size: 1.5em;
    font-weight: 600;
    text-shadow: 0px 1px 0px black;
}
.page-equipe .equipes .PhotosEquipe .Match .division {
    flex: 100%;
    line-height: 45px;
    font-size: 1.5em;
    color: var(--blue-ocpam);
    text-shadow: none;
}
.page-equipe .equipes .PhotosEquipe .Match p:nth-child(3) {
    font-size: 1.5em;
}
.page-equipe .equipes .PhotosEquipe .Match p strong{
    font-size: 2em;
    color: var(--green-ocpam);
}
.page-equipe .equipes h1 span {
    color: var(--green-ocpam);
}
.page-equipe .equipes h2 {
    margin-top: 50px;
    padding-left: 10%;
    color: var(--blue-ocpam);
}
.equipes .staff {
    margin-top: 25px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}
.equipes .staff.organigrame {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
}
.equipes .staff.organigrame .staff-presentation{
    overflow: hidden;
    margin: 0 10px;
    height: 300px;
}
.equipes .staff .staff-presentation {
    width: 30%;
    height:calc((75vw * 0.8 * 0.3) * 4 / 3);
    overflow: hidden;
    margin:0 15px;
    background-color: rgba(0,0,0,0);
    position: relative;
    margin-top: 10px;
}
.equipes .staff .staff-presentation img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position:center;
}
.equipes .staff .staff-presentation span{
    position : absolute;
    padding-top: 5px;
    bottom: 0;
    left:0;
    right:0;
    height: 45px;
    background-color: var(--blue-ocpam);
    color: white;
    text-align: center;
}

.calendrier-match {
    display: inline-block;
    width:25%;
}
.calendrier-match h1 {
    background-color: transparent;
    color: black;
    font-size: 1.8em;
}

.calendrier-match ul {
    list-style: none;
    margin-left: 25px;
    margin-right: 25px;
}
.calendrier-match ul li {
    padding: 10px;
    text-align: center;
    font-size: 0.8em;
}
.calendrier-match ul li span {
    display: block;
    font-size: 1.5em;
    padding: 5px 0;
}
.calendrier-match ul li:nth-child(odd) {
    background-color: #D7D7D7;
}
.calendrier-match ul li:nth-child(even) {
    background-color: var(--blue-ocpam);
    color: white;
}
.calendrier-match ul li:nth-child(even) span{
    color: var(--green-ocpam);
}
.plus_infos {
    padding-top: 75px;
    margin: 0 25px;
    text-align: center;
}
.header-accueil .plus_infos {
    margin-top: 10px;
    padding-top: 0px;
}
.plus_infos .logo_info {
    display: flex;
    justify-content: space-evenly;
}
.plus_infos .logo_info a {
    align-self: center;
}
.plus_infos h2 {
    text-align: left;
    margin-bottom: 15px;
}
.header-accueil .plus_infos h2 {
    display: none;
}
.page-equipe .equipes .info-Entrainement-contact {
    margin-top: 35px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    display: flex;
}
.page-equipe .equipes .info-Entrainement-contact div {
    line-height: 26px;
    width: 50%;
}
.page-equipe .equipes .info-Entrainement-contact div h4 {
    color: var(--blue-ocpam);
}
.page-equipe .equipes .info-Entrainement-contact .colonne-right {
    margin-top: 15px;
    padding-left: 10px;
}
.page-equipe .equipes .info-Entrainement-contact .colonne-left p {
    padding-left: 15px;
}

.page-equipe .equipes #video-equipe {
    margin-top: 35px;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
}

.page-equipe .equipes #video-equipe .video {
    margin-top: 2%;
    margin-left: 2%;
}

.page-equipe #player {
    display : none;
}

.page-equipe .equipes .video-equipe iframe {
    display: inline-block;
    margin: 15px;
}
@media screen and (max-width: 1500px) {
    .page-equipe .equipes .PhotosEquipe h1 {
        bottom: 40%;
        font-size: 3em;
    }

    .equipes .staff .staff-presentation {
        width: 29%;
        height: calc((75vw * 0.8 * 0.29) * 4 / 3);
    }
    .page-equipe .over-new {
        width: 270px;
    }
}
@media screen and (max-width: 1300px) {
    .page-equipe {
        display: block;
    }

    .info-colonne .scoreMatch {
        width: 400px;
        margin: 0 auto;
    }
    .page-equipe .equipes {
        width:100%;
    }
    .equipes .staff .staff-presentation {
        width: 29%;
        height: calc((80vw * 0.29) * 4 / 3);
    }
    .calendrier-match {
        width:100%;
        margin-bottom: 15px;
    }
    .page-equipe .equipes .PhotosEquipe h1 {
        font-size: 4em;
    }
    .page-equipe .block-news {
        position: relative;
        margin: 0 auto;
        text-align: center;
    }
    .page-equipe .over-new {
        display: inline-block;
        width: 500px;
        padding: 2%;
        margin: 15px auto;
    }
    .page-equipe .baniereactu {
        height: auto;
    }
    .info-colonne .classement-Block ul {
        margin-left: 25%;
        margin-right: 25%;
    }
}
@media screen and (max-width: 1166px) {
    .page-equipe .equipes .PhotosEquipe {
        height: 336px;
    }
    .page-equipe .equipes .PhotosEquipe .Match p {
        font-size: 1em;
    }
    .page-equipe .equipes .PhotosEquipe img {
        width: auto;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        max-height: 600px;
    }
}
@media screen and (max-width: 992px) {
    .page-equipe .equipes .PhotosEquipe h1 {
        font-size: 3em;
    }
    .page-equipe .equipes .PhotosEquipe .Match {
        width: 100%;
    }
    .page-equipe .equipes .PhotosEquipe .Match p:nth-child(3) {
        font-size: 1em;
    }
    .equipes .staff .staff-presentation {
        width: 40%;
        height: calc((80vw * 0.40) * 4 / 3);
        margin-bottom: 25px;
    }
    .page-equipe .content-article {
        top: -5px;
        width: 100%;
    }
    .info-colonne .classement-Block ul {
        margin-left: 15%;
        margin-right: 15%;
    }
    .equipes .staff.organigrame .staff-presentation{
        height: 390px;
        margin-bottom: 15px;
        max-width: 365px;
    }
    .page-equipe .equipes .PhotosEquipe img {
        max-height: 415px;
    }

}
@media screen and (max-width: 850px) {
    .equipes .staff .staff-presentation {
        width: 100%;
        height: calc((80vw - 30px) * 4 / 3);
        margin-top: 15px;
    }
    .page-equipe .equipes .info-Entrainement-contact div {
        width: 100%;
    }
}
@media screen and (max-width: 820px) {
    .page-equipe .equipes .info-Entrainement-contact {
        display: block;
    }
    .page-equipe .equipes .info-Entrainement-contact .colonne-left {
        margin-top: 25px;
    }

    .page-equipe .equipes .PhotosEquipe h1 {
        width: 330px;
        font-size: 2em;
    }
    .page-equipe .equipes .video-equipe {
        margin-top: 35px;
        margin-left: 5px;
        margin-right: 5px;
        text-align: center;
    }
    .page-equipe .equipes .video-equipe iframe {
        display: inline-block;
        padding: 5px;
        width: 70%;
    }
    .page-equipe .over-new {
        width: 270px;
    }
    .page-equipe .over-new h6 {
        font-size: 0.7em;
    }

    .info-colonne img, .info-colonne .slider {
        margin-left:auto;
        margin-right:auto;
        width:50%;
        min-width:300px;
        display: block;
        margin-bottom:20px;
    }

    .header-accueil {
        flex-direction:column;
        height:max-content;
    }

    .header-accueil .slider-premium, .info-colonne {
        width:100%;
    }

    .header-accueil .slider-premium {
        height:calc(100vw * 9 / 16);
    }

    .slider-premium img {
        height:100%;
        width:100%;
        object-fit:cover;
    }

    .lire-Suite {
        margin-top:15px;
    }

    .dernieres-minutes-et-classement {
        flex-direction:column;
    }

    .dernieres-minutes-et-classement .left, .dernieres-minutes-et-classement .right {
        width:100%;
    }

    .dernieres-minutes-et-classement .right {
        order:1;
    }

    .dernieres-minutes-et-classement .left {
        order:2;
    }

    .dernieres-minutes-et-classement .right img {
        margin-left:auto;
        margin-right:auto;
        width:50%;
        min-width:300px;
        display: block;
        margin-bottom:20px;
    }

    .page-content .dernieres-minutes-et-classement .Photos .photo {
        width: calc(100% - 13px);
        height: calc(100vw * 6 / 16);
    }
}

@media screen and (max-width:767px) {
    .dernier-minutes li a .date {
        line-height:18px;
    }

    .dernier-minutes li a .col-txt {
        height:20px;
    }
}

@media screen and (max-width: 660px) {
    .info-colonne .scoreMatch {
        padding: 0 25px;
    }
    .page-equipe .equipes .video-equipe iframe {
        width: 80%;
    }
}
@media screen and (max-width: 420px) {
    .page-equipe .equipes .PhotosEquipe h1 {
        width: 300px;
        font-size: 1.5em;
    }
    .page-equipe .equipes .PhotosEquipe .Match p,
    .page-equipe .equipes .PhotosEquipe .Match .division {
        font-size: 1em;
    }
    .page-equipe .content-article {
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-equipe .content-article #header-article,
    .page-equipe .contenu {
        margin: 0px !important;
    }
    .page-equipe .content-article #header-article .title-1 {
        font-size: 1.5em;
    }
    .page-equipe .content-article #header-article .date {
        font-size: 0.7em;
    }
    .page-equipe .content-article .contenu {
        font-size: 0.9em;
    }
    .equipes .staff .staff-presentation {
        height: calc((80vw - 30px) * 4 / 3);
    }
    .page-equipe .equipes h2 {
        font-size: 21px;
    }
    .page-equipe .equipes .info-Entrainement-contact div {
        font-size: 0.8em;
    }
    .calendrier-match h1,
    .plus_infos h2 {
        font-size: 1.3em;
    }
    .page-equipe .plus_infos img {
        max-width: 100%
    }

    .page-equipe .share-article {
        width: 100%;
        padding: 0;
    }
    .equipes .staff.organigrame .staff-presentation {
        height: 250px;
    }
    .page-equipe .equipes .PhotosEquipe img {
        max-height: 350px;
    }
}

.equipes .actu {
    width: 668px;
    height: auto;
    margin: 25px auto;
    padding: 1%;
    color: #333333;
    background-color: white;
    text-align: justify;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.2);
}
.equipes .actu a {
    text-decoration: none;
    color: #333333;
}
.equipes .actu .legende-actu {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.equipes .actu .img-actu {
    display: block;
    overflow: hidden;
    height: 200px;
    margin-bottom: 15px;
}
.equipes .actu h3 {
    color: var(--blue-ocpam);
}
.equipes .actu .text-news-list {
    margin-top: 15px;
    margin-left: 10px;
}
.equipes .actu .lire {
    margin: 0 auto;
    width: 65%;
}
.equipes .actu .lire a{
    margin: 25px auto;
    background-color: var(--blue-ocpam);
    border: none;
    color: white;
    width: 100%;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: all .5s;

}
.equipes .actu .lire a:hover {
    color: #FFD504;
}
.equipes .pages {
    padding: 15px 0;
}
.equipes .pages a {
    color: black;
    text-decoration: none;
}
@media screen and (max-width: 820px) {
    .equipes .actu {
        width: 540px;
        height: 400px;
    }
    .equipes .actu .text-news-list {
        margin-top: 5px;
    }
    .equipes .actu .legende-actu {
        margin-bottom: 5px;
    }
    .equipes .actu .lire a {
        margin-top: 10px;
        font-size: 0.8em;
        padding: 10px 32px;
    }
    .equipes .actu h3 {
        font-size: 0.9em;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .equipes .actu .text-news-list {
        font-size: 0.8em;
    }
}
@media screen and (max-width: 620px) {
    .equipes .actu {
        width: 320px;
        height: auto;
    }
    .equipes .actu .img-actu {
        height: 100px;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 400px) {
    .equipes .actu {
        width: 300px;
        height: auto;
        margin: 0 auto;
    }
}

.tab-resultats {
    width: 80%;
    margin-top: 30px;
    margin-bottom: 25px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.share-article.resultat {
    width: 80%;
}
.tab-resultats > li.principale {
    flex: 100%;
    max-width: 100%
}
.tab-resultats > li {
    flex: 100%;
    background-color: white;
    margin: 3px;
    max-width: 100%;
}
.page-equipe .tab-resultats > li h2 {
    color: var(--blue-ocpam);
    background-color: white;
    margin: 20px 0;
    padding: 0;
}
.tab-resultats > li p.equipe {
    margin-bottom: 15px;
    font-size: 18px;
}
.tab-resultats > li .score {
    display: flex;
    padding: 10px 0;
    margin: 10px auto;
    width: 60%;
}
.tab-resultats > li .score p {
    flex: 33.3%;
    font-size: 2em;
    font-weight: 600;
    color: var(--blue-ocpam);
}
.tab-resultats > li .logo-resultats {
    display: flex;
    box-sizing: 0;
    justify-content: center;
    margin: 10px auto;
    width: 60%;
}
.tab-resultats > li .logo-resultats p {
    flex: 33.3%;
    align-self: center;
}
@media screen and (max-width: 950px) {
    .tab-resultats > li {
        flex: 100%;
    }
}

@media screen and (max-width: 400px) {
    .tab-resultats {
        width: 100%;
    }
    .tab-resultats > li {
        width: 92%;
        display: block;
        background-color: white;
    }
}


.contact {
    display: flex;
    padding: 25px;
    justify-content: center;
}
.contact > div {
    margin: 10px;
}
.form {
    width: 50%;
    background-color: white;
    height: 850px;
}
.form .info {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}
.form .info p {
    display: inline-block;
    font-size: 1.1em;
    line-height: 25px;
}
.form .info .fa-map-marker {
    position: relative;
    top:-25px;
}
.form .info i {
    width: 25px;
    color: var(--blue-ocpam);
}
.form form {
    float: none;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    padding-bottom: 15px;
}
.form form dl dt {
    margin-top: 15px
}
.form form dl dd input {
    width: 100%;
    border: 0;
    padding: 2%;
    margin-top: 1%;
    background-color: #EAEAEA;
}
.form form dl dd input[type="submit"] {
    color: #ffffff;
    background-color: var(--blue-ocpam);
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.5s;
}
.form form dl dd input[type="submit"]:hover {
    color: var(--green-ocpam);
}
.form form dl dd .description {
    margin: 0;
    font-size: 0.75rem;
    text-align: left;
}
.form form dl dd textarea {
    width: 100%;
    height: 200px;
    padding: 2%;
    resize: none;
    border: 0;
    background-color: #EAEAEA;
}
.form .g-recaptcha > div {
    margin: auto
}
.content-map {
    width: 50%;
    height: 770px;
}
#gmap {
    width: 100%;
    height: 100%;
}


#fieldset-block_rgpd {
    flex: 100%;
    border: none;
}
.form #fieldset-block_rgpd dl {
    display: flex;
    margin-top: 15px;
}
.form #fieldset-block_rgpd dl #rgpd-element{
    order: 0;
    flex: 10%;
}
.form dl dd input#rgpd {
    float: right;
    margin-right: 15px;
    width: auto;
    padding: 0;
    border: none;
    align-self: flex-start;
}
.form dl dd.checkbox-rgpd {
    margin-bottom: 0;
    position: relative;
}
.form #fieldset-block_rgpd dl #rgpd-label{
    margin-top: 0;
    order: 1;
    flex: 70%;
    align-self: center;
}

#rgpd-label a {
    text-decoration: none;
    color: var(--blue-ocpam);
}
#rgpd-label a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 992px) {
    .contact {
        padding: 0;
    }
    .content-map {
        display: none;
    }
    .form {
        margin: 0;
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    .form .info p {
        font-size: 0.9em;
    }

    .g-recaptcha {
        transform:scale(0.92);
        transform-origin:0;
        transform:scale(0.92);
        transform-origin:0 0;
        -webkit-transform:scale(0.92);
        transform:scale(0.92);
        -webkit-transform-origin:0 0;
        transform-origin:0 0;
        -ms-transform: scale(0.92);
    }
}

.content-article .Partenaires {
    padding-top: 30px;
}
.content-article .Partenaires img {
    width: 250px;
    height: 250px;
}

@media screen and (max-width: 1450px) {
    .content-article .Partenaires img {
        width: 150px;
        height: 150px;
    }
}


/*
    Footer
*/

footer .coordonne {
    background-color: #000;
    border-top: 15px solid #000;
    height: 230px;
    text-align: center;
    color: #C0A03D;
    font-size: 0.8em;
}
footer .coordonne {
    position: relative;
}

footer .coordonne .les-equipe {
    position: absolute;
    top: 5%;
    left: 11%;
    line-height: 2em;
    text-align: left;
}
footer .coordonne h1 {
    font-size: 1.5em;
    padding: 0;
    background: transparent;
    text-align: left;
}
.les-equipe .colonne ul {
    list-style: none;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: .5em;
    -moz-column-gap: .5em;
    column-gap: .5em;
}
footer .coordonne .les-equipe .colonne ul li {
    margin-left: 15px;
    padding-top: 10px;
}
footer .coordonne .les-equipe .colonne a {
    display: block;
    color: #C0A03D;
    text-decoration: none;
}

footer .coordonne .info-club {
    text-align: left;
    position: absolute;
    right: 25%;
    top: 5%;
    line-height: 2em;
}
footer .coordonne .info-club .premier {
    margin-top: 10px;
}
footer .coordonne .info-club div{
    padding-left: 25px;
}
footer .coordonne .info-club p {
    display: inline-block;
}
footer .coordonne .info-club .fa-map-marker {
    position: relative;
    top:-25px;
}
footer .coordonne .info-club i {
    width: 25px;
}
footer .mentions {
    position: relative;
    background-color: #414141;
    text-align: center;
    color: #6b6b6b;
    padding: 10px 0;
    height: 40px;
}
footer .mentions .arduinnova,
footer .mentions p {
    position: absolute;
    display: inline-block;
}
footer .mentions .arduinnova {
    right: 65px;
}
footer .mentions p {
    font-size: 0.86em;
    left: 65px;
}
footer .mentions p a {
    color: #6b6b6b;
    text-decoration: none;
}
@media screen and (max-width: 992px) {
    footer .coordonne .info-club {
        right: 11%;
    }
}
@media screen and (max-width: 680px) {
    footer .coordonne{
        height: auto;
    }
    footer .coordonne .les-equipe,
    footer .coordonne .info-club {
        margin-top: 15px;
        display: block;
        position: static;
        margin-left: auto;
        margin-right: auto;
        width: 300px;
    }
    footer .coordonne .info-club {
        padding-bottom: 10px;
    }
    footer .mentions {
        height: auto;
    }
    footer .mentions p,
    footer .mentions .arduinnova {
        position: static;
    }
    footer .mentions .arduinnova {
        margin-top: 15px;
    }
    footer .coordonne .les-equipe .colonne ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}
@media screen and (max-width: 400px) {
    footer .coordonne .les-equipe,
    footer .coordonne .info-club {
        margin-left: 25px;
        width: auto;
    }
    footer .mentions p {
        font-size: 0.7em;
    }
}


.content-article p a {
    color: var(--blue-ocpam);
    text-decoration: none;
}

.infrastructures {
    margin-top: 35px;
}


/**
*   Modif flèche go to top
*/
.gototop {
    right: 25px;
}
.gototop .fa-arrow-circle-up {
    color: var(--blue-ocpam);
}




/**
* Modif Photo galerie
*/
.photo-gallery-container {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}
.photo-gallery-container .photo-gallery,
.photo-gallery-category-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}
.photo-gallery-container p {
    text-align: center;
    font-size: 1em;
}
.photo-gallery-container p a {
    text-decoration: none;
    font-weight: 600;
    color: var(--blue-ocpam);
}
.photo-gallery-category-item {
    flex: 32%;
    max-width: 32%;
    display: inline-block;
    position: relative;
    margin: 5px;
    max-height: 220px;
    overflow: hidden;
}
.photo-gallery-category-name,
.photo-gallery-caption {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--blue-ocpam);
    height: 45px;
    padding-top: 5px;
    color: white;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.photo-gallery ul {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    flex: 100%;
}
.photo-gallery ul li {
    position: relative;
    float: none;
    margin: 5px;
    flex: 32%;
    max-width: 32%;
    justify-content: center;
    display: flex;
}
@media screen and (max-width: 1455px) {
    .photo-gallery-container {
        width: 85%;
    }
    .photo-gallery-container .photo-gallery,
    .photo-gallery-category-container {
        max-width: 950px;
    }

    .photo-gallery-category-name,
    .photo-gallery-caption {
        top: 165px
    }

    .photo-gallery-category-item {
        max-height: 210px;
    }
}
@media screen and (max-width: 1080px) {
    .photo-gallery-category-name,
    .photo-gallery-caption {
        top: 140px
    }

    .photo-gallery-category-item {
        max-height: 185px;
    }
}
@media screen and (max-width: 880px) {
    .photo-gallery ul li {
        flex: 48%;
        max-width: 48%;
    }

    .photo-gallery-category-item {
        flex: 48%;
        max-width: 48%;
        max-height: 210px;
        min-height: 210px;
    }

    .photo-gallery-category-name,
    .photo-gallery-caption {
        top: 165px;
    }
}
@media screen and (max-width: 866px) {
    .page-equipe .equipes .photo-gallery-category-item img {
        max-width: 100%;
    }
    .photo-gallery-category-name {
        max-width: 100%;
        font-size: 1em;
    }
}
@media screen and (max-width: 757px) {
    .photo-gallery-container {
        width: 100%;
    }

    .photo-gallery-container .photo-gallery,
    .photo-gallery-category-container {
        padding: 15px;
    }
}
@media screen and (max-width: 520px) {
    .photo-gallery ul li {
        flex: 100%;
        max-width: 100%;
    }

    .photo-gallery-category-item {
        flex: 100%;
        max-width: 100%;
        max-height: 255px;
        min-height: 255px;
    }

    .photo-gallery-container .photo-gallery,
    .photo-gallery-category-container {
        justify-content: center;
    }

    .photo-gallery-category-name,
    .photo-gallery-caption {
        top: 210px;
    }
}
@media screen and (max-width: 410px) {
    .photo-gallery-category-name,
    .photo-gallery-caption {
        top: 155px;
    }
    .photo-gallery-category-item {
        max-width: 280px;
        max-height: 200px;
        min-height: 200px;
    }
}

.error {
    margin-top: 75px;
    margin-left: 25px;
    margin-right: 25px;
    height: 60vh;
}
.error ul {
    list-style: none;
}

.social-networks-wall-container {
    display:flex;
    flex-wrap:wrap;
    height:auto !important;
    align-items:stretch;
}

.social-networks-wall-root .block-sortable-active .block-sortable-item {
    position:relative !important;
    top:0 !important;
    left:0 !important;
    width:calc(100% / 5 - 10px) !important;
    height:auto ! important;
    margin-left:calc(10px * 5 / 8);
    margin-right:calc(10px * 5 / 8);
    margin-top:calc(10px * 5 / 8);
}

.social-networks-wall-root .block-sortable-active .block-sortable-item > a {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:10;
}

.social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n + 1) {
    margin-left:0;
}

.social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n) {
    margin-right:0;
}

.social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 5) {
    margin-top:0;
}

.social-networks-wall-item {
    height:calc(100% - 10px);
}

.social-networks-wall-item-toolbar {
    margin: auto 0 0 0;
}

.social-networks-wall-item-footer {
    margin:0;
}

.social-networks-wall-item-image-container {
    height: calc((1470px / 5 - 20px) * 20 / 16);
    max-height: calc((1470px / 5 - 20px) * 20 / 16);
}

.social-networks-wall-item-image-container img {
    width:100%;
    height:100%;
    object-fit:cover;
}

@media all and (max-width:1600px) {
    .social-networks-wall-root .block-sortable-active .block-sortable-item {
        width:calc(100% / 4 - 10px) !important;
        margin-left:calc(10px * 4 / 6);
        margin-right:calc(10px * 4 / 6);
        margin-top:calc(10px * 4 / 6);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n + 1) {
        margin-left:calc(10px * 4 / 6);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n) {
        margin-right:calc(10px * 4 / 6);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 5) {
        margin-top:calc(10px * 4 / 6);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n + 1) {
        margin-left:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n) {
        margin-right:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 4) {
        margin-top:0;
    }

    .social-networks-wall-item-image-container {
        height: calc((1470px / 4 - 20px) * 20 / 16);
        max-height: calc((1470px / 4 - 20px) * 20 / 16);
    }
}

@media all and (max-width:1599px) {
    .social-networks-wall-item-image-container {
        height: calc((1020px / 4 - 20px) * 20 / 16);
        max-height: calc((1020px / 4 - 20px) * 20 / 16);
    }
}

@media all and (max-width:1199px) {
    .social-networks-wall-item-image-container {
        height: calc((930px / 4 - 20px) * 20 / 16);
        max-height: calc((930px / 4 - 20px) * 20 / 16);
    }
}

@media all and (max-width:991px) {
    .social-networks-wall-item-image-container {
        height: calc(((100vw - 30px) / 4 - 20px) * 20 / 16);
        max-height: calc(((750px - 30px) / 4 - 20px) * 20 / 16);
    }
}

@media all and (max-width:820px) {
    .social-networks-wall-root .block-sortable-active .block-sortable-item {
        width:calc(100% / 2 - 10px) !important;
        margin-left:calc(10px);
        margin-right:calc(10px);
        margin-top:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n + 1) {
        margin-left:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n) {
        margin-right:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 5) {
        margin-top:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n + 1) {
        margin-left:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n) {
        margin-right:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 4) {
        margin-top:calc(10px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(2n + 1) {
        margin-left:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(2n) {
        margin-right:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 2) {
        margin-top:0;
    }

    .social-networks-wall-item-image-container {
        height: calc(((100vw - 30px) / 2 - 20px) * 20 / 16);
        max-height: calc(((750px - 30px) / 2 - 20px) * 20 / 16);
    }
}

@media all and (max-width:767px) {
    .social-networks-wall-item-image-container {
        max-height: calc(((540px - 30px) / 2 - 20px) * 20 / 16);
    }

    .social-networks-wall-root .social-networks-wall-item-footer {
      font-size: 0.5rem;
    }
}

@media all and (max-width:360px) {
    .social-networks-wall-root .block-sortable-active .block-sortable-item {
      width: calc(100% / 2 - 5px) !important;
      min-width: 50px;
      margin-left: calc(3px);
      margin-right: calc(3px);
      margin-top: calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n + 1) {
        margin-left:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(5n) {
        margin-right:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 5) {
        margin-top:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n + 1) {
        margin-left:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(4n) {
        margin-right:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 4) {
        margin-top:calc(3px);
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(2n + 1) {
        margin-left:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(2n) {
        margin-right:0;
    }

    .social-networks-wall-root .block-sortable-active .block-sortable-item:nth-child(-n + 2) {
        margin-top:0;
    }
}

.social-networks-wall-item-images-more {
    right:30px;
}
