/*
Theme Name: Ergopix
Theme URI: https://www.ergopix.ch
Author: ergopix sàrl
Version: 1.0
*/

html {
	font-size: 1em;
	-webkit-text-size-adjust: 1em;
	-ms-text-size-adjust: 1em;
}
body {
	background-color: #FFF;
	font-family: 'Arimo', sans-serif;
    font-weight: 300;
	font-size: 14px;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure.wp-caption.alignleft, img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

figure.wp-caption.alignright, img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

img.aligncenter, .wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

::-webkit-input-placeholder {
	color: #939393;
}

:-moz-placeholder {
	color: #939393;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #939393;
}

.wp-caption, img {
	max-width: 100%;
}
a {color:#000 !important;text-decoration:none !important;}

.a-plus {color: #C80000 !important;font-style:italic;}

h1 {font-size: 22px;margin-bottom: 0px;padding-bottom: 5px;}
h2 {font-size: 18px;border-bottom: 1px solid rgba(0,0,0,0.4);margin-bottom: 1em;padding-bottom: 5px;}
h3 {}
h4 {}
h5 {}
h6 {}

span.ch-p-h {text-transform:uppercase;}
span.ch-p-xl {font-size: 110%;}
span.ch-p {}
span.ch-p-s {font-size: 80%;}
span.ch-span {font-size: 70%;}

body .mt-0-imp {margin-top:0 !important;}
body .pt-0-imp {padding-top:0 !important;}

.grey-text {color:#999;font-style: italic;}

/* Header */


	.header-mobile {
		padding: 10px 0;
		background-color: none transparent;
		position: absolute;
	    top: 0;
	    width: 100%;
	    z-index: 100;
	    left: 0;
	    right: 0;
	    height:65px !important;
	}
	html.fixed .header-menu {
		/*position: fixed;*/
		overflow: hidden;
	}
	
	#hamburger {
		display:block;
		width:42px;
		overflow:hidden;
		float:right;
	}
	
	#hamburger span {
		background:#000;
		display:block;
		height:2px;
		margin:9px 0;
		position:relative;
		-webkit-transform:rotate(0);
		-ms-transform:rotate(0);
		transform:rotate(0);
		top:0;
		left:0;
		opacity:1;
		filter:alpha(opacity=100);
		-webkit-transition:none .5s ease;
		transition:none .5s ease;
		-webkit-transition-property:-webkit-transform,top,left,opacity;
		transition-property:transform,top,left,opacity;
	}

	html.mm-wrapper_opened #hamburger span.top-bar {
		-webkit-transform:rotate(45deg);
		-ms-transform:rotate(45deg);
		transform:rotate(45deg);
		top:12px;
	}
	
	html.mm-wrapper_opened #hamburger span.middle-bar {
		opacity:0;
		filter:alpha(opacity=0);
	}
	
	html.mm-wrapper_opened #hamburger span.bottom-bar {
		-webkit-transform:rotate(-45deg);
		-ms-transform:rotate(-45deg);
		transform:rotate(-45deg);
		top:-10px;
	}
	
	html.mm-wrapper_opened #hamburger span.middle-bar {
		left:-40px;
	}
	
	.no-page-header {height: 110px;}

	header {
		position: fixed;
		left: 0;
		right: 0;
		bottom: auto;
		height: 110px;
		z-index: 100000000000;
		top: 0;
		transition: opacity 1.4s ease;
		background: none transparent;
	}
	html.mm-wrapper_opened.no-page-header .wrapper header {}
	
	.header-menu {
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 110px;
		/*transition: 1s;*/
		background: none transparent;
		/*border-bottom: 1px solid #fefefe;*/
	}
		
		.nav-top, 
		.nav-bottom {
			display: inline-block;
			width: 100%;
		}
		.header-menu .navbar-nav,
		.header-menu .navbar-nav li {
			display: inline-block;
		}
		.header-menu .navbar-nav li {
			margin: 0 16px;
		}
		.header-menu .navbar-nav li:first-child {
			margin-left: 0;
		}
		.header-menu .navbar-nav li:last-child {
			margin-right: 0;
		}
			.navbar-nav li a {
				color: #000;
				text-decoration:none !important;
				padding-top: 0;
				padding-bottom: 0;
				opacity:0.4;
			}
			.navbar-nav li a:hover {opacity:.65;}
			.nav-top .navbar-nav li a {
				font-size: 15px;
				font-weight: 300;
				line-height: 20px;
				text-transform: lowercase;
			}
			.navbar-nav li a.active {
				opacity:1;
			}
	html.fixed header {
		height: 65px;
	}
	html.fixed header a#logo-link {
		margin-top: 10px;
	}
	html.fixed .header-menu {
		position: fixed;
		background-image: none;
		top:0;
		z-index:10000;
		height: 65px;
		padding-top: 0 !important;
	}
	
	html.fixed .nav-top {
		
	}
	html.fixed .nav-bottom ul {margin-top: 7px;}
	html.fixed .col-logo {
		padding-top: 0 !important;
	}
	
	a#logo-link {
		padding-left:0;
	}
	
	.header-mask {position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:#fff;z-index:0;opacity:1 !important;}

.mm-listview li.mm-listitem a,
.mm-listview li.mm-listitem span {text-transform: lowercase;}

.page h1 {
	display:none;
}

.section {
	margin-top:30px;
}

.page .row-section-content div:nth-child(1) {
	margin-top:0 !important;
}

.page-template-page-domaines-activite-tpl #mm-0 .sidebar-menu:not(.content-menu) {
	display:none;
}

.page-template-page-domaines-activite-tpl #mm-0 .sidebar-label:not(.content-menu) {
	display:block;
}

.page-template-page-themes-specifiques-tpl #mm-0 .sidebar-menu:not(.content-menu){
	display:none;
}

.page-template-page-themes-specifiques-tpl #mm-0 .sidebar-label:not(.content-menu) {
	display:block;
}

/* A Reference */

	.a-reference {}
		.a-reference a {}
			.a-reference a img {
				filter: grayscale(100%);
			    -webkit-filter: grayscale(100%);
			    -moz-filter: grayscale(100%);
			    -o-filter: grayscale(100%);
			    -ms-filter: grayscale(100%);
			    transition: all .7s ease;
			    margin-bottom:5px;
			}
			.a-reference a:hover img {
				filter: grayscale(0%);
			    -webkit-filter: grayscale(0%);
			    -moz-filter: grayscale(0%);
			    -o-filter: grayscale(0%);
			    -ms-filter: grayscale(0%);
			}
			.a-reference a .ref-content {opacity:0;transition: all .7s ease;font-size:12px;line-height:12px;}
			.a-reference a .ref-content br {line-height: 16px;height: 16px;}
			.a-reference a:hover .ref-content {opacity:1;}

/* Sidebar */

	.sidebar-label {color: #212529;text-transform: lowercase;}
	.sidebar-label.active {font-weight:600;}
	ul.sidebar-menu {}
		ul.sidebar-menu li {list-style:none;font-size: 13px;font-weight: 300;line-height: 17px;opacity:.4;}
		ul.sidebar-menu li:not(.no-hover):hover {opacity:.65;}
		ul.sidebar-menu li.active {opacity:1;}
			ul.sidebar-menu li a,
			ul.sidebar-menu li span {font-size: 13px;font-weight: 300;line-height: 17px;text-transform: lowercase;}
			.mm-panel ul.sidebar-menu li a,
			.mm-panel ul.sidebar-menu li span {font-size: 14px;font-weight: 300;line-height: 20px;text-transform: lowercase;}

/* Footer */

	footer {left:0;top:auto;right:0;bottom:0;width:100%;z-index:1;font-size:14px;line-height:16px;}
	.mm-wrapper_opened footer {position:relative !important;}
	
/* Forms */

	.ginput_container_name {width: 100% !important;}
		.ginput_container_name p {width:50% !important;float: right !important;margin-bottom: 0;}
			.ginput_container_name p span {width:100% !important;padding:0 !important;}
			html div.ginput_complex.ginput_container_name span.name_last {width: calc(100% - 8px) !important;}
			html div.ginput_complex.ginput_container.gf_name_has_2 span.name_first,
			html div.ginput_complex.ginput_container_name span.name_first {
				width: calc(100% - 8px) !important;margin-left: 8px !important;
			}
			.ginput_container_name span input {}
			.gform_wrapper select {
			    min-height: 39px;
			}
				.gform_wrapper .ginput_container_select select option:first-child {
					min-height: 39px;
					line-height: 39px;
				}
		.ginput_container_name br,
		.gfield_checkbox li br {display:none;}
	
/* Donation Form */

	.ergopix-donation-form_wrapper {}
		.ergopix-donation-form_wrapper li.gfield_price ul.gfield_radio li {display:inline-block; width:80px !important;height:80px !important;background-color: #333;position:relative;}
		.ergopix-donation-form_wrapper li.gfield_price ul.gfield_radio li input {
			display: block;
			width: 80px !important;
			height: 80px !important;
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			z-index: 1000;
			cursor:pointer;
			opacity:0;
			margin: 0;
		}
		.ergopix-donation-form_wrapper li.gfield_price ul.gfield_radio li label {
			display: block;
			width: 80px !important;
			height: 80px !important;
			max-width:100%;
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			z-index: 999;
			cursor:pointer;
			opacity:1;
			margin: 0;
			color:#fff;
			text-align:center;
			padding:8px;
		}
		.ergopix-donation-form_wrapper.gform_wrapper li.gfield_price ul.gfield_radio li input[type="radio"]:checked + label {background-color:#000;font-weight:500;}
		 
/* Scroll Sidebar */

	.scroll-sidebar {
		background-color:#333;
		color: #fff;
		right:-56px;
		width:56px;
		top: 40%;
		position: fixed;
		left: auto;
		bottom: auto;
		z-index: 10000000;
		-webkit-transition: all .5s ease;
		transition: all .5s ease;
		text-align: center;
	}
	html.fixed .scroll-sidebar {
		right:15px;
	}
		.scroll-sidebar ul {
			list-style:none;
			margin:0;
			padding: 0;
		}
			.scroll-sidebar ul li {
				margin: 10px 0;
			}
				.scroll-sidebar ul li a {
					color: #fff;
					font-size: 30px;
				}
					.scroll-sidebar ul li a i {
						
					}

/* Back To Top Button */
	
	#backtotopBtn {
	    display: none;
	    position: fixed;
	    bottom: 32px;
	    right: 15px;
	    z-index: 99999;
	    border: none;
	    outline: none;
	    color: #fff;
	    background-color: #333;
	    cursor: pointer;
	    height: 56px;
		width: 56px;
	}
	
	#backtotopBtn:hover {
	    background-color: #000;
	}
	
		#backtotopBtn span {
			
		}

/* Facets */

	.facetwp-template {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-right: -15px;
		margin-left: -15px;
	}
	.facetwp-facet {
		margin-bottom: 0px;
	}
	.facetwp-type-fselect .fs-option .fs-option-label {
		white-space: inherit !important;
		word-break: break-word;
	}


/* Responsive */
	
	/* Max Width */
	
		@media (max-width: 1199.98px) {
			.btn, .naf-pc-element .btn {
				border-radius: 20px;
				padding: 8px 20px 5px 20px;
				line-height: 25px;
				font-size: 15px;
				letter-spacing: 2px;
			}
		}
		
		@media (max-width: 991.98px) {
			h1 {}
			.small-h1 {font-size: 15px;line-height: 17px;}
			h2 {}
			h3 {}
			h4 {}
			h5 {}
			h6 {}
			header,
			.header-menu {height: 65px;}
			.mm-panels {
				/*background-color: #1c4e7f;
				color: #e8ce9b;*/
			}
			.mm-panel_has-navbar .mm-navbar {
				height:45px;
			}
			#mm-1 .mm-navbar__title {
				display: none;
			}
			.mm-panel:not(#mm-1){padding-left:0;padding-right:0;}
			.mm-panel:not(#mm-1)::after, .mm-panel:not(#mm-1)::before {height: 10px;}
			.mm-panels > .mm-panel > .mm-listview:first-child, 
			.mm-panels > .mm-panel > .mm-navbar + .mm-listview {
				margin-top:-15px;
			}
			.mm-listitem {opacity: .4;}
			.mm-listitem:hover {opacity:.65;}
			.active.mm-listitem {opacity: 1;}
		}
		
		@media (max-width: 767.98px) {
		
		}
		
		@media (max-width: 575.98px) { 
			
		}
	
	/* Min Width */

		@media (min-width: 576px) { 
			
		}
		
		@media (min-width: 768px) {
		
		}
		
		@media (min-width: 992px) { 
			
		}
		
		@media (min-width: 1200px) { 
			.container {width:94%;max-width:1180px;}
		}
		
		@media (min-width: 1300px) { 
			.container {width:96%;max-width:1220px;}
		}
		
		@media (min-width: 1440px) { 
			/*.container {width:98%;max-width:1920px;}*/
		}
	
	.container .container {
		width: 100%;
	}