/*----------------------------- */


/* Permet la gestion du header */


/*--------------------------- */

.header-wrapper {
  min-height: 100px;
  position: relative;
  transition: background-image 3s ease-out;
}

.header-content {
  position: relative;
  height: 186px;
}

.header-content a {
  color: #ffffff;
  margin-right: 1em
}

#upper-panel-left {
  padding-top: 0.5em
}

#upper-panel-left p {
  padding:0;
  margin : 0
}


.accesibility {
    margin: 0 0 10px 0;
    width: 100%;
}

.accesibility .fa {
    font-size: 1.5em;
}

.accesibility li>a {
    -webkit-transition: color 0.4s ease-out;
    transition: color 0.4s ease-out;
    padding: 5px 0;
}

.accesibility li>a:hover,
.accesibility li>a:focus {
    color: #3796D5;
}

.accesibility a,
.accesibility a:hover,
.accesibility a:focus {
    text-decoration: inherit;
}

.screen-reader-text {
    font: 13px/24px "Open Sans", sans-serif;
    padding-right: 10px;
}

.searchform {
    position: absolute;
    right: 5px;
    color: white;
    top: 10px;
}

.searchform input {
    width: 217px;
    height: 33px;
    background-color: #FFF;
    font-family: inherit;
    border-style: solid;
    border-width: 1px;
    border-color: #CCC;
    color: black;
    display: block;
    font-size: 12px;
    font-size: 0.77778rem;
    padding: 7px;
    padding: 0.44444rem;
    padding-right: 33px;
    padding-right: 2.1rem;
    height: 32px;
    height: 2.05556rem;
    box-sizing: border-box;
    -webkit-transition: width 0.4s ease-out 0.5s, box-shadow 0.4s ease-out 0.5s, border 0.4s ease-out 0.5s;
    transition: width 0.4s ease-out 0.5s, box-shadow 0.4s ease-out 0.5s, border 0.4s ease-out 0.5s;
}

.searchform input:not(:focus)::placeholder{
    color: white;
}
.searchform input:focus {
    -webkit-transition: width 0.4s ease-out, box-shadow 0.4s ease-out, border 0.4s ease-out;
    transition: width 0.4s ease-out, box-shadow 0.4s ease-out, border 0.4s ease-out;
    box-shadow: 0 0 2px white;
    border: 2px solid white;
    width: 288px;
}

#searchform input:focus + label, #searchform input:not(:placeholder-shown) + label{
    top: -20px;
    font-size:0.8em;
    color: #639af9;
}

#searchform label {
    position: absolute;
    top: 7px;
    left: 7px;
    transition: 0.3s;
    font-size: 1em;
    color: black;
}

#searchform p#info-obligatoire{display:none;}

.searchform .search-submit {
    border: 0;
    background: none;
    position: absolute;
    right: 5px;
    top: 4px;
    cursor: pointer;
    color: #C0C0C0;
    font-size: 2em;
    width: 1.2em;
    height: 1.2em
    /*padding:0;*/
}

.searchform input:focus .search-submit {
    color: #FF80FF;
}

.searchform .search-submit.fa {
    color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    vertical-align: middle;
    font-size: 1.5em;
}

.lien_header_accueil,
.lien_header_accueil:hover,
.lien_header_accueil:focus {
    text-decoration: none;
}

.site_title {
    text-align: center;
}

.slogan {
    color: #FFFFFF;
    bottom: 30px;
    position: relative;
    right: -90px;
    text-align: center;
    display: none
}

.site_logo {
    vertical-align: -100%;
    display: inline-block;
}

.site_logo img {
    width: 74px;
}

.site_logo polygone,
.site_logo path {
    -webkit-transition: fill .4s ease;
    transition: fill .4s ease;
}


/*.titre-site{
  font-size:5em;
  color:white;
  text-shadow:0 5px 5px black;
  line-height: 0.5;
  text-decoration: none;
  margin-bottom: 40px;
  transition:color 800ms ease-out,text-shadow 400ms ease-out,margin 400ms ease-out;
}

.titre-site:focus, .titre-site:hover {
  margin-left:10px;
  text-shadow:-5px 5px 5px #000000;
  text-decoration: none;
}*/

.titre-site span {
    display: none;
}

.titre-site {
    font-family: 'Century Gothic regular';
    font-size: 3.5em;
    color: #fff;
    display: none
}


/* ----------------------------------- */


/* ------ Reseaux sociaux icônes ----- */


/* ----------------------------------- */

.reseaux_sociaux {
    position: relative;
}

.reseaux_sociaux ul {
    margin: 0;
}

.reseaux_sociaux a:focus .reseau_sociaux_icon,
.reseau_sociaux_icon:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    /*filter:alpha(opacity=100);*/
    /*  box-shadow: 0 3px 2px black;
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  -ms-filter: grayscale(0);
  -o-filter: grayscale(0);*/
}

.reseaux_sociaux_header a:focus .reseau_sociaux_icon,
.reseaux_sociaux_header .reseau_sociaux_icon:hover {
    margin-bottom: 3px;
    margin-top: 3px;
}

.reseaux_sociaux ul li {
    list-style: none;
    display: inline-block;
    /* hack IE<8 */
    *display: inline;
    margin-left: 5px;
}

.reseau_sociaux_icon {
    opacity: 1;
    filter: alpha(opacity=100);
    height: 32px;
    /*  filter:alpha(opacity=80);
  filter: grayscale(80%);
  -webkit-filter: grayscale(80%);
  -moz-filter: grayscale(80%);
  -ms-filter: grayscale(80%);
  -o-filter: grayscale(80%);*/
    -webkit-transition: opacity 0.4s ease-out, box-shadow 0.2s ease-out, margin-bottom 0.2s ease-out;
    transition: opacity 0.4s ease-out, box-shadow 0.2s ease-out, margin-bottom 0.2s ease-out;
}

.reseaux_sociaux_header {
    position: absolute;
    right: 5px;
    bottom: 0;
    text-align: center;
    background-color: #00000080;
}

.reseaux_sociaux_header ul {
    display: inline-block;
}

.inline-list {
    /*margin: 0 auto 2rem auto;*/
    /*margin-left: -1.375rem;*/
    margin-right: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.inline-list>li {
    list-style: none;
    float: left;
    margin-right: 22px;
    margin-right: 1.375rem;
    display: block;
}

.inline-list>li>* {
    display: block;
}

.message_cookies {
    color: white;
    top: 0;
    background-color: rgb(55, 152, 216);
    z-index: 9999;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

@media screen and (max-width:769px) {
    .lien_header_accueil {
        padding: 10px;
    }
    .site_title {
        text-align: center !important;
    }
    .titre-site {
        font-size: 9vw;
        color: #000;
    }
    .titre-site:focus,
    .titre-site:hover {
        /*transition:color 200ms ease-out,text-shadow 200ms ease-out;*/
        margin-left: 0;
        text-decoration: none;
    }
    .accesibility a {
        text-decoration: inherit;
        /*font-size: 3vw;*/
        font-size: 1.2em;
    }
    .searchform {
        position: relative;
        width: 70%;
        text-align: right;
        float: right;
        display: inline-block;
        top: 0px;
    }
    .searchform input,
    .searchform input:focus {
        width: 100%;
    }
    .reseaux_sociaux {
        position: inherit;
        display: block;
        width: 100%;
        float: inherit;
        margin-bottom: 0 auto;
        margin-top: -20px;
    }
    .reseaux_sociaux_header a:focus .reseau_sociaux_icon,
    .reseaux_sociaux_header .reseau_sociaux_icon:hover {
        margin: 0;
    }
    .reseau_sociaux_icon {
        height: 32px;
    }
    .inline-list>li {
        float: left !important;
        margin-right: 0.4rem;
    }
    .header-content {
        position: relative;
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        padding-right: 0;
        left: 0px;
        padding-top: 50px;
        width: auto;
        height: 120px;
    }
    .accesibility {
        display: none;
    }
    #upper-panel-right {
        width: 100%;
        background: white;
        padding: 10px 10px 0 10px;
    }
    .header-wrapper {
        background-size: cover;
    }
    #header-wrapper {
        background: transparent;
    }
    .message_cookies {
        margin-top: 54px;
    }
    .header-wrapper-mobile {
        padding-top: 28px;
        text-align: center;
    }
    .header-wrapper-mobile .titre-site {
        color: white;
    }
}

@media screen and (min-width:1170px) {
    .header-content {
        width: 1170px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 475px) {
    .reseaux_sociaux {
        margin-top: -10px;
    }
}

@media screen and (max-width:1045px) {
    .site_title {
        text-align: left;
    }
}
