/*------------------------------------------------------------------------*/
/*  BlockUI 
/*------------------------------------------------------------------------*/
.blockUI {
	padding: 10px;
	margin: 0;
	width: 30%;
	top: 40%;
	left: 35%;
	text-align: center;
	color: #333;
	border: 3px solid #aaa;
	background-color: #fff;
	cursor: wait;
	font-size: 19px;
	font-family: 'Montserrat';
}

/*#page .entry-content .leaky_paywall_custom_subscription_options input {
    width: auto !important;
}*/

@media only screen and (max-width: 800px) {
	.blockUI {
		width: 70%;
		top: 35%;
		left: 15%;
		font-size: 16px;
		padding: 6px;
	}
}

/*------------------------------------------------------------------------*/
/*  Subscription (payment) page 
/*------------------------------------------------------------------------*/
#page .subscribe-headline {
	font-size: 1.95em;
    text-align: center;
    margin-bottom: 0;
}

.taco-disclaimer {
    text-align: center;
    font-size: 0.95em;
}

.payment-grid {
	margin-bottom: 40px;
}

.how-it-works-wrapper ol {
	margin-left: 23px;
	font-size: 97%;
}

.how-it-works-wrapper h3 {
    margin-top: 8px;
    margin-top: 0.5rem;
}

.payment-form-wrapper {
	padding: 10px;
    box-shadow: 0px 0px 8px 1px rgba(50,50,50,0.3);
    background: #f8f8f8;
    border-radius: 2px;
}

.choose-payment {
	margin-bottom: 30px;
}

.choose-payment .choose-payment__list {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 55px;
}

.choose-payment__item {
	font-size: 18px;
	width: 49.6%;
	height: 100%;
	display: inline-block;
	margin: 0;
	padding: 0;
}

.choose-payment__item:last-of-type {
	float: right;
}

.payment-form-wrapper h4 {
	font-family: EquityB;
    font-size: 18px;
    text-transform: none;
    font-weight: normal;
    margin: 5px 0 8px !important;

    font-family: Montserrat;
	margin-left: 2px !important;
	font-size: 17px;
}

.payment-grid .three-of-five {
	width: 52%;
}

.payment-grid .two-of-five {
	width: 42%;
}

.payment-form__safe,
.payment-form__refund {
    display: block;
    font-size: 75%;
    margin-bottom: 11px;
    margin-bottom: 0.7rem;
}

.payment-form__safe {
	color: #238A23;
}

.choose-payment__list label {
	height: 100%;
	background-color: #CECECE;
	text-align: center;
	overflow: hidden;
	padding: 0;
	margin: 0;
	position: relative;
	cursor: pointer;

	font-family: Montserrat;
	font-size: 17px;
}

.choose-payment__list label:hover {
	background-color: #B1B1B1;
}

.choose-payment__yearly-option {
	font-size: 18px;
}

#leaky-paywall-payment-form .choose-payment__yearly-option input[type="checkbox"] {
	width: auto !important;
	height: auto !important;
	margin: 0 5px 0 0;
	padding: 0;
	border: none !important;
}

.default-price-label {
    /*font-family: Montserrat;
    font-size: 15px;*/
    border-radius: 5px 0 0 5px;
}

.custom-price-label {
	border-radius: 0 5px 5px 0;
}

.default-price-label,
.custom-price-label {
	line-height: 55px;
	vertical-align: middle;
}

.choose-payment__list label.active-label {
	background-color: #1C93C5;
	color: white;
}

#page input#custom-amount {
	width: 60px !important;
	height: auto;
	padding: 2px;
	font-size: 16px;
	background-color: white;
	margin: 14px auto 0;;
}

.invisible-radio-button {
	border: 0;
    clip: rect(0,0,0,0);
    height: 1px !important;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.subscription-payment-form .buttons {
    margin-bottom: 28px;
    margin-bottom: 1.8rem;
}

.subscription-payment-form .buttons button {
    margin: 0 0 5px 0;
    width: 100%;
    font-size: 20px;
    border: 1px solid #C1D8F1;
    border-radius: 5px;
    padding: 11px;
    font-family: Montserrat;
    font-size: 15px;
    text-transform: uppercase;
    background-color: #1C93C5;
}

.subscription-payment-form .buttons button:hover {
	background-color: #13678A;
}

#otherAmount {
	top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: absolute;
}

input#custom-amount {
	display: none;
}

.active-label input#custom-amount {
	display: block;
}

.active-label .label-text {
	display: none;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

@media screen and (max-width: 650px) {
	.payment-grid .three-of-five,
	.payment-grid .two-of-five {
	    width: auto;
	}

	.payment-grid .two-of-five {
		max-width: 350px;
	    margin-left: auto;
	    margin-right: auto;
	}

	.how-it-works-wrapper ol {
		font-size: 100%;
	}
}

/****************************************************************
 *
 *	Article styles
 *
 ****************************************************************/

/*------------------------------------------------------------------------*/
/*  Bottom box 
/*------------------------------------------------------------------------*/
.paywall-bottom-box {
	position: fixed;
	bottom: 10px;
	left: 0;
	right: 0;
	width: 95%;
	max-width: 820px;
	margin: 0 auto;
	background-color: #333;
	color: white;
	z-index: 10000;
	font-family: EquityB;
	font-size: 1.1em;
	text-align: center;
	padding: 10px 20px;
	border-radius: 6px;
	box-shadow: 0 0 1px 1px rgba(0,0,0,.25);
}

.paywall-bottom-box a {
	color: #81d3f6;
}

.paywall-bottom-box a:hover {
	color: white;
}

.paywall-bottom-box .close-button {
	position: absolute;
	font-size: 31px;
	height: 33px;
	width: 33px;
	background: #333;
	color: white;
	border: 1px solid white;
	border-radius: 50%;
	top: -10px;
	right: -11px;
	cursor: pointer;
	box-shadow: 0 0 1px 1px rgba(0,0,0,.25);
}

.close-button .close-button-inside {
	font-size: 35px;
	line-height: 1;
	position: absolute;
	right: 6px;
	top: -5px;
}

/*------------------------------------------------------------------------*/
/*  Bottom bar 
/*------------------------------------------------------------------------*/
.bottom-bar {
    bottom: 0px;
    position: fixed;
    z-index: 7000;
    background: #C82502 none repeat scroll 0% 0%;
    color: #FFF;
    height: 33px;
    line-height: 1;
    margin: 0px;
    padding: 3px 0px 9px;
    padding: 0.1875rem 0px 0.5625rem;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-family: Arial;
}
.bottom-bar .row {
	padding: 4px 0 1px;
	padding: 0.3rem 0 0.1rem;
}
.subscribe-now a {
	color: white;
	font-weight: bold;
}

/*------------------------------------------------------------------------*/
/*  Paywall on articles when paywall is hit 
/*------------------------------------------------------------------------*/
.entry-content #leaky_paywall_message {
	position: relative;
	background-color: white;
	color: #333;
	border: none;
	box-shadow: none;
	line-height: 1.35;
	font-size: 1em;
	margin: -20px 0 0 0;
	margin: -1.3rem 0 0 0;
	padding: 0;
	width: 100%;
}

.entry-content #leaky_paywall_message .leaky_paywall_login-or-subscribe {
	background-color: grey;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 0.95em;
}

.leaky_paywall_login-or-subscribe a {
	text-decoration: underline;
}

#leaky_paywall_message:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -240px;
	height: 240px;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}

#leaky_paywall_message h2 {
	margin-top: 35px;
	margin-top: 2.2rem;
}

/*------------------------------------------------------------------------*/
/*  Hide/change stuff when paywall is hit
/*------------------------------------------------------------------------*/
.alpc-hit-paywall .paywall-bottom-box,
.alpc-hit-paywall .bottom-box,
.alpc-hit-paywall .footer-widgets-container {
	display: none;
}

/****************************************************************
 *
 *	Page styles
 *
 ****************************************************************/
/*------------------------------------------------------------------------*/
/*  Profile page 
/*------------------------------------------------------------------------*/
#leaky-paywall-profile .leaky-paywall-field-label,
#leaky-paywall-update-credit-card label,
#leaky-paywall-update-password label {
	width: 220px;
	float: left;
	clear: both;
}

#page #leaky-paywall-profile-wrap .issuem-leaky-paywall-field-input {
	width: 300px !important;
}

#leaky-paywall-profile-wrap input {
	color: black;
}

#leaky-paywall-profile-wrap input[readonly],
#leaky-paywall-username {
	color: grey;
	cursor: not-allowed;
}

#page #leaky-paywall-profile input[type="submit"],
#page #leaky-paywall-update-credit-card input[type="submit"],
#page #leaky-paywall-update-password input[type="submit"] {
	width: auto !important;
	word-wrap: normal;
	white-space: normal;
	height: auto;
	margin-top: 8px;
	margin-top: 0.5rem;
	min-height: 48px;
}

#page #leaky-paywall-update-credit-card #leaky-paywall-cc-exp-year {
	width: 90px !important;
}

#page #leaky-paywall-update-credit-card #leaky-paywall-cc-exp-month {
	width: 90px !important;
}

.first-login-message p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.first-login-message p:nth-of-type(2) {
	margin-bottom: 0;
}

.first-login-message {
	margin-bottom: 40px;
	padding: 20px;
	border: 4px dotted rgb(237, 110, 30);
}

#leaky-paywall-profile-wrap .first-login-message form {
	margin: 32px 0 6px;
	margin: 2rem 0 0.4rem;
}

.first-login-message .submit {
	margin: 16px 0 0;
	margin: 1rem 0 0;
}

#leaky-paywall-profile-wrap form {
	margin-bottom: 32px;
	margin-bottom: 2rem;
}

.form-feedback-messages {
	margin-bottom: 32px;
	margin-bottom: 2rem;
}

/* see here for nice styling! http://isabelcastillo.com/error-info-messages-css */
#leaky-paywall-profile-wrap .save,
#leaky-paywall-profile-wrap .error {
	margin: 10px 0px;
	padding:12px;
}

#leaky-paywall-profile-wrap .save {
    color: #4F8A10;
    background-color: #DFF2BF;
}

#leaky-paywall-profile-wrap .error {
    color: #D8000C;
    background-color: #FFBABA;
}

#leaky-paywall-profile-wrap .save i,
#leaky-paywall-profile-wrap .error i {
    margin: 10px 22px;
    font-size: 2em;
    vertical-align: middle;
}

#leaky-paywall-profile p,
#leaky-paywall-update-credit-card p,
#leaky-paywall-update-password p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

@media only screen and (max-width: 640px) {
	#leaky-paywall-profile-wrap h2 {
		margin: 3rem 0px 1rem;
	}

	#leaky-paywall-profile p,
	#leaky-paywall-update-credit-card p,
	#leaky-paywall-update-password p {
		margin-bottom: 0;
	}

	#leaky-paywall-profile-wrap label {
		font-size: 0.9em;
		float: none;
		margin-bottom: 5px;
	}

	#page #leaky-paywall-profile-wrap .issuem-leaky-paywall-field-input {
		width: 100% !important;
		height: 44px;
	}

	#page #leaky-paywall-profile input[type="submit"],
	#page #leaky-paywall-update-credit-card input[type="submit"],
	#page #leaky-paywall-update-password input[type="submit"] {
		margin-top: 1rem;
	}
}

@media only screen and (max-width: 480px) {
	.first-login-message {
		padding: 13px;
		font-size: 97%;
	}
}

/*------------------------------------------------------------------------*/
/*  Login page 
/*------------------------------------------------------------------------*/

#loginform {
	max-width: 320px;
	margin: 0 auto 48px;
	margin: 0 auto 3rem;
	text-align: right;
}

#loginform label {
	margin-bottom: 4px;
	padding: 0;
}

#page #loginform label,
#page #loginform input[type=text],
#page #loginform input[type=password] {
	width: 100% !important;
}

#loginform #rememberme {
	height: auto;
	margin-right: 4px;
	width: auto !important;
}

#loginform p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
	text-align: left;
}

#loginform .login-password {
	margin-bottom: 6px;
	margin-bottom: 0.4rem;
}

#loginform .login-remember {
	margin-bottom: 32px;
	margin-bottom: 2rem;
}

#loginform .login-remember label {
	font-size: 90%;
}

#loginform .login-submit {
	margin-bottom: 4px;
	margin-bottom: 0.3rem;
	text-align: right;
}

#loginform #wp-submit {
	width: 224px !important;
}