/* This is structure.css

=LAYOUT
*********************************/
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 32px;
    letter-spacing: .025em;
    color: #333;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility;
}

.no-marketing-copy {
    background-color: #ddeaf7;
    background-image: none;
}
.no-marketing-copy .page {
    background-color: #fff;
    border-radius: 12px;
}

/* #guarantee is below form @ back end templates */
#guarantee {
    background-color: rgb(255, 250, 236);
    border: 1px dashed rgb(204, 153, 0);
    margin: 25px 0 20px 0;
    padding: 15px 15px 0 15px;
}

#guarantee img {
    display: block;
    float: right;
    height: 60px;
    text-align: center;
    width: 60px;
    margin: 0 0 0 5px;
}

#guarantee h3 {
    color: #B78900;
    margin: 0 0 5px;
}

#guarantee p {
    font: 15px/21px 'Open Sans', Helvetica, Arial, sans-serif;
    color: #000;
}

#form-footer {
    color: #666;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}

#encrypted p {
    font-size: 13px;
    text-align: center;
}

#page-footer {
    margin: auto;
    text-align: center;
    font-size: 12px;
}

/* =ELEMENTS
*********************************/
h1 {
    color: #cc0000;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    font-size: 62px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 70px;
    margin: 5px 0 30px 0;
    text-align: center;
}

h2 {
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    line-height: 32px;
}

h3 {
    color: #014050;
    font-size: 26px;
    font-weight: bold;
    line-height: 32px;
}

p {
    margin-bottom: 16px;
}

a {
    color: #00f;
}

a:link {
    text-decoration: none;
}

blockquote {
    border: none;
    font-size: inherit;
    padding: 0 40px;
}

p.bullets {
    background: url('//g.foolcdn.com/art/shop/newsletters/1502/accept.png') no-repeat scroll 0 0 transparent;
    padding-left: 45px;
    padding-top: 8px;
}

label {
    cursor: pointer;
    font-weight: normal;
}

select {
    background-color: #fff;
    vertical-align: middle;
    width: 100%;
}

/* = Runner Styles
****************************************/
.generic-runner {
    background: #014455 none repeat-x fixed 0 0 / 90px auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    color: #000;
    font-size: 20px;
    padding: 12px 0;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 9999;
}

.runner-content {
    margin: 0 auto;
    max-width: 960px;
}

/* =ORDER FORM
****************************************/
div.form-header {
    background-color: #ffa;
    background-image: url(//g.foolcdn.com/art/new/shop/skins/guaranteed.gif);
    background-repeat: no-repeat;
    background-position: 98% 15px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 130%;
    margin: 30px 0 10px 0;
    padding: 10px 50px 10px 40px;
}

div.form-header h1 {
    color: #000;
    font-size: 28px;
    letter-spacing: normal;
    line-height: 1.33;
    margin: 0;
    text-align: left;
}

#order h3 {
    color: #000;
}

#order input[type='text'] {
    padding-left: 5px;
    width: 100%;
}

.option input[type='radio'],
.option input[type='checkbox'] {
    top: 3px; /* override surveyor.css when on order page */
}

.label-mimic { /* Reproduces Bootstrap styles for label tag */
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

/* #order label.required:before,
#order #required-indicator:before,
#order .label-mimic.required:before {
    content: "* ";
} */

#order #required-indicator {
    font-size: 11px;
}

#order label.optional {
    font-size: 85%;
    font-weight: normal;
}

#order label.inline.optional {
    padding-left: 10px;
}

#order fieldset {
    background-color: #ffe;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px;
    padding-top: 20px;
}

#order #credit-card select {
    width: auto;
}

#order #sign-out .email {
    display: block;
}

#order #sign-out p {
    font-size: 12px;
}

.clarification {
    font-size: 12px;
    margin: 0;
    padding: 8px 0 0 4px;
    overflow: hidden;
}

#offers {
    margin-bottom: 20px;
}

#offers div.chosen {
    background-color: #FCFFF5;
    background-image: url('//g.foolcdn.com/art/shop/newsletters/shared/OP-select-Checkon-38.png');
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 131, 24, 0.2);
    border: 2px solid #138D1C;
}

#offers label {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    line-height: 1.25;
    width: 90%;
}

#offers div.details {
    font-size: 14px;
    padding-right: 35px;
}

#offers div.details span.currency {
    font-size: inherit;
}

#offers div.details p.guarantee {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 0 0 20px;
}

#offers ul.disclaimers {
    margin-bottom: 1em;
    margin-top: 5px;
    padding-left: 20px;
}

#offers ul.disclaimers li {
    color: #333;
    font-size: 11px;
    line-height: 16px;
    list-style-type: none;
    margin-bottom: 0.5em;
}

.disclaimer p {
    color: #333;
    margin-bottom: 20px;
}

.disclosure p {
    text-align: center;
    color: #333;
    font-size: 11px;
    line-height: 16px;
    font-style: italic;
    margin: 0;
}

#offers div.offer {
    background-image: url('//g.foolcdn.com/art/shop/newsletters/shared/OP-select-Checkoff-dot-38.png');
    background-position: 20px 20px;
    background-repeat: no-repeat;
    border: 1px solid #999;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    color: #333;
    cursor: pointer;
    margin: 15px;
    opacity: 0.35;
    padding: 25px 0px 15px 60px;
}

#offers div.offer input {
    visibility: hidden;
}

#offers div.chosen {
    background-color: #fff;
    background-image: url('//g.foolcdn.com/art/shop/newsletters/50/check_on.png');
    opacity: 1.0;
}

#offers div.offer:hover {
    opacity: 1.0;
    -moz-transition: opacity 0.2s ease 0s;
    -webkit-transition: opacity 0.2s ease 0s;
    -o-transition: opacity 0.2s ease 0s;
}

#offers div.offer span.currency {
    font-size: 20px;
}

#offers div.offer sup {
    color: #6a6a6a;
    font-size: 10px;
    vertical-align: middle;
}

div#order-button {
    text-align: center;
    padding-bottom: 20px;
}

#submit-button {
    background-color: #27ae60;
    border-color: #27ae60;
    border-radius: 8px;
    border-style: solid;
    border-width: 1px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin: 1em auto 0;
    padding: 15px 10px 13px;
    width: 11em;
    color: #fff;
}

#submit-button:hover,
#submit-button:focus {
    background-color: #fff;
    color: #27ae60;
}

#submit-button:focus {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

#submit-button.disabled {
    background-color: #ddd;
    color: #999;
}

#form-errors {
    padding: 0 0 25px 25px;
}

#form-errors h3 {
    color: #666;
    line-height: 1;
}

#form-errors ul {
    margin-top: 10px;
}

.form-group > div {

}

.form-horizontal .control-label {
    padding-top: 9px;
}

div.control-field { /* need the 'div' to ensure it overrides the default style */
    border: 1px solid transparent;
    padding: 3px 5px 0 25px;
    border-radius: 5px;
}

/* Form Validation styles BEGIN */

div.validEntry > input, div.validEntry > select  {
    border: 1px solid #28a745 !important;
}

div.invalidEntry > input, div.invalidEntry > select {
    border: 1px solid #dc3545 !important;
    /* border: 1px solid #f66;
    background-color: #ffb2b2;
    margin: 0;
    padding: 0; */
}

.invalidEntry > .text-danger > p {
    font-size: 12px;
    /* font-style: italic; */
    margin: 4px 0;
    line-height: 1.25em;
    color: #dc3545;
    /* color: inherit; */
}

/* Form Validation styles END */

#fool-pass fieldset {
    padding-bottom: 15px;
}

#credit-card {
    position: relative;
}

#credit-card input[type=radio] {
    position: absolute;
    top: 3px;
    left: 0;
}

#alternativePaymentMethods h3 {
    display: inline;
    vertical-align: middle;
    padding-left: 5px;
}

#credit-card h3 {
    margin-left: 12px;
}

div#credit-card {
    margin-top: 15px;
}

div.payment-method {
    margin-bottom: 20px;
}

.form-header + script + .IN-widget {
    margin-top: 20px;
}

.returns {
    color: #008000;
}

/* =UTIL
****************************************/
td.return {
    font-weight: bold;
}

td.pos {
    color: #063;
}

td.neg {
    color: #c00;
}

td.numeric {
    text-align: right;
}

div.debug {
    color: lightgray;
    text-align: center;
    font-size: x-small;
}

.bigText { /* Mimics h4 from /premium/SA/old-style.css which has been misused for styling. */
    text-transform: uppercase;
    padding-top: 0;
    margin-top: -16px;
    font-weight: 300;
}

.biggerText { /* Mimics h3 from /premium/SA/old-style.css which has been misused for styling. */
    margin-bottom: 3px;
}

/* =VIDEO
****************************************/
div.video-container {
    background: url('//g.foolcdn.com/art/shop/newsletters/1502/video-bottom660.png') no-repeat scroll 0 382px transparent;
    height: 390px;
    margin: 20px auto;
    position: relative;
    width: 660px;
}

div.video {
    background-color: #fff;
    border: 1px solid #ccc;
    font-family: arial;
    margin-bottom: 1em;
    padding: 10px;
}

div.video div.border {
    border: thin #666;
}

.wistia_embed {
    width: 640px;
    height: 360px;
}

#startnow {
    background: #E7D437;
    color: #333;
    font-size: 26px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    height: 46px;
    line-height: 46px;
    margin: 10px auto;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.65);
    width: 12em;
}

#startnow a {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 0 #fff inset, 0 0 2px rgba(0, 0, 0, 0.2);
    color: #000;
    display: block;
}

#startnow a:hover {
    background: #ffe300;
}

/* =LOGIN
****************************************/
div#login-div {
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
}

div#login-div div#gray-out-overlay {
    background-color: gray;
    opacity: 0.75;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10001;
}

div#login-div div.outer-shell {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    opacity: 1;
    width: 300px;
    height: 380px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 2px solid gray;
    padding: 20px;
}

div#login-div div.outer-shell div.inner-shell {
    text-align: center;
    border: 1px solid gray;
    border-radius: 3px;
    background-color: #f4f7fb;
    margin: 0;
    height: 100%;
}

div#login-div div.outer-shell div.inner-shell a {
    display: block;
    margin-top: -5px;
    font-size: 12px;
}

iframe#login-iframe {
    width: 250px;
    left: 0;
    right: 0;
}

.agreement-checkbox {
    border: 1px solid black;
    padding: 5px;
    text-align: left;
    vertical-align: middle;
    /*font-size: 20px;*/
    font-size: 18px;
    width: 100%;
    margin-left:auto;
    margin-right:auto;

}
.agreement-checkbox input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/*prevents onetrust font from being too small*/
.otRelFont {
    font-size: 1.5rem !important;
}

/* =MEDIA QUERIES
****************************************/
@media only screen and (max-width: 480px) {
    #order fieldset {
        background-color: #fff;
        border-style: none;
    }

    div.form-header {
        padding-left: 15px;
    }

    div.form-header h1 {
        font-size: 15px;
    }

    #offers div.offer {
        background-position: center 15px;
        margin: 15px 0px;
        padding: 0 5px 10px 15px;
    }

    #offers div.chosen {
        padding-top: 45px;
    }

    .form-horizontal .form-group {
        margin-left: -13px;
        margin-right: -13px;
    }
}

@media only screen and (max-width: 768px) {
    a.btnForMobile,
    a.btnForMobile:link,
    a.btnForMobile:visited {
        display: inline-block;
        padding: 3px 10px;
        background-color: #0D47A1;
        border: 1px solid #fff;
        color: #fff;
        border-radius: 6px;
        margin-left: 6px;
    }

    a.btnForMobile:active,
    a.btnForMobile:hover,
    a.btnForMobile:focus {
        background-color: #fff;
        border: 1px solid #0D47A1;
        color: #0D47A1;
        text-decoration: none;
    }

    .hideOnMobile {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    div.form-header {
        background-position: 95% center;
    }

    a.btnForMobile,
    a.btnForMobile:link,
    a.btnForMobile:hover,
    a.btnForMobile:visited,
    a.btnForMobile:focus {
        color: #666;
        cursor: default;
        text-decoration: none;
    }

    .hideOnDesktop {
        display: none;
    }
}


div.apple-pay {
    max-width: 325px;
    width: 100%;
    height: 46px;
}

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
    }
    .apple-pay-button-black {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line {
        -apple-pay-button-style: white-outline;
    }
    .apple-pay-button-with-text {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
        -apple-pay-button-type: buy;
    }
    .apple-pay-button-with-text > * {
        display: none;
    }
    .apple-pay-button-black-with-text {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white-with-text {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line-with-text {
        -apple-pay-button-style: white-outline;
    }
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
    .apple-pay-button-with-text {
        --apple-pay-scale: 1; /* (height / 32) */
        display: inline-flex;
        justify-content: center;
        font-size: 12px;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black-with-text {
        background-color: black;
        color: white;
    }
    .apple-pay-button-white-with-text {
        background-color: white;
        color: black;
    }
    .apple-pay-button-white-with-line-with-text {
        background-color: white;
        color: black;
        border: .5px solid black;
    }
    .apple-pay-button-with-text.apple-pay-button-black-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-with-text.apple-pay-button-white-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-with-text.apple-pay-button-white-with-line-with-text > .logo {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-with-text > .text {
        font-family: -apple-system;
        font-size: calc(1em * var(--apple-pay-scale));
        font-weight: 300;
        align-self: center;
        margin-right: calc(2px * var(--apple-pay-scale));
    }
    .apple-pay-button-with-text > .logo {
        width: calc(35px * var(--scale));
        height: 100%;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 0 50%;
        margin-left: calc(2px * var(--apple-pay-scale));
        border: none;
    }
}

.apple-pay-set-up-button {
    display: inline-block;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: set-up;
}
.apple-pay-set-up-button-black {
    -apple-pay-button-style: black;
}
.apple-pay-set-up-button-white {
    -apple-pay-button-style: white;
}
.apple-pay-setup-button-white-with-line {
    -apple-pay-button-style: white-outline;
}

.apple-pay-donate-button {
    display: inline-block;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: donate;
}

.apple-pay-donate-button-black {
    -apple-pay-button-style: black;
}

.apple-pay-donate-button-white {
    -apple-pay-button-style: white;
}

.apple-pay-donate-button-white-with-line {
    -apple-pay-button-style: white-outline;
}

/* Enforce strict styles on Apple Pay form fields */
.form-group{
    margin-bottom: 5px !important;
}

div.control-field {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

div.control-field {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

/* Remove green form styles applied due to general use of a ".active" style set in backend css */
.payment-method .active{
    background-color: unset;
    color: unset;
}
