@media screen and (max-width: 1200px) {
    .navigationmenu > ul > li{
        margin-right: 15px;
    }
    .navigationmenu > ul > li > a{
        font-size: 14px;
    }
}
@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    table
    {
        max-width: 100%;
    }

    .home-blog-event {
        width: calc((100% / 2) - 20px);
        min-width: 215px;
    }

    .autre-infos {
        width: calc(100% - 310px);
    }
    #slider img {
        height: auto;
    }
    .infosflash-container {
        width: 100%;
    }

    .actus-activite
    {
        max-width: 100%;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 20px;
    }

    .actus-activite .home-blog-actu
    {
        width: calc((100% / 3) - 20px);
        height: auto;
    }
}

@media screen and (max-width: 850px) {
    .modal-content{
        width: 95%;
        margin: 0;
        transform: translateX(-50%) translateY(-50%);
    }
    #modal-reinscription .modal-content{
        width: 90%;
        min-height: 350px;
    }
    .acf-map-cal {
        width: 100%;
        height: 400px;
        margin-top: 5px;
    }
}
@media screen and (max-width: 978px) {
    #master {
        position: relative;
        z-index: 16;
    }

    .menu-nav > .container
    {
        justify-content: space-between;
    }
    .container {
        width: 100%;
    }

    .menu-small {
        display: flex;
    }

    .menu-small > div {
        font-size: 30px;
        color: white;
        background: #407ec9;
        padding: 10px;
        height: 46px;
        width: 46px;
        margin: auto;
        transition: all 0.3s ease;
    }

    .menu-small .fa-times:before {
        margin: auto !important;
    }

    .menu-small > div > i {
        font-size: 30px;
        color: #fff;
        height: 30px;
        margin-top: -2px;
        display: flex;
    }

    .navigationmenu > ul {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: inherit;
        align-items: inherit;
        -webkit-box-shadow: 5px -25px 15px 0px rgba(51, 51, 51, 0.5);
        -moz-box-shadow: 5px -25px 15px 0px rgba(51, 51, 51, 0.5);
        box-shadow: 5px -25px 15px 0px rgba(51, 51, 51, 0.5);
    }

    .navigationmenu {

        position: fixed;
        top: 0;
        left: 0;
        backface-visibility: hidden;
        width: 200px;
        height: 100%;
        z-index: 15;
        background: white;
        transform: translate3d(-100%, 0, 0);
        transition: transform .7s ease;
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        overflow-y: scroll;
    }
    .open .plein, .open .ecran
    {
        padding-top: 0 !important;
    }
    .navigationmenu.active {
        position: static;
        width: 100%;
        height: auto;
        transform: translate3d(0, 0, 0);
        transition: transform .7s ease;
        padding-top: 0px !important;
    }

    .navigationmenu > ul > li {
        list-style: none;
        width: 100%;
        display: flex;
        height: initial;
        line-height: 50px;
        position: relative;
        padding: 0;
        margin: 0;
        align-self: inherit;
        display: flex;
        flex-direction: column;
    }

    .navigationmenu > ul > li:hover {
        background: #efefef;
        border-bottom: none;
    }

    .navigationmenu > ul > li:hover > ul.sub-menu,
    .navigationmenu > ul > li > ul.sub-menu{
        position: static;
        padding: 0;
        margin: 0;
        top: inherit;
        width: 100%;
        left: inherit;
        background: #efefef;
        box-shadow: none;
        border: none;
    }

    .navigationmenu > ul > li:hover > ul.sub-menu,
    .navigationmenu > ul > li > ul.sub-menu {
        display: none;
    }

    .navigationmenu > ul > li.active > ul.sub-menu,
    .navigationmenu > ul > li > ul.sub-menu > li.active > ul,
    .navigationmenu > ul > li > .sub-menu > li.active:hover > ul{
        display: flex !important;
        flex-direction: column;
        width: 100%;
        height: auto;
        box-shadow: none;
        position: static;
    }
    .navigationmenu > ul > li > .sub-menu > li.active > ul > li
    {
        padding: 0 10px;
        /*max-height: 35px;*/
        align-items: center;
        display: flex;
        font-size: 15px;
        height: auto;
    }
    .navigationmenu > ul > li > .sub-menu > li > ul > li > a
    {
        width: 100%;
        height: 100%;
    }
    .navigationmenu > ul > li > ul.sub-menu > li {
        border: none;
        min-height: 50px;
        font-weight: 500;
        padding: 0 0 0 20px;
        line-height: 50px;
        display: flex;
        flex-direction: row;
        height: auto;
        align-items: center;
    }

    .navigationmenu > ul > li > ul.sub-menu > li,
    .navigationmenu > ul > li > ul.sub-menu > li:hover {
        border-bottom: none;
        min-height: 50px;
        font-weight: 500;
        padding: 0px;
        background: none;
        line-height: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigationmenu > ul > li > a:after {
        display: none;
    }

    /*.navigationmenu > ul > li > ul.sub-menu > li:before {
        content: "\f178";
        font-family: FontAwesome;
        font-size: 17px;
        display: inline-flex;
        color: #d82d21;
        line-height: normal;
        vertical-align: text-top;
        margin-right: 10px;
        margin-top: 5px;
    }*/

    .navigationmenu > ul > li > ul.sub-menu > li > a,
    .navigationmenu > ul > li > ul.sub-menu > li:hover > a{
        font-weight: 500;
        font-family: 'Exo', sans-serif;
        width: calc(100% - 60px);
        line-height: normal;
        display: inline-flex;
        color: #333;
        min-height: 50px;
        margin: 0;
        padding: 0;
        align-items: center;
    }
    .navigationmenu > ul > li > ul.sub-menu > li:hover > ul,
    .navigationmenu > ul > li > ul.sub-menu > li > ul
    {
        background: #fff;
        width: 100%;
    }
    .navigationmenu > ul > li > ul.sub-menu > li:hover > ul > li > a,
    .navigationmenu > ul > li > ul.sub-menu > li > ul > li > a
    {
        text-transform: uppercase;
    }
    .navigationmenu > ul > li > a {
        display: inline-flex;
        margin-top: 0;
        height: inherit;
        text-decoration: none;
        font-family: 'exodemibold', sans-serif;
        font-weight: 500;
        font-size: 15px;
        vertical-align: middle;
        color: #000;
        text-transform: uppercase;
        text-align: left;
        justify-content: flex-start;
        width: 100%;
        align-self: flex-start;
        padding: 0 0 0 10px;
    }

    .toggle {
        color: #407ec9;
        font-size: 17px;
        display: flex;
        position: absolute;
        right: 10px;
        width: 55px;
        justify-content: center;
        cursor: pointer;
        height: 40px;
        z-index: 6;
        align-items: center;
    }

    .acces {
        margin-top:0px;
        overflow: hidden;
    }
    .acces > .compte {
        width: 50px;
        margin-left: 5px;
    }

    .acces > .fb-rac > ul {
        justify-content: flex-start;
    }
    .acces > .compte,
    .acces > .fb-rac > ul > li
    {
        margin-right: 5px;
    }
    .navigationmenu  > ul > li > .sub-menu > li > ul > li:hover,
    .navigationmenu  > ul > li > .sub-menu > li > ul > li{
        background: #FFF;
    }
    .navigationmenu  > ul > li > .sub-menu > li > ul > li:hover > a,
    .navigationmenu  > ul > li > .sub-menu > li > ul > li > a
    {
        color: #333;
    }

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

    .table-container
    {
        overflow-x:auto;
    }
    .map > #encartmap
    {
        height:425px;
        display: initial;
    }
    #encartmap .adresse
    {
        display: block;
        width: 95%;
        height: auto;
    }
    .map > #gmap
    {
        height: calc(100% - 445px);
    }
    .content-page
    {
        padding: 0px;
    }
    /*.plein,
    .ecran
    {
        padding-top: 90px;
    }*/

    #slider {
        display: flex;
        width: 100%;
        height: 200px;
        max-height: 200px;
        background: #000;
    }
    #slider > *, #slider .huge_it_slideshow_image_wrap1_1 {
        height: 100% !important;
    }
    #slider img {
        width: auto;
        height: 100%;
    }
    #slider .huge_it_slideshow_dots_thumbnails_1 {
        display: none;
    }
    .home-infos {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        align-content: space-between;
    }

    .autre-infos {
        margin-top: 40px;
        width: 80%;
    }

    .home-blog {
        width: 80%;
    }

    .home-blog-actu {
        width: 100%;
    }

    .home-blog > a:last-child {
        align-self: center;
        margin-top: 20px;
    }

    .chiffres-cles {
        height: auto;
    }

    .chiffres-cles > .container {
        flex-direction: column;
    }

    .chiffre {
        width: 95%;
        margin: 20px 0;
    }

    .facebook > .container > .les-facebook,
    .facebook > .container > .les-comptes {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .facebook > .container .facebook-gym,
    .facebook > .container .suivez-gym,
    .facebook > .container .facebook-fit,
    .facebook > .container .suivez-fit {
        margin: 20px 0;
        width: 80%;
    }
    #haut
    {
        display: none;
    }
    .blog .home-blog-actu {
        width:300px;
    }
    .containers
    {
        flex-direction: column;
        display: block;
    }
    .content-page {
        width: 100%;
        max-width: 100%;
        display: block;
    }
    .sidebar
    {
        display: block;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-content: center;
    }
    .sidebar .encart
    {
        margin: 10px auto;
        display: block;
        width: 100%;
    }
    .sidebar > .sideactu > .home-blog-actu
    {
        margin: 0 auto 30px auto;
        width: 100%;
        height: 150px;
    }
    .sidebar .sideactu .home-actu-btn
    {
        width: 200px;
        margin: 0 auto 20px auto;
    }
    .sidebar .sideactu .home-actu-btn
    {
        width: 100%;
    }
    .actus-activite
    {
        flex-direction: column;
        justify-content: center;
        padding: 20px 10px;
    }
    .actus-activite .home-blog-actu
    {
        width: 100%;
        max-height: 100%;
        height: auto;
        margin: 0 auto 30px auto;
        padding: 10px;
    }
    .actus-activite .home-blog-actu > article > div{
        padding:5px;
    }
    .actus-activite .home-blog-actu > article > div > p
    {
        margin: 10px 0;
    }
    .actus-activite .home-blog-actu:hover > article > div > .btn{
        background:#fff ;
        color: #ce0037;
        border: 1px solid #ce0037;
    }
    .actus-activite .home-blog-actu > article > div > .btn
    {
        line-height: 25px;
    }
    footer
    {
        height: auto;
    }
    .entete h1
    {
        text-align: center;
    }
    .content .buttonCTA-a:hover
    {
        background-color: rgba(206,0,55,0.8);
        color: #fff;
    }
    .content .buttonCTA-a:hover > .buttonCTA > a,
    .content .buttonCTA-a:hover > span {
        color: #fff;
        text-decoration: none;
    }

    .sidebar .sideactu .home-blog-actu:hover > div > div,
    .sidebar .sideactu .home-blog-actu > div > div{
        background-color: rgba(255,191,63,0.6);
        transition: all 0.3s ease;
    }
    .sidebar .sideactu .home-actu-btn,
    .sidebar .sideactu .home-actu-btn:hover {
        background: #ce0037;
    }
    footer a:hover
    {
        color: #FFF;
    }

    .home-blog-actu, .home-blog-event,
    .home-blog-actu:hover, .home-blog-event:hover {
        padding: 20px;
    }
    .home-blog-actu:hover > article, .home-blog-event:hover > article {
        padding: 0px;
    }
    .home-blog-actu:hover > article > div, .home-blog-event:hover > article > div{
        width: 100%;
        height: 100%;
    }
    .home-blog-actu > article > div > .btn,
    .home-blog-actu:hover > article > div > .btn,
    .home-blog-event > article > div > .btn,
    .home-blog-event:hover > article > div > .btn {
        border: 1px solid #ce0037;
        height: 30px;
        background: transparent;
        line-height: 30px;
        text-transform: uppercase;
        color: #ce0037;
        font-weight: 700;
        transition: all 0.3s ease;
    }
    #filters > li:hover,
    #filters > li
    {
        box-shadow: none;
        transform:scale(1);
    }

    #section-inscription
    {
        padding: 20px 0;
        margin-top: 20px;
        height: auto;
        border-top: 1px solid #ce0037;
        border-bottom: 1px solid #ce0037;
    }

    #section-inscription > .container{
        justify-content: center;
    }

    #section-inscription > .container p {
        text-align: center;
        line-height: 25px;
        margin-bottom: 20px;
    }

    #section-inscription > .container a,
    #section-inscription > .container a:hover,
    .entete > .container > a,
    .entete > .container > a:hover
    {
        background: #ce0037;
        border: 1px solid #ce0037;
        color: white;
    }
    .entete > .container > a,
    .entete > .container > a:hover
    {
        bottom: 5px;
        left: 50%;
        margin-left: -100px;
        top:inherit;
        right:inherit;
    }

}

@media screen and (max-width:700px) {
    .grid {
        flex-direction: column;
        display: flex !important;
        justify-content: center !important;
        min-height: 500px;
        align-content: center;
        align-items: center;
        align-self: center;
        width: 100%;
    }
    .blog .home-blog-actu {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
        min-height: 200px;
        height: auto;
    }
    .home-blog-actu > article > div > .categs > span
    {
        margin-top: 5px;
    }
    .blog .home-blog-actu p{
        margin: 10px 0;
    }

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

    .page-template-page-contact .content {
        flex-direction: column;
        justify-content: inherit;
        align-items: center;
    }
    .form-contact, .map {
        width: 100%;
        display: flex;
        height: auto;
        flex-direction: column;
    }
    .map > #encartmap{
        position: relative;
        margin: 20px 0;
    }
    .map > #encartmap::after {
        width: 100%;
        height: calc(100% - 25px);
    }
    .map > #gmap {
        width: 100%;
        height: 500px;
        align-self: flex-end;
    }
    #filters
    {
        justify-content: center;
    }
    #filters > li
    {
        text-align: center;
        width: 49%;
    }

    .page-template-page-evenements .plein > .container > .forms{
        justify-content: center;
        flex-wrap: wrap;
    }
    .page-template-page-evenements .plein > .container > .forms > form{
        width: 100%;
    }
    .page-template-page-evenements .plein > .container > h3{
        text-align: center;
        margin: 0;
        margin-top: 20px;
    }
    .page-template-page-evenements .plein > .container > h5{
        margin: 20px auto;
    }

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

    .home-blog,
    .autre-infos {
        width: 95%;
    }
    #filters
    {
        height:auto;
    }
}

@media screen and (max-width: 550px) {
    .facebook > .container .facebook-gym,
    .facebook > .container .suivez-gym,
    .facebook > .container .facebook-fit,
    .facebook > .container .suivez-fit {
        width: 95%;
    }

    .menu-nav > .container {
        padding: 0 25px;
    }

    footer {
        display: block;
        line-height: 20px;
        background: #407ec9;
        flex-direction: column;
        padding: 10px 0;
    }

    footer a + a::before,
    footer p + p::before {
        display: none;
    }

    footer > .container {
        display: flex;
        height: 100% !important;
        background: #407ec9;
    }

    footer .droits,
    footer .mentions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    footer a, footer p {
        justify-content: center;
        display: flex;
        line-height: 30px;
    }

    .fa-heart-o {
        line-height: 30px;
        margin-left: 10px;
    }

    /** dons sponsors **/
    .dons-sponsors {
        height: auto;
        padding: 20px 0;
    }

    .dons-sponsors > .container div {
        flex-flow: column wrap;
        justify-content: space-around;
        align-items: center;
    }
    .dons-sponsors > .container div p{
        text-align: center;
        line-height:20px;
    }
    .dons-sponsors > .container a,
    .dons-sponsors > .container a:hover {
        width: 100%;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #407ec9;
        border: 1px solid #407ec9;
        color: #fff;
        margin: 5px 0px;
        transition: all 0.3s ease;
    }
}

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

    .home-blog,
    .autre-infos {
        width: 95%;
    }

    .autre-infos {
        height: auto;
        padding-bottom: 20px;
    }

    .autre-infos > .container-events {
        flex-direction: column;
        height: auto;
    }

    .home-blog-event {
        width: 300px;
        margin: 10px 0;
    }

    .facebook > .container .suivez-gym > a,
    .facebook > .container .suivez-fit > a {
        height: auto;
        line-height: normal;
        padding: 10px;
    }
    form label {
        width: 115px;
        display: inline-flex;
        justify-content: flex-start;
        margin-right: 20px;
    }
    form .wpcf7-form-control-wrap,
    form .wpcf7-form-control-wrap > input,
    form .wpcf7-form-control-wrap > textarea,
    form .wpcf7-form-control-wrap > select {
        width: 100%;
    }
    .alignleft,
    .alignright,
    .aligncenter{
        float: none;
        margin: 20px auto;
        display: flex;
        max-width: 100%;
        width: auto;
    }
}
@media screen and (max-width: 420px) {

    #filters > li
    {
        width:100%;
        max-width: 100%;
    }
    .retour,
    .home-blog > a:last-child
    {
        width: 100%;
    }
    .sidebar .partenaires .slick-list,
    .sidebar .partenaires .logos-min
    {
        padding: 0 80px !important;
        overflow: hidden;
    }

}

@media screen and (max-width: 400px) {
    .facebook > .container .facebook-gym,
    .facebook > .container .facebook-fit {
        height: 250px;
    }
}

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

    .home-blog-event {
        width: 250px;
    }
    .blog .home-blog-actu {
        width: 280px;
        height: 280px;
    }
}

@media screen and (max-height: 600px) {

    .acces
    {
        margin-top: 0px;
    }

}
