

html, body {
      height: 100%;
     overflow-x:hidden 
  }
  html {
      overflow-y: hidden;
  }
  body {
      overflow-y: scroll;
      padding-bottom:30px;
      padding-top:50px;
  }
  /* .modal {
      overflow-y: auto;
    } */
 body.preventivo {background-image:  linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/cert_energ_descktop.jpg');
      background-position: right bottom !important;
      background-attachment: fixed !important;
      background-size: cover !important;
      background-repeat: no-repeat;
      color: black;
      }
body.index {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/torino_descktop.jpg');
      background-position: right top !important;
      background-attachment: fixed !important;
      background-size: cover !important;
      background-repeat: no-repeat;
      color: black}
body.generic {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/torino_descktop.jpg');
      background-position: right top !important;
      background-attachment: fixed !important;
      background-size: cover !important;
      background-repeat: no-repeat;
      color: black}


      .footer {
            position: absolute;
            font-size: small;
            bottom: 0;
            width: 100%;
            height: 30px;
            line-height: 30px;
            background-color: rgb(214, 216, 216);;
        }
a {
      text-decoration: none;
}
a:hover {
      text-decoration: underline;
    }
    
h1, h2, h3, h4, h5, .navbar-light .navbar-nav .nav-link, .text-success  { color: rgb(15, 134, 95)} 
select {margin:0px}
.bg-dark{background-color: rgb(30, 50, 56)!important;}
/*a{color: rgb(65, 65, 65) ;}*/
.btn{box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5);}
.btn-xl{  
      padding: 0.5rem 1rem;
      font-size: x-large;
      line-height: 1.7;
      border-radius: 0.3rem;}
.jumbotron {
      padding: 2rem 1rem;
      margin-bottom: 2rem;
      background-color: #e9ecef;
      border-radius: 0.3rem;
}

@media (min-width: 576px) {
      .jumbotron {
            padding: 4rem 2rem;
      }
}

.jumbotron-fluid {
      padding-right: 0;
      padding-left: 0;
      border-radius: 0;
}

.jumbotron{background: linear-gradient(to right,rgba(253, 253, 253, 1) 50%,rgba(253, 253, 253, 0.5) 100%);
      text-align: center;
      padding:30px;
      margin: 30px 0px;
      box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5);
}
.jumbotron p{ margin: 30px 0px}
.jumbotron h3{display: inline; margin:10px 0px;}

.jumbotron .img{background: url('../img/home_test_desktop2.jpg') center center;
      background-size: contain;
      background-repeat: no-repeat;
      }
.head h1, .head h2 {color:white; text-shadow: 3px 2px 3px rgba(21, 39, 44, 0.8);}

.card-servizi { background: linear-gradient(to right, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.6) 100%);
      margin-bottom:20px !important;
      text-align: center;
      padding-bottom:20px !important;
      box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5); 
      padding:5px; border-radius: .3rem;
      }
.card-servizi .img{background: url('../img/home_test_desktop2.jpg') center center;
      background-size: contain;
      background-repeat: no-repeat;
      }
.card-servizi .img-ristruttura {
      background: url('../img/ristrutturazione_desktop.png') center center;
      background-size: contain;
      background-repeat: no-repeat;
 }
 .card-servizi .img-pratiche {
      background: url('../img/pratiche_edilizie_desktop.png') center center;
      background-size: contain;
      background-repeat: no-repeat;
 }
 .card-servizi .img-colf {
      background: url('../img/colf-badanti.jpg') center center;
      background-size: contain;
      background-repeat: no-repeat;
 }
.card-servizi h3{display: inline; margin:10px 0px;}
.card-servizi dl,
.card-servizi ul{
      padding-inline-start: 20px;
      text-align: left;
      color: #28a745;
      columns: 2;
}
.card-servizi dd {
      width: 50%;
    }
@media (min-width: 1025px) {      
      body.cert_energ {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/cert_energ_descktop_lg.jpg');} 
      textarea.form-control{height:150px;}
}
@media (min-width: 768px) and (max-width: 1024px) {      
      body.preventivo {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/cert_energ_mobile_lg.jpg');}
      body.index {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/torino_mobile_lg.jpg');} 

      .jumbotron{ background: linear-gradient(to right, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.4) 100%); 
            padding:40px 10px;
            height:35vh;
      }
      .jumbotron p{ margin: 20px 0px}
      .btn-xl{ font-size: initial;}
      body.index .card ul > li {font-size:13px;}
      textarea.form-control{height:150px;}
}
@media (min-width: 430px) and (max-width: 767px) {      
      body.preventivo {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/cert_energ_mobile_lg.jpg');}
      body.index {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/torino_mobile_lg.jpg');} 

      .jumbotron{ background: linear-gradient(to right, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.4) 100%); 
            padding:10px;
            height:35vh;
      }
      .jumbotron p{ margin: 10px 0px}
      /* RTE -> 
      .jumbotron .img{height:40vh;background-repeat: no-repeat;}
      */
      .card-servizi .img,
      .card-servizi .img-ristruttura,
      .card-servizi .img-pratiche,
      .card-servizi .img-colf {height:40vh;background-repeat: no-repeat;}
      /* RTE <- */
      .btn-xl{ font-size: initial;}
      body.index .card ul > li {font-size:13px;}
      textarea.form-control{height:150px;}

}
@media (orientation:portrait) and (max-width: 429px) {      
      body.preventivo {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/cert_energ_mobile.jpg');}
      body.index {background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(14, 24, 16, 0.73)),url('../img/torino_mobile.jpg');} 
      
      .jumbotron{ background: linear-gradient(to bottom, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.4) 100%); padding:10px;}
      .jumbotron p{ margin: 10px 0px}
      .jumbotron .img{height:20vh;background-repeat: no-repeat;}
      
      .card-servizi .img,
      .card-servizi .img-ristruttura,
      .card-servizi .img-pratiche,
      .card-servizi .img-colf {height:20vh;background-repeat: no-repeat;}
      .btn-xl{ font-size: initial;}
      body.index .card ul > li {font-size:13px;}
}
.card { background: linear-gradient(to bottom, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.6) 100%);
      margin-bottom:20px !important;
      /* padding-bottom:20px !important; */
      box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5); 
      
      }
.card-home { background: linear-gradient(to bottom, rgba(255, 255, 255,1) 50%,rgba(252, 252, 252, 0.6) 100%);
      margin-bottom:20px !important;
      /* padding-bottom:20px !important; */
      box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5); 
      padding:5px; border-radius: .3rem;
      }
.card-home ul{padding-inline-start: 20px;}

.select2-container--default .select2-selection--single {
      display: block;
      width: 100%;
      height: calc(1.5em + .75rem + 3px);
      padding: .375rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: #495057;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid #ced4da;
      border-radius: .25rem;
      transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
      
}

.select2-container {
      max-width: 100%;
}

.select2-selection--multiple:after{
      content:"";
      position:absolute;
      right:10px;
      top:15px;
      width:0;
      height:0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-top: 5px solid #888;
     }

/* .select2-container {
      width: 100% !important;
} */

.handcursor { cursor: pointer; }
nav{box-shadow: 1px 1px 9px 1px rgba(0,0,0,0.5); }
.navbar-nav .nav-link {font-weight: bold;}
.navbar-nav .nav-link.active{color: rgb(32, 99, 32); font-weight: bold; text-decoration: none;}
.navbar-nav .nav-link:hover {color:rgb(32, 99, 32); font-weight: bold; text-decoration: none;}
.navbar-brand:hover, .navbar-brand:focus {
      text-decoration: none;
    }
.bg-light{background-color: rgb(235, 238, 235) !important;}
.button-botton {position: absolute; bottom:20px; text-align: center;}

/*Cookie Consent Begin*/
#cookieConsent {
      background-color: rgba(20,20,20,0.8);
      min-height: 26px;
      font-size: 14px;
      color: #ccc;
      line-height: 26px;
      padding: 8px 0 8px 30px;
      font-family: "Trebuchet MS",Helvetica,sans-serif;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      display: none;
      z-index: 9999;
  }
  #cookieConsent a {
      color: #4B8EE7;
      text-decoration: none;
  }
  #closeCookieConsent {
      /* float: right; */
      display: inline-block;
      cursor: pointer;
      height: 20px;
      width: 20px;
      margin: -15px 0 0 0;
      font-weight: bold;
  }
  #closeCookieConsent:hover {
      color: #FFF;
  }
  #cookieConsent a.cookieConsentOK {
      background-color: #F1D600;
      color: #000;
      display: inline-block;
      border-radius: 5px;
      padding: 0 20px;
      cursor: pointer;
      /* float: right; */
      margin: 0 60px 0 10px;
  }
  #cookieConsent a.cookieConsentOK:hover {
      background-color: #E0C91F;
  }
  /*Cookie Consent End*/
  
.panel-heading {
      position: relative;
}
/* [data-toggle="collapse"] .fa:before {   */
.panel-heading[data-toggle="collapse"] .fa:after {
  /* content: "\f139"; */
  /* font-family: 'Glyphicons Halflings'; */
  /* content: "\e072"; /* "play" icon */
  content: "\f04b";
  position: absolute;
  color: #b0c5d8;
  font-size: 18px;
  line-height: 22px;
  right: 20px;
  top: calc(50% - 10px);

  /* rotate "play" icon from > (right arrow) to down arrow */
  -webkit-transform: rotate(-90deg);
  -moz-transform:    rotate(-90deg);
  -ms-transform:     rotate(-90deg);
  -o-transform:      rotate(-90deg);
  transform:         rotate(-90deg);
}

/* [data-toggle="collapse"].collapsed .fa:before { */
.panel-heading[data-toggle="collapse"].collapsed .fa:after {
  /* content: "\f13a"; */
  -webkit-transform: rotate(90deg);
  -moz-transform:    rotate(90deg);
  -ms-transform:     rotate(90deg);
  -o-transform:      rotate(90deg);
  transform:         rotate(90deg);
}

.dropzone {
      width: 100%;
}

.btn:hover {
      text-decoration: none;
}
/* Colori bootstrap 4 */

.link-info {
      color: #17a2b8;
}
.link-info:hover, .link-info:focus {
      color: #138496;
}

.btn-info {
      color: #fff;
      background-color: #17a2b8;
      border-color: #17a2b8;
}   
.btn-info:hover {
color: #fff;
background-color: #138496;
border-color: #117a8b;
}
.btn-info:focus, .btn-info.focus {    
      color: white;                              
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
background-color: #138496;
border-color: #117a8b;
}
.btn-info.disabled, .btn-info:disabled {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
}
.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
color: #fff;
background-color: #117a8b;
border-color: #10707f;
}

.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus {
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}
.text-justify {
      text-align: justify !important;
}

.accordion-button {
      background-color: transparent !important;
}