@import url(https://fonts.googleapis.com/css?family=Bree+Serif);
@import url(https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic);
*, *:before, *:after {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
html, body {
	margin:0;
	background-color:#303038;
	cursor:default;
}
body, input, textarea, select {
	font-family:'PT Serif','Times new roman';
	font-size:16px;
	color:#000;
}
header {
	position:relative;
}
.header-content {
	position:relative;
	max-width:1100px;
	margin:0 auto;
	min-height:160px;
	padding:0 0 40px 0;
}
@media screen and (min-width:770px) {
	.header-content {
		padding:0 50px;
	}
}
.sroll-up {
	position:absolute;
	z-index:10;
	right:20px;
	width:50px;
	height:50px;
	background:url(../img/symbol-up.png) no-repeat;
	background-size:cover;
	opacity:0;
	cursor:pointer;
	outline:none;
	-webkit-transition:opacity 200ms;
	-moz-transition:opacity 200ms;
	transition:opacity 200ms;
}
@media screen and (min-width:770px) {
	.sroll-up {
		width:60px;
		height:60px;
	}
}
.tilitoimisto-apollo-logo {
	margin:35px auto 0 auto;
	width:240px;
	height:60px;
	background:url(../img/tilitoimisto-apollo.png) no-repeat 0% 50%;
	background-size:contain;
}
@media screen and (min-width:770px) {
	.tilitoimisto-apollo-logo {
		background-position:50% 50%;
		margin-top:45px;
		float:left;
		width:170px;
		height:80px;
	}
}
@media screen and (min-width:890px) {
	.tilitoimisto-apollo-logo {
		width:249px;
	}
}
.main-nav {
	margin-top:20px;
	text-align:center;
}
@media screen and (min-width:770px) {
	.main-nav {
		float:right;
		margin-top:60px;
	}
}
.main-nav a {
	display:inline-block;
	width:100%;
	line-height:40px;
	padding:0 15px;
	font-family:'Bree Serif';
	font-size:16px;
	text-transform:uppercase;
	text-decoration:none;
	color:#fff;
	background-color:#303038;
	-webkit-transition:background-color 200ms;
	-moz-transition:background-color 200ms;
	transition:background-color 200ms;
}
@media screen and (min-width:500px) {
	.main-nav a {
		width:auto;
	}
}
@media screen and (min-width:770px) {
	.main-nav a {
		float:left;
	}
}
.main-nav a:hover {
	background-color:#424373;
}
.hero-image {
	clear:both;
	position:relative;
	width:100%;
	max-width:1280px;
	height:900px;
	margin:0 auto;
	background-size:cover;
	background-position:50% 50%;
}
@media screen and (min-width:770px) {
	.hero-image {
		height:600px;
	}
}
.hero-image.hero-image-01 {
	background-image:url(../img/hero-image-01s.jpg);
}
@media screen and (min-width:770px) {
	.hero-image.hero-image-01 {
		background-image:url(../img/hero-image-01.jpg);
	}
}
.hero-image:before {
	content:"";
	position:absolute;
	left:0;
	top:0;
	right:0;
	height:31px;
	background:url(../img/hero-image-top.png) no-repeat 50% 0;
}
.hero-image:after {
	content:"";
	position:absolute;
	left:0;
	bottom:0;
	right:0;
	height:31px;
	background:url(../img/hero-image-bottom.png) no-repeat 50% 0;
}
.hero-text {
	position:absolute;
	top:20px;
	padding:40px;
	text-align:center;
}
@media screen and (min-width:500px) {
	.hero-text {
		top:20px;
		padding:80px;
	}
}
@media screen and (min-width:770px) {
	.hero-text {
		text-align:left;
		top:auto;
		bottom:90px;
		left:9%;
		width:35%;
		padding:0;
	}
}
.hero-text h6 {
	font-family:'Bree Serif';
	font-size:37px;
	font-weight:normal;
	text-transform:uppercase;
	line-height:1em;
	margin:0 0 0.5em 0;
}
@media screen and (min-width:770px) {
	.hero-text h6 {
		font-size:47px;
	}
}
.hero-text .down {
	display:inline-block;
	width:60px;
	height:60px;
	background:url(../img/symbol-down.png) no-repeat;
	cursor:pointer;
	outline:none;
}
.hero-coords {
	position:absolute;
	bottom:35px;
	right:15px;
	font-family:'Bree Serif';
	font-size:18px;
	color:#fff;
	text-shadow:0 0 5px #17172c;
	opacity:0.4;
}
.content {
	position:relative;
	max-width:1280px;
	margin:0 auto;
}
.content-arrow {
	position:absolute;
	z-index:2;
	left:50%;
	bottom:-20px;
	width:40px;
	height:40px;
	margin:0 -20px;
	background-color:inherit;
	-webkit-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-o-transform:rotate(45deg);
	transform:rotate(45deg);
}
.content-width {
	max-width:740px;
	margin:0 auto;
	padding:35px 20px 80px 20px;
}
@media screen and (min-width:500px) {
	.content-width {
		padding:35px 40px 80px 40px;
	}
}
.reference {
	margin:1em 0 2em 0;
	border-top:1px solid rgba(0,0,0,0.1);
}
.reference:first-child {
	border-top:none;
	margin-top:0;
}
.reference-image {
	display:block;
	width:100%;
	height:220px;
	background-repeat:no-repeat;
	background-position:50% 50%;
}
.reference-text {
	text-align:center;
}
.reference-info {
	font-size:13px;
	font-weight:bold;
}
@media screen and (min-width:550px) {
	.reference {
		display:table;
		margin:3em 0 4em 0;
		width:100%;
		border-top:none;
	}
	.reference-image {
		display:table-cell;
		width:180px;
		height:auto;
		background-position:0 0;
	}
	.reference-text {
		display:table-cell;
		text-align:left;
	}
}
@media screen and (min-width:700px) {
	.reference-image {
		width:220px;
	}
}
.contact {
}
.contact-info {
	padding:0 20px;
}
.contact-info-text {
	text-align:center;
	padding-top:40px;
}
.contact-map {
	display:block;
	background-position:50% 50%;
	background-repeat:no-repeat;
	width:100%;
	height:400px;
	outline:none;
}
@media screen and (min-width:770px) {
	.contact {
		display:table;
		width:100%;
	}
	.contact-info {
		display:table-cell;
		padding:0;
		width:50%;
	}
	.contact-info-text {
		text-align:left;
		padding-top:0;
		width:350px;
		float:right;
	}
	.contact-map {
		display:table-cell;
		width:50%;
		height:auto;
	}
}
.form {
	display:block;
	padding:0;
	margin:40px auto;
	text-align:left;
}
.form-left {
}
.form-right {
}
.form-sending {
	position:relative;
	padding-left:40px;
}
.form-note {
	background-color:#fea;
	padding:15px;
}
.form-error {
	background-color:#f66;
	padding:15px;
}
.form-success {
	background-color:#cf9;
	padding:15px;
}
.form-sending:before {
	content:"";
	position:absolute;
	left:20px;
	top:50%;
	width:20px;
	height:20px;
	margin:-10px;
	border:3px solid transparent;
	border-color:#fff #424373 #424373 #424373;
	border-radius:50%;
	-webkit-animation: spin 700ms linear infinite;
	-moz-animation: spin 700ms linear infinite;
	-o-animation: spin 700ms linear infinite;
	animation: spin 700ms linear infinite;
}
@-webkit-keyframes spin {
	0% { border-color:#fff #424373 #424373 #424373; }
	25% { border-color:#424373 #fff #424373 #424373; }
	50% { border-color:#424373 #424373 #fff #424373; }
	75% { border-color:#424373 #424373 #424373 #fff; }
}
@-moz-keyframes spin {
	0% { border-color:#fff #424373 #424373 #424373; }
	25% { border-color:#424373 #fff #424373 #424373; }
	50% { border-color:#424373 #424373 #fff #424373; }
	75% { border-color:#424373 #424373 #424373 #fff; }
}
@-o-keyframes spin {
	0% { border-color:#fff #424373 #424373 #424373; }
	25% { border-color:#424373 #fff #424373 #424373; }
	50% { border-color:#424373 #424373 #fff #424373; }
	75% { border-color:#424373 #424373 #424373 #fff; }
}
@keyframes spin {
	0% { border-color:#fff #424373 #424373 #424373; }
	25% { border-color:#424373 #fff #424373 #424373; }
	50% { border-color:#424373 #424373 #fff #424373; }
	75% { border-color:#424373 #424373 #424373 #fff; }
}
@media screen and (min-width:600px) {
	.form {
		display:table;
		width:100%;
		max-width:700px;
		margin:40px auto;
		text-align:left;
	}
	.form-left {
		display:table-cell;
		width:50%;
		padding-right:20px;
	}
	.form-right {
		display:table-cell;
		width:50%;
		padding-left:20px;
	}
}
.button {
	display:inline-block;
	line-height:35px;
	padding:0 15px;
	margin:10px 0;
	min-width:200px;
	color:#fff !important;
	text-decoration:none;
	background-color:#424373;
	-webkit-transition:background-color 200ms;
	-moz-transition:background-color 200ms;
	transition:background-color 200ms;
}
@media screen and (min-width:770px) {
	.button {
		margin:5px 0;
		min-width:0;
	}
}
.button:hover {
	background-color:#525393;
}
input, textarea {
	width:100%;
	margin:0;
	padding:5px;
	vertical-align:top;
	border:none;
	background:rgba(255,255,255,0.8);
	resize:none;
	-webkit-transition:background-color 200ms;
	-moz-transition:background-color 200ms;
	transition:background-color 200ms;
}
input:focus, textarea:focus {
	background:rgba(255,255,255,1);
	outline:none;
}
input {
	height:30px;
}
textarea {
	height:170px;
}
h1 {
	display:inline-block;
	font-family:'Bree Serif';
	font-size:40px;
	font-weight:normal;
	letter-spacing:-0.02em;
	line-height:1.5em;
	border-bottom:1px solid rgba(0,0,0,0.2);
	margin:0.5em 0 1.5em 0;
}
h2 {
	display:inline-block;
	font-family:'Bree Serif';
	font-size:25px;
	font-weight:normal;
	text-transform:uppercase;
	line-height:1.5em;
	border-bottom:1px solid rgba(0,0,0,0.2);
	margin:1em 0 1.5em 0;
}
h3 {
	display:block;
	font-family:'Bree Serif';
	font-size:16px;
	font-weight:normal;
	text-transform:uppercase;
	line-height:1.5em;
	margin:0 0 1.5em 0;
}
p {
	margin:0 0 1em;
	line-height:1.3em;
}
.content a,
.content a:visited,
.content a:active {
	color:#424373;
}
.ingress {
	font-style:italic;
	font-weight:bold;
}
.quoted {
	font-style:italic;
}
.text-centered {
	text-align:center;
}
footer {
	position:relative;
	text-align:center;
	font-size:14px;
	font-style:italic;
	color:#fff;
	padding:70px 0;
}
footer:before {
	content:"";
	position:absolute;
	left:0;
	top:-31px;
	right:0;
	height:31px;
	background:url(../img/footer-top.png) no-repeat 50% 0;
}
