/**
Theme Name: Tram - dire.it
Author: Stefano Felici - uix
Author URI: https://www.linkedin.com/in/stefano-felici-a972081a3/
Description: Thema per Agenzia di stampa nazionale dire.it
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tram
*/

/**
color scheme
*/


:root {
    --primary_color: #B4261C;
    --secondary_color: #002536;
    --white: #fff;
    --light_grey: #F5F5F7;
}



/* =WordPress Core - Sassified.
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a {

    img {
        &.alignright {
            float: right;
            margin: 5px 0 20px 20px;
        }

        &.alignnone {
            margin: 5px 20px 20px 0;
        }

        &.alignleft {
            float: left;
            margin: 5px 20px 20px 0;
        }

        &.aligncenter {
            display: block;
            margin-left: auto;
            margin-right: auto
        }
    }

}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;

    &.alignnone {
        margin: 5px 20px 20px 0;
    }

    &.alignleft {
        margin: 5px 20px 20px 0;
    }

    &.alignright {
        margin: 5px 0 20px 20px;
    }

    img {
        border: 0 none;
        height: auto;
        margin: 0;
        max-width: 98.5%;
        padding: 0;
        width: auto;
    }

    p.wp-caption-text {
        font-size: 11px;
        line-height: 17px;
        margin: 0;
        padding: 0 4px 5px;
    }

}

/** IoL */

#admputop,
#admputop2,
#admpumiddle,
#admpumiddle2,
#adnative,
#adnativehp,
#admpufoot,
#admpufoot2 {
    text-align: center;
    margin-bottom: 20px;
}

#adnativehp {
    margin: 20px 0 30px 0
}

.top-adv {
    justify-content: center;
}

[id^="ad_dyn"] {
    margin: 20px;
    text-align: center;
}

#recommendationwidget {
    margin-bottom: 20px;
}

#body-dire .a2a_floating_style {
    z-index: 0 !important;
}


html,
body {
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 16px;
    color: #000;
    font-weight: 300;
}

@media screen and (min-width: 900px) {
    .container {
        width: 1140px;
    }
}

a {
    color: #000;
    text-decoration: none;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

h5 {
    font-size: 0.8rem;
    font-weight: 600;
}


span.label {
    display: flex;
    padding: 5px 10px;
    width: 100%;
    background-color: #F5F5F7;
    color: var(--secondary_color);
    font-weight: 500;
    letter-spacing: 2px;
}

#home-container {
    background-color: #fff;
}

#header-container {
    position: sticky;
    z-index: 999;
    top: 0px;
    background-color: #fff;
}

#top-container #wrap-top {
    margin-bottom: 0;
}

/* Ticker */

#header-container #tickers {
    height: 40px;
    background-color: #6B90B9;
    margin-top: 10px;
}

* {
    box-sizing: border-box;
}

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

#container-ticker {
    display: flex;
    flex-direction: row;
    padding: 5px;
    padding-left: 100%;
    color: #fff;
}


.last-news-container {
    padding-left: 0;
}

.last-news-label,
.last-news-container {
    display: flex;
    align-items: center;
    background-color: var(--secondary_color);
}


.last-news-label {
    background-color: var(--primary_color);
    font-weight: 400;
    color: #fff;
    justify-content: center;
}

.ticker-wrap {
    overflow: hidden;
    padding: 5px;
    background-color: var(--secondary_color);
    padding-left: 100%;
    box-sizing: content-box;
}

.ticker-wrap .ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 100s;
    animation-duration: 100s;
}

.ticker-wrap .ticker__item {
    display: inline-block;
    padding: 0 2rem;
}

.ticker-wrap .ticker__item a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
}


/* NAV */

#sidebarMenu {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 10;
    left: 0;
    width: 45%;
    padding-top: 50px;
    transform: translateX(-100%);
    transition: transform 350ms ease-in-out;
    background: #2c2b2bec;
    overflow: auto;

}

#sidebarMenu #search-form-container {
    padding: 10px 30px;
}

input[type="checkbox"]:checked~#sidebarMenu {
    transform: translateX(0);
}

input[type="checkbox"]:checked~.sidebarIconToggle,
.label-menu {
    display: none;
}

input[type=checkbox] {
    z-index: 99;
    top: 0;
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}

.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 22px;
    left: 15px;
    height: 22px;
    width: 22px;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #484848;
}

.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}

.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

input[type=checkbox]:checked~.sidebarIconToggle>.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
    background-color: #fff;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
    background-color: #fff;
}

#spinner-wrap {
    align-items: center;
}

label.label-menu {
    margin-left: 10px;
    margin-top: -5px;
}

label.close-menu {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 50px;
    font-weight: 600;
    cursor: pointer;
    word-spacing: 5px;
}

ul.menu {
    margin-top: 10px;
}

ul.menu,
ul.menu>li>ul.sub-menu,
ul.menu>li>ul.sub-menu>li>ul.sub-menu {
    list-style: none;
}

ul.menu>li {
    border-bottom: 1px solid #686868;
    padding-bottom: 10px;
}

ul.menu>li>ul.sub-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    list-style: none;
    max-height: 350px;
    overflow: hidden;
}

ul.menu>li.current-menu-item>a,
ul.menu>li>ul.sub-menu>li.current-menu-item>a,
ul.menu>li>ul.sub-menu>li>ul.sub-menu>li.current-menu-item>a {
    color: var(--primary_color);
}

ul.menu>li {
    margin-bottom: 20px;
}

ul.menu>li>a {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
}

ul.menu>li>ul.sub-menu,
ul.menu>li>ul.sub-menu>li>ul.sub-menu {
    padding: 0;
}

ul.menu>li>ul.sub-menu>li,
ul.menu>li>ul.sub-menu>li>ul.sub-menu>li {
    padding: 5px;
}

ul.menu>li>ul.sub-menu>li {
    margin-bottom: 5px;
}

ul.menu>li>ul.sub-menu>li>a,
ul.menu>li>ul.sub-menu>li>ul.sub-menu>li>a {
    color: #fff;
}


ul.menu>li>ul.sub-menu>li>ul.sub-menu>li {
    padding: 0px;
    padding-left: 10px;
}

ul.menu>li>ul.sub-menu>li>ul.sub-menu>li>a {
    font-size: 0.8rem;
}


/* CONTAINER */

.dire-section {
    padding: 20px;
    /* border-bottom: 1px solid #F5F5F7; */
    /* margin-bottom: 20px; */
}

.dire-section:last-of-type {
    border-bottom: none;
}

#logo-container {
    display: flex;
    justify-content: center;
}

#logo-container>.logo {
    display: block;
    height: 55px;
    width: 100%;
    transition: 250ms;
    background-image: url(_include/img/logo_dire.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


#home-container .apertura>a {
    display: flex;
    flex-direction: row;
}

#home-container .apertura>a>.img-container {
    width: 60%;
    height: auto;
    overflow: hidden;
    padding-right: 10px;
    aspect-ratio: 5/3;
}

#home-container .apertura>a>.img-container>img {
    object-fit: cover;
    aspect-ratio: 5/3;
    width: 100%;
    height: 100%;
}

#home-container .apertura>a .text-container {
    padding: 0 10px;
    width: 40%;
    font-weight: 300;
}

#home-container .featured {
    display: flex;
    flex-direction: column;
}

#home-container .featured>a {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#home-container .featured>a .img-container {
    padding-right: 10px;
    max-width: 40%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 5 / 3;
}

#home-container .featured>a>.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#home-container .featured>a .text-container {
    padding: 0 10px;
    font-weight: 300;
    min-width: 60%;
    max-width: 60%;
}

#home-container .featured-v>a {
    display: flex;
}

#home-container .featured-v>a .text-container {
    font-size: 0.8rem;
}

/* speciali */


#speciali {
    padding: 0px;
}

#speciali .item {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    padding: 10px 0;
    box-shadow: 1px 1px 5px #d4d4d4;
    overflow: hidden;
}

#speciali .item>a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#speciali>.item img {
    width: 100%;
    margin-bottom: 10px;
}

#speciali img.logo-image {
    width: auto;
    max-width: 100%;
    height: auto;
}

#speciali>.item h4 {
    padding: 0 10px;
}

#speciali>.item .text-container {
    background-color: #C4241D;
    padding: 10px;
    height: 100%;
    text-align: center;
}

#speciali>.item .text-container>span {
    color: #fff;
    font-size: 1.5em;
}

#speciali>.item>a>.img-container {
    /*height: 200px;*/
    margin-bottom: 20px;
    overflow: hidden;
    aspect-ratio: 5/3;
}

#speciali>.item>a>.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* media */

#media a.item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#media a.item>.img-container {
    position: relative;
    z-index: 0;
    margin-bottom: 5px;
    overflow: hidden;
    aspect-ratio: 5/3;
}

#media a.item img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

#media .img-container span.play {
    position: absolute;
    top: 50%;
    z-index: 9;
    color: #fff;
    font-size: 2.5rem;
    rotate: 180deg;
    width: 100%;
}

#media a .text-container span.date {
    display: flex;
    font-size: 0.6rem;
    color: var(--secondary_color);
    width: 100%;
}

/* all-news */

#all-news .item {
    margin-bottom: 20px;
}

#all-news a {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#all-news a>.img-container {
    position: relative;
    z-index: -1;
    overflow: hidden;
    aspect-ratio: 5/3;
}

#all-news a img {
    width: 100%;
    height: 100%;
}

#all-news a .text-container span.date {
    display: flex;
    font-size: 0.6rem;
    color: var(--secondary_color);
    width: 100%;
}

/* adv */

.box-adv {
    padding: 0;
}

.adv_link {
    display: flex;
    margin-bottom: 20px;

    & img {
        width: 100%;
        height: auto;
    }
}

.adv_link>img {
    width: 100%;
    height: auto;
}

/* channels */

#channel-section {
    background: #fefefe;
}

#channels hr {
    margin-top: 10px;
}

#channels .item {
    margin-bottom: 10px;
}

#channels .item a {
    display: flex;
    flex-direction: row;
    height: 100%;
}

#channels a .text-container p {
    font-size: 0.8rem;
}

#channels .item a .img-container {
    position: relative;
    margin-right: 10px;
    aspect-ratio: 5/2;
    overflow: hidden;
    min-width: 50%;
}

#channels .item a .img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#channels .item a .text-container span.date {
    font-size: 0.8rem;
}

#channels .item a .text-container p {}

#channels .item-text a {
    padding: 10px;
}

#channels .item-text a .text-container p,
#channels .item-text a .text-container span.date {
    font-size: 0.8rem;
}


span.global-eye {
    background: #FC0D1B;
    color: #fff;
}

#globaleye-section {
    background: #fafafa;
}

#global-eye .item {
    margin-bottom: 10px;
}

#global-eye .item a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#global-eye a .text-container p {
    font-size: 0.8rem;
}

#global-eye .item a .img-container {
    position: relative;
    margin-bottom: 10px;
    aspect-ratio: 5/3;
    overflow: hidden;
}

#global-eye .item a .img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#global-eye .item a .text-container span.date {
    font-size: 0.8rem;
}

#global-eye .item-text a .text-container p {
    font-size: 0.8rem;
}




/* Footer */

#footer-container {
    background-color: var(--secondary_color);
    min-height: 150px;
}

#footer-container #info {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 0.8rem;
}

#footer-container ul.footer-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 10px 0;

    & li {
        margin-right: 15px;

        & a {
            color: #fff;

            &:hover {
                color: var(--primary_color);
            }
        }
    }
}


#footer-container ul.footer-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 10px 0;
}

#footer-container ul.footer-menu li {
    margin-right: 15px;
}


#footer-container ul.footer-menu li a {
    color: #fff;
}


#footer-container ul.footer-menu li a:hover {
    color: var(--primary_color);
}




/* Archive */

#container-archive .archive-title {
    padding: 20px 0;
}


#container-archive #iol-player-container-outer {
    margin-bottom: 20px;
}

#container-archive .container-featured-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

    & img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        margin-bottom: 10px;
    }

    & a.container-text {
        display: flex;
        flex-direction: column;
    }

}

#container-archive .container-featured-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/3;
    margin-bottom: 10px;
}

#container-archive .container-featured-item a.container-text {
    display: flex;
    flex-direction: column;
}


#container-archive .container-featured2-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

    & img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        margin-bottom: 10px;
    }

    & a.container-text {
        display: flex;
        flex-direction: column;
    }
}

#container-archive .container-featured2-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/3;
    margin-bottom: 10px;
}

#container-archive .container-featured2-item img a.container-text {
    display: flex;
    flex-direction: column;
}


#container-archive .item {
    margin-bottom: 20px;

    & p {
        font-size: 0.8rem;
    }
}

#container-archive .paging {
    display: flex;
    justify-content: center;
    padding: 20px;
    font-weight: 400;

    & .prev {
        margin-right: 10px;
    }

    & .next {
        margin-left: 10px;
    }

    & .page-number {
        padding: 0 10px;
    }

    & [aria-current="page"] {
        color: var(--primary_color);
        font-weight: 600;
    }
}


/* search result */

#container-sresult .search-title {
    padding: 20px 0;
}

#container-sresult .container-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

    & img {
        width: 100%;
        height: auto;
        aspect-ratio: 5/3;
        margin-bottom: 10px;
    }

    & a.container-text {
        display: flex;
        flex-direction: column;
    }
}


#container-sresult .container-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}


#container-sresult .container-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/3;
    margin-bottom: 10px;
}


#container-sresult .container-item a.container-text {
    display: flex;
    flex-direction: column;
}


#container-sresult .paging {
    display: flex;
    justify-content: center;
    padding: 20px;
    font-weight: 400;
}

/* single */

#container-single #breadcrumbs {
    margin: 10px 0;
    color: var(--secondary_color);
    font-weight: 400;
}

#container-single p {
    font-size: 1.2rem;
}

#container-single {

    & .title {
        padding: 20px 0;
    }

    & h4.abstract {
        font-size: 1.4rem;
        font-style: italic;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--light_grey);
    }

    & .wrap-alert {
        text-align: center;
        font-size: 0.8rem;
    }

    & .col-rel-item {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        width: 100%;
        margin-bottom: 20px;

        & .img-container>img {
            width: 100%;
            height: auto;
        }
    }
}

#container-single iframe {
    max-width: 100%;
}

#container-single .title {
    padding: 20px 0;
}

#container-single h4.abstract {
    font-size: 1.4rem;
    font-weight: 200;
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light_grey);
}

#container-single p a {
    text-decoration: underline;
}

#container-single .wrap-alert {
    text-align: center;
    font-size: 0.8rem;
}


#container-single .col-rel-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}



#container-single .col-rel-item .img-container>img {
    width: 100%;
    height: auto;
}


#container-single .title {
    padding: 20px 0;
    text-align: initial;
}

#container-single h4.abstract {
    padding: 20px 0;
}

#container-single {
    font-size: 1rem;
}

#container-single .col-rel-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}


#container-single .img-container>img {
    width: 100%;
    height: auto;
}


.related a>.img-container {
    position: relative;
    z-index: -1;
    overflow: hidden;
    aspect-ratio: 5/3;
}

.related a img {
    width: 100%;
    height: 100%;
}



/* landing */

#container-landing {}

#container-landing {
    & .hero a {
        display: block;
        margin: 20px 0;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    & ul.landing-page-menu {
        display: flex;
        flex-direction: row;
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
        list-style: none;
        background-color: #F5F5F7;

        & li {
            padding: 5px;
            border-right: 5px solid #fff;

            & a {
                display: block;
                margin: 0;
                padding: 0 5px;
            }
        }
    }

    & ul.cat-label {
        color: #002536;
        padding: 5px;
        margin: 0;
        weight: 600;
    }

}

#container-landing .hero a {
    display: block;
    margin: 20px 0;

}


#container-landing .hero a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#container-landing ul.landing-page-menu {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    list-style: none;
    background-color: #F5F5F7;
}


#container-landing ul.landing-page-menu li {
    padding: 5px;
    border-right: 5px solid #fff;
}



#container-landing ul.landing-page-menu li a {
    display: block;
    margin: 0;
    padding: 0 5px;

}



#container-landing ul.cat-label {
    color: #002536;
    padding: 5px;
    margin: 0;
    weight: 600;
}


#container-landing .first>a {
    display: flex;
    flex-direction: column;

    & .img-container {

        position: relative;
        overflow: hidden;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 5/3;
            margin-bottom: 10px;
        }
    }

    & .text-container>h3 {}
}


#container-landing .first>a {
    display: flex;
    flex-direction: column;
}


#container-landing .first>a .img-container {

    position: relative;
    overflow: hidden;
}


#container-landing .first>a .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/3;
    margin-bottom: 10px;
}



/* landing */

/* bando EU */

#container-landing #form {
    margin-bottom: 20px;
    border-bottom: 2px solid #194191;

    & h2 {
        padding: 20px;
        background-color: #194191;
        color: #fff;
        text-transform: uppercase;
    }

    & form {
        padding: 10px 40px;

        & input,
        textarea {
            width: 100%;
            border: 1px solid #DCE0E5;
            border-radius: 5px;
            padding: 5px;
        }

        & a {
            color: #fff;
        }

        & p:last-of-type {
            margin-bottom: 0;
        }

    }

}


#container-landing #form {
    margin-bottom: 20px;
    border-bottom: 2px solid #194191;
}


#container-landing #form h2 {
    padding: 20px;
    background-color: #194191;
    color: #fff;
    text-transform: uppercase;
}


#container-landing #form form {
    padding: 10px 40px;
}


#container-landing #form form input,
textarea {
    width: 100%;
    border: 1px solid #DCE0E5;
    border-radius: 5px;
    padding: 5px;
}



#container-landing #form form a {
    color: #fff;
}



#container-landing #form form p:last-of-type {
    margin-bottom: 0;
}

#container-docenti {
    margin-bottom: 20px;
}

#container-docenti>#wrap-docenti .docente {
    display: flex;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

#container-docenti>#wrap-docenti .docente a {
    text-decoration: none;
    color: #1D2327;
}

#container-docenti>#wrap-docenti .docente a:hover img {
    filter: none;
    transition: 400ms;
}

#container-docenti>#wrap-docenti .docente img {
    height: 150px;
    width: 150px;
    margin-bottom: 10px;
    object-fit: cover;
    filter: grayscale(100%);
}



#container-landing .left>a {
    display: flex;
    flex-direction: row;

    & .img-container {

        position: relative;
        aspect-ratio: 5/3;
        overflow: hidden;
        min-width: 50%;
        width: 50%;
        margin-right: 10px;
        margin-bottom: 20px;

        & .cat-label {
            position: absolute;
            color: #FFF;
            font-weight: 600;
            background: #60606054;
            width: 100%;
            padding: 2px 10px;
        }

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 5/3;
        }
    }

    & .text-container {

        & h2 {
            font-size: 1.2rem;
        }
    }

}

#container-landing .left>a {
    display: flex;
    flex-direction: row;
}

#container-landing .left>a .img-container {

    position: relative;
    aspect-ratio: 5/3;
    overflow: hidden;
    min-width: 50%;
    width: 50%;
    margin-right: 10px;
    margin-bottom: 20px;
}

#container-landing .left>a .img-container .cat-label {
    position: absolute;
    color: #FFF;
    font-weight: 600;
    background: #60606054;
    width: 100%;
    padding: 2px 10px;
}

#container-landing .left>a .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/3;
}

#container-landing .left>a .text-container h2 {
    font-size: 1.2rem;
}

#container-landing .right>a {
    display: flex;
    flex-direction: column;

    & .img-container {

        position: relative;
        aspect-ratio: 5/3;
        overflow: hidden;
        margin-bottom: 10px;

        & .cat-label {
            position: absolute;
            color: #FFF;
            font-weight: 600;
            background: #60606054;
            width: 100%;
            padding: 2px 10px;
        }

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    & .text-container {

        margin-bottom: 10px;

        & h2 {
            font-size: 1.2rem;
            margin-bottom: 0;
        }

    }

}

#container-landing .right>a {
    display: flex;
    flex-direction: column;
}

#container-landing .right>a .img-container {

    position: relative;
    aspect-ratio: 5/3;
    overflow: hidden;
    margin-bottom: 10px;
}

#container-landing .right>a .img-container .cat-label {
    position: absolute;
    color: #FFF;
    font-weight: 600;
    background: #60606054;
    width: 100%;
    padding: 2px 10px;
}

#container-landing .right>a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#container-landing .right>a .text-container {

    margin-bottom: 10px;
}

#container-landing .right>a .text-container h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

#next {

    & .item {
        display: flex;
        flex-direction: column;

        & .img-container {

            position: relative;
            aspect-ratio: 5/3;
            overflow: hidden;
            margin-bottom: 5px;

            & .cat-label {
                position: absolute;
                color: #FFF;
                font-weight: 600;
                background: #60606054;
                width: 100%;
                padding: 2px;
            }

            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        }

        & .text-container {

            margin-bottom: 10px;

            & h2 {
                font-size: 1rem;
                font-weight: 300;
            }

        }

    }
}


#next .item {
    display: flex;
    flex-direction: column;
}

#next .item .img-container {

    position: relative;
    aspect-ratio: 5/3;
    overflow: hidden;
    margin-bottom: 5px;
}

#next .item .img-container .cat-label {
    position: absolute;
    color: #FFF;
    font-weight: 600;
    background: #60606054;
    width: 100%;
    padding: 2px;
}

#next .item .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#next .text-container {
    margin-bottom: 10px;
}

#next .text-container h2 {
    font-size: 1rem;
    font-weight: 300;
}

@media screen and (max-width: 920px) {

    h4,
    h5 {
        font-size: 1.2rem;
    }

    span.date {
        display: none!important;
    }

    .text-container p{
        font-size: 1rem!important;
    }

    #adwallpaper {
        position: sticky;
        background-color: #fff;
        top: 90px;
        padding: 5px;
        z-index: 9;
    }

    .dire-section {
        padding: 10px 0;
        border-bottom: none;
    }

    nav.navbar {
        position: fixed;
        z-index: 2;
        top: 85px;
        left: 0;
        padding: 0;
        background-color: #002536e3;
        width: 100%;
        transition: 250ms;

        & .navbar-toggler {
            position: fixed;
            top: 10px;
            width: 40px;
            left: 4px;
            padding: 0px;
            background-color: #fff;
            transition: 250ms;
        }
    }

    nav.navbar {
        position: fixed;
        z-index: 2;
        top: 85px;
        left: 0;
        padding: 0;
        background-color: #002536e3;
        width: 100%;
        transition: 250ms;
    }

    nav.navbar .navbar-toggler {
        position: fixed;
        top: 10px;
        width: 40px;
        left: 4px;
        padding: 0px;
        background-color: #fff;
        transition: 250ms;
    }

    #navbarToggleMenu {
        width: 100%;
        padding-top: 30px;

        & #search-form-container {
            padding: 10px 20px;
        }
    }


    #navbarToggleMenu {
        width: 100%;
        padding-top: 30px;
    }


    #navbarToggleMenu #search-form-container {
        padding: 10px 20px;
    }


    .last-news-label {
        display: none;
    }

    .last-news-container {
        z-index: -1;
    }

    #top-container {
        position: static;
        z-index: 0;
    }

    ul.menu-mobile {
        padding: 10px;
        margin-bottom: 10px;
        padding-bottom: 0;
        list-style: none;

        & li.menu-item {
            padding: 10px;
            margin-bottom: 5px;
            border-bottom: 1px solid #676767;

            &:last-of-type {
                padding-bottom: 5px;
                border-bottom: none;
            }

            & a {
                color: #FFF;
                font-size: 1rem;
                font-weight: 400;
            }
        }
    }


    ul.menu-mobile {
        padding: 10px;
        margin-bottom: 10px;
        padding-bottom: 0;
        list-style: none;
    }


    ul.menu-mobile li.menu-item {
        padding: 10px;
        margin-bottom: 5px;
        border-bottom: 1px solid #676767;
    }


    ul.menu-mobile li.menu-item:last-of-type {
        padding-bottom: 5px;
        border-bottom: none;
    }

    ul.menu-mobile li.menu-item a {
        color: #FFF;
        font-size: 1rem;
        font-weight: 400;
    }

    #home-container .apertura>a,
    #home-container .featured>a,
    #channels .item a {
        flex-direction: column;

        & .img-container {
            width: 100%;
            max-width: 100%;
            padding: 0px;
        }

        & .text-container {
            width: 100%;
            padding: 0;
            padding-top: 10px;
        }

    }


    #home-container .apertura>a,
    #home-container .featured>a,
    #channels .item a {
        flex-direction: column;
    }


    #home-container .apertura>a .img-container,
    #home-container .featured>a .img-container,
    #channels .item a .img-container {
        width: 100%;
        max-width: 100%;
        padding: 0px;
        aspect-ratio: 5 / 3;
    }

    #home-container .apertura>a .text-container,
    #home-container .featured>a .text-container,
    #channels .item a .text-container {
        width: 100%;
        padding: 0;
        padding-top: 10px;
        max-width: none;
    }

    #channels .item a {
        flex-direction: column;
    }


    #channels .item a .img-container {
        width: 100%;
        max-width: 100%;
        padding: 0px;
    }


    #channels .item a .text-container {
        width: 100%;
        padding: 0;
        padding-top: 10px;
    }

    span.label {
        background: var(--secondary_color);
        color: #fff;
        justify-content: center;
    }

    span.label.global-eye {
        background: #FC0D1B;
    }

    #speciali .item {
        margin: 10px 0;
    }

    #speciali .item>div {
        display: flex;
        justify-content: center;
    }

    #speciali img.logo-image {
        max-height: none;
    }

    #channels .item-text a {
        padding: 0
    }

    #footer-container ul.footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
    }

    #footer-container ul.footer-menu li {
        margin: 5px 10px;
    }

    #media a.item {
        margin-bottom: 10px;
    }

    #globaleye-section {
        background: inherit;
    }



    #all-news-mobile .item {
        margin-bottom: 20px;
    }

    #all-news-mobile a {
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #all-news-mobile a>.img-container {
        position: relative;
        overflow: hidden;
        aspect-ratio: 5/3;
    }

    #all-news-mobile a img {
        width: 100%;
        height: 100%;
    }

    #all-news-mobile a .text-container span.date {
        display: flex;
        font-size: 0.6rem;
        color: var(--secondary_color);
        width: 100%;
    }

}