/*
Theme Name: Too Many Pic 2017
Author: Thomas desnoyers
Author URI: https://www.thomasdesnoyers.com/
*/


@font-face {
	font-family: 'founders_grotesk';
	src: url('/wp-content/fonts/FoundersGrotesk-Regular.eot');
	src: url('/wp-content/fonts/FoundersGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/fonts/FoundersGrotesk-Regular.woff') format('woff'),
		url('/wp-content/fonts/FoundersGrotesk-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'founders_grotesk';
	src: url('/wp-content/fonts/FoundersGrotesk-RegularItalic.eot');
	src: url('/wp-content/fonts/FoundersGrotesk-RegularItalic.eot?#iefix') format('embedded-opentype'),
		url('/wp-content/fonts/FoundersGrotesk-RegularItalic.woff') format('woff'),
		url('/wp-content/fonts/FoundersGrotesk-RegularItalic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
    height:100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    
}

body{
    font-family:Times New Roman, serif;
    height:100%;
    font-size:24px;
    
}

input:focus{
    background-color:none;
    border:none;
    outline:none;
}

em{
    font-style: italic;
}



a, a:link, a:visited, a:active {
    color: black;
    text-decoration: none;
}


nav a, .right-nav a, .right-nav li{
    font-size:24px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}


.menuscroll a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: #ffffff;
    visibility: hidden;
    border-radius: 5px;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.menuscroll a:hover:before,
.menuscroll a:focus:before {
  visibility: visible;
  -webkit-transform: scaleX(0);
  transform: scaleX(1);
}

.link-sub{
    position: relative;
    color:white;
    z-index:999;
}


.link-sub a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -3px;
  left: 0;
  background: #ffffff;
  visibility: hidden;
  border-radius: 5px;
  transform: scaleX(0);
  transition: .25s linear;
}
.link-sub a:hover:before,
.link-sub a:focus:before {
  visibility: visible;
  transform: scaleX(1);
}



nav li, .right-nav li{
    display:inline-block;
    margin-right:8px;
    position:relative;
}

header{
    /*padding:30px;*/
    clear: both;
    /*position: fixed;*/
    width: 100%;
    box-sizing: border-box;
}

h1{
    font-size:3vw;
}

p{
    font-size:17px;
    margin-bottom:20px;
}

#main{
    padding:15px;
}

.right-nav a{
    color:white;
}


.showmenu{
    cursor:pointer;
    right: 8px;
    top:9px;
    position: absolute;
    z-index:1001;
}


.anchor-scroll {
    height: 74vh;
    top: 78px;
    width: 67%;
    margin: auto;
    left: 0;
    right: 0;
    display: inline-block;
    position: absolute;
    z-index: 2;
    cursor: url('/wp-content/img/down.png'), pointer;	
}

.close-menu{
    right: 28px;
    top: 29px;
}

.display-none{
    display:none;
}

#site-navigation{
    z-index:999;
}

#info-ref{
    position:absolute;
    color:white;
    font-size:40px;
    position: absolute; display: block; z-index: 5; 
}

.black a{
    color:black;
}

.navigation-top .black a{
    color:black;
}

.black-about{
    background-color:black!important;
}

.white-en a{
    color:white;
}

.client-nav .white-en a{
    color:white;
}


.container{
    padding:0 100px;
    margin-top:130px;
    margin-bottom: 220px;
}

.bloc-large{
    max-width:1600px;
    margin-right:auto;
    margin-left:auto;
    text-align: center;
}

ul#filters {
    position: fixed;
    line-height: 22px;
    bottom: 20px;
    left: 20px;
    font-size: 15px;
    list-style: none;
}

.text-projet{
    font-size:24px;
    padding:0 50px;
    height: 80vh;
    display: -webkit-box;      
    display: -moz-box;        
    display: -ms-flexbox;     
    display: -webkit-flex;    
    display: flex;  
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
}

.text-projet p{
    text-align: center;
}

.img-container img{
    width:100%;
    height:auto;
    display:block!important;
    opacity:1;
}

.img-container img:hover{
    opacity:0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.back-button{
    background-color: transparent;
    border: none;
    background: url(/wp-content/img/close.svg) no-repeat;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.right-nav img{
    width: 20px;
    margin-right: 30px;
    padding: 20px;
    margin-right: 10px;
    margin-top: -20px;
}

.img-container-ref{
    width:200px;
    display: none;
    opacity:0;
    position:absolute;
    z-index: 999;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.img-container-ref img{
    width:100%;
    height:auto;
}

.container-ref{
    position:relative;
    display:inline-block;
    padding:0 20px;
    text-align: center;
}
.container-ref h1, .container-ref h2{
    font-size:3vw;
}

.bloc-ref{
    text-align: center;
}


.clients{
    display:inline-block;
}

.clients:hover + .img-container-ref{
    display:block;
    opacity:1;
}

.client{
    display:inline-block;
}

.sub-detail{
    font-size:17px;
    font-family:'times new roman';
    text-transform: initial;
}

.current-menu-item:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    visibility: visible;
    bottom: -3px;
    left: 0;
    background: black;
    border-radius: 5px;
}

#filters .current-filters > a{
    color:black;
}

#filters li > a{
    color:#9b9b9b;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#filters li > a:hover{
    color:black;
}

.title-projet p{
    font-size:24px;
    max-width:500px;
    line-height: 30px;
    margin-top: 27px;
}

.title-projet h1{
    text-transform: uppercase;
}

.title-projet{
    position:fixed;
    top:20px;
    left:20px;
    width:100%;
    font-size:24px;
    padding-right:90px;
}

.title-projet h1{
    font-size:24px;
    font-family:founders_grotesk, serif;
    display:inline-block;
}

.right-nav{
    z-index:1000;
}

.menu-toggle{
    display:none;
}

/*.menu-menu-tmp-container, .logo, .right-nav{
    width:33.333333%;
    display:inline-block;
    float:left;
}*/

.logo{
    text-align:center;
    text-transform: uppercase;
    font-family:founders_grotesk, arial, serif;
    font-size:27px;
    position: fixed;
    left: 0;
    right: 0;
    z-index:1;
    top: 30px;
    margin:auto;
    width:130px;
    opacity:0;
}

.logo p{
    line-height: 21px;
}

.logo-client{
    text-align:center;
    text-transform: uppercase;
    font-family:founders_grotesk, arial, serif;
    font-size:27px;
    position: fixed;
    left: 0;
    right: 0;
    z-index:1;
    top: 30px;
    margin:auto;
    width:130px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.client-nav .about-btn{
    background-color:black;
    
}

.client-nav a{
    color:black;
}

.right-nav{
    text-align:right;
    position: fixed;
    right: 20px;
    top: 20px;
}

.menuscroll{
    position: absolute;
    bottom:30px;
    left:30px;
    color:white;
    padding-top:30px;
}

nav.main-navigation {
    left: 30px;
    top: 30px;
    position: fixed;
}

.navigation-top a{
    color:white;
}

.navigation-top-client a{
    color:black;
}

#home-background{
    height:100vh;
    width:100%;
    z-index:2;
    position: absolute;
}



.padding-home{
    padding-top:100vh!important;
}




.background-thumb{
    background-color:white;
}



.fixed{
    position: fixed;
    top: 30px;
    bottom:initial;
    padding-top:0;
    
}



.menuscroll a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -3px;
  left: 0;
  background: white;
  visibility: hidden;
  border-radius: 5px;
  transform: scaleX(0);
  transition: .25s linear;
}

.black.menuscroll a:before{
    background:black;
}

.menuscroll a:hover:before,
.menuscroll a:focus:before {
  visibility: visible;
  transform: scaleX(1);
}

.about{
    width:100%;
    color:white;
    box-sizing: border-box;
    padding:59px 15px 30px 15px;
    display:none;
    position:fixed;
    z-index:1000;
    top:0;
   
}

.about a{
    color:white;
}

.about p{
    margin-bottom:0;
}


.about-text{
    font-size:24px;
    color:white;
    text-align: justify;
}

.about-text p{
    font-size:24px;
    min-height:260px;
}

.about-info{
    float:right!important;
    position:relative;
    font-size:24px;
}

.bloc-contact{
    bottom: 30px;
    width: 33.333333%;
    left: 66.8%;
}

.row-about{
    padding:0;
    display:block;
    clear:both;
    overflow:hidden;
}

.row-about-infos {
    position: absolute;
    width: 100%;
    bottom: 30px;
    right: 0;
    width: 33.333333%;
    padding: 0 15px 0 15px;
}

.about-contact{
    font-size:14px;
    display: inline-block;
    width:49%;
    line-height: 20px!important;
    float:left;
    padding:5px;
}



.about-text span{
    font-family: 'founders_grotesk';
    font-size:10px;
    text-transform: uppercase;
}





.about input[type="email"]{
    background: none;
    border: none;
    border-bottom: 1px solid white;
    width: 100%;
    height: 40px;
    font-family: times new roman;
    font-size:24px;
    color:white;
    position: relative;
}

.about input[type="submit"]{
    background: none;
    border: none;
    position: absolute;
    right: 14px;
    top: 63px;
    /* border-bottom: 1px solid white; */
    height: 40px;
    padding: 0;
    color: white;
    font-family: times new roman;
    font-size: 18px;
}

.credits{
        font-size: 13px;
    font-style: italic;
    position: absolute;
    right: -161px;
    margin-top: -200px;
    transform: rotate(-90deg);
}

.credits span, .credits a{
    color:grey!important;
}

form#mc4wp-form-1 {
    margin-top: 5px;
    margin-bottom: 5px;
}


.toomany{
    width:35vw;
    position:absolute;
    top:30px;
    left:30px
}

.pictures{
    width:35vw;
    position:absolute;
    bottom:30px;
    right:30px;
}

/*.projet{
    width:100%;
    margin:auto;
    
}*/


.projet {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 999;
    background-color: white;
}

#slider{
    width:100%;
    height:100vh;
    margin:auto;
    display: -webkit-box;      
    display: -moz-box;        
    display: -ms-flexbox;     
    display: -webkit-flex;    
    display: flex; 
    -webkit-flex-direction: column;
    flex-direction: column;
     -webkit-justify-content: center;
    justify-content: center;
}

.hide{
    opacity:1;
    
}


/*-------LAYOUT-------*/



.row{
    display:block;
    padding-top:10%;
    clear:both;
    overflow:hidden;
}

.col-2, .col-3, .col-4, .col-6, .col-8, .col-10, .col-12{
    padding-right:15px;
    padding-left:15px;
    min-height: 1px;
    position:relative;
    float:left;
    box-sizing: border-box;
}



.col-2{
    width:16.666666%;
}

.col-3{
    width:25%;
}

.col-4{
   width:33.333333%;
}

.col-6{
    width:50%;
}

.col-8{
   width:66.666666;
}

.col-12{
    width:100%;
}


/*-------OFFSET-------*/


.col-1-offset{
    margin-left:8.333333%;
}

.col-2-offset{
    margin-left:16.666666%;
}

.col-3-offset{
    margin-left:25%;
}

.col-4-offset{
    margin-left:33.333333%;
}

.col-6-offset{
    margin-left:50%;
}

.col-8-offset{
    margin-left:66.666666;
}

.img-container{
    position:relative;
}

.title{
    position: absolute;
    top:0;
    bottom:0;
}


/*-------TITRE TOOLTIP HOVER-------*/






.tooltipbloc{
    position:relative;
    overflow: hidden;
}


.follower{
  position : relative;
  display:none;
  color:white;
  z-index: 1000;
  border-radius:50px;
}

.img-container:hover .follower { 
    display:block; 
}



/*-------ABOUT BTN-------*/



.about-btn{
    display:block;
    background: none;
    border: none;
    font-family: times new roman;
    font-size: 24px;
    outline: none;
    width: 50px;
    height:20px;
    margin-right: -15px;
    cursor:pointer;
    background-color: white;
    -webkit-mask:  url(/wp-content/img/about-open.svg) no-repeat 50% 50%;
    mask: url(/wp-content/img/about-open.svg) no-repeat 50% 50%;
     -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.active{
    -webkit-mask:  url(/wp-content/img/close.svg) no-repeat 50% 50%;
    mask: url(/wp-content/img/close.svg) no-repeat 50% 50%;
    background-color:white!important;
    
}

/*------SLIDER-------*/

p.legende-image-slider {
    position: absolute;
    top: 0;
    left: 30px;
}

.video-slider{
    margin:auto;
    width:800px;
}

.text-projet-slider{
    text-align: center;
    height: 100vh;
    display: -webkit-box;      
    display: -moz-box;        
    display: -ms-flexbox;     
    display: -webkit-flex;    
    display: flex; 
     -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: auto;
    border:60px solid white;
    
}

.wpml-ls-legacy-list-horizontal{
    border:0;
    padding:0;
}

/*------SLIDER-------*/

#mc_embed_signup{
    background-color:transparent;    
}

#mc_embed_signup input{
    border:none;
    border-bottom:1px solid white;
    border-radius:0;
    height:30px;
}

#mc_embed_signup form{
    padding:0;
}

#mc_embed_signup .button{
    background-color:transparent;
    border:0;
}

#mc_embed_signup h2{
    font-weight: inherit;
    padding: 0;
    margin: 7px 0 0 0;
    font-family: times new roman;
}

#mc_embed_signup .mc-field-group{
    margin-bottom:10px;
    padding-bottom:0;
}

#mc_embed_signup div#mce-responses{
    margin:0;
    padding:0;
    width:100%;
}

#mc_embed_signup div.response{
    margin:0;
    padding:0;
    margin-bottom:10px;
    
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item{
    margin-right: 40px;
}


.single{
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}


.fadein{
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s; /* Firefox < 16 */
        -ms-animation: fadein 2s; /* Internet Explorer */
         -o-animation: fadein 2s; /* Opera < 12.1 */
            animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
}
    
    
    
/*-------MEDIA QUERIES-------*/
    


@media screen and (max-width: 1200px) {
    
}
    
    
@media screen and (max-width: 768px) {
    body{
        font-size:14px;
    }
    nav a, .right-nav a, .right-nav li{
        font-size:15px;
    }
    .about-btn{
        height:11px;
    }
    .fixed{
        top:20px;
    }
    .menuscroll{
        left:20px;
        bottom:20px;
    } 
    .right-nav{
        top:15px;
        right:26px;
    }
    .showmenu{
        top:7px;
        right:-11px;
    }
    .logo-client, .logo{
        top:18px;
        width:60px;
        mix-blend-mode:unset;
    }
    .wpml-ls-legacy-list-horizontal .wpml-ls-item{
        margin-right:4px;
    }
    .current-menu-item:before{
        bottom:0px;
    }
    .title-projet h1{
        font-size:14px;
    }
    .slides p{
        font-size:10px;
        bottom:-50px;
    }
    .toomany{
        top:20px;
        left:20px;
    }
    .pictures{
        bottom:20px;
        right:20px;
    }
    
    .text-projet-slider{
        border:none; 
        width:90%;
    }
    
    .text-projet-slider p{
        font-size:12px;
        margin-bottom:8px;
    }
    .back-button{
        margin-top:11px;
    }
    .container{
        padding:0;
    }

    h2{
        font-size:5vw!important;
    }
    .container-ref{
        padding:0 7px;
    }
    .img-container-ref{
        width:100px;
    }
    .col-2, .col-3, .col-4, .col-6, .col-8, .col-10, .col-12{
        padding-left:5px;
        padding-right:5px;
    }
    #main{
        padding:5px;
    }
    nav.main-navigation{
        left:20px;
        top:20px;
    }
    .slides{
        border:20px solid white!important;
    }
    #tooltip p{
        font-size:14px!important;
    }
    ul#filters {
        position: initial;
        margin-top: 60px;
        text-align:center;
    }
    ul#filters li{
        display:inline-block;
    }
    .container{
        margin-top:11px;
    }
    .about-info, .about-text p{
        font-size:17px;
    }
    .about{
        height:100vh;
    }
    .about p{
        margin-bottom:10px;
    }
    .col-4.col-12-sm{
        width:100%;
    }
    .about-text, .credits{
        display:none;
    }
    .about-info{
        margin-bottom:7px;
    }
    .about input[type="submit"]{
        top:49px;
    }
    .row-about-infos{
        width:100%;
    }
    #tooltip{
        display:none!important;
    }
}

#tooltip p{
    font-size:24px;
}

    
