body {
  font-size: 18px !important;
}

.nobottommargin {
  margin-bottom: 0 !important;
}

/* --------------------------------
MENU & HEADING
-------------------------------- */

.regione {
  background-image: url("/shared/images/logo-regione-sardegna-h44.gif");
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: 7px center;
  padding-left: 35px !important;
}

.sub-menu ul span.settori-menu {
  padding: 4px 10px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.1);
  text-transform: lowercase;
  font-size: 16px;
  color: #efefef;
  width: 100%;
  display: inline-block;
}

#side-panel {
  width: 350px;
  font-size: 22px !important;
}

#side-panel .side-panel-wrap {
  width: 350px;
  padding: 30px;
}

#side-panel .widget {
  width: 290px;
}

body.side-panel-left #side-panel {
  left: -350px;
  font-size: 22px !important;
}

h4.home-menu {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

.nav-tree li a {
  font-size: 18px;
  font-weight: 500;
  padding-left: 10px;
}

.nav-tree ul ul a {
  font-size: 18px;
  padding: 10px 10px 10px 20px;
}

#icona-menu {
  position: relative;
  float: left;
  line-height: 100%;
  font-size: 10px;
  margin-right: 50px;
  margin-top: 29px;
  text-align: center;
}

#icona-menu-mobile {
  display: none;
}

#icone-menu {
  margin-bottom: 39px;
}
#icone-menu .span-rounded {
  line-height: 71px !important;
  width: 71px !important;
  height: 71px !important;
  font-size: 32px;
  border: none;
  border-radius: 0px;
  margin: 0px 2px 2px 0px;
  border: none;
  border-radius: 0px;
}

#icone-menu a:nth-child(4n + 4) .span-rounded {
  margin-right: 0px;
}

li.activeLang .si-lingua {
  color: #ffffff !important;
  background-color: #1374b7 !important;
}
.si-app:hover {
  background-color: #1374b7 !important;
}
.si-accessibilita:hover {
  background-color: #15a351 !important;
}
.si-telegram:hover {
  background-color: #777 !important;
}

.sticky-header #icona-menu {
  margin-top: 9px;
}

.sticky-header #logo {
  padding: 0px;
  height: auto;
}

.sticky-header img {
  height: 60px;
  padding: 5px 0;
}

.sticky-header #logo-testo span.testo-pers {
  display: none;
}
.sticky-header #logo-testo {
  font-size: 1.5em;
}

#logo {
  height: 100px;
  padding: 10px 0;
  margin-right: 10px;
}

#logo a img {
  height: 80px;
}

#footer .container li.dettagli span:first-child {
  padding: 5px;
  text-align: center;
  width: 30px;
  /*margin: 5px 0;
  height: 30px;
  font-size: 14px;
  line-height: 20px;*/
}

#footer .container li.dettagli span.hidden-xs {
  padding-right: 5px;
  font-size: 15px;
}

#logo-footer img {
  height: 80px;
  padding: 5px;
  background: #fff;
  /*display: block;*/
  margin: 10px 5px;
  border-radius: 10px;
}

#logo-footer {
  font-size: 32px;
  font-weight: 700;
  /*margin-bottom: 5px;*/
}
#logo-footer div.titolo-footer {
  display: inline;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 30px 5px;
}
#footer .widget_links h4 {
  font-size: 20px;
}

#logo-prodotto {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

#logo-prodotto img {
  height: 48px;
}

#feedback-home {
  padding: 10px;
}
#feedback-home h3 {
  margin: 0px;
}
#feedback-home h3 a {
  color: #ffffff !important;
}
#feedback-home h3 a:hover {
  text-decoration: underline !important;
}

#icona-menu .side-panel-trigger span {
  font-size: 32px;
}

#logo-testo {
  position: relative;
  float: left;
  font-size: 36px;
  margin-right: 5px;
  padding: 15px 0;
  font-weight: 700;
  line-height: 30px;
}

#logo-testo span.testo-pers {
  font-size: 18px;
}
body.unione #logo-testo span.testo-pers {
  font-size: 16px;
}

#imp_lingua,
#imp_access {
  padding: 10px;
}
#imp_lingua label,
#imp_access label {
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
}
#imp_lingua input[type="submit"],
#imp_access input[type="submit"] {
  font-size: 16px;
  width: 100%;
}
#imp_lingua select,
#imp_access select {
  width: 100%;
}

#form_lingua input[type="submit"],
#form_lingua select {
  width: 100%;
  font-size: 18px;
}

/* --------------------------------
RICERCA
-------------------------------- */
#ricerca {
  position: relative;
  float: right;
  height: 20px;
  width: 300px;
  padding: 30px 0;
  font-size: 18px;
}

.sticky-header #ricerca {
  padding: 10px 0;
}

#ricerca .input-group input,
#ricerca .input-group button {
  height: 40px;
}

#ricerca .input-group input {
  width: 162px;
}

#ricerca .input-group select {
  border-right: 0;
}

#ricerca .input-group select#cerca {
  height: 40px;
  width: 99px;
  padding: 3px;
}

/* --------------------------------
SIDEBAR
-------------------------------- */
.sidebar {
  width: 300px;
}

.widget_links li {
  padding: 0;
}

/* --------------------------------
CONTENT
-------------------------------- */
.postcontent {
  width: 800px;
}

.single-post .entry-meta {
  margin-left: 0;
  margin: 25px 10px 20px 0;
}

.single-post a {
  word-wrap: break-word;
}

/* --------------------------------
MATTONELLE
-------------------------------- */
.sfondo-casella.col-padding-30 {
  padding: 30px 30px 60px 30px;
}
.sfondo-casella.col-padding-20 {
  padding: 20px 20px 40px 20px;
}

.sfondo-casella .heading-block {
  position: relative;
  z-index: 99;
}

.sfondo-casella.col-padding-20 .heading-block {
  margin-bottom: 30px;
}
.sfondo-casella.col-padding-20 .heading-block:after {
  margin-top: 20px;
}
.sfondo-casella .heading-block:after {
  border-top: none;
}

.fa.bgicon {
  bottom: -30px;
}

.entry-title h2 {
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 120%;
}
.scadenze .entry-title h2 {
  line-height: 70%;
}

.entry-meta li {
  font-size: 0.89em;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 120%;
}

.heading-block h2 {
  font-size: 32px;
}
.heading-block h3 {
  font-size: 24px;
}

.heading-block h1 a,
.heading-block h2 a {
  color: #ffffff;
  text-transform: none;
  line-height: 1.2;
}

.heading-block h3 a {
  color: #ffffff;
  text-transform: none;
  line-height: 0.9;
}

.heading-block h3 a:hover,
.heading-block h1 a:hover,
.heading-block h2 a:hover {
  text-decoration: underline !important;
}

.link-casella {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  transition: box-shadow 300ms;
  -webkit-transition: box-shadow 300ms;
}

.link-casella:hover {
  box-shadow: 0 0 0 5px #ffffff inset;
}

article.portfolio-item.spazio-casella,
.spazio-casella {
  margin: 5px !important;
  padding: 30px;
  word-wrap: break-word;
}

.spazio-riga {
  padding: 0 5px;
}

.sfondo-casella,
.spazio-casella a,
.sfondo-casella .entry-meta li {
  color: #ffffff !important;
}

.sfondo-casella ul.entry-meta {
  margin: 0px -10px -15px 0;
}

.sfondo-casella .entry-meta li a {
  color: #ffffff !important;
  border-bottom: 1px dashed #fff;
}

#sfondo-blocco-news {
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.contenitore-flex {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 0px 5px;
}
.colonne-flex {
  -webkit-flex: 1;
  flex: 1;
  position: relative;
}
.colonne-flex span.bgicon {
  font-size: 125px;
}
.colonne-flex h2 {
  margin: 0px;
  z-index: 1;
}
.bgicon {
  right: -25px;
}
article span.bgicon {
  top: 90px;
  font-size: 125px;
}
.contenitore-bgicon {
  height: 100%;
  overflow: hidden !important;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#portfolio-news-avvisi .entry-image img.image_fade {
  max-height: 450px;
}

#portfolio-scadenze h3 {
  font-size: 20px;
  margin: 0;
  color: #333 !important;
}
#portfolio-news-avvisi h4.font-minore,
#portfolio-scadenze h3.font-minore,
article h3.font-minore {
  font-size: 18px !important;
}

#portfolio-news-avvisi .sfondo-articolo,
#portfolio-scadenze .sfondo-articolo {
  border-radius: 3px;
  padding: 10px;
}
#portfolio-news-avvisi .sfondo-articolo:hover,
#portfolio-scadenze .sfondo-articolo:hover {
  background-color: #efefef;
}

#portfolio-news-avvisi .entry-title h3 {
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 120%;
}
#portfolio-news-avvisi .entry-title h3.font-minore {
  font-size: 2em;
}

article.spazio-casella h3 a:hover,
article.spazio-casella h4 a:hover,
.sfondo-casella-news h3 a:hover,
.sfondo-casella-primo-piano h3 a:hover,
.sfondo-casella-focus h3 a:hover,
.sfondo-casella-filo-diretto h3 a:hover,
.sfondo-casella-avvisi h3 a:hover,
.sfondo-casella-concorsi h3 a:hover,
.colonne-flex h2 a:hover,
.colonne-flex h3 a:hover {
  text-decoration: underline !important;
}
article.spazio-casella span,
.sfondo-casella-news span,
.sfondo-casella-primo-piano span,
.sfondo-casella-focus span,
.sfondo-casella-filo-diretto span,
.sfondo-casella-avvisi span,
.sfondo-casella-concorsi span {
  margin-top: 10px;
}
span.tipo-articolo {
  float: right;
}

.colonna-news-img {
  background-size: cover;
  height: 220px;
}

/* --------------------------------
PORTFOLIO
-------------------------------- */
.portfolio-3 .portfolio-item.pf-terminato {
  background-color: #f54139;
}
.portfolio-3 .portfolio-item.pf-in-corso {
  background-color: #ff8801;
}
.portfolio-3 .portfolio-item.pf-programmato {
  background-color: #5b9a68;
}
.portfolio-3 .portfolio-item.pf-da-vedere {
  background-color: #1374b7;
}
.portfolio-desc h3 {
  font-size: 22px;
}

#portfolio-filter li a {
  font-size: 16px;
  font-weight: 300;
  text-shadow: none;
}

#portfolio-news-avvisi a:hover,
#portfolio-scadenze a:hover,
#aree-tematiche .portfolio-desc a:hover,
#portfolio .portfolio-desc a:hover {
  text-decoration: underline !important;
}

.portfolio-desc {
  padding: 10px;
  color: #ffffff;
}

#aree-tematiche .portfolio-desc h3,
#aree-tematiche .portfolio-desc h3 span {
  color: #ffffff !important;
  font-size: 18px;
}

.portfolio-desc span {
  text-align: right;
  font-size: 14px;
  display: inline;
}

/* --------------------------------
PROCEDIMENTI
-------------------------------- */
.argomenti .heading-block,
.servizi .heading-block,
.procedimenti .heading-block {
  margin-bottom: 0;
}

.argomenti .heading-block h2,
.servizi .heading-block h2,
.procedimenti .heading-block h2 {
  font-size: 1em;
}

.argomenti .heading-block:after,
.servizi .heading-block:after,
.procedimenti .heading-block:after {
  display: none;
}

.argomenti .bgicon,
.servizi .bgicon,
.procedimenti .bgicon {
  z-index: 0;
}

.procedimento a span.fa-fw {
  margin: 7px;
}

/* --------------------------------
TARI ARERA
-------------------------------- */
.tari_arera .tari_arera_img,
.servid_arera .tari_arera_img {
  margin: 0;
  padding: 0;
  height: 165px;
  width: auto;
}
.tari_arera .content-wrap,
.servid_arera .content-wrap {
  padding: 0px;
}
.tari_arera .toggle.toggle-bg .togglet,
.servid_arera .toggle.toggle-bg .togglet {
  font-size: 22px;
  line-height: 54px;
}
.tari_arera .toggle.toggle-bg div.togglet span,
.servid_arera .toggle.toggle-bg div.togglet span {
  line-height: 54px;
}
.tari_arera .toggle.toggle-bg .togglec blockquote,
.servid_arera .toggle.toggle-bg .togglec blockquote {
  margin-top: 10px;
}

/* --------------------------------
UFFICIO
-------------------------------- */
.ufficio .heading-block {
  margin-bottom: 0;
}

.ufficio .heading-block h2 {
  font-size: 1.5em;
}

.ufficio .heading-block:after {
  display: none;
}

/* --------------------------------
VARIE
-------------------------------- */
.entry-content {
  overflow-wrap: break-word;
}

.mappa-controls {
  margin: 10px;
  border: 1px solid transparent;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 32px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#origin-input,
#destination-input {
  background-color: #fff;
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 200px;
}

#origin-input:focus,
#destination-input:focus {
  border-color: #1374b7;
}

#mode-selector {
  color: #fff;
  background-color: #1374b7;
  margin-left: 12px;
  padding: 5px 11px 0px 11px;
}

#mode-selector label {
  color: #fff;
  font-size: 13px;
  font-weight: 300;
}

.moduli {
  margin-bottom: 5px;
}

.swiper_wrapper {
  /*height: 680px;*/
  /*height: 500px;*/
  height: 28vw;
}

.span-plain {
  float: none;
}

.numeri-utili {
  padding: 30px 50px 10px 50px;
}

.icone-centro {
  font-size: 18px !important;
}

#dati-comune span {
  font-size: 28px;
}
#dati-comune .counter span {
  font-size: 36px !important;
  float: left;
  padding: 7px 3px;
}
#dati-comune .counter {
  float: left;
}
#dati-comune {
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 1000px;
  margin-left: -500px;
  color: white;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 10px 0px;
}

#pagine-link-utili {
  margin-bottom: 5px;
}

#pagine-link-utili span.bgicon {
  font-size: 125px;
}

#ultime-news {
  margin: 5px;
}
#ultime-news #portfolio.portfolio-full {
  width: 100% !important;
  /*left: 10%;*/
}

#modulistica .link-fancy-title,
#modulistica h2,
#modulistica {
  background-color: #f5f5f5;
}

.dark #modulistica .link-fancy-title,
.dark #io-sono .link-fancy-title,
.dark #modulistica h2,
.dark #io-sono h2,
.dark #modulistica,
.dark #io-sono .section {
  background-color: #323232 !important;
}
.dark #aree-tematiche .link-fancy-title,
.dark #aree-tematiche h2,
.dark #aree-tematiche,
.dark #ultime-news .link-fancy-title {
  background-color: #383838 !important;
}

#modulistica h3 a:hover {
  text-decoration: underline !important;
}
#modulistica .feature-box p {
  color: #323232;
}
.dark #modulistica .feature-box p {
  color: #888;
}
#modulistica {
  padding-bottom: 50px !important;
}

#io-sono .section {
  background-color: #ffffff !important;
  padding-bottom: 40px !important;
}

#aree-tematiche .link-fancy-title,
#aree-tematiche h2,
#aree-tematiche {
  background-color: #f5f5f5;
}
.servizi #aree-tematiche {
  background-color: #ffffff;
  border-bottom: none;
}
.servizi #img-tematiche .col-md-3 {
  width: calc(25% - 4px);
  margin: 2px;
  height: 200px;
}
.servizi #img-tematiche {
  margin: 0px -1px;
}
.argomenti .row.common-height,
.servizi .row.common-height {
  margin: 0px -5px 50px -5px !important;
}

.link-fancy-title {
  float: right;
  z-index: 1;
  padding-left: 10px;
  background: #ffffff;
}
.link-fancy-title span {
  font-size: 18px;
}

.fancy-title h2 {
  font-size: 36px;
}

.eventi .owl-carousel .owl-item article img {
  max-height: none;
  max-width: none;
}

.breadcrumb li,
.breadcrumb a,
.breadcrumb a:hover,
.breadcrumb .active {
  font-size: 16px;
}

.sindaco .entry-image {
  float: left;
  width: 100px;
  margin: 0 10px 10px 0;
  border-radius: 50%;
}
.sindaco .entry-image img {
  border-radius: 50%;
}

.sindaco .entry-meta {
  margin-top: 5px;
  line-height: 150% !important;
}

.sindaco .postcontent {
  width: 100%;
}

.sindaco .entry {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.sindaco .contatti {
  float: left;
}

.sindaco #ufficiostaff {
  position: absolute;
  top: 0;
  right: 0;
}

.sindaco .heading-block {
  margin-bottom: 0;
}

.sindaco .heading-block h2 {
  font-size: 1em;
}

.sindaco .heading-block:after {
  display: none;
}

.sindaco .spazio-casella {
  margin: 0 0 20px 0;
  width: 100% !important;
}

.sindaco .bgicon,
.commissioni .bgicon,
.scheda .bgicon {
  z-index: 0;
  font-size: 5em;
  bottom: -20px;
  right: 10px;
}

.sindaco .contatti:first-child {
  /*padding-left:0;*/
}
.sindaco .contatti:last-child {
  padding-right: 0;
}

.scheda .contatti:first-child {
  /*padding-left:0;*/
}
.scheda .contatti:last-child {
  padding-right: 0;
}

.scheda .entry-image {
  float: left;
  width: 100px;
  margin: 0 10px 0 0;
  border-radius: 50%;
}
.scheda .entry-image img {
  border-radius: 50%;
}

.scheda .entry-meta {
  margin-top: 5px;
  line-height: 150% !important;
}

.scheda .postcontent {
  width: 100%;
}

.scheda .entry {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.scheda .contatti {
  float: left;
}

.scheda #ufficiostaff {
  position: absolute;
  top: 0;
  right: 0;
}

.scheda .heading-block {
  margin-bottom: 0;
}

.scheda .heading-block h2 {
  font-size: 1em;
}

.scheda .heading-block:after {
  display: none;
}

.scheda .spazio-casella {
  margin: 0 0 20px 0;
  width: 100% !important;
}

.sindaco .spazio-casella,
.scheda .spazio-casella {
  margin: 0px 0px 15px 0px !important;
}

.commissioni .heading-block {
  margin-bottom: 0;
}

.commissioni .heading-block h2 {
  font-size: 1em;
}

.commissioni .heading-block:after {
  display: none;
}

.widget_links li a {
  font-size: 18px;
}

#logo-prodotto {
  font-size: 18px;
}

#logo-prodotto img {
  max-height: 26px;
  margin-right: 5px;
}

#footer li.dettagli a {
  /*border-bottom: 1px dashed #fff !important*/
}
#logo-footer a {
  border-bottom: none;
}
#logo-prodotto a {
  border-bottom: none;
}
#copyrights .widget_links ul li a:hover {
  text-decoration: underline !important;
}

#footer {
  background: #000; /* WCAG AAAA */
}

.eventi hr {
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  margin: 10px 0;
}

.evento .iconlist li {
  margin-bottom: 10px;
}

.testi-meta span {
  color: #fff;
}
.testi-meta a {
  color: #fff;
}

.meteo {
  padding-left: 60px !important;
  background-size: auto 100%;
  background-color: #fff;
  background-position: 10px 0;
  background-repeat: no-repeat;
}
.meteo:hover {
  background-color: #eee;
}

span.testo-pers {
  color: #575757;
  font-weight: 500;
}

.widget_links li a {
  background: url("/shared/images/icons/widget-link.png") left 5px no-repeat;
  margin-left: 5px !important;
}
.widget_links li.dettagli a {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.slider-caption h1 {
  font-size: 64px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 30px;
}

.testimonial {
  min-height: 104px;
}
.testi-meta {
  margin-top: 0;
}
.testi-meta:before {
  content: none;
}
.testi-meta a {
  font-size: 18px;
}
.testi-meta span {
  font-size: 14px;
}

#indicazioni img {
  max-width: none;
  margin-right: 10px;
}

.togglec div.list-group a.list-group-item:hover {
  text-decoration: underline;
}

.star-rating .clear-rating {
  display: none !important;
}
tbody .star-rating .caption {
  display: none !important;
}
.rating-disabled {
  cursor: default !important;
}
.rating-xs {
  font-size: 1em !important;
}

.pagine .owl-carousel .oc-item img {
  max-width: 100% !important;
  height: 420px !important;
  max-height: 420px !important;
  background-size: cover !important;
}
.pagine a.button.sfondo-casella1 {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

#img-pagine {
  float: left;
  margin: 0 20px 20px 0;
  width: 50%;
}

#io-sono h3 a:hover {
  text-decoration: underline !important;
}
#io-sono .container.clearfix.bottommargin-sm {
  margin-bottom: 20px !important;
}

/* --------------------------------
SCADENZE
-------------------------------- */

#posts .entry.entry-date-section span {
  font-size: 32px;
}
#posts .entry-timeline {
  display: block;
}
.entry.entry-date-section + .entry .entry-timeline {
  top: 20px;
}
#posts .entry-content {
  margin-top: 0px;
  padding: 0px 10px 10px 10px;
}
#scadenze {
  margin-bottom: 20px;
}
#scadenze h3 {
  color: #ffffff !important;
  margin: 0px;
  padding: 10px;
}
.argomenti .portfolio-4 .portfolio-item.pf-scaduto,
.servizi .portfolio-4 .portfolio-item.pf-scaduto,
#ultime-news article.scaduto,
#scadenze.scaduto,
#posts .entry-content.scaduto {
  background-color: #f54139 !important;
}
.argomenti .portfolio-4 .portfolio-item.pf-scadeoggi,
.servizi .portfolio-4 .portfolio-item.pf-scadeoggi,
#ultime-news article.scadeoggi,
#scadenze.scadeoggi,
#posts .entry-content.scadeoggi {
  background-color: #ff8801 !important;
}
.argomenti .portfolio-4 .portfolio-item.pf-inscadenza,
.servizi .portfolio-4 .portfolio-item.pf-inscadenza,
#ultime-news article.inscadenza,
#scadenze.inscadenza,
#posts .entry-content.inscadenza {
  background-color: #5b9a68 !important;
}
#posts .entry-title h2 a {
  font-size: 32px;
}
#posts .entry-title h2 a,
#posts .entry-meta li {
  color: #ffffff !important;
}
#posts .entry-title h2 a:hover {
  text-decoration: underline !important;
}
#posts .entry-meta li span {
  font-size: 18px;
}
#posts .entry ul {
  margin-left: 0px;
}

.eventi #posts .entry-title h2 a,
.eventi #posts .entry-meta li {
  color: #444 !important;
}
.eventi #posts .entry-title h2 {
  margin-bottom: 20px;
  line-height: 32px;
}
.eventi .events .entry.success {
  border-bottom: 3px solid #5b9a68 !important;
}
.eventi .events .entry.warning {
  border-bottom: 3px solid #ff8801 !important;
}
.eventi .events .entry.danger {
  border-bottom: 3px solid #f54139 !important;
}
.eventi #posts .entry-content {
  padding-bottom: 0px;
}
.eventi #posts .entry-content p {
  margin-bottom: 20px;
}
.eventi #posts li.stato {
  margin-bottom: 15px;
}

/* --------------------------------
RESPONSIVE
-------------------------------- */

@media (max-width: 991px) {
  #top-social #ver_lo,
  #top-social #ver_ipo,
  #top-social li .si-pinterest,
  #top-social li .si-instagram,
  #top-social li .si-youtube,
  #top-social li .si-facebook,
  #top-social li .si-twitter,
  #top-social li .si-accessibilita,
  #top-social li .si-app {
    display: none !important;
  }

  .colonna-news-img {
    height: 200px;
  }

  article span.bgicon {
    top: 50px;
  }

  #ultime-news #portfolio.portfolio-full {
    width: 100% !important;
    left: 0;
  }

  article.portfolio-item.spazio-casella {
    width: calc(100% - 10px) !important;
  }
}

@media (min-width: 768px) {
  .col-sm-12.spazio-casella {
    width: calc(100% - 10px);
  }
  .col-sm-6.spazio-casella {
    width: calc(50% - 10px);
  }
}

@media (min-width: 992px) {
  .col-md-6.spazio-casella {
    width: calc(50% - 10px);
  }
  .col-md-4.spazio-casella {
    width: calc(33.33333333% - 10px);
  }

  article.portfolio-item.spazio-casella {
    width: calc(50% - 10px) !important;
  }
}

@media (min-width: 1200px) {
  .col-lg-3.spazio-casella {
    width: calc(25% - 10px);
  }
  .col-lg-4.spazio-casella {
    width: calc(33.33333333% - 10px);
  }
}

@media (max-width: 1600px) {
  .slider-caption h2 {
    font-size: 52px;
    margin-bottom: 20px;
  }

  .slider-caption p {
    font-size: 20px;
    margin-bottom: 10px;
  }

  #dati-comune span {
    font-size: 22px;
  }
  #dati-comune .counter span {
    font-size: 22px !important;
    padding: 0px 3px;
  }
  #dati-comune .counter {
    font-size: 22px;
    padding: 12px 0px;
  }
  .icone-centro {
    font-size: 16px !important;
  }
}

@media (max-width: 992px) {
  #ricerca {
    padding: 0;
    width: auto;
    height: auto;
  }

  #cerca {
    width: 20%;
  }

  #ricerca .input-group input {
    width: 70%;
  }

  #ricerca .input-group select#cerca {
    width: 30%;
  }

  #icona-menu {
    display: none;
  }

  #icona-menu-mobile {
    display: block;
    position: relative;
    float: left;
    margin-right: 50px;
    text-align: center;
  }

  #testo-menu-mobile {
    display: none;
  }

  #top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
  }

  #header {
    padding-top: 65px;
  }

  .sindaco #ufficiostaff {
    position: relative;
    float: right;
    /*width:100%;*/
    margin-bottom: 30px;
  }

  #dati-comune {
    display: none;
  }

  #top-social ul li.nomobile {
    border-left: 0 !important;
  }

  div.side-panel-wrap {
    margin-top: 44px;
  }

  #ultime-news .link-fancy-title {
    float: left;
    padding: 0px 0px 10px 0px;
  }

  .servizi #img-tematiche .col-md-3 {
    width: calc(50% - 4px);
  }

  .commissioni .side-tabs ul.tab-nav {
    float: none;
    width: 100%;
  }
}

@media (max-width: 1200px) {
  div.top-links {
    display: none;
  }

  .procedimenti .tab-nav {
    display: none;
  }

  .postcontent {
    width: 100%;
  }

  .sidebar {
    width: 100%;
    margin-top: 20px;
  }

  .entry-image {
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  .spost .entry-image {
    margin-right: 10px !important;
  }

  .eventi .entry-image {
    margin-right: 30px !important;
  }

  .slider-caption h2 {
    font-size: 44px;
    margin-bottom: 10px;
  }

  .slider-caption p {
    font-size: 18px;
    margin-bottom: 5px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .colonna-news-img {
    height: 300px;
  }

  article span.bgicon {
    top: 190px;
  }

  #aree-tematiche .portfolio-desc h3,
  #aree-tematiche .portfolio-desc h3 span {
    color: #ffffff !important;
    font-size: 15px;
  }

  #dati-comune span.icone-centro {
    display: none;
  }
  #dati-comune .counter {
    padding: 0px !important;
  }
}

@media (max-width: 767px) {
  .contenitore-flex {
    display: block;
  }

  .sfondo-casella-news,
  .sfondo-casella-primo-piano,
  .sfondo-casella-focus,
  .sfondo-casella-filo-diretto,
  .sfondo-casella-avvisi,
  .sfondo-casella-concorsi {
    height: auto !important;
  }

  #aree-tematiche {
    display: none;
  }
  .servizi #aree-tematiche {
    display: block;
  }

  article span.bgicon {
    top: 0px;
  }

  #posts .entry-content {
    padding-top: 20px;
  }

  .procedimento a span.fa.fa-fw {
    margin: 5px;
  }

  .servizi #img-tematiche .col-md-3 {
    width: calc(100% - 4px);
  }

  .eventi #posts .entry-meta li.stato span {
    display: block;
  }

  .evento .single-event div.entry-overlay {
    background-color: transparent;
  }

  .scadenze .entry-title h2 {
    line-height: 120%;
  }
  .scadenze .entry-meta li {
    line-height: 140%;
  }

  #ultime-news .link-fancy-title {
    display: none;
  }

  #mode-selector {
    left: 0px !important;
    top: 40px !important;
  }

  #img-pagine {
    margin: 0 20px 20px 0px;
    width: 100%;
  }

  .scheda .entry-title h2,
  .sindaco .entry-title h2 {
    margin: 10px 0px;
  }

  #logo-footer img,
  #logo-footer div.titolo-footer {
    display: block;
    margin: 5px auto;
  }

  .tari_arera .toggle.toggle-bg .togglet {
    font-size: 18px;
    line-height: 44px;
  }
  .tari_arera .toggle.toggle-bg div.togglet span {
    line-height: 44px;
  }
}

@media (max-width: 480px) {
  #logo {
    float: none;
  }

  #io-sono .link-fancy-title,
  #modulistica .link-fancy-title {
    display: none;
  }

  .content-wrap .header-stick {
    margin-top: -40px !important;
  }

  #mode-selector {
    left: 0px !important;
    top: 80px !important;
  }

  #destination-input {
    left: 0px !important;
    top: 40px !important;
  }

  .comunicazioni .container a.button,
  .avvisi .container a.button,
  .scadenze .container a.button,
  .eventi .container a.button {
    width: 100%;
    margin-right: 15px;
  }

  .scheda .entry-image,
  .sindaco .entry-image {
    width: 100%;
  }

  .tari_arera .toggle.toggle-bg .togglet {
    line-height: 32px;
  }
  .tari_arera .toggle.toggle-bg div.togglet span {
    line-height: 32px;
  }
}
