/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                             CSS PERSO ASIDE

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */



/* Construction
-------------------------------------------------------------------------------- */

.aside {
    display: inline-block;
    float: inherit;
    overflow: inherit;
    width: 100%;
    margin: 1em auto 6em;
}
.page_article .aside,
.page_document .aside{
  margin: 1em auto 6em;
}
.aside hr {
    background: #ccc none repeat scroll 0 0;
    color: #ccc;
    margin: 1em auto 3em;
    max-width: 180px;
}


/* Elements
-------------------------------------------------------------------------------- */


/* ----------------------------- */
/*       News box                */
/* ----------------------------- */

.news_box {
    margin-left: 4px;
    position: relative;
}
.news_button {
    position: absolute;
    top: 0;
    left: 0;
}
.news_button a {
  margin: 0 auto;
  height: auto;
  display: inline-block;
  padding: 12px 24px;
  border: 3px solid #000;
  background-color: transparent;
  text-decoration: none;
  border-radius: 10px;
}
.news_button a:hover {
    opacity: 0.3;
}
.news {
    background-image: url("img/news.svg");
    background-size: 118px 24px;
    display: block;
    height: 24px;
    opacity: 1;
    margin: 0;
    background-repeat: no-repeat;
    width: 118px;
}



/* ----------------------------- */
/*        Nav box left           */
/* ----------------------------- */

.nav_box_left {
    margin: 0;
    padding: 0;
    display: block;
    float: left;
    clear: left;
}
.nav_box_left .icon-follow {
  background-image: url("img/follow.svg");
  background-repeat: no-repeat;
  background-size: 175px 32px;
  width: 175px;
  height: 32px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  margin: 0;
  display: block;
  opacity: 1;
}
.nav_box_left a:hover .icon-follow {
  opacity: 0.5;
}



/* ----------------------------- */
/*       Nav Checkbox            */
/* ----------------------------- */

.nav_box {
    margin: 0;
    padding: 0;
    display: block;
    float: right;
    clear: right;
}
.nav_checkbox {
    overflow: inherit;
    text-align: right;
}

/*Display 'show menu' button */
.nav_checkbox .show-menu {
    cursor: pointer;
    display: inline-block;
    padding: 0;
    text-align: right;
    text-decoration: none;
    margin: 0;
}

aside .nav_checkbox .fold {
  opacity: 0.3;
  background-size: 120px 40px;
  width: 120px;
  height: 40px;
}
aside .nav_checkbox .show-menu:hover .fold {
  opacity: 1;
}    
.nav_checkbox .fold {
    background-image: url("img/menu.svg");
    background-repeat: no-repeat;
    background-size: 150px 50px;
    width: 150px;
    height: 50px;
    cursor: pointer;
    text-align: right;
    text-decoration: none;
    margin: 0 auto;
    display: block;
    opacity: 1;
}

.nav_checkbox .unfold {
    background: url("img/plus.svg") no-repeat center;
    background-size: 54px 54px;
    cursor: pointer;
    text-align: right;
    text-decoration: none;
    margin: 0 auto;
    display: inline-block;
    width: 54px;
    height: 54px;
    transform: rotate(45deg);
}
.nav_checkbox .show-menu .unfold {
    display: none;
}

.nav_checkbox input[type="checkbox"]:checked ~ .nav_menu {
    max-width: 450px !important;
    max-height: inherit !important;
}
.nav_checkbox input[type="checkbox"]:checked ~ label.show-menu {
    width: 54px;
    height: 54px;
    margin-bottom: 2.7em;
}

.nav_checkbox input[type=checkbox]:checked ~ .show-menu .fold {
    display: none;
}
.nav_checkbox input[type=checkbox]:checked ~ .show-menu .unfold {
    display: block;
}

/*Show menu when invisible checkbox is checked*/
.nav_checkbox input[type=checkbox]:checked ~ .nav_menu #nav_menu {
    display: block;
}

.nav_menu {
    display: block;
    max-width: 1px;
    max-height: 1px;
}

/*Make dropdown links appear inline*/
.nav_menu ul {
    display: none;
    font-size: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nav_menu ul li {
    display: block;
    margin: 0 0 25px 0;
}
.nav_menu ul li.langues {
  margin: 75px auto 25px;
}
.nav_menu ul li a {
    display: inline-block;
}
.nav_menu img {
    height: 60px !important; 
    width: auto !important;
}
.nav_menu a:hover img {
    opacity: 0.5;
}

.nav_menu ul li a::after {
    display: none;
}

/* Menu mobile invisible */
.navigation_checkbox input[type="checkbox"] {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Nav Langues */
.langues {}
.langues .en {
    padding-right: 10px;
    border-right: 5px solid;
    display: inline-block;
}
.langues .fr {
    padding-left: 10px;
}
.nav_menu .langues img {
    height: 60px !important; 
    width: auto !important;
}



/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE ECRANS 1300PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 1300px) {
    
.aside .container {
    max-width: 975px;  
}

}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE ECRANS 975PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 975px) {
    
.aside {
  margin: 1em auto 3em;
}
    
}
   

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE PETITS ECRANS 750PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 750px) {

.nav_menu ul li.langues {
  margin: 60px auto 30px;
}
.nav_menu_left img {
  height: 35px !important;
}
.nav_menu img {
  height: 50px !important;
}
.nav_menu .langues img {
  height: 45px !important;
}

}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE PETITS ECRANS 650PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 650px) {
     
.nav_menu img {
    height: 45px !important;
}
.nav_menu .langues img {
    height: 40px !important;
}


}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE PETITS ECRANS 580PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 580px) {

.page_sommaire .nav_checkbox {
}
.page_sommaire .nav_menu ul {
}
    
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE PETITS ECRANS 550PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 550px) {
    
.aside {
  margin: 1em auto 2em;
}
.page_article .aside,
.page_document .aside {
  margin: 1em auto 3em;
}

.nav_checkbox input[type="checkbox"]:checked ~ label.show-menu {
    margin-bottom: 1.5em;
}
.nav_menu img {
  height: 35px !important;
  width: auto !important;
}
.nav_menu .langues img {
  height: 33px !important;
  width: auto !important;
}
.langues .en { 
    border-right: 4px solid;
}
.nav_box_left .icon-follow {
    background-size: 100px 18px;
    width: 100px;
    height: 18px;
} 
.nav_checkbox .fold {
    background-size: 95px 24px;
    height: 24px;
    width: 95px;
}
.nav_checkbox .unfold {
    background: url("img/plus-light.svg") no-repeat center;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    vertical-align: bottom;
        -webkit-vertical-align: -webkit-baseline-middle;
        -moz-vertical-align: -moz-middle-with-baseline;
    margin-top: -4px;
}
.nav_checkbox input[type="checkbox"]:checked ~ label.show-menu {
    width: 30px;
    height: 30px;
}
.nav_menu ul li {
  margin: 0 0 20px 0;
}
.nav_menu ul li.langues {
    margin: 50px auto 20px;
}

/* ---- Aside ---- */
aside .nav_checkbox .fold {
    background-size: 66px 22px;
    width: 66px;
    height: 22px;
    opacity: 0.45;
}
    
}


/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                                                          AFFICHAGE PETITS ECRANS 450PX

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


@media (max-width: 450px) {
    
.nav_checkbox .fold {
    background-size: 90px 20px;
    height: 20px;
    width: 90px;
}
.nav_checkbox .unfold {
    background: url("img/plus-light.svg") no-repeat center;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    vertical-align: bottom;
        -webkit-vertical-align: -webkit-baseline-middle;
        -moz-vertical-align: -moz-middle-with-baseline;
    margin-top: -4px;
}
.nav_checkbox input[type="checkbox"]:checked ~ label.show-menu {
    width: 30px;
    height: 30px;
}
.nav_menu ul li {
    font-size: 14px;
}  
    
}


/*  Correctif largeur chevauchement menu deroulant */
@media (max-width: 348px) {
.nav_checkbox input[type="checkbox"]:checked ~ label.show-menu {
  margin-bottom: 0;
}
.nav_checkbox input[type="checkbox"]:checked ~ .show-menu .unfold {
  margin-top: -30px;
}
}

/* Retour a la ligne page contact */
@media (max-width: 350px) {
.page_contact .call-provider {
    display: inline-block;
    width: 100%;
    margin-bottom: 3px;
}
}





