/*
 * Inside Edition CSS article page styles

   CSS DIRECTORY
    1. =MAIN CONTENT
    2. =HEADER
    3. =HERO ELEMENT
    4. =ARTICLE TEXT
    5. =WIDGETS
        5.1 NEWSLETTER
        5.2 RELATED COVERAGE
    6. =MEDIA QUERIES
         6.1  =1024PX
         6.2  =1600PX
*/


/* ===============
   1. MAIN CONTENT
   =============== */

#main-content {
    margin: 0 auto;
    overflow: auto;
    background: #fff;
}

/* ===============
   2. HEADER
   =============== */

header {
    padding-left: 15px;
    padding-right: 15px;
}

.page-category {
    color: #ff0000;
    font-family: 'Roboto Condensed Bold';
    font-size: 12px;
    text-transform: uppercase;
}

.page-category:hover {
    color: #ff0000;
    text-decoration: none;
}

#main-headline {
    border-bottom: 1px solid #e7e7e7;
    color: #111111;
    font-family: 'Roboto Light';
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 4px 0;
    padding-bottom: 12px;
}

.author-date {
    margin-bottom: 12px;
    margin-top: 12px;
    padding: 4px 0;
    position: relative;
}

.author {
    margin-right: 11px;
}

.author,
time {
    color: #1f1f1f;
    font-family: 'RobotoCondensed Light';
    font-size: 12px;
}

header .social-list {
    display: none;
    left: inherit;
    top: -14px;
    z-index: 0;
}
.social-list.article.top {
    display: none;
    left: inherit;
    top: -18px;
    z-index: 0;
}

.social-list.article.side {
    display: none;
    left: inherit;
    top: -18px;
    z-index: 0;
}
#social-share {
    overflow: hidden;
}

.social-list.article.side {
    display: none;
}

#socialSticky .social-list {
    display: none;
}

#social-share .desktop-txt {
    display: none
}

#social-share .st_facebook_large,
#social-share .st_twitter_large {
	color: #fff;
	cursor: pointer;
	font-family: 'Roboto Medium';
	font-size: 16px;
	height: 40px;
	margin-bottom: 0;
	position: relative;
	transition: all .25s;
	width: 49%;
    display: inline-block;
}

#social-share .st_facebook_large:hover,
#social-share .st_twitter_large:hover {
    opacity: .65;
}

#social-share .st_facebook_large span,
#social-share .st_twitter_large span {
	left: 15px;
    line-height: 42px;
    position: absolute;
    text-align: center;
    width: calc(100%);
}

#social-share .st_facebook_large {
    background-color: rgba(33, 90, 159, 1);
}

#social-share .st_twitter_large {
    background-color: rgba(0, 170, 242, 1);
}

#social-share .st_facebook_large .fa,
#social-share .st_twitter_large .fa {
    border-right: 1px solid #194880;
    font-size: 22px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    width: 40px;
}

#social-share .st_facebook_large .fa {
    border-right: 1px solid #194880;
}

#social-share .st_twitter_large .fa {
    border-right: 1px solid #0097da;
}

/* ===============
   3. HERO ELEMENT
   =============== */

##intro_wrapper {
    margin-bottom: 10px;
}

#intro_wrapper .social-list.top {
    width: 152px;
}

#intro_wrapper .social-list .social-img {
    align-items: center;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    font-size: 16px;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
}

#hero_outer_wrapper {
    background: url('/images/IE-logo-placeholder.png');
    margin-bottom: 25px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

#hero-wrapper {
    z-index: 3;
}

#hero {
    position: relative;
}

#hero-wrapper.stickyvideo,
#hero,
#latest-news {
    background-color: #ffffff;
}

#hero-title {
    color: #1f1f1f;
    background-color: #ffffff;
    display: none;
    font-family: 'Roboto Light';
    font-size: 16px;
    height: 50px;
    line-height: 22px;
    padding: 13px 0 13px 1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.addBG .video-container {
    position: relative;
    top: 15px;
    padding-top: 15px;
    background: #ffffff;
}

.addBG .video-container .BCouter {
    top: -15px;
}

.sticky #hero-title {
    box-shadow: 0 8px 8px -4px rgba(0, 0, 0, .2);
    display: none;
}

#hero-title .em {
    color: #ff0000;
    font-family: 'Roboto Medium';
}

.image-caption {
    font-family: 'Roboto Regular';
    font-size: 12px;
    line-height: 20px;
    margin: 0 auto;
    padding: 10px 12px 10px;
    display: inline-block;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

/* ===============
   3. ARTICLE TEXT
   =============== */

.article-txt {
   color: #1f1f1f;
   font-family: 'Roboto Light';
   font-size: 16px;
   line-height: 22px;
   margin-bottom: 23px;
   padding-left: 15px;
   padding-right: 15px;
}

.article-txt p img {
   margin-left: -15px;
   max-width: calc(100% + 30px);
}

.article-txt p strong {
   font-weight: bolder;
}

.article-txt p em {
   font-family: 'Roboto Light Italic';
}

.article-txt a {
   color: #0085cc;
   font-family: 'Roboto Medium';
   font-size: 16px;
}
.article-txt em a,
.article-txt a em{
   font-family: 'Roboto Medium Italic';
}

.article-txt span.st_twitter_large {
    float: right;
}

blockquote.article {
    border-left: none;
    color: #1f1f1f;
    font-family: 'Roboto Thin';
    font-size: 26px;
    line-height: 32px;
    margin: 0 0 6px;
    text-align: center;
}

blockquote.article .author {
    color: #111111;
    display: block;
    font-family: 'RobotoCondensed Regular';
    font-size: 12px;
    margin-top: 2px;
}

.article-img {
    margin-bottom: 27px;
    margin-top: 21px;
}

.article-text-wrapper{
    position: relative;
}

.article-txt p.iframeContainer {
    padding-bottom: 25px;
    padding-top: 25px;
    position: relative;
}

.article-txt p.iframeContainer iframe {
    width: 100%;
}

/* ===============
   4. WIDGETS
   =============== */

.widget {
    border: 1px solid #dddddd;
    width: 300px;
}

.widget .header {
    color: #202020;
    display: block;
    font-family: 'Roboto Medium';
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 9px;
    margin-top: 0px;
}

.widget .header b {
    color: #ff0000;
    font-weight: 100;
}

.widget .title a {
    color: #1f1f1f;
    font-family: 'RobotoCondensed Light';
    font-size: 20px;
    line-height: 26px;
}

.widget .category a {
    color: #ff0000;
    font-family: 'RobotoCondensed Regular';
    font-size: 12px;
    line-height: 24px;
}

.widget .title a:hover,
.widget .category a:hover {
    opacity: .65;
    text-decoration: none;
}

.inner-padding {
    padding: 17px 12px 15px 12px;
}

/*-- shared --*/
#newsletter-sidebar,
#latest-news {
    padding: 12px;
}

.modules-sidebar.multiple {
    margin: 0 15px;
}

/*-- brightcove videos --*/

.video-container .BCouter {
    display: block;
    padding-bottom: 56.25%;
    position: relative;
}

.video-container .BCouter object {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/*-- lastest news --*/
#latest-news .header {
    color: #222222;
}

#latest-news .header::after {
    border-bottom: 3px solid #e7e7e7;
    content: "";
    margin-left: 7px;
    padding-left: 154px;
    position: relative;
    top: -8px;
}

#latest-news .title a {
    color: #222222;
    font-size: 18px;
    line-height: 22px;
    position: relative;
    top: -4px;
}

#latest-news .entry {
    border-bottom: 1px solid #dddddd;
    display: inline-flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.thumbnail_widget {
    flex-shrink: 0;
}

#latest-news .entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    overflow: auto;
    padding-bottom: 0;
}

#latest-news .thumbnail_widget a {
    display: block;
    height: 65px;
    margin-right: 10px;
    overflow: hidden;
    width: 65px;
}

#latest-news .thumbnail_widget a img.thumbnail-img {
    left: -30px;
    max-width: inherit;
    position: relative;
}

/*-- livefyre override --*/
a.fyre-comment-action-button {
    box-sizing: initial;
}

/*-- livefyre override --*/
a.fyre-comment-action-button {
    box-sizing: initial;
}

/*-- newsletter --*/

#newsletter-sidebar {
    height: 120px;
    margin: 0 auto;
    padding: 14px 10px 18px 10px;
    width: auto;
}

#newsletter-sidebar .email-holder {
    display: inline-block;
    position: relative;
    width: calc(100% - 100px);
}

#newsletter-sidebar .email-holder .fa.fa-envelope {
    color: #bbbbbb;
    position: absolute;
    font-size: 20px;
    line-height: 18px;
    padding: 6px;
}

#newsletter-sidebar .email-input {
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
    box-shadow: inset 1px 1px 1px 0px rgba(0, 0, 0, .1);
    border-radius: 0;
    color: #444;
    font-family: 'RobotoCondensed Regular';
    font-size: 14px;
    height: 30px;
    padding: 5px 10px 6px 31px;
    width: 100%;
}

#newsletter-sidebar .btn {
    background-color: #111111;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    display: inline-block;
    font-family: 'Roboto Condensed Bold';
    font-size: 15px;
    margin-left: 9px;
    padding: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .25s;
    width: 85px;
    height: 30px;
    top: 0;
    position: relative;
}

#newsletter-sidebar .btn:hover {
    opacity: .65;
}

#newsletter-sidebar .terms {
    color: #aaa;
    font-family: 'RobotoCondensed Regular';
    font-size: 11px;
    line-height: 11px;
    margin: 7px 0 0;
}

#newsletter-sidebar .terms a {
    color: #666666;
    font-family: 'RobotoCondensed Regular';
    font-size: 11px;
    line-height: 11px;
}

#newsletter-sidebar #df_error1,
#newsletter-sidebar #df_thanks1,
#newsletter-sidebar #email_results1 {
    font-family: 'RobotoCondensed Regular';
    font-size: 15px;
    line-height: 15px;
    margin-top: 10px;
}

#newsletter-sidebar #df_error1 {
    color: rgba(253, 18, 55, 1);
}

.required, #newsletter_input-error {
    color:#ff0000;
    font-weight: 100;
}
#success, #error {
    display:none
}
#success span, #r span {
    display:block;
    width:100%
}
#success span p, #error span p {
    margin-top: 10px;
    margin-left: 15px;
}
#success span p {
    color:#9bd32d;
}
#error span p {
    color:#c0392b;
}

/* ===============
   5. MISC
   =============== */

.widget {
    display: none;
}
#around-web {
    min-height: 515px;
}
#newsletter-sidebar.widget {
    display: block
}
#newsletter-sidebar form #submit {
    background-color: #111111;
    border-radius: 0;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto Condensed Bold';
    font-size: 15px;
    height: 30px;
    margin-left: 9px;
    padding: 4px;
    position: relative;
    text-transform: uppercase;
    top: 0;
    transition: all .25s;
    width: 85px;
}
.subsection {
    margin-bottom: 45px;
    margin-top: 55px;
    padding: 0 15px;
}

.subheader {
    border-bottom: 3px solid #e7e7e7;
    color: #333;
    font-family: 'Roboto Medium';
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 12px;
    margin: 0;
    padding-bottom: 14px;
}
.thumbnail_widget:hover{
    opacity: .65;
}
.video-icon{
    position: relative;
}
.video-icon::before{
    align-items: center;
    background-color: rgba(0,0,0,.4);
    background-image: url('/images/playbutton.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
    content:"";
    display: flex;
    display: -webkit-flex;
    height: 30px;
    justify-content: center;
    position: absolute;
    width: 30px;
    z-index: 2;
    -webkit-align-items: center;
    -webkit-justify-content: center;
}
#latest-news .video-icon::before{
    height: 20px;
    width: 20px;
    background-size: 18px;
}

/*-- Ads --*/
.medrec {
    min-height: 300px;
}

/* ===============
   6. MEDIA QUERIES
   =============== */


/*== (min-width: 1024px) ==*/

@media (min-width: 1024px) {
    .author {
        margin-right: 15px;
    }
    #main-content {
        position: relative;
        width: 971px;
        padding: 18px;
    }
    .content{
        float: right;
    }
    header {
        padding-left: 0;
        padding-right: 0;
    }
    #main-headline {
        border-bottom: 3px solid #e7e7e7;
        font-size: 50px;
        line-height: 1.1;
    }
    #newsletter-sidebar.widget,
    .widget,
    .adwrapper.medrec,
    #hero {
        margin: 0 0 25px;
    }
    #hero_wrapper,
    .content {
        width: 615px;
    }
    .widget {
        display: inline-block;
        width: 300px;
    }
    #hero_wrapper .content {
        margin-left: 0;
    }
    #intro_wrapper {
        width: 615px;
    }
    .image-caption {
        padding: 20px 0 18px;
    }

    .article-txt, .article-txt a, .article-txt p {
        font-size: 18px;
    }
    .article-txt {
        line-height: 28px;
        margin-bottom: 18px;
        padding-left: 72px;
        padding-right: 0;
    }
    .article-img {
        margin-bottom: 35px;
        margin-top: 28px;
        padding-left: 72px;
    }
    header .social-list {
        display: flex;
        display: -webkit-flex;
    }
    blockquote.article {
        padding-left: 72px;
    }
    blockquote .article-quote{
        padding: 0 20px;
    }
    #newsletter-sidebar.widget {
        background: #ffffff;
        margin: 0 0 20px 0;
        position: relative;
        width: 300px;
    }
    #newsletter-sidebar .email-input {
        width: 100%;
    }
    /*-- social ---*/
    #social-share .desktop-txt {
        display: inline-block;
    }
    #social-share .mobile-txt {
        display: none;
    }
    #social-share .st_facebook_large,
    #social-share .st_twitter_large {
        font-size: 17px;
    }
    #socialSticky .social-list {
        left: 0;
        margin: 0 0 0 40px;
        position: absolute;
        right: initial;
        top: 0;
        width:auto;
    }
    #socialSticky .social-list li {
        float: none;
        margin-bottom: 8px;
        margin-right: 0;
    }
    .social-list.article.side {
        display: block;
    }
    .social-list.article.side {
        left: auto;
        margin: 0 0 0 20px;
        position: absolute;
        right: auto;
        top: inherit;
        width: auto;
        z-index: 1;
    }
    .social-list.article.side li {
        float: none;
        margin-bottom: 8px;
        margin-right: 0;
    }
    .social-list.article.top {
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        display: -webkit-flex;
        top: -13px;
    }

    /*-- end social ---*/
    .medrec {
        margin: 0 0 25px 0;
        text-align: left;
    }
    .page-category,
    .author,
    time {
        font-size: 14px;
    }
    .subsection {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 50px;
        margin-top: 0px;
        padding: 0;
    }
    .article-img {
        margin-bottom: 33px;
        margin-top: 33px;
    }
    /* flexbox page layout */
    #widget-wrapper{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }
    #related-coverage {
        order: -9;
    }
    #newsletter-sidebar {
        order: -8;
    }
    #trending-now-social {
        order: -7;
    }
    #around-web {
        order: -6;
    }
    footer{
        clear: both;
    }
    .content p img {
        margin-left: 0;
        max-width: 100%;
    }

    #social-share .st_facebook_large span,
    #social-share .st_twitter_large span {
        line-height: 40px;
    }
    #hero_outer_wrapper {
        min-height: 346px;
    }
    #social-share .st_facebook_large span,
    #social-share .st_twitter_large span {
        left: 20px;
    }
    .modules-bottom.multiple {
        margin-top: 95px;
        display: inline-block;
        width: 100%;
    }
    .modules-sidebar.multiple {
        margin: 0;
    }
    .sticky #hero-title {
        display: block;
    }
}


/*== (min-width: 1600px) ==*/

@media (min-width: 1600px) {
    #main-content {
        margin: 0 auto;
        width: 1280px;
        padding: 15px 30px;
    }
    #intro_wrapper,
    #hero_wrapper {
        width: 900px;
    }
    #newsletter-sidebar.widget,
    .widget,
    .adwrapper.medrec,
    #hero {
        margin: 0 0 30px;
    }
    .article-txt,
    .article-img,
    blockquote.article{
        padding-right: 90px;
        width: 862px;
    }
    .subsection {
        width: 900px;
    }
    .article-img {
        margin-bottom: 34px;
    }
    #main-headline {
        font-size: 55px;
    }
    blockquote.article{
        font-size: 36px;
        line-height: 46px;
    }
    blockquote .article-quote{
        padding: 0 30px;
    }
    .page-category,
    .author,
    time {
        font-size: 13px;
    }
    #socialSticky .social-list {
        margin: 0 0 0 70px;
        width: auto;
    }
    .social-list.article.side {
        margin: 0 0 0 53px;
        width: auto;
    }
    #hero_outer_wrapper {
        min-height: 500px;
    }
    #social-share .st_facebook_large span,
    #social-share .st_twitter_large span {
        left: 17px;
    }
    .modules-bottom.multiple {
        margin-top: 135px;
    }
    .social-list.article.side {
        margin: 0 0 0 53px;
        width: auto;
    }
    #hero_outer_wrapper {
        min-height: 500px;
    }
}
