@import "bootstrap-italia-comuni.min.css";
@import "style.css";
@media(min-width:576px) {}
@media(min-width:768px) {}
@media(min-width:992px) {}
@media(min-width:1200px) {}

@media(max-width:575.8px) {}
@media(max-width:767.8px) {}
@media(max-width:991.8px) {}

* {text-underline-offset: 0.2em!important;}

:root {
    --swiper-theme-color:var(--second)!important;
    --swiper-navigation-size:24px!important;
}

#nav-login {
    position:fixed;
    right:0;
    top:0;
    z-index:9;
}

.topbar-breakingnews {
    width:100%;
}

.it-header-navbar-wrapper {border-top: solid 1px rgba(0,0,0,0.1);}
.it-header-navbar-wrapper .navbar a {font-size:16px;}

.it-header-navbar-sub {
    background-color:var(--first);
    border-bottom:solid 1px rgba(255,255,255,0.05);
}

body.sticky .it-header-navbar-sub {
    background-color: rgba(79, 19, 68, 0.7);
    backdrop-filter:blur(8px);
}

.it-header-navbar-sub ul {
    display:flex;
    flex-flow:row wrap;
    justify-content:space-between;
    padding:8px;
}

.it-header-navbar-sub ul li {width:25%;}

.it-header-navbar-sub ul.col li {width:auto;}

.it-header-navbar-sub ul li a {
    display:flex;
    flex-direction:row;
    align-items:center;
    text-align:center;
    line-height:1em;
    text-decoration:none;
    color:#FFF;
    padding:8px 24px;
    font-size:16px;
    gap:10px;
    transition:all 200ms;
}

.it-header-navbar-sub ul.col li a {flex-direction:column;justify-content:center;}

.it-header-navbar-sub ul li a:hover,
.it-header-navbar-sub ul li a:hover svg path {
    color:var(--third);
    fill:var(--third);
    transition:all 200ms;
}

.it-header-navbar-sub ul li a span.icon {
    transform:scale(0.8);
    transition:all 200ms;
}
.it-header-navbar-sub ul li a:hover span.icon {
    transform:scale(1);
    transition:all 200ms;
}

.it-header-navbar-sub ul li a span.icon {
    display:flex;
    align-items:center;
    justify-content:center;
    height:24px;
    width:32px;
    font-size: 2.6em;
}

.it-header-navbar-sub ul li a span.icon svg {
    height:100%;
    width:auto;
}

.it-header-navbar-sub ul li a svg path {
    fill:#FFF;
}

.subnav svg.icon{
    width: 21px;
    height: 28px;
    transform:scale(1);
    transition:all 200ms;
}
.subnav li:hover svg.icon{
    transform:scale(1.1);
    transition:all 200ms;
}
.subnav .label {
    line-height: 1.4em;
}
.subnav{
    justify-content:space-between!important; 
}
@media only screen and (max-width:1399px) {
    .subnav li {
        width: 25%!important;
        line-height: 1.4em;
    }

    .subnav {
        justify-content:left!important;  
    }
}

.mappa-breme{
    box-shadow: 0 0 8px 4px rgb(206, 206, 206);
    transition: 0.3s;
    width: 90%;
    overflow: hidden;
}
.mappa-breme:hover{
    transform: scale(1.05);
}

.map-container {
    width: 100%;
	height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	position: relative;
	overflow: hidden;
    filter:saturate(0.8);
}

.map-container iframe {
    width: calc(100% + 100px);
	height: calc(100% + 20px);
	margin: 0;
	border: 0;
	position: absolute;
	left: -48px;
	right: -48px;
	bottom: -20px;
}

/* 
body.sticky .it-header-wrapper {
    position:fixed;
    top:0;
    left:0;
    width:100%;
} */
.log-label{
    display: none;
}
@media only screen and (min-width: 1668px) {
    .log-label{
        display: block;
    }
}
@media only screen and (max-width: 1250px) {
    .it-brand-wrapper img{
        padding-left: 20px!important;
        margin-right: 12px;
    }
}
@media only screen and (max-width: 1199px) {
    .it-brand-wrapper img{
        padding-left: 10px!important;
        margin-right: 12px;
    }
}

.var-height{
    height:80px!important;
}


@media only screen and (min-width: 767px) {
    .var-height{
        height:48px!important;
    }
}

.height-80{
    height:80px!important;
}

body.sticky .it-nav-wrapper {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index: 200!important;
}
.it-header-wrapper {
    position: relative;
    z-index: 200!important;
}
@media only screen and (max-height: 500px) and (min-width: 992px){
    body.sticky .it-nav-wrapper {
        position:static;
        top:unset;
        left:unset;
    }

    .it-header-center-wrapper {
        position:fixed;
        top:0;
        left:0;
        width:100%;
        z-index: 400;
    }

}
@media only screen and (max-height: 800px) and (min-width: 992px){
    .it-header-navbar-sub{
        display: none!important;
    }  
}
.splide__arrows{
    z-index: 1 !important;
}
/* body.sticky .it-nav-wrapper .it-header-center-wrapper {display:none;} */


body.sticky .it-nav-wrapper .it-header-navbar-wrapper {
    width:100%;
}

body.sticky .it-nav-wrapper .it-header-navbar-wrapper ul.navbar-nav {
    justify-content:space-around!important;
    width:100%!important;
}
body.sticky .it-nav-wrapper .it-header-navbar-wrapper ul.navbar-nav li a {
    margin:0!important;
    padding:12px 20px!important;
    border:none!important;
}


.color-first{
    color: var(--first);
}
.color-second{
    color: var(--second);
}
.color-third{
    color: var(--third);
}
.bg-first{
    background-color: var(--first);
}
.bg-second{
    background-color: var(--second);
}
.bg-third{
    background-color: var(--third);
}

.homeCards {padding: 0 !important;margin: 0 auto;}
.homeCards a:hover {text-decoration:none!important;}
.homeCards h3 {font-size:1.3rem;}

.homeCards .card .icon-background svg {width:100%;height:100%;}


.cat-pills {padding:18px 0;text-align:center;}
.cat-pills ul {margin-bottom:1.2rem;}

.hero-cards {
    margin-top:-100px;
    position:relative;
    z-index:4;
}

@media only screen and (max-width:567px) {
    .hero-cards {
        margin-top: -35px;
    }
}

.hero-cards .card {
    position:relative;
    overflow:hidden;
    padding:24px 18px 0 18px;
}

/* .hero-cards .card .card-body {}

.hero-cards .card a.read-more {position:relative;} */

.hero-cards .card .icon-background {
    position:absolute;
    top:-15%;
    right:-10%;
    width:70%;
    height:auto;
    z-index:0;
    opacity:.03;
    pointer-events:none;
}
.icon-background-2 {
    position:absolute;
    top:-40%;
    right:-30%;
    width:70%;
    height:auto;
    z-index:0;
    opacity:.05;
    pointer-events:none;
}
.card-evidenza-cat{
    overflow: hidden;
}
.cont-card-title-amm{
    position:absolute;
    top:0;
    right:0;
    z-index: 2;
}

.hero-cards .card .icon-background svg {width:100%;height:auto;}

.hero-cards .card .card-icon {
    display:flex;
    position:relative;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    border-radius:50%;
    background:#EFEFEF;
    margin-bottom:1em;
    padding:12px;
    color:#3d4a57;
}

.hero-cards .card .card-icon svg {
    width:100%;
    height:100%;
}

.hero-cards .card .card-title {
    font-size:18px;
    text-align:left;
}

.hero-cards .card .link-list-wrapper {
    margin:0!important;
}

.hero-cards .card ul {
    display:flex;
    flex-direction:column;
}

.hero-cards .card ul > li {
    border-bottom:solid 1px rgba(0,0,0,0.1);
}

.hero-cards .card ul a {
    text-decoration:none;
    color:#333;
    font-weight:600;
    line-height:2em;
    font-size:16px;
    margin:0;
    padding:8px 0!important;
}

.hero-cards .card ul a:hover span {
    color:var(--second)!important;
}

.hero-cards a.read-more {
    width: 100%;
    background: var(--second);
    margin: 0;
    left: 0;
    bottom: 0;
    height:48px;
    padding:0;
    line-height:1em;
    color: #FFF;
    text-align: center;
    justify-content: center;
    gap:8px;
}

.hero-cards a.read-more svg path {fill:#FFF;}

@media only screen and (min-width:768px) {
    .hero-cards .card .card-icon {
        position:absolute;
        top:12px;
        left:12px;
    }

    .hero-cards .card .card-title {
        font-size:24px;
        text-align:right;
    }
}

.section-spaced {
    padding:64px 0;
}

.square-cards-deck .card {margin:0;}

/* HOME TAB SLIDER */
.home-tab-slider .slider-controls {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    width:100%;
}

.home-tab-slider .controls-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.home-tab-slider .controls-inner > * {position:relative!important;left:unset!important;top:unset!important;right:unset!important;bottom:unset!important;margin:0!important;}


/* EVENTI */
.upcoming-events {
    padding:120px 0 80px 0;
}
.upcoming-events .it-header-block-title {
    text-align:left;
    font-size:21px;
    padding:48px 32px 64px 32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.upcoming-events ul.events-row {
    display:flex;
    gap:24px;
    padding:0 1em;
}
.upcoming-events ul.events-row {
    margin-top:-32px;
}

.upcoming-events ul.events-row li {
    width:100%;
    padding:0 .5em;
}

.upcoming-events .card::before,
.upcoming-events .card::after {display:none;}

.upcoming-events .card .event-date {
    display:flex;
    align-items:center;
    gap:20px;
    padding:24px;
    border-bottom:solid 1px rgba(0,0,0,0.2);
    width:100%;
}
.upcoming-events .card .event-num {
    width:40%;
}
.upcoming-events .card .event-num > span {
    font-size:64px;
    font-weight:900;
    line-height:1em;
    color: var(--first);
}
.upcoming-events .card .event-md {
    width:60%;
}
.upcoming-events .card .event-md > p.event-month {
    font-size:16px;
    font-weight:300;
    margin:0;
    line-height:1em;
    margin-bottom:8px;
    text-transform:uppercase;
    color: var(--third);
    text-align:right;
}
.upcoming-events .card .event-md > p.event-day {
    font-size:28px;
    font-weight:300;
    margin:0;
    line-height:1em;
    text-align:right;
}

.upcoming-events .card .card-image img {
    width:100%;
    height:240px;
    object-fit:cover;
    object-position:center;
}

.upcoming-events .card .card-body a {
    font-size:32px;
    font-weight:700;
}

/* ####### BANDI E GARE ####### */
.sito-tematico{
    font-size: 1.4em;
}
.bord_ttl_bandi{
    border-bottom: 4px solid var(--second);
}
.cont_bando{
    color: var(--second);
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(209, 209, 209);
    box-shadow: 1px 1px 1px rgb(173, 173, 173);
    

}
.anchor_bando{
    text-decoration: none;
}
.anchor_linkUtili{
    text-decoration: none;
    min-height: 132px;
}
@media only screen and (max-width: 991px) {
    .anchor_linkUtili {
        text-decoration: none;
        min-height: 131px;
    } 
}
.anchor_linkUtili h4{
    font-size: 1.2em!important;
}
.anchor_linkUtili p{
    margin-bottom: 4px
    ;
    font-size: 1em!important;
}

.input-area{
    background-color: white;
    border-radius: 5px !important;
    border: 1px solid rgb(209, 209, 209) !important;
    padding: 12px;
}

.accordion-body{
    border-radius: 0px 0px 5px 5px !important;
    border-bottom: 1px solid var(--second) !important;
    border-right: 1px solid var(--second) !important;
    border-left: 1px solid var(--second) !important;
    padding-bottom: 20px!important;
}

.accordion-button{
    padding: 20px 10px!important;
}
.accordion-header{
    border-radius: 5px 5px 0px 0px !important;
    border-top: 1px solid var(--second) !important;
    border-right: 1px solid var(--second) !important;
    border-left: 1px solid var(--second) !important;
    border-bottom: 1px solid var(--second);
}
.show h2 {
    border-bottom: none !important;
}
/* .bord-bottom{
    border: 1px solid var(--second)!important;
    border-radius: 5px 5px 5px 5px !important;
} */
.accordion{
    border-bottom: none!important;
    outline: none!important;
}

.charSpace1{
    letter-spacing: 1px;
}
.charSpace2{
    letter-spacing: 2px;
}

#arrowUp-filter{
    transition: 0.3s;
}
.trans180{
    transform: rotate(0.5turn);
}

.accordion-header .accordion-button:hover {
    background: none;
    text-decoration: none!important;
}


.accordion-body button:hover{
    background-color: var(--third);
 }
.accordion-body button:focus-visible{
background-color: var(--third);
}
.accordion-body button:focus{
    border: 3px solid var(--second)!important;
    box-shadow: 0 0 0 3px var(--second) !important;
 }

.accordion-body button:active{
    border: 3px solid var(--second)!important;
    background-color: var(--third)!important;
 }

#selNumItemPage{
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px 10px;
}

.btn-pag-select{
    border: 2px solid var(--third);
    background-color: var(--third);
    color: white;
    transition: 0.3s;
}
.btn-pag-select:hover{
    border: 2px solid var(--third);
    background-color: var(--third);
    color: white;
}

.btn-pagination{
    border: 2px solid var(--second);
    background-color: transparent;
    color: var(--second);
    transition: 0.3s;
}
.btn-pagination:hover{
    border: 2px solid var(--second);
    background-color: var(--second);
    color: white;
}
.btn-pagination-10{
    border: 2px solid var(--first);
    background-color: transparent;
    color: var(--first);
    transition: 0.3s;
}
.btn-pagination-10:hover{
    border: 2px solid var(--first);
    background-color: var(--first);
    color: white;
}
.btn-page{
    border: 2px solid var(--second);
    background-color: var(--second);
    color: white;
    transition: 0.3s  ;
}
.btn-page:hover{
    border: 2px solid var(--first);
    background-color: var(--first);
    color: white;
}
.btn-base{
    padding: 5px 20px;
    border-radius: 5px;
}


/* ####### FINE BANDI E GARE ####### */

/* ####### Amministrazione ####### */

table{
    max-width: 100%!important;
    hyphens: auto;
  
  }

  table td, table th, table tr, table{
    line-height: 1.3em;
    height: auto !important;
    width: auto !important;
    min-width: 100px ;
  }
#AmmComunale {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
  border-radius: 6px 6px 0px 0px;
  overflow: hidden;
  width: 100% !important;
  margin: 0 auto;
  position: relative;
  margin-bottom: 50px;
  margin-top: 30px;
 
}
#AmmComunale tbody tr:first-child{
    color: white;
    background: var(--second);
}
#AmmComunale td{
    padding-top: 8px;
    padding-bottom: 8px;
}
#AmmComunale * {
  position: relative;
}
#AmmComunale td,
#AmmComunale th {
  padding-left: 8px;
}
#AmmComunale thead tr {
  height: 60px;
  font-size: 16px;
}
#AmmComunale tbody tr {
  height: 48px;
  border-bottom: 1px solid var(--second);
}

#AmmComunale td,
#AmmComunale th {
  text-align: left;
}
#AmmComunale td.l,
#AmmComunale th.l {
  text-align: right;
}
#AmmComunale td.c,
#AmmComunale th.c {
  text-align: center;
}
#AmmComunale td.r,
#AmmComunale th.r {
  text-align: center;
}




#IncarichiConsulenze {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
  border-radius: 6px 6px 0px 0px;
  overflow: hidden;
  width: 100%!important;
  margin: 0 auto;
  position: relative;
  margin-bottom: 50px;
  margin-top: 30px;
  font-size: 0.8em;
}
#IncarichiConsulenze * {
  position: relative;
}
#IncarichiConsulenze tbody tr:first-child{
    color: white;
    background: var(--second);
}

#IncarichiConsulenze td{
  padding-top: 10px;
  padding-bottom: 10px;
}
#IncarichiConsulenze td, #IncarichiConsulenze th {
  padding-left: 8px;
}
#IncarichiConsulenze thead tr {
  height: 60px;
  background: #FFED86;
  font-size: 16px;
}
#IncarichiConsulenze tbody tr {
  height: 48px;
  border-bottom: 1px solid var(--second);
}

#IncarichiConsulenze td, #IncarichiConsulenze th {
  text-align: left;
}
#IncarichiConsulenze td.l, #IncarichiConsulenze th.l {
  text-align: right;
}
#IncarichiConsulenze td.c, #IncarichiConsulenze th.c {
  text-align: center;
}
#IncarichiConsulenze td.r, #IncarichiConsulenze th.r {
  text-align: center;
}

@media screen and (max-width: 1200px) {
    #IncarichiConsulenze tbody tr:first-child{
    display: none;
}
  #IncarichiConsulenze {
    display: block;
    border-radius: 0px;
  }
  #IncarichiConsulenze > *, #IncarichiConsulenze tr, #IncarichiConsulenze td, #IncarichiConsulenze th {
    display: block;
  }
  #IncarichiConsulenze thead {
    display: none;
  }
  #IncarichiConsulenze tbody tr {
    height: auto;
    padding: 8px 0;
  }
  #IncarichiConsulenze tbody tr td {
    padding-left: 45%;
    margin-bottom: 12px;
  }
  #IncarichiConsulenze tbody tr td:last-child {
    margin-bottom: 0;
  }
  #IncarichiConsulenze tbody tr td:before {
    position: absolute;
    font-weight: 700;
    width: 40%;
    left: 10px;
    top: 0;
  }
  #IncarichiConsulenze {
    border-top: 1px solid var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(1):before {
    content: "Area di Riferimento";
    color: var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(2):before {
    content: "Provvedimento Autorizzativo";
    color: var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(3):before {
    content: "Oggetto";
    color: var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(4):before {
    content: "Importo";
    color: var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(5):before {
    content: "Nominativo";
    color: var(--first);
  }
  #IncarichiConsulenze tbody tr td:nth-child(6):before {
    content: "Note";
    color: var(--first);
  }
}


/* ####### FINE PAG DETTAGLIO BANDO ####### */

/* ####### LAYOUT EVENTI ####### */
.card-contimg-events{
    overflow: hidden;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-contimg-events img{
    object-fit: cover;
    object-position: center;
    width: 100%;
}
@media(max-width:767.8px) {
    .card-contimg-events img{
        width: 100%;
    }
}

.card-events{
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 2px 2px 10px grey;
    transition: 0.3s;
}
.bg-white{
    background-color: white;
}
.cont-titleCard{
    overflow: hidden;
    height: 70px;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
    

.cont-textCard{
    overflow: hidden;
    height: 60px;
    margin-bottom: 10px;
    
}
.cont-textCard p{
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cont-textCard a{
 display: none;
}
.card-events:hover{
    transform: scale(1.05);
   
}


/* ####### LAYOUT SINGOLO ATICOLO ####### */

.article-start{
    height: 30vh;
    overflow: hidden;
}
.article-start h1{
    z-index: 30;
} 
.article-start h2{
    z-index: 30;
} 
.article-start::after{
    box-sizing: border-box;
    content:'';
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
  }


  .cont-title{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
   .cont-title > h1, .cont-title > h2 {
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  }
  .img-sfondo{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 57%;
  }

.pagination{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.previous{
    background-color: var(--third)!important;
    margin-right: 8px;
    transition: 0.3s;
}

.next{
    background-color: var(--third)!important;
    margin-left: 8px;
    transition: 0.3s;
}
.previous:hover, .next:hover{
    opacity: 0.75;
}


.round-start-cust{
    border-radius: 3px 0px 0px 3px !important;
}

    .awesomplete > ul {
    border-radius: 0.3em;
    margin: 0.2em 0 0;
    background: white;
    border: 1px solid rgba(0,0,0,.3);
    box-shadow: 0.05em 0.2em 0.6em rgba(0,0,0,.2);
    text-shadow: none;
    z-index: 200;
    color: rgb(50,50,50)
}
.awesomplete > ul li:hover {
    background: rgb(234, 234, 234) !important;
    border-radius: 3px;
}

.mark, mark {
    padding: 0.1875em;
    background-color: var(--third)!important;
    color: white;
}



.com-finder a{
    text-decoration: none;
}
.com-finder cite{
    color: var(--first);
}

.searched-item-img{
    width: 700px;
    height: auto;
}

.searched-item-cont{
    width: 100%;
    aspect-ratio: 2/2;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content:center;
    align-items: center;
    border: 1px solid rgb(192, 192, 192);

}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .searched-item-cont{
        margin: 30px 0px;
    }
}

@media only screen and (min-width: 420px) and (max-width: 767px) {
    .searched-item-cont{
        width: 70%;
    }
   
}
.btn-search{
    border-radius: 5px 0px 0px 5px!important;
    color: white;
}
.adv-search{
    border-radius: 0px 5px 5px 0px;
}
.fs-search{
    font-size: 2rem!important;
}
.btn-search-big{
    color: var(--second);
    padding-right: 20px;
}

.input[type=text]{
    border: none!important;
    font-weight: 300;
}
.clean-input{
    display: none;
}
.awesomplete{
    width: 100%!important;
}
.main-search-input{
    width: 100%;
    border-bottom: 1px solid grey!important;
}
.btn-primary:hover {
    background-color: var(--third);
    color: #fff;
    border-color: var(--third);
}
.btn-primary:active {
    background-color: var(--third)!important;
    color: #fff;
    border-color: var(--third)!important;
}


@media only screen and (max-width: 767px) {
    .main-search-input{
        min-width: 300px;
    }
    .btn-search-big{
        padding: 0px;
    }
    .fs-search{
        font-size: 1rem!important;
    }
}

.introtxt img{
    width: 100%!important;
    height: auto;
    margin: 20px 0px;
}

.fulltxt img{
    width: 100%!important;
    height: auto;
    padding: 20px 0px;
}

/* Sezione Amministrazione home */

.sezione-amm{
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url('/images/categorie/amminstrazione-copertina.jpg');
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-size: cover;
}
.cont-textCard-3{

        overflow: hidden;
        height: 85px;
        hyphens: auto;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        z-index: 100;
}
@media screen and (max-width: 575px) {
    .cont-textCard-3{
    height: 74px;
    } 
}


   .card-amm {
       display: block;
       width: 100%;
       height: 250px;
       padding: 16px 12px;
       border-radius: 8px;
       box-shadow: 0 0 8px rgb(175,175,175);
       transition: 0.3s;
       overflow: hidden;
    }
    .card-amm:hover {
       transform: scale(1.05);
    }

    .card-amm a{
        text-decoration: none;
        position: relative;
        height: 100%;
    }


@media screen and (min-width: 992px) {
   .card-amm {
       width: 30%;
       height: 400px;
    }

}

.card-amm a .icon-background {
    position: absolute;
    bottom: -20%;
    left: 0;
    width: 100%;
    display: flex;
    opacity: 0.3;
    Justify-content: center;
    pointer-events: none;
    overflow: hidden;
}
@media screen and (max-width: 1399px) and (min-width: 992px){
    .card-amm a .icon-background {
        bottom: -15%;
    }
 
 }
@media screen and (max-width: 991px) {
    .card-amm a .icon-background {
        display: none
    }
 
 }
.card-amm a .icon-background svg{
    width: 70%;
    height: auto;
    transition: 0.3s;
    fill: rgb(190,190,190);
    z-index:0
}
.card-amm:hover a .icon-background svg{
    fill: var(--first);
}



/* Semplice accordion Custom || STILE */
.accordion-cust{
    border-radius: 5px;
    overflow: hidden;
    border: 0.5px solid rgb(202, 202, 202);
    padding: 14px 18px;
    margin: 30px 0px;
}

.bodyAcc{
    display: none;
    font-size: 1.2em;
}

.showBodyAcc{
    display: block!important;
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
}
.trans180{
    transition: 0.5s;
}
.trans0{
    transform: rotate(0turn);
    transition: 0.5s;
}


@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}

/* FINE Semplice accordion Custom  */



/* #### MODAL INDEX SEARCH #### */
#body {

    position: relative;
  
  }
    .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    min-height: 250px;
    position: absolute;
    z-index: 1001;
    top: 0;
    background: transparent;
    
  }
  .modal-content{
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    padding: 1.3rem;
    width: 90%;
    height: 400px;
  }
  .modal-search{
    height: 300px;
    display: flex;
    align-items: center;
    padding-bottom: 100px;
    
  }

  @media screen and (max-width: 767px) {
    .modal-content{
        height: 100vh;
        width: 100%;
        border-radius: 0px;
        border:none
      }
      .modal-search{
        height: 95vh;
        align-items: start;
        
      } 
      .container-search{
        padding-top: 80px;
      }
    }
  
  .modal .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .modal .fs-search input {
    border-radius: 5px;
    font-size: 0.9em;
  }
  
  .modal p {
    font-size: 0.9rem;
    color: #777;
    margin: 0.4rem 0 0.2rem;
  }
  
  button {
    cursor: pointer;
    border: none;
    font-weight: 600;
  }
  
  .btn-modal {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    background-color: black;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
  }
  
  .btn-modal-search{
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    color: var(--first);
    height: 65px;
    width: 65px;
    border-radius: 50%;
    font-size: 1.3em;
    border: 2px solid var(--first);
  }
  @media screen and (max-width: 767px) {
    .btn-modal-search{    
        height: 50px;
        width: 50px;
      }
    }
  
  .btn-open {
    position: absolute;
    bottom: 150px;
  }
  
  .btn-close {
    transform: translate(10px, -10px);
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.4em;
    background: var(--first);
    border-radius: 50%;
  }
  
  .overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
  }
  
  .hidden {
    display: none;
  }




/* FORM Appuntamenti */
.formResponsive input[type=email], .formResponsive input[type=number], .formResponsive input[type=password],
.formResponsive input[type=tel], .formResponsive input[type=text], .formResponsive input[type=url] {
     box-sizing: border-box!important;
}

.formResponsive select, .formResponsive textarea{
    box-sizing: border-box!important;
    height: auto!important;
}

.formBody #motivazioniAppuntamento{
    width: 100%;
    padding: 12px;
}
.formBody .rsform-select-box{
    width: 100%;
    border-radius: 4px;
    border-color: rgb(196, 195, 195);
}

input {
    padding: 17px 8px !important;
    width: 100%!important;
}
select{
    padding: 12px 8px !important;
}
.moduletable h3{
    display: none;
}
.clean-input > svg {
display: none;}
.clean-input{
  position: relative;
  width: 80px !important;
  height: 22px;
  display: block !important;
}
.clean-input::after{
  content: "Svuota";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

.rsform-submit-button{
    background-color: var(--second)!important;
    border-color: var(--second)!important;
    padding: 16px 14px 16px 14px!important;
    font-size: 1.1em!important;
    transition: 0.3s!important;
    margin-right: 32px;
    margin-bottom: 28px!important;
    text-shadow: none!important;
}
.rsform-submit-button:hover{
    background-color: var(--first)!important;
    border-color: var(--first)!important;
}

.rsform-reset-button{
    background-color: rgb(179, 179, 179) !important;
    border-color: rgb(179, 179, 179) !important;
    padding: 16px 14px 16px 14px!important;
    font-size: 1.1em!important;
    transition: 0.3s!important;
    margin-bottom: 28px!important;
    text-shadow: none!important;
}
.rsform-reset-button:hover{
    background-color: rgb(81, 81, 81)!important;
    border-color: rgb(81, 81, 81)!important;
}

#captchaAppuntamenti{
    margin-bottom: 32px;
}
.rsform-thankyou-button{
    color: white!important;
    text-shadow: none!important;
}

@media screen and (max-width: 575px) {
    .rsform-reset-button, .rsform-submit-button{
        width: 100%!important;
    }
    .rsform-reset-button {
        margin-bottom: 2px!important;
    }
 
 }


/* form segnalazione disservizi */
#mediaAllegatiDiss{
    height: auto!important;
    width: 100%;
}

.rsfp-field-multiple-plus{
    background: rgb(244, 244, 244);
    border-radius: 6px;
    margin: 20px 0 20px 0;
}
.rsfp-field-multiple-plus-button{
    background-color: var(--second)!important;
    border-color: var(--second)!important;
    border-radius: 50%!important;
    padding: 16px !important;
    color: white!important;
    font-size: 1.1em!important;
    transition: 0.3s!important;
    text-shadow: none!important;
    text-align: center!important;
}
.rsfp-field-multiple-plus-button:hover{
    background-color: var(--first)!important;
    border-color: var(--first)!important;
}

#captchaDiss{
    margin-bottom: 24px;
}

#descrizioneDisservizio{
    width: 98%;
}

#luogoDisservizio{
    width: 98%!important;
}

.icon.icon-sm {
    width: 24px;
    height: 24px;
}

/* rating star */
.stargrey{
    color: rgb(230, 230, 230);
}
.star-second{
    color: var(--third)!important;
}

.form-select{
    min-width: 70px;
}

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?e75b15');
    src:  url('fonts/icomoon.eot?e75b15#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?e75b15') format('truetype'),
      url('fonts/icomoon.woff?e75b15') format('woff'),
      url('fonts/icomoon.svg?e75b15#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-cipolla-rossa-breme-comp:before {
    content: "\e900";
    color: #fff;
  }
  

  .pagination {
    justify-content: center;
  }

  .iframeFirefox{
    margin-top: 0px!important;
  }

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

.it-header-slim-wrapper {
    height: 48px!important;
}
  