/*!
 * IE10 viewport hack for Surface/desktop Windows 8 bug
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*
 * See the Getting Started docs for more information:
 * http://getbootstrap.com/getting-started/#support-ie10-width
 */
@-ms-viewport {
	width: device-width;
}

@-o-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

body {
	background-color: #eee;
	padding-bottom: 40px;
}

.pull-right {
	float: right;
}

.pull-left {
	float: left;
}

.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.select2-container--default .select2-results > .select2-results__options {
	max-height: 300px;
}

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

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

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

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

.view-title {
	padding-bottom: 50px;
	text-align: center;
}

.view-title h1 {
	color: #393f4a;
	font-size: 24px;
	font-weight: 500;
	margin: 15px 0 10px;
}

.view-title p {
	color: #777;
	font-size: 16px;
	margin: 0;
}

.authentication-area {
	background-color: #fff;
	border: 1px solid #d6e2ed;
	padding: 43px 50px 50px;
}

.authentication-area form {
	margin: 0;
}

.authentication-text {
	align-items: center;
	margin-bottom: 25px;
}

.authentication-img {
	margin-right: 15px;
}

.authentication-img img {
	max-width: 48px;
}

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

.authentication-text-text label {
	margin: 10px 0 47px;
	display: block;
	color: #777;
	font-size: 16px;
}

.authentication-text-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-text-text p {
	color: #777;
	font-size: 14px;
	margin: 8px 0 0;
}

.authentication-text-text .fa {
	color: #b6c9da;
}

.site-container.container {
	padding-top: 30px;
}

.select2-container .select2-selection--single {
	height: 48px;
}

.select2-container--default .select2-selection--single {
	border-color: #b7c9d9;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	color: #444;
	font-size: 16px;
	line-height: 36px;
	padding: 6px 20px 6px 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	width: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #b6c9d9 transparent transparent transparent;
	border-width: 7px 6px 0 6px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #b6c9d9 transparent;
	border-width: 0 6px 7px 6px;
}

.select2-search__field {
	border-color: #b6c9d9;
	color: #444;
	font-size: 16px;
	height: 48px;
	line-height: 48px;
}

.select2-dropdown {
	border-color: #b6c9d9;
}

.button {
	background-color: #509fe2;
	border: 1px solid #287dc1;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	padding: 16px 28px;
	text-decoration: none;
}

.button:hover,
.button:focus {
	background-color: #3a93dd;
	border-color: #2971a9;
}

.authentication-buttons {
	margin-top: 30px;
	text-align: center;
}

.authentication-buttons:after {
	clear: both;
	content: '';
	display: table;
}

.authentication-buttons .cancel-link {
	float: right;
	margin-top: 25px;
}

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

.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: #686d77;
	font-weight: 500;
	text-decoration: underline;
}

.site-container {
	min-height: calc(100vh - 238px); /* Height of footer + header */
}

.site-header .user-area {
	bottom: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.site-header .user-area-button {
	background-color: #fff;
	border: none;
	border-left: 1px solid #fff;
	cursor: pointer;
	padding: 20px;
	overflow: hidden;
}

.user-area:hover .user-area-button {
	background-color: #f9faff;
	border-left-color: #d4e1ec;
}

.user-area:hover .user-area-caret {
	transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

.user-area-img img {
	border-radius: 50%;
	max-width: 40px;
}

.user-area-img {
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
}

.user-area-text {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}

.user-area-name,
.user-area-email {
	display: block;
}

.user-area-name {
	color: #393f49;
	font-size: 14px;
	font-weight: 700;
}

.user-area-email {
	color: #9da5b0;
	font-size: 13px;
}

.user-area-caret {
	border-color: #b6c9d9 transparent transparent transparent;
	border-style: solid;
	border-width: 7px 6px 0 6px;
	display: inline-block;
	height: 0;
	margin-left: 20px;
	vertical-align: middle;
	width: 0;
}

.user-area-dropdown {
	display: none;
	position: absolute;
	right: 0;
	font-size: 14px;
}

.user-area-dropdown-item {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.1);
	margin: 6px;
	padding: 20px;
}

.user-area-dropdown-item i {
	color: #b6c9d9;
	margin-left: 4px;
}

.user-area:hover .user-area-dropdown {
	display: block;
}

.user-area-dropdown a {
	color: #393f48;
	text-decoration: none;
	white-space: pre;
}

.user-area-dropdown a:hover,
.user-area-dropdown a:focus {
	text-decoration: underline;
}

/* Tooltips */

[data-tooltip] {
	position: relative;
	cursor: help;
}

.tooltip[data-tooltip]:hover:after,
.tooltip[data-tooltip]:hover:before {
	display: block;
}

.tooltip[data-tooltip]:after {
	white-space: normal;
	min-width: 330px;
	line-height: 1.4;
}

[data-tooltip]:after,
[data-tooltip]:before {
	bottom: 100%;
	display: none;
	left: 50%;
	pointer-events: none;
	position: absolute;
	z-index: 994;
}

[data-tooltip]:after {
	background: #5f6197;
	border-radius: 5px;
	color: #fff;
	content: attr(data-tooltip);
	font-size: 14px;
	margin-bottom: 20px;
	margin-left: -30px;
	padding: 20px;
	white-space: pre;
}

[data-tooltip]:before {
	border-color: #5f6197 transparent transparent transparent;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	content: '';
	height: 0;
	margin-bottom: 10px;
	margin-left: -10px;
	width: 0;
}

@media ( max-width: 767px ) {
	.user-area-text {
		display: none;
	}

	.user-area-caret {
		margin-left: 0;
	}

	.view-header {
		margin-left: 20px;
		margin-right: 20px;
	}

	.authentication-area {
		margin-left: 20px;
		margin-right: 20px;
		padding: 20px;
	}

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

	.authentication-buttons .cancel-link {
		display: block;
		float: none;
	}
}

body {
	background: #f3f6ff;
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	padding: 0;
	margin: 0;
}

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

.site-header .logo {
	background: url('../img/logo-edd-dark.svg') no-repeat;
	display: inline-block;
	height: 40px;
	width: 224px;
	text-indent: -9999px;
	position: relative;
	margin: 20px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (   min--moz-device-pixel-ratio: 2), only screen and (     -o-min-device-pixel-ratio: 2/1), only screen and (        min-device-pixel-ratio: 2), only screen and (                min-resolution: 192dpi), only screen and (                min-resolution: 2dppx) {

	/* Retina-specific stuff here */
	.site-header .logo {
		background-image: url('../img/logo-edd-dark.svg');
		background-size: contain;
	}

}

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

.mi-to-wp {
	display: flex;
	justify-content: center;
}

.mi-to-wp .logo {
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
	margin: 0 30px;
}

.logo-arrow {
	position: relative;
}

.logo-arrow:after {
	display: block;
	font-family: 'Arial', sans-serif;
	content: '\203A';
	font-size: 60px;
	color: #000;
	line-height: 1;
	margin-top: 46px;
}

/* 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*='monstericon-']:before {
	display: inline-block;
	font-family: 'Misettings';
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

.monstericon-arrow {
	margin-top: 45px;
}

.easydigitaldownloads-separator {
	background: #d6e2ed;
	display: block;
	height: 1px;
	margin: 50px 0;
}


.error-area {
	text-align: center;
}

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

.error-message {
	display: grid;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 36px;
	line-height: 1.5;
}

.error-message a {
	color: #287dc1;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: center;
	align-items: center;
}

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

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

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

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

	.error-area {
		padding-left: 20px;
		padding-right: 20px;
	}

	.error-area span {
		display: block;
		margin: 10px 0;
	}
}
