* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	background-color: #f8f8f8;
	margin: 0;
	padding: 0;
}

.site-header {
	background: #fff;
	padding: 20px;
	border-bottom: 1px solid #e5e7eb;
	position: relative;
}

.site-container {
	padding-top: 30px;
	min-height: calc(100vh - 77px - (105px + 50px)); /* Viewport height - header height - (footer height + footer margin) */
}

.container {
	margin: 0 auto;
	max-width: 750px;
}

.authentication-area,
.error-area {
	padding: 50px;
	background-color: #fff;
	border: 1px solid #e5e7eb;
}

@media ( max-width: 767px ) {
	.error-area,
	.authentication-area {
		margin: 20px;
		padding: 20px;
	}
}

/** Auth */
.authentication-area form {
	margin: 0;
}

.authentication-text {
	color: #777;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
	max-width: 550px;
	margin: 0 auto 30px;
}

.authentication-text h2 {
	color: #393f4c;
	font-size: 24px;
	text-align: center;
	display: block;
	line-height: 1.4;
	margin-bottom: 10px;
	margin-top: 0;
	font-weight: 400;
}

.authentication-buttons {
	text-align: center;
}

.wpsp-to-wp {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

@media( max-width: 767px ) {

	.wpsp-to-wp {
		flex-direction: column;
	}
}

.wpsp-to-wp .icon-arrow {
	margin: 0 30px;
}

@media( max-width: 767px ) {

	.wpsp-to-wp .icon-arrow {
		margin: 30px 0;
		transform: rotate(90deg);
	}
}

.wpsp-to-wp .logo {
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
}

/** Errors */
.error-area {
	text-align: center;
}

.error-area h2 {
	font-size: 24px;
}

.error-area h5 {
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 36px;
}

.error-area .button {
	min-width: 220px;
}

.error-area span {
	display: inline-block;
	font-size: 18px;
	font-style: italic;
	color: #666;
	margin: 0 10px;
}

.cancel-link-container {
	text-align: center;
}

.cancel-link {
	color: #999;
	font-size: 16px;
	margin-top: 25px;
	text-decoration: underline;
	display: inline-block;
}

.cancel-link:hover,
.cancel-link:focus {
	text-decoration: none;
}

.app-footer {
	color: #999;
	font-size: 13px;
	text-align: center;
	border-top: 1px solid #ebebeb;
	margin-top: 50px;
	padding: 30px 20px;
}

.app-footer p {
	margin: 0 0 14px;
}

.app-footer ul {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.app-footer ul li {
	display: inline-block;
	margin: 0 13px;
}

.app-footer a {
	color: #999;
	font-weight: 500;
	text-decoration: underline;
}

/** Buttons */
.button {
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	padding: 16px 28px;
	background-color: #428bca;
	border: 1px solid #2f78b7;
	border-radius: 3px;
	display: inline-block;
}

.button:hover,
.button:focus {
	background-color: #2f78b7;
}

@media( max-width: 767px ) {
	.button {
		display: inline-block;
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Icons font */
@font-face {
	font-family: 'Misettings';
	src: url('../fonts/icons.woff2?v=7.5.0') format('woff2'),
	url('../fonts/icons.woff?v=7.5.0') format('woff'),
	url('../fonts/icons.ttf?v=7.5.0') format('truetype'),
	url('../fonts/icons.otf?v=7.5.0') format('opentype');
	font-weight: 400;
	font-style: normal;
}

[class*='icon-']:before {
	display: inline-block;
	font-family: 'Misettings';
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-arrow:before {
	content: '\f01d';
	color: #acbdc9;
	font-size: 35px;
}

.separator {
	background: #ebebeb;
	display: block;
	height: 1px;
	margin: 30px 0 50px;
}
