/**
 * In-article CTAs.
 */
.email-news-promo-panel.mobile-only {
    display: none;
}
.email-news-promo-panel {
    margin: 8px 0px 10px 0px;
}
.email-news-promo-panel p {
    display: inline-block;
    font-size: 15px;
    padding: 5px 8px;
    line-height: 18px;
    height: 35px;
    clear: both;
    width: 190px;
    color: #ffffff;
    position: relative;
}
.email-news-promo-panel i {
    width: 35px;
    height: 45px;
    display: inline-block;
    right: -35px;
    top: 0;
    position: absolute;
}
.email-news-promo-panel input {
    margin: -20px 20px 0 40px;
    padding: 5px 10px;
    width: 180px;
}
.email-news-promo-panel button {
    font-size: 15px;
    float: right;
    margin: 8px 10px 0 0 !important;
    min-width: 20%;
}
.sharing-options div.mobile-only.email-news-promo-panel {
    padding-top: 0;
}
.mobile-only.email-news-promo-panel {
    float: left;
    width: 100%;
    margin: 0;
}
.mobile-only.email-news-promo-panel p {
    margin: 0;
    text-align: left;
    width: 56%;
    float: left;
    margin: 0 10px 20px;
}
.mobile-only.email-news-promo-panel .button {
    font-size: 14px;
    color: #ffffff;
    width: 12% !important;
    margin: 5px 10px 0;
    min-width: 82px;
    white-space: nowrap;
    float: right;
}
.mobile-only.email-news-promo-panel .button:hover {
    color: #371556;
}

/**
 * In-list CTAs.
 */
#tealiumEmailPanel.ad-email-newsletter {
    min-height: 92px;
    height: 100%;
    clear: both;
    display: block;
    position: relative;
}
#tealiumEmailPanel.ad-email-newsletter p {
    font-size: 15px;
    letter-spacing: 0.03em;
    line-height: 18px;
    color: #ffffff;
    display: inline;
    padding: 2%;
    float: left;
    width: 44%;
}
#tealiumEmailPanel.ad-email-newsletter p span {
    float: right;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    margin-top: 5px;
}
#tealiumEmailPanel.ad-email-newsletter div {
    float: right;
    width: 50%;
    height: 92px;
    position: absolute;
    right: 0;
    overflow: hidden;
}
#tealiumEmailPanel.ad-email-newsletter img {
    float: right;
    width: auto;
    min-width: 156px;
    min-height: 90px;
    margin-top: -14%;
    height: auto !important;
    border-bottom: none;
    -ms-interpolation-mode: bicubic;
}

/**
 * Modal CTAs.
 */
.modal-mask-layer {
    background: rgba(0,0,0,0.4) top left repeat;
    width: 100%;
    height: 8000px;
    z-index: 5;
    position: absolute;
    top: -260px;
}
#ctaModal {
    min-width: 300px;
    width: 98%;
    max-width: 432px;
    height:330px;
    position: fixed;
    left: 1%;
    right: 1%;
    margin: 100px auto;
    z-index: 9999999;
}
#ctaModal .modal-content {
    background-color: #eaeaeb;
    border: 1px solid #999999;
    min-width: 300px;
    min-height:300px;
    margin: 0 2%;
    padding-bottom: 5px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
#ctaModal .modal-header {
    background: white url() no-repeat;
    background-position: center;
    min-height: 70px;
    background-size: 320px;
}
#ctaModal .modal-header img {
    width: 260px;
    display: block;
    margin: 0 auto;
    padding: 20px 0 0;
}
#ctaModal .close {
    position: relative;
    text-align: right;
    right: 5px;
    font-weight: bold;
    font-size: 21px;
    color: rgb(152, 150, 150);
    top: -40px;
}
#ctaModal .modal-footer {
    text-align: center;
    padding: 5px;
    font-size: 16px;
    line-height: 26px;
}
#ctaModal .button {
    font-size: 17px;
}
#ctaModal .footer_link {
    position: relative;
    bottom: -23px;
    right: 9px;
    text-align: right;
    font-size: 15px;
}
#ctaModal .modal-body {
    text-align: center;
    margin: 10px 20px 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 32px;}
#ctaModal input {
    margin: 19px;
    height: 28px;
    width: 72%;
    font-size: 14px;
    text-align: center;
}
#ctaModal .form-control {
    text-align: center;
}
#ctaModal h3,
.h3 {
    font-weight: bold;
}
#ctaModalClose {
    position: absolute;
    text-align: right;
    right: 4%;
    font-weight: bold;
    font-size: 21px;
    color: #666666;
    top: 10px;
    cursor: pointer;
}

@media only screen and (max-width: 480px) {
    .email-news-promo-panel.mobile-only {
        display: block;
    }
    .email-news-promo-panel input {
        margin: 10px 0px 0px 0px;
    }
    form.grid_8.alpha.email-news-promo-panel {
        display: none;
    }

    /* Make the top leaderboard on the mobile site sit above the modal so it is still clickable. */
    #DFP_top_leaderboard {
        z-index: 6;
    }
}
