html {
	font-size: 10px;
}

@media only screen and (max-width:1024px) {
	html {
		font-size: 9.375px;
	}
}
@media only screen and (max-width:768px) {
	html {
		font-size: 10px;
	}
}
@media only screen and (max-width:400px) {
	html {
		font-size: 9.375px;
	}
}

html, body {
	height: 100%;
}
body {
	background: #FFF;
	font-family: sans-serif;
	font-size: 1.6rem;
	line-height: 3rem;
	color: #6e6e6e;
}

a, a:visited {
	color: #343a40;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
a:hover, a:focus {
	color: #343a40;
}

h1, h2, h3, h4, h5, h6, .h01, .h02, .h03, .h04, .h05, .h06 {
	font-family: sans-serif;
	color: #2684EA;
	font-style: normal;
	text-rendering: optimizeLegibility;
	margin-bottom: 2.1rem;
}

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
	margin: 0;
	padding: 0;
	color: #2683ea;
}

h3 {
    font-size: x-large;
}

ul li {
    margin-left: 35px;
}

a {
	text-decoration: none;
	line-height: inherit;
	color: #2683ea;
	font-style: italic;
}
a img {
	border: none;
}

.row {
	width: 94%;
	max-width: 1170px;
	margin: 0 auto;
}
.row:before, .row:after {
	content: "";
	display: table;
}
.row:after {
	clear: both;
}
.row .row {
	width: auto;
	max-width: none;
	margin-left: -20px;
	margin-right: -20px;
}

@media screen and (max-width:1024px) {
	.row .row {
		margin-left: -18px;
		margin-right: -18px;
	}
}

@media screen and (max-width:768px) {
	.row {
		width: auto;
		padding-left: 30px;
		padding-right: 30px;
	}
	.row .row {
		padding-left: 0;
		padding-right: 0;
		margin-left: -15px;
		margin-right: -15px;
	}
}

@media screen and (max-width:600px) {
	.row {
		padding-left: 25px;
		padding-right: 25px;
	}
	.row .row {
		margin-left: -10px;
		margin-right: -10px;
	}
}

@media screen and (max-width:400px) {
	.row .row {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}
}


header {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 700;
	background: transparent;

	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;

	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;

	-moz-transition: transform 0.4s ease-in-out;
	-o-transition: transform 0.4s ease-in-out;
	-webkit-transition: transform 0.4s ease-in-out;
	-ms-transition: transform 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}
header .row {
	height: auto;
	position: relative;
}

header .logo {
	position: absolute;
	left: 26px;
	top: 0;
	margin-top: 78px;
}

@media only screen and (max-width:1024px) {
	header .logo {
		left: 24px;
		margin-top: 60px;
	}
}
@media only screen and (max-width:768px) {
	header .logo {
		left: 51px;
		margin-top: 48px;
	}
}
@media only screen and (max-width:600px) {
	header .logo {
		left: 41px;
	}
}
@media only screen and (max-width:400px) {
	header .logo {
		left: 28px;
		margin-top: 19px;
	}
}

#main-404-content {
	background: #151515;
	width: 100vw;
	height: 100vh;
	min-height: 720px;
	z-index: 600;
	position: relative;

	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;

	-moz-transition: transform 0.4s ease-in-out;
	-o-transition: transform 0.4s ease-in-out;
	-webkit-transition: transform 0.4s ease-in-out;
	-ms-transition: transform 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

/* static background */
#main-404-content.main-content-static {
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

.content-wrap {
	width: 100%;
	height: 100%;
	display: table;
	position: relative;
}
/* .shadow-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .9;

	background: -moz-linear-gradient(left, black 0%, black 20%, transparent 100%);  /* FF3.6-15 */
	/* background: -webkit-linear-gradient(left, black 0%, black 20%, transparent 100%);  /* Chrome10-25,Safari5.1-6 */
	/* background: linear-gradient(to right, black 0%, black 20%, transparent 100%);  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#00000000', GradientType=1);  /* IE6-9 */
/* }  */
.main-content {
	display: table-cell;
	vertical-align: middle;
	position: relative;
	z-index: 700;
}
.main-content h1 {
	font-family: sans-serif;
	text-transform: uppercase;
	letter-spacing: -.2rem;
	font-size: 9.4rem;
	line-height: 1;
	margin-bottom: 1.2rem;
	padding-top: 2.4rem;
	position: relative;
}

.main-content h2 {
	font-family: sans-serif;
	text-transform: uppercase;
	letter-spacing: -.2rem;
	font-size: 7.4rem;
	line-height: 1;
	margin-bottom: 0.5rem;
	padding-top: 2.4rem;
	position: relative;
}
.main-content h2::before {
	content: "";
	display: block;
	background: #2683ea;
	width: 120px;
	height: 3px;
	position: absolute;
	top: 0;
	left: 9px;
}


.main-content p {
	color: #2683ea;
	font-family: sans-serif;
	font-size: 1.8rem;
	max-width: 380px;
	/* text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); */
}

#main-404-content footer {
	position: absolute;
	width: 100%;
	min-height: 8rem;
	bottom: 0;
	left: 0;
	z-index: 700;
}

/* social links */
#main-404-content .social-links {
	text-align: right;
	margin-bottom: 3rem;
}
#main-404-content .social-links ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 3rem;
}
#main-404-content .social-links ul li {
	display: inline-block;
	padding: 0 .9rem;
}
#main-404-content .social-links ul li:last-child {
	padding-right: 0;
}

/* bottom links */
#main-404-content .bottom-links .links {
	display: block;
	list-style: none;
	margin: 0 0 .9rem 0;
	padding: 0;
	font-family: sans-serif;
	font-size: 1.7rem;
}
#main-404-content .bottom-links .links:before,
#main-404-content .bottom-links .links:after {
	content: "";
	display: table;
}
#main-404-content .bottom-links .links:after {
	clear: both;
}
#main-404-content .bottom-links li {
	float: left;
	padding: 0 1.2rem;
}
#main-404-content .bottom-links li:first-child {
	padding-left: 0;
}
#main-404-content .bottom-links .credits {
	font-size: 1.4rem;
	line-height: 3rem;
	color: rgba(255, 255, 255, 0.2);
}
#main-404-content .bottom-links .credits a {
	color: rgba(255, 255, 255, 0.2);
	display: inline-block;
	border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
}
#main-404-content .bottom-links .credits a:hover,
#main-404-content .bottom-links .credits a:focus {
	color: #FFFFFF;
}

.error-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-text, .error-image {
    flex: 1;
    padding: 10px;
}

/*
 * responsive
 * -------------------------------------------------------------------
 */

 @media only screen and (max-width:1000px) and (max-height: 1000px) {
 	header {
 		display: none;
 	}
 }

 @media only screen and (max-width:1024px) {
 	.main-content h1 {
 		font-size: 8.6rem;
 	}
 }
 @media only screen and (max-width:768px) {
 	.main-content h1 {
 		font-size: 7.2rem;
 	}
 	#main-404-content .social-links {
 		text-align: left;
 	}
 	#main-404-content .social-links ul {
 		font-size: 2.8rem;
 	}
 	#main-404-content .social-links li:first-child {
 		padding-left: 0;
 	}
 	#main-404-content .bottom-links .links {
 		font-size: 1.6rem;
 	}
 }
 @media only screen and (max-width:600px) {
 	.main-content h1 {
 		font-size: 6.2rem;
 	}
 	.main-content h2 {
 		font-size: 5.0rem;
 	}
 }
 @media only screen and (max-width:400px) {
 	.main-content h1 {
 		font-size: 5.5rem;
 	}
 	.main-content h2 {
 		font-size: 4.0rem;
 	}
 	#main-404-content .social-links ul {
 		font-size: 2.6rem;
 	}
 }
 @media only screen and (max-width:380px) {
 	.main-content h1 {
 		font-size: 5.2rem;
 	}
 	.main-content h2 {
 		font-size: 4.0rem;
 	}
 }
