/*
Theme Name: ergopix
Theme URI: https://www.ergopix.ch
Description: Thème responsive de ergopix sàrl
Author: ergopix sàrl
Version: 1.0
*/

body .gform_wrapper .gform_footer input[type=submit] {
	background-color: black !important;
}

body .gform_wrapper .gfield_label {
	font-size: 16px !important;
}

body .gform-theme--foundation {
  --gf-form-gap-x: 16px;
  --gf-form-gap-y: 20px;
}

.grid-item-full img {
	max-height: calc(100vh - 180px);
}

p.gform_required_legend {
	font-size: 16px;
}

#field_1_21 {
	font-size: 14px;
}

body.home .swift-control-widgets .swift-control-widget-setting a i,
.swift-control-widgets .swift-control-widget-setting a i {
  color: #fff;
}

.home-menu li.menu-item.current_page_item a::before,
.mm-panels li.menu-item.current_page_item a::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: .4em;
  bottom: .22em;
  left: 0;
  background: #DDDDDDDD;
  z-index: -1;
  transition: all .3s cubic-bezier(0,0,.34,1);
  opacity: 1;
}

.mm-panels li.menu-item.current_page_item a::before {
	background: #373939;
}

.home-menu li.menu-item a,
.mm-panels li.menu-item a {
	position: relative;
	display: inline;
	line-height: 1;
}

.mm-panels li.menu-item a {
	z-index: 1;
}

.mm-menu_offcanvas {
	max-width: 85%;
}

.mm-panel::before {
  content: none;
  display: block;
  height: 20px;
}

.row.row-bio {
	margin-right: -25px;
	margin-left: -25px;
}

.row.row-bio :is(.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto) {
	padding-right: 25px;
	padding-left: 25px;
}

.slider-home,  .slider-home .slick-list, .slider-home .slick-track, .slider-home .slide a {
	height: 100%;
}

.slider-home .slide img {
	max-height: 80vh;
}

.picture-gallery {
	transition: opacity 0.2s;
	cursor: pointer;
}

.picture-gallery.unselected {
	opacity: 0.10;
}

.picture-gallery.selected {
	opacity: 1;
}

.slider-home .slick-dots li button::before {
  font-size: 30px;
}

.slick-initialized .slide.slick-slide {
	display: flex;
	flex-direction: column;
}

.slide.slick-slide .legend-slider {
	margin-top: 7px;
	text-align: right;
}

.col-menu {
	padding-left: 0px;
	text-align: right;
}

a:hover {
  text-decoration: none;
}

.home-menu li.menu-item,
.mm-listview .menu-item  {
	font-size: 35px;
	line-height: 1.2;
}

.home-menu li.menu-item:not(.bigger),
.mm-listview .menu-item:not(.bigger)  {
	font-size: 25px;
}

.page-projet-image {
	width: 100%;
}

.grid-item a,
.grid-item-full a  {
  display: block; 
  text-align: right;
}
.grid-item-full .desc,
.grid-item .desc {
	text-align: right;
	font-size: 15px;
}

.grid-item-full .desc {
	margin-top: 7px;
	margin-bottom: 15px;
	line-height: 1.3;
}

.grid-item .desc {
	margin-top: 7px;
	margin-bottom: 10px;
	line-height: 1.3;
}

.grid-item-full {
	width: 100%;
}

embed,
iframe,
object,
video {
	max-width: 100%;
}

.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%;
}

/***********************************************************************************************
* Structure
*/
body {
	background: #FFF;
}

body,
#mm-2 .mm-navbar__title,
.mm-navbar {
	font-family: Helvetica, arial, sans-serif;
	font-weight: 400;
}

* {
	outline: 0px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: none;
	font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wrapper {
	position: relative;
}


header {
	position: absolute;
	left: 0;
	top: 30px;
	width: 100%;
	z-index: 10000001;
	/* 	height: 100vh; */
}

.single .container-fluid {
	max-width: 100%;
}

.container-fluid,
.single header .container-fluid {
	width: 90%;
}

.panel {
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	overflow-y: auto;
}

.bg-padding {
	padding-left: 5%;
	padding-top: 140px;
}

.panel h1,
.panel ul {
	padding-left: 15px;
}

.bg-padding-hamburger {
	padding-top: 30px;
}

.percent33 {
	width: 33.33%;
}

.single-content.container-fluid {
	width: 100%;
	margin: 0;
	z-index: 100000;
	position: absolute;
	top: 0;
	left: 0;
	padding-left: 5%;
}

.fixed-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	overflow: hidden;
}

.fixed-panel .row {
	padding: 0;
}

.fixed-panel .container-fluid {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.full-height-container {
	height: 100vh;
	overflow-y: hidden;
}

.horizontal-panel-wrapper {
	overflow: visible;
}

.full-height-container .row,
.horizontal-panel {
	height: 100%;
}

.full-height-container .row,
.fixed-panel .gray-bg {
	padding-top: 140px;
	padding-bottom: 140px;
}

.scroll-container {
	padding-top: 140px;
	padding-bottom: 20px;
}

.fixed-panel .row {
	padding-top: 0px;
	padding-bottom: 0px;
}

.social-menu {
	position: absolute;
	bottom: -7px;
	left: 10px;
	list-style: none;
	margin-left: 0;
	padding: 0
}

.social-menu li {
	display: inline-block;
}

.bg-img {
	/* background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
	height: 100%; */
	max-width: 100%;
	height: auto;
}

.bg-img img {
	display: none;
}

.bg-img-wrapper {
	float: right;
	margin-right: 70px;
}

.horizontal-panel-wrapper {
	height: 100%;
}

.horizontal-panel {
	white-space: nowrap;
	overflow: visible;
	padding-left: 15px;
}

.horizontal-panel img {
	display: inline-block;
	margin-right: 50px;
	max-width: 100%;
	max-height: 100%;
}

.legend {
	position: fixed;
	bottom: 45px;
	right: 70px;
	padding-left: 70px;
	font-size: 15px;
	text-align: right;
}

.legend p {
	font-size: 15px;
	margin-bottom: 0px;
}

.page-projet-image .sub-menu-page.project-item {
	display: inline-block;
}

.page-projet-image .sub-menu-page.project-item a:hover img {
	opacity: 0.85;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
	filter: alpha(opacity=85);
	-moz-opacity: 0.85;
	-khtml-opacity: 0.85;
}

.page-projet-image .project-item img {
	height: 442px;
	width: auto;
	margin-bottom: 10px;
	margin-right: 7px;
	display: inline-block;
	max-width: none;
}

/***********************************************************************************************
* Text
*/

.logo,
.mm-listview a.logo,
.mm-navbar__title,
.main-title-menu {
	font-size: 23px;
	text-align: left;
	color: black !important;
	letter-spacing: 0.01em;
	font-family: Helvetica, arial, sans-serif;
}

.mm-listview a.logo {
	line-height: 1.5;
}

.mm-listview a.logo,
.mm-listview a.logo:hover {
	color: white !important;
}

.mm-listview a {
	letter-spacing: 0;
	color: white !important;
}

a {
	color: #000000 !important;
	text-decoration: none;
}

a:not():focus,
a:hover,
a:active {
	outline: 0 none !important;
	color: #000000 !important;
	text-decoration: underline;
}

body.home a:focus,
body.home a:hover,
body.home a:active,
.home-menu a:focus,
.home-menu a:hover,
.home-menu a:active,
a.logo:focus,
a.logo:hover,
a.logo:active {
	outline: 0 none !important;
	color: #000000 !important;
	text-decoration: none;
}

body.home .mm-listview a:focus,
body.home .mm-listview a:hover,
body.home .mm-listview a:active{
	color: white!important;;
}

em,
.project-item,
.sub-menu-single .sub-menu-single-page {
	font-style: italic;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 400;
}

h1,
.menu-item span,
.sub-title-menu {
	font-size: 85px;
	line-height: 120%;
}

.mm-navbar .sub-title-menu {
	color: black;
	text-align: left;
	padding: 0 40px;
}

h1,
.intro {
	margin-bottom: 70px;
}

h2,
.intro {
	font-size: 40px;
	line-height: 120%;
}

.intro {
	max-width: 700px;
}

h2 {
	margin-bottom: 20px;
	padding-top: 20px;
}

h3 {
	font-size: 22px;
	line-height: 1.0909090909;
}

h4 {
	font-size: 20px;
	line-height: 1.2;
}

h5 {
	font-size: 18px;
	line-height: 1.3333333333;
}

h6 {
	font-size: 16px;
	line-height: 1.5;
}

p {
	margin-bottom: 20px;
	font-size: 20px;
}

ul,
ol {
	list-style: none;
	margin: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}


/***********************************************************************************************
* Color
*/
.fa {
	color: #f2f2f2;
}

.fa-stack .fa-inverse {
	color: black;
}

.gray-bg {
	background-color: #f2f2f2;
}

/***********************************************************************************************
* Menu + Menu Mobile
*/
.home-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-bottom: 20px;
}

.header-mobile {
	padding: 15px 45px;
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

.header-mobile .logo {
	line-height: 1.5px;
}

.hamburger {
	display: block;
	width: 30px;
	overflow: hidden;
}

.single .hamburger {
	margin-left: -5px;
}

.hamburger span {
	background: #333;
	display: block;
	height: 2px;
	margin: 7px 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: -6px;
}

html.mm-wrapper_opened .hamburger span.middle-bar {
	left: -40px;
}

/***********************************************************************************************
* MMmenu
*/


.mm-listitem .mm-btn_next {
	background-color: transparent;
}

.mm-btn_next::after,
.mm-listitem .mm-btn_next::before {
	border: none;
}

.mm-listitem .mm-btn_next:not(.mm-btn_fullwidth)+a,
.mm-listitem .mm-btn_next:not(.mm-btn_fullwidth)+span {
	margin-right: 0;
}


.mm-menu .mm-listitem_selected>a:not(.mm-btn_next),
.mm-menu .mm-listitem_selected>span,
.sub-menu-single li.current-sub-menu-page a {
	background-color: #000;
	/*     text-decoration: underline; */
	color: white !important;
}


.mm-menu {
	color: white;
	background-color: #000 !important;
}

.mm-listitem>a,
.mm-listitem>span {
	padding: 0px 10px 0px 10px;
	/*     display: inline-block; */
}

.mm-listitem {
	padding-left: 33px;
	padding-right: 33px;
}


.mm-navbar__title,
.main-title-menu {
	padding-top: 39px !important;
	padding-bottom: 30px !important;
}

.mm-navbar {
	height: auto;
	line-height: 120%;
	border: none !important
}

.mm-panels>.mm-panel>.mm-listview:first-child,
.mm-panels>.mm-panel>.mm-navbar+.mm-listview {
	margin-top: 0;
}

.sub-menu-single {
	list-style: none;
	padding: 0;
	margin: 0;
	padding-right: 40px;
	margin-bottom: 90px;
}

.sub-menu-single a,
.sub-menu-single a:active,
.sub-menu-single a:hover,
.sub-menu-single a:link {
	font-size: 20px;
	cursor: pointer !important;
	padding: 0px;
	transition: background-color 0.3s ease-out;
	-webkit-transition: background-color 0.3s ease-out;
}

.cat_title {
	line-height: 120%;
	font-size: 32px;
	margin-bottom: 20px;
}

.cat_title:not(.cat_title_first) {
	margin-top: 30px;
}

#mm-2 .sub-menu-single a:hover,
.sub-menu-single a:hover {
	text-decoration: underline;
}

.mm-btn {
	height: 92px;
}

.mm-panel::after,
.mm-panel::before {
	height: 0px;
}

.mm-menu_navbar_top-1 .mm-panels {
  top: 30px;
}

li.mm-listitem:not(.menu-item) {
	margin-bottom: 76px;
	line-height: 34.5px;
}

.mm-listitem {
  padding-left: 5vw;
}

.sub-menu-single li.sub-title-menu {
	display: block !important;
	margin-bottom: 80px;
}

.mm-menu .mm-btn::after,
.mm-menu .mm-btn::before {
	border-color: black;
}

.mm-navbars_top {
	border: none;
}

mm-btn_next {
	display: none;
}

.menu-item.project-item a,
.menu-item-type-taxonomy a {
	font-size: 32px;
	color: black !important;
}


.grid-sizer,
.grid-item {
	width: calc(100%);
}

#works{
	margin-left: -5px;
	margin-right: -5px;
}

.grid-item {
  padding-block: 5px;
}

/***********************************************************************************************
* Media queries
*/
@media (max-width: 320px) {

	.home-menu li.menu-item,
	.menu-item span,
	.sub-title-menu {
		font-size: 26px !important;
		padding-bottom: 5px;
	}

	.menu-item.project-item a,
	.menu-item-type-taxonomy a {
		font-size: 20px !important;
	}

}

@media (max-width: 530px) {

	.page-projet-image .project-item {
		width: 100%;
		text-align: center;
		margin: auto auto;
	}

	.page-projet-image .sub-menu-single {
		margin-top: 30px;
	}

}

@media (max-width: 992px) {
	#horizontal-panel {
		padding: 0;
		overflow: hidden;
		margin-bottom: 0px;
	}
	
	.horizontal-panel {
		padding-left: 0;
	}
	
	.horizontal-panel img {
		display: block;
	}
	
	.horizontal-panel-wrapper {
		height: auto;
	}
	
	.horizontal-panel,
	.full-height-container .row {
		height: auto;
	}
	
	.full-height-container {
		height: auto;
		overflow: auto;
	}

	
	
	.full-height-container .row,
	.scroll-container,
	.fixed-panel .gray-bg {
		padding-top: 90px;
		padding-bottom: 70px;
	}
	
	.single-content.container-fluid {
		padding-left: 15px;
		position: relative;
		z-index: 1;
		width: 90%;
		margin: auto;
	}
	
	.legend {
		padding: 0 30px;
		bottom: 0;
		right: 0;
		position: relative;
		margin-bottom: 30px;
	}
	
 }


@media (max-width: 768px) {
	
	.picture-gallery.unselected {
		opacity: 1;
	}
	
	.row.row-bio {
	  margin-right: -15px;
	  margin-left: -15px;
	}

	.mm-panel::after,
	.mm-panel::before {
		height: 20px;
	}

	.logo,
	.mm-navbar__title,
	.main-title-menu {
		font-size: 17px !important;
	}

	.mm-listitem>a,
	.mm-listitem>span {
		padding-left: 0;
	}


	.menu-item a,
	.menu-item span,
	.sub-title-menu {
		padding-bottom: 5px;
	}

	.menu-item.project-item a,
	.menu-item-type-taxonomy a {
		font-size: 26px;
	}

	.mm-navbar>* {
		padding: 0 15px;
	}

	mm-btn_next {
		display: block;
	}

	.mm-listview {
		margin-top: 30px;
	}


	.main-title-menu {
		line-height: 63px !important;
		padding-top: 0 !important;
	}

	.mm-btn {
		height: 60px;
	}

	.bg-img img {
		display: block;
	}

	.mm-navbar>* {
		padding-left: 0;
	}

	.social-menu {
		position: relative;
		bottom: 0;
		left: 0;
		margin-bottom: 30px;
	}

	.page-projet-image .sub-menu-single {
		padding-right: 0;
		overflow: hidden;
	}

}

@media (max-width: 1024px) {

	h1,
	.home-menu li.menu-item {
		font-size: 55px;
	}
	


}

@media (min-width: 769px) and (max-width: 1440px) {


	.main-title-menu {
		padding-top: 30px !important;
	}

	.mm-btn {
		height: 84px;
	}


	.menu-item.project-item a,
	.menu-item-type-taxonomy a {
		font-size: 32px !important;
		color: black !important;
	}

	h2,
	.intro {
		font-size: 40px;
		line-height: 120%;
	}

	.full-height-container .row,
	.scroll-container,
	.fixed-panel .gray-bg {
		padding-top: 110px;
		padding-bottom: 110px;
	}

	.mm-panel::after,
	.mm-panel::before {
		height: 70px;
	}

	.social-menu {
		position: relative;
		bottom: 0;
		left: 0;
		margin-bottom: 30px;
	}

	.page-projet-image .sub-menu-single {
		padding-right: 0;
		overflow: hidden;
	}

	.page-projet-image h2 {
		height: 100px;
	}
}

@media (min-width: 576px) {
	.page-projet-images {
		width: 100%;
	}
  
  	.mm-listview .menu-item {
			font-size: 50px;
		}
		
	  .mm-listview .menu-item:not(.bigger)  {
			font-size: 38px;
	  }
	  
	.mm-menu_offcanvas {
		max-width: 75%;
	}

}

@media (min-width: 768px) {  
	  .mm-listview .menu-item {
		  font-size: 65px;
	  }
	  
	.mm-listview .menu-item:not(.bigger)  {
		  font-size: 50px;
	}

}


@media (min-width: 992px) {

  .home-menu li.menu-item, .mm-listview .menu-item {
	font-size: 65px;
	line-height: 1.2;
  }
  
  .home-menu li.menu-item:not(.bigger)  {
	  font-size: 48px;
  }
  .grid-sizer,
  .grid-item {
		width: calc(50% - 15px);
  }
  
  .home-menu li.menu-item {
	  font-size: 40px;
	  line-height: 1.2;
  }
  
  .home-menu li.menu-item:not(.bigger) {
	  font-size: 30px;
  }
  
}


@media (max-width: 991.98px) {
	.page-projet-image .project-item img {
		height: 225px;
	}
	
	.horizontal-panel img {
		display: block;
		margin-right: 0;
		max-width: 100%;
		max-height: auto;
		margin-bottom: 17px;
	}
	
}

@media (max-width: 767.98px) {
	.page-projet-image .project-item img {
		height: auto;
		width: auto;
		margin-bottom: 10px;
		margin-right: 0;
		display: block;
		max-width: 100%;
		width: 100%;
	}

	

	.header-mobile {
		padding: 15px;
	}

	.container-fluid,
	.single header .container-fluid,
	.single-content.container-fluid {
		width: 100%;
	}

	h1,
	.intro {
		margin-bottom: 35px;
	}
	
}

  
@media (min-width: 1200px) {
	.page-projet-image {
		  width: 66%;
	  }
	  
	  .mm-menu_offcanvas {
			width: 100%;
			max-width: 45%;
		}
		
	.col-menu {
		text-align: left;
	}
}

@media (min-width: 1400px) {
	.home-menu li.menu-item, .mm-listview .menu-item {
		font-size: 55px;
		line-height: 1.2;
	}
	
	.home-menu li.menu-item:not(.bigger),
	.mm-listview .menu-item:not(.bigger)  {
		font-size: 42px;
  }
}

@media (min-width: 1919.98px) {
	.grid-sizer,
	.grid-item {
		width: calc(33.33333% - 30px);
	}
	
	.grid-sizer-alt,
	.grid-item-alt {
		width: 25%;
	}
	
	.grid-item-big {
		width: 50%;
	}
	
	.home-menu li.menu-item, .mm-listview .menu-item {
		font-size: 85px;
		line-height: 1.2;
	}
	
	.home-menu li.menu-item:not(.bigger),
	.mm-listview .menu-item:not(.bigger)  {
		font-size: 65px;
	}
}
