@import url('https://fonts.googleapis.com/css?family=Montserrat');

.ta_body {
  margin: 0;
}

#ta_background
  {
  position:fixed;
  width:100%;
  height:100%;
  top:0px;
  left:0px;
  background-color:#dddddd;
  opacity:0.95;
  filter:alpha(opacity=95); /* For IE8 and earlier */
  border:2px solid black;
  z-index: 20000;
  display: none;
  }

#ta_invisible {
    /*absolute positioning lets you scroll - easy fix for landscape mode */
    position: absolute;
    top:5%;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    /*maximum index*/
    /*z-index: 2147483647;*/
    z-index: 20100;
    display: none;
}
  
.ta_popup {  
    background-color: #FFFFFF;
    color: #000;
    padding: 30px;
    text-align: justify;
    border: 1px solid #CCCCCC;
    /*width: 35%;*/
    /*min-width: 500px;*/
    max-width: 500px;
    /*maximum index*/
    /*z-index: 2147483647; */
    z-index: 20100;
    display: none; 
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.ta_popup a, .ta_paywall_text a{
  font-weight: bold;
  cursor: pointer;
  color: #007bff;
  text-decoration: none;
}

.ta_popup a:hover, .ta_paywall_text a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.ta_popup input:focus {
    outline: none;
}

.ta_popup table {
	border: 0;
	width: 100%;
	background: inherit;
        border-collapse: separate;
        border-spacing: 0 1.25rem;
        margin-bottom: 0;
}

.ta_popup tr, .ta_popup td {
	border: 0;
	padding: 0;
	vertical-align: middle;
	font-size: inherit;
	color: inherit;
	background: inherit !important;
        text-align: left !important;
}

.ta_popup label {
   font-size: 14px;
   font-weight: normal;
}

.ta_centralPopup
  {
  margin: 0px auto;
  display: none;
  }

 .ta_bottomLeftPopup
  {
  margin:10px 20px;
  position:fixed;
  bottom:10px;
  width:550px;
  display: none;
  }
  
  .ta_bottomPopup
  {
  margin: 0px auto;
  margin-bottom: 10px;
  width:250px;
  display: none;
  }
  
 .ta_bottomPopup .ta_paywall_text
  {
  margin:15px 20px 10px 20px;
  }

.ta_popupClose {
	height: 40px;
	position: absolute;
}

.ta_popupClose a { /*top-right clickable to close the popup. has a house icon.*/
    position: absolute;
	top:50%;
	transform: translateY(-50%);
    font-size:40px;
    width: 80px;
    text-decoration: none;
    color:#007bff;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
}

.ta_popupClose a:hover
{
    color: #0056b3;
	text-decoration: none;
}

input[type="button"].ta_submitPopupButton {
   width: auto;
   padding: 0 2rem;
   margin-right: 0.5rem;
}
.ta_forgotPasswordSubmit{
    display: inline-block;
    cursor: pointer;

}

.ta_subscribe_button {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  border-style: solid;
  border-width: 0;
  font-weight: normal;
  line-height: normal;
  margin: 1rem 0 1rem;
  position: relative;
  text-align: center;
  display: inline-block;
 /* padding: 1rem 2rem 1.0625rem 2rem;*/
  font-size: 18px;
  background-color: #007bff;
  border-color: #007bff;
  color: #FFFFFF;
  transition: background-color 300ms ease-out; 
  width: 100%;
  height: 40px;
  line-height: 40px;
}

.ta_subscribe_button:hover, .ta_subscribe_button:focus {
    background-color: #003366;
}

.ta_subscribe_button a {
    color: #ffffff;
    font-style: normal;
}

.ta_subscribe_button a:link {
	color: #ffffff;
}

.ta_subscribe_button a:visited {
	color: #ffffff;
}

.ta_paywall_header {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #222222;
  font-style: normal;
  font-weight: normal;
  font-size: 25px;
  line-height: 1.4;
  text-rendering: optimizeLegibility; 
  text-align: center;
}

#ta_cookiesNotEnabledPopupHeader {
    position: unset;
    transform: none;
}

.ta_paywall_header h1{
    color: #003366 !important;
    display: inline;
    font-size: 36px;
}

.ta_paywall_text {
    color: #636363;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

.ta_paywall_text h1 {
    display: inline;
    color: inherit;
}

.ta_paywall_footer {
  text-align: center;
}

/* FIX FOR IE iframes */
.paywallIEiframe {
   position: absolute;
   border: none;
   /*draw a larger iframe to show the shadow*/
   height: 105%;
   width: 365px;
   margin-left: -180px;
   left: 50%;
   z-index: -1;
   opacity:0;
   filter:alpha(opacity=0); /* For IE8 and earlier */

}

.paywallIEiframeFullscreen {
   position:fixed;
   width:100%;
   height:100%;
   top:0px;
   left:0px;
   margin: 0;        
   background-color:#dddddd;
   opacity:0.95;
   filter:alpha(opacity=95); /* For IE8 and earlier */
}

.loginFormContainer {
   margin: 0px 25px 10px 25px;
}

/* wrong login message  */
.ta_wrongLoginText {
  color: #ff0000;
  font-weight: bold;
  font-size: 2em;
  margin-top: 5px;	
}

.ta_popup input[type="text"], .ta_popup input[type="password"] {
-webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  background-color: #FFFFFF;
  border-style: solid;
  border-width: 1px;
  border-color: #cccccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.75);
  display: block;
  font-family: inherit;
  font-size: 12px;
/*  height: 2.3125rem;*/
  margin: 0;
  padding: 0.5rem;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.15s linear, background 0.15s linear;
  -moz-transition: border-color 0.15s linear, background 0.15s linear;
  -ms-transition: border-color 0.15s linear, background 0.15s linear;
  -o-transition: border-color 0.15s linear, background 0.15s linear;
  transition: border-color 0.15s linear, background 0.15s linear;
  height: 40px;
}

.ta_popup .ta_loginLabels {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  border-style: solid;
  border-width: 0;
  cursor: pointer;
  font-weight: normal;
  line-height: normal;
/*  margin: 0 0 1.25rem;*/
  position: relative;
  text-align: center;
  text-decoration: none;
  display: inline-block;
 /* padding: 1rem 2rem 1.0625rem 2rem;*/
  font-size: 18px;
  background-color: #007bff;
  border-color: #007bff;
  color: #FFFFFF;
  transition: background-color 300ms ease-out; 
  width: 100%;
  height: 40px;
  line-height: 40px;
}


#ta_forgotPassword{
    display: inline;
    positon: relative;
    top: -1rem;
    margin-left: 25px;
    background-color: transparent;
    border-width: 0px;
    width: auto;
    cursor: auto;
}

#ta_forgotPassword:hover, #ta_forgotPassword:focus {
      background-color: transparent;
}

#ta_forgotPassword a{
    display: inline;
    color: #007bff;
    text-decoration: underline;
}

.ta_loginText{
   margin-top: 10px;
}

.ta_paywall_logout {
   text-align: center;
   padding-top: 2rem;
}

.ta_products_left_text{
   text-align:left;
   padding-top: 1rem;
}

#ta_rememberMeContainer {
    margin-left: 25px;
    margin-bottom: 15px;
}

#ta_remember {
   position:absolute;
   z-index:-1000;
   left:-1000px;
   overflow:  hidden;
   clip: rect(0 0 0 0);
   height:1px; width:1px;
   margin:-1px;
   padding:0;
   border:0;
}

#ta_remember + label {
    padding-left:22px;
    margin-bottom:1.25rem;
    height:17px; 
    line-height:17px;
    background-repeat:no-repeat;
    background-position: 110px 0;
    vertical-align:middle;
    cursor:pointer;
    display:block;
    background-image:url(//$$http_host$/eebrowser/paywall/config/$$paper$/images/checkbox.png);
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
    user-select: none;

}

#ta_remember:checked + label {
	background-position: 110px -17px;
}

#ta_loginSubmitButtonContainer, #ta_forgotPasswordSubmitButtonContainer, #ta_changePasswordSubmitButtonContainer{
    float: right;
    position: relative;
    padding: 0px;
    margin: 0px;
}

#ta_loginSubmitButtonContainer {
    top: -2rem;
}

#ta_loginSubmitButtonContainer input[type="button"] {
    background-color: #007bff;
    cursor: pointer;
}
#ta_loginSubmitButtonContainer:hover input[type="button"] {
    background-color: #003366;
    cursor: pointer;
}

.ta_paywall_iframe{
   display: none;
   width: 95%;
   margin:0 auto;
   /*height:70%;*/
   height: 470px;
   border:none;
}

#ta_socialLoginIFrame, #ta_externalLoginIFrame {
   display: block;
   margin:0 auto;
   border:none;
}

#ta_socialLoginIFrame {
   height: 65px;
   width: 150px;
}

#ta_externalLoginIFrame {
   width: 100%;
}

.ta_externalLoginIFrameLarge {
   height: 500px;
}

#ta_pagesLeftPopup .ta_externalLoginIFrameLarge {
   height: 260px;
}

.ta_externalLoginIFrameSmall {
   height: 390px;
}

.ta_popup_fullheight {
   top: 0;
   height:100%;
}

.ta_paywall_button, .payclassbutton{
   background-color: #007bff;
   color: #fff;
   text-align: center;
   font-size: 14px;
   font-family: 'Montserrat', sans-serif;
   font-weight: 400;
   border: 1px solid transparent;
   line-height: 1.5;
   border-radius: .25em;
   padding: .375rem .75rem;
   box-sizing: border-box;
}

#formAccount{
   font-family: 'Montserrat', sans-serif;
   max-width: 800px;
}

.ta_paywall_button{
    width: 170px;
    float:left; 
    /*padding: 10px;*/
    margin-top: 10px;
}

.ta_paywall_button a, .payclassbutton a{
        color: #FFF !important;
        text-decoration: none;
        /*font-weight: bold;*/
        display: block;
        font-family: 'Montserrat', sans-serif;
}

.ta_paywall_button a:hover, .payclassbutton a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Buttons are shown in the external login iframe  */
.ta_paywall_buttons_container{
   width: 100%;
   display: none;
}

.ta_paywall_button_order_container{
   clear: both;
}

.ta_paywall_button_posttext {
    float: left;
    margin-top: 20px;
    margin-left: 20px;
    font-size:14px;
    font-family: 'Montserrat', sans-serif;
}

.ta_eedition #ta_login_button, .ta_eedition #ta_logout_button, .ta_paywall_popup #ta_login_button, .ta_productsLeft_popup #ta_login_button, .ta_productsLeft_popup #ta_logout_button, .ta_paywall_popup #ta_logout_button, .ta_account_popup #ta_login_button, .ta_account_popup #ta_logout_button {
    float: right;
    min-width: 60px;
    width: auto;
    padding: 2px;
    box-sizing: content-box;
	margin-top: 0px;
    margin-bottom: 10px;
}

.ta_eedition #ta_login_button, .ta_paywall_popup #ta_login_button,.ta_account_popup #ta_login_button, .ta_productsLeft_popup #ta_login_button {
    background-color: #28a745;   
}

.ta_eedition #ta_logout_button, .ta_paywall_popup #ta_logout_button, .ta_account_popup #ta_logout_button, .ta_productsLeft_popup #ta_logout_button {
    background-color: #ff0000;
}

.ta_eedition #ta_login_button, .ta_eedition #ta_logout_button, .ta_paywall_popup #ta_login_button a, .ta_productsLeft_popup #ta_login_button a ,.ta_paywall_popup #ta_logout_button a, .ta_account_popup #ta_login_button a, .ta_account_popup #ta_logout_button a, .ta_productsLeft_popup #ta_logout_button a {
    color: #fff !important;
    text-align: center;
    padding: 10px;
}

.ta_eedition #ta_login_button, .ta_eedition #ta_logout_button {
   margin-right: 30px;
}

@media screen and (max-width: 1470px) {
    .ta_popup {
        width: 45%;
		padding:10px;
    }
}
@media screen and (max-width: 1101px) {
    .ta_popup {
        width: 55%;
		padding:10px;
    }
}
@media screen and (max-width: 900px) {
    .ta_popup {
        width: 85%;
		padding:10px;
    }
}
@media screen and (max-width: 550px) {
    .ta_popup {
        width: 100%;
	padding:10px;
    }

    .ta_body, .ta_productsLeft_body, .ta_paywall_body, .ta_account_body {
        width: 99%;
    }
}
@media screen and (max-width: 425px) {
    .ta_paywall_button {
        width: 100px;
        font-size: 14px;
    }
    .ta_paywall_button_posttext {
        margin-left: 5px;
        font-size: 12px;
    }
}
@media screen and (max-width: 320px) {
    .ta_paywall_button {
        width: 208px;
    }
    .ta_paywall_button_posttext {
        display: none;
    }
	.ta_productsLeft_body #ta_login_button_container .ta_paywall_button_posttext {
        display: block;
    }
	.ta_loggedIn #ta_singleCredit_button, .ta_loggedIn #ta_periodPurchase_button, .ta_loggedIn #ta_purchase_button {
	  float: none;
	  margin: 10px auto;
	}
}

@media screen and (min-width: 500px) {
	.ta_popup.ta_lowProducts {
	   position: absolute;
	   right: 0;
	   bottom: 0;
	   width: 500px;
	}
}

#ta_loadingImage{
   background-image:url(//$$http_host$/eebrowser/paywall/config/$$paper$/images/loading.gif);
   background-color: transparent;
   background-position:50% 50%;
   background-repeat: no-repeat;
   margin-top: -40px;
}

.subscriptionUser{
    margin-bottom: 10px;
    background-color: #f1f1f1;
	clear: both;
}

.subscriptionUser th{
   font-weight: normal;
   text-align: center;
}

.digitalWalletRemain{
    margin: 0 auto;
    text-align: left;
    background-color: #f1f1f1;
    clear: both;
}

.digitalWalletRemain table {
   text-align: center;
}

.resultMessagge {
    color: #007bff;
    font-family: 'Montserrat', sans-serif;
    display: none;
}

.ta_paywall_popup #loginForm {
   margin-top: 70px;
}

.ta_body .container, .ta_paywall_body .container, .ta_account_body .container, .ta_productsLeft_body .container {
  margin: -40px 0 0;
  padding: 0px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.ta_body .container .container, .ta_paywall_body .container .container, .ta_account_body .container .container, .ta_productsLeft_body .container .container {
  margin: 0;
}

#ta_header_logo {
  height: 40px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.ta_account_body, .ta_paywall_body{
   overflow: hidden;
}

.ta_account_body #loginForm, .ta_paywall_body #loginForm, .ta_paywall_body #forgotpassword {
  margin-top: 50px;
}

.ta_productsLeft_body #loginForm {
	margin-top: 40px;
}

#forgotpassword p.resultMessagge{
  display: block;
  padding-top: 10px;
}

.surplus {
  color: green;
  font-weight: bold;
  text-align: left;
}

.ta_loggedIn #ta_singleCredit_button_container, .ta_loggedIn #ta_periodPurchase_button_container, .ta_loggedIn #ta_purchase_button_container {
  width: 75%;
  margin: 10px auto;
  overflow: auto;
}

.ta_loggedIn #ta_singleCredit_button, .ta_loggedIn #ta_periodPurchase_button, .ta_loggedIn #ta_purchase_button {
  background-color: #007bff;
  width: 115px;
  font-weight: bold;
}

#ta_paywall .ta_popupClose a {
  font-size: 14px;
}

.ta_productsLeft_popup #ta_login_button_container .ta_paywall_button_posttext, .ta_productsLeft_popup #ta_logout_button_container .ta_paywall_button_posttext {
  margin-bottom: 20px;
}

.ta_highlightedText {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.ta_subtitle {
  text-align: center;
}

.ta_productsLeft_popup #ta_subscribe_button {
   float: none;
   margin: 0 auto;
}

#paywallButtonsModal .modal-dialog {
  margin: 60px;
}

#modalOk {
  background-color: #007bff;
}

#modalCloseButton {
  background-color: #f1f1f1;
  color: #000;
}

#ta_purchase_button, #ta_changePassword_button, #ta_updateCC_button, #ta_directCancel_button {
	float: none;
	margin: 10px auto;
}

form#accountForm {
	padding: 0;
}

#ta_privateModePopupHeader {
	position: relative;
	left: unset;
	transform: unset;
}

form[name="changepassword"] {
	margin-top: 50px;
}

form[name="forgotpassword"] {
      margin-top: 50px;
}

.header-div {
  pointer-events: none;
}

.ta_productsLeft_body .header-div {
   visibility: hidden;
}

.ta_eedition .header-div {
   display: none;
}

.ta_eedition .container {
   margin: 0;
   width: auto;
}

.ta_eedition form {
   max-width: 600px !important;
}

.ta_eedition #loginForm .container {
  max-width: 600px;
  margin: 0 auto;
}

.ta_eedition .subscriptionUser {
   margin: 10px 30px;
}
