.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 100vh;*/
  min-height: 100vh;
}

.main > div > h1 {
  color: #4ea37b;
}

.main-txt, .main-txt > p{
  color: #3D4042;
}

.main-description {
  background-color: #ece8e7;
  display: grid;
}

.main-description, .main-description > p, .beforeoffer-txt, .beforeoffer-txt > p {
  color: #3d4042;
  line-height: 1.5;
}

.sell {
  background-color: #3d4042;
  display: grid;
}

.sell > div, .buy > div {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.sell > div > h2, .sell-txt, .sell-txt > p {
  color: #51a37c;
}

.buy {
  background-color: #51a37c;
  display: grid;
}

.buy > div > h2, .buy-txt, .buy-txt > p {
  color: #3d4042;
}

.inspect {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: flex-end;
  background-repeat: no-repeat;
  background-size: cover;
}

.inspect-iner > h2 {
  color: #4e5153;
  align-self: center;
}

.inspect-iner > h2 > span {
  color: #51a37c;
}

.inspect > div:last-child > p {
  color: #4e5153;
}

.process {
    display: grid;
    background-color: #f1f1f1;
}
  
.process > h2 > span {
    color: #4ea37b;
}

.motive {
  display: grid;
  background-color: #f1f1f1;
}

.motive > h2 > span {
  color: #4ea37b;
}


.main-services {
    display: grid;
    background-color: #f0f0f0;
  }

/*
.main-services-item {
    text-align: center;
}
*/

.main-services-item > h2 {
    color: #4ea37b;
    font-weight: 700;
    margin: 15px 0;
}

/*
.main-services-item > img {
    width: 50px;
}
*/
 
.mainservtxt {
    font-weight: 400;
    color: #3d4042;
}
  



@media (min-width: 992px) {
  .main {
    padding: 0px 50px;
    align-self: center;
    /*
    background-image: url('../img/imobiliare-d.jpg');
    background-position: center;
    */
  }
  .main > div:first-child {
    max-width: 50%;
  }
  .main > div > h1{
    margin-bottom: 50px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p {
    font-size: clamp(1.125rem, 0.724rem + 0.647vw, 1.5rem);
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 20px;
  }
  .main > div > a > img{
    max-width: 16px;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .sell, .buy {
    grid-template-columns: 1fr 1fr;
    padding: 200px 50px 200px 50px;
    gap: 0;
  }
  .sell-img img, .buy-img img {
    max-width: 65%;
    height: auto;
    margin: auto;
  }
  .sell-txt, .sell-txt> p, .buy-txt, .buy-txt > p, .inspect-txt, .inspect-txt > p{
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .buy-img{
    order: 1;
  }
  .inspect {
    justify-content: center;
    padding: 100px 50px 100px 50px;
    /*
    background-image: url('../img/imobiliareend-d.jpg');
    background-position: center;
    */
    height: 80vh;
  }
  .inspect-iner{
    width: 50%;
  }
  .inspect-iner > h2{
    margin-bottom: 50px;
  }
  .process {
    padding: 100px 50px 200px 50px;
  }
  .process > h2 {
    width: 50%;
    display: block;
  }
  .motive {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 100px;
  }
  .motive > h2 {
    width: 50%;
    display: block;
  }
  .main-services {
    padding-top: 150px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 200px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    row-gap: 150px;
  }
  .main-services-item > h2 {
    font-size: clamp(1.25rem, 1.116rem + 0.216vw, 1.375rem);
    margin-top: 25px;
    margin-bottom: 40px;
  }
  .mainservtxt {
    font-size: clamp(0.875rem, 0.623rem + 0.81vw, 1.125rem);
    letter-spacing: 0.64px;
    line-height: 1.5;
  }
  .main-services-item > img {
    width: auto;
    height: 70px;
  }
  .offer-desc{
    line-height: 30px;
  }
}

@media (max-width:991px){
  .main {
    padding: 50px 20px;
    /*
    background-image: url('../img/imobiliare-m.jpg');
    background-position: center;
    */
  }
  .main > div > h1{
    margin-bottom: 30px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p{
    font-size: 18px;
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 60px;
  }
  .main > div > a > img{
    max-width: 12px;
    height: auto;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .sell, .buy {
    grid-template-columns: 1fr;
    padding: 60px 20px 60px 20px;
    gap: 50px;
  }
  .sell-img img, .buy-img img{
    max-width: 35%;
    height: auto;
  }
  .sell-txt, .sell-txt > p, .buy-txt, .buy-txt > p, .inspect-txt, .inspect-txt > p{
    font-size: 16px;
    letter-spacing: 1.32px;
    line-height: 1.5;
  }
  .inspect{
    justify-content: center;
    padding: 60px 20px 60px 20px;
    background-color: #BEDDE0;
    /*
    background-image: url('../img/imobiliareend-m2.jpg');
    background-position: center top;
    */
    height: 60vh;
  }
  .inspect-iner > h2{
    margin-bottom: 50px;
  }
  .process {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 100px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .motive {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .main-services {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 120px;
    gap: 60px;
  }
  .main-services-item > img {
    width: auto;
    height: 56px;
  }
  .main-services-item > h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .mainservtxt {
    font-size: 16px;
    letter-spacing: 0.64px;
    line-height: 1.5;
  }
  .offer-desc{
    line-height: 25px;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }  
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
}

/* Formularistica */
  .contact-link {
    display: flex;
    flex-direction: column;
  }
  
  .contact-link > a {
    color: #3d4042;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
  }
  
  .contact-link > a:hover, .contact-link > a:visited, .contact-link > a:active{
    text-decoration: none;
    color: #3d4042;
  }
  
  .form-container{
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    min-height: 100vh;
    align-items: center;
    background-color: #d8d8d8;
  }
  
  .form-i{
    background-color: #F0F0F0;
    padding: 50px;
    border-radius: 10px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
  
  /* Formularistica - formular contact */
  .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
      color:#3D4042;
      opacity: 1;
      text-transform:uppercase;
      display:block;
    font-weight: 500;
  }
  
  .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select{
      border: 1.5px solid #3D4042;
      border-top: none !important;
      border-left: none !important;
      border-right: none !important;
      width: 100%;
      height:50px;
      color:#3D4042;
      background:#f0f0f0;
      margin-top:5px;
      margin-bottom:25px;
      
      transition:all 300ms ease;
    box-sizing: border-box;
  }
  
  .wpcf7 select{
    width: 100%;
    height: 50px;
    /*background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");*/
    background-image: url("../img/arrow-d.svg");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    background-size: 20px 20px;
    outline: none;
    /*
    border-radius: 2px;
    margin-right: 2rem;
    padding: 1rem;
    padding-right: 2rem;
    */
  }
  
  .wpcf7 select:focus{
      outline: none;
  }
  
  .wpcf7 select::after{
      content: 'p';
      display: block;
      position: absolute;
      width: 15px;
      height: 15px;
      background: #ff0000;
      left: 0;
      bottom: 0;
  }
  
  input:focus, textarea:focus{
      border-bottom: 2px solid #59b18f;
      outline: none;
  }
  
  .wpcf7-date{
      border-bottom: 1.5px solid #3D4042 !important;
      color:#3D4042 !important;
      background:#f0f0f0;
      border:none;
      width:100%;
      height:50px;
      margin-top:5px;
      margin-bottom:35px;
      padding:10px;
  }
  
  .wpcf7-list-item{
      display:block;
      width:100%;
      margin-left:0px !important;
      font-weight:200;
      margin-bottom:10px !important;
  }
  
  .checkbox-754, .check-servicii{
      margin-bottom:35px !important;
      display:block;
  }
  
  .wpcf7-list-item-label{
      font-weight:400;
  }
  
  .wpcf7-textarea, .nf-field-element textarea{
      border: 1.5px solid #3D4042;
      border-top: none !important;
      border-left: none !important;
      border-right: none !important;
      width:100%;
      height:100px;
      resize:vertical;
      color:#3D4042;
      background:#f0f0f0;
      margin-bottom:15px;
      padding-top:10px;
      font-weight:200;
      transition:all 300ms ease;
    box-sizing: border-box;
  }
  
  .wpcf7-submit{
      color: #F0F0F0;
      font-weight: 600;
      text-decoration: none;
      background:#3D4042;
      border: none;
    outline: none;
      transition:all 300ms ease;
      display: table;
      position: relative;
    width: 100%;
    padding: 15px 0px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
      }
  
  
  .wpcf7-submit:hover{
      background:#000;
      text-decoration: none;
  }
  
  .wpcf7-not-valid{
      border:1px solid #ff0000;
      margin-bottom:0px;
    box-sizing: border-box;
  }
  
  .wpcf7-not-valid-tip, .nf-error-required-error{
      background:#ff0000;
      color:#fff !important;
      font-weight:400;
      font-size:12px !important;
      padding:15px;
      width:100%;
    box-sizing: border-box;
  }
  
  .facord{
      font-size:12px!important;
      text-transform:none!important;
      font-weight:300!important;
      display:block!important;
      margin-bottom:35px;
      cursor: pointer;
      position: relative !important;
      float:left !important;
      width:100% !important;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    line-height: 1.5;
    display: inline-block;
    width: 100%;
  }
  
  .ftxt{
    padding-left: 30px !important;
  }
  
  .facord .wpcf7-list-item{
      width:auto!important
  }
  
  .facord input{
      position: absolute !important;
      opacity: 0 !important;
      cursor: pointer !important;
      height: 0 !important;
      width: 0 !important;
      bottom: 0 !important;
      left: 0 !important;
  }
  
  .checkmark-contact{
      position: absolute;
      left: 0;
      background-color: #f0f0f0;
      border: 1.5px solid #3D4042;
      transition: all 300ms ease;
    z-index: 90;
  }
  
  .facord:hover .checkmark-contact{
      background-color: #ddd;
  }
  /*
  .facord input:checked + .checkmark-contact{
      background-color: #eee !important;
  }
  */
    .checkmark-contact:after {
      content: "";
      position: absolute;
      display: none;
      transition: all 300ms ease;
    }
  
  .facord input:checked ~ .checkmark-contact:after{
      display: block !important;
      transition: all 300ms ease;
  }
  
  .facord .checkmark-contact:after{
      left: 4px;
      bottom: 2px;
      width: 3px;
      height: 8px;
      border: solid #3D4042;
      border-width: 0 1.5px 1.5px 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      transition: all 300ms ease;
  }
  
  .facord:hover .checkmark-contact:after{
      border: solid #000;
      border-width: 0 1.5px 1.5px 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  }
  
  .acord{
  vertical-align:middle;
  }
  
  .acord, .acord-text{
  display:inline-block;
  }
  
  .acord-text{
      margin-left: 30px;
      margin-top:0px !important;
      padding-top:0px !important;
      vertical-align:middle;
  }
  
  .form-note{
      font-size:12px;
      margin-bottom:30px;
  }
  
  @media (min-width: 992px) {
    .contact-link {
      flex-direction: row;
      margin-top: 110px;
      gap: 50px;
    }
    .contact-link > a {
      font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
      letter-spacing: 1.2px;
    }
    .contact-link > a:first-child > img{
      max-width: 16px;
      height: auto;
    }
    .contact-link > a:nth-child(2) > img{
      max-width: 22px;
      height: auto;
    }
    .form-container{
      padding: 0px 50px;
      background-image: url('../img/oferta-d.jpg');
      background-position:center;
    }
    .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
      font-size: 14px;
      line-height: 1.5;
    }
    .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
      font-size:14px;
    }
    .checkmark-contact{
      height: 13px;
      width: 13px;
    }
  }
  
  @media(max-width:991px){
    .main {
      padding: 130px 20px 50px 20px;
    }
    .main > h1{
      margin-bottom: 30px;
    }
    .main > div > div > p{
      font-size: 16px;
      letter-spacing: 0.96px;
    }
    .contact-link {
      margin-top: 40px;
      /*
      margin-bottom: 40px;
      */
      gap: 30px;
    }
    .contact-link > a:first-child > img{
      max-width: 14px;
      height: auto;
    }
    .contact-link > a:nth-child(2) > img{
      max-width: 20px;
      height: auto;
    }
    /*
    .main > div:last-child > img {
      width: 175px;
    }
      */
    .form-container{
      padding: 0px 20px;
      background-image: url('../img/oferta-m.jpg');
      background-position:right;
    }
    .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
      font-size: 12px;
      line-height: 1.8;
      margin-top:35px;
    }
    .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
      font-size:12px;
    }
    .checkmark-contact{
      height: 10px;
      width: 10px;
    }
    .form-i{
      background-color: rgba(240, 240, 240, 0.95);
      padding: 20px;
      margin-top: 0px;
      /*margin-right: 30px;*/
    }
    
  }
  