/* Themify Customize Styling */
body {	
	color: #000000; 
}
a {	
	color: #039d9f; 
}
:root {	
	--theme_accent: #039d9f; 
}
#headerwrap {	background: none;
	background-color: #ffffff;
	border: none !important; 
}
#header {	
	color: #000000; 
}
#headerwrap a {	
	color: #000000; 
}
#headerwrap a:hover {	
	color: #039d9f; 
}
#pagewrap #headerwrap.fixed-header, .transparent-header #pagewrap #headerwrap.fixed-header {	background: none;
	background-color: #ffffff; 
}
body #site-logo a img {		width: 100px; 
}
#site-description {	display: none; 
}
#main-nav a {		text-transform:uppercase; 
}
.page-title {		text-align:center; 
}
@media(max-width: 1024px) { /* Themify Customize Styling */
body {	
	color: #000000; 
}
a {	
	color: #039d9f; 
}
:root {	
	--theme_accent: #039d9f; 
}
#headerwrap {	background: none;
	background-color: #ffffff; 
}
#header {	
	color: #000000; 
}
#headerwrap a {	
	color: #000000; 
}
#headerwrap a:hover {	
	color: #039d9f; 
}
#pagewrap #headerwrap.fixed-header, .transparent-header #pagewrap #headerwrap.fixed-header {	background: none;
	background-color: #ffffff; 
}
 }@media(max-width: 768px) { /* Themify Customize Styling */
body #site-logo a img {		width: 100px; 
}
 }@media(max-width: 600px) { /* Themify Customize Styling */
body #site-logo a img {		width: 100px; 
}
 }
/* Themify Custom CSS */
/* Templates */
body .pagewidth {
	width: 1260px;
}
/*
.module_row.fullwidth {
	padding: 0 2%;
}
*/

.single-equipe #tbp_content {
	margin: 5.75% 0;
}

.tbp_masonry .gutter-sizer {
	width: 2%;
}

.tbp_masonry.loops-wrapper.grid4 > .post {
	width: 23.5%;
}

@media (max-width: 900px) {
	.tbp_masonry.loops-wrapper.grid4 > .post {
		width: 47%;
		margin-bottom: 1em;
	}
}

@media (max-width: 680px) {
	.tbp_masonry.loops-wrapper.grid4 > .post {
		width: 100%;
	}
}

/* Table */
table {
	width:100%;
	border-collapse: collapse;
}

tbody {
	vertical-align: baseline;
}

tr {
	border-bottom: 1px solid #ccc;
}

td {
	padding: .7em 1.25em;
}

/* Modules */
.module-gallery .tf_sw_autoheight {
	max-height: 100%;
}

body .module-gallery.layout-slider :is(.carousel-nav-wrap) {
	margin-top: -50px;
	z-index: 2;
	position: relative;
}

.module-video .video-wrap:not(.tf_local_video) {
	height: initial;
	padding-bottom: initial;
}

.module-video iframe {
	height: auto;
	position: initial;
	aspect-ratio: 16/9;
}

.module-accordion > li {
	border: none;
}

/* Home slider */
/*
.home .carousel-nav-wrap {
	position: absolute;
	z-index: 1;
	top: calc( 980 * 100vw / 2048 );
}
*/

/* Projets cliquables */
article .module_row[data-tb_link] >.row_inner {
	background-image: url(https://face-c.net/wp-content/uploads/FACE-C_lien_fond50pc.png);
	background-size: 2em;
	background-repeat: no-repeat;
	background-position: 1em 1em;
}

.projet-link .module-buttons-item,
.projet-link a {
	height: 100%;
}

/* Legend fade-in */
.module-advanced-posts .legend {
	opacity: 0;
}

.module-advanced-posts article:hover .legend {
	opacity: 1;
	transition: opacity 1s;
}

.module-advanced-posts .legend > .module_column {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	position: absolute;
}

/* Cache sur demande la legende */
.projet-types-hide {
	visibility: hidden;
}

.projet-title-hide,
.projet-realisation-hide,
.projet-production-hide {
	display: none;
}


/* Fullheight lightbox */
.mfp-iframe-holder {
	padding: 0;
}

.mfp-iframe-holder .mfp-close {
	top: 0;
	color: #000;
	width: 2em;
	height: 2em;
}

.tf_close.mfp-close:hover {
	background-color: transparent;
}

.standard-frame .mfp-iframe-holder .mfp-content {
	height: 100%;
	max-width: 100%;
}

.mfp-iframe-scaler {
	width: 100% !important;
	max-width: 100% !important;
}

.mfp-iframe-wrapper {
	margin: 0;
}

/* SF */
.searchandfilter ul li li {
	display: inline-block;
	margin-right: 1em;
}

.searchandfilter li[data-sf-field-input-type="checkbox"] label, .searchandfilter li[data-sf-field-input-type="radio"] label, .searchandfilter li[data-sf-field-input-type="range-checkbox"] label, .searchandfilter li[data-sf-field-input-type="range-radio"] label {
	padding-left: 0;
}

/* Polylang */
#main-nav li.menu-item.lang-item a {
	padding-right: 0;
}

#headerwrap li.menu-item.lang-item.current-lang a {
	color: #999;
}

li.menu-item.lang-item a::after {
	content: "|";
	display: inline;
	padding-left: .6em;
}

li.menu-item.lang-item:last-of-type a::after {
	content: none;
}
