:root {
    --space: 2rem;
    --space-xs: calc(var(--space) / 3);
    --space-sm: calc(var(--space) / 2);
    --space-md: calc(var(--space) * 2);
    --radius: 0.125rem;
    --primary-grigio: #bdbdbd;
    --primary-grigiomedio: #bdbdbd;
    --primary-grigiochiaro: #ebebeb;
    --primary-rosso: rgb(199, 0, 0);
    --color-scuro1: rgb(29, 41, 75);
    --footer-bg-color: rgb(29, 41, 75);
    --color-grigio: rgb(159, 159, 159);
    --color-grigiochiaro: #ececec;
    --color-nero: #000;
    --color-n-a: #1d294b;
    /*
    --color-agricoltura: #077e02;
    --color-ambiente: #109c39;
    --color-cultura: #f9c300;
    --color-sicurezzaediritti: #a414ff;
    --color-dirittiepariopportunita: #a414ff;
    
    --color-politicheabitative: #010101;
    --color-edilizia: #010101;
    
    --color-finanza: #0a71a9;
    --color-fondieuropei: #c60083;
    --color-pnrrefondieuropei: #c60083;
    --color-affariefondieuropei: #c60083;
    --color-sviluppoeconomico: #b23443;
    --color-impreseecommercio: #b23443;
    --color-imprese: #b23443;
    --color-infrastruttureetrasporti: #5fd7bd;
    
    --color-trasportiemobilita: blue;
    --color-infrastrutture: #5fd7bd;
    
    --color-lavoro: #95c11f;
    --color-protezionecivile: #590007;
    --color-sanita: #009fe3;
    --color-salute: #009fe3;
    --color-welfare: #5a6772;
    --color-sport: green;
    --color-scuolaeformazione: #9c88bf;
    --color-turismo: #ff6600;
    --color-urbanistica: #d70077;
    --color-statistica: #1d294b;
    --color-elezioni: #1d294b;
    --color-consiglio: #1d294b;
    --color-giunta: #1d294b;
    --color-attivitaistituzionale: #1d294b;
    */
}

.btn-primary {
    color: #fff;
    background-color: var(--color-scuro1);
    border-color: var(--color-scuro1);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--color-scuro1);
    border-color: var(--color-scuro1);
}

.dropup-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}


/* classi categorie */


/*

body.catid-91096 #t4-masthead,
body.item-catid-91096 #t4-masthead,
body.catid-91096 #t4-masthead,
body.catid-91096.comefareper .card,
body.catid-91096.comefareper .card-body,
body.catid-91096 .menuorizz .dropdown-menu li,
body.catid-91096 .menuorizz .dropdown-menu.show,
body.catid-91096 h1.contentheading {
    border-color: var(--color-agricoltura);
    border-radius: 0;
}

*/

.catid-agricoltura,
.catid-91096 {
    background: var(--color-agricoltura);
}

.catid-ambiente,
.catid-91074 {
    background: var(--color-ambiente);
}

.catid-cultura,
.catid-100727 {
    background: var(--color-cultura);
}

.catid-edilizia,
.catid-91076 {
    background: var(--color-edilizia);
}

.catid-finanza,
.catid-XXXX {
    background: var(--color-finanza);
}

.catid-pnrrefondieuropei,
.catid-affariefondieuropei,
.catid-fondieuropei,
.catid-30 {
    background: var(--color-fondieuropei);
}

.catid-sviluppoeconomico,
.catid-impreseecommercio,
.catid-imprese,
.catid-16 {
    background: var(--color-imprese);
}

.catid-infrastrutture,
.catid-101930 {
    background: var(--color-infrastrutture);
}

.catid-trasportiemobilita,
.catid-21 {
    background: var(--color-trasportiemobilita);
}

.catid-infrastruttureetrasporti,
.catid-19 {
    background: var(--color-infrastruttureetrasporti);
}

.catid-sport,
.catid-11 {
    background: var(--color-sport);
}

.catid-lavoro,
.catid-100613 {
    background: var(--color-lavoro);
}

.catid-protezionecivile,
.catid-17,
.catid-91073 {
    background: var(--color-protezionecivile);
}

.catid-salute,
.catid-sanita,
.catid-14,
.catid-100888 {
    background: var(--color-sanita);
}


/* FONT SIZE */

body,
div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_progressbar div.barText,
.input-group-text {
    font-size: 1.25rem !important;
}

#toolChiari .btn,
#toolScuri .btn {
    font-size: 3rem;
}

#searchdiv .fc_filter_html.fc_text_search input.fc_text_filter,
h1 {
    font-size: 40px;
    min-height: 70px;
}

header h1 {
    min-height: 0px !important;
}

.nomesezione h2 {
    font-size: 45px;
}

h2 {
    font-size: 35px;
}

.scrolled #searchdiv .fc_filter_html.fc_text_search input.fc_text_filter,
h3 {
    font-size: 25px;
}

input.fc_text_filter {
    border: 1px solid lightgray !important;
    padding: 10px !important;
    /* margin: 10px !important; */
}

.pulsantihomenewsletterwebradio {
    font-size: 32px;
}

#menupaginainternalaterale li,
header nav a,
.btn.downloadBtn.fcfile_downloadFile i,
div.fc_mediafile_player_box.fc_compact div.fc_mediafile_controls .btn,
.offcanvas-body a,
#secondoheader a,
.sharebutton {
    font-size: 28px;
}

.topbars li {
    font-size: 1.35rem;
}

.interventicontainer {
    max-height: 300px;
    border: 1px solid var(--color-scuro1);
}

.clipListTitle {
    background: var(--color-scuro1);
    color: white;
    padding: 0.25rem 1rem;
}

.fc_filter_html.fc_text_search input.fc_text_filter {
    font-size: 1.5rem;
}

#notelegalifooter a,
.btn.downloadBtn.fcfile_downloadFile {
    font-size: 20px !important;
}

.fc_field_filter label,
.flexicontent .fc_field_filter {
    font-size: 1.2rem;
}

.field_podcastaudio {
    width: 100%;
}

.interventicontainer {
    position: relative;
}

.interventoselezionato,
.interventoselezionato a {
    background: var(--color-scuro1);
    color: white;
}

.interventoselezionato a:hover {
    color: #FFFFFF
}

.desc-title.label {
    padding: 0 1rem;
    width: 33%;
    min-width: 100px;
    background-color: var(--color-scuro1);
    color: white;
}

div.flexi.label,
.flexi.label {
    clear: both;
}

body #flexicontent .flexi.label,
body #flexicontent .desc-title.label {
    background-color: var(--color-scuro1);
}


/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */

.catid-welfare,
.catid-100889 {
    background: var(--color-sociale);
}

.catid-scuolaeformazione,
.catid-18 {
    background: var(--color-scuolaeformazione);
}

.catid-sicurezzaediritti,
.catid-12 {
    background: var(--color-sicurezzaediritti);
}

.catid-turismo,
.catid-47 {
    background: var(--color-turismo);
}

.catid-urbanistica,
.catid-15 {
    background: var(--color-urbanistica);
}


/* template fixes */


/*
#menupaginainternalaterale ul {
    padding-left: 1rem !important;
}
*/

.modal-dialog.rl {
    min-width: 360px;
    max-width: 60vw !important;
    border: 0 !important;
    margin: 30vh auto;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.modal-backdrop {
    background: radial-gradient( circle, rgb(29, 41, 75) 49%, #fff 100%);
}

.rl .modal-content {
    border: 0;
}

.statGraph>div {
    min-height: 480px !important;
}

.socialiconscontainer img,
.socialiconscontainer svg {
    vertical-align: baseline;
}

.collapsing>* {
    overflow: hidden;
}

.clipDataLink {
    font-style: italic;
    font-size: 0.9rem;
}

#sharebuttonbox {
    position: absolute;
    background: white;
    border-radius: 15px 15px 100px 100px;
    margin-top: -60px;
    margin-left: -24px;
    z-index: 100;
    padding: 0 !important;
    /*
    position: absolute;
    background: white none repeat scroll 0% 0%;
    top: 150px;
    z-index: 1000;
    margin-left: -20px;
    right: 48px;
    border-radius: 40px;*/
}

.offcanvas .fa-search {
    color: white;
    font-size: 36px;
    padding: 15px 0 0 0;
}

@media (min-width: 1700px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container,
    .t4-masthead .t4-masthead-detail {
        max-width: 1640px;
    }
}

.menulateraleheading {
    color: white;
}


/*
.menuorizz .icon-webaradiotv::before {
    top: 0;
}

.icon-webaradiotv::before {
    top: 10px;
    position: relative;
}
*/

body {
    font-family: "t-regular";
    color: var(--color-scuro1);
}

.container li {
    list-style-type: none;
}

.card {
    border-radius: 0;
}

.divider,
.t-bold {
    font-family: "t-bold";
}


/*
.argomenti .card:hover a,
.argomenti .card a:hover,
.argomenti .card:hover,
.comefareper .card:hover a,
.comefareper .card a:hover,
.comefareper .card:hover,
.dropdown-menu li:hover div,
.dropdown-menu li:hover a {
    background-color: var(--color-scuro1);
    color: white;
}
*/

body.view-default header {
    margin: 0px !important;
    z-index: 100;
    position: relative;
}

.card-title {
    margin-bottom: 0;
    margin-left: -1px;
    margin-top: 0 !important;
}

.mostratutti {
    width: 100% !important;
}

.card.mostratutti h3 {
    background: white;
    display: grid;
    height: 95%;
    padding: 10px;
    border-radius: 4px;
    align-content: center;
    margin: auto;
    width: 90%;
}

.tendina .conbordo,
.card.conbordo {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 5px solid;
    padding: 0;
}

#toolChiari {
    min-width: 110px;
    margin: 8px;
}

#menupaginainterna {
    padding: 0 10%;
}

#menupaginainternalaterale {
    position: relative;
    padding: 0;
    max-width: 33.33333333%;
}

#menupaginainternalaterale .nav-header,
#menupaginainternalaterale li a {
    border-bottom: 1px solid var(--color-grigio);
    display: block;
    width: 100%;
    padding: 0;
}

#menupaginainternalaterale li {
    font-family: "t-semibold";
    /* border-bottom: 1px solid var(--color-grigio); */
    padding: 10px;
    width: 100%;
    /* margin: 10px 50px 0 0; */
}

#menupaginainternalaterale::before {
    content: " ";
    display: block;
    height: 100%;
    left: -100vw;
    position: absolute;
    background: white;
    width: 100vw;
    overflow: hidden;
}

#menupaginainternalaterale h2 {
    text-transform: uppercase;
}

.pagination {
    text-align: center;
}

.pagination li.page-item,
.pagination .page-link {
    display: inline-block;
}

.pagination .page-item.disabled a {
    background: var(--color-scuro1);
    color: white;
}


/*
#menupaginainternalaterale>ul {
    position: absolute;
    border: 0;
    top: 0;
}
*/

h1.contentheading {
    border-bottom: 10px solid;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0 0 1rem 0;
}

.nav-hover .dropdown-menu {
    display: block !important;
}

.superfluidcontainer {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    box-sizing: border-box;
    max-width: 100vw;
    padding: 0;
}


/*
.breadcrumb {
    margin-left: -6px;
}
*/

.breadcrumb {
    text-transform: lowercase;
}

.breadcrumb li:last-child {
    font-family: "t-bold";
}

.vcenter {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.v3quartibottom {
    /*position: relative;
    top: 75%;
    transform: translateY(-100%); */
}

.vbottom {
    position: relative;
    top: 100%;
    transform: translateY(-100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "t-bold";
}

header nav a {
    font-family: "t-semibold";
}

.page-link,
a {
    text-decoration: none;
    color: var(--color-scuro1);
    line-height: 126%;
}

li>.conbordo {
    padding-top: 5px;
}

.elenconumerato li,
#ModLastPagesViewed li {
    line-height: 1rem;
    margin-bottom: 1.2rem;
    margin-top: 0;
}

.elenconumerato li {
    /*list-style-type: decimal;*/
    counter-increment: h3;
    padding-left: 50px;
}

.elenconumerato li::before {
    display: inline-block;
    content: counter(h3) " ";
    color: white;
    font-weight: bold;
    background: var(--color-scuro1);
    border-radius: 100px;
    padding: 10px 0;
    font-size: 1rem;
    width: 40px;
    text-align: center;
    margin: 0px 7px 0 -50px;
    box-shadow: 0px 3px 6px #868686 !important;
    line-height: 0.5rem;
}

.occhiello-slider {
    /*
    position: absolute;
    bottom: -20px;
    right: 0;
    background: #f4f4f4;
    color: black;
    border-radius: 10px 0px 10px 10px;
    font-family: "t-semibold";
    border-bottom: 5px solid var(--color-scuro1);
    font-size: .8rem;
    */
    position: absolute;
    top: 0;
    right: 0;
    background: #f4f4f4;
    color: black;
    border-radius: 0px 5px 0px 10px;
    font-family: "t-semibold";
    border-bottom: 5px solid var(--color-scuro1);
    border-left: 5px solid var(--color-scuro1);
    font-size: 0.8rem;
    margin-top: -5px;
    padding: 0.12rem 0.5rem;
    /*
    position: absolute;
    top: 0;
    right: 0;
    background: #f4f4f4;
    color: black;
    border-radius: 10px 10px 0px 10px;
    font-family: "t-semibold";
    border-bottom: 5px solid var(--color-scuro1);
    margin-top: -20px;
    font-size: .8rem;
    */
}


/*
.elenconumerato li::marker {
  color: grey;
}
*/

.page-link:hover,
#flexicontent .fc_item_title:hover,
#flexicontent .fc_item_title a:hover,
a:hover {
    text-decoration: underline !important;
    color: var(--color-scuro1);
}


/*
.content.group > ul {
  padding: 0;
}
*/

button.carousel-control-prev:focus,
button.carousel-control-next:focus {
    border: 4px solid #ff8000 !important;
}

a:focus {
    display: inline-block !important;
    border: 0 !important;
    outline: 0.2rem solid #ff8000;
    border-radius: 2px;
    vertical-align: top;
}

#menupaginainternalaterale li.current.active>a {
    background: var(--color-grigiochiaro);
    outline: 4px #ff8000 solid !important;
    padding: 0.5rem;
    border-radius: 2px;
}

.menulateraleheading:hover {
    color: white;
    text-decoration: underline;
}

.menulateraleheading:focus {
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding-left: 1rem !important;
}


/*
#menupaginainternalaterale li.current.active {
    background-color: var(--color-grigiochiaro);
    outline: 4px #ff8000 solid !important;
    border-radius: 4px;
}
*/

.card-title h3 {
    margin: 0;
}

.comefareper .superfluidcontainer .moduletable.bg-white.col-md-6 {
    /*margin: 0 8px !important; */
    width: 49%;
}

.webradiotv .rigonesotto {
    display: block;
    width: 40%;
    height: 20px;
    position: absolute;
    bottom: 0;
}

.comefareper .moduletable>h3 {
    margin-bottom: 1.5rem;
}

.sfondocomefareper {
    bottom: 0%;
    z-index: -1;
    position: absolute;
    width: 100vw;
    left: 0;
    height: 50%;
}

.comefareper {
    margin-bottom: 20px;
}

#menuprincipale2022 li {
    margin: 0 1rem;
}

.menubandiavvisiright ul {
    padding: 0;
    margin: 0;
}

.nomesezione h2 {
    margin: 0;
}

.iconasezione {
    display: none;
}

.carousel-indicators {
    margin-bottom: 0rem;
}

.carousel img {
    max-height: 420px;
    min-height: 340px;
    object-fit: cover;
    height: 50vh;
}

.carousel-caption a {
    color: white;
}

.carousel-caption {
    background: #1d294bd1;
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    border-bottom: 5px solid;
    border-top: 5px solid;
}

.homebannercarousel .carousel-caption {
    border-color: var(--color-scuro1);
}

.carousel-indicators [data-bs-target] {
    margin-bottom: 1px;
    height: 6px;
}


/** sticky header */

#primoheader a.brand.pull-left:focus,
.scrolled #primoheader a.brand.pull-left:focus {
    height: auto !important;
}

#primoheader a.brand {
    height: auto !important;
    margin-bottom: -20px;
}

.scrolled #primoheader a {
    margin-bottom: -5%;
}

.container.containeruzzo {
    margin-top: 3rem;
}

.socialiconscontainer img {
    margin: 0 3px;
}

body>header.scrolled {
    top: 0;
    position: fixed;
    z-index: 1000;
    width: 100vw;
    background: #fff;
    /*  animation-name: scrolled;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;*/
}


/* The animation code */

@keyframes scrolled {
    from {
        margin-top: -100%;
    }
    to {
        margin-top: 0%;
    }
}

body>header.scrolled .containeruzzo {
    padding: 0px 180px 0 140px;
    margin-top: -54px;
}

body>header.scrolled .btn {
    line-height: 1rem;
}


/*
      #secondariga {
          margin-top: -56px;
      }*/

#secondarigadiv {
    align-items: center;
    justify-content: center;
}

body>header.scrolled #toolScuri {
    color: white !important;
}


/*
     body>header.scrolled #secondariga {
         margin-top: -70px;
     }*/

body>header.scrolled .bg-white {
    background-color: var(--color-scuro1) !important;
}

.logocanvas {
    width: 128px;
    height: auto;
}

.logoblack {
    max-height: 128px;
    min-height: 80px;
    width: 260px;
    height: 128px;
}

.logowhite {
    height: 64px;
    width: auto;
}

.footerlogo {
    max-width: 270px;
    height: auto;
}


/*
body>header.scrolled #secondariga {
    width: 90%;
}*/

body:not(.view-default) .topbars,
body.com_blankcomponent:not(.itemid-8220) .topbars,
body>header.scrolled #menuist,
#searchForm_submitWarn {
    display: none !important;
}

#menuist>div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

body>header.scrolled .logo {
    height: 64px;
}

body>header.scrolled #primoheader {
    padding: 0.5rem 0;
    min-height: 80px;
}

body>header.scrolled #primoheader div,
body>header.scrolled #primoheader div a,
body>header.scrolled .btn {
    color: #fff;
}

.pulsantihomenewsletterwebradio {
    font-family: "t-bold";
}

.pulsantihomenewsletterwebradio.tuttepagine img {
    width: 32px;
    height: 32px;
    margin-top: -10px;
}


/* WEBRADIO TV */

aside.group {
    overflow: unset !important;
}

.icon-webaradiotv::before {
    font-family: "icomoonfa" !important;
}


/*
.webradiotvalt img {
  max-width: 200px;
}

*/

.webradiotv .card,
.webradiotvalt .card,
.webradiotvalt.card {
    background-color: transparent !important;
}

.webradiotv h3,
.webradiotvalt h3 {
    margin-bottom: 0.5rem;
}

.imgwebradiomodule {
    width: 240px;
    min-height: 200px;
    height: 100%;
    object-fit: cover;
    max-height: 200px;
}

#triggerButtonmenupaginainternalaterale a {
    background: var(--color-scuro1);
    color: white;
    padding: 4px 10px;
    border-radius: 20px 20px 0px 0;
}

#triggerButtonmenupaginainternalaterale {
    padding: 0 10px;
}


/***/


/*
.scrolled .tendina {
    display: none !important;
}*/

.tendina {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 20px);
    max-width: 100vw;
    width: 100vw;
    border-radius: 0;
    margin-top: 15px !important;
    max-height: 80vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
}

.bg-white {
    background: white;
}

.bg-grey,
.bg-grigio {
    background: #f4f4f4 !important;
}

.bg-scuro1,
.bg-default {
    background: var(--color-scuro1);
    color: white;
}

.tendina .nav-child>li>div {
    box-shadow: 0px 3px 6px #868686 !important;
    padding: 0.5rem 1.5rem;
    height: 100%;
}

.shadow-sm {
    box-shadow: 0px 3px 6px #868686 !important;
}

.shadow-sm-bottom {
    box-shadow: 0px 9px 6px -7px #868686 !important;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: black;
    border-radius: 100px;
    border: 6px solid black;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    scale: 1.4;
}

.homebannercarousel article,
#carouselAccessoRapido {
    border: solid 30px;
    border-left: 0;
    border-right: 0;
    /*border-radius: 20px 0; */
}


/* header */

#distruggitore {
    background: white;
    position: relative;
    top: 20px;
}

#distruggitore:hover i {
    scale: 1.4;
    background: none;
}

#primoheader {
    padding: 1rem 0 2rem 0;
}

.nomesezione {
    font-family: "t-bold";
    /* text-transform: capitalize; 
    padding-bottom: 0.5rem;*/
}

#primoheader a {
    /* text-transform: capitalize; */
    display: inline-block;
}

#secondoheader .row>div {
    display: flex;
    align-items: center;
}

#secondoheader a {
    font-family: "t-semibold";
    /* text-transform: capitalize; */
    display: block;
    height: 100%;
    padding: 0.5rem;
}

#secondoheader a.icon-webaradiotv {
    font-family: "icomoon", "t-semibold" !important;
    line-height: 1.5rem;
}

.scrolled .sharebutton.btn,
.sharebutton {
    margin: 0;
    padding: 0;
    line-height: 4rem;
    color: var(--color-scuro1) !important;
}

.col-auto.fieldlabel {
    min-width: 200px;
}

.col-auto.foto img {
    height: auto;
    max-width: 100%;
    width: 300px;
    height: 300px !important;
    object-fit: cover;
}


/* top bars */

body:not(.view-default) .topbars {
    display: none;
}

.topbars li {
    list-style: none;
    /* 25px; */
    font-family: "t-bold";
}

.topbar li,
.topbar-l li,
.topbar-r li {
    margin: 1rem 0;
}

.topbar-l ul,
.topbar-r ul {
    margin-top: 2rem;
    padding: 0.5rem 1rem 0rem 1rem;
}

.topbar ul {
    column-count: 2;
    margin-top: 2rem;
    padding: 0;
}

.topbar,
.topbar-l,
.topbar-r {
    /* height: calc(100% + 10px); */
    height: 100%;
}

.menupaginainternalaterale .moduletable h2 {
    padding: 1rem 0;
    border-left: 0;
    border-bottom: 5px solid var(--color-scuro1);
    box-shadow: 0px 3px 6px #868686 !important;
}

.argomenti.moduletable h2 {
    border-left: 1.4rem solid var(--color-scuro1);
    height: 4rem;
    line-height: 4rem;
}

.desc-content h3,
.moduletable h2 {
    border-left: 12px solid var(--color-scuro1);
    padding-left: 0.5rem;
    /* text-transform: capitalize; */
}

article .description {
    line-height: 2.2rem;
}

.description li {
    list-style-type: disc;
    margin-top: 10px;
}

.description a {
    text-decoration: underline;
}

.description a:hover {
    font-family: "t-semibold";
}

.description .desc-content.field_created {
    text-align: right;
}

.desc-content h3 {
    margin: 3rem 0 1rem;
}

.h3argomenti {
    border-top: 1.4rem solid;
    padding: 10px;
    background-image: url(/templates/rl2022bs5/images/logo_rl_white.png);
    background-size: 80px;
    background-position: 10px center;
    background-repeat: no-repeat;
    padding-left: 58px;
    text-align: right;
    border-bottom: 3px dotted;
}

.desc-content img {
    max-width: 100%;
}

.bg-scuro1 h2 {
    border-color: #fff;
}

.bg-scuro1 li {
    background: #fff;
    margin: 0.5rem 0;
    padding: 0.5rem;
}

#footer li {
    background: none;
    margin: 0;
    padding: 0;
}

#footer ul {
    column-count: 2;
    display: block !important;
}

.offcanvas-header.bg-scuro1 a,
#footer a {
    color: white;
    font-family: "t-semibold";
    /* text-transform: capitalize; */
}

#notelegalifooter a {
    color: var(--color-scuro1);
    font-family: "t-semibold";
}

#notelegalifooter ul,
#notelegalifooter li {
    display: inline-block;
}

.footerparte1 {
    border-right: 2px solid white;
    margin-bottom: 0;
}

.nounderline:hover,
.nounderline {
    text-decoration: none !important;
    color: var(--color-scuro1);
}

#menupaginainternalaterale .nav-header {
    color: white;
}

#menupaginainternalaterale a {
    padding-left: 1rem;
}

#closeButton {
    color: white;
    font-size: 60px;
    line-height: 60px;
    right: 0;
    position: absolute;
    padding: 20px;
}

.inviacerca .fc_filter_html {
    display: inline;
}


/* OFFCANVAS */

.offcanvas-body .nav {
    height: 100%;
}

.offcanvas-body a {
    font-family: "t-semibold";
    margin: auto;
}

.offcanvas-body li {
    width: 100%;
    display: flex;
    flex-grow: 1;
}

.offcanvas-end {
    min-width: 400px;
    width: 600px;
}

#ModLastPagesViewed {
    position: relative;
    height: 100%;
    min-height: 50px;
}

#ModLastPagesViewed .text-end {
    position: absolute;
    bottom: 0;
    right: 0;
}

.fa-trash::before {
    content: "\f2ed" !important;
    font-size: 1.2rem;
}


/* FLEXICONTENT FIXES */

#mod_search_searchword-244::placeholder {
    color: #1d294b;
    font-style: italic;
}

#mod_search_searchword-244 {
    padding: 30px !important;
}

.fc_legend_text {
    display: none !important;
}

.fc_search_results_list a {
    display: inline-block;
    max-width: 94%;
    vertical-align: top;
}

.fc_field_filter {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: white;
    float: left;
}

#flexicontent .btn,
.btn {
    text-transform: uppercase;
    font-family: "t-bold";
}

#fc_alpha .fc_alpha_index {
    border-radius: 0 !important;
    border: 0 !important;
}

.input-group-text {
    border-radius: 0 !important;
    border: 0 !important;
    background: var(--color-scuro1) !important;
    color: white;
    line-height: 100%;
}

#fc_alpha .fc_alpha_index.current {
    background: var(--color-scuro1);
    color: white;
    font-family: "t-bold";
}

#username,
#password,
.fc_filter .fc_filter_html,
.fc_filter_line .fc_filter_html {
    width: 100%;
}

.flexicontent :not(.input-append):not(.input-prepend):not(.input-group)>select:not(.custom-select) {
    border-radius: 0;
    border: 4px solid #f4f4f4;
    background: #f4f4f4;
}

.flexi.infoblock {
    border: 0;
}

.flexi.lineinfo {
    margin: 0 0 0.5rem;
}

.tabbertab .flexi.element,
.subtitle1 .flexi.element,
.subtitle2 .flexi.element,
.subtitle3 .flexi.element {
    padding: 0 !important;
    margin: 0 !important;
}

#fc_filter_form_blocker,
.navbar-expand-xl {
    display: none;
}

.fc_filter_html.fc_text_search input.fc_text_filter {
    background-color: white;
    /*width: 400px;*/
    width: 100%;
    border: 0;
}

.news.fc-items-block .fc-item-block-standard-wrapper-innerbox {
    border-left: 10px solid;
}

.fc_text_filter {
    background: url("/templates/rl2022bs5/images/lentericerca.svg");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 20px);
    background-position-y: 50%;
    border: 1px solid var(--color-grigio);
}

.consigliere .fc_field_image {
    width: 100%;
    max-width: max-content;
}


/*
body.catid-86942 #flexicontent ul.introblock > li,
.catalogitem,
.fc_bloglist_item {
  padding: 10px 0px 10px 20px !important;
  border-left: 6px solid var(--color-scuro1);
  background: var(--color-grigiochiaro) !important;
  border-top: 0;
  position: relative;
  margin: 1% 0;
  border-top: 0 !important;
}

body.catid-86942 .fc_field_image {
  position: absolute;
  top: 0;
  right: 0%;
}

body.catid-86942 .fc_field_image {
  width: auto;
  height: 200px !important;
  margin: 4px;
}
*/

#flexicontent ul.leadingblock.two>li,
#flexicontent ul.introblock.two>li {
    width: 47.6%;
    margin: 1% !important;
}

.fccurrentTimeBox {
    opacity: 1 !important;
    margin-top: -8px !important;
}

div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_box div.fc_mediafile_audio_spectrum wave div.fccurrentTimeBox {
    width: auto !important;
    margin-top: -24px !important;
    padding: 0px 7px;
}

.news.fc-items-block .fc-item-block-standard-wrapper-innerbox {
    padding: 8px 12px;
    border: 1px solid;
    border-left: 4px solid;
    margin: 4px 4px;
    background-color: inherit;
}

div.fc_mediafile_player_box div.fc_mediafile_controls .btn {
    background: rgb(237, 29, 37);
}

div.fc_mediafile_player_box.fc_compact div.fc_mediafile_controls {
    display: block;
}

.btn.downloadBtn.fcfile_downloadFile i {
    color: white;
    line-height: 54px;
    height: 54px;
}

div.fc_mediafile_player_box.fc_compact div.fc_mediafile_controls .btn {
    color: white;
    line-height: 54px;
    height: 54px;
    padding-left: 6px;
}

.btn.pauseBtn.is_active {
    background-color: red !important;
    padding: 1px 0px 0px 0px !important;
}

.btn.downloadBtn.fcfile_downloadFile {
    background: var(--color-scuro1) !important;
    font-family: "t-regular" !important;
    display: block !important;
    min-width: 150px;
}

.fc_mediafile_controls .btn {
    background: var(--color-scuro1) !important;
}

.fcfile_downloadFile {
    padding: 0 0 0 4px !important;
}

div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_progressbar {
    top: 35px !important;
    z-index: 500;
}

div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_progressbar div.barText {
    background-color: var(--color-chiaro);
}

.news.fc-items-block.standard-block,
.fc_filter {
    padding: 0;
    margin: 0;
}

#flexicontent .btn-group .btn,
#flexicontent .fc-xpended>div,
#flexicontent .fc-xpended-row>div,
#flexicontent .fc-xpended .input-group-text,
#flexicontent .fc-xpended-row .input-group-text,
#flexicontent .fc-xpended .add-on,
#flexicontent .fc-xpended-row .add-on {
    border-radius: 0;
}

fieldset.fc_search_set,
fieldset.fc_filter_set {
    padding: 1% 0;
}

#flexicontent .lineinfo {
    clear: none;
}

.onecols .flexi.value {
    width: 99%;
}

.flexicontent :not(.input-append):not(.input-prepend):not(.input-group)>select:not(.custom-select) {
    border-radius: 0;
}

#flexicontent .item_total {
    padding: 18px 0 0 0;
    width: auto !important;
}

#ticketallerta.verde {
    border-color: green !important;
}

#ticketallerta.gialla,
#ticketallerta.giallo {
    border-color: yellow !important;
}

#ticketallerta.rosso {
    border-color: red !important;
}


/* *** *** *** *** *** *** *** *** *** *** RESPONSIVE *** *** *** *** *** *** *** *** *** *** */


/* Small devices (landscape phones, 576px and up) */

@media (max-width: 576px) {
    .nomesezione h2 {
        font-size: 30px;
        padding-left: 0.5rem;
    }
    .scrolled .sharebutton.btn,
    .sharebutton {
        line-height: 2.5rem;
    }
    #sharebuttonbox {
        margin-top: -40px;
    }
}

@media (max-width: 480px) {
    .nomesezione h2 {
        font-size: 20px;
        padding-left: 0.5rem;
    }
    #secondoheader a {
        padding: 0.2rem !important;
    }
    #secondoheader a,
    header nav a {
        font-size: calc(10px + 0.3vw) !important;
    }
    .menuorizz li {
        margin: auto;
    }
    .sharebutton,
    .icon-webaradiotv {
        font-size: 20px;
    }
    #secondoheader .row>div {
        padding: 0 !important;
    }
}


/* Medium devices (tablets, 768px and up) */

@media (max-width: 768px) {
    body>header.scrolled #toolChiari {
        position: absolute;
        right: 0;
        margin: 0px;
    }
    body>header.scrolled .containeruzzo {
        padding: 0 0 0 140px;
    }
    body .flexi.infoblock {
        padding: 0 !important;
    }
    div.fc_mediafile_player_box.fc_compact div.fc_mediafile_audio_spectrum_box_outer,
    div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_box {
        margin: 0 2vw 0 0;
        width: 90vw !important;
    }
    .topbar ul {
        column-count: 1;
    }
    #closeButton {
        color: white;
        font-size: 30px;
        line-height: 30px;
    }
    #searchdiv .fc_filter_html.fc_text_search input.fc_text_filter {
        min-height: 0;
    }
    #menuprincipale2022,
    #menuprincipale2022 li {
        margin: 0 2px !important;
    }
    .container.containeruzzo {
        margin-top: 1rem;
    }
    #primoheader {
        padding: 1rem 0 1rem 0;
    }
    .fc_text_filter {
        background: none;
    }
    .sharebutton,
    .icon-webaradiotv::before {
        font-size: calc(16px + 1vw);
    }
    #secondoheader .icon-webaradiotv {
        max-width: 52px;
        overflow: hidden;
        height: 40px !important;
        position: relative;
        left: -4px;
        color: white;
    }
    #secondoheader .icon-webaradiotv:hover {
        color: white !important;
    }
    .footerparte1 {
        border-right: 0;
        border-bottom: 2px solid white;
        margin-bottom: 10px;
    }
    body>header.scrolled .containeruzzo {
        margin-top: 0;
        padding-left: 0;
    }
    body>header.scrolled #menuprincipale2022 {
        width: 100%;
        margin: 0 auto;
        padding: 0 0.75rem 0 1.5rem;
    }
    /*
    .tendina {
        margin-top: 50px !important;
    }
    */
    /*
    body>header.scrolled #secondarigadiv {
        padding: 0 2rem;
    }*/
}


/* Large devices (desktops, 992px and up)*/

@media (max-width: 992px) {
    #secondariga {
        display: block;
        padding: 0px 4px !important;
    }
    #searchdiv .fc_filter_html.fc_text_search input.fc_text_filter {
        font-size: 16px !important;
    }
    #menupaginainternalaterale {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
        border: 1rem white solid;
        box-shadow: 0px 3px 6px #868686 !important;
        top: -18px;
        border-radius: 0px 20px 20px 20px;
        margin: auto;
        width: 96%;
    }
    .menupaginainternalaterale .moduletable h2 {
        box-shadow: none !important;
    }
    #menupaginainternalaterale::before {
        display: none;
    }
    #secondariga {
        margin-top: 0px;
    }
    .logowhite {
        height: 44px;
    }
    #menuprincipale2022 {
        justify-content: space-between;
        display: flex;
    }
    #menuprincipale2022 li {
        margin: 0 1rem;
    }
    #secondarigadiv>nav {
        width: 100%;
    }
    body>header.scrolled #secondariga {
        margin-top: 0;
    }
    /*
    .tendina {
        margin-top: 70px !important;
    }
    */
}


/* X-Large devices (large desktops, 1200px and up)*/

@media (max-width: 1200px) {}


/* XX-Large devices (larger desktops, 1400px and up)*/

@media (max-width: 1400px) {
    body,
    div.fc_mediafile_player_box div.fc_mediafile_audio_spectrum_progressbar div.barText {
        font-size: 1rem !important;
    }
    #toolChiari .btn,
    #toolScuri .btn {
        font-size: calc(18px + 1vw);
    }
    #searchdiv .fc_filter_html.fc_text_search input.fc_text_filter,
    h1 {
        font-size: calc(22px + 1vw);
    }
    .scrolled #searchdiv .fc_filter_html.fc_text_search input.fc_text_filter,
    h3 {
        font-size: calc(16px + 1vw);
    }
    .pulsantihomenewsletterwebradio {
        font-size: calc(16px + 1vw);
    }
    h2,
    #menupaginainternalaterale li {
        font-size: calc(16px + 1vw);
    }
    #secondoheader a,
    header nav a {
        font-size: calc(11px + 0.7vw);
    }
    .nomesezione,
    /*.btn.downloadBtn.fcfile_downloadFile i,
    div.fc_mediafile_player_box.fc_compact div.fc_mediafile_controls .btn,*/
    .offcanvas-body a,
    .sharebutton {
        font-size: calc(12px + 1vw);
    }
    .topbars li {
        font-size: 1.15rem;
    }
    .fc_filter_html.fc_text_search input.fc_text_filter {
        font-size: 1.25rem;
    }
    #notelegalifooter a,
    .btn.downloadBtn.fcfile_downloadFile {
        font-size: 16px !important;
    }
    .fc_field_filter label,
    .flexicontent .fc_field_filter {
        font-size: 1rem;
    }
}




/*** p.conc. ***/
input.fc_text_filter {
    border: 1px solid lightgray !important;
    padding: 10px !important;
    /*margin: 10px !important;*/
}

.fc_buttons button.btn-primary, input.fc_text_filter {
    margin: 10px !important;
}

#flexicontent .item_total {
    /*padding: 18px 0 0 0;*/
    padding: 18px 0;
    width: auto !important;
}