/** CSS for Paywall front-end elements **/

#rdm_paywall_upgrade_message, #rdm_paywall_login_message {
	font-family: "HamburgSerialXlightRegular","TeeFranklinLtRegular", "MuseoSans100Regular", "ProximaNovaCnRgRegular", "HelveticaNeueMedCondensed", Helvetica, Arial, sans-serif !important;
	margin-top: 30px;
}

#rdm_paywall_upgrade_message h3, #rdm_paywall_login_message h3 {
	font-size: 2rem;
	font-size: 20px;
}

.rdm_paywall_paragraph ul {
	padding: 2% 0 0 1% !important;
}

.rdm_paywall_subscribe_button {
	font-size: 14px !important;
	padding: 10px 50px 10px 50px !important;
	margin-left: 40px;
}

.rdm_paywall_all_access_bold {
	font-weight: bold;
	font-style: italic;
}

.rdm_paywall_site_name {
	font-weight: bold;
}

.rdm_paywall_premium_image {
	float: right;
}

.rdm_paywall_all_access_icon {
	position: relative;
	top: 2px;
	left: 35px;
}

.rdm_paywall_arrow {
	position: relative;
	top: 3px;
	border-width: 6px 9px 6px 10px;
	border-style: solid;
	border-color: transparent transparent transparent #333;
	content: '';
	float: left;
}

.rdm_paywall_arrow_image {
	position: relative;
	top: 8px;
}

.rdm_paywall_benefits_list {
	width: 50%;
	margin-left: 30px;
}

.rdm_paywall_excerpt {
	border-bottom: 5px solid red;
}


/*** New gate CSS ***/

div.blockUI.blockMsg {
	border: none !important;
	width: 100% !important;
	left: 0% !important;
	top: 60px !important;
	background-color: transparent !important;
	cursor: auto !important;
}

@media only screen and (max-width: 1007px) {
	div.blockUI.blockMsg {
		top: 100px !important;
	}
}


.threshold_columns_container {
	width: 68%;
	background-color: #fff;
	height: 450px;
	left: 50%;
	margin: 0 auto;
	padding: 40px 15px;
	clear: both;
	box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.threshold_columns_container.second_threshold {
	padding: 40px 28px;
}

.threshold_columns_container h2 {
	font-weight: bold;
	text-align: left;
}

.threshold_single_column {
	position: relative;
	width: 23%;
	float: left !important;
	height: 100%;
	margin: 0px 5px;
	text-align: left;
	box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 5px 25px 20px 0px;
	border-right: 1px solid #cccccc;
}

.threshold_single_column:last-child {
	border: none;
}

.threshold_single_column.second_threshold {
	width: 46%;
	height: 70%;
	padding-top: 5px;
}

.column_text {
	height: 100%;
}

.threshold_single_column.second_threshold .column_text {
	height: 80%;
}

.column_text h3 {
	font-size: 24px;
}

.column_text h6 {
	font-size:18px;
	line-height:1;
}

.threshold_single_column.second_threshold .column_text h3 {
	min-height: 40px;
}

.column_text .button.rdm_paywall_button {
	width: auto;
	position: absolute;
	top: 85%;
}

.column_text .forgot-password a {
	text-decoration: underline;
}

.column_text ul {
	list-style: disc inside;
	font-size: 15px;
}

.links_band {
	position: absolute;
	display: block;
	top: 90%;
	width: 100%;
	height: 150px;
	background-color: #eb008b;
	z-index: -1;
}

.links_band p {
	position: relative;
	top: 60%;
	left: 15.1%;
	width: 68%;
	text-align: left;
	color: white;
}

.learn_more_links {
	width: 68%;
	margin: 0 auto;
	position: relative;
	top: 30px;
	text-align: left;
	display: inline-block;
	color: white;
}

.learn_more_links a {
	color: white;
	text-decoration: underline;
}

.threshold_main_title {
	width: 68%;
	margin: 0 auto;
	color: white;
	text-align: left;
	min-height: 120px;
}

.threshold_main_title p {
	font-size: 23px;
	width: 35%;
	float: left;
}

.threshold_main_title p.threshold_image_holder {
	float: right;
	position: relative;
	top: 60px;
	right: 150px;
}

#rdm_paywall_modal_cds_number {
	border: 10px solid #b7b7b7;
	width: 60%;
	min-width:200px;
	height: 2em;
	line-height: 2em;
	-webkit-box-shadow: 1px 1px 3px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    1px 1px 3px rgba(50, 50, 50, 0.75);
	box-shadow:         1px 1px 3px rgba(50, 50, 50, 0.75);
}


#rdm_paywall_modal_cds_number::-webkit-input-placeholder { /* WebKit browsers */
    color:    #b7b7b7;
    font-style: italic;
    text-indent: 5px;
}

#rdm_paywall_modal_cds_number:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #b7b7b7;
    font-style: italic;
    text-indent: 5px;
}

#rdm_paywall_modal_cds_number::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #b7b7b7;
    font-style: italic;
    text-indent: 5px;
}

#rdm_paywall_modal_cds_number:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #b7b7b7;
    font-style: italic;
    text-indent: 5px;
}

/* Popup Overlay */
#popup_overlay_container .threshold_main_title p {
	width: 100%;
}

#popup_overlay_container .threshold_main_title p.popup_overlay_text {
	padding-top: 180px !important;
	margin-left: 80px;
	color: #fff;
}

#popup_overlay_container .threshold_single_column {
	width: 28%;
}

#popup_overlay_container .threshold_main_title {
	min-height: 100px;
}

.popup_overlay_close {
	position: relative;
	left: 95%;
	width: 40px;
	cursor: pointer;
	padding: 10px;
	background-color: gray;
	text-align: center;
}

.popup_overlay_close.popup_overlay_close_mobile {
	display: none;
}

#popup_overlay_container .threshold_single_column {
	border: none;
	padding: 0px;
	margin: 0px;
}

#popup_overlay_container .dark_column {
	background-color: #3e3e3e;
}

#popup_overlay_container .dark_column .column_text p, #popup_overlay_container .dark_column .column_text h3 {
	color: #fff;
}

#popup_overlay_container .column_text.second_column_text {
	border-right: 1px solid #ccc;
}


#popup_overlay_container .column_text {
	padding-top: 77px;
	padding-left: 10px;
	box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#popup_overlay_container .threshold_single_last_column {
	padding-top: 22px;
	width: 40%;
}

#popup_overlay_container .column_text.first_column {
	padding-left: 97px;
	padding-right: 10px;
}

#popup_overlay_container .threshold_columns_container {
	padding: 0px;
}

#popup_overlay_container .links_band p {
	left: 16.5%;
}

#popup_overlay_container .column_text .button.rdm_paywall_button {
	top: 65%;
	border-width: 1px;
}

#popup_overlay_container .rdm_paywall_faq_link {
	top: 80%;
}

#popup_overlay_container .threshold_main_title p.threshold_image_holder {
	top: 110px;
}

.threshold_image_holder.desktop {
	display: none;
}

#popup_overlay_container .threshold_columns_container h3 {
	text-align: left;
}

#popup_overlay_container .column_text img.preview {
	width:491px !important;
	max-width:none !important;
	height:263px !important;
}


@media only screen and (min-width: 1009px) and (max-width: 1100px) {
	#popup_overlay_container .column_text img.preview {
		width:400px !important;
		height:auto !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1008px) {
	#popup_overlay_container .column_text img.preview {
		width:300px !important;
		height:auto !important;
	}
}

@media only screen and (max-width: 767px) {
	#popup_overlay_container .column_text img.preview {
		width:100% !important;
		max-width:491px !important;
		height:auto !important;
	}

	.rdm_paywall_faq_link {
		position: relative !important;
	}
}

@media only screen and (min-width: 1365px) {
	.threshold_columns_container, .threshold_main_title {
		width:1270px;
	}
	.threshold_main_title p {
		width:45% !important;
	}

	.threshold_main_title p:first-child, .threshold_main_title p.popup_overlay_text {
		padding-top:100px !important;
	}
}

.rdm_paywall_faq_link {
	position: absolute;
	text-decoration: underline;
	top: 102%;
}

/* Gate 1: Desktop */

@media only screen and (max-width: 1364px) and (min-width: 1008px) { /* max-width up from 1264, rel to WORDPRESS-2143 */
	.threshold_columns_container {
		height: 790px;
	}

	.threshold_single_column {
		height: 335px;
		width: 30%;
	}

	#threshold_single_column:nth-child(3) {
		border: none;
	}

	#threshold_single_column:last-child {
		width: 100%;
		margin-top: 50px;
	}

	#threshold_single_column:last-child .column_text {
		width: 50%;
		float: left;
	}

	.threshold_main_title p {
		width: 100%;
	}

	.threshold_image_holder {
		display: none;
	}

	.threshold_image_holder.desktop {
		display: block;
		margin-top: 50px;
	}

	#threshold_single_column:last-child .column_text .rdm_paywall_button {
		top: 70%;
	}

/* Gate 2 Desktop */

	.threshold_columns_container.second_threshold {
		width: 83%;
		height: 650px;
	}

	.threshold_single_column.second_threshold {
		width: 100%;
		height: auto;
	}

	#threshold_single_column {
		border-right: 1px solid #cccccc;
	}
	#threshold_single_column:nth-child(3),#threshold_single_column:nth-child(4), #threshold_single_column.second_threshold {
		border: none;
	}

	.second_threshold_container #threshold_single_column:last-child {
		margin-top: 0px;
		padding-top: 20px;
		border-top: 1px solid #cccccc;
	}

	.second_threshold_container .threshold_main_title {
		width: 83%;
	}

	p.subscription_number_form_container {
		width: 50%;
		float: left;
	}

	p.subscription_number_example_container {
		float: right;
		width: 50%;
	}

	.second_threshold_container .learn_more_links {
		width: 83%;
	}

/* Gate 3 (popup) Desktop */
	#popup_overlay_container .threshold_columns_container {
		height: 430px;
		width: 81%;
	}

	#popup_overlay_container .threshold_main_title {
		width: 81%;
	}

	/* Premium-Plus Popup Overlay styling for desktop */

	#popup_overlay_container  .threshold_main_title p.popup_overlay_text {
		margin-left: inherit;
		padding-top: inherit !important;
	}

	#popup_overlay_container .column_text .button.rdm_paywall_button {
		top: 70%;
	}

	#popup_overlay_container .threshold_single_column {
		width: 50%;
	}

	#popup_overlay_container .column_text.first_column {
		padding-left: 10px;
	}

	#popup_overlay_container .threshold_single_column.threshold_single_last_column {
		background-color: #fff;
		margin-top: inherit;
		width: 100%;
	}

	#popup_overlay_container .threshold_single_column.threshold_single_last_column .column_text {
		padding-top: inherit;
	}

	#popup_overlay_container .threshold_single_column.threshold_single_last_column .column_text .rdm_paywall_button {
		top: 74%;
	}

	#popup_overlay_container .rdm_paywall_faq_link {
		top: 90%;
	}

}

/* Gate 1 : Tablet + Mobile  */
@media only screen and (max-width: 1007px) {

	/* Premium-Plus PopUp Overlay styling */
	#popup_overlay_container .threshold_main_title p.popup_overlay_text {
		margin-left: inherit !important;
		padding-top: inherit !important;
	}

	#popup_overlay_container .column_text.first_column {
		padding-left: 10px;
	}

	#popup_overlay_container .column_text.second_column_text {
		border-right: inherit;
		border-bottom: 1px solid #ccc;
	}

	#popup_overlay_container .threshold_single_column {
		width: 100%;
	}

	#popup_overlay_container .threshold_single_last_column {
		padding-bottom: 30px;
		padding-top: inherit;
		width: 100%;
	}

	#popup_overlay_container .rdm_paywall_faq_link {
		top: 93%;
	}

	.threshold_image_holder {
		display: none;
	}

	.threshold_main_title p {
		width: 100%;
	}

	.threshold_columns_container, .threshold_main_title, .learn_more_links {
		width: 95%;
	}

	.threshold_columns_container {
		height: 100%;
		display: inline-block;
	}

	.threshold_single_column {
		height: auto;
		width: 100%;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-right: none;
		border-bottom: 1px solid #cccccc;
	}
	#threshold_single_column:last-child .column_text {
		width: 50%;
		float: left;
	}

	.threshold_image_holder.desktop {
		display: block;
		margin-top: 50px;
	}


	.column_text .button.rdm_paywall_button {
		position: relative;
		top: 0%;
		display: inline-block;
		padding: 8px 20px 10px;
	}

	#threshold_overlay_container {
		height: 100%;
	}

	.links_band {
		top: 93%;
	}

	.learn_more_links {
		padding-left: 10px;
	}

	/* Gate 2 overlay Tablet */
	.threshold_single_column.second_threshold {
		width: 100%;
	}

}

/* Tablet */
@media only screen and (max-width: 1007px) and (min-width: 768px) {

	/* Gate 3 (popup) Tablet */
 	#popup_overlay_container .links_band {
 		top: 90%;
 	}

	.popup_overlay_close {
		left: 90%;
	}

}

/* Gate 1 : Mobile */
@media only screen and (max-width: 767px) {

	#popup_overlay_container .rdm_paywall_faq_link {
		top: 43%;
	}

	#threshold_single_column:last-child .column_text {
		width: 100%;
	}

	.learn_more_links {
		top: 0px;
	}

	#popup_overlay_container .threshold_single_column {
		width: 100%;
	}

	#popup_overlay_container .threshold_columns_container {
    	width: 100%;
    }

	.popup_overlay_close {
		left: 80%;
	}

	.popup_overlay_close.popup_overlay_close_mobile {
		display: block;
		top: 112%;
		left: 71.4%;
		position: absolute;
		color: white;
		margin-top: 20px;
		margin-bottom: 0px;
		width: 71px;
	}

	/* Gate 2 : Mobile */
	.second_threshold_container #rdm_paywall_modal_cds_number {
		width: 90%;
	}

	/* All gates */
	.column_text h6 {
		height:27px;
		line-height:25px;
	}
}


/* User Post Notice */
.rdm_paywall_user_post_notice {
	width: 635px;
	position:relative;
	max-width:725px;
	background-color: #fffdf8;
	border: 1px solid #e7e3e4;
	padding: 20px;
	margin:0 auto 20px auto;
}
@media only screen and (max-width: 1025px) {

	.rdm_paywall_user_post_notice {
		width: 94%;
		padding:4% 2% 2% 2%;
	}
}

.rdm_paywall_user_post_notice_close {
	position: absolute;
	top: 5px;
	right: 8px;
	cursor: pointer;
	font-size: 1.4rem;
}

#popup_overlay_container.on_homepage {
	padding:50px 0;
}

#popup_overlay_container.on_homepage .links_band {
	top:auto !important;
	margin-top:-75px !important;
}

.threshold_single_column input.button-primary {
	-webkit-font-smoothing: antialiased !important;
}

/* IE8 Fixes to first gate */
.lt-ie9 .first_threshold_main_container .threshold_columns_container {
	height: 790px;
}

.lt-ie9 .first_threshold_main_container .threshold_single_column {
	height: 335px;
	width: 30%;
}

.lt-ie9 .first_threshold_main_container #threshold_single_column:nth-child(3) {
	border: none;
}

.lt-ie9 .first_threshold_main_container .threshold_single_last_column {
	width: 100%;
	margin-top: 50px;
	border: none;
}

.lt-ie9 .first_threshold_main_container .threshold_single_last_column .column_text {
	width: 50%;
	float: left;
}

.lt-ie9 .first_threshold_main_container .threshold_main_title p {
	width: 100%;
}

.lt-ie9 .first_threshold_main_container .threshold_image_holder {
	display: none;
}

.lt-ie9 .first_threshold_main_container .threshold_image_holder.desktop {
	display: block;
	margin-top: 50px;
}

.lt-ie9 .first_threshold_main_container .threshold_single_last_column .column_text .button.rdm_paywall_button {
	top: 70%;
}

.search-results .rdm_paywall_homepage_overlay {
	padding: 15px 10px;
}
