
/* ------------------------------------- 
	GALLERY - commercial | beauty | fashion
----------------------------------------*/

body {
	background-color: #000;
}

.gallery-preview-container {
	width: 100%;
}

.gallery-preview,
.gallery-footer-data,
.gallery-creator-container {
	background-image: url('../images/border_pattern_light.png');
	background-repeat: repeat-x;
	background-position: top;
	width: 90%;
	margin: 0 auto;
}

.gallery-preview {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0 50px 0;
	overflow: auto;
}

.gallery-navigation {
	list-style: none;
	padding: 0;
	margin: 0 0 50px 0;
	text-align: center;
}

.gallery-menu {
	display: inline-block;
}

.gallery-menu a {
	text-decoration: none;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-size: 1em;
	margin-left: 10px;
	letter-spacing: 0.063em;
}

.gallery-menu:after {
	content: url(../images/separator_galleries.png);
	margin: 0 10px 0 20px;
}
.gallery-menu:last-child::after {
	content: '';
	margin: 0;
}

.gallery-menu a.selected, .gallery-menu a:hover {
	color: #ccc;
}

.gallery-creator-chili {
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 0.813em;
	color: #908e8e;
	text-decoration: none;
	letter-spacing: 0.063em;
	margin: 5px 0 10px 0;
	float: right;
}

.gallery-creator-chili a.selected, .gallery-creator-chili a:hover {
	color: #ccc;
}

/* ------------------------------------- 
	GALLERIES - thumbnails
----------------------------------------*/

.gallery-thumbnails {
	list-style: none;
	padding: 0;
}

.gallery-thumbnails li a {
	display: block;
	position: relative;
	margin-bottom: 4.5%;
}

.gallery-thumbnails li a img {
	width: 100%;
}


/* ------------------------------------- 
	FOOTER
----------------------------------------*/

.gallery-footer-data, {
	width: 90%;
	height: 50px;
	margin: 0 auto;
}

.gallery-creator-container {
	width: 90%;
	margin: 0 auto;
	overflow: auto;
}


/* ------------------------------------- 
	MEDIA QUERIES
----------------------------------------*/

@media only screen and (min-width: 321px) {
		header nav ul {
		margin: 1em 0 0 0;
		padding: 0;
	}
	header nav ul li {
		display: inline-block;
		margin: 0 0 1.25em 3em;
	}
	header nav ul li:first-child {
		margin-left: 0;
	}
	.logo {
		display:inline-block;
		float: left;
		width: 320px;
		height: 30px;
		margin: 2% auto 0;
		background-image: url('../images/logo.png');
	}
	.language-switch {
		height: 50px;
		margin: 0 0 0 19%;
	}
	.language-switch.selected, .language-switch:hover {
		height: 50px;
	}
}

@media only screen and (min-width: 481px) {

	.gallery-thumbnails li a {
		display: inline-block;
		width: 47%;
		margin: 1.5%;
		float: left;
	}
}

@media only screen and (min-width: 768px) {

	header {
		height: 100px;
		margin: 0 auto;
		padding: 0;
		text-align: right;
	}
	header nav ul {
	margin: 0;
	}
	header nav ul li {
		margin: 0 0 0 1.25em;
	}
	header nav ul li:first-child {
		margin-left: 0;
	}
	header nav ul li a {
		line-height: 100px;
	}
	.logo {
		display: inline-block;
		height: 100px;
		margin: 0;
		float: left;
	}
	.language-switch {
		display: block;
		position: absolute;
		top: -5px;
		right: 5%;
	}
	.gallery-navigation {
		text-align: center;
	}
	.gallery-navigation a {
		font-size: 0.938em;
	}
}

@media only screen and (min-width: 992px) {

	header,
	.gallery-preview,
	.gallery-footer-data {
		width: 90%;
		margin: 0 auto;
	}

	.gallery-thumbnails li a:hover .gallery-thumb {
		display: block;
	}

	.thumb {
		position: absolute;
		top: 0px;
		left: 0;
		text-align: center;
		color: #fff;
		display: none;
		background-color: rgba(0,0,0, 0.35);
	}

	.gallery-thumb {
		width: 100%;
		height: 187px;
	}

	.gallery-title {
		position: relative;
		top: 85px;
		font-family: 'Playfair Display SC', serif;
		font-size: 1.25em;
	}

	.gallery-thumbnails li a {
		display: inline-block;
		width: 31.7%;
		margin: 0 2.45% 2.45% 0;
		float: left;
	}

	.gallery-thumbnails li:nth-child(3n+3) a {
		margin: 0 0 2.45% 0;
	}

	.gallery-thumbnails li a img {
		width: 100%;
	}
}

@media only screen and (min-width: 1200px) {

	header,
	.gallery-preview,
	.gallery-footer-data,
	.gallery-creator-container {
		width: 940px;
		margin: 0 auto;
	}
	.language-switch {
	    position: absolute;
	    top: 46px;
	    left: 50%;
	    height: 11px;
		width: 16px;
	    margin: 0;
		}
	.language-switch.selected, .language-switch:hover {
		width: 16px;
		height: 11px;
	}

	.gallery-thumb {
		height: 200px;
	}

	.gallery-title {
		top: 90px;
	}
}