/**
Theme Name: Jazz - iol
Author: Stefano Felici - uix
Author URI: 
Description: Tema customizzato dire.it
Version: 0.5.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jazz-iol
*/

/**
color scheme
#D52E16 tomato
*/

/* =WordPress Core
-------------------------------------------------------------- */

.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;
}

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

a img.alignnone {
    margin: 5px 20px 20px 0;
}

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

a img.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;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

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

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

/* Text meant only for screen readers. */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/*  U T I L S  */

[class*="col-"] {
    padding: 10px;
}

html,
body {
    font-family: 'Eugenio Serif', Georgia, Times, 'Times New Roman', serif !important;
    font-display: fallback;
    font-size: 20px;
    font-weight: 700;
}

a {
    text-decoration: none !important;
}

a,
a:hover {
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
    letter-spacing: 1;
}

h2 {
    font-size: 2em;
    letter-spacing: 1;
}

h5 {
    font-size: 1em;
}

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

.main-container {
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 10px #999;
    padding-top: 5px;
}

.paging-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.paging-wrap a {
    color: #C4241D;
    font-size: 0.8em;
}

.paging-wrap a:hover {
    color: #536583;
}

#wrap-post iframe.instagram-media {
    height: revert-layer;
}

img {
    font-size: 0.8em;
    color: #000;
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.red {
    color: #D52E16;
    border-bottom: 4px solid #536583;
    margin-bottom: 0;
}

.gray {
    background-color: #ebebeb;
}

.adv {
    margin: 5px 0;
    width: 100%;
    height: auto;
}

.box-adv {
    margin-bottom: 20px;
}

#container-single .col-md-4 .box-adv {
    display: flex;
    justify-content: center;
}

#debug {
    border: 2px dashed red;
    padding: 20px;
    margin: 20px;
    position: absolute;
    background-color: #fff;
    margin-top: 500px;
}


/*  L I V E    T I C K E R */

#ticker-slide {
    border: none;
    padding: 0;
    background-color: #F5F5F7;
}

#ticker-slide>h4 {
    width: 200px;
    text-align: center;
    padding: 5px;
    color: #fff;
    background-color: #C4241D;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.ticker {
    display: flex;
    flex-direction: row;
    padding: 2px 0px;
    padding-bottom: 5px;
    width: 100%;
    height: 45px !important;
    overflow: hidden;
}

.ticker ul {
    position: relative;
    z-index: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.ticker ul li {
    padding: 8px;
    background-color: #F5F5F7;
}

.ticker ul li span {
    color: #b70707;
    font-weight: bold;
}

.ticker ul li a {
    color: #000;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    background-color: #F5F5F7;
}

.ticker ul li a:hover {
    color: #677072;
}

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

    #logo-dire {
        height: 26px;
        width: 45px;
    }

    .ticker {
        height: 22px !important;
    }

    .ticker ul li {
        padding: 3px;
    }

    .ticker ul li a {
        font-size: 12px;
    }

}


/*  H E A D E R */




#wrap-logo {
    position: relative;
    z-index: 2;
    background-image: url(_include/img/logo_dire.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
    margin-bottom: 20px;
    background-color: #fff;
}

#wrap-logo>a,
#wrap-logo-mobile>a {
    display: block;
    height: 100px;
}

#wrap-search {
    padding-left: 0;
    padding-bottom: 0;
    align-items: center;
}

#wrap-search a {
    color: #1D2327;
}

#wrap-search #lens {
    background-image: url(_include/img/lens.png);
    padding: 0 30px;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    background-position: right;
    background-repeat: no-repeat;
    border: none;
    border-radius: unset;
    background-size: contain;
    background-position: right;
    font-size: 0.8em;
}

#search-form-container {
    display: none;
    padding: 10px 20px;
    background-color: #F5F5F7;
}


/*  H A M B U R G E R   M E N U */

#ham-menu-container {
    position: absolute;
    display: none;
    z-index: 4;
    padding: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 40px 40px;
    background-color: #F5F5F7;
    opacity: 0.95;
}

#close-menu-container {
    position: absolute;
    top: 10px;
    left: 20px;
}

.wrap-ham {}

.wrap-ham ul.ham-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 900px;
}

.wrap-ham ul.sub-menu {
    display: flex;
    list-style: none;
}

.wrap-ham ul.ham-menu>li {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.wrap-ham ul.ham-menu>li>a {
    color: #C4241D;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
}

.wrap-ham ul.sub-menu {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.wrap-ham ul.sub-menu>li {
    padding: 5px 0;
}

.wrap-ham ul.sub-menu>li>a {
    color: #000;
    font-size: 0.8em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.wrap-ham ul.sub-menu>li>a:hover {
    color: #1D2327;
}

.wrap-ham ul.sub-menu>li>ul.sub-menu>li>a {
    display: flex;
    flex-direction: row;
    font-weight: 400;
    padding-left: 20px;
}

.wrap-ham ul.sub-menu>li>ul.sub-menu>li>a::before {
    content: '-';
    margin-right: 5px;
}

/*  T O P   M E N U */

#wrap-top-menu {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0;
}

#wrap-top-menu>ul.top-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin-bottom: 0;
}

#wrap-top-menu>ul.top-menu>li {
    margin-right: 10px;
}

#wrap-top-menu>ul.top-menu>li:last-of-type {
    margin-right: 0;
}

#wrap-top-menu>ul.top-menu>li>a,
#wrap-top-menu>ul.top-menu>li .icon-menu-item h5 {
    color: #1D2327;
    font-size: 0.8em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    display: flex;
    padding: 5px;
}

#wrap-top-menu>ul.top-menu>li .icon-menu-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

#wrap-top-menu>ul.top-menu>li .icon-menu-item img {
    margin-right: 5px;
    height: 21px;
    width: auto;
}


/*  M E N U */


#wrap-menu {
    padding: 0;
}

#wrap-menu>#container-menus {
    display: flex;
    flex-direction: row;
    padding: 0;
}

#wrap-menu ul.menu {
    display: flex;
    position: relative;
    z-index: 2;
    justify-content: center;
    flex-direction: row;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px;
    background-color: #000;
}

#wrap-menu ul.menu>li {
    padding: 5px 10px;
    margin: 5px 0;
    line-height: 0.5em;
    border-right: 1px solid #fff;
}

#wrap-menu ul.menu>li:last-of-type {
    border: none;
}

#wrap-menu ul.menu>li>a {
    display: block;
    color: #fff;
    font-size: 0.8em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    text-decoration: none;
}

#wrap-menu ul.menu>li>a:hover {
    color: #dad9d9;
    transition: color 200ms ease;
}

#wrap-subchannels>#subchannels {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

#wrap-subchannels>#subchannels>li {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #536583;
}

#wrap-subchannels>#subchannels>li:hover {
    background-color: #1D2327;
}

#wrap-subchannels>#subchannels>li>a {
    display: block;
    padding: 5px;
    color: #fff;
    font-size: 0.8em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
}


/*  M E N U   I C O N E  */

@keyframes slideInFromLeft {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

div#wrap-menu-icone {
    position: relative;
    z-index: 0;
    background-color: #000;
    color: #fff;
    animation: 300ms ease-out 0s 1 slideInFromLeft;
}

#wrap-menu-icone ul.icon-menu {
    display: flex;
    position: relative;
    z-index: 2;
    justify-content: center;
    flex-direction: row;
    margin: auto;
    padding: 0 !important;
    list-style: none;
    flex-wrap: wrap;
    max-width: 900px;
    padding: 10px;
    background-color: #000;
}

#wrap-menu-icone ul.icon-menu>li {
    padding: 5px 10px;
    margin: 0;
    line-height: 0.5em;
}

#wrap-menu-icone ul.icon-menu>li>a {
    color: #fff;
    font-size: 0.8em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
}

#wrap-menu-icone ul.icon-menu>li .icon-menu-item {
    display: flex;
    flex-direction: column;
    padding: 5px;
    justify-content: center;
}

#wrap-menu-icone ul.icon-menu>li img {
    object-fit: contain;
    height: 40px;
    width: auto;
}

#wrap-menu-icone ul.icon-menu>li .icon-menu-item h5 {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    font-size: 0.8em;
}

#wrap-menu-icone ul.icon-menu>li:hover img {
    filter: invert(75%) sepia(65%) saturate(3151%) hue-rotate(353deg) brightness(81%) contrast(87%);
}





/* italianews */

#admputop,
#admpumiddle,
#admpufoot {
    min-width: 300px;
    display: flex;
    align-items: center;
    min-height: 600px;
}

#admpufoot {
    margin-left: inherit;
}

#container-archive .wrap-player {
    display: grid;
    align-content: center;
}


/*   H O M E  */

#apertura {
    padding-top: 0px
}

#apertura>div,
.top-archive {
    display: flex;
    flex-direction: row;
}

#adwallpaper {
    height: 250px;
    align-items: center;
}

#adwallpaper,
#admpumiddle,
#admpufoot {
    display: flex;
    justify-content: center;
}

ul.cat-label {
    display: flex;
    flex-direction: row;
    z-index: 1;
    padding: 2px 0;
    list-style: none;
    text-transform: uppercase;
    color: #C4241D;
    font-size: 0.8em;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0px;

}

.wrap-apertura {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    margin-right: 10px;
}

.wrap-apertura>a {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 100%;
}

.wrap-apertura>a>div.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.wrap-apertura>a>div.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.wrap-apertura div.wrap-text {
    position: relative;
    width: 100%;
}

.wrap-apertura>a>div.wrap-text>h1 {
    color: #131313;
    font-size: 1.8em;
    margin-bottom: revert;
    font-weight: bold;
}

#apertura .wrap-aperture {
    display: flex;
    flex-direction: column;
}

#apertura .wrap-aperture a>div.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    overflow: hidden;
    margin-bottom: 10px;
}

#apertura .wrap-aperture a>div.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#apertura .wrap-aperture a>div.wrap-text {
    width: 100%;
    padding-top: 5px;
}

#apertura .wrap-aperture div.wrap-text h2 {
    color: #131313;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

#apertura .editoriale.item {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    margin-top: 28px;
    box-shadow: 1px 1px 5px #999;
    overflow: hidden;
}

#apertura .editoriale.item img {
    width: 100%;
    object-fit: fill;
    height: auto;
    margin-bottom: 10px;
}

#apertura .editoriale.item>a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #000;
}

#apertura .editoriale.item>a>h4 {
    font-size: 1rem;
    font-weight: 600;
}

#apertura .editoriale.item>a .wrap-text {
    font-size: 0.8rem;
}

.wrap-radio{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrap-radio .label-radio-dire{
    padding: 0;
    text-align: center;
}

.wrap-radio .label-radio-dire img{
    padding: 0;
}

.wrap-radio .radio-dire{
    padding: 0;
    min-width: 300px;
}

.wrap-radio .radio-dire a{
    color: #D52E16;
}


div.row.box-oz {
    padding: 20px 0;
}

div.row.box-oz div>a {
    display: flex;
    flex-wrap: wrap-reverse;
    align-content: space-between;
}

div.row.box-oz a>div.wrap-text>h5 {
    font-size: 1em;
    letter-spacing: normal;
    color: #000;
    font-weight: bold;
}

.etichetta-sezione {
    color: #1D2327;
    border-bottom: 1px solid #536583;
    font-size: 1.5em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-bottom: 5px;
}

.etichetta-sezione-napoli {
    color: #fff;
    text-align: center;
    -webkit-text-stroke: 1px #00509A;
    border-bottom: 4px solid #00509A;
    border-top: 4px solid #00509A;
    background-color: #99D5EE;
    font-size: 2em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
}

.etichetta-categoria {
    color: #1D2327;
    border-bottom: 1px solid #536583;
    font-size: 1.5em;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-bottom: 5px;
}

#rubriche .l-8,
#rubriche .r-8,
#rubriche .l-9 {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

#rubriche .l-8>div.item {
    flex: 0 0 auto;
    width: 50%;
    padding-right: 10px;
}

#rubriche .l-8>.item>a {
    display: flex;
    flex-direction: column;
}

#rubriche .l-8>.item>a>.wrap-text {
    margin-bottom: 15px;
}

#rubriche>div.l-3>div>a>div.img-container {
    height: auto;
}

#rubriche .r-8>.item>a,
#rubriche .r-5>.item>a,
#rubriche .r-3>.item>a {
    display: flex;
}

#rubriche .r-3>.item>a {
    flex-wrap: wrap;
    height: 100%;
}

#rubriche .l-5>.item {
    display: flex;
    height: 100%;
}

#rubriche .r-5 .col-md-6 {
    padding-top: 0;
    padding-bottom: 0;
}

#rubriche .l-5>.item>a {
    display: flex;
    flex-wrap: wrap;
}

#rubriche .l-5>.item>a>div.img-container {
    width: 100%;
    height: auto;
}

#rubriche .r-8>.item>a div.img-container,
#rubriche .r-5>.item>a div.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 100%;
    max-width: 200px;
    overflow: hidden;
}

#rubriche .r-8>.item>a div.img-container {
    height: 150px;
}

#rubriche .r-8>.item>a div.wrap-text,
#rubriche .r-5>.item>a div.wrap-text,
#rubriche .r-3>.item>a div.wrap-tex {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

#rubriche div.item a div.img-container {
    display: flex;
    justify-content: center;
    height: 180px;
    overflow: hidden;
}

#rubriche div.col-md-2.item a div.img-container {
    height: 120px;
}

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

#rubriche .col-md-2.item a div.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#rubriche .l-3 div.item a div.wrap-text h2,
#rubriche .l-5 div.item a div.wrap-text h2 {
    font-size: 1.5em;
    color: #000;
    font-weight: bold;
}

#rubriche div.item a div.wrap-text h2 {
    font-size: 1em;
    color: #000;
    font-weight: bold;
}

#featured>[class*="col-"]>a,
#rubriche>.item>a {
    display: flex;
    overflow: hidden;
    flex-direction: column;
}

#next-featured {
    margin: initial;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    background-color: #EBEBEB;
}

#next-featured h5,
#tg-featured h5 {
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
}

#next-featured>[class*="col-"]>a {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}


#next-featured .img-container {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    overflow: hidden;
}

#next-featured .col-md-6 .img-container {
    height: 350px;
}

#next-featured a>div.wrap-text {
    padding: 0;
}

#next-featured a>div.wrap-text h2 {
    font-size: 1.2em;
    padding-bottom: 40px;
    color: #000;
    font-weight: bold;
}


#featured .img-container,
div.row.box-oz a>div.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}

#featured .img-container>img,
#next-featured .img-container>img,
#rubriche>.item .img-container>img,
div.row.box-oz a>div.img-container>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#featured a,
#tg-featured a,
#next-featured a,
#rubriche>.item a {
    text-decoration: none;
}

#featured a>div.wrap-text,
#tg-featured a>div.wrap-text,
#rubriche>.item a>div.wrap-text {
    width: 100%;
    padding: 10px 0;
}

#featured a>div.wrap-text h2,
#tg-featured a>div.wrap-text h2,
#rubriche>.item div.wrap-text h2 {
    font-size: 1.2em;
    letter-spacing: normal;
    color: #000;
    font-weight: bold;
}

.last-video-wrap {
    display: flex;
}

.last-video-wrap .logo-tv {
    height: 40px;
}

.last-video,
.radio-dire {
    display: flex;
    overflow: hidden;
    color: #fff;
    padding: 10px 0;
}

.last-video h4 {
    color: #fff;
    font-size: 0.8rem;
}

.last-video a {
    width: 100%;
}

.last-video .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}

.last-video img {
    width: 100%;
    height: auto;
}

.label-radio-dire {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
}

.label-radio-dire>img {
    height: fit-content;
    padding-top: 5px;
}

.radio-dire {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.radio-dire a {
    margin-top: 20px;
    color: #fff;
}

.radio-dire a:hover {
    color: #444;
}


#tg-featured {
    background-color: #EBEBEB;
    padding-bottom: 20px;
    margin: 0;
}

#tg-featured a {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100%;
}

#tg-featured .img-container {
    height: 170px;
}

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


#tg-featured .wrap-text {
    color: #1D2327;
    font-weight: bold;
}


.row#wrap-borsa {
    margin-bottom: 20px;
    ;
}


#primo-piano {
    padding: 20px 0;
}

#primo-piano .pp-l,
#primo-piano .pp-r,
#primo-piano .box {
    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
}

#primo-piano .pp-l img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#primo-piano .pp-r {
    padding: 0 15px;
}

#primo-piano .wrap-text>h2 {
    font-size: 1.5em;
    color: #000;
    padding-top: 10px;
    font-weight: bold;
}

#primo-piano .d-flex .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
}

#primo-piano .d-flex .img-container>img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#primo-piano h6 {
    color: #000;
    font-weight: bold;
}

a>h4.etichetta-sezione {
    border-top: 1px solid #B4261C;
    color: #fff;
    text-align: center;
    background-image: url(_include/img/logo_tv_vectorized.svg);
    background-repeat: no-repeat;
    background-size: 70px;
    background-position: center;
    padding-top: 10px;
    height: 70px;
    border-bottom: none;
}

#media {
    background-color: #B4261C;
    padding-top: 20px;
    border-radius: 10px 10px 0 0;
}

.tungsten {
    background-color: #B4261C;
}

#media h5 {
    border-color: #fff;
    font-size: 1rem;
    font-weight: 100;
}

#media .box-oz {
    padding: 0;
}

#media h5 {
    color: #fff;
}

#media .cat-label {
    color: #fff;
}

#media .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}

#media .img-container .play {
    position: absolute;
    z-index: 9;
    color: #fff;
    font-size: 2.5rem;
    rotate: 180deg;
    width: 100px;
    height: auto;
}

#media #adnativehp {
    margin-bottom: 20px;
}

#speciali {
    padding: 10px;
}

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

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

#speciali>.item>ul.cat-label {
    position: relative;
}

#speciali>.item>ul.cat-label>li {
    display: flex;
    justify-content: center;
    width: 100%;
    color: #C4241D;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0;
}

#speciali>.item>ul.cat-label a {
    color: #C4241D;
    background-color: initial;
    font-size: 1.5em;
    font-weight: bold;
    padding: 0;
}

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

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

#speciali>.item h4 {
    font-size: 1rem;
    color: #000;
    font-weight: bold;
}

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

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

#speciali>.item>a>.img-container {
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
}

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

#rubriche-top .img-container {
    max-height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 10px;
}

#rubriche-top .img-container>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.split-rubriche.item h4 {
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
}

#container-next {
    background-color: #DCE0E5;
    border-top: 2px solid #C4241D;
}

#container-next>.container {
    box-shadow: 0 8px 10px #999;
    padding-bottom: 20px;
}


/*    A R C H I V E  */


#container-archive h1.archive-title {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1D2327;
}

#container-archive hr {
    width: 98%;
    margin: 20px auto;
    color: #131313;
    opacity: 1;
}


#container-archive .top-archive .item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: baseline;
    width: 100%;
}

#container-archive .top-archive .item a {
    width: 100%;
}

#container-archive .item {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: baseline;
}


#container-archive .wrap-text>date {
    font-size: 0.8em;
}

#container-archive .wrap-text>h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: #000;
    font-size: 2em;
    font-weight: bold;
}

#container-archive .wrap-text>h3 {
    margin-top: 10px;
    color: #000;
    font-size: 1em;
    font-weight: bold;
}

#container-archive .col-md-6.item .wrap-text>h3 {
    font-size: 1em;
    font-weight: bold;
}

#container-archive .row .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: auto;
    overflow: hidden;
    margin-bottom: 10px;
}

#container-archive .col-md-4 .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    width: auto;
    overflow: hidden;
    margin-bottom: 20px;
}

#container-archive .col-md-3 .img-container {
    max-height: 200px;
    overflow: hidden;
}

#container-archive .news-container .item {
    margin-bottom: 25px;
}

#container-archive .news-container>h5 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: 300;
    font-weight: bold;
}

#container-archive .news-container .item>a {
    display: flex;
    flex-direction: row;
}

#container-archive .news-container .item>a>.img-container {
    height: 200px;
    width: 100%;
    max-width: 300px;
    margin-right: 20px;
    overflow: hidden;
}

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

#container-archive .news-container .item>a>.wrap-text {
    font-size: 1em;
    font-weight: normal;
    color: #000;
}

#container-archive .news-container .item>a>.wrap-text>h3 {
    font-size: 1em;
    font-weight: normal;
    font-weight: bold;
}

#container-archive .box-label {
    font-weight: 600;
    border-bottom: 1px solid #C4241D;
    color: #000;
}

#container-archive .news-container .item>a>.wrap-text>p {
    font-size: 0.8em;
    font-weight: 300;
}

#container-archive .comunicati-marche .cat-label,
#container-archive .box-canali {
    font-size: 0.6rem;
    margin-bottom: 0;
}

#container-archive .comunicati-marche h4,
#container-archive .box-canali h4 {
    font-size: 1rem;
    color: #000;
    margin-bottom: 20px;
}

#container-archive .comunicati-marche .wrap-text>h4,
#container-archive .box-canali .wrap-text>h4 {
    font-size: 0.8rem;
}


/*  Newsletter VDA */


#container-archive #newsletter-vda .item {
    border-bottom: 1px solid #F5F5F7;
    margin-bottom: 20px;
}


#container-archive #newsletter-vda .item a {
    color: #000;
    display: flex;
    padding: 10px;
}

.vda.paging-wrap>a {
    margin: 5px 10px;
}

/*  S E A R C H   R E S U L T S */

.search-query {
    margin-top: 20px;
    font-size: 1em;
}

.item-archive {
    position: relative;
    margin-bottom: 0px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.item-archive>a.item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-left: 1px solid #C4241D;
}

.item-archive>a.item>.image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.item-archive>a.item>.image-wrap>img {
    position: absolute;
    opacity: 85%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.item-archive>a.item:hover img {
    transform: scale(1.05);
    transition: 0.5s ease;
    opacity: 100%;
}

#container-archive .item-archive>a.item>h3 {
    display: flex;
    color: #000;
    font-size: 1em;
    width: 100%;
    height: 30%;
    padding: 5px;
    padding-left: 10px;
    line-height: 1.5em;
    background-color: #fff;
    z-index: 2;
    margin: 0;
}

.item-archive>ul.cat-list {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
}

.item-archive>ul.cat-list>li {
    padding: 0 5px;
    font-size: 0.7em;
    border-left: 1px solid #000;
}

.item-archive>ul.cat-list>li>a {
    color: #444;
}

.item-archive>ul.cat-list>li>a:hover {
    color: red;
}

.item-archive>ul.cat-list>li:first-child {
    border-left: 1px solid #000;
}


/*     A i S E A R C H      */

#user-logged {
    background-color: #fff;
    padding-top: 0;
}

#aisearch {
    font-family: 'Titillium Web', sans-serif;
    padding: 20px 0 0 0;
    background-image: url(_include/img/bk_spider.jpg);
}

#aisearch .wrap-title {
    padding: 20px 0;
    text-align: center;
}

#aisearch .wrap-title>h2 {
    font-weight: 100;
    font-family: 'Titillium Web', sans-serif;
}

#aisearch .wrap-text {
    font-weight: 300;
}

#aisearch .wrap-form {
    text-align: center;
    padding-left: 200px;
    padding-right: 200px;
}

#aisearch #log_in {
    position: relative;
    max-width: 500px;
    margin: auto;
}

#aisearch #log_in .go-user {
    position: absolute;
    top: 9px;
    right: 12px;
    height: 25px;
    width: 25px;
}

#aisearch #loginform {
    margin-bottom: 50px;
}

#aisearch #loginform p {
    display: flex;
    flex-direction: column;
}

#aisearch #loginform input {
    border: 1px solid #DCE0E5;
    border-radius: 5px;
    padding: 5px;
}

#aisearch #loginform label,
#aisearch #loginform p.login-password {
    display: none;
}

#aisearch #loginform #user_pass {
    width: 100%;
}

#container-minidash {
    background-color: #000;
    color: #fff;
    border: 1px solid #677072;
    border-left: none;
    border-right: none;
}

.mini-dash {
    display: flex;
    flex-direction: row;
    justify-content: start;
    font-size: 1.5rem;
    padding: 15px;
    font-family: 'Titillium Web', sans-serif;
    ;
}


.mini-dash>h5 {
    line-height: normal;
    margin-right: 20px;
    margin-bottom: 0;
}

.mini-dash a {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    height: 40px;
    padding: 0 10px;
    color: #fff;
    margin-right: 5px;
    border-radius: 0 10px 0 10px;
}

.mini-dash a:hover {
    color: #fff;
}

.mini-dash a.logout {
    background-color: #C4241D;
}

.mini-dash a.add {
    background-color: #1d68c4;
}

.mini-dash a.go-back {
    background-color: #536583;
}

div.more-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


div.more-middle>p.p-lost {
    margin-bottom: 10px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #C4241D;
}

#aisearch #loginform .p-lost,
div.more-middle>p.join {
    font-size: 0.8rem;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
}

#aisearch #loginform .p-lost>a,
div.more-middle>p.join>a {
    color: #000;
}

#aisearch #loginform p>label {
    text-transform: uppercase;
    margin-bottom: 5px;
}

#aisearch #loginform .login-remember label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 0;
}

.modal-header {
    justify-content: center !important;
}

.modal-body>#dire-registration-form input {
    width: 100%;
    padding: 5px;
    border: 1px solid #DCE0E5;
}

.modal-body>#dire-registration-form .add-button {
    border: none;
    border-radius: 5px;
    background-color: #1D68C4;
    color: #fff;
}

#aisearch #project-container {
    padding-top: 0;
}

#aisearch #project-container h5 {
    text-align: center;
    padding: 20px;
    font-weight: 600;
}

#aisearch .wrap-project {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-bottom: 1px dashed #677072;
    padding: 5px 0;
}

#aisearch .wrap-project h6 {
    font-weight: 600;
}

#aisearch .wrap-project p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

#aisearch .wrap-project span {
    font-size: 1rem;
}

#aisearch .wrap-project a {
    color: #131313;
}

#aisearch .wrap-project a:hover {
    color: #C4241D;
}

#aisearch span {
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 0 10px 0 10px;
}

#aisearch span.append {
    font-style: italic;
    background-color: #C4241D;
    color: #fff;
}

#aisearch span.completed {
    font-weight: 600;
    background-color: #48881D;
    color: #fff;
}


/* ai serp result details*/

#all-results {
    display: none;
}


/* ai login */

#aisearch #loginform #wp-submit {
    background-color: #D52E16;
    color: #fff;
    display: none;
}

#aisearch .wrap-user-logout {
    text-align: center;
    margin: 40px;
    padding: 5px 10px;
    background-color: #D52E16;
}

#aisearch .wrap-user-logout a {
    font-size: 1rem;
    color: #fff;
}


#dire_registration_form {
    font-size: 1rem;
}

#dire_registration_form input {
    width: 100%;
}

#dire_registration_form fieldset>p:last-child {
    text-align: end;
    padding-top: 10px;
}

#dire_registration_form fieldset>p:last-child>input {
    font-size: 0.8rem;
    padding: 5px 10px;
    color: #fff;
    background-color: #D52E16;
}

/*  XSearch   */

#serp-head {
    padding: 15px;
}

#serp-head>h3 {
    font-weight: 300;
}

.single-result {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #677072;
}

.single-result>a {
    color: #131313;
}

.single-result>a:hover h4 {
    color: #C4241D;
}

.single-result>a:hover p {
    color: #131313;
}

.single-result>a>h4 {
    font-size: 1.2rem;
}

.single-result>a>p {
    font-size: 1rem;
}



/*  S I N G L E   P O S T   */


#container-single>#wrap-post .is-provider-vimeo iframe {
    width: 100%;
    height: calc(26vw);
}

#container-single>#wrap-post {
    padding: 10px 40px;
    font-size: 1em;
    word-wrap: break-word;
    overflow:
        hidden;
}

#container-single>#wrap-post a {
    color: #C4241D;
    font-style: italic;
}

#container-single>#wrap-page a {
    color: #536583;
}

#container-single>#wrap-page a:hover {
    color: #C4241D;
}


#container-single>#wrap-page .foto-contatti {
    margin: 0 50px;
}

#container-single>#wrap-post>h1 {
    margin-bottom: 40px;
}

#container-single>#wrap-post>h3 {
    margin-bottom: 20px;
}

#container-single>#wrap-post>.info-bio {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    margin-top: 20px;
}

#container-single>#wrap-post>.info-bio>div {
    color: #C4241D;
    display: flex;
    align-items: center;
    padding: 0px;
    font-size: 0.8em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #131313;
}

#container-single>#wrap-post>.info-bio>div span {
    margin-left: 5px;
    color: #131313;
}

#container-single>#wrap-post>.info-bio>div:last-child {
    border-right: none;
    margin-right: none;
}

#container-single>#wrap-post>.info-bio .pub-date {}

#container-single>#wrap-post>.info-bio a {
    color: initial;
    font-style: italic;
}

#container-single>#wrap-post>.info-bio img {
    margin-left: 5px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    border: 2px solid #C4241D;
}

#container-single>#wrap-post .hero-image {
    margin-bottom: 20px;
}

#container-single>#wrap-post .hero-image>img {
    object-fit: cover;
    width: 100%;
    max-height: auto;
}

#container-single>#wrap-post img {
    max-width: 100%;
    height: auto;
}

#container-single .wrap-alert {
    display: flex;
    float: inline-start;
}

#container-single p.alert {
    font-style: italic;
    text-align: center;
    font-weight: 600;
}

.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
}

.wpcf7-form input[type=submit] {
    width: initial;
}

.wpcf7-form input[type=checkbox] {
    width: auto;
}

.same_category {
    list-style: none;
    padding: 0;
}

.same_category>li {
    margin-bottom: 15px;
}

.same_category>li>a {
    display: flex;
    flex-direction: column;
}

.same_category>li>a>h6 {
    margin: 0;
    padding: 10px 0;
    color: #000;
}

.same_category>li>a>img {
    width: 100%;
    object-fit: cover;
}

.same_category>li>a>ul.cat-label {
    font-size: 0.8em;
    font-weight: bold;
}

#related-post {
    display: flex;
    background-color: #F0F0F0;
    margin: 0;
    padding: 0 20px;
}

#related-post ul#related>li>a>div.wrap-text {
    display: flex;
    flex-direction: column;
}

#related-post h3 {
    font-size: 1em;
    margin: 10px 0 20px 0;
    color: #000;
    text-transform: uppercase;
}

#related-post ul#related {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

#related-post ul#related>li>a {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    color: #000;
}

#related-post ul#related>li>a>img {
    margin-right: 10px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

#related-post ul#related>li>a h4 {
    font-size: 1.2em;
}

#related-post ul#related>li>a date {
    font-size: 0.6em;
    margin: 5px 0;
}

#related-post ul#related>li>a label {
    font-size: 0.8em;
    color: #C4241D;
    font-weight: bold;
}


#related-post ul#related>li>a p {
    font-size: 0.8em;
}


#container-single #outstream,
#ad_dyn1,
#ad_dyn2,
#ad_dyn3,
#ad_dyn4,
#ad_dyn5 {
    display: flex;
    width: auto;
    margin: 10px 20px 10px 0px;
    justify-content: center;
}


#container-single #admputop,
#container-single #admpumiddle,
#container-single #admpufoot {
    display: flex;
    width: auto;
    justify-content: center;
    margin-bottom: 20px;
}

/*  A U T H O R   B O X   */

.author-box {
    padding: 10px;
    background-color: #131313;
    margin: 0;
    margin-bottom: 20px;
    color: #fff;
}

.author-bio {
    display: flex;
    flex-direction: column;
}

.author-bio>h1 {
    text-transform: uppercase;
    width: 80%;
    font-size: 2em;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.author-bio>span {
    font-size: 0.8em;
    width: 80%;
    margin-bottom: 10px;
}

.author-bio>.info>h5 {
    margin-right: 25px;
}

.author-bio>.info>p {
    margin-right: 10px;
}

.author-bio>.info>span {
    font-style: italic;
}

.author-bio>.info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.author-box>.avatar {
    display: flex;
    justify-content: center;
}

.author-box>.avatar>img {
    position: relative;
    z-index: 1;
    border-radius: 50%;
    border: 3px solid #C4241D;
}

#container-archive hr.bio-line {
    position: relative;
    z-index: 0;
    top: -80px;
    bottom: 0;
    width: 100%;
    color: #677072;
    opacity: 1;
}




/*    T E M P L A T E   D O C E N T E   */


#container-single>#wrap-post .photo-title {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

#container-single>#wrap-post .photo-title>img {
    margin-right: 20px;
}

#container-single>#wrap-post .side-item>a {
    display: flex;
    flex-direction: column;
}

.side-item>a {
    margin-bottom: 10px;
    ;
}

.side-item>a .wrap-text>h5 {
    margin: 0;
    padding: 10px 0;
    color: #000;
    font-size: 1rem;
    ;
}



/*  F O O T E R */

#wrap-footer {
    padding: 20px;
    background-color: #F5F5F7;
    border-top: 1px solid #C4241D;
}


#wrap-footer ul.footer_menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 5px 0;
    overflow: hidden;
}

#wrap-footer ul.footer_menu>li {
    padding: 0px 10px;
    border-right: 1px solid #C4241D;
}

#wrap-footer ul.footer_menu>li:first-child {
    padding-left: 0;
}

#wrap-footer ul.footer_menu>li:last-child {
    border: none;
}

#wrap-footer ul.footer_menu>li>a {
    display: block;
    font-size: 0.6em;
    font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    text-decoration: none;
    color: #536583;
    text-transform: uppercase;
    font-weight: normal;
}

#wrap-footer h5 {
    font-size: 0.6em;
    color: #1D2327;
    font-weight: 400;
}


#wrap-footer .social-wrap,
#wrap-header .social-wrap {
    display: flex;
    flex-direction: row;
}

#wrap-footer .social-link,
#wrap-header .social-link {
    background-image: url(_include/img/social_icons.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

#wrap-footer .diregiovani-link {
    display: flex;
    width: 100%;
    height: 50px;
    background-image: url(_include/img/logo_diregiovani.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 3px;
}

#wrap-header .social-link {
    height: 30px;
    width: 30px;
}

#wrap-footer .social-link:hover,
#wrap-header .social-link:hover {
    transform: scale(1.2);
    transition: 200ms;
}

#wrap-footer #to-facebook,
#wrap-header #to-facebook {
    background-position: -5px 0;
}

#wrap-footer #to-instagram {
    background-position: -60px 0;
}

#wrap-header #to-instagram {
    background-position: -45px 0;
}

#wrap-footer #to-twitter {
    background-position: -112px 0;
}

#wrap-header #to-twitter {
    background-position: -85px 0;
}

#wrap-footer #to-youtube {
    background-position: -166px 0;
}

#wrap-header #to-youtube {
    background-position: -125px 0;
}

#wrap-footer #to-linkedin {
    background-position: -219px 0;
}

#wrap-header #to-linkedin {
    background-position: -164px 0;
}


/**  L A N D I N G   P A G E  */


#landingpage .hero-landing,
#container-single .hero-landing,
#container-docenti .hero-landing {
    width: 100%;
    height: auto;
}

#landingpage h1.title {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1D2327;
}

#landingpage .left .item-container a {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 10px;
}

#landingpage .item-container .wrap-text>h3 {
    color: #000;
    font-size: 1.5em;
}

#landingpage .left .item-container a.item .img-container {
    display: flex;
    align-items: center;
    height: 350px;
    width: auto;
    overflow: hidden;
}

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


#landingpage .right .item-container a.item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    padding: 10px;
}

#landingpage .item-container a .cat-label {
    margin-bottom: 0;
}


#landingpage .right .item-container a.item .img-container {
    display: flex;
    align-items: center;
    height: 200px;
    width: auto;
    overflow: hidden;
}

#landingpage .item-container .wrap-text>h4 {
    color: #000;
    font-size: 1em;
}


#landingpage .bottom a.item .img-container {
    display: flex;
    align-items: center;
    height: 200px;
    width: auto;
    overflow: hidden;
}


#landingpage .bottom .wrap-text>h5 {
    color: #000;
    font-size: 0.8em;
}

.menu-formazione-container ul {
    list-style: none;
    padding: 10px;
}

.menu-formazione-container ul>li>a {
    display: block;
    margin-bottom: 5px;
    background-color: #00349B;
    color: #fff;
    padding: 5px 10px;
}

.menu-formazione-container ul>li>a:hover {
    background-color: #C4241D;
    transition: 500ms;
}

/**  L A N D I N G   P A G E  F O R M A Z I O N E   E U */

#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%);
}

/** BLOCK **/

form input,
form textarea {
    border: 1px solid #DCE0E5;
    border-radius: 5px;
    padding: 5px;
}

form input::placeholder,
form textarea::placeholder {
    font-size: 0.8rem;
}




/**  M O B I L E  */

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


    #claim>div {
        font-size: 0.5em;
        padding: 5px;
    }

    #wrap-header {
        background-color: #fff;
        margin-bottom: 0;
    }

    #wrap-header .navbar.navbar {
        padding: 0;
    }

    #navbarToggleMenu {
        width: 100%;
    }

    #wrap-logo-mobile>button {
        margin-bottom: 10px;
    }

    #wrap-logo-mobile {
        display: flex;
        align-items: start;
        z-index: 3;
        padding: 0;
        background-image: url(_include/img/logo_dire.png);
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 50px;
        background-size: 25%;
    }

    #wrap-logo-mobile>a {
        display: flex;
        flex-grow: 1;
        height: 50px;
    }

    #wrap-logo-mobile .menu {
        background-color: #FFF;
        margin: 0;
        padding-bottom: 20px;
    }

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

    nav.navbar ul.menu>li {
        padding: 5px;
    }

    nav.navbar ul.menu>li>a {
        display: block;
        font-size: 0.8em;
        width: 100%;
        color: #000;
        padding: 5px 0;
        border-bottom: 1px solid #DCE0E5;
    }

    nav.navbar ul.menu>li>ul.sub-menu a {
        color: #000;
    }

    nav.navbar ul.menu>li>ul.sub-menu li {
        margin: 10px auto;
    }

    #adwallpaper {
        height: 100px;
    }
    

    .wrap-apertura {
        margin-right: 0px;
    }

    .wrap-apertura>a {
        height: 350px;
    }

    .wrap-apertura>a>div.wrap-text>h1 {
        font-size: 1em;
    }

    h5.etichetta-sezione {
        margin: 0;
        padding: 0;
    }

    #apertura .editoriale.item img.logo-image {
        width: auto;
    }


    .row#wrap-borsa {
        margin-bottom: 0;
    }

    #container-single>#wrap-post>h1 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    #container-single>#wrap-post>h3 {
        font-size: 0.9rem;
    }

    #container-single>#wrap-post>.info-bio img {
        display: none;
    }

    #container-single>#wrap-post>.info-bio a,
    #container-single>#wrap-post>.info-bio .pub-date {
        font-size: 0.5rem;
    }

    #container-single>#wrap-post {
        font-size: 0.8rem;
    }

    #wrap-footer .diregiovani-link {
        background-position-x: center;
    }

    #wrap-footer ul.footer_menu>li>a {
        font-size: 0.5rem
    }

    #container-archive a.item {
        flex-wrap: nowrap;
    }

    #container-archive a.item {
        flex-wrap: nowrap;
    }

    #admpufoot2,
    #adnativehp,
    #admputop2,
    #admpumiddle2 {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    #wrap-post iframe {
        width: 100%;
        height: calc(65vw);
    }

    #container-single>#wrap-post .is-provider-vimeo iframe {
        width: 100%;
        height: calc(65vw);
    }

}


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

    #primo-piano h6 {
        font-size: 0.8em;
        margin-bottom: 0;
    }

    #speciali>.item h4 {
        font-size: 1.2em;
        margin-bottom: 0;
        margin-top: 10px;
    }

    #wrap-footer .social-link,
    #wrap-header .social-link {
        padding-right: 5px;
        margin-right: 0;
    }

    #wrap-header .social-link {
        width: 30px;
        height: 25px;
    }

    #wrap-header #to-facebook {
        background-position: 2px 0;
    }

    #wrap-header #to-instagram {
        background-position: -31px 0
    }

    #wrap-header #to-twitter {
        background-position: -65px 0;
    }

    #wrap-header #to-youtube {
        background-position: -100px 0;
    }

    #wrap-header #to-linkedin {
        background-position: -135px 0;
    }

}


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

    .container {
        max-width: max-content !important;
    }

    #wrap-header .social-wrap {
        padding: 10px 5px;
    }

    #wrap-top-menu {
        justify-content: center;
    }

    #wrap-top-menu>ul.top-menu>li>a,
    #wrap-top-menu>ul.top-menu>li .icon-menu-item h5 {
        font-size: 0.5rem;
    }

    #ticker-slide>h4 {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    #ticker ul li a {
        font-size: 0.8rem;
    }

    #container-archive a.item {
        flex-wrap: nowrap;
    }

    #apertura .wrap-aperture div.wrap-text h2 {
        font-size: 0.8rem;
    }

}

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

    /* italianews */

    #adwallpaper {
        z-index: 5;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #fff;
        margin-bottom: 5px;
    }

    #container-single #outstream {
        display: none;
    }

    #admpufoot2,
    #adnativehp,
    #admputop2,
    #admpumiddle2 {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    #ad_dyn1,
    #ad_dyn2,
    #ad_dyn3,
    #ad_dyn4,
    #ad_dyn5,
    #adnative {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 20px 0;
    }

    /* end italianews */

    #wrap-header .social-wrap {
        display: none;
    }

    .container.main-container {
        padding-top: 0;
    }

    #ham-menu-container,
    #search-form-container,
    #hamb-button,
    .wrap-hamb-button {
        display: none;
    }

    #wrap-top-menu {
        justify-content: center;
        padding-bottom: 5px;
    }

    #wrap-top-menu .top-menu {
        padding: 0;
    }

    #wrap-top-menu>ul.top-menu>li .icon-menu-item img {
        height: 15px;
    }

    #wrap-top-menu>ul.top-menu>li .icon-menu-item h5 {
        padding: 2px;
        margin: 0;
    }


    #wrap-top-menu>ul.top-menu>li {
        margin-right: 2px;
    }

    #wrap-top-menu>ul.top-menu>li>a {
        font-size: 0.6rem;
    }


    #ticker-slide {
        height: 30px !important;
    }

    #ticker-slide>h4 {
        font-size: 0.8rem;
        width: 140px;
        font-family: 'Eugenio Sans Text', 'Helvetica Neue', Helvetica, sans-serif !important;
    }

    #ticker-slide>ul {
        line-height: 1;
    }

    div.img-container,
    .img-container>.img-responsive {
        width: 100%;
    }

    #aisearch .wrap-form {
        padding-left: 0;
        padding-right: 0;
    }

    #aisearch #login,
    #aisearch #register {
        margin: 0 10px 20px 10px;
    }

    #related-post ul#related>li>a {
        display: block;
    }

    #related-post ul#related>li>a>img {
        width: 100%;
    }

    #wrap-footer ul.footer_menu>li {
        padding: 0 5px;
    }

    #wrap-footer ul.footer_menu {
        padding-bottom: 0;
    }

    #wrap-footer .social-wrap {
        justify-content: center;
    }

    #wrap-header .social-link {
        width: 25px;
        height: 25px;
    }

    .last-video {
        margin-bottom: 10px;
    }

    .last-video:last-of-type {
        border-radius: 0;
    }

    #speciali>.item {
        margin: 0;
    }

    #speciali>.item h4,
    #primo-piano .wrap-text>h2,
    #rubriche div.item a div.wrap-text h2 {
        font-size: 0.8rem;
    }

    #container-single>#wrap-post {
        padding: 10px;
    }

    #container-archive .news-container .item>a {
        flex-direction: column;
    }

    #container-archive .news-container .item>a>.img-container {
        max-width: fit-content;
        margin: 0;
        height: auto;
    }

    #container-archive .news-container .item>a>.img-container img {
        height: auto;
    }

    #rubriche .l-8>div.item {
        width: fit-content;
        padding: 0;
    }

    #rubriche div.item a {
        display: flex;
        flex-direction: column;
    }

    #rubriche div.img-container {
        height: auto;
        width: 100%;
        max-height: 230px !important;
        max-width: none;
    }

    #rubriche .r-8>.item>a div.img-container,
    #rubriche div.col-md-2.item a div.img-container {
        max-width: none;
        height: auto;
    }

    #rubriche .l-5 div.item a div.wrap-text h2 {
        font-size: 0.8rem;
    }

    #apertura>div,
    .top-archive {
        flex-direction: column;
    }


    .etichetta-sezione-napoli {
        -webkit-text-stroke: 0;
        font-weight: 100;
        font-size: 1rem;
        padding-top: 5px;
    }

    h5.etichetta-sezione-napoli>img {
        width: 30px;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

}


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

    
    #speciali>.item h4 , #rubriche div.item a div.wrap-text h2{
        font-size: 0.8rem;
    }
    #speciali>.item>a>.img-container{
        height: 120px;
        margin-bottom: 10px;
    }

    #rubriche div.item a div.img-container{
        height: 120px;
    }

    #rubriche .r-8>.item>a div.img-container {
        height: 100px;
    }
}