/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

@font-face {
    font-family: "josefin_sanslight";
    src: url("../fonts/josefinsans-light-webfont.eot");
    src: url("../fonts/josefinsans-light-webfont.eot?#iefix") format("embedded-opentype"),
         url("../fonts/josefinsans-light-webfont.woff2") format("woff2"),
         url("../fonts/josefinsans-light-webfont.woff") format("woff"),
         url("../fonts/josefinsans-light-webfont.ttf") format("truetype"),
         url("../fonts/josefinsans-light-webfont.svg#josefin_sanslight") format("svg");
    font-weight: normal;
    font-style: normal;
}

@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:400,700);

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: "josefin_sanslight", sans-serif;
    font-size: 15px;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Mon code !
   ========================================================================== */

    .display_img{
        display: none;
    }
    /*BLOC PRINCIPAL*/
    .container{ 
        max-width: 960px;
        margin: 0 auto; /* 0 haut bas - Auto gauche droite */
        padding: 0 20px;
        overflow: hidden; /* "Coupe" tout ce qui dépasse du bloc */
    }

    /*RESAUX SOCIAUX*/
    .social{
        width: 100%;
        margin: 50px 0;
    }

    .socialFloat{
        float: right;
    }

    .socialFloat i{
        margin: 0 0 0 2px; /* marge exterieur */
        color: #000;
        padding: 5px; /* marge interieur */
    }

    .socialFloat i:hover{
        color: #FACDB7;
    }
    

    /*HEADER*/
    nav{
        width: 100%;
        text-transform: uppercase;
        margin: 0 0 50px 0;

    }

    .txtLogo{
        width: 33.333%;
        margin: 60px 0 0 0;
        padding: 0;
        float: left;
        text-align: right;
        font-size: 1.9em;
    }

    .txtLogo p{
        margin: 0;
        padding: 0;
        width: 85%;
        line-height: 37px;
    }

    .logo{
        width: 33.333%;
        float: left;
        text-align: center;
    }

    .logo img{
        max-width: 200px;
    }


    .links{
        width: 33.333%;
        height: 100%;
        float: right;
    }

    .links ul{
        float: right;
        margin: 0;
        padding: 0;
        list-style: none;
        line-height: 200px;
        height: 100%;
        text-align: right;
    }

    .links li{
        float: left;
        height: 100%;
        margin: 0 0 0 20px;
        font-size: 1.2em;
    }

    .links li a{
        color: #000;
        text-decoration: none;
    }

    .links li a:hover{
        color: #FACDB7;
    }

    .subLinks{
        float: left;
        width: 100%;
        text-align: center;
        margin: 50px 0 0 0;
    }

    .subLinks p{
        display: inline-block;
        margin: 0 5px;

    }

    .subLinks p a{
        color: #000;
        text-decoration: none;
    }

    .subLinks p:hover{
        cursor: pointer;
        /*text-decoration: underline;*/
    }

    .grid{
        max-width: 960px;
        margin: 0 auto; /* 0 haut bas - Auto gauche droite */
    }
    .bloc{
        float: left;
        width: 33.333%;
        height: auto;
        padding: 5px;
        position: relative;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .sousBloc{
        width: 100%;
        position: relative;
    }
    .hover{
        width: 100%;
        height: 100%;
        position: absolute;
        margin: 0;        
        background: rgba(255,255,255,.9);
        color: #f6a37b;
        font-size: 22px;
        font-family: 'Josefin Sans', sans-serif;
        font-weight: 500;
        vertical-align: text-bottom;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: all .2s linear;
        -o-transition: all .2s linear;
        -moz-transition: all .2s linear;
        -ms-transition: all .2s linear;
        -kthtml-transition: all .2s linear;
        transition: all .2s linear;        
    }
    .hover span{
        position: absolute;
        bottom: 0;
        padding: 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .bloc:hover .hover{
        visibility: visible;
        opacity: 1;
        cursor: pointer;
    }
    .bloc img{
        width: 100%;
    }

    /*ABOUT*/
    .about{
        text-align: center;
        width: 100%;
    }

    
    .about .chat { /*Bouton cv dans about*/
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        border-radius:8px;
        border:1px solid #000;
        padding: 12px 15px;
        margin: 10px;
        text-decoration:none;
        background: #fff;
        color: #000;
    }
    
    .chat a{ /*Bouton cv*/
        text-decoration:none;
        color: #000;
    }

    .chat a:hover{
        color: #FACDB7;
    }

    .about .chat:hover{
        border-color: #FACDB7;
        color: #FACDB7;
    }

    .about p{
        display: inline-block;
        width: 75%;
    }

    .about img{
        max-width: 80%;
        margin: 0 0 30px 0;
    }

    /*CONTACT*/
    .contact p{
        text-align: center;
        font-size: 1.2em;
    }

    .contact a{
        text-decoration:none;
        color: #000;
    }

    .contact a:hover :not(.tel){
        color: #FACDB7;
    }

    .hide{opacity: .2}

    footer{
        width: 100%;
    }
    
    footer p{
        text-align: center;
        text-transform: uppercase; /*Met les caractères en majuscule*/
        font-size: .7em;
        padding: 30px 0;
    }

    /*OVERLAY*/

    html, body{
        min-height: 100%;
    }

    body{
        position: relative;
    }

    .overlay{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        background-color: rgba(0,0,0,0.5);
        display: none;
        /*overflow: auto;*/
    }

    .modal{
        z-index: 1000;
        width: 60%;
        height: 80%;
        overflow: auto;
        background: #fff;
        position: fixed;
        left: 20%;
        top: 100px;
        display: none;
    }

    .modal::-webkit-scrollbar {
    -webkit-appearance: none;
    }

    .modal::-webkit-scrollbar:vertical {
        width: 11px;
    }

    .modal::-webkit-scrollbar:horizontal {
        height: 11px;
    }

    .modal::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 2px solid white; /* should match background, can't be transparent */
        background-color: rgba(0, 0, 0, .4);
    }

    .modal::-webkit-scrollbar-track { 
        background-color: #fff; 
        border-radius: 8px; 
    } 
    

    /*A L'INTERIEUR DES POPUP*/
    .inside_popup{ 
        text-align: center;
        padding: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .inside_popup p{
        text-align: left;
        margin: 30px 0 0 0;
        padding: 0;
    }

    .inside_popup a{
        color: #000;
    }

    .inside_popup .chat{
        background: #fff;
        color: #000;
        padding: 10px 15px;
        margin: 10px;
        border: 1px solid #000;
        text-decoration: none;
        -webkit-border-radius: 8px; /*Préfix internet explorer*/
        -moz-border-radius: 8px; /*Préfix mozilla*/
        border-radius: 8px; /*Bords arrondis*/
    }

    .inside_popup .chat:hover{
        border-color: #FACDB7;
        color: #FACDB7;
    }

    .droite p{
        text-align: right;
        margin: 10px;
    }
    
    /*FERME LES POPUP*/
    .close{ 
        position: absolute;
        top: 30px;
        right: 50px;
        color: #fff;
        font-size: 2em;        
    }
    .close:hover{
        cursor: pointer;
    }

    /*VIDEOS DES POPUP
        .videopopup{ 
        width: 100%;
    }*/
    
    /*IMAGES DES POPUP*/
    .imagespopup{ 
        width: 100%;
    }

    /*Taille de blondyburger mobile*/
    .width60{
        width: 60%
    }

    /*Boutton MENU pour mobile*/
    button{
        display: none;
    }

    /*VIDEOS RESPONSIVE DES POPUP*/
    .video-container{
        position: relative;
        padding-bottom: 56.25%;
        /*padding-top: 30px;*/
        height: 0;
        overflow: hidden;
        max-width: 100%;
    }

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


    /*MENU ACTIF*/
    /*Active du menu*/
    .active2{
        display: inline-block;
        border-bottom: 1px solid #000 !important;
        line-height: 1.5em !important;
    }

    .active2:hover{
        border-color: #FACDB7 !important;
    }

    /*Active du sous menu*/
    .active{
        display: inline-block;
        border-bottom: 1px solid #000 !important;
        line-height: 1.5em !important;
    }

/* ==========================================================================
   Media Queries
   ========================================================================== */


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

        .display_img{
            display: block;
        }
        .bloc{
            width: 33,333%;
        }

        button{
            display: block;
            width: 80px;
            padding: 10px 0;
            border: 1px solid;
            background-color: white;
            margin: auto;
            -webkit-border-radius: 8px; /*Préfix internet explorer*/
            -moz-border-radius: 8px; /*Préfix mozilla*/
            border-radius: 8px;
            font-size: 1em;

        }
        .txtLogo{
            display: none;
        }

        .social{
            width: 100%;
            margin: 20px 0 0 0;
            text-align: center;;
        }

        .socialFloat{
            float: none;
            }

        .links{
            display: none;
        }
        .cacheMenu{
            display: block;
        }
        .logo{
            width: 100%;
            float: left;
            text-align: center;
            margin: 0 0 40px 0;
        }

        .logo img{
            max-width: 200px;
            margin: 35px 0 0 0;
        }

        .links{
            width: 100px;
            margin: auto;
            height: 100%;
            float: none;
        }

        .links ul{
            float: none;
            margin: 30px 0 0 0;
            background: #000;
            padding: 0;
            list-style: none;
            line-height: normal;
            height: 100%;
            text-align: center;
            font-size: 1em;
        }

        .links li{
            float: none;
            height: auto;
            margin: 0 0 0 0;            
            font-size: 15px;
        }

        .links li a{
            color: #000000;
            text-decoration: none;
            background: white;
            border-bottom: 1px solid #000;
            border-top:0;
            border-right:0;
            border-left:0;
            padding: 10px 0;
            width: 100%;
            height: 100%;
            display: inline-block;
        }

        .links li .first{
            border-top: 1px solid #000;
        }

        .links li a:hover{
            color: #000;
         }

         .hover{
            display: none;
        }

        .socialFloat i:hover{
            color: #000;
        }

        .modal{
            z-index: 1000;
            width: 100%;
            height: 80%;
            overflow: auto;
            background: #fff;
            position: fixed;
            top: 50px;
            left: 0px;
            display: none;
        }

        .close{
            position: absolute;
            top: 10px;
            right: 30px;
            color: #fff;
            font-size: 1.5em;
        }

        .subLinks p:hover{
            cursor: pointer;
            /*text-decoration: underline;*/
        }

        .width60{
            width: 80%
        }

        .active2{
            color: #FACDB7 !important;
        }

        .active2:hover{
            border-color: #000 !important;
        }

        .active{
            display: inline-block;
            border-bottom: 1px solid #000 !important;
            line-height: 1em !important;
        }

        footer p{
            text-align: center;
            text-transform: uppercase; /*Met les caractères en majuscule*/
            font-size: .5em;
            padding: 30px 0;
        }

        .contact a:hover{
            color: #000;
        }


    }

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

        .bloc{
            width: 50%;
        }

        button{
            display: block;
            width: 80px;
            padding: 10px 0;
            border: 1px solid;
            background-color: white;
            margin: auto;
            -webkit-border-radius: 8px; /*Préfix internet explorer*/
            -moz-border-radius: 8px; /*Préfix mozilla*/
            border-radius: 8px;
            font-size: 1em;

        }
        .txtLogo{
            display: none;
        }

        .social{
            width: 100%;
            margin: 20px 0 0 0;
            text-align: center;;
        }

        .socialFloat{
            float: none;
            }

        .links{
            display: none;
        }
        .cacheMenu{
            display: block;
        }
        .logo{
            width: 100%;
            float: left;
            text-align: center;
            margin: 0 0 40px 0;
        }

        .logo img{
            max-width: 200px;
            margin: 35px 0 0 0;
        }

        .links{
            width: 100px;
            margin: auto;
            height: 100%;
            float: none;
        }

        .links ul{
            float: none;
            margin: 30px 0 0 0;
            background: #000;
            padding: 0;
            list-style: none;
            line-height: normal;
            height: 100%;
            text-align: center;
            font-size: 1em;
        }

        .links li{
            float: none;
            height: auto;
            margin: 0 0 0 0;            
            font-size: 15px;
        }

        .links li a{
            color: #000000;
            text-decoration: none;
            background: white;
            border-bottom: 1px solid #000;
            border-top:0;
            border-right:0;
            border-left:0;
            padding: 10px 0;
            width: 100%;
            height: 100%;
            display: inline-block;
        }

        .links li .first{
            border-top: 1px solid #000;
        }

        .links li a:hover{
            color: #000;
         }

         .hover{
            display: none;
        }

        .socialFloat i:hover{
            color: #000;
        }

        .modal{
            z-index: 1000;
            width: 100%;
            height: 80%;
            overflow: auto;
            background: #fff;
            position: fixed;
            top: 50px;
            left: 0px;
            display: none;
        }

        .close{
            position: absolute;
            top: 10px;
            right: 30px;
            color: #fff;
            font-size: 1.5em;
        }

        .subLinks p:hover{
            cursor: pointer;
            /*text-decoration: underline;*/
        }

        .width60{
            width: 80%
        }

        .active2{
            color: #FACDB7 !important;
        }

        .active2:hover{
            border-color: #000 !important;
        }

        .active{
            display: inline-block;
            border-bottom: 1px solid #000 !important;
            line-height: 1em !important;
        }

        footer p{
            text-align: center;
            text-transform: uppercase; /*Met les caractères en majuscule*/
            font-size: .5em;
            padding: 30px 0;
        }

        .contact a:hover{
            color: #000;
        }


    }

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

        .bloc{
            width: 100%;
        }
        button{
            display: block;
            width: 80px;
            padding: 10px 0;
            border: 1px solid;
            background-color: white;
            margin: auto;
            -webkit-border-radius: 8px; /*Préfix internet explorer*/
            -moz-border-radius: 8px; /*Préfix mozilla*/
            border-radius: 8px;
            font-size: 1em;

        }
        .txtLogo{
            display: none;
        }

        .social{
            width: 100%;
            margin: 20px 0 0 0;
            text-align: center;;
        }

        .socialFloat{
            float: none;
            }

        .links{
            display: none;
        }
        .cacheMenu{
            display: block;
        }
        .logo{
            width: 100%;
            float: left;
            text-align: center;
            margin: 0 0 40px 0;
        }

        .logo img{
            max-width: 200px;
            margin: 35px 0 0 0;
        }

        .links{
            width: 100px;
            margin: auto;
            height: 100%;
            float: none;
        }

        .links ul{
            float: none;
            margin: 30px 0 0 0;
            background: #000;
            padding: 0;
            list-style: none;
            line-height: normal;
            height: 100%;
            text-align: center;
            font-size: 1em;
        }

        .links li{
            float: none;
            height: auto;
            margin: 0 0 0 0;            
            font-size: 15px;
        }

        .links li a{
            color: #000000;
            text-decoration: none;
            background: white;
            border-bottom: 1px solid #000;
            border-top:0;
            border-right:0;
            border-left:0;
            padding: 10px 0;
            width: 100%;
            height: 100%;
            display: inline-block;
        }

        .links li .first{
            border-top: 1px solid #000;
        }

        .links li a:hover{
            color: #000;
         }

         .hover{
            display: none;
        }

        .socialFloat i:hover{
            color: #000;
        }

        .modal{
            z-index: 1000;
            width: 100%;
            height: 80%;
            overflow: auto;
            background: #fff;
            position: fixed;
            top: 50px;
            left: 0px;
            display: none;
        }

        .close{
            position: absolute;
            top: 10px;
            right: 30px;
            color: #fff;
            font-size: 1.5em;
        }

        .subLinks p:hover{
            cursor: pointer;
            /*text-decoration: underline;*/
        }

        .width60{
            width: 100%
        }

        .active2{
            color: #FACDB7 !important;
        }

        .active2:hover{
            border-color: #000 !important;
        }

        .active{
            display: inline-block;
            border-bottom: 1px solid #000 !important;
            line-height: 1em !important;
        }

        footer p{
            text-align: center;
            text-transform: uppercase; /*Met les caractères en majuscule*/
            font-size: .5em;
            padding: 30px 0;
        }

        .contact a:hover{
            color: #000;
        }

    }



/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
.hidden {
    display: none !important;
    visibility: hidden;
}*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}