/* General Modal */

#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #222222;
    display: none;
}

.modal_close { 
	position: absolute; 
	top: 12px; 
	right: 12px; 
	display: block; 
	width: 14px; 
	height: 14px; 
	background: url(~/Content/images/design/customer-care/close-icon.png) no-repeat; 
	z-index: 2; 
}

.modal {
    display: none;
    width: 95%;
    left: 2.5%;
    top: 40px;
    margin-left: 0;
    background: #F8F9FB;
    box-shadow: 0px 0px 2px 1px #555959;
    padding: 30px 40px;
    box-sizing: border-box;
}

.modal.login {
	display: block;
	position: fixed; 
	opacity: 1; 
	z-index: 11000;
}

.modal.login .modal_close { 
	display: none;
}

.modal-header {
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 30px;
}

.modal-contents {
	background: #FFFFFF;
	box-shadow: 0px 0px 2px 1px #E2E6E8;
	margin-top: 20px;
	overflow: hidden;
	padding: 20px 30px 10px;
}

.modal span.quarter {
    width: 100%;
    float: left;
    margin-bottom: 16px;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
}

.modal span.quarter span.quarter {
    margin-bottom: 0;
    box-sizing: border-box;
}

.modal span.half {
    width: 100%;
    float: left;
    margin-bottom: 16px;
    box-sizing: border-box;
    position: relative;
}

.modal span.full {
    width: 100%;
    margin-bottom: 16px;
    float: left;
    box-sizing: border-box;
    position: relative;
}

.modal input {
    width: 100%;
    height: 36px;
    border: none;
    border-bottom: 1px solid #EBEBEB;
    font-size: 15px;
    color: #4A4A4A;
    box-sizing: border-box;
    margin-top: 5px;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: #ffffff !important;
    padding: 0 15px;
    box-sizing: border-box;
}

.modal textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    font-size: 15px;
    min-height: 80px;
    border: 1px solid #EBEBEB;
    padding: 10px 15px;
}

.modal .quarter, .modal .half, .modal full {
	font-size: 15px;
}

.modal-button input[type="submit"] {
    background: #76D085;
    height: 43px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

@media (min-width: 540px) {
.modal span.quarter {
    width: 25%;
}	
}

@media (min-width: 640px) {
.modal {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    padding-bottom: 0;
}

.modal span.half {
    width: 50%;
}

.modal .border-left {
	border-left: 1px solid #EBEBEB;
}

.modal .border-bottom {
	border-bottom: 1px solid #EBEBEB;
}

.modal span.half.border-left input {
	padding-left: 20px;
}

.modal span.half.border-left label {
	padding-left: 20px;
}
}

@media (min-width: 940px) {
.modal {
	top: 200px;
}
}

/* Login Flow */

.forgot-link a, .register-link a {
    font-size: 13px;
    color: #76D085;
    font-weight: 700;
    text-decoration: underline;
    text-transform: capitalize;
}

.forgot-link {
    text-align: center;
    margin-top: 10px;
}


.register-link {
    position: relative;
    width: 100%;
    text-align: center;
    top: 8px;
}

@media (min-width: 640px) {
.forgot-link {
    position: absolute;
    top: 1px;;
    right: 185px;
    width: 200px;
    text-align: right;
    }

.register-link {
    position: absolute;
    width: 200px;
    text-align: left;
    top: 10px;
    right: 317px;
    }
}

.modal.login p {
    margin-top: 19px;
}

/* Subscription Modal */


.csstransforms .modal.subscription-modal input[type=checkbox] + label {
	position: absolute;
	top:  -5px;
	left: 95px;
	width: 100px;
}

.modal.subscription-modal span.full:nth-child(1) {
    display: none;
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(1):before {
    content: 'Source:';
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(2):before {
    content: 'Expires:';
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(3):before {
    content: 'Auto Renew:';
    padding-right: 10px;
}

.modal.subscription-modal span.full:nth-child(2) {
    margin-top: 10px;
}

.modal.subscription-modal span.full:last-child {
    margin-bottom: 0;
}

.modal.subscription-modal button.small {
	padding: 0 10px;
	box-sizing: border-box;
}

.csstransforms .modal.subscription-modal input[type=checkbox] + label {
	font-size: 12px;
}

.modal.subscription-modal .modal-contents {
	padding-bottom: 20px;
}


@media (min-width: 540px) {
.modal.subscription-modal span.full:nth-child(1) {
    display: block;
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(1):before {
    content: '';
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(2):before {
    content: '';
}

.modal.subscription-modal span.full:nth-child(1n+2) span.quarter:nth-child(3):before {
    content: '';
    padding-right: 0;
}

.modal.subscription-modal span.full:nth-child(2) {
    margin-top: 0;
}

.csstransforms .modal.subscription-modal input[type=checkbox] + label {
	left: 0;
	}

.modal.subscription-modal .border-bottom {
	border-bottom: 1px solid #EBEBEB;
}

.modal.subscription-modal span.quarter button.small, .modal.subscription-modal span.quarter input[type=checkbox] + label {
	position: absolute;
	top: -5px;
	right: 0;
	min-width: 90%;
	width: 98%;
}
}

@media (min-width: 640px) {
	.modal.subscription-modal span.quarter button.small, .modal.subscription-modal span.quarter input[type=checkbox] + label {
		min-width: 100px;
		width: 100px;
	}
}

.login-logo{
    display:none;
    background-repeat:no-repeat;
}

@media (min-width: 400px){
    .login-logo{
        display:block;
        position:absolute;
        right:40px; 
        top: 15px;
        width: 130px;
        height: 80px;
        background-size: 100%;
    }
}

