/*
Theme Name: galata
Author: Thomas Villain - Anybodesign
Author URI: http://anybodesign.com/
Description: The WordPress theme for Magali Imbert - Galata Musique
Version: 1.1
*/


/* ------------------------- */
/* = Basics
/* ------------------------- */

html, body, #wrapper {
	width: 100%; height: 100%; 
}

body {
	text-size-adjust: none;
	background-color: #101010;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

#wrapper {
	position: relative;
}

#container, .inner {
	max-width: 880px; margin: 0 auto;
/* 	background: #111; */
}

#container {
	position: relative; 
	min-height: 100%; 
	margin-bottom: -105px;
}
#container:after {
  content: ""; display: block; height: 100px;
}



[class^=col-] {padding: 10px;}   /* @Note : gutters padding override */



/* ------------------------- */
/* = Header
/* ------------------------- */


.home #site_head {
	margin-bottom: 25px;
}

.site-title a, .site-desc {
	text-indent: 180%; white-space: nowrap; overflow: hidden;
}
.site-title {
	line-height: 1;
}
.site-title a {
	display: block;
	width: 260px; height: 132px;
	background: url(img/sprite.svg) 0 -60px no-repeat;
}
.site-desc {
	position: absolute;
	display: block; width: 1px; height: 1px;
}

/*
.site-title {
	padding-top: 34px;
	font-size: 1.85em;
	font-family: 'alte-haas-bold', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}
.site-title a {
	display: inline;
	width: auto; height: auto;
	text-decoration: none;
	background: none;
}
*/

/* ------------------------- */
/* = Nav
/* ------------------------- */


#menu {
	padding-right: 0;
}

.main-menu {
	margin-top: -10px;
	text-align: left;
}

.main-menu > li,
.footer-menu > li {
	display: inline-block;
	margin-left: -4px;
}

.main-menu > li > a,
.footer-menu > li > a {
	display: inline-block;
	padding: 40px 12px 0 12px;
	height: 100px;
	border-right: #fff 1px solid;
	text-decoration: none;
	background-color: transparent;
	transition: background .4s ease-in-out;
}
.main-menu > li:first-child > a,
.footer-menu > li:first-child > a {
	border-left: #fff 1px solid;
}

.main-menu > li > a:hover, .main-menu > li:hover > a,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a,
.single-post .main-menu > li.nav-agenda > a,
.single-spectacle .main-menu > li.nav-spectacles > a,
.footer-menu > li > a:hover,
.footer-menu > li.current-menu-item > a {
	background-color: #fff; color: #000;
}


.main-menu > li:hover > .sub-menu {
	visibility: visible; opacity: 1; 
}

.main-menu > li .sub-menu {
	visibility: hidden; opacity: 0;
	position: absolute;
	border-left: #fff 1px solid;
	text-align: left;
	transition: opacity .3s ease-in-out;
	z-index: 999;
}

.main-menu > li .sub-menu > li {
	font-size: .8em;
}

.main-menu > li .sub-menu > li > a {
	display: block;
	padding: 5px;
	text-decoration: none;
	border-left: #fff 0 solid;
	transition: border .2s ease-in-out;
}
.main-menu > li .sub-menu > li > a:hover,
.main-menu > li .sub-menu > li.current-menu-item > a {
	border-left: #fff 9px solid;
}


#trigger {display: none;}



/* ------------------------- */
/* = Typography
/* ------------------------- */


h1, h2, h3, h4, h5, h6 {
	font-family: 'alte-haas-bold', Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #fff;
}

p, li, address, figcaption, small {
	font-family: 'alte-haas', Helvetica, Arial, sans-serif;
	color: #fff;	
}

p b, p strong {
	font-family: 'alte-haas-bold', Helvetica, Arial, sans-serif;
}
p i, p em {color: #909090;}


.action-btn {
	display: inline-block;
	padding: 5px 15px;
	background-color: #fff;
	color: #000;
	text-decoration: none;
	transition: background .2s ease-in-out;
}
.action-btn:hover {
	background-color: #ccc;
}


/* Images */

figure {}
figure img {
	border: #fff 1px solid;	
}

a img {
	transition: opacity .3s ease-in-out;
}
a:hover img {
	opacity: .8;
}


/* Alignments */

.alignleft {
	display: inline; float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline; float: right;
	margin-left: 1.5em;
}
.aligncenter {
	display: block; clear: both; 
	margin: 0 auto;
}


/* Forms */


/* Customs */

.formfield-radio input[type="radio"] + label:before,
.formfield-checkbox input[type="checkbox"] + label:before {}

.formfield-radio input[type="radio"] + label:before {}
.formfield-radio input[type="radio"]:checked + label:before {}

.formfield-checkbox input[type="checkbox"] + label:before {}
.formfield-checkbox input[type="checkbox"]:checked + label:before {}

.formfield-select--container {}
.formfield-select--container:after {}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-family: 'alte-haas-bold', Helvetica, Arial, sans-serif;
	background-color: #fff;
	color: #000;

}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {}


/* CF7 */

label {
	font-family: 'alte-haas', Helvetica, Arial, sans-serif;
	margin-bottom: 5px;
}

div.wpcf7-response-output {
	margin: 10px 0 0 0 !important; padding: 5px !important;
	font-family: Helvetica, Arial, sans-serif;
}
span.wpcf7-not-valid-tip {color: #c00;}
div.wpcf7-validation-errors {
	border: 0 !important; background-color: #c00; color: #fff !important;
}
div.wpcf7-mail-sent-ok {
	border: 0 !important; background-color: #9c0; color: #fff !important;
}




/* ------------------------- */
/* = Content
/* ------------------------- */


#content {
	position: relative;
	margin-bottom: 60px;
}

.page-title {
	padding-bottom: 5px;
	border-bottom: #fff 1px dotted;
}
.main-content p {
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;	
}
.page-feature-image {
	margin-top: 35px; 	
}
.page-feature-image figcaption {
	padding: 0 25px; margin-top: 2px;
	text-align: center;
	border-top: #fff 1px solid;
	padding-top: 5px;
}


/* -- Home -- */


#wrapper:before,
#home_slideshow:before {
	content: ""; display: block;	
	width: 100%; height: 100%;
	position: fixed; /* opacity: .3; */
	background: rgba(0,0,0,0.3) url(img/bg2.png) center center repeat;
	z-index: 1;
}
#wrapper:before {z-index: -1;}

#home_slideshow {
	position: fixed;
	width: 100%; height: 100%;
	z-index: -1;
}
#home_slideshow, .slick-list, .slick-track {
	height: 100%;
}
.home-slideshow--item {
	width: 100%; height: 100%;
	background-size: cover;
	background-attachment: center center;
}

.home-edito p {
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;	
}

.home-posts--link {
	margin-top: 15px;
}


/* -- Shows -- */

.cat-menu {
	padding: 0; list-style: none;
}
.cat-item {
	padding: 4px 8px; 
	background: #fff; color: #000;
	margin-bottom: 5px;
	font-size: .85em;
	font-family: 'alte-haas', Helvetica, Arial, sans-serif;
	transition: background .3s ease-in-out;
}
.cat-item:hover {background: #d0d0d0;}
.cat-item.is-checked {
	background: #404040; color: #fff;
	font-family: 'alte-haas-bold', Helvetica, Arial, sans-serif;	
}

.cat-item a {
	display: block;
	text-decoration: none;
}	

/* -- Galleries -- */


.video-item--figure {
	height: 105px;
	border: #fff 1px solid;
}
.video-item--figure img {
	border: 0;
}


/* -- Posts -- */


.post, .home-posts--item {
	border-bottom: #fff 1px dotted;
}
.post-figure, .post-infos {
	margin-bottom: 15px;
}
.post-date span {
	display: inline-block;
	padding: 4px 8px;
	background: #fff; color: #000;
	margin-right: 5px;
}

.acf-map {height: 360px;}


/* -- Disco -- */


.disco-figure,
.mejs-container {
	margin-bottom: 10px;
}

.artiste-block a,
.show-block a {
	text-decoration: none;
}


/* ------------------------- */
/* = Footer
/* ------------------------- */


#site_foot {
	position: relative; height: 100px;	
}


.footer-nav {
	padding-bottom: 0;
}



/* ------------------------- */
/* = Misc
/* ------------------------- */

/* Galleries */

.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	padding: 5px; margin: 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {
	display: none;
}

.gallery-icon {
	border: #fff 1px solid;	
}
.gallery-icon img {
	display: block;
}

/* Lightbox */

.fancybox-close,
.fancybox-nav span {
	width: 30px; height: 30px;	
}
.fancybox-close {
	top: -30px; left: 50%; right: 0;
	margin-left: -15px;
	background: url(img/sprite.svg) -240px -30px;
}
.fancybox-nav span {margin-top: -15px;}

.fancybox-next span, .fancybox-prev span {
	background: url(img/sprite.svg) -240px -30px;
}
.fancybox-next span {
	background-position: -320px -30px;
}
.fancybox-prev span {
	background-position: -280px -30px;
}
.fancybox-next {right: -40px;}
.fancybox-prev {left: -40px;}



/* ------------------------- */
/* = Fonts
/* ------------------------- */


@font-face {
    font-family: 'alte-haas-bold';
    src: url('fonts/altehaasgrotesk_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'alte-haas';
    src: url('fonts/altehaasgrotesk-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* ------------------------- */
/* = Responsive elements
/* ------------------------- */


/* Wide screens */

@media only screen and (min-width: 1440px) {
	
/* 	#site_head {margin-bottom: 40px;} */
}

@media only screen and (max-width: 768px) {

	#site_head, .home #site_head {margin-bottom: 0;}	
	.site-title a {margin: 0 auto;}

	/* Hamburger Menu */
		
	#trigger {
		display: block; height: 30px; width: 30px;
		position: relative; margin: 0 auto 10px auto;
		text-indent: 60px; white-space: nowrap; overflow: hidden;
		cursor: pointer;
	}
	#trigger span {
		position: absolute; top: 12px; right: 0;
	}
	#trigger span, #trigger span:after, #trigger span:before {
		display: block;
		width: 30px; height: 3px;
		background-color: #fff;
		transition: all .3s linear;
	}
	#trigger span:after, #trigger span:before {
		position: absolute;
		content: "";
	}
	#trigger span:after {bottom: -12px; left: 0;}
	#trigger span:before {top: -12px; left: 0;}
	
	#trigger.menu-opened span {background-color: transparent; height: 1px;}
	
	#trigger.menu-opened span:after {
		top: 0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		background-color: #c0c0c0;
	}
	#trigger.menu-opened span:before {
		top: 0;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
		background-color: #c0c0c0;
	}
	
	#menu {padding-right: 5px;}
	
	.main-menu {
		display: none;
		margin-top: 0;
		text-align: center;
	}
	
	.main-menu > li {
		display: block; float: none;
	}
	.main-menu > li > a {
		display: block;
		height: auto; padding: 15px 10px;
		border: 0;
		border-bottom: #fff 1px solid;
	}
	.main-menu > li:first-child > a {
		border-left: 0;
		border-top: #fff 1px solid;
	}
	.main-menu > li .sub-menu {
		display: none;
		position: relative;
		text-align: center;
		border-left: 0;
		border-bottom: #fff 1px solid;
	}
	.main-menu > li:hover > .sub-menu {
		display: block;
	}
	.main-menu > li .sub-menu > li {
		font-size: .9em;
		border-top: #606060 1px dotted;
	}
	.main-menu > li .sub-menu > li:first-child {
		border-top: 0;	
	}	
	.main-menu > li .sub-menu > li > a {
		padding: 10px; 
	}
	.main-menu > li .sub-menu > li > a:hover,
	.main-menu > li .sub-menu > li.current-menu-item > a {
		background-color: rgba(33, 33, 33, 0.6);
		border: 0;
	}
	
	.footer-menu {text-align: center;}
	.footer-menu > li {
		float: none;
		display: inline-block;
		margin-left: -4px;	
	}
	
	.show-list {
		position: relative;
		margin-top: 155px;
	}
	.cat-nav {
		position: absolute; top: 55px; left: 0;
	}
	
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {max-width: 25%;}
		
}


/* Smartphones landscape and less */

@media only screen and (max-width: 480px) {


	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {max-width: 33.33%;}
	

}


/* Smartphones portrait */

@media only screen and (max-width: 360px) {
	
	.cat-item {font-size: .8em;}
	.show-list {margin-top: 145px;}
	
	.footer-menu > li {
		font-size: .85em;
	}
	
	.footer-menu > li > a {
		padding: 40px 5px 0 5px;
	}
}


/* ------------------------- */
/* = Print with style
/* ------------------------- */


@media print {
	

}	