/*
Theme Name:    	XY Child Theme
Description:    Child theme for XY.
Template:       xy
Author:			
Version:        1.0
*/


/* Import parent theme styles */
@import url("../xy/style.css");

/* -----------------------------------------------------------
	ADD YOUR CSS BELOW THIS LINE
/* ----------------------------------------------------------- */

body {font-size:14px;}

body,
body p, body blockquote, body div,
body ul, body dl, body ol,
body button, body input, body select, body textarea,
body .funky-button,
body .funky-button:visited,
body input[type="button"],
body input[type="submit"],
body button,
body button[type="submit"],
body input[type="reset"],
body input[type="file"] {font-family:"Open Sans", Arial, Helvetica, sans-serif!important; 
				/* font-weight:lighter;  */
	}


#wrapper h1,
#wrapper h2,
#wrapper h3,
#wrapper h4,
#wrapper h5,
#wrapper h6 {font-family:"EB Garamond", "Times New Roman", Times, serif!important;line-height:1.1em;}

#wrapper h1 {font-size:2.6em;}
#wrapper h2 {font-size:1.8em;}
#wrapper h3 {font-size:1.25em;}
#wrapper h4,
#wrapper h5,
#wrapper h6 {font-size:1.1em;}

#wrapper strong {font-weight:bold;}

#wrapper .text-color-dark .post-title,
#wrapper .text-color-dark h1,
#wrapper .text-color-dark h2,
#wrapper .text-color-dark h3,
#wrapper .text-color-dark h5,
#wrapper .text-color-dark h6,
#wrapper .text-color-light .text-color-dark .post-title,
#wrapper .text-color-light .text-color-dark h1,
#wrapper .text-color-light .text-color-dark h2,
#wrapper .text-color-light .text-color-dark h3,
#wrapper .text-color-light .text-color-dark h5,
#wrapper .text-color-light .text-color-dark h6,
#wrapper .text-color-light .text-color-dark blockquote p,
#wrapper .text-color-dark .widget-title,
#wrapper .text-color-dark label,
#wrapper .text-color-dark .funky-dropcap:first-letter,
#wrapper .text-color-dark .funky-toggle-title {color:#03316c;}

#sct2-anim {text-align:center;margin-bottom:70px;}
#sct2-anim .img {width:174px;height:168px;margin:0 auto;position:relative;}
#sct2-anim .img img {width:100%;height:auto;}
#sct2-anim h1 {text-align:center;position:relative;}
#sct2-anim .p1 {display:block;font-size:0.85em;position:relative;}
#sct2-anim .p2 {display:block;font-size:1.2em;position:relative;}

.funky-box.blue-box {font-size:1.1em;}
.small {font-size:small;}

body.home #wrapper #section-7 .entry-body.portfolio-grid-content {padding-bottom:50px;}

/*
header .image-logo {margin:7px 0 0;max-height:80%;width:auto;}
*/
header .logo {margin-top:7px;}

/*
	DATES
*/
.dates {color: #ffffff;
	background-color: transparent;
	font-size: 200px;
	line-height: 180px;
	font-weight: 100;
	font-family: 'EB Garamond', serif;
	text-decoration: none;
	text-shadow: none;
	border-width: 0px;
	border-color: #000000;
	border-style: none;
}


/*
	SLIDERS ETUDE DE CAS (PORTFOLIO)
*/

body.single-portfolio #wrapper {padding-top:0;}
body.single-portfolio #wrapper .hentry > .entry-body {padding-top:80px;}

#wrapper .blue_sp_casestudy_little,
#wrapper .white_sp_casestudy_little,
#wrapper .white2_sp_casestudy_little {font-family:"EB Garamond", "Times New Roman", Times, serif!important;}
#wrapper .blue_sp_casestudy,
#wrapper .white_sp_casestudy,
#wrapper .green_sp_casestudy {font-family:"Open Sans", Arial, Helvetica, sans-serif!important;}
#wrapper .blue_sp_digitalpartner_big {font-family:"Open Sans", Arial, Helvetica, sans-serif!important;}

#wrapper .portfolio-grid .entry-excerpt {min-height:80px;}

/*
	ETUDE DE CAS (PORTFOLIO)
*/

#wrapper .blue {color:#03316c!important;}
#wrapper .blue18 {font-size:18px!important;color:#03316c!important;}
#wrapper .blue20 {font-size:20px!important;color:#03316c!important;margin:0;padding:0;}
#wrapper .gray18 {font-size:18px!important;color:#a4a1a3!important;}
#wrapper .blue30 {font-size:30px!important;color:#03316c!important;line-height:normal!important;}
#wrapper .gray30 {font-size:30px!important;color:#a4a1a3!important;line-height:normal!important;}
#wrapper .blue34up {font-size:34px!important;color:#03316c!important;line-height:normal!important;text-transform:uppercase;font-weight:300;line-height:1.8em;}
#wrapper .blue34up:first-line {font-family:"EB Garamond", "Times New Roman", Times, serif!important;font-size:80px;}

body.single-portfolio #wrapper a {color:#858585;text-decoration:underline;}
body.single-portfolio #wrapper a:hover {color:#03316c;text-decoration:none;}

body.single-portfolio #wrapper h1 {line-height:1em;background:url(img/stroke-h.png) repeat-x center bottom;margin:40px 0 80px;}
body.single-portfolio #wrapper h1 span {display:inline-block;background:#fff;padding:0 20px;}

body.single-portfolio #wrapper section.edc-section {margin:0 0 140px;}
body.single-portfolio #wrapper section#edc-1 {padding-bottom:60px;margin:0;}
body.single-portfolio #wrapper section#edc-1 .contexte {width:70%;padding-left:15%;}
body.single-portfolio #wrapper section#edc-3,
body.single-portfolio #wrapper section#edc-4,
body.single-portfolio #wrapper section#edc-5 {padding:0 0 100px;border-bottom:1px solid #D7DDE5;}
body.single-portfolio #wrapper section#edc-6b {padding:140px 0 0;border-top:1px solid #D7DDE5;}
body.single-portfolio #wrapper section#edc-7 .third p {color:#03316c;margin:0;}
body.single-portfolio #wrapper section#edc-7 a.funky-button {text-decoration:none;font-size:17px;margin:18px 0 0;}
body.single-portfolio #wrapper section#edc-7 .third h2 {transition-property:margin;transition-duration:0.5s;}
body.single-portfolio #wrapper section#edc-7 .third:hover h2 {margin:0;}

body.single-portfolio #wrapper h2#concevoir-compromis {text-align:center;font-size:48px;padding:0;text-align:center;text-transform:uppercase;color:#A4A1A3;line-height:1em;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:300;margin:170px auto 0;}
body.single-portfolio #wrapper h2#concevoir-compromis:first-line {color:#03316c;font-weight:500;font-size:74px;}
body.single-portfolio #wrapper h2#concevoir-compromis .full {position:relative;}
body.single-portfolio #wrapper h2#concevoir-compromis .left {display:block;width:42px;height:75px;text-indent:-99999px;background:url(img/tri-left.png) no-repeat 0 0;position:absolute;left:-59px;top:30px;}
body.single-portfolio #wrapper h2#concevoir-compromis .right {display:block;width:42px;height:75px;text-indent:-99999px;background:url(img/tri-right.png) no-repeat 0 0;position:absolute;right:-59px;top:30px;}

body.single-portfolio #wrapper h2#prolonger-intensifier {text-align:center;line-height:1.7em;}
body.single-portfolio #wrapper h2#prolonger-intensifier .t01 {font-size:80px;padding:0;text-transform:uppercase;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:300;color:#a4a1a3;margin:0;}
body.single-portfolio #wrapper h2#prolonger-intensifier .t02 {font-size:49px;padding:0;text-transform:uppercase;font-weight:400;color:#a4a1a3;margin:0;}
body.single-portfolio #wrapper h2#prolonger-intensifier .t03 {font-size:74px;padding:0;text-transform:uppercase;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:900;margin:0;}

body.single-portfolio #wrapper h2#concevoir-plateforme {text-align:center;font-size:48px;padding:0;text-align:center;text-transform:uppercase;color:#03316c;line-height:1em;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:300;margin:170px auto 0;}
body.single-portfolio #wrapper h2#concevoir-plateforme:first-line {color:#03316c;font-weight:500;font-size:74px;}

body.single-portfolio #wrapper h2#conseiller-sfr {text-align:center;font-size:42px;padding:0;text-align:center;text-transform:uppercase;color:#03316c;line-height:1em;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:300;margin:170px auto 0;}
body.single-portfolio #wrapper h2#conseiller-sfr:first-line {color:#03316c;font-weight:500;font-size:74px;}

body.single-portfolio #wrapper h2.ultra {font-size:32px;padding:0;text-transform:uppercase;font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-weight:400;margin:0;}
body.single-portfolio #wrapper h2.ultra:first-line {font-weight:900;}

body.single-portfolio #wrapper h2.title-nb {font-family:"Alegreya Sans", Arial, Helvetica, sans-serif!important;font-size:40px;font-weight:400;}
body.single-portfolio #wrapper h2.title-nb .nb {font-size:72px;font-weight:300;line-height:24px;}

body.single-portfolio.postid-22 #wrapper #edc-5 .half.end {padding-top:100px;}
body.single-portfolio.postid-97 #wrapper #edc-7 a.funky-button {margin-top:100px!important;}

body.home #section-7 article.etudes-de-cas h3,
body.single-portfolio #wrapper div.portfolio-grid article.portfolio h4 {font-size:16px;margin-top:12px;}

/*
	FOOTER
*/

#menu-menu-footer li:first-child {border-top:1px solid rgba(255, 255, 255, 0.08);padding: 8px 0 0;}
aside#text-2 {padding:15px 0 0;}
aside#text-2 .textwidget img {margin:8px 8px;}
aside#search-3 {padding-top:20px;}

footer .copyright .social-buttons {text-align:center;padding:70px;}
footer .copyright .social-buttons span {font-size:36px;}
footer .copyright .social-buttons a {margin:0 30px;}

.site-footer-wrapper a.viadeo-link {vertical-align:top;}
.site-footer-wrapper span.funky-icon-viadeo {line-height:0;}
.site-footer-wrapper span.funky-icon-viadeo img {opacity:1;transition-property:opacity;transition-duration:0.5s;}
.site-footer-wrapper span.funky-icon-viadeo img:hover {opacity:0.5;}

#site-partenaires {height:38px;line-height:38px;font-size:0.9em;color:#bdc0d3;text-align:center;padding:0 0 70px;}
#site-partenaires img {margin:0 12px;opacity:0.6;transition-property:opacity;transition-duration:0.5s;}
#site-partenaires img:hover {opacity:1;}

#site-copyright {text-align:center;color:#fff;padding:10px 0 0;border-top:1px solid #2D3A7F;}

body footer.site-footer-wrapper,
body .site-footer-content {max-width: 100%;}

.portfolio-grid div.hentry.blank {background-image:url(img/a-suivre.png);background-position:center top;}
.portfolio-grid div.hentry.blank .entry-image {background:none;}

@media only screen and ( min-width: 1121px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
.site-header,
#wrapper {max-width:100%!important;}

body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

}
/* Large Desktop */
@media only screen and ( max-width: 1440px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

}
/* Small Desktop */
@media only screen and ( max-width: 1280px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}
	
}

/* ---------- All non desktop devices (when the mobile navigation is showing) ---------- */
@media only screen and ( max-width: 1120px ) { 
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}
	
}
@media only screen and ( max-width: 1000px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

}
/* Not one column layout */
@media only screen and ( min-width: 768px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

}
/* One Column Layout */
@media only screen and ( max-width: 767px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

#wrapper h1 {font-size:2.2em;}
#wrapper h2 {font-size:1.8em;}
#wrapper h3 {font-size:1.1em;}
#wrapper h4,
#wrapper h5,
#wrapper h6 {font-size:1em;}
	
}
@media only screen and ( max-width: 480px ) {
.image-logo {margin:7px 0 0!important;width:60px!important;height:60px!important;}
body.single-portfolio #wrapper section.hentry > div.entry-body {padding-top:0!important;}

#wrapper h1 {font-size:1.8em;}
#wrapper h2 {font-size:1.4em;}
#wrapper h3 {font-size:1em;}
#wrapper h4,
#wrapper h5,
#wrapper h6 {font-size:1em;}

}


/**/

@media only screen and ( min-width: 1120px ) { 

	body.single-portfolio #wrapper {
		padding-top:80px;
	}

}

.hentry.realisations .entry-excerpt {
	visibility : hidden;
}

.portfolio-grid .hentry.realisations .entry-inner {
	padding-bottom:0px;
}

a.funky-button {
	color:#FFF !important;
	text-decoration:none !important;
}

/*
.hentry.realisations .entry-inner a {
	cursor:initial;
}
*/

.page.text-color-light a {
	color:#eee;
}