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


@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-Light.ttf") format("truetype"), url("./fonts/PublicSans-Light.woff")  format("woff"), url("./fonts/PublicSans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-LightItalic.ttf") format("truetype"), url("./fonts/PublicSans-LightItalic.woff")  format("woff"), url("./fonts/PublicSans-LightItalic.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-Regular.ttf") format("truetype"), url("./fonts/PublicSans-Regular.woff")  format("woff"), url("./fonts/PublicSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-Italic.ttf") format("truetype"), url("./fonts/PublicSans-Italic.woff")  format("woff"), url("./fonts/PublicSans-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-Medium.ttf") format("truetype"), url("./fonts/PublicSans-Medium.woff")  format("woff"), url("./fonts/PublicSans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-MediumItalic.ttf") format("truetype"), url("./fonts/PublicSans-MediumItalic.woff")  format("woff"), url("./fonts/PublicSans-MediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-Bold.ttf") format("truetype"), url("./fonts/PublicSans-Bold.woff")  format("woff"), url("./fonts/PublicSans-Bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Public Sans";
    src: url("./fonts/PublicSans-BoldItalic.ttf") format("truetype"), url("./fonts/PublicSans-BoldItalic.woff")  format("woff"), url("./fonts/PublicSans-BoldItalic.woff2") format("woff2");
    font-weight: 600;
    font-style: italic;
}

html {
	font-size: 1em;
	-webkit-text-size-adjust: 1em;
	-ms-text-size-adjust: 1em;
}
body {
	background-color: #FFF;
	font-family: "Public Sans";
    font-weight: 400;
    font-size:18px;
    text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
}

.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: #212529;}

h1 {font-family: serif, Times New Romaninherit;}
h2 {}
h3 {font-family: serif, Times New Romaninherit;}
h4 {}
h5 {}
h6 {font-family: serif, Times New Romaninherit;}

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

/* 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:#e7cb9c;
		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: 90px;
		z-index: 100000000000;
		top: 0;
		transition: opacity 1.4s ease;
		background-color: #1c4e7f;
	}
	html.mm-wrapper_opened.no-page-header .wrapper header {}
	
	.header-menu {
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 90px;
		/*transition: 1s;*/
		background: none transparent;
		/*border-bottom: 1px solid #fefefe;*/
	}
		header .navbar-nav {
			float: right;
		}
		.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: #e7cb9c;
				font-size: 22px;
				font-weight: 900;
				line-height: 32px;
				text-decoration:none !important;
				padding-top: 0;
				padding-bottom: 0;
			}
			.nav-top .navbar-nav li a {
				font-size: 15px;
				font-weight: 300;
				line-height: 29px;
				text-transform: uppercase;
			}
			body.home:not(.darker) .navbar-nav li a {
				color: #e7cb9c;
			}
			.navbar-nav li a.active {
				text-decoration: underline;
			}
	html.fixed header {
		height: 60px;
	}
	html.fixed header a#logo-link img {
		width: 100px;
	}
	html.fixed .header-menu {
		position: fixed;
		background-image: none;
		top:0;
		z-index:10000;
		height: 60px;
	}
	
	html.fixed header .social-networks {
		display: none;
	}
	html:not(.fixed) .nav-top {margin-top: 18px !important;}
	html.fixed header .col-md-3.pt-3 {padding-top: .25rem !important;}
	html.fixed .nav-top {margin-top: 0 !important;}
	html.fixed header ul.language_selecter {
		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:#404040;*/z-index:0;opacity:0.15;}
	
	header ul {list-style:none;}
	header ul.social-networks , header ul.language_selecter  {width:100%;padding:0;margin:0;}
	header ul li {display:inline-block;}
	header ul.social-networks li , header ul.language_selecter li {margin-left:15px;}
	header ul.social-networks li:first-child {margin-left:0;}
	header ul li a {color: #e7cb9c;}
	header ul.social-networks li a, header ul.language_selecter li a {padding:0;font-size:16px;}
	header ul.social-networks li a:hover, header ul.language_selecter li a:hover {color:#fff;}
	
	.menu-lang.selected {color:#fff;}

/* Album / Spotify */

	.section-album {
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e9cd9e+7,e9cd9e+83,ffffff+100&0+6,0+6,1+7,1+83,0+84 */
		background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(236,212,172,0) 16.99%, rgba(233,205,158,1) 17%, rgba(233,205,158,1) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(236,212,172,0) 16.99%,rgba(233,205,158,1) 17%,rgba(233,205,158,1) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(236,212,172,0) 16.99%,rgba(233,205,158,1) 17%,rgba(233,205,158,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
		position: relative;
		overflow: visible;
	}
	.section-album .naf-pc-element .btn {
		color: #845725;
		border: 2px solid #845725;
	}
	.section-album .naf-pc-element .btn:hover {
		color: #fff;
		background-color: #845725;
	}

/* Newsletter */

	.section-newsletter {
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e9cd9e+7,e9cd9e+83,ffffff+100&0+6,0+6,1+7,1+83,0+84 */
		background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(236,212,172,0) 6.99%, rgba(233,205,158,1) 7%, rgba(233,205,158,1) 92.99%, rgba(234,208,164,0) 93%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(236,212,172,0) 6.99%,rgba(233,205,158,1) 7%,rgba(233,205,158,1) 92.99%,rgba(234,208,164,0) 93%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(236,212,172,0) 6.99%,rgba(233,205,158,1) 7%,rgba(233,205,158,1) 92.99%,rgba(234,208,164,0) 93%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
		position: relative;
		overflow: visible;
	}
	.section-newsletter::after {
		content: " ";
		background-image:url(./images/logo-hero-darker.png);
		background-repeat:no-repeat;
		background-position: 90% 0%;
		background-size: contain;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		right: 1.5rem;
		left: auto;
		bottom: 0;
		z-index:1;
		opacity:.2;
	}
	@media (min-width: 1200px) { 
		.section-newsletter::after {
			opacity:1;
		}
	}
	.section-newsletter > .container {
		position:relative;
		z-index:2;
	}
	.section-newsletter > .container .row-section-title {
		width: calc(75% + 30px);
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: 4em;
	}
	.section-newsletter .row-section-title .col-12 {text-align:left !important;}
	.section-newsletter .content_1_col {margin-top:0 !important;}
	.section-newsletter .gfield_checkbox li {
		display: inline-block;
		margin-right: 15px;
	}
	.section-newsletter .gform_wrapper .gform_footer p { margin-bottom:0; }	
	.section-newsletter .gform_wrapper .gform_footer br { display:none; }
	
/* Footer */

	footer {background-color:#1c4e7f;color:#fff;font-size:14px;}
	footer ul {list-style:none;}
	footer ul.social-networks , footer ul.language_selecter  {width:100%;padding:0;margin:0;}
	footer ul li {display:inline-block;}
	footer ul.social-networks li , footer ul.language_selecter li {margin-left:15px;}
	footer a {color: #fff !important;}
	footer ul.social-networks li a {padding:0;font-size:16px;}
	
/* 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;}
		
		.gform_button.button {
			color: #fff;
			background-color: #1c4e7f;
			border: 2px solid #1c4e7f;
			border-radius:25px !important;
			border-radius: 0;
		}

/* Events Calendar */

	.home .tribe-events-duration {
		
	}
	
	.home div.tribe-events-location tribe-section-s{
		display: none!important;
	}


	.naf-pc-element > div {
		width: 100%;
	}

	.naf-pc-element .shortcode-col .type-tribe_events {
		width: 33.33%;
		float: left;
		margin: 0 0 30px 0;
		text-align:center;
	}
	.naf-pc-element .shortcode-col .tribe-mini-calendar-event {
		border-bottom: none;
	}
	.naf-pc-element .shortcode-col .tribe-mini-calendar-event .list-date {
		display: none;
	}
	.naf-pc-element .shortcode-col .tribe-mini-calendar-event .list-info {
		width:100%;
	}
	.naf-pc-element .shortcode-col .tribe-mini-calendar-event .list-info div,
	.tribe-events-loop .tribe-events-event-meta {
		font-weight: 400;
		font-size: 18px;
		line-height: 1.5;
	}
	.naf-pc-element .shortcode-col .tribe-mini-calendar-event .list-info h2 {
		font-size: 1.25rem;
		margin-bottom: .5rem;
		font-family: inherit;
		font-weight: 500;
		line-height: 1.2;
		color: inherit;
		border-bottom: 1px solid rgba(0,0,0,.1);
		padding-bottom: 1rem;
		margin-bottom: 1rem;
		margin-left: 15px;
		margin-right: 15px;
	}
	.tribe-events-list .type-tribe_events .tribe-events-list-event-title {
		font-size: 1.25rem;
		margin-bottom: .5rem;
		font-family: inherit;
		font-weight: 500;
		line-height: 1.2;
		color: inherit;
		border-bottom: 1px solid rgba(0,0,0,.1);
		padding-bottom: 1rem;
		margin-bottom: 1rem;
		margin-left: 15px;
		margin-right: 15px;
		width: calc(100% - 30px);
		text-align: center;
	}
	.tribe-events-list .tribe-events-loop .type-tribe_events .tribe-events-event-meta {
		padding: 0 15px;
		text-align:center;
	}
	.naf-pc-element .shortcode-col .tribe-events-widget-link {
		clear: both;
		text-align:center;
	}
	.naf-pc-element .shortcode-col .tribe-events-widget-link a,
	#tribe-events .tribe-events-content.tribe-events-list-event-description a {
		color: #1c4e7f;
		background-color: transparent;
		border: 2px solid #1c4e7f;
		border-radius: 25px !important;
		transition: all .4s ease;
		display: inline-block;
		font-weight: 400;
		text-align: center;
		white-space: nowrap;
		vertical-align: middle;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		padding: .375rem .75rem;
		font-size: 1rem;
		line-height: 1.5;
		cursor: pointer;
	}
	#tribe-events .tribe-events-content.tribe-events-list-event-description a {
		margin-top: 24px;
		margin-left: 15px;
	}
	.naf-pc-element .shortcode-col .tribe-events-widget-link a:hover,
	#tribe-events .tribe-events-content.tribe-events-list-event-description a:hover {
		color: #fff;
		background-color: #1c4e7f;
		text-decoration:none;
	}
	.tribe-events-list .tribe-events-loop .tribe-events-content {
		margin-bottom: 32px;
		text-align: center;
		padding: 0;
	}
	.tribe-events-page-title,
	.single-tribe_events .tribe-events-single-event-title {
		font-family: serif, Times New Romaninherit;
		color: #1c4e7f;
		font-size: 3.7rem;
		font-style: italic;
	}
	
	
	
	.events-list .tribe-events-loop, 
	.single-tribe_organizer .tribe-events-loop, 
	.single-tribe_venue .tribe-events-loop, 
	.tribe-events-day .tribe-events-loop {
		max-width: 100%;
	}
	.tribe-events-list-separator-month {
		clear: both;
		width: 100%;
		display: block;
		max-width: 100%;
	}
	.type-tribe_events {
		width: 33.33%;
		float: left;
		display: block;
		padding-top: 0 !important;
		margin-top: 0 !important;
		min-height: 340px;
	}
	.single-tribe_events .type-tribe_events {
		width:100%;
		float: none;
	}
	#tribe-events .tribe-events-list-event-description.tribe-events-content p {
		display: none !important;
	}
	
	
	body.post-type-archive-tribe_events .tribe-address span:not(.tribe-country-name),
	body.post-type-archive-tribe_events .tribe-events-list .tribe-events-venue-details a.tribe-events-gmap {
		display:none;
	}
	#tribe-events-content .tribe-events-abbr {
		text-decoration: none;
	}
	
	@media (max-width: 991.98px) {
		.naf-pc-element .shortcode-col .type-tribe_events,
		.type-tribe_events {
			width: 50%;
		}
	}
	
	@media (max-width: 767.98px) {
		.naf-pc-element .shortcode-col .type-tribe_events,
		.type-tribe_events {
			width: 100%;
			float: none;
			min-height:auto;
			margin-bottom:64px !important;
		}
	}
	
/* 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: #1c4e7f;
	    cursor: pointer;
	    height: 36px;
		width: 36px;
	}
	
	#backtotopBtn:hover {
	    background-color: #000;
	}
	
		#backtotopBtn span {
			
		}


/* Responsive */
	
	/* Max Width */
		
		@media (max-width: 1249.98px){
			header ul.social-networks li {margin-left:10px;}
			header ul.social-networks li:first-child {margin-left:0;}
		}
		@media (max-width: 1199.98px) {
			.mm-panels {
				background-color: #1c4e7f;
				color: #e8ce9b;
			}
			.mm-panel_has-navbar .mm-navbar {
				height: 80px;
			}
			.mm-navbar__title {
				display: none;
			}
			.mm-panels > .mm-panel > .mm-listview:first-child, 
			.mm-panels > .mm-panel > .mm-navbar + .mm-listview {
				margin-top: 20px;
			}
			li.menu-lang.mm-listitem {
			    /*text-transform: uppercase;*/
			    padding: 0 10px 20px 20px;
			}
			li.menu-lang.mm-listitem a {
				display:inline-block;
				padding:10px 0px;
				text-overflow: unset;
			}
			li.menu-lang.mm-listitem a.menu-lang-a-2 {
				padding: 10px 30px;
			}
			.menu-lang-a-2::before,
			.menu-lang-a-2::after {
				content:"|";
				display:inline-block;
				position:relative;
			}
			.menu-lang-a-2::before {
				left:-15px;
			}
			.menu-lang-a-2::after {
				right:-15px;
			}
			header {height: 65px;}
		}
		
		@media (max-width: 991.98px) {
			h1 {}
			h2 {}
			h3 {}
			h4 {}
			h5 {}
			h6 {}
		}
		
		@media (max-width: 767.98px) {
			.first-videos {margin-bottom:0 !important;}
			.second-videos {margin-top:0 !important;}
		}
		
		@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;}
		}