@font-face {
	font-family: 'scalia-icons';
		src:url('../fonts/scalia-icons.eot?-yiqymz');
		src:url('../fonts/scalia-icons.eot?#iefix-yiqymz') format('embedded-opentype'),
		url('../fonts/scalia-icons.woff?-yiqymz') format('woff'),
		url('../fonts/scalia-icons.ttf?-yiqymz') format('truetype'),
		url('../fonts/scalia-icons.svg?-yiqymz#scalia-icons') format('svg');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'scalia-user-icons';
	src:url('../fonts/scalia-user-icons.eot');
	src:url('../fonts/scalia-user-icons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/scalia-user-icons.ttf') format('truetype'),
		url('../fonts/scalia-user-icons.woff') format('woff'),
		url('../fonts/scalia-user-icons.svg#scalia-user-icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	background: #f1f5f8;
}

a {
    text-decoration: none;
}

#page {
}

header {
	background: #ffffff;
	position: relative;
	z-index: 2;
}

header a.logo {
	width: 116px;
	height: 43px;
	position: absolute;
	left: 62px;
	top: 31px;
	z-index: 101;
	background: url(../images/default-logo.png) left top no-repeat;
	background-size: 116px 43px;
	overflow: hidden;
	text-indent: -1000px;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (   min--moz-device-pixel-ratio: 1.5),
only screen and (     -o-min-device-pixel-ratio: 3/2),
only screen and (        min-device-pixel-ratio: 1.5),
only screen and (                min-resolution: 1.5dppx) {
	header a.logo {
        background-image: url(../images/default-logo-2x.png);
    }
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2.5),
only screen and (   min--moz-device-pixel-ratio: 2.5),
only screen and (     -o-min-device-pixel-ratio: 5/2),
only screen and (        min-device-pixel-ratio: 2.5),
only screen and (                min-resolution: 2.5dppx) {
	header a.logo {
        background-image: url(../images/default-logo-3x.png);
    }
}

header article {
	text-align: center;
	max-width: 980px;
	margin: 0 auto;
	padding: 130px 30px 60px;
}

header article h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	line-height: 1;
	color: #4c5867;
	text-transform: uppercase;
	padding: 0;
	margin: 0 0 20px 0;
}

header article h1 img {
	max-width: 100%;
}

header article h3 {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 36px;
	font-weight: 300;
	color: #4c5867;
	text-transform: uppercase;
	padding: 0;
	margin: 0 0 48px 0;
}

header article p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 19px;
	font-weight: 300;
	color: #627080;
	padding: 0;
	margin: 0;
}

header article a.button {
	display: inline-block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 22px;
	font-weight: 300;
	color: #ffffff;
	text-transform: uppercase;
	padding: 12px 19px 11px 44px;
	margin: 37px 0 0 0;
	background: #ff7070;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: relative;
}

header article a.button:before {
	content: '\e601';
	font-family: 'scalia-icons';
	font-weight: normal;
	float: left;
	margin-left: -1.4em;
	font-size: 82.6%;
	vertical-align: middle;
	position: relative;
	top: 1px;
}

header article a.button:hover:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.2);
}

nav#layouts {
	font-size: 0;
	line-height: 1;
	background: #4c5867;
	text-align: center;
	padding: 18px 20px 37px 34px;
	margin-bottom: 75px;
	position: relative;
	z-index: 1;
}

nav#layouts a {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #f1f5f8;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	margin: 20px 40px 0;
	white-space: nowrap;
}

nav#layouts a:before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #f1f5f8;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	left: -12px;
	top: 5px;
}

nav#layouts a:hover {
	color: #58abb7;
}

nav#layouts a:hover:before {
	background: #58abb7;
}

#content {
}

#content section {
	font-size: 0;
	text-align: center;
	border-bottom: 6px dotted #ffffff;
	margin-top: 63px;
	padding-bottom: 37px;
}

#content section:first-child {
	margin-top: 0;
}

#content section:last-child {
	border-bottom: 0;
}

#content section h2,
#content section h2 a {
	font-family: 'Montserrat', sans-serif;
	font-size: 48px;
	font-weight: 700;
	color: #4c5867;
	text-transform: uppercase;
	margin: 0 0 33px 0;
	padding: 0;
}

#content section article {
	display: inline-block;
	text-align: center;
	position: relative;
	overflow: hidden;
	vertical-align: top;
	padding: 0 25px 0 24px;
	margin: 0 0 36px 0;
	max-width: 449px;
}

#content section article.highlight,
#content section#header-layouts article {
	max-width: 898px;
}

#content section article .image {
	/*
	width: 400px;
	height: 300px;
	*/
	position: relative;
	z-index: 4;
	overflow: hidden;
	margin: 11px 0 0 0;
	display: block;
}

#content section#header-layouts article .image {

}

#content section article.highlight .image {
	/*
	width: 849px;
	height: 698px;
	*/
}

#content section article:not(.coming-soon) .image:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 100;
	background: rgba(88, 171, 183, 0.8);
	transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	opacity: 0;
}

#content section article:not(.coming-soon) .image:hover:before {
	opacity: 1;
}

#content section article:not(.coming-soon) .image:after {
	content: '\e61f';
	font-family: 'scalia-icons';
	font-weight: normal;
	font-style: normal;
	font-size: 40px;
	height: 40px;
	line-height: 40px;
	width: 40px;
	text-align: center;
	position: absolute;
	top: -20px;
	left: 50%;
	transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	margin-left: -20px;
	margin-top: -20px;
	z-index: 101;
	color: #ffffff;
}

#content section article:not(.coming-soon) .image:hover:after {
	top: 50%;
}

#content section article .image img {
	max-width: 100%;
	transition: all 0.2s linear, opacity 0.66s linear;
	-moz-transition: all 0.2s linear, opacity 0.66s linear;
	-webkit-transition: all 0.2s linear, opacity 0.66s linear;
}

#content section article:not(.coming-soon) .image:hover img {
	transform: scale(1.1, 1.1);
	-o-transform: scale(1.1, 1.1);
	-ms-transform: scale(1.1, 1.1);
	-moz-transform: scale(1.1, 1.1);
	-webkit-transform: scale(1.1, 1.1);
}

#content section article.slideshow .image img.slide {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 50;
	opacity: 0;
}

#content section article.slideshow .image img.slide.showed {
	opacity: 1;
}

#content section article h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 17px;
	font-weight: 400;
	color: #4c5867;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 2;
}

#content section article p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 19px;
	font-weight: 300;
	color: #627080;
	padding: 0 0 9px 0;
	margin: -5px 0 0 0;
}

#content section article.coming-soon h3 {
	color: #bbc2ca;
}

#content section article a.link {
	position: absolute;
	left: 24px;
	right: 25px;
	top: 0;
	bottom: 0;
	z-index: 3;
	cursor: pointer;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	text-indent: -10000px;
}

#content section .inner-blocks {
	display: inline-block;
}

footer {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 19px;
	font-weight: 300;
	color: #f1f5f8;
	background: #4c5867;
	text-align: center;
	padding: 32px 20px 32px;
}

footer a {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: #ff7070;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.scroll-top-button {
	position: fixed;
	right: 30px;
	bottom: 0;
	z-index: 10000;
	opacity: 0;
	line-height: 0;
	transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
}

.scroll-top-button.visible {
	opacity: 0.5;
}

.scroll-top-button:before {
	font-family: 'scalia-icons';
	content: '\e600';
	font-size: 18px;
	font-weight: normal;
	display: inline-block;
	vertical-align: top;
	width: 54px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	background: #4a4f56;
	color: #ffffff;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}

@media (min-width: 1700px) and (max-width: 1780px) {
	#content section .inner-blocks article {
		margin-bottom: 32px;
	}
}

@media (min-width: 1620px) and (max-width: 1700px) {
	#content section .inner-blocks article {
		margin-bottom: 26px;
	}
}

@media (min-width: 1560px) and (max-width: 1620px) {
	#content section .inner-blocks article {
		margin-bottom: 22px;
	}
}

@media (min-width: 1500px) and (max-width: 1560px) {
	#content section .inner-blocks article {
		margin-bottom: 17px;
	}
}

@media (min-width: 1440px) and (max-width: 1500px) {
	#content section .inner-blocks article {
		margin-bottom: 12px;
	}
}

@media (min-width: 1380px) and (max-width: 1440px) {
	#content section .inner-blocks article {
		margin-bottom: 9px;
	}
}

@media (min-width: 1280px) and (max-width: 1380px) {
	#content section .inner-blocks article {
		margin-bottom: 2px;
	}
}


@media (min-width: 1280px) {
	#content section article {
		width: 25%;
	}

	#content section article.highlight {
		width: 50%;
	}

	#content section#header-layouts article {
		width: 50%;
	}

	#content section .inner-blocks {
		width: 50%;
	}

	#content section .inner-blocks article {
		width: 50%;
	}

	/*
	#content section article .image {
		width: auto;
		height: auto;
	}

	#content section#header-layouts article .image {
		width: auto;
	}
	*/
}

@media (max-width: 980px) {
	header a.logo {
		left: 15px;
		top: 15px;
	}
}

@media (min-width: 768px) and (max-width: 899px) {
	#content section article {
		width: 50%;
	}
}

@media (max-width: 899px) {
	#content section {
		padding-left: 25px;
		padding-right: 25px;
	}

	#content section article.highlight {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#content section article.highlight .image {
		max-width: 100%;
		height: auto;
	}

	#content section article.highlight {
		width: 100%;
	}

	#content section#header-layouts article {
		width: 100%;
	}
}

@media (max-width: 850px) {
	#content section article {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#content section article .image {
		max-width: 100%;
		height: auto;
	}
}

@media (max-width: 768px) {
	.scroll-top-button {
		right: 0;
	}
}

@media (max-width: 600px) {
	#content section article {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#content section article .image {
		max-width: 100%;
		height: auto;
	}

	#content section .inner-blocks {
		display: block;
	}
}

@media (max-width: 500px) {
	header article h1 {
		font-size: 75px;
	}

	header article h3 {
		font-size: 25px;
	}
	#content section article h3 {
		line-height: 25px;
		margin-top: 10px;
		padding-bottom: 10px;
	}
}

.gears {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.meta-gear-1,
.meta-gear-2,
.meta-gear-3,
.meta-gear-4,
.meta-gear-5,
.meta-gear-6 {
	position: absolute;
	bottom: 0;
	left: 50%;
	-o-animation: gear-rotate 14s infinite linear;
	-moz-animation: gear-rotate 14s infinite linear;
	-webkit-animation: gear-rotate 14s infinite linear;
	animation: gear-rotate 14s infinite linear;
}

@keyframes gear-rotate {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}
@-o-keyframes gear-rotate {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}
@-moz-keyframes gear-rotate {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}
@-webkit-keyframes gear-rotate {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}

.meta-gear-1 {
	margin-left: -775px;
	margin-bottom: 185px;
	-o-animation-direction: reverse;
	-moz-animation-direction: reverse;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
	-o-animation-duration: 3.889s;
	-moz-animation-duration: 3.889s;
	-webkit-animation-duration: 3.889s;
	animation-duration: 3.889s;
}
.meta-gear-2 {
	margin-left: -1205px;
	margin-bottom: -220px;
}
.meta-gear-3 {
	margin-left: -705px;
	margin-bottom: -143px;
	-o-animation-direction: reverse;
	-moz-animation-direction: reverse;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
	-o-animation-duration: 7.778s;
	-moz-animation-duration: 7.778s;
	-webkit-animation-duration: 7.778s;
	animation-duration: 7.778s;
}
.meta-gear-4 {
	margin-left: 560px;
	margin-bottom: 180px;
	-o-animation-direction: reverse;
	-moz-animation-direction: reverse;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
	-o-animation-duration: 1.5s;
	-moz-animation-duration: 1.5s;
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
}
.meta-gear-5 {
	margin-left: 675px;
	margin-bottom: -65px;
}
.meta-gear-6 {
	margin-left: 350px;
	margin-bottom: -935px;
}
