/**
 * @file
 * CSS for counter and curtain information.
 */

/* ethn custom style for counter and curtain overlay from recurly_paywall.css */
.recurly-paywall-counter {
    line-height: 30px;
    font-size: 18px;
    background: #055b8a;
    border: 1px solid #adacad;
}

.recurly-paywall-counter span {
    color: #f1f50a;
}

.recurly-paywall-content {
    max-width: 630px;
    padding: 0;
    background:none !important;
}

.recurly-paywall-close {
    color: #9ca5b1;
    background: #02619e;
    font-size: 14px;
    right: 5px;
}

.recurly-paywall-overlay {
    background-color: #14191e;
}

/* ethn custom style for curtain overlay information */
.recurly-paywall-c-w {
    text-align: left;
    padding: 6% 5% 5% 5%;
	text-align: center;
}

.recurly-paywall-curtain {
    background: #fff;
    margin: 5%;
    text-align: center;
    color: #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden
}

.recurly-paywall-curtain h2 {
    margin:0 0 20px 0;
    font-size: 30px;
    font-weight: bold;
    display: block;
    clear: both;
}

.recurly-paywall-curtain-w {
    font-size: 18px;
    font-family: 'myriad-pro',Verdana,Helvetica,Arial,sans-serif;
}

.recurly-paywall-curtain-w p {
    font-size: 18px;
    font-family: 'myriad-pro',Verdana,Helvetica,Arial,sans-serif;
}

.recurly-paywall-curtain-w .headline {
	font-family: expo-serif-pro,serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 1.4;
	padding: 0 10px 0 10px;
}

.recurly-paywall-curtain-w .features {
	line-height: 2;
	font-size: 18px;
	font-weight: normal;
	color: #808080;
	margin-bottom: 27px;
}

ul.recurly-plans {
    margin: 15px 0;
    border: solid #d8dadd 1px;
    width:95%;
    display: block;
    clear: both;
    float: left;
}

ul.recurly-plans li {
    padding: 3% 0;
    list-style: none;
    width: 100%;
    float: left;
}

ul.recurly-plans li:first-child {
    border-bottom: solid #d8dadd 1px;
}

ul.recurly-plans li strong {
    margin: 0 10px;
    font-size: 20px;
    float:left;
}

ul.recurly-plans li a {
    margin: -1px 10px 0 10px;
    padding: 6px 11px;
    color: #fff;
    background: #3e7C00;
    text-decoration: none;
    font-size: 17.2px;
    border-radius: 5px;
    float:right;
}

ul.recurly-plans li a:hover {
    background-color: #4d9900;
}
.recurly-paywall-login {
    padding: 2% 5%;
    margin-bottom: 0;
    font-size: 16px;
    text-align: left;
    font-family: 'myriad-pro',Verdana,Helvetica,Arial,sans-serif;
    background: #fcfcfc;
    border-top: solid #d8dadd 1px;
    border-radius: 0px 0px 5px 5px;
    clear: both;
    display: block;
}

.recurly-paywall-banner {
    background-color: #0065a5;
    color: #fff;
}

.recurly-paywall-banner p {
    font-size: 20px;
    text-align: center;
    padding: 20px 16.5px 15.5px 16.5px;
    font-family: 'Myriad Pro', 'Times New Roman', serif;
	font-weight: 700;
	margin-bottom: 0;
    text-shadow: 2px 2px rgba( 0, 0, 0, 0.1);
}

@media only screen and (max-width : 320px) {
	.recurly-paywall-curtain {
        margin: 0;
    }
    .recurly-paywall-curtain-w .headline {
		padding: 0;
	}
}

@media only screen and (min-device-width: 320px) and (max-width: 740px) {
    .recurly-paywall-content {
        width: 100%;
        max-width: 630px;
    }

    ul.recurly-plans {
        text-align: center;
    }

    ul.recurly-plans li {
        margin: 0;
        padding: 1% 0 3% 0;
        width: 100%;
    }

    ul.recurly-plans li strong {
        margin: 0 0 1% 0;
        width: 100%;
        float: left;
        clear: both;
    }

    ul.recurly-plans li a {
        float:none;
        display:inline-block;
        margin: 0 auto;
        clear: both;
    }
}

@media only screen and (min-device-width : 741px) and (max-device-width : 1024px) {
    .recurly-paywall-content {
        width: 75%;
        max-width: 630px;
    }
}

/* Subscription list (user/x/subscription) */
.subscription {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 10px;
}

.subscription.mini {
    width:95%;
}

.subscription.mini h2{
    margin:0 0 10px 0;
}

.subscription-summary .properties {
    border-collapse: separate;
    border-spacing: 3px;
    width:50%;
}

.subscription-summary .line-items {
    float: right;
    width:45%;
    font-size: 25px;
}

.subscription h2 {
    padding: 0;
    margin: 0;
}

.subscription .messages {
    margin: 8px 0;
    padding: 10px 7px 10px 43px;
    font-size: 90%;
}

.subscription table {
    width: auto;
    float: left;
}

.subscription table td,
.subscription table th {
    padding: 5px;
    color: inherit;
    background: transparent;
}

.subscription table tr {
    background: transparent;
}

.subscription .line-items.change {
    background: #fffbcc;
    border: 1px solid #E6DB55;
    clear: right;
}

.subscription .line-items.change .label {
    font-weight: bold;
    padding: 10px;
}

.subscription .line-items.change .total {
    border-color: #E6DB55;
}

.subscription .line-items ul {
    margin: 0;
    padding: 0;
}

.subscription .line-items li {
    padding: 5px 10px 5px 10px;
    overflow: hidden;
    vertical-align: baseline;
    font-size: 15px;
}

.subscription .line-items li > .name {
    display: inline;
}

.subscription .line-items li > .qty {
    font-weight: bold;
    font-size: 12px;
    display: inline;
}

.subscription .line-items li > .qty:after {
    font-weight: normal;
    content: '\00D7';
    padding-right: 5px;
}

.subscription .line-items li > .cost {
    display: block;
    float: right;
    padding-left: 10px;
    padding-bottom: 10px;
    height: 100%;
}

.subscription .line-items .total {
    clear: both;
    float: right;
    padding: 10px;
}

.subscription .changing_to {
    display: inline;
    top: 100%;
    left: 0;
    background: red;
}

.subscription .subscription-links {
    text-align: right;
}

.subscription ul.links {
    font-size: inherit;
}

/* Subscription signup */
.recurly-signup .messages {
    margin: 10px 0;
    padding: 10px 0 10px 40px;
    display: block;
}

.recurly-plan-list {
    margin: 0 -10px;
}

.recurly-plan-list .plan {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    float: left;
    width: 93%;
    display:block;
}

.recurly-plan-list .plan-hover {
    background-color: #FFFDF2;
    border-color: #ED5;
    cursor: pointer;
}

.recurly-plan-list .plan .plan-interval {
    margin:5px 10px 10px 0;
    float:left;
    font-size: 25px;
    width:35%;
}

.recurly-plan-list .plan-selected {
    background-color: #FFFCE5;
}

.recurly-plan-list .plan h2 {
    width:50%;
    margin: 5px 10px 0 0;
    padding: 5px 0;
    float:left;
}

.recurly-plan-list .plan-signup {
    text-align: center;
    margin: 5px 0 0 0;
    float:left;
    background: #3E7C00;
    padding: 6px 11px 6px 11px;
    font-size: 17.2px;
    border-radius: 5px;
    color: white;
}

.recurly-plan-list a.plan-select {
    display: block;
    color: white;
    text-decoration:none;
}

.recurly-plan-list .plan-selected a.plan-select {
    font-weight: bold;
}

.recurly-plan-list a.plan-select input {
    display: none;
}

#recurly-subscription-change-form .form-actions {
    text-align: center;
}

.form-item-coupon-code {
    width: 40%;
    clear: both;
    float: left;
}

.form-item-coupon-currency {
    width: 35%;
    clear: both;
    float: left;
}

.form-item-coupon-currency label {
    width: 250px;
}

.form-item-coupon-currency .description {
    margin: 5px 0 0 0;
    width: 250px;
    clear: both;
}

#recurly-subscription-redeem-coupon .form-actions{
    float: left;
    clear:both;
}

/* Invoice list (user/x/subscription/invoices) */
table.invoice-list tr.past_due,
table.invoice-list tr.failed {
    background-color: #EEB9B9;
}

/**
 * CSS for subscribe page
 */
.subscribe .title-wrapper {
    display: none !important;
}

#region-content .region-inner {
    padding-top: 20px;
}

.subscribe p {
    line-height: 1.3;
}

.subscribe .field-name-body h2 {
    font-weight:800;
    font-size:22px;
    text-align:center;
}

.one-half {
    width: 46.71795%;
    float: left;
    margin-left: 6.5641%;
    line-height: 1.3;
    margin-bottom: 25px;
}

.one-fourth {
    width: 23.07692%;
    float: left;
    margin-left: 2.5641%;
    text-align: center;
    margin-bottom: 35px;
}

.first {
    clear: both;
    margin-left: 0;
}

.subscribe .subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    margin-bottom: 35px !important;
}

.one-half h2 {
    font-weight: normal;
    font-size: 1.4em;
}

.institution {
    text-align: center;
}

.institution span {
    font-weight: 400;
    font-size: 19px;
}

.recurly-paywall-subscribe p {
    margin-bottom: 0 0 24px;
    padding: 0;
}

.subscribe .icon {
    margin-bottom: 12px;
}

.icon-language {
    color: #8b2479;
}

.icon-globe {
    color: #006599;
}

.icon-location-pin {
    color: #abba2c;
}

.icon-flow-cascade {
    color: #CE612B;
}

.subscribe-cta {
    float:left;
    width:100%;
    display:block;
    margin: -10px 0 20px 0;
    text-align: center;
    font-size: 1.3em;
}

.subscribe-cta-ethn {
    text-align: center;
    font-size: 1em;
}

.price {
    font-weight: bold;
    display: block;
    margin-bottom: 16px;
}

.price.green {
    color: #3E7C00;
}

.price-cta {
    display: block;
    margin-bottom: 16px;
    margin-top: -17px;
    font-size: .75em !important;
}

a.cta-link {
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: .9em;
}

a.cta-contact-link {
    text-transform: none;
    text-decoration: underline;
    margin-left: 7px;
    font-size: 19px;
}

.line {
    border-bottom: 1px solid #ddd;
    clear: both;
    padding: 12px;
    margin-bottom: 35px;
}

.subscribe-cta .icon {
    font-size: 2em;
    margin-top: -8px;
    color: #3E7C00;
}

.tpmMetered {
    display: block !important;
}

.tpmHasAccess {
    display: block !important;
}

.cta-default .tpmMetered   {
    display: none !important;
}

.cta-default .tpmHasAccess   {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .one-half {
        margin-left: 0;
        width: 100%;
    }
    .one-fourth {
        margin-left: 0;
        width: 100%;
    }
    .price {
        max-width: 240px;
        margin: 0 auto;
        padding-bottom: 16px;
        line-height: 1.2;
    }
}

.recurly-plans-w {
    text-align: center;
    width:100%;
    float:left;
}

.recurly-paywall-subscribe ul.recurly-plans {
    width: 53%;
    margin: 0 auto;
    display:inline-block;
    float:none;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .recurly-paywall-subscribe ul.recurly-plans {
        width: 90%;
    }

    .subscription-summary .properties {
        width:100%;
    }

    .subscription-summary .line-items {
        width:100%;
        margin: 10px 0 0 0;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .recurly-paywall-subscribe ul.recurly-plans {
        width: 75%;
    }
}

/**
 * CSS for recurly subscribe form and subpages
 */
.recurly-form-wrapper {
    margin:0 0 30px 0;
    width:100%;
    float:left;
}

.recurly {
    display: block;
    position: relative;
}

.recurly .form-item {
    margin-top: 0;
}

.recurly .cost,
.recurly .discount {
    font-size: 16px;
}

.recurly .subscription {
    border-radius: 9px 9px 0 0;
    text-shadow: 0 1px 0 #fff;
    padding-top: 20px;
    overflow: hidden;
}

.recurly .plan {
    color: #333;
    overflow: hidden;
    position: relative;
    zoom: 1;
}

.recurly .plan .name {
    float: left;
    font-size: 28px;
    line-height: 34px;
}

.recurly .plan .quantity.field {
    clear: none;
    width: 60px;
    margin: 4px 0;
}

.recurly .plan .quantity.field input[type=text] {
    width: 48px;
}

.recurly .plan .quantity.field:before {
    content: "\d7";
    height: 48px;
    line-height: 30px;
    position: absolute;
    right: 100%;
    width: 40px;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    z-index: 1337;
    color: #666;
}

.recurly .plan .recurring_cost {
    float: right;
}

.recurly .plan .recurring_cost .cost {
    font-size: 32px;
    line-height: 34px;
}

.recurly .plan .recurring_cost .interval {
    font-size: 12px;
    padding-bottom: 20px;
}

.recurly .free_trial {
    clear: left;
    float: left;
    font-size: 13px;
    height: 22px;
    margin: 0;
    position: absolute;
    top: 35px;
    left: 20px;
    font-style: italic;
}

.recurly .setup_fee {
    clear: both;
    border-top: 1px #CCC dashed;
    overflow: hidden;
    padding-top: 20px;
}

.recurly .setup_fee .title {
    float: left;
    padding-left: 20px;
    font-weight: bold;
    font-size: 16px;
}

.recurly .setup_fee .cost {
    float: right;
    padding-right: 20px;
}

.recurly .vat {
    height: 24px;
    padding: 20px 20px;
    display: none;
    border-top: 1px #CCC dashed;
}

.recurly .vat.applicable {
    display: block;
}

.recurly .vat .title {
    font-size: 16px;
    font-weight: normal;
    float: left;
}

.recurly .vat .cost {
    float: right;
    font-size: 18px;
}

.recurly .add_ons {
    clear: both;
}

.recurly .add_ons.any {
    margin: 20px 0;
}

.recurly .add_ons .add_on {
    background: #ecedee;
    background: -webkit-linear-gradient(top, #ecedee, #e5e6e7);
    background: -moz-linear-gradient(top, #ecedee, #e5e6e7);
    background: -o-linear-gradient(top, #ecedee, #e5e6e7);
    background: linear-gradient(top, #ecedee, #e5e6e7);
    margin: 0;
    height: 43px;
    line-height: 42px;
    vertical-align: middle;
    position: relative;
    clear: both;
    overflow: hidden;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-shadow: 0 1px 0 #fff;
    color: #999;
    font-weight: 300;
    font-size: 16px;
    zoom: 1;
    cursor: default;
}

.recurly .add_ons .add_on.first {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.recurly .add_ons .add_on.last {
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.recurly .add_ons .add_on .name {
    font-size: inherit;
    font-weight: inherit;
    font-style: italic;
    color: inherit;
    width: 200px;
    margin-left: 9px;
    margin-right: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.recurly .add_ons .add_on .quantity.field {
    position: absolute;
    top: 4px;
    left: 249px;
    width: 60px;
    display: none;
}

.recurly .add_ons .add_on .quantity.field input[type=text] {
    width: 48px;
}

.recurly .add_ons .add_on .quantity.field:before {
    content: "\d7";
    height: 48px;
    line-height: 30px;
    position: absolute;
    right: 100%;
    width: 40px;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    z-index: 1337;
    color: #666;
}

.recurly .add_ons .add_on .cost {
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
    position: absolute;
    right: 10px;
}

.recurly .add_ons .add_on:hover {
    background: -webkit-linear-gradient(top, #f0f0f0 0%, #dfdfdf 50%, #d5d5d5 50%, #e0e0e0 100%);
    background: -moz-linear-gradient(top, #f0f0f0 0%, #dfdfdf 50%, #d5d5d5 50%, #e0e0e0 100%);
    background: -o-linear-gradient(top, #f0f0f0 0%, #dfdfdf 50%, #d5d5d5 50%, #e0e0e0 100%);
    background: linear-gradient(top, #f0f0f0 0%, #dfdfdf 50%, #d5d5d5 50%, #e0e0e0 100%);
    box-shadow: inset 0 1px 0 #fff;
    text-shadow: none;
    color: #111;
}

.recurly .add_ons .add_on:active,
.recurly .add_ons .add_on.selected {
    color: #111;
    background: -webkit-linear-gradient(top, #f0f0f0, #fff);
    background: -moz-linear-gradient(top, #f0f0f0, #fff);
    background: -o-linear-gradient(top, #f0f0f0, #fff);
    background: linear-gradient(top, #f0f0f0, #fff);
    width: auto;
    box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.07);
    text-shadow: none;
}

.recurly .add_ons .add_on.selected {
    background: #fff url("../images/check.png") no-repeat 10px center;
}

.recurly .add_ons .add_on.selected .name {
    padding-left: 24px;
}

.recurly .add_ons .add_on.selected:hover {
    background: #fcf5f0 url("../images/uncheck.png") no-repeat 10px center;
}

.recurly .add_ons .add_on.selected .quantity {
    display: block;
}

.recurly .coupon {
    clear: both;
    overflow: hidden;
    color: #333;
    position: relative;
    border-top: 1px #ccc dashed;
    padding-top: 12px;
    position: relative;
}

.recurly .coupon .check {
    width: 26px;
    height: 26px;
    float: left;
    border-radius: 15px 15px 15px 15px;
    background: #70ccf8;
    border: 1px solid #0090c9;
    margin: 2px 0 1px 10px;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.35), 0 1px 1px 0 rgba(0,0,0,0.10);
    background: #43bef9 url("../images/coupon_check.png") no-repeat center center;
    background: url("../images/coupon_check.png") no-repeat center center, -webkit-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center, -moz-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center, -o-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
}

.recurly .coupon .check:hover {
    background: url("../images/coupon_check.png") no-repeat center center, -webkit-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center, -moz-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center, -o-linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    background: url("../images/coupon_check.png") no-repeat center center linear-gradient(top, #71CDFA 0%, #43BEF9 50%, #00B1F6 50%, #71CEFB 100%);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.75), 0 1px 1px 0 rgba(0,0,0,0.10);
}

.recurly .coupon .check:active {
    background: url("../images/coupon_check.png") no-repeat center center, -webkit-linear-gradient(top, #f0f0f0, #fff);
    background: url("../images/coupon_check.png") no-repeat center center, -moz-linear-gradient(top, #f0f0f0, #fff);
    background: url("../images/coupon_check.png") no-repeat center center, -o-linear-gradient(top, #f0f0f0, #fff);
    background: url("../images/coupon_check.png") no-repeat center center linear-gradient(top, #f0f0f0, #fff);
    box-shadow: inset 0 3px 3px 0 rgba(0,0,0,0.03);
    border: 1px solid #999;
}

.recurly .coupon.checking .check {
    background: #f0f0f0 url("../images/coupon_checking.gif") no-repeat center center;
    box-shadow: inset 0 3px 3px 0 rgba(0,0,0,0.03);
    border: 1px solid #999;
}

.recurly .coupon.invalid .coupon_code {
    border-color: #a55;
    background: #fee;
    color: #311;
}

.recurly .coupon .coupon_code .error {
    left: 300px;
}

.recurly .coupon .description {
    float: left;
    margin-left: 20px;
    height: 34px;
    line-height: 34px;
    vertical-align: middle;
    font-size: 14.4px;
}

.recurly .coupon .discount {
    float: right;
    height: 34px;
    line-height: 34px;
    vertical-align: middle;
}

.recurly .error {
    line-height: 22px;
    vertical-align: middle;
    color: #000;
    text-shadow: 0 1px 0 #fec;
    background: #ffc;
    border: 1px solid #ba1;
    box-shadow: 3px 5px 5px 0 rgba(0,0,0,0.10);
    border-radius: 5px;
    font-size: 13px;
}

.recurly .server_errors {
    color: #fff;
    text-shadow: 0 1px 0 #000;
    opacity: 0;
    margin: 20px 0;
}

.recurly .server_errors .error {
    background: #FFC url("../images/error.png") no-repeat 5px 9px;
    padding: 5px 0 5px 30px;
    margin: 0 0 10px 0;
    float: left;
    width: 70%;
}

.recurly .server_errors.any {
    opacity: 1;
}

.recurly .contact_info,
.recurly .billing_info,
.recurly .accept_tos {
    position: relative;
    overflow: hidden;
    zoom: 1;
}

.recurly .contact_info .title,
.recurly .accept_tos .title {
    margin:0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    display:block;
    clear:both;
    float:left;
    width:100%;
}

.recurly .billing_info .title {
    margin: 0 30px 20px 0;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
    display:block;
    clear:both;
    float:left;
}

.recurly .contact_info .credit_card,
.recurly .billing_info .credit_card,
.recurly .accept_tos .credit_card {
    clear: both;
}

.recurly .contact_info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px #ccc dashed;
    float:left;
    clear:both;
    width:100%;
}

.recurly .billing_info {
    margin: 0 20px 0 0;
    width: 100%;
    float:left;
    clear:both;
}

.recurly .accept_tos {
    border-top: 1px #CCC dashed;
    overflow: visible;

}

.recurly .accept_tos input[type=checkbox] {
    display: inline;
    line-height: 34px;
    vertical-align: middle;
}

.recurly .accept_tos label {
    margin: 0 0 0 5px;
    display: inline;
    line-height: 34px;
    vertical-align: middle;
}

.recurly .accept_tos .field .error {
    display: block;
    position: static;
}

.recurly .field {
    width: 70%;
    position: relative;
    display: inline;
    float: left;
    clear: left;
}

.recurly .field.company_name {
    margin-bottom: 0;
}

.recurly .field .error {
    padding: 5px 10px;
    white-space: nowrap;
    position: absolute;
    top: -5px;
    left: 100%;
    margin-left: 20px;
    z-index: 1337;
}

.recurly .field.first_name .error,
.recurly .field.card_number .error {
    display:none;
}

.recurly .field .placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3px 2px 0 7px;
    line-height: normal;
    font-weight: normal;
    vertical-align: middle;
    color: #999;
    cursor: text;
    overflow: hidden;
    white-space: nowrap;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    font-weight: 300;
}

.recurly .field.focus .placeholder {
    color: #ccc;
}

.recurly .field.invalid .placeholder {
    color: #a77;
}

.recurly .field.coupon_code {
    margin: 5px 0 0 0;
}

/* subscription plan */
.recurly .field input[type=text] {
    width: 100%;
}

.recurly .field.first_name,
.recurly .field.last_name {
    width: 23.7%;
}

.recurly .field.email,
.recurly .field.address1,
.recurly .field.address2,
.recurly .field.city {
    width: 50%;
}

.recurly .field.state,
.recurly .field.zip {
    width: 23.7%;
}

.recufrly .field.card_number {
    width:50%;
}

.recurly .field.first_name {
    clear: left;
}

.recurly .field.last_name {
    margin-left: 20px;
    clear: none;
}

.recurly .field.cvv {
    margin-left: 20px;
    width: 60px;
    clear: none;
}

.recurly .field.cvv input[type=text] {
    width: 48px;
}

.recurly .field.coupon_code {
    width:45%;
}

.recurly .field.card_number {
    width:41%;
}

.recurly .field.expires .title {
    line-height: 24px;
    vertical-align: middle;
    font-size: 13px;
    float: left;
    clear: both;
}

.recurly .field.expires .month {
    margin: 0 10px 0 0;
    float: left;
}

.recurly .field.expires .year {
    margin:0;
    float: left;
}

.recurly .field.state .error {
    left: 300px;
}

.recurly .field.zip {
    margin-left: 20px;
    clear: none;
}

.recurly .field.vat_number {
    display: none;
}

.recurly .field.vat_number.applicable {
    display: block;
}

.recurly .only_zipstreet .zip.field,
.recurly .only_zip .zip.field {
    margin-left: 0;
    clear: left;
}

.recurly .payment_method {
    float:left;
}

.recurly .payment_method .accepted_cards {
    left: 0;
}

.recurly .payment_option {
    clear: both;
    float:left;
}

.recurly .payment_option input {
    float: left;
}

/* If there's only one payment method, hide the radio button. */
.recurly .payment_method .payment_option input {
    display: none;
}

.recurly .payment_method.multiple .payment_option input {
    display: inline-block;
}

.recurly .accepted_cards .card,
.recurly .payment_option.paypal_option .logo {
    background-position: right top;
    background-repeat: no-repeat;
    text-indent: -3000px;
    height: 32px;
    margin: 0 0 0 5px;
    padding: 0;
    float: left;
}

.recurly .accepted_cards .card {
    width: 32px;
}

.recurly .payment_option.paypal_option .logo {
    background-image: url("../images/paypal.png");
    width: 114px;
}

.recurly .paypal .paypal_message {
    clear: both;
}

.recurly .card.mastercard {
    background-image: url("../images/mastercard.png");
}

.recurly .card.american_express {
    background-image: url("../images/amex.png");
}

.recurly .card.visa {
    background-image: url("../images/visa.png");
}

.recurly .card.discover {
    background-image: url("../images/discover.png");
}

.recurly .card.no_match {
    opacity: 0.3;
}

.recurly input[type=text],
.recurly select {
    vertical-align: middle;
    color: #000;
}

.recurly input[type=text].invalid,
.recurly select.invalid {
    border-color: #a55;
    background: #fee;
    color: #311;
}

.recurly input[type=text] {
    display: block;
}

.recurly input[type=text][disabled] {
    background: #eee;
}

.recurly input[type=checkbox] {
    color: #f00;
}

.recurly .due_now {
    margin: 0 0 20px 0;
    padding: 5px 0 0 0;
    display: block;
    clear: both;
    float: left;
    width: 100%;
    border: none;
    position: relative;
}

.recurly .due_now_hidden {
    display: none;

}

.recurly .due_now .title {
    float: left;
    font-size: 24px;
    position: relative;
}

.recurly .due_now .cost {
    float: right;
    font-size: 33px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
}

.recurly .footer {
    border-radius: 0px 0px 9px 9px;
    margin: 0px;
    padding: 20px;
}

.recurly.submitting .footer {
    background: url("../images/submitting.gif") no-repeat 180px 28px;
}

.recurly button.submit {
    height: 46px;
    max-width: 600px;
    font-size: 18px;
    font-weight: 700;
    color: #302106;
    text-align: center;
    margin-left: 0px;
    border: 1px solid #767674;
    background: #e7a500;
    border-radius: 10px;
    outline: none;
    box-shadow: inset rgba(255,255,255,0.70) 0px 1px 0px, rgba(0,0,0,0.50) 0px 1px 3px;
    background-image: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#fecd00), to(#ce7b00));
    background: -moz-linear-gradient(top, #fecd00, #ce7b00);
    text-shadow: rgba(255,255,255,0.50) 0 1px 0;
    padding: 10px 20px;
}

.recurly button.submit:hover {
    color: #451;
}

.recurly button.submit:active {
    top: 2px;
    color: #302106;
    text-shadow: rgba(255,255,255,0.57) 0 -1px 0;
    outline: none;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ce7b00), to(#fecd00));
    background: -moz-linear-gradient(top, #ce7b00, #fecd00);
    box-shadow: rgba(255,255,255,0.69) 0px -1px 0px inset, rgba(0,0,0,0.26) 0px 2px 3px;
}

.recurly button.submit[disabled] {
    position: relative;
    height: 46px;
    max-width: 600px;
    padding: 0 10px;
    font-weight: 700;
    color: #555;
    text-shadow: rgba(255,255,255,0.57) 0 1px 0;
    text-align: center;
    opacity: 0.75;
    border: 1px solid #767674;
    background: #e7a500;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    outline: none;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dbd9d2), to(#999));
    background: -moz-linear-gradient(top, #dbd9d2, #999);
    -webkit-background-clip: padding-box;
    -webkit-box-shadow: rgba(255,255,255,0.69) 0px 1px 0px inset, rgba(0,0,0,0.26) 0px 2px 3px;
    box-shadow: rgba(255,255,255,0.70) 0px 1px 0px inset, rgba(0,0,0,0.27) 0px 2px 3px;
}

.iefail {
    background: #666;
    padding: 10px;
    position: absolute;
    top: -1%;
    left: -1%;
    height: 102%;
    width: 102%;
    z-index: 9999;
}

.iefail .chromeframe {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
}

.iefail .chromeframe p {
    text-align: center;
}

.iefail .chromeframe p.blast {
    font-size: 1.3em;
    font-weight: bold;
}

.iefail .chromeframe p a {
    color: #4183c4;
    text-transform: capitalize;
}

/* Invoices user/x/subscription/invoices/[invoice-uuid] */
.invoice {
    position: relative;
}

/*invoices*/
.invoice-pdf {
    margin:10px 0 0 0;
    position: absolute;
    right: 0;
    top:-35px;
    font-size: 10px;
}

.invoice .messages {
    margin: 8px 0;
}

.invoice-date {
    float: right;
}

table.invoice-calculations {
    width: auto;
    float: right;
}

.invoice table td,
.invoice table th {
    color: inherit;
    background: white !important;
}

.invoice table tr {
    background: white !important;
}

.invoice th.right,
.invoice td.right {
    text-align: right;
}

td.line-total,
th.line-total {
    text-align: right;
}

.invoice-line-items {
    margin-top: 25px;
    clear: both;
}

.invoice-payments h2,
.invoice-line-items h2 {
    padding: 3px 6px;
    background: #f0f0f0;
}

.invoice-payments th {
    padding: 5px 10px;
}

@media only screen and (min-device-width: 320px) and (max-device-width : 568px) {
    .recurly-plan-list .plan {
        width: 86%;

    }

    .recurly-plan-list .plan h2 {
        width:60%;
        font-size: 18px;
    }

    .recurly-plan-list .plan .plan-interval {
        width:25%;
        font-size: 18px;
    }

    .recurly-plan-list .plan-signup {
        width:92%;
        clear:both;
    }

    .recurly .plan .name {
        font-size: 28px;
    }

    /* subscription plan */
    .subscription .plan {
        text-align:center;
    }

    .subscription .plan .name {
        margin: 0 0 10px 0;
        width:100%;
        clear:both;
    }

    .subscription .recurring_cost {
        width:100%;
        clear:both;
    }

    .recurly .plan .recurring_cost {
        text-align:center;
    }

    .recurly .plan .recurring_cost .cost {
        font-size: 32px;
        line-height: 34px;
    }

    .recurly .plan .recurring_cost .interval {
        width:100%;
        text-align: center;
        font-size: 12px;
        padding-bottom: 20px;
    }

    .recurly .cost,
    .recurly .discount {
        font-size: 16px;
        text-align: center;
    }

    .recurly .field {
        width:100%;
    }

    .recurly .field input[type=text] {
        width: 99%;
    }

    .recurly .field.first_name,
    .recurly .field.last_name {
        width:46%;
    }

    .recurly .field.coupon_code {
        width:80%;
    }

    .recurly .field.card_number {
        width:69%;
    }

    .recurly .expires {
        margin:0 0 10px 0;
    }

    .recurly .field.email,
    .recurly .field.address1,
    .recurly .field.address2,
    .recurly .field.city {
        width: 100%;
    }

    .recurly .field.state,
    .recurly .field.zip {
        width: 45.9%;
    }
}

@media only screen and (min-device-width: 568px) and (max-width: 774px) {
    .recurly-plan-list .plan {
        width:93%;
    }

    .recurly-plan-list .plan h2 {
        width:58%;
    }

    .recurly-plan-list .plan .plan-interval {
        font-size: 20px;
        width:25%;
    }

    .recurly-plan-list .plan-signup {
        width:96%;
        clear:both;
    }

    /* subscription plan */
    .subscription .plan {
        text-align:center;
    }

    .subscription .plan .name {
        margin: 0 0 10px 0;
        width:100%;
        clear:both;
    }

    .subscription .recurring_cost {
        width:100%;
        clear:both;
    }

    .recurly .plan .recurring_cost {
        text-align:center;
    }

    .recurly .plan .recurring_cost .cost {
        font-size: 32px;
        line-height: 34px;
    }

    .recurly .plan .recurring_cost .interval {
        width:100%;
        text-align: center;
        font-size: 12px;
        padding-bottom: 20px;
    }

    .recurly .cost,
    .recurly .discount {
        font-size: 16px;
        text-align: center;
    }

    .recurly .field input[type=text] {
        width: 100%;
    }

    .recurly .field.first_name,
    .recurly .field.last_name {
        width: 34%;
    }

    .recurly .field.email,
    .recurly .field.address1,
    .recurly .field.address2,
    .recurly .field.city {
        width: 71%;
    }

    .recurly .field.state,
    .recurly .field.zip {
        width: 34%;
    }
}


@media only screen and (min-device-width : 774px) and (max-device-width : 1024px) {
    .recurly-plan-list .plan h2 {
        margin:0;
        width:38%;
        float:left;
    }

    .recurly-plan-list .plan .plan-interval {
        width:30%;
        float:left;
    }

    .recurly-plan-list .plan-signup {
        margin:5px 0 0 0;
        width:25%;
        float:left;
        clear:none;
    }

    /* subscription plan */
    .recurly .field input[type=text] {
        width: 100%;
    }

    .recurly .field.first_name,
    .recurly .field.last_name {
        width: 23.7%;
    }

    .recurly .field.email,
    .recurly .field.address1,
    .recurly .field.address2,
    .recurly .field.city {
        width: 50%;
    }

    .recurly .field.state,
    .recurly .field.zip {
        width: 23.7%;
    }

}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .recurly-plan-list .plan {
        width:93%;
    }

    .recurly-plan-list .plan h2 {
        width:58%;
    }

    .recurly-plan-list .plan .plan-interval {
        font-size: 20px;
        width:25%;
    }

    .recurly-plan-list .plan-signup {
        width:96%;
        clear:both;
    }
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .recurly-plan-list .plan h2 {
        margin:0;
        width:38%;
        float:left;
    }

    .recurly-plan-list .plan .plan-interval {
        width:30%;
        float:left;
    }

    .recurly-plan-list .plan-signup {
        margin:5px 0 0 0;
        width:25%;
        float:left;
        clear:none;
    }
}

@media only screen and (min-width: 1530px) and (max-width : 2470px) {
    .recurly-paywall-counter {
        left:20%;
    }
}
@media only screen and (min-width: 2471px) {
    .recurly-paywall-counter {
        left:25%;
    }
}




