* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../Fonts/fontawesome-webfont.eot?v=4.2.0');
	src: url('../Fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../Fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../Fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../Fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

#loader {
	visibility: hidden;
	z-index: 9999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
}

#loader div {
	display: block;
	position: relative;
	top: 50%;
	margin: auto;
	width: 32px;
	height: 32px;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, small, sub, b, dl, dd, dt, ul, li, label, article, details, footer, header, menu, nav, input, textarea, select, #logo {
	font-family: 'EB Garamond', serif, Verdana, Helvetica, Arial;
	font-size: 20px;
	color: #555555;
}

a {
	text-decoration: none;
}

#title, #mosaic {
	clear: both;
	margin: 1%;
	width: 98%;
}

#title .detail, #title .mail {
	/* margin: 0 1% 1% 1%; */
	margin: 1%;
}

#title .detail {
	float: left;
}

#title .mail {
	float: right;
}

#mosaic div {
	position: relative;
	float: left;
	margin: 1%;
	max-width: 400px;
	max-height: 533px;
	width: 18%;
	height: auto;
	-moz-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -webkit-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -moz-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -o-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    transition: width 1s ease-in-out, left 1.5s ease-in-out;
}

#mosaic div p.outer {
	display: none;
	position: absolute;
    width: 100%;
    height: 100%;
    /* Fallback for web browsers that doesn't support RGBa */
	background: rgb(255, 255, 255);
	/* RGBa with 0.6 opacity */
	background: rgba(255, 255, 255, 0.9);
	/* For IE 5.5 - 7*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7FFFFFFF, endColorstr=#7FFFFFFF);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7FFFFFFF, endColorstr=#7FFFFFFF)";
}

#mosaic div p span.inner {
	position: absolute;
	top: 50%;
	margin-top: -7px;
	width: 100%;
	font-size: 15px;
    /* text-transform: uppercase; */
    text-align: center;
}

#mosaic div img {
	width: 100%;
	height: auto;
}

#mosaic div:hover::before {
	background-color: red;
}

#footer {
	clear: both;
	height: 80px;
}

.back-to-top {
	display: none;
	z-index: 1000;
	position: fixed;
	right: 2%;
	bottom: 2%;
	padding: 10px 15px 10px 15px;
	background-color: #191919;
	background-color: rgba(20, 20, 20, 0.4);
	-webkit-transform: translate3d(0, 0, 0);
	cursor: pointer;
}

.back-to-top i {
	display: block;
	margin: 0 auto;
	font-size: 24px;
	line-height: 24px;
	color: #FFFFFF;
}

#carousel {
	clear: both;
	margin: 0 auto;
	width: 98%;
	max-width: 960px;
	max-height: auto;
}

#carousel .container {
	margin: 1%;
}

#slides {
	display: none;
	font-size: 15px;
	text-align: center;
}

#slides i {
	padding: 30px 0 5px 0;
	font-size: 24px;
}

.slidesjs-container {
	overflow: visible !important;
}

#slides .slidesjs-previous {
	margin-right: 10px;
}

#slides .slidesjs-previous i {
	/* margin-left: 20px; */
}

#slides .slidesjs-next {
	margin-left: 10px;
}

/* #slides .slidesjs-home {
	clear: both;
	float: right;
	margin-top: 4px;
} */

#slides .slidesjs-home i {
	/* margin-right: 5px; */
	font-size: 18px;
}

.slidesjs-pagination {
	margin: 0px;
	float: right;
	list-style: none;
}

.slidesjs-pagination li {
	float: left;
	margin: 0 5px;
}

.slidesjs-pagination li a {
	display: block;
	float: left;
	padding-top: 5px;
	overflow: hidden;
	font-size: 16px;
}

.slidesjs-pagination li a.active, .slidesjs-pagination li a:hover {
	color: #9E2020;
}

#slides a:hover, #slides a:active {
	color: #9E2020;
}

.navbar {
	overflow: hidden;
}

@media only screen and (max-width: 1024px) {
	#mosaic div p span.inner {
		margin-top: -6px;
		font-size: 12px;
	}
}

@media only screen and (max-width: 768px) {
	div, a {
		font-size: 18px;
	}
	
	#mosaic div {
		margin: 2%;
		width: 46%;
	}
	
	#title .detail {
		/* margin: 0 2% 0 2%; */
		margin: 2%;
	}
	
	#title .mail {
		clear: both;
		float: left;
		/* margin: 0 2% 2% 2%; */
		margin: 2%;
	}
	
	#mosaic div p span.inner {
		margin-top: -7px;
		font-size: 15px;
	}
	
	.back-to-top {
		right: 3%;
	}
	
	#carousel .container {
		margin: 2%;
	}
}

@media only screen and (max-width: 479px) {
	div, a {
		font-size: 16px;
	}
	
	#mosaic div {
		clear: both;
		float: none;
		margin: 5% auto;
		width: 90%;
	}
	
	#title .detail {
		/* margin: 0 5% 0 5%; */
		margin: 5%;
	}
	
	#title .mail {
		clear: both;
		float: left;
		/* margin: 0 5% 5% 5%; */
		margin: 5%;
	}
	
	.back-to-top {
		right: 6%;
	}
	
	#carousel .container {
		margin: 5%;
	}
}