/***
 * START newsDetail2020.css
 */

/* ----------------- BUTTON VER MAIS --------------------- */
.newsdetail-content .wrapper-hide-tooLong {
    display: none;
    position: relative;
}

.newsdetail-content.tooLong .wrapper-hide-tooLong {
    display: block;
}

.newsdetail-content.tooLong .content {
    height: 245px;
    overflow: hidden;
}

.newsdetail-content.tooLong .hide-news-wrapper {
    width: 100%;
    position: absolute;
    padding-top: 45px;
    top: 145px;
    z-index: 5;
    background-color: #fff;
    border-bottom: 350px solid #fff;
    box-shadow: -25px -100px 50px rgba(255, 255, 255, 0.9);
}

.newsdetail-content.tooLong .hide-news-wrapper .detail-button-wrapper {
    text-align: center;
}
/* ----------------- END BUTTON VER MAIS --------------------- */

/*PREMIUM*/
/*premium button news*/
.newslist .premium-button {
    margin-top: -10px;
    margin-bottom: 20px;
    color: #F0D66A;
    font-size: 16px;
    font-family: 'Roboto';
    line-height: 21px;
    font-weight: bold;
    text-transform: uppercase;
    padding-right: 14px;
}

.newslist .premium-content:not(.open) {
    opacity: 0;
}

.newslist .premium-content {
    background: #ffffff;
    text-align: center;
    position: absolute;
    top: 3000px;
    left: 0;
    margin: 0;
    width: 100%;
    padding-top: 74px;
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.newslist .premium-content .content {
    padding-bottom: 60px;
    border-bottom: solid 1px #dddddd;
}

body.modal-open {
    height: auto;
    padding-right: 0 !important;
}

.modal-backdrop {
    height: 104px;
    top: 59px;
    position: absolute;
}

#premium-modal .modal-content {
    border-radius: 0;
    border: none;
    padding: 84px 0px 100px 0px;
    text-align: center;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.newslist .premium-content .premium-border {
    position: absolute;
    top: 0;
    background: #F0D66A;
    width: 100%;
    height: 14px;
}

.newslist .premium-content h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    color: #F0D66A;
}

.newslist .premium-content p {
    font-size: 18px;
    line-height: 24px;
    font-family: 'Roboto';
}

.newslist .premium-content h2 + p {
    margin-bottom: 15px;
}

.newslist .premium-content .button-wrapper {
    margin-bottom: 20px;
}

.newslist .premium-content .button {
    background-color: #242424;
    color: white;
    padding: 10px 30px;
}

.newslist .premium-content p a {
    color: #242424;
    font-weight: 500;
    cursor: pointer;
}

.newslist .premium-content p a:hover {
    color: #c30000;
    text-decoration: none;
}

/*END PREMIUM*/

/*Foto Modal*/
#news-photo-modal {
    padding-right: 0px !important;
    overflow: hidden;
}

    #news-photo-modal .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #242424;
        pointer-events: initial;
    }


    #news-photo-modal img {
        top: 50%;
        transform: translateY(-50%);
    }

    #news-photo-modal p {
        font-size: 14px;
        font-family: 'Roboto';
        position: absolute;
        bottom: 20px;
        left: 34px;
        color: white;
    }

    #news-photo-modal .close {
        position: absolute;
        top: 20px;
        right: 20px;
        stroke: white;
        width: 24px;
        height: 24px;
        opacity: 1;
        cursor: pointer;
    }

    #news-photo-modal .close:hover {
        stroke: #c30000;
    }

/*Foto Modal End*/
.gallery-hover-icon {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: 0;
}


.generic-content-container .bottom-block {
    padding-top: 80px;
}

/* sponsors*/
.generic-content-container .sponsors .brands {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.generic-content-container .sponsors p {
    font-size: 14px;
    font-family: "Roboto Condensed", sans-serif;
    color: #888888;
    line-height: 22px;
    text-transform: uppercase;
}

.generic-content-container .sponsors .brands img {
    height: 60px;
    margin: 30px 0px 0px 30px;
}



/* tables example */
.newsdetail-content .generic-table-wrapper {
    overflow-y: scroll;
    /*margin-right: -5.5%;*/
}

.newsdetail-content table {
    width: 115%;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
}

    .newsdetail-content table thead:first-child {
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
        font-family: 'Roboto';
    }

    .newsdetail-content table th {
        text-transform: uppercase;
    }

    .newsdetail-content table tr td,
    .newsdetail-content table tr th {
        height: 60px;
        padding: 0px 10px;
        font-weight: 400;
    }

    .newsdetail-content table tr {
        cursor: pointer;
        border-bottom: 1px solid #f4f4f4;
        background-color: #fdfdfd;
    }

        .newsdetail-content table tr:first-child {
            cursor: default;
            background-color: #F4F4F4;
            border-bottom: 1px solid #DDDDDD;
        }

        .newsdetail-content table tr:hover td {
            background-color: #fff;
            color: #c30000;
        }

        .newsdetail-content table tr:nth-child(even) {
            background-color: #fdfdfd;
        }

    .newsdetail-content table td:last-child,
    .newsdetail-content table th:last-child {
        box-sizing: border-box;
    }

.newsdetail-content .content table {
    overflow: auto;
    width: 100%;
    cursor: default;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
    display: table;
}

/** general */
.content-caption {
    font-family: Roboto, sans-serif;
    padding: 15px 8px;
    font-size: 12px;
    display: block;
}

.newsdetail-content {
    padding: 0 1.5%;
    position: relative;
}

/** GALLERY */
.gallery-wrapper {
    position: relative;
}

.media-content {
    cursor: pointer;
    cursor: hand;
}

.newslist .generic-table .title {
    font-family: Roboto;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 40px;
}

.dynamic-element .tweet {
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

/*Fullscreen icon*/
.image-block .fullscreen {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    fill: white;
    cursor: pointer;
}
    .image-block .fullscreen:hover, .image-block .fullscreen:hover path {
        stroke: #c30000;
        fill: #c30000;
    }

/*News List*/
.newslist .loaded {
    opacity: 1;
}

.newslist {
    overflow: hidden;
}

    .newslist .title,
    .newslist .big-title {
        font-family: 'Roboto Condensed', sans-serif;
    }

.header-highlight-slick {
    padding-bottom: 50px;
    max-width: 1208px; /* versao ratio imagem topo*/
}

    .header-highlight-slick .header-item {
        display: flex;
        align-items: flex-end;
        position: relative;
    }

        .header-highlight-slick .header-item .header-background-img {
            position: static;
            top: 0;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            opacity: 1;
        }

            .header-highlight-slick .header-item .header-background-img img {
                margin: 0;
                object-fit: cover;
                width: 100%;
                max-height: 600px;
            }

    .header-highlight-slick .slick-dots li button:before {
        color: white !important;
    }

    .header-highlight-slick .slick-dots {
        right: 10px;
        bottom: 100px !important;
        width: initial;
    }

.title h2 {
    text-align: center;
    font-size: 40px;
    padding-bottom: 40px;
    margin: 0;
    font-weight: 400;
}

/* zoom effect on hover: media and news*/
.news .news-img-wrapper {
    overflow: hidden;
}

.news .news-img {
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.news:hover .news-img {
    transform: scale(1.1);
}
/*zoom effect end*/

.news-main-section {
    padding-bottom: 40px;
}
    /*.news-main-section.see-more-news .news-img-wrapper{
        padding-top: 0;
    }

    .news-main-section.see-more-news .news-img-wrapper > div {
        position: relative;
        padding-top: 60%;
    }

        .news-main-section.see-more-news .news-img-wrapper > div img {
            position: absolute;
            top: 0;
            height: 100%;
            object-fit: cover;
        }*/

.news img {
    width: 100%;
}

.news .news-img-wrapper {
    margin-bottom: 16px;
    position: relative;
}

.news .news-pretitle {
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    color: #c30000;
}

.news .news-title {
    font-size: 24px;
    line-height: 28px;
    font-family: Roboto;
    font-weight: 500;
    padding-bottom: 5px;
}

.news .news-subtitle {
    font-size: 18px;
    line-height: 24px;
}

    .news .news-subtitle a {
        color: inherit;
        text-decoration: inherit;
    }

        .news .news-subtitle a:hover {
            color: #c30000;
        }

/* Add ellipsis to truncate the sub-title text on the third line */
.newslist .news-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news {
    cursor: pointer;
    padding-bottom: 40px;
}

    .news a {
        display: block;
    }

.button-area .button {
    padding: 10px 20px;
}

.text-block:first-of-type {
    padding-top: 0px;
}

.header.text-block {
    padding-bottom: 40px;
    padding-top: 0px;
}


.social-icons .icon svg,
.feature-list .icon svg {
    width: 24px;
    height: 24px;
    margin-right: 20px;
    fill: #242424;
}

.social-icons .icon:last-child svg {
    margin-right: 0px;
}

.social-icons .icon a:hover svg,
.feature-list .icon a:hover svg {
    fill: #c30000;
}

.feature-list .tags {
    display: flex;
}

.feature-list .tags .text {
    padding-right: 24px;
}

.feature-list .tags svg {
    margin: 0;
}

.feature-list .tags a {
    text-transform: uppercase;
    font-size: 14px;
    line-height: 19px;
    padding-bottom: 6px;
    display: block;
}

.feature-list .tags p:first-of-type {
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 16px;
}

.generic-content {
    border-bottom: 1px solid rgb(221, 221, 221);
    padding-bottom: 80px;
    margin-bottom: 60px;
    max-height: 30000px;
}

.newslist .generic-content {
    transition: all 1000ms;
}

/*See More News*/
.see-more-news .title {
    text-transform: uppercase;
}

.see-more-news .button-see-more {
    display: block;
}

    .see-more-news .button-see-more .button-area {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .see-more-news .button-see-more .button {
        margin: 0;
    }

.see-more-news .news-three .news:nth-child(n+4) {
    display: none;
}
/*See more news END*/

/** FULL SCREEN **/
#fullScreenModal {
    opacity: 0;
    position: fixed;
    width: 100%;
    height: -webkit-fill-available;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    z-index: 9;
    padding: 0;
    font-family: 'Roboto' !important;
    color: #393737;
}

    #fullScreenModal.active {
        display: flex;
        opacity: 1;
        overflow: scroll !important;
    }

    #fullScreenModal .close-button {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    #fullScreenModal .img-fullscreen-mode {
        max-height: 80vh !important;
        width: auto !important;
        margin: auto !important;
    }

    #fullScreenModal .close-fullscreen-img {
        width: 30px;
        cursor: pointer;
    }

    #fullScreenModal .popup-content-fullscreen {
        position: relative;
        background-color: #fff;
        padding: 0;
        width: 100%;
        margin: auto;
        max-width: 100%;
        border-radius: 5px;
        max-height: 60vh;
    }

.news-detail .fullscreen-img {
    width: 30px;
    position: absolute;
    margin-right: 8px;
    margin-top: 8px;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
}

.header-item .header-background-img img.fullscreen-img {
    margin-right: 8px;
    margin-top: 8px;
    margin-left: auto;
    margin-bottom: auto;
    width: 30px;
}

.other-links > div {
    margin-top: 20px;
}

.other-links svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    stroke: rgb(36,36,36);
    vertical-align: middle;
}

.position-relative {
    position: relative;
}

.newsdetail-content .content .text-block p img { /* class adicionada no ambito do fix Formatacao_corpo_notica */
    width: 100%;
    margin: 30px 0 30px 0;
}

.newsdetail-content .content .text-block table {
    margin-top: 30px;
}

.newsdetail-content .text-block img.loaded {
    width: 100%;
    margin: 40px 0;
}

    .newsdetail-content .text-block img.loaded.open-fullscreen-mode {
        width: 30px;
        margin-right: 8px;
        margin-top: 8px;
        left: inherit;
    }


.text-block h2 span {
    color: #c30000 !important;
    font-weight: 500;
}

.text-block h2 a strong span {
    font-size: 22px;
    color: #c30000 !important;
    line-height: unset !important;
}

.newsdetail-content iframe {
    width: 100%;
    height: 250px;
}

.newsdetail-content h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: unset;
}

.newsdetail-content h2 strong {
    font-weight: 500;
    font-family: Roboto;
    font-size: 25px;
    line-height: 38px;
    margin-bottom: 40px;
}

#premium-gradient:not(.open) {
    opacity: 0;
}

#premium-gradient{
    position: absolute;
    background: #000000;
    opacity: 0.5 !important;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity .5s linear;
}

.newslist .ad {
    position: relative;
    border-bottom: 1px solid rgb(221, 221, 221);
    padding-bottom: 60px;
}

.newslist.content-area {
    position: relative;
}

.generic-content-container .text-block#textBlockWrapper {
    padding: 0;
}

@media screen and (min-width: 992px) {

    /*Premium*/
    .newslist .premium-button {
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .newslist .premium-content {
        padding-top: 94px;
    }

    .newslist .premium-content .content{
        padding-bottom: 80px;
    }
    /*Premium END*/

    .generic-content-container .sponsors .brands img {
        margin: 30px 40px 0px 0px;
    }


    /* table example */
    .newsdetail-content table tr td,
    .newsdetail-content table tr th {
        padding: 0px 20px;
    }

    .newsdetail-content .generic-table-wrapper {
        overflow-y: hidden;
        margin-right: 0;
    }

    .newsdetail-content table {
        width: 100%;
    }

    .newsdetail-content .content table {
        display: inline-table;
    }

    .content-caption {
        padding: 15px 24px;
    }

    .newsdetail-content.tooLong .content {
        height: 380px;
    }

    .newsdetail-content.tooLong .hide-news-wrapper {
        top: 175px;
    }

    /*news list*/
    .news .news-date {
        color: #bebebe;
        font-size: 14px;
        line-height: 22px;
        padding-top: 10px;
    }

    .news .news-title {
        font-size: 40px;
        line-height: 44px;
    }

    .news .news-pretitle {
        font-size: 18px;
        line-height: 26px;
    }

    .news-three .news .news-pretitle {
        font-size: 14px;
        line-height: 22px;
    }

    .news .news-subtitle {
        font-size: 22px;
        line-height: 28px;
    }

    .news-sub .news-title,
    .news-three .news-title {
        font-size: 24px;
        line-height: 28px;
    }

    .news-sub .news-subtitle,
    .news-three .news-subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .news {
        padding-bottom: 30px;
    }

    .news-two,
    .news-three {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px;
        width: auto;
    }

        .news-three .news {
            width: calc(100% / 3);
            padding-left: 12px;
            padding-right: 12px;
        }

    .header.text-block .description {
        width: 80%;
    }

    .feature-list .tags .icon {
        padding-right: 10px;
        width: 34px;
    }

    /*See More News*/
    .see-more-news .button-see-more {
        display: none;
    }

    .see-more-news .news-three .news:nth-child(n+4) {
        display: block;
    }
    /*See more news END*/

    .header-highlight-slick .header-item .header-background-img img {
        width: 100%;
        height: initial;
        max-height: initial;
    }

    .header-highlight-slick .slick-dots {
        right: 50px;
        bottom: 115px !important;
    }

    #fullScreenModal {
        padding: 0 3.75% 0 3.75% !important;
    }

        #fullScreenModal .img-fullscreen-mode {
            width: 100%;
        }

        #fullScreenModal .close-button {
            right: 25px !important;
            top: 25px !important;
        }

    .header-item .header-background-img img.fullscreen-img {
        width: 30px;
    }

    .newsdetail-content iframe {
        width: 100%;
        height: 350px;
    }

    .newsdetail-content h2 {
        font-size: 25px;
        font-weight: 400;
        line-height: unset;
    }

    .text-block h2 a strong span {
        font-size: 25px;
        color: #c30000 !important;
        line-height: unset !important;
    }

    .modal-backdrop {
        height: 252px;
    }
    
    .news.newslist {
        position: relative;
    }

    /* PUBLICIDADE */
    .pub-container .ad-halfpage svg.cross {
        right: 0;
        top: -22px;
    }

    .pub-container .ad-halfpage::before {
        right: 16px;
        top: -28px;
    }

    .pub-container .ad-halfpage {
        margin: 0;
        margin-top: 28px;
    }
    /* FIM PUBLICIDADE */
}

@media screen and (min-width: 1025px) {
    .modal-backdrop {
        top: 120px;
    }
}

@media screen and (min-width: 1200px) {
    .newsdetail-content iframe {
        width: 100%;
        height: 552px;
    }

    .newslist .ad {
        position: absolute;
        left: 30px;
        top: 1450px;
        border: none;
        margin: 0;
        padding: 0;
    }
}

/*
 * END newsDetail2020.css
 ***/
