
:root {
    --ecoColor: #f6921e;
    --mouseGray: #373A3C;
    --white: #ffffff;
    --softGray: #DDDDDD;
    --lightGray: #777777;
    --ecoDanger: #ff3f3f;
    --ecoPolitica: #0071af;
    --ecoAttualita: #00a259;
    --darkMode-highDark: #181818;
    --codexColor: #f53cba;
}

body {
    background-color: #231f1f;
}

body.is-dark {
    background-color: #050404;
}

i.ecoRadio {
    background-image: url("/assets/front/img/radio.png");
    background-size: contain;
    display: inline-block;
    font-size: inherit;
    min-height: 15px;
    min-width: 15px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.ecoRadio-w {
    background-image: url("/assets/front/img/radio-w.png");
    background-size: contain;
    display: inline-block;
    font-size: inherit;
    min-height: 15px;
    min-width: 15px;

    background-repeat: no-repeat;
    background-position: center center;
}

#top-nav, div.featured-home-category, .title-section, #footer h5, article.article-excerpt .category, .single article .category, body.category .header-category .row {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
}


h1, h2, h3, h4, h5, h6, p, .hero-label {
    font-family: 'Fira Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}


a {
    color: inherit;
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

a:hover {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

p.lead {
    font-size: 20px;
}

p {
    font-size: 16px;
    font-weight: normal;
}

p a {
    text-decoration: underline;
    color: var(--ecoColor);
}
p a:hover {
    text-decoration: underline;
    color:blue;
}

.bg-mouseGray {
    background-color: var(--mouseGray);
    color: #ffffff;
}


.btn {
    border-radius: 0;
}

.bg-ecoDanger {
    background-color: var(--ecoDanger);
    color: #ffffff;
}

.bg-ecoColor {
    background-color: var(--ecoColor);
    color: #ffffff;
}

.btn-ecoColor {
    background-color: var(--ecoColor);
    color: #ffffff;
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.btn-ecoColor:hover {
    background-color: var(--ecoColor);
    color: #ffffff;
    opacity: 0.7;

}


.text-ecoColor {
    color: var(--ecoColor);
}

#top-nav ul li {
    font-weight: 400;
    font-size: 14px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 6px;
    padding-left: 6px;
}

#logo-nav {
    width: 25px;
    padding-top: 7px;
}

#top-nav ul li.active a {
    font-weight: bold;
}

#top-nav.navbar-light ul li:not(.active) a {
    color: #000000bf;
}

#top-nav.navbar-dark ul li a {
    color: #ffffff;
}


#main-container {
    margin-top: calc(56px + 100px);
}

#top-header {
    height: 260px;
}

#logo-mobile {
    height: 30px;
}

#breaking-news {
    height: 49px;
}

#breaking-news .time {
    padding-right: 10px;
}


article.featured-home {
    margin-bottom: 20px;
}

.featured-home .hero-label {
    background-color: var(--ecoColor);
    color: #ffffff;
    display: inline-block;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    right: 15px;
    font-size: 70px;
    font-weight: bold;
    box-shadow: -3px -3px 5px -2px #0000003b;
}

article.featured-home div.featured-home-category, .single article.article-single .article-meta {
    color: var(--ecoColor);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    border-bottom: 1px solid var(--softGray);
    margin-top: 10px;
    margin-bottom: 10px;
}


article.featured-home h2 {
    font-size: 54px;
}

body.category article.first h2 {
    font-size: 35px;
}

article.featured-home h3 {
    font-size: 27px;

    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

article.featured-home p.lead {
    font-weight: normal;
}

.featured-home-restrict {
    margin-left: 30px;
    margin-right: 30px;
}

.single article .restrict {
    margin-left: 30px;
}

.social-share {
    text-align: right;
    margin-top: 5px;
}

.social-share a {
    font-size: 24px;
    padding-left: 2px;
    padding-right: 2px;
}

.social-share a:first-child {
    padding-left: 0;
}

.social-share a:last-child {
    padding-right: 0;
}

.social-share-lg a {
    font-size: 30px;
    padding-left: 3px;
    padding-right: 3px;
}

.social-share-sm a {
    font-size: 18px;
    padding-left: 2px;
    padding-right: 2px;
}

#last-direct-section h2 {
    font-size: 16px;
}

#last-direct-section article img {
    margin-bottom: 10px;
}

#last-direct-section article img {
    margin-bottom: 10px;
}

#last-direct-section .videoCols .col {
    margin-bottom: 20px;
}

#last-direct-section article h3 {
    font-size: 17px;
    line-height: 24px;
    max-width: 255px;
    /** margin: auto; */
    text-align: left;
}

/** featured-category **/

.featured-category .title-section {
    border-bottom: solid 5px;
    font-size: 26px;
}


.featured-category.cronaca .title-section {
    color: var(--ecoDanger);
}

.featured-category.politica .title-section {
    color: var(--ecoPolitica);
}

.featured-category.attualità .title-section {
    color: var(--ecoAttualita);
}

.featured-category.redazionale .title-section {
    color: var(--ecoColor);
}

/** .featured-category **/


.play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
}


/** article-excerpt **/

.article-list article.article-excerpt {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--softGray);
}

body.is-dark .article-list article.article-excerpt {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dddddd1c;;
}

article.article-excerpt .category {
    font-size: 14px;
    color: var(--ecoColor);
    font-weight: bold;
    margin-left: 10px;
}

article.article-excerpt .date, .single article .article-meta .date {
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: var(--lightGray);
}

.single article .title h1 {
    font-size: 40px;
}

.single article .summary p {
    font-size: 25px;
    font-weight: 300;
    line-height: 30px;
    font-style: italic;
}

.single article .read-time {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.single .featured-image iframe, .single .footer-video iframe {
    width: 100% !important;
    height: 500px;
}

footer .author-bio .avatar {

    max-width: 80px;
}

article.article-excerpt h3, body.category article h2, body.search article.article-excerpt h2 {
    font-size: 22px;
    margin-top: 5px;
    margin-left: 15px;

    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

article.article-excerpt div.excerpt {
    margin-left: 15px;

    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;

}

/** .article-excerpt **/

.article-list .title-section {
    border-bottom: solid 2px;
    border-color: var(--ecoColor);
    color: var(--ecoColor);
    font-size: 14px;
}

body.category .header-category .row, body.search .header-search .row {
    background: linear-gradient(180deg, rgba(244, 145, 30, 1) 0%, rgba(246, 146, 30, 1) 50%, rgba(244, 145, 30, 1) 100%);
    color: #ffffff;
    padding-top: 24px;
    padding-bottom: 24px;
}

body.category .header-category .row h2 {
    margin-bottom: 0px;
}

body.category .header-category .row i.ecoRadio-w {
    width: 30px;
    height: 30px;
}

body.category .header-category.cronaca .row {
    background: var(--ecoDanger);
}

body.category .header-category.nugae .row {
    background: var(--codexColor);
}

body.category .header-category.politica .row {
    background: var(--ecoPolitica);
}

body.category .header-category.attualita .row {
    background: var(--ecoAttualita);
}

.articles-and-profilepic {
    font-style: italic;
}

.articles-and-profilepic article .author-image {
    position: absolute;
}

.articles-and-profilepic article .author-image img {
    border-radius: 100%;
}

.articles-and-profilepic div.row.articles div:first-child article .author-image img {
    height: 50px;
    width: 50px;
}

.articles-and-profilepic div.row.articles div:first-child article h3,
.articles-and-profilepic div.row.articles div:first-child article footer {
    margin-left: 70px;
}

.articles-and-profilepic div.row.articles article h3,
.articles-and-profilepic div.row.articles article footer {
    margin-left: 35px;
}

.articles-and-profilepic div.row.articles article h3 {
    margin-bottom: 0;
}

.articles-and-profilepic div.row.articles div:first-child article h3 {
    font-size: 20px;
}

.articles-and-profilepic div.row.articles article h3 {
    font-size: 17px;
}

.articles-and-profilepic div.row.articles article .author-image img {
    height: 25px;
    width: 25px;
}

.articles-and-profilepic div.row.articles article footer {
    border-color: #6B6B65 !important;
}


/* Footer */
.border-top-eco {
    border-top: 5px solid var(--ecoColor);
}

.border-bottom-eco {
    border-bottom: 5px solid var(--ecoColor);
}

#footer {
    border-top: 5px solid var(--ecoColor);
}

#footer {
    padding-top: 40px;
}

#footer img.logo-icon {
    max-width: 250px;
}


#footer h5 {
    font-size: 15px;
}

#footer .social-links a {
    font-size: 22px;
    padding-left: 4px;
    padding-right: 4px;
}

#footer ul {
    padding-left: 0px;
    list-style: none;
}

#footer ul li {
    border-bottom: 1px solid var(--lightGray);
    padding-bottom: 5px;
    padding-top: 5px;
}

#footer ul li:last-child {
    border-bottom: none;
}


/* .Footer */


/* Big ADS */

#big-ads img {
    margin-left: auto;
    margin-right: auto;
}

/* LightMode */
ul.pagination a {
    color: #000000;
}

ul.pagination .page-item.active .page-link {
    background-color: var(--ecoColor);
    border-color: var(--ecoColor);
}

div#cookie-consent-modal .modal-content {
    background: #000;
    color: #fff;
}

div#cookie-consent-modal .modal-header, div#cookie-consent-modal .modal-footer {
    border-color: #292929;
}

div#cookie-consent-modal .close {
    color: #fff;
}

div#cookie-consent-modal .close:hover {
    color: #525252;
}

div#cookie-consent-modal a {
    text-decoration: underline;
}

/* .LightMode */

/* DarkMode */

.bg-dark.hightDark {
    background-color: var(--darkMode-highDark) !important;
}

/* .DarkMode */

/* .Big ADS */

.single article .content p {
    font-size: 19px;
}


@media (max-width: 1199.98px) {
    #top-nav ul li {
        font-size: 12px;
    }

    #top-nav ul li a {
        padding-top: 10px;
    }

}

@media (max-width: 991.98px) {

    #top-nav.navbar-light ul li:not(.active) a {
        color: #ffffff;
    }

    #top-nav {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        height: 50px;
    }

    #top-nav-menu {
        background-color: var(--gray-dark);
        text-align: center;
        box-shadow: 0px 1px 3px #00000087;

    }

    .is-dark #top-nav-menu, body.video #top-nav-menu {
        background-color: #101010;
        text-align: center;

    }

    #top-nav-menu .search-top {
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .is-dark #top-nav-menu .search-top input, .is-dark #top-nav-menu .search-top button {
        background: #000000;
        color: #ffffff;
    }

    #top-nav-menu .search-top button {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    #top-nav-menu .search-top input:focus {
        border-color: inherit;
    }

    #top-nav-menu ul li a {
        color: #fff;
        font-size: 24px;
    }


    #main-container {
        margin-top: 48px;
    }

    .featured-home img {
        width: 100%;
    }

    .featured-home header .col, .single article .featured-image .row .col {
        padding-left: 0;
        padding-right: 0;
    }

    .featured-home .hero-label {
        padding: 5px 10px;
        position: absolute;
        bottom: 0;
        right: 0px;
        font-size: 60px;
        font-weight: bold;
        box-shadow: -3px -3px 5px -2px #0000003b;
    }

    article.featured-home div.featured-home-category {
        font-size: 14px;
    }

    article.featured-home h2, .single article .title h1 {
        font-size: 26px;
    }

    .single article .summary p {
        font-size: 18px;
        line-height: 23px;
    }

    .single article .content p {
        font-weight: 400;
        line-height: 27px;
    }


    article.featured-home h3 {
        font-size: 22px;
    }

    article.featured-home p.lead {
        font-size: 17px;
    }

    article.article-excerpt h3, body.category article h2, body.category article.first h2, body.search article.article-excerpt h2 {
        font-size: 18px;
    }

    article.article-excerpt header img {
        width: 100%;
    }


}


@media (max-width: 575.98px) {
    .featured-home .hero-label {
        padding: 5px 10px;
        position: absolute;
        bottom: 0;
        right: 0px;
        font-size: 26px;
        font-weight: bold;
        box-shadow: -3px -3px 5px -2px #0000003b;
    }

    .play-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 60px;
    }


    .featured-home-restrict {
        margin-left: 15px;
        margin-right: 15px;
    }

    .single article .restrict {
        margin-left: 15px;
    }

    .single .footer-video iframe {
        height: 300px;
    }

    .single article .content p {
        font-size: 16px;
    }

}
