
/* -----------------------------------------
GLOBAL ECAP STYLES
----------------------------------------- */

div.fool-ecap footer .textwidget {
    border-top: none;
    padding-top: 0;
    color: #666;
}
div.fool-ecap p {
    font-family: "Hind", arial, sans-serif;
    text-align: left;
    font-size: 1em;
    line-height: 1.3em;
    color: #222;
}
div.fool-ecap p.smalltext, div.fool-ecap p.small {
    clear: left;
    font-size: 0.8em;
    line-height: 1.2em;
    color: #222;
}
div.fool-ecap form {
    position: relative;
    text-align: center;
    margin: 1em;
}
div.fool-ecap form input[type=email] {

}
div.fool-ecap form input[type=email]::-webkit-input-placeholder {
    color:#777 !important;
}
div.fool-ecap form input[type=email]::-moz-placeholder {
    color:#777 !important;
}
div.fool-ecap form input[type=email]:-ms-input-placeholder {
    color:#777 !important;
}
div.fool-ecap form input[type=email]:-moz-placeholder {
    color:#777 !important;
}

div.fool-ecap form input[type="checkbox"],
div.fool-ecap form input[type="email"] {
    border: 1px solid #cacaca;
    font-family: "Hind", arial, sans-serif;
    box-shadow: inset 0 1px 2px hsla(0,0%,4%,.1);
}
div.fool-ecap form input[type="email"] {
    -moz-border-radius: 5px 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px 5px;    
}
/* Checkbox on ecaps */
div.fool-ecap form input[type="checkbox"].accept-terms-checkbox {
    float:left;
    background: #fff;
    color:#c30;
    -moz-border-radius: 3px 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px 3px;
    position: relative;
    cursor: pointer;
    transition: all .3s linear;
}
input[type="checkbox"]:checked {
    background-color: #339933;
}
input[type="checkbox"]:focus{
    outline: 0 none;
    box-shadow: none;
}
p.ecap-disclaimer {
    margin-left:24px;
    font-size:0.9em !important;
    color:#444 !important;
}
/* Button */
div.fool-ecap .button {
    background: #cc3300;
    font-size: 1.2em;
    font-weight: 700;
}
div.fool-ecap .button:hover {
    background: #e73c03;
    color: #ffe;
    position: relative;
    top: 1px;
    left: 1px;
}
div.fool-ecap a.button {
    font-weight: 700 !important;
}
.button.radius,
.radius {
    -moz-border-radius: 5px 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px 5px;
}
.ajaxLoader {
    position: absolute;
    top: 0px;
    right: 0px;
    margin-top: 3px;
    height: 30px;
    width: 30px;
    background: transparent url("/wp-content/common-images/ajaxloader.gif") no-repeat;
    display: none;
}
/* Error/Success Messages */
div.fool-ecap .ecap-error {
    background: #fff url("/wp-content/common-images/icon-stop.svg") 5px 40% no-repeat;
    border:2px solid #c30;
    display:none;
    margin-bottom:1em;
}
div.fool-ecap .ecap-error p {
    margin:1em 1em 1em 40px;
    font-family: "Hind", Arial, Helvetica, sans-serif;
    color:#c30;
}
div.fool-ecap .ecap-success {
    padding:1.5rem;
}
div.fool-ecap .ecap-success,
div.fool-ecap .ecap-success p {
    font-family:"Hind", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:1.1em;
    background:#fff;
    color:#393;
}
/*-------------------------------------------
VANILLA (SIDEBAR)
--------------------------------------------*/
.fool-ecap-type-vanilla {
    margin:0;
    border:1px solid #ccc;
    background:#b5dfe5;
}
.fool-ecap-type-vanilla form {
    margin:1.5rem 1.5rem 3rem;
}
.fool-ecap-type-vanilla input[type="email"] {
    font-family:"Hind", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.fool-ecap-type-vanilla input::-webkit-input-placeholder {
   color: #777;
}
.fool-ecap-type-vanilla input:-moz-placeholder { /* Firefox 18- */
   color: #777;  
}
.fool-ecap-type-vanilla input::-moz-placeholder {  /* Firefox 19+ */
   color: #777;  
}
.fool-ecap-type-vanilla input:-ms-input-placeholder {  
   color: #777;  
}
input:focus::-webkit-input-placeholder {
    opacity: 0;
}
input:focus:-moz-placeholder -input-placeholder {
    opacity: 0;
}
input:focus::-moz-placeholder {
    opacity: 0;
}
input:focus::-webkit-input-placeholder {
    opacity: 0;
}
.fool-ecap-type-vanilla h3 {
    text-align:center;
    margin:0 0.6em 0.8em;
    font-weight: bold;
    /*background:#222;*/
    padding:0.7em 0.5em;
    color:#222;
    font-family:"Hind","Roboto Slab";
    letter-spacing:-0.03em;
    font-size:1.8em;
}
aside section .fool-ecap-type-vanilla h3 {
    text-transform: none;
    line-height:1.2;
}
.fool-ecap-type-vanilla p {
    color:#000;
    line-height: 1.2em;
}
.fool-ecap-type-vanilla input[type="submit"] {
    border-radius:5px;
    background:#e03920;
    color:#fff;
    font-family: "Hind", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:1.2em;
    font-weight:700;
    border:none;
    margin:0.5rem 0 2rem;
    width:100%;
    transition: background-color 0.5s ease;
}
.fool-ecap-type-vanilla input[type="submit"]:hover {
    background:#bd1d07;   
}
.fool-ecap-type-vanilla .small {
    font-size:0.7em;
    line-height:1.3em;
    color:#666;
}
.fool-ecap-type-vanilla .disclaimer-toggle {
    text-align:center;
    font-size:0.8em;
    font-weight:bold;
}
.fool-ecap-type-vanilla .ecap-disclaimer a {
    font-weight: bold;
}

/*-------------------------------------------
VANILLA (IN-ARTICLE)
--------------------------------------------*/
.single article .fool-ecap-type-vanilla {
    padding:2rem;
    margin:1rem 0 2rem;
}

.single article .fool-ecap-type-vanilla h3 {
    background:transparent;
}

/* -----------------------------------------
TICKLE
----------------------------------------- */
#ecapTickle {
    border:3px solid rgba(223,222,218,0.2);
    background: #F6F5F0
}
#ecapTickle.fool-ecap {
    padding:0;
}
#ecapTickle h3.title {
    background:#D07D00;
    text-align: center;
    color:#fff;
    font-size:1em;
    font-weight:bold;
    padding:1em;
}
#ecapTickle .ecap-form {
    margin:2em;
}
#ecapTickle p.login-link {
    font-weight:bold;
    text-align: center;
}
#ecapTickle .ecap-form .button {
    background: #c30;
    font-size: 1.2em;
    padding: 1em 2em;
    width: 100%;
    border-radius:5px;
    font-weight:bold;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-delay: 3s;
    -webkit-animation-iteration-count: 1;
}
#ecapTickle .ecap-form .button:hover,
#ecapTickle .ecap-form .button:focus {
    background:#ff9900;
}

/*-------------------------------------------
MODAL
--------------------------------------------*/
.fool-ecap-type-modal {

}
#ecapModal.main-ecap {
    margin: 1em auto;
    width: 80%;
    padding: 2em;
    position: fixed;
    left: 10%;
    top:5rem !important;
    border: 5px solid rgba(0, 0, 0, 0.8);
}
@media screen and (max-width: 767px) {
  #ecapModal.main-ecap {
        width: 100%;
        left: 0;
    }
  #ecapModal.main-ecap h2 {
        font-size: 2em;
  }
  #ecapModal.main-ecap .ecap-form .button {
        font-size: 1.2em !important;
  }
}

#ecapModal.main-ecap:before {
    content: "                                   ";
    position: absolute;
    z-index: -1;
    background: url(/wp-content/common-images/elvis-bg.svg) no-repeat;
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    transform: rotate(-30deg);
    background-size: 470px;
    background-clip: initial;
    width: 470px;
    height: 470px;
    top: -50px;
    left: -50px;
}
.main-ecap {
    border: 1px solid #eee;
    margin-right: 0;
    padding-bottom: 1em;
    border-radius: 5px;
    margin-bottom: 1.5em;
    margin-left: 1.5em;
    padding: 1em;
    background: white;
    overflow:hidden;
}
.main-ecap .image-container {
    height: 150px;
    width: 150px;
    border: 3px solid white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(2, 66, 105, 0.3);
    -moz-box-shadow: 0px 0px 5px 0px rgba(2, 66, 105, 0.3);
    box-shadow: 0px 0px 5px 0px rgba(2, 66, 105, 0.3);
    transform: rotate(-25deg);
    background: #888;
    position: absolute;
    top: 45px;
    left: -100px;
    z-index: 9999;
    position: fixed;
}
.main-ecap .image-container img {
    position: absolute;
    z-index: 999999;
    border: 1px solid #c30;
}
.main-ecap h3 {
    text-align: center;
    font-size: 2.8em;
    font-family: "Roboto Slab","Hind", "Open Sans", sans-serif;
    font-weight: 700;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-delay: 1s;
    -webkit-animation-iteration-count: 1;
}
.main-ecap h2 span {
    color: #c30;
}
.main-ecap p {
    font-size: 1.2em;
    font-family: "Hind", sans-serif;
}
.main-ecap p.small {
    margin-left: 0;
    color: #aaa;
    font-size: 0.8em;
    font-style: italic;
    clear: both;
}
.main-ecap p.small a {
    color: #369;
}
.main-ecap .ecap-form {
    margin-top: 2em;
    margin-bottom: 1.5em;
    text-align: center;
}
.main-ecap .ecap-form input::-webkit-input-placeholder {
   color: #777;
}

.main-ecap .ecap-form input:-moz-placeholder { /* Firefox 18- */
   color: #777;  
}

.main-ecap .ecap-form input::-moz-placeholder {  /* Firefox 19+ */
   color: #777;  
}

.main-ecap .ecap-form input:-ms-input-placeholder {  
   color: #777;  
}
.main-ecap .ecap-form input:not(.button) {
    font-size: 1.5em;
    padding: 0.5em;
    border-color: rgba(0, 0, 0, 0.4);
}
.main-ecap .ecap-form .button {
    background: #c30;
    font-size: 1.8em;
    padding: 1em 2em;
    width: 100%;
    border-radius:5px;
    font-weight:bold;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-delay: 3s;
    -webkit-animation-iteration-count: 1;
}

/* -----------------------------------------
   SFR Ecaps
----------------------------------------- */
.sfr-ecap-container {
    margin-top: 20px;
}
body.single-sfrecap,
.single-sfrecap .page-background {
    background: #020d24;
    text-align: center;
}
body.single-sfrecap .row,
.single-sfrecap .page-background .row {
    max-width: 70rem;
}
body.single-sfrecap article {
    background:#fff;
}
body.single-sfrecap article .fool-ecap-type-vanilla {
    margin:0;
    padding:0;
}
.single-sfrecap .ajaxLoader {
    right: 18px;
    top: 30px;
}
.single-sfrecap footer {
    padding: 0px;
}
.single-sfrecap footer p, 
.single-sfrecap footer ul li, 
.single-sfrecap footer ol li {
    color: #777;
}
.single-sfrecap .ecap {
    margin: 0 auto;
    background: transparent;
    border: 0px;
    text-align: left;
}
.single-sfrecap .ecap h3 {
    text-transform: none;
    font-size: 1.2em;
    line-height: 1em;
}
.single-sfrecap .ecap p,
.single-sfrecap .ecap ul li,
.single-sfrecap .ecap ol li {
    font-size: 1em;
    line-height: 1.5em;
}
.single-sfrecap .ecap p.ecap-disclaimer,
.single-sfrecap .ecap ul li.ecap-disclaimer,
.single-sfrecap .ecap ol li.ecap-disclaimer {
    font-size: 0.9em;
    line-height: 1.2em;
}
.single-sfrecap .ecap ul li,
.single-sfrecap .ecap ol li {
    margin-bottom: 1.5em;
}
.single-sfrecap .ecap form {
    -moz-border-radius: 5px 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px 5px;
    border: 1px solid #ccc;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
    max-width: 500px;
}
.single-sfrecap .ecap form p .button {
    margin: 0 auto;
}
.single-sfrecap .ecap-error {
    max-width: 500px;
    margin: 0 auto;
}
.single-sfrecap .ecap-success {
    background: #393;
    margin: 1em;
    text-align: center;
    padding: 0.5em;
}
.single-sfrecap .ecap-success p {
    font-size: 1.1em;
    margin: 1em auto;
    font-weight: bold;
    color: #fff;
    text-align: center;
}
.single-sfrecap .video-container {
    margin-bottom: 20px;
}
.single-sfrecap div.video-outside {
    margin: 20px auto;
}
.single-sfrecap article {
    padding: 10px 40px 40px;
    background: #fff;
}
.single-sfrecap .ecap-footer {
    background: transparent;
}
.single-sfrecap .ecap-footer .small {
    font-size: 12px;
}
.single-sfrecap .ecap-footer .textwidget {
    margin-top: 20px;
}

.ecap .ecap-below p, .ecap .ecap-footer p {
    font-size: 0.8em;
}
body.single-sfrecap .ecap h1 {
    margin-top: 20px;
}
/* Apply some different styles to vanilla on ecap pages. */
.single-sfrecap .fool-ecap-type-vanilla {
    background:transparent;
    border:none;
}
.single-sfrecap .fool-ecap-type-vanilla h3 {
    background:transparent;
}

/**************************** 
ECAP OVERLAY (Peekaboo)
****************************/
#peekaboo {
    background: #339933 url(/wp-content/common-images/cap.png) 50px 0 no-repeat;
    padding: 1em;
    position: fixed;
    z-index: 999999999;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.35);
    display: none;
}
#peekaboo h1 {
    font-family: "Hind";
    color: #fff;
    font-weight: normal;
    padding-right: 0.5em;
    font-size: 1.3em;
}
#peekaboo h1 span {
    color: #fc3;
    font-weight: bold;
}
#peekaboo p {
    color: #fff;
    padding: 0;
    margin-top: 1em;
    font-size: 1.0em;
    line-height: 1.2em;
}
#peekaboo input[type="email"] {
    border-radius: 5px 0 0 5px;
    border: none;
}
#peekaboo .button {
    border-radius: 0 5px 5px 0;
    padding: 0.8em !important;
    background: #fc3;
    font-weight: bold;
    color: #000;
}
#peekaboo .small {
    font-size: 0.8em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}
#peekaboo .small a {
    color: #fc3;
}

#peekaboo-2 {
    background: #cc3300 url(/wp-content/common-images/cap.png) 50px 0 no-repeat;
    padding: 0.3em;
    position: fixed;
    z-index: 6;
    top: 4rem;
    left: 0;
    width: 100%;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
    text-align: center;
    display: none;
}
#peekaboo-2 h3 {
    color: #fff;
    font-size: 1.2em;
    display: inline-block;
    margin-right: 1em;
    font-weight: normal;
    font-family: "Open Sans";
    margin-bottom: 0;
}
#peekaboo-2 img {
    margin: 0;
    padding: 0;
}
#peekaboo-2 a.button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    padding: 0.5em 2em;
    font-family: "Open Sans";
    text-transform: uppercase;
    margin-bottom: 0;
}
#peekaboo-2 p {
    color: #fff;
    padding: 0;
    margin: 0;
    font-size: 1.0em;
    line-height: 1.2em;
}

/* -----------------------------------------
INVESTING STYLE RADIO BUTTONS
----------------------------------------- */
.investing-style-wrapper {
    text-align:left;
    margin-bottom:2rem;
}

.investing-style-wrapper ul {
    margin-left:-0.8em;
}

.investing-style-wrapper ul li {
    color: #444;
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin-bottom:0;

}

.investing-style-wrapper ul li input[type=radio] {
    position: absolute;
    visibility: hidden;
}

.investing-style-wrapper ul li label {
    display: block;
    position: relative;
    font-weight: 300;
    line-height:1.2em;
    font-size: 1em;
    padding: 0 0 0 55px;
    margin: 10px auto;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}

.investing-style-wrapper ul li:hover label {
    color: #000;
    font-weight:900;
}


.investing-style-wrapper ul li .check {
    display: block;
    position: absolute;
    border: 2px solid #888;
    background:rgba(255,255,255,0.5);
    border-radius: 100%;
    height: 25px;
    width: 25px;
    top: 6px;
    left: 20px;
    z-index: 5;
    transition: border .4s linear, background .4s linear, font-weight: .4s ease-in-out;
    -webkit-transition: border .4s linear, background .4s linear, font-weight: .4s ease-in-out;   
}

.investing-style-wrapper ul li:hover .check {
    border: 2px solid #000;
    background:#fff;
}

.investing-style-wrapper ul li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 15px;
    width: 15px;
    top: 3px;
    left: 3px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

.investing-style-wrapper input[type=radio]:checked ~ .check {
    border: 2px solid #000;
}

.investing-style-wrapper input[type=radio]:checked ~ .check::before {
    background: #000;
}

.investing-style-wrapper input[type=radio]:checked ~ label {
    color: #000;
    font-weight:bold;
}

/* -----------------------------------------
SPONSORED HEADER
----------------------------------------- */
header.sponsored {
    display:grid;
    grid-template-columns: 1fr 1fr;
    background:#066FC4;
    padding:0.5rem 1rem;
    align-items: center;
}

header.sponsored img {
    height:40px;
}

header.sponsored div {
    font-family:"Roboto Condensed","Hind",sans-serif;
    font-size:1em;
    text-transform: uppercase;
    color:#fff;
}

/* -----------------------------------------
UTILITY CLASSES
----------------------------------------- */
/* Used to emphasize (ie. FREE, SALE, etc) */
.red {
    color: #D4581B;
}
.green {
    color: green;
}
.orange {
    color: orange;
}
.text-align-right {
    text-align:right;
}
.text-align-left {
    text-align:left;
}

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

    .single article .fool-ecap-type-vanilla {
        padding:1em;   
    }
  
    .single-post .right-sidebar div.fool-ecap {
    /* Hide on article pages, otherwise mobile gets 2 ecap widgets */
    display: none;
    }
    body.single-sfrecap .ecap h1 {
    margin-top: 0px;
    }
    body.single-sfrecap article {
    padding: 10px !important;
    }
    body.single-sfrecap .ecap-header {
    height: 100px;
    }
    body.single-sfrecap .ecap-header ul.menu {
    text-align: left;
    margin-left: 0;
    }
    body.single-sfrecap .ecap-header ul.menu li {
    line-height: 140px;
    font-size: 12px;
    }
    body.single-sfrecap .ecap-header ul.menu li:first-child {
    padding-left: 0;
    margin-left: 0;
    }
    body.single-sfr {
    padding: 20px;
    }
}
@media only screen and (max-width: 600px) {
  body#ecap-alt div input[type="email"] {
    width: 80%;
  }
}
@media only screen and (max-width: 450px) {
  body#ecap-alt button[type="submit"]#submit,
  body#ecap-alt #ecap-submit {
    font-size: 16px;
    padding: 0.5em 1em;
  }
}





