/***************************************************ADT*********************************************************************/

h2 {
  color: #2C4B69;
}

h2.block-title {
  margin: 1rem 0;
}

h2.block-title:after {
  padding-top: 8px;
}

/*BREADCRUMB*/
.breadcrumb .active {
  color: #4276B2;
}


/*BOOTBLOCK - COLONNA CON ICON INLINE*/
.nomargin {
  margin-right: 0;
  margin-left: 0;
}

/*BOOTBLOCK - ACCORDION*/
#accordion .card {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  width: 90%;
  margin: 50px auto;
}

#accordion .card:after {
  content: '';
  display: block;
  margin-top: 18px;
  margin-left: 24px;
}

#accordion .card-header {
  padding: 1rem 2rem 0 0;
  margin-bottom: 0;
  background-color: transparent;
  border-bottom: 0;
}

#accordion button {
  color: #17324d;
  font-size: 28px;
  font-weight: 600;
}

#accordion .collapse-header *[data-toggle="collapse"] {
  border-top: none;
}

@media (max-device-width: 767px) {
  #accordion button {
    font-size: 24px;
  }
}

/*BOOTBLOCK. SECTION FIVE ICONS BLOCK*/
/* 
#section-five-icons-block img {
  margin-top: -50px;
} 
*/

/*BOOTBLOCK - SECTION REF*/
#section-ref {
  padding: 2em 0 5em;
}

#section-ref .row {
  width: 100%;
}

#section-ref img {
  margin-top: -50px;
}

.block-referente {
  display: none;
  border: 2px solid #42709c;
  text-align: center;
  background-color: #ffffffd9;
  position: absolute;
  bottom: 35px;
  padding: 8px 15px;
  z-index: 99;
  width: 95%;
  margin-left: 1%;
}

#referente svg{
  margin-bottom: -35px;
  z-index: 98;
}

#section-ref .card:after {
  margin-top: 0;
}

#section-card3 .card:after {
  margin-top: 0;
}

#section-ref .row [class*="col-"]>.card-wrapper {
  height: auto;
  margin: 0 0 0 26%;
  background: white;
}

/*BOOTBLOCK - SECTION CARD 3*/
#section-card3 .row [class*='col-'] > .card-wrapper {
  height: auto;
  margin: 0 0 0 26%;
  background: white;
}

#section-card3 .row [class*='col-'] > .card-wrapper.shadow.rounded.left-card-bootblock {
  height: 100%;
  height: auto;
  margin: 0 0 0 26%;
  background: white;
}

#section-card3 img {
  margin-top: -50px;
}

#section-ref div.col-xs-12.d-block.d-sm-none{
  margin: 30px 0;
}

.top-m-ref{
  margin-top: 80px;
}

.mt-ref {
  margin-top: 30px;
}

@media screen and (max-width: 992px) {
  #section-ref .row [class*="col-"]>.card-wrapper {
    margin: 0 3% 0;
  }

  #section-ref {
    padding: 0;
    margin-bottom: 30px
  }

  #section-card3 .row [class*='col-'] > .card-wrapper {
    margin: 0 3% 0;
    margin-bottom: 50px;
  }

  #section-card3 .row [class*='col-'] > .card-wrapper.shadow.rounded.left-card-bootblock {
    margin: 0 3% 0;
    margin-bottom: 50px;
  }

  .mt-ref {
    margin-top: 0px;
  }

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
  .top-m-ref{
    margin-top: 0px;
  }

  #referente svg {
    display: none;
  }
}

/*BOOTBLOCK - FIVE ICON BLOCK*/
 .boot-text-left {
  text-align: right;
 }

 @media (max-device-width: 767px) {
    .boot-text-left {
      text-align: left;
    }
  }

/*BOOTBLOCK - ICON SECTION*/
.icon-boot-top {
  background-image: url('images/top.svg');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100px;
  min-height: 162px;
}

.icon-boot-middle {
  background-image: url('images/middle.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100px;
}

.icon-boot-bottom {
  background-image: url('images/bottom.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100px;
  min-height: 162px;
}

.icon-boot-five-top {
  background-image: url('images/top.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100px;
  min-height: 162px;
}

.icon-boot-five-middle {
  background-image: url('images/middle.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100px;
  min-height: 148px;
}

.icon-boot-five-bottom {
  background-image: url('images/bottom.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100px;
  min-height: 162px;
}

#icon-section {
  padding: 70px 6px 0px;
}

#icon-section h2 {
  width: 100%;
  text-align: center;
}

#icon-section img {
    margin-top: 12%;
    margin-left: 12%
}

#icon-section .card:after {
  margin-top: 15px;
}

#icon-section .row {
  width: 100%;
}

#icon-section .row [class*='col-'] > .card-wrapper {
  margin: 0 10%;
  background: white
}

#icon-section .card-title {
  text-transform: uppercase;
  color: black;
}

@media (max-device-width: 992px) {
  #icon-section .row [class*='col-'] > .card-wrapper {
    margin: 0 0%;
    background: white;
    height: auto;
  }

  #icon-section .card-wrapper {
    padding-bottom: 0;
    display: flex;
  }

  #icon-section .row .col-8 {
    padding: 16px 0;
  }

  #icon-section img {
    margin-top: 60%;
  }

  #icon-section .card:after {
    margin-top: 0px;
  }

  .icon-boot-top {
    background-image: url('images/middle.svg');
    background-position: center;
    background-size: cover;
    min-height: 233px;
  }

  .icon-boot-middle {
    min-height: 185px;
    background-size: cover;
  }

  .icon-boot-five-top {
    background-image: url('images/middle.png');
    background-position: center;
    background-size: cover;
    min-height: 233px;
  }

  .icon-boot-five-middle {
    min-height: 185px;
    background-size: cover;
  }

  .nodislpay {
    display: none;
  }
}

@media (max-device-width: 767px) {
  #icon-section .row [class*='col-'] > .card-wrapper {
    margin: 0 0%;
    background: white;
    height: auto;
  }

  #icon-section .card-wrapper {
    padding-bottom: 0;
    display: flex;
  }

  #icon-section .row .col-8 {
    padding: 16px 0;
  }

  #icon-section img {
    margin-top: 60%;
  }

  #icon-section .card:after {
    margin-top: 0px;
  }

  .icon-boot-top {
    background-image: url('images/middle.svg');
    background-position: center;
    background-size: cover;
    min-height: 233px;
  }

  .icon-boot-middle {
    min-height: 233px;
    background-size: cover;
  }

  .icon-boot-five-top {
    background-image: url('images/middle.png');
    background-position: center;
    background-size: cover;
    min-height: 233px;
  }

  .icon-boot-five-middle {
    min-height: 233px;
    background-size: cover;
  }
}

/* HEADER */
.it-header-wrapper.has-bgimage .it-header-center-wrapper.theme-light, .it-header-wrapper.has-bgimage:not(.is-sticky) .it-header-navbar-wrapper.theme-light-desk {
  padding: 0;
}

#block-aqpfacile--2 > div > ul > li > a {
  padding: 5px 25px !important;
  margin-top: 0 !important;
  width: 150px;
  float: right;
}

svg.icon-dropdown {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  padding-top: 4px;
}

.it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li a.nav-link {
  padding-right: 0px;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list a {
  font-size: 0.75rem;
}

.navbar .close-div {
  padding: 0px 8px 0px 0px;
  left: 50px;
  right: 50px;
  top: 7px;
  background: transparent;
  font-size: 25px;
}

@media (max-width: 480px) {
  .carousel-slider .owl-wrapper-outer{
    height: 175px;
  }

  .carousel-slider .img-responsive-wrapper .img-responsive .img-wrapper img {
    height: auto;
  }

}

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

  .search-button {
    width: 300px;
    display: flex;
    justify-content: space-between;
    height: 30px;
    padding: 2px 20px;
  }

  #header .icon-social, #it-header .icon-social, header .icon-social {
    width: 25px;
    height: 25px;
  }

  .it-socials.d-none.d-md-flex.mb-3 {
    margin-bottom: 5px !important;
  }

  h2 {
    font-size: 2rem;
  }

  h5 {
    font-size: 0.8rem;
    line-height: 23px;
  }

  p{
    font-size: 0.7rem;
  }

  p.card-text {
    font-size: 0.7rem;
  }
  
  .btn.btn-rounded, .btn-rounded {
    border-radius: 2em;
    font-size: 0.75rem;
    padding: 6px 20px;
  }

  .separatore-svg {
    display: none;
  }

  .card.card-img h5.card-title {
    font-size: 16px;
    line-height: 23px;
  }

}

@media (min-width: 992px){

  .search-button {
    width: 300px;
    display: flex;
    justify-content: space-between;
    height: 40px;
    padding: 5px 20px;
  }

  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 300px;
    height: auto;
    margin-top: 30px;
    margin-right: 16px;
  }
}

@media (max-width: 1250px){
  .it-header-navbar-wrapper.theme-light-desk .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-size: 15px;
  }
}

/* FOOTER */
footer h2.block-title {
  margin-bottom: 40px;
  font-size: 30px;
  color: white;
  text-align: left;
}

footer h2.block-title::after {
  margin: 0;
}

footer p {
  text-align: left !important;
}

#it-region-footer-third .views-row {
  display: inline-block;
  border: none;
  background-color: #56789d;
  border-radius: 5px;
  padding: 15px 20px 5px;
  margin-bottom: 5px;
}

#it-region-footer-third .views-row:hover {
  background-color: #565a9d;
}

#it-region-footer-third .views-row div a {
  font-size: 16px;
  color: white;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
}

/*PAGINATION OWL CAROUSEL*/
.owl-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.owl-theme .owl-controls .owl-page span {
  background: #DEDEDE;
}

/*QUICK NODE HOME*/
div.field.field--name-node-title.field--type-ds.field--label-hidden h2 {
  font-size: 20px;
}

@media (max-device-width: 992px) {
  div.field.field--name-node-title.field--type-ds.field--label-hidden h2 {
    font-size: 18px;
  }
}

/*LAYOUT BUILDER CLASSES*/
.bg-cloud{
  background:white url('images/clouds_background.jpg') no-repeat center top;
  background-size: cover;
}

.statua-bg {
  background-image: url("images/statua.png");
  background-position: bottom;
}

.sostenibilita-bg {
  background-image: url('images/banner_sostenibilita.png');
  background-size: cover;
}

.pianeta-bg {
  background-image: url('images/banner_acqua_fra_banchi.png');
  background-size: cover;
  height: 200px;
}

.sostenibilita-bg h2.text-align-center {
  color: #fff;
  text-decoration: underline;
  font-size: 50px;
}

.statua-with-fade {
  position: relative;
  background: white;
  overflow: hidden;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)), url('images/statua.png');
}

.acquerello-bg {
  background: #fff url('images/acquerllo.png') no-repeat center top;
  background-size: cover;
  background-position: center;
}

.acquerello-with-fade {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('images/acquerllo.png');
}

.bg-position-y {
  background-position-y: -315px;
}

.gradient-bg {
  background-image: linear-gradient(to bottom right, #D9E3F0, #F0F4F9);
}

.transparent-card-bg .card.card-inline {
    flex-direction: row;
    background-color: transparent;
}

.transparent-card-bg .card-title h2 {
  font-size: 2rem;
  white-space: nowrap;
}

.section-no-bottom {
  padding: 112px 112px 0 112px;
  margin: 0;
}

.section-no-top {
  padding: 0 112px 112px 112px;
}

.solid-color-bg-violet {
  background-color: #a4b6c3a6;
  color: white;
  padding: 50px 0px;
}

.solid-color-bg-violet p {
  color: white;
}

.carousel-card-adt .owl-pagination {
  bottom: auto;
}

.box-shadow-iframe > div > div {
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.42);
}

.layout--base--twocols a {
  background-color: #f6f8fa;
  border: solid 4px #2C4B69;
  color: #2C4B69;
}

.layout--base--twocols a:active {
  background-color: #f6f8fa;
}


.layout--base--twocols a:hover {
  color: #5980a1;
}

.mtop-10{
  margin-top: -10px;
}

@media (max-width: 767px) {

  .bg-cloud-responsive{
    background:#fff url('images/clouds_background.jpg') no-repeat center top;
    background-size: cover;
    background-position: right;
  }

  .ds-2col-stacked > .group-left {
    width: 100%;
  }

  .ds-2col-stacked > .group-right {
    width: 100%;
  }

  .section-no-bottom {
    padding: 32px 24px;
  }

  .section-no-top {
    padding: 32px 24px;
  }
}

.it-hero-wrapper {
  min-height: 250px;
}

.sidebar-toggler .btn.btn-flat{
  background: transparent;
  font-weight: bold; 
}

/*VIEWS CLASSES*/
.avvisi-qual {
  background-color: white;
}

.card.avvisi-qual:after {
  margin-top: 0;
}

.date-small-text {
  font-size: 12px;
  color: #c5c3c3 !important;
  font-weight: 300;
}

.card-clients-right {
  min-height: 341px;
  margin: 1% 15% 5% 3%;
  padding: 5%;
}

.card-clients-left  {
  min-height: 341px;
  margin: 1% 3% 5% 15%;
  padding: 5%;
}

.border-left-view {
  border-left: 3px solid #2C4B69;
}

@media (max-device-width : 768px) {
  .card-clients-right {
    margin: 1% 3% 5% 5%;
  }

  .card-clients-left  {
    margin: 1% 3% 5% 5%;
  }
}

/*VIEWS CLASSES - CAROUSEL*/
#carousel-aqp {
  min-height: 620px;
  background-color: transparent;
}

#carousel-aqp h1 a {
  color: white;
  text-decoration: none;
}

#carousel-aqp h1 a:hover {
  color: white;
  text-decoration: none;
}

#carousel-aqp-home {
  min-height: 620px;
  background-color: transparent;
}

@media (max-device-width: 992px) {
  #carousel-aqp {
    min-height: auto;
  }

  #carousel-aqp-home {
    min-height: 380px;
  }

}

@media (min-width: 992px){
  #carousel-aqp-home .it-hero-text-wrapper.bg-dark {
    padding: 415px 0 0 120px !important;
  }

  #carousel-aqp-home a {
    text-decoration: none;
  }

  #carousel-aqp-home h1 {
    font-size: 30px;
  }

  #carousel-aqp-home a:hover {
    text-decoration: none;
  }

  #carousel-aqp-home .it-hero-wrapper.it-dark.it-overlay .img-responsive-wrapper::after {
    opacity: .77;
    background: transparent;
    background-image: linear-gradient(-180deg,rgba(39,112,183,0) 0%,#021327 100%);
  }
}

.badge.badge-pill.badge-primary {
  color: #fff;
  padding: 7px 18px;
  font-weight: 300;
}

.badge.badge-pill.badge-primary {
  color: white;
}

.main-content {
  padding-bottom: 0px;
}

/*SIDEBAR MENU*/
.sidebar-collapsible {
  z-index: 99;
  height: auto;
}

/*HERO STYLE*/
.it-hero-wrapper .it-hero-text-wrapper.bg-dark h2 {
  font-size: 28px;
}

/*LAYOUT GENERALE*/
body {
  background-color: #F6F8FA;
}

main {
  background-color: white;
}

.layout-content {
  z-index: 1;
}

.row.row-column-menu-left > [class^='col-']:first-child {
  padding: 0rem 0;
}

div.col-12.col-lg-12.col-xl-12.it-page-sections-container {
  padding: 0;
}

.card-title a {
  text-decoration: none;
  color: black;
}

.card .card-body .card-text {
  color: black;
}

.right-arrow {
  height: 30px;
  width: 100%;
  text-align: right;
  padding-right: 30px;
}

.right-arrow-bootblock {
  height: 30px;
  width: auto;
  text-align: right;
  padding-right: 30px;
}

.right-arrow a {
  background-image: url('../icons/arrow-right.svg');
  position: absolute;
  height: 30px;
  width: 30px;
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
}

.right-arrow-bootblock a {
  background-image: url('../icons/arrow-right.svg');
  position: absolute;
  height: 30px;
  width: 30px;
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
}

@media screen and (min-width: 1340px) {
  /* header.container {
    max-width: 1340px;
    margin: 0 auto;
  }

  footer.container {
    max-width: 1340px;
    margin: 0 auto;
  }  */

  body {
    max-width: 1340px;
    margin: 0 auto;
  }

}

.it-hero-full-width {
  width: 100%;
  left: 0;
  max-width: 1340px;
  margin-left: 0;
}

.sticky {
  position: relative !important;
}

.nav-social li a {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sidebar-collapsible {
  background: rgba(255, 255, 255, 1.3);
}

.taxonomy-item > div > div {
  display: inline-block;
  border: none;
  background-color: #56789d;
  border-radius: 5px;
  padding: 15px 20px 5px;
  margin-bottom: 5px;
}

.taxonomy-item > div > div a {
  font-size: 16px;
  color: white;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
}

.taxonomy-item > div > label {
  display: block;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
}

.allegato-item {
  margin: 50px 0;
}

.allegato-item label {
  display: block;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
  color: #000;
}

.label-custom {
  display: block;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
  color: #000;
}

/* hide block tite for social wall blocks */
.it-block-facebook .block-title,
.it-block-instagram .block-title,
.it-block-twitter .block-title,
.it-block-youtube .block-title{
  display: none;
} 

.imagelightbox.img-fluid:hover {
  -webkit-transform: scale(1.1,1.1);
}

.a2a_kit.a2a_kit_size_32.addtoany_list {
  display: block;
  clear: both;
}

#page-user-login .main-container #it-region-brand a .icon {
  width: 300px;
  height: auto;
  margin-right: 0;
  fill: #ffffff;
}

div.js-webform-radios.webform-options-display-one-column {
  padding-top: 40px;
}

div.js-webform-radios.webform-options-display-one-column div {
  margin: 0;
}

.fieldset-legend {
  font-size: 18px;
  font-weight: 600;
  color: #605a70;
}

.js-form-wrapper.form-wrapper div {
  margin: 0;
  padding: 10px 0;
}

.js-form-item.form-item.form-group label.js-form-required.form-required.active{
  font-size: 18px;
  font-weight: 600;
  color: #605a70;
}

.js-form-item.form-item.form-group.js-form-type-managed-file {
  margin: 0;
  padding: 10px 0;
}

.js-form-item.form-item.form-group.js-form-type-managed-file label.active{
  font-size: 18px;
  font-weight: 600;
  color: #605a70;
}

td div label.js-form-required.form-required.active {
  transform: none;
}

.form-group label {
  overflow: hidden;
  text-overflow: unset;
  white-space: normal;
}

#ajax-wrapper--2 {
  padding: 40px 0 0 0;
}

@media (max-width: 480px) {
  .form-mobile button.btn.btn-outline-primary.btn-mobile.btn-rounded.btn-block.search-button {
    padding: 12px 13px;
  }
}

@media (max-width: 768px) {
  #carousel-aqp h1 {
    font-size: 20px;
    margin: 0;
  }

  .sostenibilita-bg h2.text-align-center {
    font-size: 1.6rem !important;
  }

  .modal .modal-dialog .modal-content {
    padding: 25px 10px !important;
  }

  h4.modal-title {
    font-size: 1rem;
  }

  .modal .modal-dialog {
    margin: 48px 17px;
  }
  
  #it-region-breadcrumb {
    display: none;
  }

  .it-hero-wrapper .it-hero-text-wrapper.bg-dark h1 {
    font-weight: 700;
  }

  .it-hero-wrapper .it-hero-text-wrapper.bg-dark h2 {
    font-size: 23px;
  }

  #modulistica-carousel .card .card-body {
      padding: 40px 54px;
  }

  .modulistica-carousel .owl-theme .owl-controls .owl-buttons div {
    top: 36%;
  }

}

@media (max-width: 992px) {
  .webform-likert-table thead {
    display: block;
  }

  .webform-likert-table tbody {
    display: block;
  }

  .webform-likert-table .form-check [type="radio"] {
    position: inherit;
    left: 0;
  }

  .webform-likert-table th {
    display: block;
    width: 45px !important;
  }

  .webform-likert-table th:first-of-type {
    display: none !important;
  }

  .webform-likert-table td {
    display: block;
    width: 45px !important;
  }

  .webform-likert-table td:first-of-type {
    display: none !important;
  }

  .webform-likert-table td div label.option.active {
    display: none !important;
  }

  .webform-likert-table tr {
    display: flex;
    flex-direction: row;
  }

  .webform-likert-table tr:first-of-type {
    background-color: #323333;
  }

}

@media (max-width: 480px) {

  .webform-likert-table {
    margin-bottom: 60px;
  }

  .webform-likert-table th {
    display: block;
    width: 20px !important;
  }

  .webform-likert-table td {
    display: block;
    width: 20px !important;
  }
  
}

.bootstrap-select-wrapper button .filter-option .filter-option-inner-inner {
  text-transform: uppercase;
}

.bootstrap-select-wrapper .dropdown.bootstrap-select .dropdown-menu li a span.text {
  text-transform: uppercase;
}

/*ADT: Override della classe che si trova in main.css*/
.link-list-wrapper ul li a {
  line-height: 1.9em !important;
}

.bootblock-five-center-card {
  margin-left: 48px !important;
}

@media (min-width: 320px) and (max-width: 480px) {
  
  .bootblock-five-center-card {
    margin-left: 0 !important;
  }

  #block-aqpfacile {
    width: 50% !important;
  }
  
}

.waterflow-min-height {
  min-height: 146px !important;
  max-height: 146px !important;
}

@media (min-width: 992px) {
  .it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list a {
    padding-top: 12px;
  	padding-bottom: 12px;
  }
}
