
.webform-submission-richieste-privacy-form #edit-actions{
    display: flex;
    flex-direction: row;
    justify-content: right;
    padding: 20px 0px 20px;
}

.field--type-text-with-summary .collapse,
.page-content.collapse {

  transition: max-height 1s ease-in;
  overflow: hidden;
  display: none;
}

.field--type-text-with-summary .collapse.showcollapse,
.page-content .collapse.showcollapse {
  display: block !important;
  max-height: 2500px;
}

.calendar-disabled {
  background-color: #F9F9FA !important;
  color: #ccc;
  cursor: default !important;
  display:none !important; 
}


header .cont-header-widgets .widget-buttons a .search-input {
  max-height: 100%;
  overflow: hidden;
  opacity: 0;
  max-width: 0px;
  overflow: hidden;
  display: inline-block;
  padding: 0;
  background-color: #8E011C;
  border: 0;
  border-bottom: 1px solid white;
  color: white;

}

header .cont-header-widgets .widget-buttons a .btn-search-submit {
  max-height: 100%;
  overflow: hidden;
  opacity: 0;
  max-width: 0px;
  overflow: hidden;
  display: inline-block;
  padding: 0;
  background-color: #8E011C;
  border: 0;

  color: white;
  position: absolute;
  top: 0;
  right: 13px;
  background-color: transparent;
}


header .cont-header-widgets .widget-buttons a .search-input::placeholder {
  color: white;
  font-weight: lighter;
}



header .cont-header-widgets .widget-buttons a.opened {
  padding: 0px 30px;
  max-width: 100%;
  position: relative;

}

header .cont-header-widgets .widget-buttons a.opened .search-input,
header .cont-header-widgets .widget-buttons a.opened .btn-search-submit {
  opacity: 1;
  max-width: 100%;

}

header .cont-header-widgets .widget-buttons a.opened .search-input {
  padding-right: 32px;
  padding-left: 5px;
  width: 150px;
}

.search-input-arrivo {
  width: 282px !important;
}

.search-input-partenza {
  width: 250px !important;
  ;
}

header .cont-header-widgets .widget-buttons a.opened .search-input-partenza {
  margin-right: 15px;
  padding-right: 5px;
  padding-left: 5px;
}

header .cont-header-widgets .widget-buttons a.opened svg {
  margin-right: 15px;

}


header .cont-header-widgets .widget-buttons a.opened span {
  display: none;

}


header .cont-header-widgets .widget-buttons a.opened .search-input {
  outline: none !important;
}

header .cont-header-widgets .widget-buttons a.opened .search-input:focus:not(.focus--mouse) {
  border-color: white !important;
  box-shadow: none !important;
}

.btn.next-btn svg path,
.btn.prev-btn svg path {
  stroke: #8e001c;

}

.btn.next-btn[disabled] svg path,
.btn.prev-btn[disabled] svg path {
  stroke: #979797;

}

.btn.next-btn svg,
.btn.prev-btn svg {
  width: 7px !important;
}

@media (min-width: 1400px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1204px !important;

  }
}

@media (min-width: 1200px) {

  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1204px !important;

  }
}

.card-style-1.card-img .img-responsive-wrapper .img-responsive.img-responsive-panoramic {
  padding-bottom: 34.495%;
}

.goog-te-combo {
  appearance: none;
  border: 0;
  font-size: 16px !important;
  font-weight: 400;
  font-family: "Titillium Web", sans-serif;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  ;
  background-repeat: no-repeat;
  background-position: right .7em top 50%, 0 0;


}




/* Modified by Hasan Rajani - Date:05 Jun, 2024 */
.top-bar {
  background-color: #979797;
}

.top-bar .cont-top-bar-lang {
  position: relative;
}

.top-bar .cont-top-bar-lang #google-translate {
  position: absolute;
  top: calc(100% + 4px);
  background: white;
  right: 0px;
  padding: 10px;
  border: #979797 1px solid;
  z-index: 99999;
}

.top-bar .cont-top-bar-lang a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  color: white;
}

.top-bar .cont-top-bar-lang .icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

/* .top-bar .cont-top-bar-lang .skiptranslate{
  font-size: 0px;
}
.top-bar .cont-top-bar-lang .skiptranslate span{
  display: none;
}
.top-bar .cont-top-bar-lang .skiptranslate .goog-te-combo{
  color: white;
}

.top-bar .cont-top-bar-lang .skiptranslate .goog-te-combo option{
  color: #000;
} */

.header-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.header-logo .logo-text {
  margin-left: 10px;
  margin-bottom: 15px;
}

.cont-header-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.cont-header-social .header-social-title {
  font-size: 18px;
  font-weight: 600;
  color: #443D45;
  margin-right: 10px;
}

.cont-header-social ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.cont-header-social ul li {
  padding: 0px;
  margin: 0px;
}

.cont-header-social ul li+li {
  margin-left: 15px;
}

.cont-header-social ul li a {
  width: 32px;
  height: 32px;
  background-color: #D9D9D9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.cont-header-social ul li .icon {
  width: 18px;
  height: 18px;
}

.cont-header-social ul li .icon path {
  fill: #443D45;
}

header .cont-header-widgets .widget-buttons a {
  margin-right: 0px;
}

header .cont-header-widgets .widget-buttons a+a {
  margin-left: 20px;
}

header .custom-navbar-toggler {
  margin-left: 10px;
}

header .cont-header-widgets .widget-buttons a.widget-btn-bus .icon {
  height: 32px;
}

header .cont-header-widgets .widget-buttons a.widget-btn-loc .icon {
  height: 30px;
}

header .cont-header-widgets .widget-buttons a.widget-btn-search .icon {
  height: 35px;
}

.card-style-8 {
  width: 100%;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 4px 8px 0px rgba(151, 151, 151, .25);
  -moz-box-shadow: 0px 4px 8px 0px rgba(151, 151, 151, .25);
  box-shadow: 0px 4px 8px 0px rgba(151, 151, 151, .25);
  border-radius: 10px;
  padding: 27px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.card-style-8 .card-icon {
  margin-right: 22px;
}

.card-style-8 .card-icon svg {
  fill: #443D45;
  height: 42px;
  width: 42px;
}

.card-style-8 .card-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 11px;
}

.card-style-8 .card-content a {
  font-weight: bold;
  color: #8e001c;
}


.sec-services-icons .service-icon-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-decoration: none;
  margin-bottom: 20px;
}

.sec-services-icons .service-icon-single .service-icon {
  background-color: #8e001c;
  width: 82px;
  height: 82px;
  border-radius: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.sec-services-icons .service-icon-single .service-icon .icon {
  fill: #ffffff;
  height: 48px;
  width: 48px;
}

.sec-services-icons .service-icon-single .service-title {
  font-weight: bold;
  font-size: 18px;
  color: #443D45;
  flex-grow: 1;
}

.card-style-1.card-img {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.card-style-1.card-img .img-responsive-wrapper {
  width: 207px;
  min-width: 207px;
  /* height: 100%; */
  min-height: 277px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0px;
}

.card-style-1.card-img .img-responsive-wrapper .img-responsive.img-responsive-panoramic {
  width: 100%;
  height: 100%;
  padding: 0px;
}

.card-style-1.card-img .img-responsive-wrapper .img-responsive.img-responsive-panoramic img {
  object-fit: cover;
  -o-object-fit: cover;
  object-position: center center;
  -o-object-position: center center;
}

.card-style-1.card-img .card-body {
  width: calc(100% - 207px);
}

@media (max-width: 999px) {

  .card-style-1.card-img .img-responsive-wrapper {
    /*width: 33.33%;
    min-width: 33.33%;*/
    width: 101px;
    min-width: 101px;
    height: 100%;
    min-height: 135px;
  }

  .card-style-1.card-img .card-body {
    width: calc(100% -101px);
    box-sizing: border-box;

  }
  .card-style-1.card-img .card-body .card-title{
    font-size: 20px!important;
  }
}

.cont-main-hr {
  position: relative;
  padding-bottom: 60px;
}

.cont-banner-slider .banner-slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 800px;
  min-height: 800px;
}

.cont-banner-slider .banner-slide-content p:last-child:has(.btn-read-more) {
  margin-bottom: 0px;
}

.cont-banner-slider-nav, .cont-gallery-slider-nav  {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.rsm-slider-dots {
  margin: 0px 10px;
}

.rsm-slider-dots .slick-dots, .rsm-gallery-dots .slick-dots, .inner-slider-dots .slick-dots{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0px;
  bottom: 0px;
  margin: 0px;
}

.rsm-slider-dots .slick-dots li {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  display: block;
  background-color: rgba(255, 255, 255, .5);
  transition: background-color .25s ease-in-out;
  -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.rsm-slider-dots .slick-dots li:hover,
.rsm-slider-dots .slick-dots li:focus,
.rsm-slider-dots .slick-dots li.slick-active {
  background-color: rgba(255, 255, 255, 1);
  transition: background-color .25s ease-in-out;
}

.rsm-slider-dots .slick-dots li button {
  display: none;
}

.slider-arrow-prev,
.slider-arrow-next,
.gallery-arrow-prev,
.gallery-arrow-next  {
  cursor: pointer;
}

.cont-main-page {
  background-color: white;
  border-radius: 10px;
}

.cont-backdrop-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: -1;
}

.cont-backdrop-slider .backdrop-slider-main {
  position: relative;
  width: 100%;
  height: 100%;
}

.cont-backdrop-slider .backdrop-slider {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0px;
}

.cont-backdrop-slider .backdrop-slide-single {
  height: 100vh;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
}

@media (max-width: 767px) {
  .cont-main-hr {
    padding-bottom: 0px;
  }

  .cont-main-page {
    border-radius: 0px;
  }

  .cont-banner-slider .banner-slide-content {
    height: unset;
    min-height: unset;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .cont-banner-slider-nav,  .cont-banner-gallery-nav {
    margin-bottom: 10px;
  }

}

@media (max-width: 999px) {
  .cont-banner-slider .banner-slide-content {
    height: unset;
    min-height: unset;
    padding-top: 10%;
    padding-bottom: 10%;
  }

}

.cont-slider-inner, .cont-gallery-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-content: stretch;
  justify-content: flex-end;
}

.cont-slider-inner .slider-inner {
  margin-bottom: 0px !important;
}

.cont-banner-slider-nav.slider-nav-inner, .cont-gallery-slider-nav.slider-nav-gallery {
  position: absolute;
  margin: 0px;
  bottom: 12px;
  left: 0px;
  z-index: 1;
}

.cont-gallery-slider-nav.slider-nav-gallery {
  margin-bottom: 50px!important;
}


.sec-feedback-bar {
  padding: 40px 0px;
}

.sec-feedback-bar .cont-feedback-bar {
  padding: 20px;
}

.sec-feedback-bar .cont-feedback-bar .feedback-stars {
  margin: 15px 0px 35px;
}

.sec-feedback-bar .cont-feedback-bar .star-single {
  width: 26px;
  height: 15px;
  padding: 0px 5px;
  margin: 0px 3px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.sec-feedback-bar .cont-feedback-bar .star-single .icon {
  width: 15px;
  height: 15px;
  left: unset;
}



#form-ricerca-button {
  background: none;
  border: none;
  border-bottom: 2px solid white;
  border-radius: 0;
}

#formdiv {
  position: absolute;
  top: calc(50% - 45px);
}

#ricerca form input[type='text'] {
  background: transparent;
  color: white;
  border-bottom: 2px solid #fff;
}

#ricerca form input[type='text']::placeholder {
  color: white;
}

#ricerca {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #8F001D;
  display: none;
  top: 0;
  z-index: 99999;
}

#ricerca-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.toc-desktop a, 
a.card-title {
  text-decoration: none !important;

}


.toc-desktop a:hover,
a.card-title:hover {
  text-decoration: underline !important;
}


.card-style-2 a {
  text-decoration: none !important;
}

.card-style-2 a.lnk-read-more {
  text-decoration: underline !important;
}


.card-style-2 a:hover .card-title {
  text-decoration: underline !important;
}



/* Homepage Mobile Fixes */
.sec-roma-mobilita-channels .card-style-3 .card-title {
  margin-bottom: 0px;
}

.sec-roma-mobilita-channels .card-style-3 .btn-read-more {
  margin-top: 20px;
}

@media (max-width: 999px) {
  .cont-home-inline-cards {
    align-items: stretch;
  }

  .cont-home-inline-cards .card-wrapper .card-style-5 .card-title {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
  }
}

/* COMMENTED ON 24-jUL-2024 TO MAKE SOCIETA TRASPARENTE BOXES HORIZONTALLY SCROLLING 

@media (max-width: 999px)
{
  .cont-home-inline-cards{
    flex-wrap: wrap;
    overflow-x: unset;
    row-gap: 30px;
    column-gap: 30px;
  }
  .cont-home-inline-cards .card-wrapper{
    width: calc(50% - 15px);
    margin: 0px;
  }

}

COMMENTED ON 24-jUL-2024 TO MAKE SOCIETA TRASPARENTE BOXES HORIZONTALLY SCROLLING */

@media (max-width: 767px) {
  .card-style-3 .card-icon {
    margin-right: 15px;
    width: 48px;
    height: 48px;
  }

  .btn,
  .btn-read-more {
    max-width: 100%;
  }

  .cont-home-inline-cards .card-wrapper .card-style-5 {
    padding: 15px 10px;
  }

  .cont-home-inline-cards .card-wrapper .card-style-5 .card-title {
    font-size: 16px;
  }

  .cont-home-inline-cards .card-wrapper .card-style-5 a {
    font-size: 14px;
  }

  /* COMMENTED ON 24-jUL-2024 TO MAKE SOCIETA TRASPARENTE BOXES HORIZONTALLY SCROLLING
 .cont-home-inline-cards{
    row-gap: 20px;
    column-gap: 20px;
  }
  .cont-home-inline-cards .card-wrapper{
    width: 100%;
    margin: 0px;
  }
COMMENTED ON 24-jUL-2024 TO MAKE SOCIETA TRASPARENTE BOXES HORIZONTALLY SCROLLING */

}

.card-style-3.card-service-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.card-style-3.card-service-icons .card-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .card-style-3.card-service-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 5px;
  }

  .card-style-3.card-service-icons .card-icon {
    width: unset;
    height: unset;
    margin-right: 0px;
    grid-area: 1 / 1 / 3 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .card-style-3.card-service-icons .card-icon .icon {
    width: 64px;
    height: 64px;
    max-width: 100%;
  }

  .card-style-3.card-service-icons .card-title {
    grid-area: 1 / 2 / 2 / 5;
    width: auto;
  }

  .card-style-3.card-service-icons .card-btn {
    grid-area: 2 / 2 / 3 / 5;
    width: auto;
    align-items: flex-start;
  }

  .card-style-3.card-service-icons .card-btn .btn-read-more {
    margin-top: 0px;
    margin: unset;
  }
}



/* Slider - Responsive */
.cont-backdrop-slider .backdrop-slider-main .backdrop-slider-responsive img.backdrop-slide-img {
  width: 100%;
  height: auto;
  display: none;
}

.cont-banner-slider-responsive {
  display: none;
}

@media (max-width: 767px) {
  .cont-banner-slider {
    display: none;
  }

  .cont-banner-slider-nav {
    display: none;
  }

  .cont-backdrop-slider {
    position: relative;
    width: 100%;
    height: unset;
    top: unset;
    left: unset;
    z-index: unset;
  }

  .cont-backdrop-slider .backdrop-slider {
    display: none;
  }

  .cont-backdrop-slider .backdrop-slider-repsonsive {
    display: block;
  }

  .cont-backdrop-slide .backdrop-slide-single {
    height: auto;
    background: none !important;
  }

  .cont-backdrop-slider .backdrop-slide-single {
    height: unset;
  }

  .cont-backdrop-slider .backdrop-slider-main .backdrop-slider-responsive img.backdrop-slide-img {
    display: block;
  }

  .banner-slider-responsive .banner-slide-title {
    padding-right: 72px;
  }

  .cont-banner-slider-responsive {
    display: block;
    position: relative;
    margin-left: -25px;
    margin-top: -6px;
    width: calc(100% + 50px);
    padding: 0px 25px;
    background-color: #f9f9fa;
}

  .cont-banner-slider-nav-responsive {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    column-gap: 10px;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
  }
}

/* Slider - Responsive */


/* Fixes Slider Dots Issue */
.cont-home-slider.slick-dotted.slick-slider {
  margin-bottom: 15px;
}

.slider-dots .slick-dots {
  position: relative;
  bottom: unset;
}

.slider-dots .slick-dots li {
  margin: 0px 5px;
  width: unset;
  height: unset;
}

.slider-dots .slick-dots li button:before {
  display: none;
}

/* Fixes Slider Dots Issue */


.heading-h3,
h3 {
  font-size: 28px !important;
}

@media (max-width: 999px) {
  .sec-transparent-company .cont-home-inline-cards .card-wrapper .card-style-5 .card-title {
    justify-content: center;
  }

  .cont-home-news-slider .card-style-2 .card-content .card-title {
    min-height: 85px;
  }
  .sec-roma-mobilita-channels .card-style-3 .card-title {
    
    margin-left: 15px;

  }
  .sec-roma-mobilita-channels .card-style-3 .card-btn {
    
    margin-left: 15px;

  }
  .banner-slide-single{
    background-color: #f9f9fa;
    padding: 10px;
  }
  .cont-banner-slider-nav-responsive{
    top:10px;
    right: 10px;
  }
}
.sec-mobility-calendar .cont-calendar .datepicker .datepicker-picker .datepicker-header .datepicker-controls .btn.view-switch::before{
  display: none!important;
}

.cont-home-news-slider .card-style-2 .card-content .card-title {
  min-height: 85px;
}



@media (max-width: 1200px), (min-width: 991px) {
 .sec-transparent-company .card-title{
  min-height:55px;
  text-align: center;
 }
 .sec-services .btn-read-more{
  font-size: 16px;
  padding:  11px 15px;
  
 }
}


.sidebar-menu-toggler.collapsed>.icon{
  transform: rotate(180deg);
}

.card-style-5 a{
  color: #8e001c;
}
@media (min-width: 1200px) {
  .sec-mobility-calendar .calendar-dates-wrapper .cont-calendar-dates .calendar-date-single {
    width: 101px!important;
  }
}

@media (max-width: 1199px) {
  .sec-mobility-calendar .calendar-dates-wrapper .cont-calendar-dates .calendar-date-single {
    width: 77px!important;
  }
}

@media (max-width: 999px) {
  .sec-mobility-calendar .calendar-dates-wrapper .cont-calendar-dates .calendar-date-single {
    width: 54px!important;
  }
}



.section-cover.bg-image{
  background-size: cover;
    padding-top: 25px;
    padding-bottom: 25px;
    background-repeat: no-repeat;
    position: relative;
    color:white;
    background-position: center;
}

.section-cover.bg-image .cover_bg{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.section-cover.bg-image .container{
  position: relative;
}

.no-padding .content-block-style-1{
  padding-right: 0!important;
}

.section-cover.bg-image  .in-evidenza{
  background-color: white;
  border-radius: 25px;
  color:black;
  padding:39px;
}

.section-cover.bg-image  .in-evidenza .heading-h5{
  font-size: 23px!important;
}

.section-cover.bg-image  .in-evidenza a{
  font-size: 15px!important;;
}


.bg-image-mobile{
  height: calc(100vh);
  overflow-y: auto;
}

@media (max-width: 575px) {

  .in-evidenza {
    width: calc(100% - 20px)!important;
    margin-right: 10px!important;
    margin-left: 10px!important;

  }
}
  }
  .sec-piani-progetti .card-content{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  .sec-piani-progetti .card-content svg{
    width: 22px;
    height:22px;
  }

     
.svg-11 {
   width: 60%;  /* o la larghezza che desideri */
  height: auto; /* o l'altezza che desideri */
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    touch-action: pan-y; /* disabilita lo swipe orizzontale */
  }
}


@media (max-width: 768px) {
  .popout-foot ul li img {
    width: 20px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .section-cover {
    overflow: visible;
    max-height: none;
    height: auto;
    min-height: 1px; /* fallback utile */
    position: relative;
    z-index: 1; /* per sicurezza, tiene sotto altri div */
  }
}

