@import url('https://fonts.googleapis.com/css?family=Assistant:700|Open+Sans');


html {
	overflow-x: hidden;
	width: 100%;
}

body {
	font-family: 'Open Sans', sans-serif!important;
	margin: 0 auto;
	font-weight: 400;
}


body {
	background: #2b323a;
    background-size: cover;
    background-attachment: fixed;
	background-position: center center;
}

body:before {
    content: "";
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;

	-webkit-clip-path: polygon(35% 0, 100% 0%, 100% 100%, 82% 100%);
	clip-path: polygon(35% 0, 100% 0%, 100% 100%, 82% 100%);

	background: #2b323a;

}


html, body, main {
    height: 100%;
}

main {
	margin: 0 auto;
	width: 630px;
	display: table!important;
    text-align: center;
	position: relative;
}

strong, b {
	font-weight: 700;
}

a {
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

.error-container {
	display: table-cell;
	vertical-align: middle;
}

.error-container .title {
	font-size: 73px;
	line-height: 97px;
	font-weight: 700;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 5px;
	color: #fff;
}

.error-container .subtitle {
	font: 32px "Assistant";
	font-weight: 700;

	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 40px;
	color: #fff;
}

.error-container .error-element {
	background-color: #1c2125;
	padding: 50px;
	border-top: 2px solid #e12f61;
}

.error-container .error-element .title-element {
	font-size: 31px;
	line-height: 37px;
	font-weight: 700;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 33px;
	color: #303b43;
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.error-container:not(.demo-mode) .error-element .title-element:after{
	content: "";
	width: 14px;
	height: 14px;
	display: block;
	position: absolute;
	background: url("../img/sprite.png");
	background-position: -50px -12px;
	right: -40px;
	top: 13px;
}

.error-container .error-element .title-element.open:after{
	background-position: 0px -12px;
}



.error-container .error-element .title-element:not(.open){
	padding-bottom: 0px;
}

.error-container .error-element table td {
	vertical-align: top;
	padding: 0 0.5rem 5px 0;
}

.error-container .error-element table tr td p {
	font-size: 16px;
	line-height: 25px;
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 3px;
	text-align: left;
	color: #fff;
}

.error-container .error-element table tr td:first-child p {
	 white-space: nowrap;
}

.error-container .error-element table tr td:last-child p {
	word-break: break-all;
}

.error-container .error-element .description {
	font-size: 16px;
	line-height: 27px;
	padding-bottom: 0;
	color: #fff;
	margin-bottom: 0;
	text-align: left;
}



.error-container .go-back {
	text-align: center;
	padding-top: 5.8rem;
	padding-bottom: 6.2rem;
	margin: 0;
}

.error-container .go-back a {
	font: 18px "Assistant";	
	line-height: 1;
	font-weight: 700;

	text-decoration: none;
	display: inline-block;
	padding: 1.2rem 4.3rem;
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;

}

.error-container .go-back a:hover {
	color: #2a333a;
	background-color: #fff;
}

.error-container .copyright a{
	display: inline-block;

	color: #fff;
	font-size: 17px;

	position: relative;
	display: inline-block;
	height: 32px;
	width: 130px;
	opacity: 0.5;

	top: 2px;
	margin-left: px;

	transition: opacity .3s ease-in-out;
}

.error-container .copyright a:after{
	content: "";
	position: absolute;
	top: -8px;
	right: 0px;

	width: 130px;
	height: 32px;

	background: url("../img/logo.svg");

}

.error-container .copyright a:hover {
	opacity: 1;
}

.top {
	display: block;
	margin: 0 auto;
	margin-top: 1rem;
	margin-bottom: 4rem;
	width: 128px;
	height: 128px;
	background: no-repeat url("../img/title.png");
	background-size: contain;
}



.table {

	position: relative;
	padding: 0;
	margin: 0;
	padding-top: 35px;
}

.table table {
	display: none;
}

.table.open{
	padding: 35px 0px;
	padding-top: 70px;
}

.table.open table {	
	
	display: block;
}


.table::before {
	content: "";
	display: none;
	width: 42px;
	position: absolute;
	height: 2px;
	background: #697177;
	top: 35px;
	left: 50%;
	margin-left: -21px;
}

.table::after {
	content: "";
	display: block;
	border: solid #697177;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 5px;
	transform: rotate(45deg);
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: -6px;
	cursor: pointer;
}

.table:hover:after {
	border-color: #fff;
}

.table.open::before {
	display: block;
}

.table.open::after {
	transform: rotate(-135deg);
}

@media screen and (max-width: 650px) {
	main {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
	}

	.top {
		width: 80px;
		height: 80px;
		background-size: 80px 80px;
		margin-bottom: 25px;
	}

	.error-container .error-element table tr td p,
	.error-container .error-element .description {
		font-size: 13px;
	}
	.error-container .error-element table td {
		display: block;
		padding: 0;
	}
	.error-container .title {
		font-size: 50px;
		line-height: 70px;
	}
	.error-container .subtitle {
		font-size: 20px;
		line-height: 24px;
		padding-bottom: 25px;
	}
	.error-container .error-element {
		padding: 15px 15px 15px;
	}
}

