/*
 * Theme Name: Le Studio
 * Description: 
 * Author: Le Studio
 * Version: 0.0.1
 * Tags: 
 */

@font-face {
    font-family: 'tuffy';
    src: url('/fonts/tuffy.otf') format('opentype'),
    url('/fonts/tuffy.woff') format('woff'),
    url('/fonts/tuffy.svg#abcd') format('svg'),
    url('/fonts/tuffy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mosk_Extra-Light_200';
    src: url('/fonts/Mosk_Extra-Light_200.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Mosk_Light_300';
    src: url('/fonts/Mosk_Light_300.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Mosk_Medium_500';
    src: url('/fonts/Mosk_Medium_500.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mosk_Bold_700';
    src: url('/fonts/Mosk_Bold_700.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Mosk_Extra-Bold_800';
    src: url('/fonts/Mosk_Extra-Bold_800.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Cardenio_Modern_Bold';
    src: url('/fonts/Cardenio_Modern_Bold.ttf') format('truetype');
    font-style: normal;
}




body{
	line-height: 1;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 1em;
	font-family: 'Mosk_Medium_500';
	color: black;
	position: relative;
	overflow-x: hidden;
    margin: 0;
}
body.page-template-page_realisations{
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}
body.page-template-page_realisations::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* Chrome/Safari/Webkit */
}

/* *** TITRES *** */

h1 { 
    font-family: 'Cardenio_Modern_Bold';
    font-size: 2.3em; 
    margin: 0;
    padding-bottom: 25px;
    position: relative;
    text-transform: uppercase;
}

h1::after { 
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 20px;
    background-image: url(/wp-content/uploads/2019/12/trace_h1.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

h2 { 
    font-family: 'Mosk_Bold_700';
    font-size: 2.1em;
    text-align: center; 
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 30px;
}

h3 { 
    font-family: 'Mosk_Extra-Bold_800';
    font-size: 1.9em; 
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 30px;
}
h4 { 
    font-size: 1.4em; 
    font-family: 'Mosk_Bold_700';
    margin: 0;
    padding-bottom: 25px;
}

h5 { 
    font-size: 1.2em; 
    margin: 0;
    padding-bottom: 10px;
}

h6 { font-size: .75em; margin: 0;}

img, svg {
    max-width: 100%;
    height: auto;
}

body, section, article, div, ul, li, p, img, textarea, input {
    box-sizing: border-box;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    line-height: 1.5em;
}

p {
    margin: 0;
    margin-bottom: 15px;
    line-height: 1.5em;
}

a {
    color: black;
    cursor: pointer;
    text-decoration: none;
}

hr {
    background-color: grey;
    border: none;
    width: 80%;
    height: 1px;
}

strong {
    font-family: 'Mosk_Bold_700';
}






/* *** PHOTOS BACKGROUND *** */

[background-photo] {
  position: absolute;
  z-index: -1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 100%;
  height: 100%;
}
[background-photo] img {
  display: none;
}



/* *** CLASS FLEX *** */

.flex{
    display: flex;
}
.flex_column{
    display: flex;
    flex-direction: column;
}
.flex_wrap{
    flex-wrap: wrap;
}
.ai_center{
    align-items: center;
}
.ai_flex_start{
    align-items: flex-start;
}
.ai_flex_end{
    align-items: flex-end;
}
.jc_space_around{
    justify-content: space-around; 
}
.jc_space_between{
    justify-content: space-between; 
}
.jc_flex_end{
    justify-content: flex-end;
}
.jc_flex_start{
    justify-content: flex-start;
}
.jc_center{
    justify-content: center;
}


/* *** COULEURS *** */

/*
noir : #000000;
blanc : #ffffff;
jaune : #ffff00;
*/





/* ************************ GLOBALE ************************ */

#header {
    position: fixed;
    z-index: 9999;
    background-color: white;
    width: 100%;
    padding: 15px 25px 0 25px;
    box-sizing: border-box;
    transition: all 0.6s ease;
}

#main {
    padding: 172px 25px 25px 25px;
}

#footer {
    padding: 0 25px 25px 25px;
    margin: 60px 25px 25px 25px;
}





/* *** IMAGES *** */


.photo_nb {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}



/* *** BLOCS NOIRS *** */

.intro_noir {
    background-color: black;
    color: white;
    padding: 45px 69px;
    text-align: center;
}

.contenu_intro {
    position: relative;
    font-family: 'Mosk_Bold_700';
    font-size: 1.6em;
}

.contenu_intro:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -50px;
    background-image: url(/wp-content/uploads/2019/12/trace_01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 100px;
    transform: translate(-50%, -50%);
}

.contenu_intro:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -90px;
    background-image: url(/wp-content/uploads/2019/12/trace_01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 100px;
    transform: translate(-50%, -50%) rotate(180deg);
}

.contenu_partenaires {
    position: relative;
    margin-bottom: 45px;
}

/*.contenu_partenaires::after {
    content: "...";
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 6em;
    color: white;
}*/

.contenu_partenaires li:last-child span {
    display: none;
}


/* *** TEXTES DESCRIPTIFS *** */


.texte_descriptif {
    max-width: 650px;
    margin: 0 auto;
    padding: 45px 0;
    text-align: center;
}


/* ************************ EFFETS ************************ */

/* *** SURVOL MENU *** */

.menu-item a {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  /*overflow: hidden;*/
  padding-bottom: 15px;
}
.menu-item a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #ffff00;
  height: 6px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.menu-item a:hover:before, .menu-item a:focus:before, .menu-item a:active:before {
  right: 0;
}




/* ************************ HEADER ************************ */

ul#menu-menuprincipal {
    display: flex;
}

ul#menu-menuprincipal li {
    list-style: none;
    padding: 15px 3vw;
    font-size: 1.3em;
    font-family: 'Mosk_Light_300';
}

.coordonnees {
    margin: 0 4vw;
}

.coordonnees a {
    font-family: 'Mosk_Extra-Bold_800';
}

.coordonnees svg {
    width: 35px;
    height: 35px;
}

.element_coordonnees svg {
    margin-left: 10px;
}

.logo_lestudio {
    width: 250px;
}

.reseaux_sociaux {
    margin-top: 2px;
    gap: 5px;
}


/* *** MENU FIXE *** */

#header.scrolled {
    padding: 5px 25px 0 25px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}

#header.scrolled #wrapper_logo .coordonnees svg {
    display: none;
}

#header.scrolled .coordonnees {
    margin: 0 4vw;
}

#header.scrolled #wrapper_logo .logo_lestudio {
    width: 140px;
}

#header.scrolled ul#menu-menuprincipal li {
    /*padding: 5px 1vw;*/
    padding: 5px 3vw;
}



/* *** MENU MOBILE *** */

.menu_mobile {
    display: none;
    position: relative;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.menu_mobile .logo_lestudio {
    display: block;
    padding: 25px;
    width: 80%;
    margin: 0 auto;
    max-width: 450px;
}

.menu_mobile nav {
    position: fixed;
    z-index: 998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin-left: -100%;
    transition: all 0.3s ease;
}

.menu_mobile .menu a {
    color: black;
    text-align: center;
    font-size: 1.6em;
    font-family: 'Mosk_Light_300';
}

.menu_mobile ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu_mobile ul li {
    list-style: none;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 3px;
    width: 100% !important;
}

.menu_mobile hr {
    margin-top: 35px;
}

.contenu-menu-principal{
    padding: 0 5vw;
    position: relative;
    z-index: 9999999;
}

.menu_mobile nav.active {
    margin-left: 0;
}

.menu_mobile .coordonnees a {
    justify-content: center;
}

.bouton_burger {
    position: fixed;
    z-index: 9999999999999999;
    right: 8px;
    top: 8px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    background-color: #000;
    border-radius: 300px;
    width: 50px;
    height: 50px;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.6));
}

.bouton_burger span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 2px;
    margin-top: 2px;
    position: relative;
    background: white;
    border-radius: 3px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.bouton_burger:hover span:first-child, .bouton_burger:hover span:last-child {
    width: 20px;
}

.menu_mobile.active .bouton_burger span:first-child {
    transform: rotate(-45deg) translate(-3px, 2px);
}

.menu_mobile.active .bouton_burger span:last-child {
    transform: rotate(45deg) translate(-3px, -3px);
}

.menu_mobile.active .bouton_burger span:nth-child(2) {
    display: none;
}


.menu_mobile .reseaux_sociaux {
    margin-top: 25px;
}



/* ************************ PAGE AGENCE ************************ */

#photo_header_lestudio img {
    width: 100%;
    height: 35vw;
    object-fit: cover;
	object-position: top center;
}


/* *** PARTIE CREA *** */
#crea_graphique_web {
    margin: 35px 0;
}

#crea_graphique_web .card .back {
    padding: 50px 15px;
}

.contener_crea {
    position: relative;
    height: 1030px;
    width: 49%;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: all .5s ease-in-out;
    overflow: visible;
}
/*.contener_crea:hover{
	cursor: alias;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}*/
.contener_crea .card{
	transition: all .5s ease-in-out;
}
.contener_crea .card:hover{
	cursor: url("/wp-content/uploads/2020/05/flip_cursor.svg"), alias;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}
.intro_crea {
    max-width: 100%;
    margin: 0 auto 50px auto;
}

.contener_crea h3 strong {
    font-size: 1.6em;
}

.contener_crea h3 em {
    background-color: black;
    color: white;
    font-size: 0.6em;
    font-style: initial;
    padding: 5px;
    transform: rotate(-5deg);
    -webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
    display: inline-block;
    position: absolute;
	margin-left: 12px;
	margin-top: 8px;
    font-family: 'Mosk_Extra-Bold_800';
}
.fond_crea h5{
    text-transform: uppercase;
}
.fond_crea > span, .contener_lestudio_aussi .card .front > span{
    font-family: 'Mosk_Light_300';
}

.contener_crea .fond_crea {
    background-image: url(/wp-content/uploads/2019/12/fond_trace_02.svg);
    background-repeat: repeat;
    background-size: 295px;
    background-position: top left;
    padding-top: 40px;
    height: 100%;
}

.contener_crea .picto-front {
    width: 150px;
    height: 100px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.contener_crea svg {
    width: 150px;
    height: 100px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.contener_crea svg path{
    stroke: black;
}

.contener_crea span {
    display: block;
    margin-bottom: 25px;
    font-size: 3em;
}

.photo_crea {
    width: 100%;
	margin-top: 60px;
	height: 548px;
    object-fit: cover;
    object-position: center;
}

#crea_graphique_web .wp-block-media-text {
    display: grid;
    padding: 0 25px 0 25px;
    width: 100%;
    margin: 0 auto;
}

#crea_graphique_web figure.wp-block-media-text__media {
    width: 120px;
    align-self: flex-start;
}

#crea_graphique_web  .wp-block-media-text__content {
    flex: 3;
    text-align: left;
    padding: 0;
}

.wp-block-image .aligncenter,
.wp-block-image {
    margin: 0 auto;
}

#crea_graphique_web  .wp-block-media-text__content span {
    display: inline;
    font-size: 1em;
    margin: 0;
    font-family: 'Mosk_Extra-Bold_800';
}

#crea_graphique_web  .wp-block-media-text__content h4 {
    padding-bottom: 5px;
    color: black;
}


#crea_graphique_web .card .wp-block-media-text{
	margin-bottom: 20px;
	-ms-grid-columns: 150px 1fr;
	grid-template-columns: 150px 1fr;
}

.wp-block-media-text{
	position: relative;
}
#mention_speciale_crea_graphique {
    position: absolute;
    top: -15px;
	left: 400px;
    width: 190px;
    max-width: 100%;
    text-align: left;
    display: flex;
    margin: 0 auto;
}
#mention_speciale_web{
	position: absolute;
    top: 70px;
    left: 400px;
    width: 190px;
	text-align: left;
	display: block;
	margin: 0 auto;
}
.mention_speciale p {
    position: relative;
    font-family: 'Cardenio_Modern_Bold';
    font-size: 1.2em;
    line-height: 1em;
    transform: rotate(-5deg);
}
#conteneur_web .wp-block-media-text__content ul{
	margin-bottom: 15px;
    padding-left: 20px;
}


/* *** PARTIE NOS VALEURS *** */
#nos_valeurs {
    margin-top: 100px;
}

#nos_valeurs .texte_descriptif {
    margin: 0 45px;
    max-width: 430px;
}

#nos_valeurs h2  { 
    font-family: 'Cardenio_Modern_Bold';
    font-size: 2.3em; 
    margin: 0;
    padding: 25px 0;
    position: relative;
}

#nos_valeurs h2::after { 
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 20px;
    background-image: url(/wp-content/uploads/2019/12/trace_h1.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#nos_valeurs svg {
    margin-bottom: 22px;
}

/* *** PARTIE LE STUDIO C'EST AUSSI *** */
#lestudio_aussi {
    margin: 45px 0;
    text-align: center;
}

.contener_lestudio_aussi {
    width: 350px;
    height: 350px;
    margin: 25px;
    cursor: pointer;
}

.contener_lestudio_aussi h3 {
    margin-bottom: 20px;
}

.contener_lestudio_aussi span {
    font-size: 2.3em;
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	font-weight: lighter;
}
.contener_lestudio_aussi .back span {
	bottom: 15px;
}
.contener_lestudio_aussi .back span img {
    width: 20px;
    height: auto;
}
.contener_lestudio_aussi .front span {
	bottom: 60px;
	font-size: 3em;
}

.contener_lestudio_aussi strong {
    display: inline-block;
    padding-top: 15px;
}

.contener_lestudio_aussi p {
    margin-bottom: 0;
    line-height: 1em;
}

.contener_lestudio_aussi .card > div {
    padding: 35px;
}

.contener_lestudio_aussi .card{
	transition: all .5s ease-in-out;
}

.contener_lestudio_aussi .card:hover{
	cursor: url("/wp-content/uploads/2020/05/flip_cursor.svg"), alias;
}

.container {
    position: relative;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
}
.card {
    width: 100%;
    height: 100%;
    position: absolute;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
}
.card > div {
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
.card .front {
    background-color: white;
}
.card .back {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}
.card.flipped {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}


#lestudio_aussi .card .front {
    /*position: relative;*/
    z-index: 3;
    border: solid 1px black;
    border-radius: 600px;
    line-height: 40px;
}

#lestudio_aussi .card .back {
    position: relative;
    z-index: 3;
    border-radius: 600px;
}
#lestudio_aussi .card .back p{
    font-size: 0.9em;
    line-height: 140%;
}
.contenu-back-card{
	width: 100%;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.close-card{
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
}



/* *** PARTIE ILS NOUS FONT CONFIANCE *** */
#les_partenaires {
    background-color: black;
    text-align: center;
    padding: 45px 69px;
}

#les_partenaires ul {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
}

#les_partenaires li {
    list-style: none;
    line-height: 150%;
    padding-right: 5px;
}

#les_partenaires a,
#les_partenaires span {
    color: white;
}

#les_partenaires span {
    font-size: 3em;
}

#les_partenaires .contenu_partenaires {
    max-width: 1200px;
    margin: 0 auto 45px auto;
    color: white;
}


/* ************************ PAGE EQUIPE ************************ */

#presentation_equipe > div {
    flex: 1;
}

#presentation_equipe > div svg {
    display: block;
    margin: 25px auto 25px auto;
    width: 100px;
    height: 100px;
}

#presentation_equipe > div h3 span {
    font-size: 0.7em;
    padding-bottom: 15px;
    display: inline-block;
}

#presentation_equipe > div hr {
    width: 3px;
    height: 75px;
    background-color: black;
}

#presentation_equipe h5 strong {
    text-transform: uppercase;
}

#presentation_equipe p {
    margin-bottom: 0;
}

article#lequipe h2{
	font-size: 1.7em;
	text-transform: initial;
}
#presentation_equipe h5{
    line-height: 1.5em;
    font-family: 'Mosk_Extra-Bold_800';
}


/* ************************ PAGE LES RÉALISATIONS ************************ */

#nos-realisations{
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
}
.page-template-page_realisations #header {
    padding-bottom: 0;
}
.page-template-page_realisations #contenu_header {
    padding-bottom: 25px;
}
.vignette-projet{
    width: 100%;
    height: auto;
    position: relative;
}
.vignette-hover{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffff00;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .2s ease-in-out;
}
.vignette-projet:hover .vignette-hover, .vignette-projet.active .vignette-hover{
    opacity: 1;
}
.vignette-projet h3{
	font-size: 0.8em;
	line-height: 150%;
	padding: 0 10px 0 10px;
}
.vignette-projet h3 span{
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: 200;
}
.vignette-projet img{
    width: 100%;
    height: auto;
}
.vignette-double{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.vignette-double img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vignette-btn{
    cursor: url("/wp-content/uploads/2020/05/click_cursor.svg"), alias;
}
#contenu-projet{
    width: 100%;
    margin-left: auto;
    margin-right: auto;   
    position: relative;
    overflow: hidden;
    background: white;
}
.detail-projet{
    position: absolute;
    top: 0;
    left: auto;
    right: auto;
    bottom: 0;
}
.detail-projet{
    width: 100%;
    max-width: 1640px;
    overflow-y: scroll;
}
.inner-detail-projet{
    display: flex;
    flex-direction: column;
    padding-top: 15px;
}
.detail-visuels ul{
    display: flex;
}
.inner-detail-projet img{
    height: 80vh;
    width: auto;
    max-width: none !important;
}
.inner-detail-projet p{
    margin-bottom: 0;
    line-height: 25px;
}
#close-projet{
    position: absolute;
    right: 20px;
    top: 0;
    font-size: 50px;
    z-index: 999999;
    cursor: pointer;
    width: 50px;
    text-align: center;
    background: white;
}
#close-projet img{
    width: 30px;
}
.detail-description{
    min-width: 540px;
    padding: 20px;
    flex-basis: max-content;
}
.detail-description h1{
    font-size: 3.5em;
    text-transform: uppercase;
    line-height: 130%;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.detail-visuels li{
    list-style: none;
}
#loading{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
#loading svg{
    overflow: visible;
}
.flip-box {
  background-color: transparent;
  width: 352px;
  height: 173px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  overflow: hidden;
}
.flip-box:first-child {
    margin-bottom: 24px;
}
/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-box-front {
  color: black;
}

/* Style the back side */
.flip-box-back {
  color: white;
  transform: rotateY(180deg);
}

/***** SCROLLBAR *****/

/*
.detail-projet::-webkit-scrollbar-track{
    background-color: #F5F5F5;
}
.detail-projet::-webkit-scrollbar{
    width: 20px;
    background-color: #F5F5F5;
}

.detail-projet::-webkit-scrollbar-thumb{
    background-color: #F90; 
    background-image: -webkit-linear-gradient(45deg,
                                              rgba(255, 255, 255, .2) 25%,
                                              transparent 25%,
                                              transparent 50%,
                                              rgba(255, 255, 255, .2) 50%,
                                              rgba(255, 255, 255, .2) 75%,
                                              transparent 75%,
                                              transparent)
}
*/

.vignette-simple{
  background-color: transparent;
  width: 352px;
  height: 173px;
  overflow: hidden;
}
.vignette-simple:first-child {
    margin-bottom: 24px;
}

#wrapper-contenu-projet{
    position: fixed;
    background: white;
    height: 100vh;
    overflow: hidden;
    top: 0;
    right: 0;
    width: 0;
    box-shadow: -2px -2px 15px rgba(0, 0, 0, 0.5);
}

#page-realisations2 .detail-projet{
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}
#contenu-projet li{
    list-style: none;
    padding: 20px;

}
#contenu-projet li img{
    width: 100%;
    height: auto;

}
/***** WATERFALL *****/
#liste-projets { margin: 10px;     padding-left: 0 !important;}

#liste-projets li {
  /*position: absolute;*/
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(100px);
  list-style: none;
  min-height: 395px;

}

#liste-projets li.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s, top 1s;
}

#liste-projets li > div {
  color: rgba(0,0,0,0.6);
  font-size: 32px;
  margin: 12px;
  /*padding: 5px;
  background: rgb(255,255,255);
  border: 1px solid rgba(038, 191, 64, 0);*/
  transition: all 0.5s;
}

#liste-projets li > div:hover {
    transition: all 0.3s;
    /*background: rgba(98,158 ,6,0.8);*/
}

#liste-categories {
    padding: 15px;
    text-align: center;
}

.btn-categorie{
    background-color: transparent;
    color: white;
    border: none;
    font-family: 'Mosk_medium_500';
    font-size: 1.1em;
    cursor: pointer;
    padding: 2px 10px;
    border: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
}
.site-projet{
	text-align: center;
	padding: 15px;
	font-size: 1.2em;
}

.site-projet a:hover{
	text-decoration: underline;
}
.site-projet img{
    width: 30px;
    height: auto;
    vertical-align: middle;
}
.liens-motions a{
    padding-left: 35px;
    position: relative;
}
.liens-motions a:before{
    content:"";
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    background: url(/wp-content/uploads/2020/05/picto_motion.svg);
    background-size: cover;
}

.picto_realisation {
    background-color: #ffff00;
    width: 100px;
    height: 100px;
    border-radius: 600px;
}

.bouton_realisation {
    background-color: black;
    color: white;
}



/*** PAGE SIMPLE ***/

.page_simple {
    padding: 50px 0;
}

.page_simple .page-title {
    text-align: center;
}

.page_simple .page-content {
    max-width: 1024px;
    margin: 40px auto;
}

.page_simple .page-content h3{ 
    margin-top: 40px;
}

.page_simple ul {
    margin-left: 15px;
}

.page_simple ul li {
    list-style-position: outside;
}

.page_simple .wp-block-separator {
    width: 100% !important;
    border: none !important;
    margin: 35px 0 !important;
    background-color: black !important;
}






#recrutement h1 {
    display: none;
}




/* ************************ LOADER ************************ */


.sigle {
    display: block;
    position: relative;
    animation: loading 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) infinite alternate ;
    -webkit-animation: loading 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) infinite alternate ;
}



@keyframes loading {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(45px);
  }
}

@-webkit-keyframes loading {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(45px);
  }
}



.showed{
    opacity: 0;
    transform: translateY(100px);
}
.showed.show{
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.3s, top 1s;
}
.show{
    display: block !important
}




/* ************************ PAGE INVITATION ************************ */

#on-vous-invite-a-feter-nos-10-ans .wp-block-image img {
    border: solid 1px black;
}

#on-vous-invite-a-feter-nos-10-ans {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

#on-vous-invite-a-feter-nos-10-ans .champs_formulaire input, 
#on-vous-invite-a-feter-nos-10-ans .champs_formulaire textarea, 
#on-vous-invite-a-feter-nos-10-ans .champs_formulaire select {
    width: 100%;
    padding: 15px;
    font-size: 0.9em;
    margin-bottom: 0;
    -webkit-appearance: none;
    background-color: #eee;
    color: black;
    border: inherit;
    text-align: center;
    font-family: 'Mosk_Medium_500';
}

.wpcf7-submit {
    background-color: black !important;
    color: #ffff00 !important;
    cursor: pointer;
    border: none;
    padding: 16px 55px;
    display: block;
    text-align: center;
    margin: 15px auto;
    text-transform: uppercase;
    font-weight: bolder;
}

.mentions_formulaire {
    font-size: 0.8em;
    text-align: center;
}

.mentions_formulaire a {
    text-decoration: underline;
}

.wpcf7-list-item {
    margin: 0 !important;
}


.wp-block-button__link {
    background: black !important;
}

/* ************************ PAGE 404 ************************ */

.error404 #main p {
    text-align: center;
}

.error404 #main a {
    text-align: center;
    display: block;
}

.error404 #main {
    padding: 350px 25px;
}





/* ************************ FOOTER ************************ */

#footer {
    background-color: black;
    color: white;
    font-family: 'Mosk_Light_300';
}

#footer a {
    color: white;
}

#footer .picto_logo {
    margin-top: -40px;
    width: 80px;
}

#copyright {
    padding: 25px;
    text-align: center;
}

#copyright span {
    padding: 0 10px;
}

#copyright svg {
    width: 30px;
    margin: 10px;
}


/* *** TARTE AU CITRON *** */

#tarteaucitronAlertBig {
    background-color: black !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize {
    background-color: #ffff00 !important;
    color: black !important;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert {
    background-color: white !important;
}

#mentions-legales h3{
    font-size: 1.4em;
}

/***** MEDIA QUERIES *****/
/*************************/

@media only screen and (max-width : 1400px){
    #mention_speciale_crea_graphique{
        left: 360px;
    }
    #mention_speciale_web{
        left: 350px;
    }
}

@media only screen and (max-width : 1220px) and (min-width : 1024px)  {
    #mention_speciale_crea_graphique, #mention_speciale_web{
        position: relative;
        top: 5px;
        margin-top: 0;
        left: 0px;
        width: 190px;
        max-width: 100%;
        text-align: center;
        display: block;
        grid-row: 2;
        grid-column: 2;
        height: auto;
    }
    .contener_crea{
        height: 1230px;
    }
    .photo_crea{
        height: 758px;
    }
    .contener_lestudio_aussi{
        width: 300px;
        height: 300px;
        font-size: 0.85em;
    }
} 
@media only screen and (max-width : 1220px) {
    h3 {
        font-size: 1.6em;
    }
    ul#menu-menuprincipal li {
        padding: 25px 1vw;
    }
    .contener_lestudio_aussi{
    	margin: 0px;
    }
    .contener_lestudio_aussi .card > div{
    	padding: 5px;
    }
    
}
@media only screen and (max-width : 1200px) {
	#mention_speciale_web p{
		margin-left: 5px;
	}
}

@media only screen and (max-width : 1023px) {
    .menu_mobile {
        display: block;
    }
    .menu_ordi {
        display: none;
    }
    #header,
    #contenu_header {
        justify-content: flex-start;
    }
    #presentation_equipe {
        flex-direction: column;
    }
    #wrapper_lestudio_aussi {
        flex-direction: column;
    }
    .contener_lestudio_aussi {
        margin: 25px auto;
        width: 350px;
        height: 350px;
    }
    #crea_graphique_web {
        flex-direction: column;
    }
    .contener_crea {
        width: 100%;
    }
    /*#mention_speciale_web p{
		margin-left: 80px;
	}*/
    #pole_crea_graphique{
        order: 2;
    }
    #pole_direction{
        order: 1;
    }
    #pole_crea_graphique{
        order: 3;
    }
}
@media only screen and (max-width : 840px) {
    .contenu_intro {
        max-width: 400px;
    }
    .contenu_intro:before, .contenu_intro:after{
        display: none;
    }
}
@media only screen and (max-width : 767px) {
    .coordonnees_ordi span {
        display: none;
    }
    .coordonnees_ordi {
        margin: 25px 4vw 25px 0;
    }
    .coordonnees_ordi svg {
        margin-left: 0;
    }
    #wrapper_logo {
        padding-right: 55px;
    }
    #header {
        padding: 0 25px;
    }
    #liste_nos_valeurs {
        flex-direction: column;
    }
    #nos_valeurs .texte_descriptif {
        margin: 0 auto;
    }

    .contener_crea {
        height: initial;
        margin-bottom: 25px;
    }
    #crea_graphique_web .wp-block-media-text {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #crea_graphique_web .card,
    #crea_graphique_web .card > div,
    #crea_graphique_web .photo_crea {
        height: initial;
        position: initial;
    }
    #crea_graphique_web .card .back,
    #crea_graphique_web .card.flipped {
        transform: initial;
    }
    .mention_speciale {
        display: none;
    }
    /*.contener_lestudio_aussi {
        height: inherit;
        width: 100%;
    }*/
    /*#lestudio_aussi .card .back{
    	border-radius: 0px;
		margin-top: 20px;
		padding: 12px;
    }
    .contener_lestudio_aussi .back span{
    	display: none;
    }
    #lestudio_aussi .card .front {
        border: inherit;
    }*/
    #mention_speciale_crea_graphique, #mention_speciale_web{
    	position: relative;
		top: 5px;
		margin-top: 0;
		left: 0px;
		width: 100%;
		text-align: center;
		display: block;
		grid-row: 2;
		grid-column: 2;
		height: auto;
    }
    #mention_speciale_crea_graphique p, #mention_speciale_web p{
		margin-top: 0;
		margin-left: 0;
		transform: rotate(0deg);
    }
    .mention_speciale svg{
    	display: none;
    	height: 0;
    }
    #crea_graphique_web .card .wp-block-media-text{
		margin-bottom: 20px;
		-ms-grid-columns: 30% 1fr;
		grid-template-columns: 30% 1fr;
	}
	#crea_graphique_web figure.wp-block-media-text__media{
		width: 100%;
	}
	.close-card{
		display: none !important;
	}
	#les_partenaires{
		padding: 45px 15px;
	}
    #contenu-projet{
        height: 100vh !important;
    }
    #wrapper-contenu-projet{
        height: 100vh !important;
        position: fixed;
        margin-top: 0 !important;
        z-index: 9999;
    }
    .card .front .fond_crea > span{
        display: none !important;
    }
    .contenu_intro {
        max-width: 300px;
    }
    .inner-detail-projet{
        padding-top: 50px;
    }
    .vignette-simple{
        width: 100%;
    }

}

@media only screen and (max-width: 480px) {
    h3 {
        font-size: 1.3em;
    }
    #copyright {
        flex-direction: column;
    }
    #copyright span {
        display: none;
    }
    #footer a {
        padding: 10px 0 0 0;
    }
    /*p {
        line-height: 1.1em;
    }*/
    .contenu_intro {
        font-size: 1.2em;
    }
    /*.contener_pole {
        flex-direction: column;
    }
    .contener_pole .flip-card {
        width: 100%;
    }*/
    .contener_lestudio_aussi {
        width: 100%;
    }
    .contenu_intro {
        max-width: 200px;
    }

    .logo_lestudio {
        width: 200px;
    }

}
@media only screen and (max-width: 400px) {
    .contenu_intro {
        max-width: 150px;
    }
}

@media only screen and (max-width: 380px) {
    #lestudio_aussi .card .front, #lestudio_aussi .card .back{
        border-radius: 0;
    }
}

#close-projet,
#btn-partage{
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
#btn-partage{
    width: 50px;
    height: 50px;
    line-height: 50px;
    position: absolute;
    top: 50px;
    right: 20px;
    text-align: center;
    font-size: 1.5em;
    z-index: 999999;
    cursor: pointer;
}
#btn-partage a{
    width: 50px;
    height: 50px;
    background: black;
    line-height: 50px;
    color: white;
    display: block;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
  z-index: 9999;
}

.popup {
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    max-width: 300px;
    position: absolute;
    transition: all 5s ease-in-out;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.popup h2 {
  margin-top: 0;
  font-size: 1.6em;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #ffff00;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
  font-size: 1.2em;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
@media screen and (max-width: 768px){
    #btn-partage{
        right: 50px;
        top: 0;
    }
}
.page_detail_projet h1{
    text-align: center;
    font-family: 'Mosk_Medium_500';
    font-size: 1.8em;

}
.page-detail-projet-content{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.page-detail-projet-content li{
    list-style: none;
}
