/**
 *
 * @TODO (optional) move to theme when done
 *
 */

.body--popup-is-active:before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, .5 );
	z-index: 10000;
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 75vw;
	height: auto;
	max-width: 500px;
	max-height: 500px;
	padding: 35px;
	background-color: #fff;
	border-radius: 5px;
	opacity: 0;
	transform: translate( -50%, -50% );
	visibility: hidden;
	pointer-events: none;
}

.popup--is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 50000;
}

.popup__close {
	position: absolute;
	top: 5px;
	right: 5px;
	display: block;
	width: 25px;
	font-size: 18px;
	color: #d00a00;
	line-height: 25px;
	background: none;
	border: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.popup h3 {
    margin-bottom: 15px;
    font-size: 35px;
    line-height: 1.4em;
    font-weight: 800;
}

.popup p {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.4em;
}

.popup__description form {
    position: relative;
}

.email-input input {
    padding-right: 120px;
}

.email-submit-button {
    width: auto;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}

.email-submit-button input {
    padding: 13px 25px!important;
}

.popup__link {
    background: #4672b7;
    background: -moz-linear-gradient(left, #4672b7 0%, #6791d3 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#4672b7), color-stop(100%,#6791d3));
    background: -webkit-linear-gradient(left, #4672b7 0%,#6791d3 100%);
    background: -o-linear-gradient(left, #4672b7 0%,#6791d3 100%);
    background: -ms-linear-gradient(left, #4672b7 0%,#6791d3 100%);
    background: linear-gradient(to right, #4672b7 0%,#6791d3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4672b7', endColorstr='#6791d3',GradientType=1 );
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    display: inline-block;
    padding: 13px 78px 13px 23px;
    line-height: 1em;
    position: relative;
    -moz-box-shadow: inset 0 0 13px rgba(0,0,0,0.21);
    -webkit-box-shadow: inset 0 0 13px rgba(0,0,0,0.21);
    box-shadow: inset 0 0 13px rgba(0,0,0,0.21);
    border: 0;
    cursor: pointer;
    text-align: left;
    letter-spacing: 1px;
}

.popup__link:after {
    content: "\f04c";
    position: absolute;
    right: 18px;
    top: 40%;
    font-size: 9px;
    font-family: 'icomoon';
}
