/*
Theme Name: Studio des Bons Enfants
Theme URI: https://studio-bonsenfants.com/
Description: Le thème du site du Studio des Bons Enfants.
Version: 1.0
Author: Thibaud Lenthéric
 
*/

html { visibility:hidden; }

body{
	background: #fff;
}

*{
	font-family: oswald, sans-serif;
		-webkit-transition: all 0.15s ease-in-out;
		-moz-transition: all 0.15s ease-in-out;
		-o-transition: all 0.15s ease-in-out;
		-ms-transition: all 0.15s ease-in-out;
		transition: all 0.15s ease-in-out;
}


*::-moz-selection { /* Pour firefox */
	background:#002FA7;
	color:white;
}
*::-webkit-selection { /* Pour firefox */
	background:#002FA7;
	color:white;
}
*::selection { /* Pour les autres */
	background: #002FA7;
	color:white;
}

a{
	text-decoration: none;
}

input, textarea {
  outline: none;
}

/*------------------------------SCROLL BAR-----------------------------------------*/
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #222222;
  -moz-box-shadow: inset 0px 0px 7px 0px #021D7C;
  -webkit-box-shadow: inset 0px 0px 7px 0px #021D7C;
  -o-box-shadow: inset 0px 0px 7px 0px #021D7C;
  box-shadow: inset 0px 0px 7px 0px #021D7C;
  filter:progid:DXImageTransform.Microsoft.Shadow(color=#021D7C, Direction=NaN, Strength=2);
  border: 0px double #ffffff;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #022396;
}
::-webkit-scrollbar-thumb:active {
  background: #021D7C;
  -moz-box-shadow: inset 0px 0px 5px 0px #021D7C;
  -webkit-box-shadow: inset 0px 0px 5px 0px #021D7C;
  -o-box-shadow: inset 0px 0px 5px 0px #021D7C;
  box-shadow: inset 0px 0px 5px 0px #021D7C;
  filter:progid:DXImageTransform.Microsoft.Shadow(color=#021D7C, Direction=NaN, Strength=2);
}
::-webkit-scrollbar-track {
  background: rgba(242,243,247,0.97);
  border: 0px none #ffffff;
  border-radius: 0px;
  z
}
::-webkit-scrollbar-track:hover {
  background: #f2f3f7;
}
::-webkit-scrollbar-track:active {
  background: #f2f3f7;
}
::-webkit-scrollbar-corner {
  background: transparent;
}


/*--------------------------IMPORT FONT-------------------------------------*/
@font-face {
  font-family: duke;
  src: url(../font/duke.otf) format('opentype');
}

/*Oswald ExtraLight
font-family: "oswald", sans-serif; font-weight: 200; font-style: normal;

Oswald Light
font-family: "oswald", sans-serif; font-weight: 300; font-style: normal;

Oswald Regular
font-family: "oswald", sans-serif; font-weight: 400; font-style: normal;

Oswald Medium
font-family: "oswald", sans-serif; font-weight: 500; font-style: normal;

Oswald SemiBold
font-family: "oswald", sans-serif; font-weight: 600; font-style: normal;

Oswald Bold
font-family: "oswald", sans-serif; font-weight: 700; font-style: normal;

Oswald Heavy Regular
font-family: "oswald", sans-serif; font-weight: 900; font-style: normal;*/


.cursor {
  position: fixed;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  left: -100px;
  top: 50%;
  margin: -15px;
  mix-blend-mode: difference;
  z-index: 10000;
  border-right : 20px solid transparent;
  border-bottom : 35px solid white;
  border-left : 20px solid transparent;
  height: 0px;
  width: 0px;
  transition: all 150ms ease-out;
  transform: rotate(45deg);
}

.btn{
	position: relative;
	display: inline-block;
	padding: 2px 15px;
	margin-top: 30px;
}

.btn span{
	position: relative;
	font-family: duke, sans-serif;
	font-size: 2.5vw;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #231a97;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	z-index: 3;
}

.btn:before{
	content: " ";
	display: block;
	position: absolute;
	background: #ffffff;
	width: 100%;
	height: 100%;
	border: 1px solid #231a97;
	top: 0;
	left: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	z-index: 2;
}

.btn:after{
	content: " ";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 1px solid #231a97;
	top: 3px;
	left: 3px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: 1;
}

.btn:hover span{
	color: #ffffff;
}

.btn:hover:before{
	background: #231a97;
}

.btn:hover:after{
	top: 0px;
	left: 0px;
}













/*----------------------------------------------------------------------------------------------------------
-----------------------------------------------------HEADER------------------------------------------------
----------------------------------------------------------------------------------------------------------*/

header{background-color: #231a97;}
#accueil header{min-height: 650px;}
header .container, header .row{height: 100%;}
header #logo{max-width:320px; margin: 30px 0 10px;}
header #logo *{overflow: visible;}
#accueil header #logo{max-width:690px; margin: 60px 0;}













/*----------------------------------------------------------------------------------------------------------
-----------------------------------------------------HOME------------------------------------------------
----------------------------------------------------------------------------------------------------------*/

#pres{margin: 200px 0;}
#pres #title{
	position: relative;
	padding: 45px 15px 15px;
}
#pres #title #img{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
#pres #title:before{
	position: absolute;
	display: block;
	content: " ";
	width: 100%;
	height: 100%;
	top: -15px;
	left: -15px;
	border: 2px solid #231a97;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#pres #title:hover:before{
	top: -5px;
	left: -5px;
}
#pres h1{
	position: relative;
	font-family: oswald, sans-serif;
	text-transform: uppercase;
	color: #ffffff;
	text-align: center;
	font-size: 4vw;
	line-height: 1.5em;
	text-shadow: 2px 2px 0 #231a97;
	z-index: 3;
}
#pres h1 .line1{
	font-weight: 200;
	font-size: 1.3em;
	display: inline-block;
	line-height: 0;
}
#pres h1 .line2{
	font-weight: 200;
	font-size: 1em;
	display: inline-block;
	line-height: 0;
}
#pres h1 .line3{
	font-weight: 500;
	font-size: 1.2em;
	display: inline-block;
	line-height: 0;
}
#pres h1 .line4{
	font-family: duke, sans-serif;
	font-size: 1.45em;
	display: inline-block;
	line-height: 0;
}
#pres h1 .line5{
	font-weight: 300;
	font-size: 1.26em;
	display: inline-block;
	line-height: 0;
}

#pres p{
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 1.4em;
	line-height: 1.2em;
	color: #231a97;
	text-align: justify;
}

#pres p strong{
	font-weight: 400;
}

#services{}

#services .title{
	width: 100%;
	text-align: center;
	overflow: hidden; 
} 

#services .title h2{
	display: inline-block;
	font-family: "oswald", sans-serif;
	font-weight: 300;
	font-size: 5vw;
	line-height: 1.5;
	color: #231a97;
	text-transform: uppercase;
}

#services .title h2 strong{
	font-weight: 400;
}

@keyframes defilement {
  0% {
    transform: translate3d(100vw,0,0);      /* position initiale à droite */
  }
  100% {
    transform: translate3d(-100%,0,0);  /* position finale à gauche */
  }
}

#services #content{
	position: relative;
	background: #231a97;
	margin-top: -3px;
	padding: 120px 0 160px;
}

#services #content .item{
	position: relative;
	padding: 0;
}

#services #content .item.item-2{
	margin-top: 180px;
	margin-bottom: 70px;
}

#services #content .item .number{
	position: absolute;
	width: 90px;
	height: 100px;
	top: 0;
	left: -120px;
	text-align: center;
}

#services #content .item .number span{
		height: 0;
		width : 0;
		border-right : 48px solid transparent;
		border-bottom : 85px solid #fff;
		border-left : 48px solid transparent;
	  transform: rotate(21deg);
	  position: absolute;
	  top: 0px;
	  left: 12px;
	  z-index: 1;
  animation: number;
}


@keyframes number {
  0% { left:-20px; transform: rotate(0deg) }
  100% { left: 12px; transform: rotate(21deg) }
}

#services #content .item .number p{
	font-family: duke, sans-serif;
	font-size: 70px;
	line-height: 100px;
	color: #231a97;
	z-index: 2;
	position: relative;
	padding-left: 31px;
}

#services #content .item h3{
	font-family: oswald, sans-serif;
	font-size: 3em;
	line-height: 1.3em;
	font-weight: 300;
	color: #ffffff;
	text-transform: uppercase;
}

#services #content .item p{
	font-family: georgia, sans-serif;
	font-size: 1.1em;
	line-height: 1.4em;
	color: #ffffff;
}


#services #content .item p strong{
	font-weight: bolder;
}

#services #liste{
	position: absolute;
	bottom: -35px;
	width: 100%;
	overflow: hidden; 
}


#services #liste h2{
	display: inline-block;
	font-family: oswald, sans-serif;
	font-size: 60px;
	line-height: 100px;
	font-weight: 300;
	color: #ffffff;
	text-transform: uppercase;
	white-space: nowrap;
	animation: defilement 30s infinite linear;
}


#works{margin-top: 60px;}
#works .worksrow {
  width: auto;
  margin: 0 auto;
}

#works .item {
  margin-bottom: 30px;
  padding: 0 10px;
  min-width: 200px;
  max-width: 650px;
  width: auto;
}

#works .item img {
  width: 100%;
  height: auto;
  display: block;
}


#works #real.item{
	display: block;
	margin: 30px auto;
}
#real h4{
	display: inline-block;
	font-family: oswald, sans-serif;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	color: #808080;
	text-align: left;
}


#contact{margin: 200px 0;}
#contact h2, #contact h2 a{
	font-family: georgia, serif;
	font-size: 2.25em;
	line-height: 1em;
	color: #231a97;
	text-align: right;
}
#contact h2 em{
	font-style: italic;
}
#contact h2 strong{
	font-weight: bold;
}

#contact p{
	font-family: oswald, sans-serif;
	font-size: 1.25em;
	line-height: 1.5em;
	font-weight: 300;
	color: #222222;
}

#contact p a{
	font-weight: 400;
	color: #231a97;
}

#contact p strong{
	font-weight: 400;
}













/*----------------------------------------------------------------------------------------------------------
-----------------------------------------------------CONTACT------------------------------------------------
----------------------------------------------------------------------------------------------------------*/

#page{
	margin: 60px 0;
}

.etape{
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 25px;
	line-height: 30px;
	color: #231a97;
	text-transform: uppercase;
}

#page h1{
	font-family: georgia, serif;
	font-size: 4vw;
	line-height: 1.1em;
	color: #231a97;
	font-style: italic;
	max-width: 720px;
	margin: 0 auto;
	margin-top: 30px;
}

#form{
	margin: 30px 0;
}

#form p{
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 1.2em;
	line-height: 1.5em;
	color: #222222;
	text-align: center;
}

#form .wpcf7-list-item{
	margin: 0 15px;
}

#form input[type="text"], #form input[type="email"], #form input[type="tel"]{
	background: #fefefe;
	width: 100%;
	max-width: 550px;
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 20px;
	line-height: 30px;
	color: #222222;
	border: none;
	text-align: left;
	padding: 10px 15px 3px;
	margin: 15px 0 0 0;
	border-bottom: 1px solid #222222;
}

#form .nav{
	margin: 60px 0;
}

#form input[type="button"], #form input[type="submit"]{
	background: #fff;
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 25px;
	line-height: 30px;
	color: #231a97;
	border: none;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 15px 3px;
	margin: 0 15px;
	border: 1px solid #fff;
	cursor:pointer;
	border-radius: 0;
}

#form input[type="button"]:hover{
	border: 1px solid #231a97;
}

#form input[type="submit"]{
	background: #231a97;
	color: #fff;
	border: 1px solid #231a97;
}

#form input[type="submit"]:hover{
	background: #fff;
	color: #231a97;
}

#form .wpcf7-spinner{
	display: block;
	margin: 15px auto;
}

#form .wpcf7-not-valid-tip{
	display: inline-block;
}

.grecaptcha-badge{display: none;}
#discutons-de-vos-besoins .grecaptcha-badge, #parlez-nous-de-votre-projet .grecaptcha-badge, #comment-vous-joindre .grecaptcha-badge{display: block;}













/*----------------------------------------------------------------------------------------------------------
-----------------------------------------------------FOOTER------------------------------------------------
----------------------------------------------------------------------------------------------------------*/
footer{}
#accueil footer #infos{margin-bottom:75px;}
footer #infos a{
	font-family: oswald, sans-serif;
	font-size: 1.6em;
	line-height: 1.5em;
	font-weight: 500;
	color: #231a97;
	letter-spacing: 1px;
	text-transform: uppercase;
}
footer #infos #tel{
	text-align: right;
}
footer #infos #tel a{
	font-size: 1.9em;
}

#accueil footer #demande{display: block;}
footer #demande{display: none;}
footer #demande{
	position: relative;
	background: #231a97;
	width: 100%;
	bottom: -55px;
	z-index: 10;
	border-top: 1px solid #ffffff;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.1);
	box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.1);
}

footer #demande.fixed{
	position: fixed;
	bottom: 0;
}

footer #demande .col{
	text-align: center;
	font-family: oswald, sans-serif;
	font-weight: 300;
	font-size: 2.5em;
	line-height: 1em;
	letter-spacing: 1px;
	color: #ffffff;
	text-transform: uppercase;
	padding-top: 15px;
}