
/* @font-face { font-family: 'HK_grotesk';
    src: url('../fonts/hkgrotesk-regularlegacy-webfont.woff2') format('woff2'), url('../fonts/hkgrotesk-regularlegacy-webfont.woff') format('woff');
    font-weight: normal; font-style: normal;
}*/
/* @font-face { font-family: 'HK_grotesk';
    src: url('../fonts/hkgrotesk-legacyitalic-webfont.woff2') format('woff2'), url('../fonts/hkgrotesk-legacyitalic-webfont.woff') format('woff');
    font-weight: normal; font-style: italic;
} */
@font-face { font-family: 'HK_grotesk';
    src: url('../fonts/hkgrotesk-semiboldlegacy-webfont.woff2') format('woff2'), url('../fonts/hkgrotesk-semiboldlegacy-webfont.woff') format('woff');
    font-weight: bold; font-style: normal;
}
@font-face { font-family: 'HK_grotesk';
    src: url('../fonts/hkgrotesk-mediumlegacy-webfont.woff2') format('woff2'), url('../fonts/hkgrotesk-mediumlegacy-webfont.woff') format('woff');
    font-weight: normal; font-style: normal;
}

* {
    margin:0; padding:0;
    box-sizing:border-box;
    list-style:none;
    /*-webkit-user-select:none;      
    -moz-user-select:none;
    -ms-user-select:none;
    -o-user-select:none;
    user-select:none;*/
    font-family: 'HK_grotesk', Verdana, Geneva, sans-serif;
}

html, body { 
    width:100%; height:100%; margin:0; padding:0; 
    position:relative; z-index:1; 
    font-size:15px;
}
body, input, textarea, button {
    /*font-family: Helvetica, Arial, sans-serif;*/
    font-size: 15px;
    line-height:1.5rem;
    color:#000;
}
body { 
    margin:0; padding:0; 
    background-color: #fff;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,p { 
    font-size:1rem; font-weight:normal; 
    margin-bottom:12px;
}
ul, li { list-style:none; margin:0; padding:0; }

.hidden { display:none; } .clear { clear:both; }
.abs { position:absolute; left:0; top:0; } .rel { position: relative; }
.pointer { cursor:pointer; } .left { float: left; } .right { float: right; }

a { text-decoration: none; color: #000; }
a:hover { text-decoration: underline; }

strong { font-weight:bold; }

/* */

.petit { font-size:12px; line-height:18px; }
.big { font-size:20px; line-height:22px; }
.bigger { font-size:26px; line-height: 26px; font-weight:bold; }
.super { font-size:40px; line-height: 40px; }

/* */

main {}

section, footer { padding-top:150px; width:90%; max-width:1200px; margin:0 auto; text-align: center; }
section.sio-vitrail { padding:0; width:100%; max-width:none; 
    height:100vh; overflow:hidden; }
section.galerie { width:100%; margin-left:auto; margin-right:auto; }

section h1 { text-align: center; font-size:26px; line-height: 26px; font-weight:bold; margin-bottom:60px; }



/*splash screen*/
.sio-vitrail .back { background-image: url( ../img/back1.jpg); 
    background-attachment: fixed;
    background-size: cover;
}
.sio-vitrail .fullsize { width: 100%; height: 100%; position: absolute; left:0; top:0; }
.sio-vitrail .scene { width: 600px; max-width: 90%; height: 400px; 
    margin: 140px auto 0 auto; }
.sio-vitrail .scene li img { opacity: 0.9; width:100%; }


/* */
header { position: fixed; top:0; left:0; z-index:1000; width:100%; padding:10px 0; text-align: center;
    background-color: #fff; }
header li { display:inline-block; vertical-align: middle; padding:0 30px; }
header li a { text-decoration: none; padding-bottom:2px; border-bottom:solid 2px #fff; }
header li a:hover, header li.active a, header li a.active { text-decoration: none; border-bottom:solid 2px #000; }
header li a.index:hover { border-bottom:solid 2px #fff; }
header .index img { height:50px; }

footer p { display:inline-block; margin:0 20px; }

.onepage header { position: absolute; top:100vh; }
.onepage #sticky-wrapper.is-sticky { position: relative; z-index: 1000; }

.galerie, .inprogress { position: relative; z-index:1; }
.galerie article, .inprogress article { float:left; z-index:2; text-align:left; } /* la marge ... */
.galerie article .content, .inprogress article .content { position: relative; }
.galerie article a { color:#000; }
.galerie article a:hover { text-decoration: none; /* color:#999; */ }
.galerie article a:hover .titre { text-decoration: underline; }
.galerie article .thumb, .inprogress article .thumb { margin-bottom:15px; }
.galerie article .thumb img, .inprogress article .thumb img { width:100%; display:block; }
.galerie article .titre {}
.galerie article .soustitre {}
.galerie article .annee { text-align:right; margin: 15px 0 10px 0; }
.galerie article .prix {  position: absolute; right:0; bottom:0; margin:0; }

/* taille de la galerie */
/* 300 +2*60 de marge = 360, 720, 1080, 1440 */
section.galerie, section.inprogress { width:100%; max-width:1440px; }
.galerie article, .inprogress article { width:300px; margin:30px; }

@media screen and (max-width: 1440px){
    section.galerie, section.inprogress { max-width:1080px; }
}
@media screen and (max-width: 1080px){
    section.galerie, section.inprogress { max-width:720px; }
}
@media screen and (max-width: 720px){
    section.galerie, section.inprogress { max-width:360px; }
}
@media screen and (max-width: 360px){
    section.galerie, section.inprogress { max-width:none; }
    .galerie article, .inprogress article { width:80%; }
    .galerie article .annee {margin-bottom: 5px;}
}

/* 250 +2*60 de marge = 310, 620, 930, 1240 */
/* section.galerie { width:100%; max-width:1240px; }
.galerie article { width:250px; margin:30px; }

@media screen and (max-width: 1240px){
    section.galerie { max-width:930px; }
}
@media screen and (max-width: 930px){
    section.galerie { max-width:620px; }
}
@media screen and (max-width: 620px){
    section.galerie { max-width:310px; }
}
@media screen and (max-width: 310px){
    section.galerie { max-width:none; }
    .galerie article { width:80%; }
} */
/* */

.bio article { text-align: center; display: inline-block; width:90%; max-width:500px; }
.bio article .texte { text-align:left; }
.bio article.split { max-width:700px; }
.bio article.split .texte { width:45%; float:left; } 
.bio article .photo { width:45%; margin-left:10%; float:left; }
.bio article .photo img { width:100%; }

.pj { margin-top:60px; padding-left: 40px; text-decoration: underline; }

.contact article { text-align: center; }
.contact article .texte { width:90%; max-width:500px; display: inline-block; }
.contact .form { margin:40px auto 0 auto; width:90%; max-width:400px; }
.contact .form div { margin-bottom: 1rem; }
.contact article .texte a { text-decoration: underline; }

.contact input {}
.contact input.textfield, .contact textarea { font-size: 13px; padding: 1px 5px; width: 100%; }
.contact textarea { line-height:1.5em; height:120px; }
.contact button { text-transform: uppercase; background-color:#C6C6C6; color:#fff; 
    font-size:12px; padding: 2px 8px;
    cursor:pointer; border:none; transition-duration: .3s; }
.contact button:hover { background:#000; transition-duration: .3s; }
.contact article .social {}
.contact article .social li { margin-top:10px; }
.contact article .social a { text-decoration: none; }
.contact article .social a:hover { text-decoration: underline; }
.contact article .social img { width:33px; height:33px; vertical-align: middle; }

footer { text-align: center; padding-bottom: 2rem; }
footer li { display: inline-block; margin: 0 30px; }

/* */
#projet article { position: relative; }
#projet section h1 { margin-bottom:0; }
#projet .textes { width:25%; float:right; padding-left:20px; text-align:left; }
#projet .photos { width:60%; }
#projet .photos img.photo { max-width:100%; margin-bottom:30px; }
#projet .titre { text-align: left; margin:0 0 3rem 0; position: relative; left:-1rem; }
#projet .soustitre {}
#projet .tech {}
#projet .annee {}
#projet .creation {}
#projet .prix { padding:15px 0 0 24px; /* text-decoration: underline; */ }
#projet .lien { display:block; margin-top:10px; }
#projet .texte, #projet .texte p { font-size:12px; line-height:18px; }
#projet .texte { margin-top:3rem; }
#projet .nav { margin-top:3rem; position: relative; left:-1rem; }
#projet .textes a { text-decoration: underline; }
#projet .nav a { text-decoration: none; }
#projet .nav a:hover { text-decoration: underline; }
#projet .nav p { /*float:right;*/ display:inline-block; }
#projet .nav .next { /*float:right;*/ margin-left:24px; }

/* le texte du projet qui reste en place au scroll */
#projet .textes { position: fixed; width:90%; max-width: 1200px; padding:0; 
    top:0; height:100%;
}
#projet .textes .content { width:30%; float:right; padding-left:20px; 
    height:100%; overflow:auto; padding-top:150px;
}


#actualites {}
#actualites section {}
#actualites h1 {}
#actualites article { width:96%; max-width:800px; margin: 0 auto 50px auto; }
#actualites article.no-img {}
#actualites .left-col { float:right; width:33%; margin-left:5%; text-align: left; }
#actualites .right-col { float:left; width:62%; }
#actualites .titre { margin-bottom:1.5rem; position: relative; left:0rem; }
#actualites .texte {}
#actualites .texte p {}
#actualites .texte a { text-decoration: underline; }
#actualites .images {}
#actualites .images img { width:100%; display:block; margin-bottom:10px; }

#actualites article.no-img .left-col { float:none; width:100%; max-width:600px; margin:0 auto; }
#actualites article.no-img .titre { left:-1rem; }

#projet .photos, .galerie article { opacity:0; }


@media screen and (max-width: 960px){
    header li:first-child { display:block; margin-bottom:10px; }
    #projet .textes { height:auto;
        position: static; float:none; width:100%; max-width:400px; margin:0 auto 40px auto; }
    #projet .textes .content { float:none; width:100%; padding-top:0; height:auto;}

    #projet .photos { width:100%; max-width:600px; margin-left:auto; margin-right:auto; }

    section { padding-top: 170px; }
}
@media screen and (max-width: 650px){
    #actualites .left-col, #actualites .right-col { float:none; width:100%; }
    #actualites article { margin-bottom:6rem; }
    #actualites article.no-img .left-col { width:90%; margin-left:5%; }
    #actualites article .titre { left:-1rem; }


    .bio article.split .texte, .bio article .photo { width:100%; margin-left:0; float:none; }
    .bio article .photo { margin-top:4rem; }
}