/*
Theme Name: Inspiro enfant2
Template: inspiro
*/
@import url("../inspiro/style.css");



/* ----------------------*/
/* -- PERSONNALISATION --*/
/* ----------------------*/


/* "Futura pt" partout sur le site ; forcé sur menu plutt qu'avec !important sinon on perd le picto recherche*/
@import url("https://use.typekit.net/onw1rpf.css");

*, .menu-item a{
	font-family: "futura-pt";
}

body{
	color: initial !important;
}
.red{
	color: red;
}

/*Espacement entre les items de menu*/
.menu-item a{
	margin-left: 25px;
	letter-spacing: 1.5px !important;
}


/* Pas de chevauchement du menu et du grand visuel */
.navbar{
	position: static !important;
}

/* Taille du logo */
.custom-logo{
	max-height: 18rem !important;
    width: auto;
	padding-bottom: 26px;
	padding-left: 26px;
	padding-right: 26px;
	margin-left: 20px;
	margin-bottom: 13px;
}

/* items de menu férrés à gauche et espacement vertical*/
.navbar-nav{
    float: none;
    margin-left: 9em;
    margin-top: 92px;
}

/* recherche et sidebar toggle décalé du haut */
.sb-icon-search, .navbar-toggle {
    margin-top: 92px !important;
}
.side-nav__wrap *{
	color: #000 !important;
}

/* bouton sidebar toggle en noir */
.icon-bar{
	background-color : #000 !important;
}

/* masquer les catégories de porfolio */
.portfolio-archive-taxonomies{
	display: none !important;
}

/* pas de filet sous le titre de rubrique (enfin si mais transparent) le titre est masqué de toute façon au final */
.section-title:after{
	background-color: transparent !important;
}
/* pas de dégradé dans le menu */
.page-with-cover{
	background-image: none !important;
}

/* espace autour des grilles de portfolio */
.portfolio-showcase, .portfolio-archive{
	padding: 0 40px !important;
}

/* Fond de portfolio transparents pour pas avoir de case vide noire */
.widgetized-section .portfolio-grid {
	background-color: transparent; /* NICO : une case noire en trop parfois */
	background-color: #101010; /*Ticket WPZOOM : masquer les filets blancs entre les */
}


/* libellé des vignettes de mosaïque centré */
.portfolio_item-title{
	text-align: center !important;
	font-size: 2vw !important;
	letter-spacing: 0.25vw !important;
	font-weight: 500 !important;
}
.is_an_iframe .portfolio_item-title{
    padding-top:12.5vh;
}
.is_an_iframe > a:after{
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 100%;
    background: url(http://asile-paris.com/wp/wp-content/themes/inspiroenfant/play.svg);
    background-size: 6.5vh;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: 0.2s ease height;
    -o-transition: 0.2s ease height;
    transition: .2s ease height;
}
.is_an_iframe:hover > a:after{
    -webkit-transition: 0.2s ease height;
    -o-transition: 0.2s ease height;
    transition: .2s ease height;
    height: 95%;
}
.portfolio_item-title + p{
	text-align: center !important;
}
.entry-thumbnail-popover-content.popover-content--animated{
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	bottom: 0 !important;
}

/* titre des portfolio minuscule et espacé */
h1.entry-title{
	text-transform: lowercase ;
	letter-spacing: .25vw;
	font-weight: 500 !important;
	font-size: 3.5vw !important;
	padding-bottom: 20px !important;
}
/*marge au dessus des titres de portfolio*/
.entry-info{
	margin-top: 0 !important;
}

/* copyright du footer centré */
.copyright{
	display: inline-block !important;
	width: 50% !important;
	text-align: center !important;
	padding-top: 20px !important;
	border-top: 1px solid #666666;
	float: none !important;
	color: #000 !important;
	/*color: #3e3e3e;*/
	letter-spacing: 1px !important;
	/*font-size: 1.5vw !important;*/
	font-size: 16px !important;
	margin-top: 40px !important;
}
.site-info{
	width: 100%;
	text-align: center !important;
}
.cover-fullheight{
	background-color: transparent !important;
}

/* suppression des titre au dessus des mozaïques*/
h2.section-title{
	display: none !important;
}

/*Espacement de caractère partout dans les articles*/
article * {
	letter-spacing: 1px;
	/*color: #000000 ;*/
}

/************/
/*page ABOUT*/
/************/
/*Pas de titre*/
.page-id-4491 h1.entry-title{
	display: none !important;
}
.page-id-4491 .entry-content{
	margin-top: 0 !important;
}
.page-id-4491 *{
	letter-spacing: 1px !important;
}
.page-id-4491 h2, .page-id-4491 h3{
	letter-spacing: 4px !important;
	font-weight: 500;
	font-size: 43px;
}
.page-id-4491 h3{
	font-size: 58px !important;
}


/**************/
/*page CONTACT*/
/**************/
/*Pas de titre*/
.page-id-628 h1.entry-title{
	display: none !important;
}
.page-id-628 .entry-content{
	margin-top: 0 !important;
}
.page-id-628 *{
	letter-spacing: 1px !important;
}
.page-id-628 h2, .page-id-4491 h3{
	letter-spacing: 4px !important;
	font-weight: 500;
	font-size: 43px; 
}
.page-id-628 h3{
	font-size: 54px;
}
.page-id-628 .item-contact {
	font-size:1.9vw !important; /*2.4vw*/
	letter-spacing: 4px !important;
	font-weight: 400 !important;
	line-height: 120% !important;
	color: #000;
	margin-bottom: 3vw !important;
	text-align: left !important;
}
.reseaux-sociaux {
    text-align: left;
    position: absolute;
    bottom: 0;
    margin:0;
}
.reseaux-sociaux > a {
    display:inline-block;
    height: 3vw !important;
    width:auto;
}
.reseaux-sociaux > a:first-child{
    margin-left:-0.3em;
}
.entry-content .alignfull .wp-block-column {
    position:relative;
}
.entry-content .alignfull .reseaux-sociaux > a > img {
    height: 3vw !important;
    width: auto;
    max-width: inherit;
}
/* ---------------------*/
/* -- AJOUTS PINKCELL --*/
/* ---------------------*/

.awards{
	display: inline-grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap:80px;
	font-size: 2.5em;
	font-weight: bold;
	margin: 32px calc(50% - 50vw); /*Equiv alignfull*/
	max-width: 100vw; /*Equiv alignfull*/
	width: 100vw; /*Equiv alignfull*/
	padding-left: 11vw !important;
	padding-right: 11vw !important;
}
.awards img{
	width: auto;
	height: auto;
}

.capab{
	display: grid;
	grid-template-columns: 1fr  1fr 1fr;
	/*grid-template-columns: 1fr 5px 1fr 5px 1fr;*/
	grid-gap:0 100px;
	font-size: 30px;
	font-size: 2.4vw;
	font-weight: 500;
	padding-left: 12vw !important;
	padding-right:12vw !important;
}
/*tiret vertical entre les capabilities*/
.thin{
	font-weight: 100;
	display: none;
}
.contact-container{
	padding-left: 4vw;
	padding-right: 4vw;
}


/*  --- CLIENTS ---  */
.page-id-4491 .references{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 60px;
	margin: 32px calc(50% - 50vw); /*Equiv alignfull*/
	max-width: 100vw; /*Equiv alignfull*/
	width: 100vw; /*Equiv alignfull*/
	padding-left: 11vw !important;
	padding-right: 11vw !important;
	text-align: center;
	font-size: 2.5vw;
    font-weight: 500;
	text-transform: lowercase;
}
.page-id-4491 .references div:nth-child(3n) {
	/*background-color: hotpink;*/
	text-align: right;
}
.page-id-4491 .references div:nth-child(3n-2) {
	/*background-color: blue;*/
	text-align: left;
}






/* Prev / Next (ajouté le conteneur .prevNextZone pour positionner plus facilement) */
main{
	text-align: center;
}
.prevNextZone{ /*conteneur en flex pour prev / back / next*/
	display: flex !important;
	/*background-color: pink;*/
	width: 100vw;
	align-items: center;
	justify-content: space-around; 
}
.prevNextZone a{
	width: 33.33% !important; /**/
}
.prevNextZone a:nth-child(1), .prevNextZone a:nth-child(3){	width: 40% !important;	}
.prevNextZone a:nth-child(2){	width: 20% !important;	}

.prevNextZone a:nth-child(1) h4{	text-align: left !important;	}
.prevNextZone a:nth-child(3) h4{	text-align: right !important;	}

.prevNextZone h4{ /*Libellés*/
	letter-spacing: 4px; /*espacement des caractères des libellés*/
	color: #666; /*couleur des libellé*/
	font-size: 1.65vw;
}
.disabled{ /*pour prev et next quand on est en début et fin de liste (pas de prev ou de next)*/
    pointer-events: none;
    cursor: default;
	opacity: 0.4;
}
.previous-info{ /*sinon taille aberrant de la zone prev/next*/
	min-height: 50px;
	padding: 40px;
}

/*picto de retour à la catégorie*/
a[title="Back"] .previous-content h4{
	color: transparent !important;
}
a[title="Back"] .previous-content{
	width: 70px !important;
	height: 70px !important;
	background-image: url('http://asile-paris.com/wp/wp-content/themes/inspiroenfant/back-to-category-grey.jpg');
	background-size: contain;
	vertical-align: top;
}


/* ------- RESULTATS DE RECHERCHE --------*/
.search-results p{
	display : none; /*masque les détails*/
}





/*=============================================*/
/*=============================================*/
/*=============================================*/
/*            R E S P O N S I V E              */
/*=============================================*/
/*=============================================*/
/*=============================================*/

@media only screen and (max-width: 1150px) {
	/*Réduction des esapce dans le menu*/
	.menu-item a{
		margin-left: 12px;
		letter-spacing: 1px !important;
	}
}



/*------------------------------------------------------- MOBILE */
@media only screen and (max-width: 460px) {
	
	/* Masquage du picto play sur les petites vidéo */
	.iframe-btn-custom{
		display: none;
	}
	
	/* texte des vignettes de porfolio */
	h3.portfolio_item-title{
		font-size: 24px !important;
		text-shadow: 0 0 8px rgba(0,0,0,0.8);
	}
	
	/* OVERVIEW / HOME */
	/*Réduction du bloc slider vidéo*/
	/*La taille semblée calculée et prendre le pas sur les instructions à postériori*/
	ul.slides, ul.slides li, .page .is-vimeo-pro-slide, .vp-center, #player{
		height: 300px !important;
	}
	
	/* PAGE ABOUT */
	.page-id-4491 h2, .page-id-4491 h3{
		letter-spacing: 1px !important;
		font-weight: 500;
		font-size: 18px;
	}
	.page-id-4491 h3{
		font-size: 28px !important;
	}
	.awards{
		display: inline-grid;
		grid-template-columns: 1fr 1fr;
		grid-gap:60px;
		font-size: 1.8em;
	}
	
	
	/*Capabilities*/
	.capab{	
		grid-template-columns: 1fr;
		font-size: 22px;
	}
	.capab > *{
		text-align: center !important;
	}
	.thin{
		display: none;
	}
	
	
	
	
	
	/* PREV/NEXT RETOUR MOZ */
	.prevNextZone a:nth-child(1) h4, .prevNextZone a:nth-child(3) h4{
		padding: 30px !important;
		text-align:center !important;
		margin-top: -10px;
	}
	a[title="Back"] .previous-content{
		margin-top: 24px;
		width: 40px !important;
		height: 40px !important;
	}
}

/*------------------------------------------------------- TABLETTE */
@media only screen and (max-width: 768px) {
	
	/*HEAD MENU ET LOGO*/
	img.custom-logo{	max-height: 100px !important;	}
	/*Hauteur du bandeau*/
	nav.navbar.page-with-cover{	max-height: 100px !important;}
	.inner-wrap wpz_layout_full{max-height: 100px !important;}
	/*position des picto*/
	.sb-icon-search, .navbar-toggle {
		margin-top: 25px !important;
	}
	
	
	/* PORTFOLIO */	
	.single-portfolio_item p{
		font-size: 18px !important;
	}
	.single-portfolio_item h1.entry-title{
		font-size: 28px !important;
	}
	.single-portfolio_item h1{
		font-size: 23px !important;
	}
	
	/* PAGE ABOUT */
	.page-id-4491 h2, .page-id-4491 h3{
		letter-spacing: 1px !important;
		font-weight: 500;
		font-size: 24px;
	}
	.page-id-4491 h3{
		font-size: 30px !important;
	}
	.awards{
		font-size: 1.8em;
	}
	/*Capabilities*/
	.capab{	
		grid-template-columns: 1fr;
		font-size: 22px;
	}
	.capab > *{
		text-align: center !important;
	}
	.thin{
		display: none;
	}
	/*References*/
	.page-id-4491 .references{
		grid-template-columns: 1fr 1fr;
		grid-gap: 40px;
		font-size: 20px;
	}
	.page-id-4491 .references div{
		text-align: center !important;
	}
	
	
	/* PAGE CONTACT */

	/*.page-id-628 .item-contact {
		font-size:22px !important;
		letter-spacing: 3px !important;
		margin-bottom: 3vw !important;
		text-align: left !important;
	}*/
    .page-id-628 .item-contact {
		font-size: 20px !important;
        letter-spacing: 3px !important;
        margin-bottom: 1.6vw !important;
        text-align: left !important;
	}
    	
	
	/* PREV/NEXT RETOUR MOZ */
	.prevNextZone h4{
		font-size: 16px;
		letter-spacing: 2px;
	}
	.prevNextZone a:nth-child(1) h4, .prevNextZone a:nth-child(3) h4{
		padding: 30px !important;
		text-align:center !important;
		margin-top: -10px;
	}
	a[title="Back"] .previous-content{
		margin-top: 24px;
		width: 40px !important;
		height: 40px !important;
	}
	
}


@media only screen and (max-width: 460px) {
	/* PAGE CONTACT */
	.page-id-628 .item-contact {
		font-size:20px !important;
		letter-spacing: 3px !important;
		margin-bottom: 23px !important;
		text-align: left !important;
	}
    .page-id-628 .reseaux-sociaux {
        position:relative !important;
        margin-bottom:23x;
    }
	.reseaux-sociaux > a {
        height: 26px !important;
    }
    .entry-content .alignfull .reseaux-sociaux > a > img {
        height: 26px !important;
    }
}

@media only screen and (max-width: 480px) {
  .abonner{
      margin:0px auto 18px !important;
  }
  #mailpoet_form_1 .mailpoet_paragraph{
    width: 100% !important;
  }
}