@import url(//fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800);
* {
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7em;
  font-weight: 400;
  font-size: 16px;
  color: #212121;
  overflow-x: hidden;
  padding-top: 0px;
  background-color: #f9f9fb;
}
section,
div,
table,
h1,
h2,
h3,
h4,
h5,
table,
td,
ul,
li,
a,
p {
  font-family: "Montserrat", sans-serif;
}
a {
  color: #000;
}
a:hover {
  color: #333;
  text-decoration: underline;
}
.link-ext {
  font-size: 18px;
  padding: 15px 0px;
  text-decoration: underline;
  font-weight: 600;
}
.clear {
  clear: both;
}
.right {
  float: right;
}
.left {
  float: left;
}
.center {
  text-align: center;
}
h1 {
  font-weight: 600;
  font-size: 40px;
  color: #000;
}
h2 {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: #000;
}
h3 {
  font-weight: 600;
  font-size: 32px;
  color: #000;
  line-height: 1.6;
}
h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}
h5 {
  font-size: 18px;
  font-weight: bold;
}
p {
  font-size: 18px;
  line-height: 1.6em;
  font-weight: 400;
  color: #000;
}
a {}
a:hover {}
.custom-select {
  border: 1px solid #333;
}

.title-label-service{font-size:22px!important;font-weight:700!important;text-align:center;}
.custom-select-lg {
  font-size: 1rem;
  height: calc(1.9em + 1rem + 2px);
  padding-top: .9rem;
  padding-bottom: .9rem;
  padding-left: 1rem;
}
section {width:100%;}
ul {}
li {
  margin-left: 30px;
}
.alert{font-weight:normal;font-size:14px;}
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  cursor: pointer;
}
.header {
  top: 0;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  width: 100%;
  position: fixed;
  z-index: 1001;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05);
}
.bg-white {
  background: #fff;
}
.nav {
  padding: 0;
  margin: 0;
}
.nav-item {
  padding: 5px 10px;
  margin: 0;
}
.nav-link {
  padding: 0;
  margin: 0;
  font-size: 17px;
}
a.nav-link {
  color: #000;
  font-weight: 500;
  border-bottom: 4px solid transparent;
}
a:hover.nav-link {
  color: #333;
  text-decoration: none;
  border-bottom: 4px solid #333;
}
.box {
  border: 2px solid #e8e8e8;
  padding: 10px;
  border-radius: 5px;
  margin: 5px 0px;
}
.box:hover {
  border: 2px solid #03669d;
}
.box h6 {
  font-size: 0.8em;
}
/* Footer 
-----------------------------------------------------------------------------*/
.footer {
  padding: 100px 0px;
  border-top: 1px solid #e8e8e8;
}
.footer h4 {
  font-size: 1em;
  padding-bottom: 15px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  display: block;
  margin: 0;
}
.copyright {
  padding: 20px 0px;
  background-color: #f8f9fa;
}
a.link-com {
  text-decoration: none;
  color: #333;
}
a:hover.link-com {
  text-decoration: none;
  color: #333;
}
a.link-com .card .card-body {
  text-decoration: none;
  color: #333;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
}
a:hover.link-com .card .card-body {
  text-decoration: none;
  color: #333;
  border: 1px solid #1e5c97;
  border-radius: 5px;
}
/* Page 
-----------------------------------------------------------------------------*/
#hero {
  padding-top: 160px;
}
.how {
  padding: 50px 0px;
  background-color: #f4f8fa
}
.services {
  padding: 50px 0px;
  background-color: #fff
}
.list-point {
  display: block;
  padding: 15px;
}
.list-point ul {
  list-style: none;
}
.list-point ul li {
  display: block;
  border: 1px solid red;
}
.list-point ul li span.number {
  font-size: 2em;
}
.big-icon {
  font-size: 4em;
  padding: 10px;
}
.circle {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  /* the magic */
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  color: white;
  font-size: 2em;
  text-transform: uppercase;
  font-weight: 700;
  background: #none;
  color: #000;
  border: 1px solid #000;
}
.card-point {
  border: 0;
  padding: 15px;
  margin-bottom: 15px;
}
.card-point .card-body {
  border: 0;
  padding: 0;
}
/**/
.hero h1 {
  font-weight: 100;
  line-height: 50px;
  font-size: 33px;
}
.hero h1 span {
  border-bottom: 3px solid #188ef4;
}
.testimonial h1,
.testimonial h2,
.testimonial h3,
.testimonial h4,
.testimonial h5,
.testimonial h6 {
  color: #3e4555;
}
.testimonial .font-weight-medium {
  font-weight: 500;
}
.testimonial .font-weight-normal {
  font-weight: 400;
}
.testimonial .bg-light {
  background-color: #f4f8fa !important;
}
.testimonial .subtitle {
  color: #8d97ad;
  line-height: 24px;
}
.homepro {
  padding: 80px 0px;
}
.homepro h1,
.homepro h2,
.homepro h3,
.homepro h4,
.homepro h5,
.homepro h6 {
  color: #3e4555;
}
.homepro .font-weight-medium {
  font-weight: 500;
}
.homepro .font-weight-normal {
  font-weight: 400;
}
.homepro .bg-light {
  background-color: #f4f8fa !important;
}
.homepro .subtitle {
  color: #8d97ad;
  line-height: 24px;
}
#content {
  padding: 100px 0px;
  border-top: 1px solid #e8e8e8;
}
#reviews {
  padding: 100px 0px;
  border-top: 1px solid #e8e8e8;
}
/* general
-----------------------------------------------------------------------------*/
.card-testimonial {
  padding: 15px;
  border: 0;
  min-height: 350px;
  border: 1px solid #e8e8e8;
  margin-right: 15px;
}
.card-shadow {
  webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.testimonial-reviews {
  font-family: "Montserrat", sans-serif;
  color: #3e4555;
  font-weight: 400;
  line-height: 24px;
  font-size: 1.2em;
}
.testimonial-name {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 0.8em;
}
.card-footer {
  background: #fff;
  border: 0;
}
.stars {
  color: #ec691d !important
}
/* Tables  
-----------------------------------------------------------------------------*/
table {
  border-spacing: 0;
  border-collapse: collapse;
}
td {
  text-align: left;
  font-weight: normal;
}
/* button  
-----------------------------------------------------------------------------*/
.btn {
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  padding: .8rem .1rem;
}
.btn-primary {
  color: #fff;
  background-color: #51C35D;
  border-color: #51C35D;
}
.btn-primary:hover {
  color: #fff;
  background-color: #4db848;
  border-color: #4db848;
}
.btn-strong {
  padding: 15px 40px;
}
.btn-strong span {
  font-size: 1.5em;
  vertical-align: middle;
}
.btn-strong i {
  font-size: 2em;
  vertical-align: middle;
}
.btn-pro {
  margin: 0 !important;
  background-color: none;
  border-color: #acc9e1;
}
.btn-pro:hover {
  background-color: #f7f7f8;
  border-color: #8abae2 !important;
  color: #000131 !important;
}
/* slider  
-----------------------------------------------------------------------------*/
.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  padding: 40px 0px;
}
.swiper-button-prev {}
.swiper-button-next {}
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 10px;
  width: calc(var(--swiper-navigation-size)/ 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(-1 * var(--swiper-navigation-size)/ 2);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  left: 0px;
  right: auto;
  font-size: 1.8em !important;
  color: #333;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  right: 0px;
  left: 30px;
  right: auto;
  font-size: 1.8em !important;
  color: #333;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-family: swiper-icons;
  font-size: var(--swiper-navigation-size);
  text-transform: none !important;
  letter-spacing: 0;
  text-transform: none;
  font-variant: initial;
  font-size: 0;
}
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: .3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}
#categorie {
  padding: 120px 0px;
}
/*post*/
#post {
  padding: 30px 0px;
}
#post ul {
  padding: 15px 0px;
}
#post ul li {
  font-size: 18px;
  padding: 5px 0px;
  line-height: 1.8em;
  color: #111
}
#post p {
  font-size: 22px;
  line-height: 1.9em;
}
#post h2 {
  padding: 25px 0px;
}
.post-header {}
.post-table-content {
  background: #f1f1f1;
  padding: 25px;
  border-radius: 10px;
}
.index-table {
  list-style: none;
}
.index-table li {}
.h-post-title {
  padding: 15% 5%;
  color: #fff;
}
.h-post-title h1 {
  border-left: 5px solid #fff;
  padding-left: 25px;
  color: #fff;
  font-size: 3em;
  font-weight: 800;
}
.overlay-background {
  background: #333;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0.5;
}
.post-header {
  background-size: cover;
  background-position: center center;
  height: 100vh;
  position: relative;
  margin-bottom: 70px;
  max-height: 80vh;
  padding: 0px;
}
.post-img {
  border-radius: 0;
}
.post-img-caption {
  padding: 15px 30px;
  font-size: 14px;
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
}
.post-intestation {
  padding: 150px 0px;
  background-image: url("http://127.0.0.1/ristrutturazioni/assets/images/hpost.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}
.post-title {
  padding: 15px 0px;
}
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.article-post-img {
  overflow: hidden;
}
.post-image img {
  -webkit-transition: all 1s ease;
  /* Safari and Chrome */
  -moz-transition: all 1s ease;
  /* Firefox */
  -ms-transition: all 1s ease;
  /* IE 9 */
  -o-transition: all 1s ease;
  /* Opera */
  transition: all 1s ease;
}
.post-image:hover img {
  -webkit-transform: scale(1.1);
  /* Safari and Chrome */
  -moz-transform: scale(1.1);
  /* Firefox */
  -ms-transform: scale(1.1);
  /* IE 9 */
  -o-transform: scale(1.1);
  /* Opera */
  transform: scale(1.1);
}
.post-table-of-content {
  border-right: 1px solid #e8e8e8;
  padding: 30px 15px;
}
.post-table-of-content h4 {
  font-size: 18px;
  padding-bottom: 10px;
}
.post-table-of-content ul.nav {
  margin: 0;
  padding: 0;
}
.post-table-of-content ul.nav li.nav-item {
  margin: 0;
  padding: 0;
}
.post-table-of-content ul.nav li.nav-item a.nav-link {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #222222;
  line-height: 1.4em;
}
.post-table-of-content ul.nav li.nav-item a.nav-link:hover {
  color: #222222;
  text-decoration: underline;
}
.breadcrumb {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 15px 0px;
}
.breadcrumb-item {
  margin: 0;
  padding: 0;
}
.blockquote {
  padding: 50px 0px;
}
.blockquote p {
  color: #0f256e;
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
}
#post-more {
  padding: 80px 0px;
}
.post-more-box {
  border: 1px solid #e8e8e8;
}
.post-more-box .post-more-caption {
  padding: 15px;
}
.post-more-box .post-more-caption-time {
  padding: 10px 0px;
  color: #222;
  font-size: 12px;
  font-weight: 600;
}
.post-more-box .post-more-caption h4 {
  font-size: 18px;
}
#post-quote {
  border-radius: 10px;
  background: #0f256e;
  color: #fff;
  padding: 50px;
}
#post-quote p {
  font-size: 16px;
  line-height: 1.6em;
  color: #fff;
}
/*contact*/
#contact {
  padding: 160px 0px;
}
/*pro*/
#pro {
  padding: 160px 0px;
}
.el-col-pro {
  padding: 10px 0px;
  border-bottom: 1px solid #e8e8e8;
}
.form-check-label {
  font-size: 12px;
}
.full {
  padding: 50px 0px;
}
.full .bg-grey {
  background: #f1f1f1;
}
/*pure material*/
.pure-material-textfield-outlined {
  --pure-material-safari-helper1: rgb(var(--pure-material-primary-rgb, 33, 150, 243), 0.4);
  position: relative;
  display: inline-block;
  padding-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
}
label {
  width: 100%;
  margin-bottom: 0rem;
}
.badge {
  display: inline-block;
  padding: 1em 1.5em;
  font-size: 75%;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 1.5rem;
}
.badge-winfo {
  color: #333;
  border: 1px solid #999;
  background-color: #fff;
}
.badge-winfo:hover {
  color: #333;
  border: 1px solid #333;
  background-color: #fff;
}
#section-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  
}
#wizard-container {
  position: relative;
  width: 100%;
  /*background:#fff;*/
  height: 100%;
  min-height: 100%!important;

}
.wizard-container-header {
  background: #fff;
}
.wizard-container-step {
  padding-bottom: 180px;
}
.wizard-container-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff!important;
  border-top: 1px solid #e8e8e8;
  /* Safari iOS fix */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#wizard-container-footer {
  position: fixed;
  left: 0;
  bottom: 0!important;
  width: 100%!important;
  background-color: #fff!important;
  border-top: 1px solid #e8e8e8;
  z-index: 10001!important;

  /* Safari iOS fix */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Fix per Safari iOS - viewport units */
  bottom: env(safe-area-inset-bottom, 0px);
  /* Fix per problemi di rendering Safari */
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);


}
.tdanger {
  color: #fff;
  font-size: 18px;
  padding: 15px 10px;
  background: #f62447;
  margin: 10px 0px;
  border-radius: 8px;
}
.card-block {
  float: left;
  display: block;
  border: 0;
}
#section-wrap label {
  font-size: 16px;
  color: #000;
}
#wizard-form .box-select-1 {
  padding: 15px;
  border: 1px solid #e8e8e8;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
#wizard-form .box-select-1:hover {
  padding: 15px;
  border: 1px solid #007bff;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
#wizard-form .active-1 {
  border: 1px solid #007bff;
  background-color: #F7F7F7
}
.boxed-active {
  border: 2px solid #4db848 !important;
  background-color: #fff;
  border-radius: 5px;
}
.boxed-active label {
  color: #000 !important;
  font-weight: bold !important;
}
.boxed {
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid #ddd;
}
.card-body {
  padding: 4px 8px !important;
  background-color:#fff;
}
.text-privacy {
  font-size: 15px;
}
.form-control-lg {
  height: calc(2em + 1rem + 2px);
  padding: .8rem 1.2rem !important;
  font-size: 1.3rem !important;
  line-height: 1.8em;
  border-radius: .3rem;
}
.custom-control-label {
  cursor: pointer;
  font-size:14px!important;
}
.custom-control-input:checked~.custom-control-label::before {
  color: #fff;
  border-color: #0035d3;
  background-color: #0035d3;
}
.custom-control-label::before {
  position: absolute;
  top: .25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}
.custom-control-label.visible-none::before {
  display: none !important;
}
.custom-radio .custom-control-input:checked~.custom-control-label.visible-none::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  display: none;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label.visible-none::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
  display: none;
}
.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}
.progress-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #51C35D;
  transition: width .6s ease;
}
.bootstrap-touchspin-down {
  padding: 0px 25px;
  color: #333;
  background-color: #fff;
  border-color: #e8e8e8;
  font-size: 2em;
}
.bootstrap-touchspin-up {
  padding: 0px 25px;
  color: #333;
  background-color: #fff;
  border-color: #e8e8e8;
  font-size: 2em;
}
#right-info-nav {
  align-items: center;
  display: flex;
  justify-content: right;
  margin: 0 auto;
  height: 100%;
}
.nav-item-support {
  align-items: center;
  padding: 0px 25px;
  font-size: 18px;
}
.nav-item-close {
  align-items: center;
  padding: 0px 25px;
  font-size: 18px;
}
/**/
.side-slide {
  background-color: #F75D5D;
  top: 0;
  right: -33pc;
  height: 100%;
  position: fixed;
  width: 300px;
  z-index: 10002;
  height: 100%;
  background-color: #FFF;
  width: 33pc;
  max-width: 100%;
}
.side-close {
  cursor: pointer;
}
.side-slide-header {
  border-bottom: 1px solid #e8e8e8;
  padding: 25px;
}
.side-slide-content {
  padding: 25px;
  height: 100%;
  height: calc(100% - 89px);
  overflow-y: scroll;
}
.side-slide-footer {
  padding: 25px;
}
.overlay-main-side {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.active {
  display: block !important;
  opacity: 1;
}
.card-faq {
  background: #fff;
  border: 1px solid #e8e8e8;
  margin-bottom: 15px;
}
.card-faq .card-header {
  background: #fff;
  border: 0px solid #e8e8e8;
  padding: 0;
}
.card-faq .card-body {
  padding: 25px !important;
}
.faq-link {
  cursor: pointer;
  display: block;
  padding: 15px;
  font-size: 18px;
}
/**/
.modal-alert {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 1000001;
}
.modal-alert-content {
  position: relative;
  display: block;
  width: 40pc;
  height: 30pc;
  padding: 25px;
  background: #fff;
}
@media (max-width: 600px) {
  .s-block {
    display: none;
  }
  .modal-alert {
    width: 100% !important;
    height: 100% !important;
  }
  .modal-alert-content {
    width: 100% !important;
    height: 100% !important;
  }
  .nav-item-support {
    padding: 0px 10px;
  }
  .nav-item-close {
    padding: 0px 10px;
  }
}
.active-modal {
  visibility: visible !important;
  opacity: 1;
}
.active-modal+.modal-alert {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
  top: .8rem;
  width: 1.55rem;
  height: 1.55rem;
}
.checkbox-lg .custom-control-label {
  padding-top: 13px;
  padding-left: 6px;
}
.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
  top: 1.2rem;
  width: 1.85rem;
  height: 1.85rem;
}
.checkbox-xl .custom-control-label {
  padding-top: 23px;
  padding-left: 10px;
}
.jquery-validation-error {
  color: red !important;
  border: 1px solid red !important;
  padding: 5px !important;
  border-radius: 3px !important;
}
@media all and (max-width: 600px) {
  h1 {
    font-weight: 600;
    font-size: 24px !important;
    color: #000;
  }
  p {
    font-size: 15px !important;
    line-height: 1.5em !important;
  }
  /*.card-body {
    padding: 2px 8px !important;
  }*/
  /*#section-wrap label {
    font-size: 14px !important;
    font-weight: bold;
    color: #000;
    padding: 5px;
  }*/
  
  .title-label-service{font-size:18px!important;font-weight:700!important;text-align:left!important;}
  
  h4.type_immobile{font-size:16px!important;font-weight:bold;}
  .card-body{background:#fff;}
  .mb-3,
  .my-3 {
    margin-bottom: 0.6rem !important;
  }
}
.custom-card {

  display: flex;
  align-items: center;
  justify-content: center;

}
.custom-card-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-card-mid {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-card-body .custom-control-label {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #000 !important;
}
.custom-control-label.visible-none {
  cursor: pointer;
  width: 100%;
}
.custom-control-label.visible-none h5 {
  font-weight: 600;
  color: #333;
}
.custom-control-label.visible-none ul li {
  margin-bottom: 5px;
  color: #666;
}


#wizard-form,

/* Rimuovi il bordo dalle card in tutte le visualizzazioni */
.card,
.custom-card,
.custom-card-mid {
  border: none !important;
  box-shadow: none !important;
  background:transparent!important;
}
/* Mantieni solo il bordo verde per la selezione */
.boxed-active {
  border: 2px solid #4db848 !important;
  background-color: #fff;
  border-radius: 5px;
}
.jquery-validation-error {
  color: red !important;
}
/* Fix per dispositivi mobili - Gestione altezza wizard */
:root {
  --vh: 1vh;
}
/* --- CARD SERVIZI SMART --- */
.service-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 2px solid transparent;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  min-height: 90px;
  transition: border-color 0.2s;
}

.service-card.boxed-active {
  border: 2px solid #51C35D;
}

.service-card-icon {
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
}

.service-card-content {
  flex: 1 1 auto;
  min-width: 0;
}

.service-card-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.service-card-desc {
  font-size: 15px;
  color: #555;
}

.service-card-action {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.service-card-btn {
  font-size: 15px;
  font-weight: 600;
  background: #51C35D;
  color: #fff;
  border-radius: 20px;
  padding: 8px 22px;
  margin-left: 8px;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.service-card-check {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  display: inline-block;
}

@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
  }
  .service-card-action {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    position: static;
  }
  .service-card-check {
    position: static;
    margin-left: 10px;
    transform: none;
  }
}
/* Dispositivi medi: Monitor 14" e Tablet grandi (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  html,
  body {
    height: 100%;
    overflow-x: hidden;
  }
  #section-wrap {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  #wizard-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #wizard-form {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .wizard-container-header {
    flex-shrink: 0;
    background: white;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  #StepDynamic {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 25px 20px 100px 20px;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  /* Ottimizzazioni per dispositivi medi */
  .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
  }
  .form-control {
    min-height: 44px;
    font-size: 15px;
  }
  .boxed {
    margin-bottom: 12px;
    min-height: 55px;
    display: flex;
    align-items: center;

  }
}
/* Dispositivi piccoli e medi: Smartphone e Tablet piccoli (≤768px) */
@media (max-width: 768px) {
  html,
  body {
    height: 100%;
    overflow-x: hidden;
  }
  #section-wrap {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
  }
  #wizard-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #wizard-form {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .wizard-container-header {
    flex-shrink: 0;
    background: white;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  #StepDynamic {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 15px 80px 15px;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  /* Previeni il bounce scrolling su iOS */
  #StepDynamic {
    overscroll-behavior: contain;
  }
  /* Miglioramenti UX mobile */
  .btn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
    touch-action: manipulation;
  }
  .form-control {
    min-height: 48px;
    font-size: 16px;
    /* Previene zoom automatico iOS */
  }
  .form-control-lg {
    min-height: 52px;
    padding: 12px 16px;
    font-size: 16px;
  }
  /* Ottimizzazioni per wizard steps */
  .boxed {
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
	
  }
  .custom-control {
    padding: 8px 0;
  }
  /* Input focus migliorato per mobile */
  .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  }
}
/* Dispositivi molto piccoli */
@media (max-width: 480px) {
  #StepDynamic {
    padding: 15px 10px 80px 10px;
  }
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  .wizard-container-header .row {
    margin: 0;
  }
  .wizard-container-header .col-6 {
    padding: 8px;
  }
  .card-body {
  padding-left: 5px !important;
  margin: 0px !important;
  background-color:#fff;

}



}
/* Tablet in landscape mode - altezza ridotta */
@media (min-width: 768px) and (max-width: 1024px) and (max-height: 600px) {
  #StepDynamic {
    padding: 15px 20px 60px 20px;
  }
  .wizard-container-header {
    padding: 0px 0;
  }
  .btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
  }
  .boxed {
    margin-bottom: 10px;
    min-height: 50px;
  }
}
.btn-grey {
  background-color: #D8D8D8;
  color: #FFF;
}
.rating-block {
  padding: 1px;
}
.bold {
  font-weight: 700;
}
.padding-bottom-7 {
  padding-bottom: 7px;
}
.review-block {
  background-color: #FAFAFA;
  border: 1px solid #EFEFEF;
  padding: 15px;
  border-radius: 3px;
  margin-bottom: 15px;
}
.review-block-name {
  font-size: 12px;
  margin: 10px 0;
}
.review-block-date {
  font-size: 12px;
}
.review-block-rate {
  font-size: 13px;
  margin-bottom: 15px;
}
.review-block-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.review-block-description {
  font-size: 13px;
}
.fa-star {
  font-size: 22px;
  padding: 0px !important;
  margin: 0px;
}
.feedback {
  display: inline;
  text-align: center;
  padding: 5px 10px !important;
  margin: 0px;
}
.btn-star {
  background-color: #f4cf03;
  color: #fff;
}
.btn-star:active,
.btn-star:focus,
.btn-star:hover {
  background-color: #f4cf03;
  color: #fff;
}

.service-card {
    cursor: pointer;
}
.service-card .custom-control-label {
    cursor: pointer;
}
#cosa_devi_fare_validation {
    display: none;
    color: #f62447;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}
#servizio_aggiuntivo_validation {
    display: none;
    color: #f62447;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

h4.type_immobile{font-size:16px!important;font-weight:bold;}

/* Safari iOS Fix per wizard-container-footer */
@supports (-webkit-appearance: none) {
    /* Specifico per Safari */
    .wizard-container-footer,
    #wizard-container-footer {
        /* Forza hardware acceleration */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        /* Previene flickering */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        /* Fix per viewport iOS */
        bottom: env(safe-area-inset-bottom, 0px) !important;
    }
}

/* Fix specifico per iOS Safari - viewport height issues */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .wizard-container-footer,
    #wizard-container-footer {
        /* Usa viewport units senza problemi di tastiera */
        bottom: calc(env(safe-area-inset-bottom, 0px) + 0px);
        /* Assicura visibilità anche con tastiera */
        min-height: 60px;
    }
}

/* Fix per Safari su iOS quando la tastiera è attiva */
@media screen and (max-height: 500px) {
    .wizard-container-footer,
    #wizard-container-footer {
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px;
    }
	
	
}


