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

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

/***********************************************************************************************
* Font
*/
@font-face {
	font-family: 'BeirutDisplayWeb';
	src: url('fonts/BeirutDisplayWeb-BookItalic.eot');
	/* IE9 Compat Modes */
	src: url('fonts/BeirutDisplayWeb-BookItalic.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('fonts/BeirutDisplayWeb-BookItalic.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('fonts/BeirutDisplayWeb-BookItalic.woff') format('woff');
	/* Pretty Modern Browsers */
	font-weight: 400;
	font-style: italic;
	font-stretch: normal;
	unicode-range: U+000D-FB04;
}

@font-face {
	font-family: 'BeirutDisplayWeb';
	src: url('fonts/BeirutDisplayWeb-Book.eot');
	/* IE9 Compat Modes */
	src: url('fonts/BeirutDisplayWeb-Book.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('fonts/BeirutDisplayWeb-Book.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('fonts/BeirutDisplayWeb-Book.woff') format('woff');
	/* Pretty Modern Browsers */
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+000D-FB04;
}


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

body,
#mm-2 .mm-navbar__title,
.mm-navbar {
	font-family: 'BeirutDisplayWeb', 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;
}

.home #hamburger {
	display: none;
}

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 {
	max-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 {
	max-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%;
}

.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: 15px;
	max-width: 100%;
	max-height: 100%;
}

.legend {
	position: fixed;
	bottom: 54px;
	right: 70px;
	padding-left: 70px;
	font-size: 16px;
}

.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-navbar__title,
.main-title-menu {
	font-size: 23px;
	text-align: left;
	color: black !important;
	letter-spacing: 0.05em;
	font-family: Helvetica, arial, sans-serif;
}

.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,
a.logo:focus,
a.logo:hover,
a.logo:active {
	outline: 0 none !important;
	color: #000000 !important;
	text-decoration: none;
}

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,
.home-menu li,
.menu-item a,
.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: 40px;
}

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

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

header .hamburger {
	float: left;
}

.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_offcanvas {
	width: 100%;
	max-width: 33.333%;
}

.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: 100px;
}

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

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

.grid-sizer,
.grid-item {
	width: 50%;
}

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

.grid-item {
  padding: 5px;
}

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

	.menu-item a,
	.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: 768px) {

	.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 {
		font-size: 35px;
		padding-bottom: 5px;
	}

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

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

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

	mm-btn_next {
		display: block;
	}

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

	.mm-navbar {
		height: 60px;
		line-height: 60px;
	}

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

	.mm-btn {
		height: 60px;
	}

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

	.single-content.container-fluid {
		padding-left: 15px;
		position: relative;
		z-index: 1;
	}

	#horizontal-panel {
		padding: 0;
		overflow: hidden;
		margin-bottom: 0px;
	}

	.horizontal-panel {
		padding-left: 0;
	}

	.horizontal-panel img {
		display: block;
	}

	.horizontal-panel-wrapper {
		height: auto;
	}

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

	.full-height-container {
		height: auto;
		overflow: auto;
	}

	.legend {
		padding: 0 30px;
		bottom: 0;
		right: 0;
		position: relative;
		margin-bottom: 30px;
	}


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

	.bg-img {
		background: none !important;
		margin-top: 40px;
	}

	.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 {
		font-size: 55px;
	}


}

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

	.logo,
	.mm-navbar__title,
	.main-title-menu {
		font-size: 20px;
		line-height: 27px;
	}

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

	.mm-btn {
		height: 84px;
	}

	.menu-item a,
	.menu-item span,
	.sub-title-menu,
	.panel h1 {
		font-size: 40px !important;
		line-height: 120%;
	}

	.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 (max-width: 991.98px) {
	.page-projet-image .project-item img {
		height: 225px;
	}
}

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

	.horizontal-panel img {
		display: block;
		margin-right: 0;
		max-width: 100%;
		max-height: auto;
		margin-bottom: 17px;
	}

	.header-mobile {
		padding: 15px;
	}

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

	h1,
	.intro {
		margin-bottom: 35px;
	}
	
	.grid-sizer, .grid-item {
		width: 100%;
	}
}


@media (min-width: 1919.98px) {
	.grid-sizer,
	.grid-item {
		width: 33.33333%;
	}
	
	.grid-sizer-alt,
	.grid-item-alt {
		width: 25%;
	}
	
	.grid-item-big {
		width: 50%;
	}
}
