
/* LG */
@media (min-width: 1200px) {
    #menu-burger {
        display: none;
    }

    .annonces .clearfix-3, .annonces .clearfix-2,
    .moduleKmlArticlesSub .clearfix-3, .moduleKmlArticlesSub .clearfix-2
    {
        display: none;
    }
    .annonces .clearfix-4,
    .moduleKmlArticlesSub .clearfix-4 {
        display: block;
    }

    #widgetSocial .desktop {
        display: inline-block;
    }
    #widgetSocial .responsive {
        display: none;
    }
}

/* LG & MD & SM */
@media (min-width: 768px) {

}


/* LG & MD */
@media (min-width: 992px) {

}


/* LG */
@media (min-width: 1200px) and (max-width: 1500px) {
    #menu .logo {
        position: absolute;
        left: 15px;
    }
    #menu #logo {
        left: 0;
    }
    #menu .menu_chip {
        padding: 0;
    }
    #menu #logo {
        width: 120px;
        height: 120px;
        left: 50px;
        top: 0;
    }
}

/* LG */
@media (max-width: 1199px) {
    #menu {
        height: 40px;
        padding-right: 100px;
        text-align: right;
    }
    #deferlante {
        display: none;
        margin-right: 0;
    }
    #widgetSocial {
        display: none;
        margin-right: 0;
    }
    #widgetSocial .responsive{
        display: block;
    }
    #widgetSocial .content{
        display: none;
    }
    #widgetSocial .desktop {
        display: none;
    }
    #menu-burger {
        display: block;
        position: absolute;
        right: 0;
    }

    #menu .menu_link {
        display: none;
    }

    #menu .menu_chip {
        margin-top: 4px;
    }

    #menu #logo {
        width: 120px;
        height: 120px;
        left: 50px;
        top: 0;
        z-index: 1;
    }

    #menu .menu_link {
        text-align: left;
        display: block;
        position: fixed;
        height: 100vh;
        background-color: rgba(13, 7, 33, 0.9);
        width: 280px;
        right: -280px;
        top: 40px;
        margin: 0;
        padding: 20px;
        -webkit-transition: right 0.5s;
        -moz-transition: right 0.5s;
        -ms-transition: right 0.5s;
        -o-transition: right 0.5s;
        transition: right 0.5s;
    }

    #menu.active .menu_link {
        display: block;
        right: 0;
    }

    #menu .menu_link li {
        display: block;
    }

    #menu .menu_link li a, #menu .menu_link li span {
        border-left: none;
        color: white;
        text-decoration: none;
        letter-spacing: 1px;
        font-weight: 600;
        cursor: pointer;
        padding: 10px;
        display: inline-block;
    }

    #menu .submenu {
        display: block;
        position: relative;
        background-color: transparent;
        top: auto;
        padding: 0;
        opacity: 0.8;
        border-left: 1px solid white;
        margin-left: 15px;
    }

    #menu .menu_langue {
        display: block !important;
    }

    #menu .menu_chip .menu_langue {
        display: none !important;
    }
    #menu hr {
        display: block !important;
    }

    #widgetSocial {
        display: none;
        bottom: 20px;
        top: auto;
    }

    #widgetSocial.active {
        display: block;
    }

    .homeCourses .courses .course:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    .homeCourses .courses .course {
        float: left;
        width: 100%;
        margin-top: 30px;
    }

    .annonces .clearfix-4, .annonces .clearfix-2,
    .moduleKmlArticlesSub .clearfix-4, .moduleKmlArticlesSub .clearfix-2{
        display: none;
    }
    .annonces .clearfix-3,
    .moduleKmlArticlesSub .clearfix-3 {
        display: block;
    }
}

@media (max-height: 899px), (max-width: 1199px) {
    #fullpage .section:not(.home-header) {
        padding: 50px 10px;
    }
    #homeCourses, #homeClassement {
        background-attachment: fixed;
    }
    #header {
        width: 100%;
        float: left;
        position: relative;
    }
    #header .adherer {
        position: relative;
        width: 100%;
        text-align: center;
        margin-top: 140px !important;
        margin-bottom: 100px !important;
        z-index: 9;
    }
    #header .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
    }

    #header .slide {
        display: none;
    }
    #header .slide.active{
        display: block;
    }

    #homeCourses .courses .course {
        float: left;
    }
    #homeCourses  .courses .course .description {
        width: 100%;
    }
    #homeCourses .courses .course .visuel {
        margin-top: -50px;
        position: relative;
    }

    #homeActu {
        height: 80vh;
    }
    #homeActu .article-content{
        padding-top: 0;
    }

}


/* MD */
@media (min-width: 992px) and (max-width: 1199px) {

}


/* SM */
@media (min-width: 768px) and (max-width: 991px) {
    #menu #logo {
        width: 100px;
        height: 100px;
        left: 30px;
        top: 0;
    }
}

/* sm */
@media (max-width: 991px) {

    #header {
        min-height: 300px;
    }
    #header .adherer {
        margin-top: 100px !important;
        margin-bottom: 60px !important;
    }
    #header .adherer p:first-child {
        font-size: 2em;
    }
    #header .adherer p:nth-child(2){
        font-size: 2em;
    }

    #homeActu {
        height: auto;
    }
    #homeActu > .col-md-12 {
        padding: 0;
        max-height: inherit;
        overflow: auto;
    }
    #homeActu .article .image {
        max-height: 400px;
        width: auto;
        max-width: 100%;
    }
    #homeActu .text-right {
        text-align: center;
    }
    #homeActu .switch-actu {

        margin-left: calc(50vw - 90px - 15px);
        top: -70px;
    }
    #homeActu .switch-actu img{

    }

    .annonces .clearfix-4, .annonces .clearfix-3,
    .moduleKmlArticlesSub .clearfix-4, .moduleKmlArticlesSub .clearfix-3 {
        display: none;
    }
    .annonces .clearfix-2,
    .moduleKmlArticlesSub .clearfix-2 {
        display: block;
    }
}
/* XS */
@media (max-width: 767px) {
    body {
        font-size: 12px;
        font-family: 'Raleway', sans-serif;
    }

    .breadcrumb {
        display: none;
    }
    #homeCourses h3:before, #homeCourses h3:after,
    #homeClassement h3:before, #homeClassement h3:after,
    #page-classement h3:before, #page-classement h3:after,
    #page-courses h3:before, #page-courses h3:after,
    #homeAnnonce h3:before, #homeAnnonce h3:after,
    #historique h3:before, #historique h3:after {
        content: '';
        margin-top:0;
        display: inline-block;
        width: 0;
        vertical-align: top;
        text-align: left;
    }
    #homeCourses h3:after, #homeClassement h3:after, #homeAnnonce h3:after, #historique h3:after, #page-classement h3:after, #page-courses h3:after {
        margin-top: 0;
    }
    #homeAnnonce h3:before, #homeAnnonce h3:after,
    #historique h3:before, #historique h3:after
    {
        content: "";
    }

    #menu #logo {
        width: 90px;
        height: 90px;
        left: 10px;
        top: 0;
    }

    #homeClassement .classements {
        width: auto;
        margin-left: 0 !important;
    }

    #homeClassement .classement {
        width: 100%;
        margin: 0;
        margin-bottom: 50px;
    }

    #homeClassement .classements.proto .classement-serie,
    #homeClassement .classements.serie .classement-proto
    {
        display: none;
    }
    #homeClassement .classements.proto .classement-proto,
    #homeClassement .classements.serie .classement-serie
    {
        display: block;
    }

    .classement .skipper {
        width: auto;
        position: relative;
    }

    .classement .name {
        width: auto;
    }

    .classement .photo {
        position: absolute;
        right: 0;
    }

    .classement .points {
        float: right;
        margin-right: 60px;
        width: auto;
    }
	.classement .good_perf {
        display:none;
    }


    .homeCourses .courses {
        padding: 0;
    }
    .homeCourses .courses .course .description {
        width: 100%;
    }
    .homeCourses .courses .course .visuel-container {
        float: none;
        margin: 10px auto;
    }
    .homeCourses .courses .course .visuel .logo {
        top: 110px;
        left: 180px;
    }


    .annonces article .photo {
        height: auto;
    }
    .annonces article .photo img {
        margin-top: 0;
        transform: translate(0, 0);
        width: 100%;
        margin-left: 0;
    }
    #footer .footer_menu > ul > li {
        width: calc(50% - 6px);
        margin-bottom: 20px;
    }

    #footer .text-left, #footer .text-right {
        text-align: center;
    }
}


/* XXXS */
@media (max-width: 480px) {
    #menu #logo {
        width: 60px;
        height: 60px;
        left: 3px;
        top: 0;
    }
}


/* Burger Menu */
#menu-burger {
    cursor: pointer;
    position: fixed;
    top: 12px;
    left: auto;
    padding: 7px;
    right: 20px;
}
#menu-burger span {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    transition: all .2s ease-in-out;
}

#menu-burger span:before, #menu-burger span:after {
   position: absolute;
   background: white;
   content: '';
   width: 20px;
   height: 2px;
   transition: all .2s ease-in-out;
}

#menu-burger span:before {
     top: -8px;
 }

#menu-burger span:after {
     top: 8px;
}


#menu-burger.active span {
    background: transparent;
}
#menu-burger.active span:before {
    transform: rotate(45deg) translate(5px, 6px);
 }
#menu-burger.active span:after {
    transform: rotate(-45deg) translate(5px, -6px);
}
