/* CF7 */

/* request form */

.request-popup .popup__body {
    max-width: 400px;
    padding: 50px 30px;
  }
  
  .wpcf7-form.submitting{
      opacity: 0.5;
      pointer-events: none!important
  }
  
  
  /* Modal form */
  .request-form.modal h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    font-family: Roboto, sans-serif;
    margin-bottom: 30px;
  }
  .request-form.modal form {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Horizontal form */
  .horizontal-form {
    width: 65%;
    height: 170px;
    margin: 150px auto 0 auto;
      z-index: 1
  }
  .request-form.horizontal h2 {
    font-size: calc(30px + 12 * (100vw / 1900));
    font-weight: 300;
    line-height: 120%;
    padding-bottom: 50px;
  }
  
  
  /* Technicka block form */
  .request-form.technicka {
    margin-top: -50px;
  }
  /* Update block form */
  .request-form.update-items {
    max-width: 400px;
  }
  .request-form.update-items h2 {
    display: none;
  }
  
  @media screen and (max-width: 1750px){
    .horizontal-form {
      width: 70%;
    }
  }
  @media screen and (max-width: 1500px){
    .horizontal-form {
      width: 80%;
    }
  }
  @media screen and (max-width: 1300px){
    .horizontal-form {
      width: 90%;
    }
  }
  @media screen and (max-width: 768px){
    .horizontal-form {
      height: 450px;
        margin: 60px auto 0 auto;
    }
    .request-form h2 {
      text-align: center;
    }
  }
  
  
  
  
  /* Общие стили формы */
  	.wpcf7-form,
	.wpcf7-form>div {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }
  
   form.request-form,
  .wpcf7-form>div.communication {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 30px;
  }

  .wpcf7-form.horizontal >div, .horizontal .wpcf7-form>div{
      flex-direction: row;
      display: flex;
      gap: 30px;
      align-items:center
  }
  
  @media(max-width: 768px){
      .wpcf7-form.horizontal>div, .horizontal .wpcf7-form>div{
          flex-direction: column;
      }
  }
  
  .wpcf7-form .wpcf7-form-control-wrap input:not(input[type="checkbox"]),
  .wpcf7-form .wpcf7-form-control-wrap textarea {
      padding: 10px;
      height: 52px;
      color: #000;
      font-family: Roboto;
      font-weight: 300;
      line-height: 32px;
      width: 100%;
      font-size: 18px;
    border-bottom: 1px solid #b4b9bd;
  }
  
  .intl-tel-input {
      width: 100%;
  }
  
  .wpcf7-form .wpcf7-form-control-wrap textarea {
      overflow: hidden!important;
      resize: none!important;
      
  border-bottom: 1px solid #b4b9bd;
  }
  
  .wpcf7-form .wpcf7-form-control-wrap input:not(input[type="checkbox"])::placeholder,
  .wpcf7-form .wpcf7-form-control-wrap textarea::placeholder {
      color: #ACAAAA;
      font-family: Roboto;
      font-size: 20px;
      font-weight: 300;
      line-height: 32px;
  }
  
  
  
  
  /* Стили кнопки */
  .request-form__submit,
  .request-form.modal .request-form__submit {
      display: inline-flex;
      padding: 20px 70px;
      justify-content: center;
      align-items: center;
      gap: 10px;
      background: #E63D33;
      color: #FFF;
      text-align: center;
      font-family: Roboto;
      font-size: 20px;
      font-weight: 300;
      line-height: 32px;
      margin-top: 15px;
      width: 100%;
  }
  
  .wpcf7-spinner{
      position: absolute!important;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      margin: 0!important
  }
  
  .request-form__submit:hover {
      background: #b83028;
  }
  
  /* Стили для ошибки валидации */
  .wpcf7-form-control-wrap {
      position: relative;
      height: 52px;
      width: 100%;
  }
  
  .wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
      position: absolute;
      bottom: -30px;
      left: 0;
      color: #E63D33;
  }
  
  /* Стили для фокуса и ошибки валидации */
  body input:invalid,
  body input:invalid:focus,
  body select:invalid:focus,
  body input:invalid:focus,
  body textarea:focus {
      border-bottom: 1px solid #E63D33!important;
  }
  
  body input:focus,
  body select:focus,
  body textarea:focus {
      border-bottom: 1px solid #000!important;
  }
  
  /* Стили для горизонтальной формы на экранах шире 768px */
  @media(min-width: 768px) {
  
      .horizontal .wpcf7-form .wpcf7-form-control-wrap,
      .horizontal.wpcf7-form .wpcf7-form-control-wrap {
          width: auto;
      }
  
      .wpcf7-form.horizontal .wpcf7-form-control-wrap,
      .wpcf7-form.horizontal .wpcf7-form-control-wrap input,
      .wpcf7-form.horizontal .wpcf7-form-control-wrap textarea,
      .horizontal .wpcf7-form .wpcf7-form-control-wrap,
      .horizontal .wpcf7-form .wpcf7-form-control-wrap input,
      .horizontal .wpcf7-form .wpcf7-form-control-wrap textarea {
          width: 100%;
      }
  
      .wpcf7-form.horizontal .request-form__submit,
      .horizontal .wpcf7-form .request-form__submit {
          margin-top: 0;
          padding: 20px 0;
      }
  }
  
  
  
  
  
  .become_a_partner{
          display: none
      }
  
  .become_a_wattsan_form{
          display: flex;
      justify-content: space-between;
      gap: 30px;
      align-items: center;
      flex-direction: column;
  }
  
  .become_wattsan_form{
      padding: 50px 67px;
      max-width: 1000px
  }
  
  .become_wattsan_form .popup__title{
      color: #000;
  
  font-family: Roboto;
  font-size: 42px;
  font-style: normal;
  font-weight: 400;
  line-height: 53px;
      text-align: left;
      margin-bottom: 65px
  }
  
  .become_wattsan_form .popup__title span{
      color: #E63C32;
  }
  
  .become_wattsan_form input::placeholder{
      color: #57545C!important;
  
  font-family: Roboto!important;
  font-size: 18px!important;
  font-weight: 300!important;
  }
  
  .form_info_wrap{
      display: flex;
      gap: 100px;
      flex-direction: row;
      width: 100%
  }
  
  .become_wattsan_form .wpcf7-form-control-wrap{
      height: auto
  }
  
  .form_company_info{
      max-width: 50%;
      display: flex;
      flex-direction: column;
      gap: 15px;
  }
  
  .form_contact_information{
      max-width: 50%;
      display: flex;
      flex-direction: column;
      gap: 15px;
  }	
  
  .become_a_partner_form .wpcf7-not-valid-tip{
          position: initial;
      font-size: 16px;
      display: inline;
  }
  
  .additional_info{
      width: 100%
  }
  
  .form_company_info>p, .form_contact_information>p, .additional_info>p{
      color: #000;
      font-family: 'CeraPRO-Regular';
      font-size: 24px;
      margin-bottom: 35px
  }
  
  .additional_info>p{
      text-align:center
  }
  
  .form_note{
      display: flex;
      flex-direction: row;
      gap: 130px;
      justify-content: space-between;
      align-items:center
  }
  
  .additional_info>div>p:nth-child(1){
          width: 30%;
  }
  
  .textarea_desc{
      color: #57545C;
  
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  }
  
  .additional_info>div>p:nth-child(2){
      width: 70%
  }
  
  .acceptance input[type="checkbox"]{
      height: 18px;
      padding: 0!important;
      width: 18px;
      border-color: #999;
  }
  
  .wpcf7-list-item{
      margin: 0;
  }
  
  .acceptance input[type="checkbox"] {
    position: relative;
    width: 17px;
      min-width:17px;
    height: 17px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1.2px solid #757881;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
  }
  
  .acceptance input[type="checkbox"]::before {
    content:'';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    background: url(https://wattsan.com/wp-content/uploads/1.svg);
    border-radius: 2px;
    transition: all 0.2s ease-in-out;
      background-position:center;
      background-size: cover;
  }
  
  .acceptance input[type="checkbox"]:checked{
      border: 1.2px solid #008F0E;
  }
  
  
  .acceptance input[type="checkbox"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .acceptance{
      margin-top: 55px;
      gap: 60px;
      display: flex;
      flex-direction: row;
  }
  
  .acceptance>p{
      width: 100%!important;
      display: flex;
      gap: 60px
  }
  
  .acceptance .wpcf7-list-item label{
      display: flex;
      gap: 10px
  }
  
  .acceptance .wpcf7-list-item-label{
      color: #57545C;
  
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  }
  
  .form-sub_text{
      color: #57545C;
  
  font-family: Roboto;
  font-size: 10px;
  font-style: normal;
  font-weight: 300;
      line-height: 16px;
      margin-top: 15px
  }
  
  .wpcf7-acceptance label, .wpcf7-checkbox label{
      cursor: pointer
  }
  
  .wpcf7-form-control-wrap[data-name="acceptance-agree"]{
      display: flex;
      flex-direction: column
  }
  
  .become_a_partner_form .request-form__submit{
      max-width: 360px;
      margin-top:0
  }
  
  .become_a_partner_form.sent .form_info_wrap,.become_a_partner_form.sent .additional_info,.become_a_partner_form.sent .request-form__submit{
      display: none;
  }
  
  .wpcf7-form.sent .wpcf7-response-output{
      display: block!important;
      margin: 50px 0;
      font-size: 21px;
      border: 2px solid green;
      padding: 10px;
      font-weight: 400;
  }
  
  .dealers-popup .popup__close{
      background-image: url('https://wattsan.com/wp-content/uploads/Group-128.png');
      top: 0;
      right:0;
      width: 60px;
      height: 60px
  }
  
  .become_wattsan_form{
      border-radius: 0
  }
  @media(min-width: 769px) and (max-width: 1100px){
      .dealers-main__info {
      position: absolute;
      left: 0;
      bottom: 20px;
      width: -webkit-fill-available;
      height: 80px;
      z-index: 1;
      display: flex;
      align-items: flex-start;
      justify-content: center;
  }
      .dealers-main__form {
      padding: 45px 45px 60px;
      background: white;
      border-radius: 15px;
      width: 405px;
      height: auto;
      margin-right: 80px;
  }
      .dealers-main__slide {
      position: relative;
      height: 110vh;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  }
  
  @media(max-width:768px){
      
      .dealers-main__content {
          margin-top: 80px;
          flex-direction: column;
      }
      .dealers-main__form {
          padding: 30px 30px 30px;
          width: 100%;
          margin-right: 0;
          display: none
      }
      
      .dealers-main__form__subtitle {
      margin-bottom: 50px;
  }
      
      .dealers-main__slide {
          height: 641px;
          align-items: normal;
          padding-bottom: 0
      }
      
      .dealers-main__info {
          height: auto;
      padding: 10px 0 5px 0;
      width: 100%;
      left: 0;
      bottom: 0;
      }
      .dealers-main__pagination {
      flex-wrap: wrap;
      row-gap: 30px;
      justify-content: center;
      position: initial;
  }
      
      .dealers-main__title {
          font-family: 'Roboto';
          font-size: 32px;
          margin-top: 50px;
          margin-bottom: 30px;
      }
      
      .dealers-main__text {
      font-size: 18px;
  }
      
      .dealers-main__slider .swiper-slide{
          height: auto;
          
      }
      
      .swiper-pagination-bullet>span:nth-child(2){
          display: none
      }
      
      .dealers-main__pagination .swiper-pagination-bullet span:nth-child(1){
          font-size: 16px
      }
      .dealers-main__pagination .swiper-pagination-bullet {
      width: 44px;
      margin-right: 10px;
  }
      
      .dealers-main__pagination .swiper-pagination-bullet{
          opacity: 1;
      }
      
      .dealers-main__pagination .swiper-pagination-bullet>span:nth-child(1){
          opacity: 0.5;
      }
      
      .dealers-main__pagination .swiper-pagination-bullet-active>span:nth-child(1){
          opacity:1
      }
      
      .dealers-main__slide .container {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
      }
      
      .become_a_partner{
          display: flex;
          height: 60px;
          max-width: 100%;
          background: #E63D33;
          align-items: center;
          justify-content: center;
          color: #FFF;
  
  text-align: center;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 700;
          margin: 0px 24px 93px 24px;
          z-index:1
      }
      
      
      .form_info_wrap{
          flex-direction: column;
          gap: 50px
      }
      
      .become_wattsan_form{
          padding: 40px 15px
      }
      
      .become_wattsan_form .popup__title {
          font-size: 32px;
          line-height: 53px;
          margin-bottom: 50px;
      }
      
      .additional_info>p {
          text-align: left;
          margin-bottom: 67px
      }
      
      .form_note {
          flex-direction: column;
          gap: 0;
          align-items: flex-start;
      }
      .acceptance {
          margin-top: 55px;
          gap: 30px;
          flex-direction: column;
      }
      
      .form-sub_text {
          font-size: 10px;
          line-height: 16px;
          margin-top: 40px;
          display: block;
      }
      
      .form_company_info {
          max-width: 100%;
      }
      
      .form_contact_information {
          max-width: 100%;
      }
      
      .become_a_partner_form {
          gap: 50px
      }
      
      .additional_info>div>p:nth-child(1) {
          width: 100%;
      }
      
      .dealers-popup .popup__close {
          width: 40px;
          height: 40px;
          background-size: contain;
      }
      
  }
  
  span.ajax-loader {
     margin-left: auto !important;
     margin-right: auto !important;
     float: inherit !important;
     width: 15px !important;
     display: block !important;
     margin-top: 10px !important;
     margin-bottom: -15px !important;
  }

.hide-me {
	display: none !important;
}

/* START Subscribe FORM*/

.subscribe_for_updates-popup .subscribe_for_updates_wrapper_right picture {
	height: 100%;
	width: auto;
	display: block;
}

.subscribe_for_updates-popup .subscribe_for_updates_wrapper_right picture img{
	object-position: right;
	height: 100%;
	object-fit: cover;
	max-width: 420px;
}

.subscribe_interest {
	align-self: flex-start;
}

.subscribe_interest summary {
	font-family: Roboto-Regular;
    font-size: 16px;
    line-height: 22.26px;
    text-align: left;
    color: #000;
    opacity: 0.5;
	cursor: pointer;
}

.subscribe_interest summary:hover {
	font-weight: 600;
}

.subscribe_interest summary::marker {
	color: #ff0000 !important;
	opacity: 1 !important;
}
.subscribe_interest .wpcf7-form-control-wrap .wpcf7-form-control {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-top: 10px;
}
.subscribe_interest .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item {
	width: 50%;
	margin-top: 10px;
}

.subscribe_interest hr {
	height: 2px;
	background-color: #000;
	margin-top: 20px;
}

/* END Subscribe FORM*/