/* :root {
    --primary_color: #20c798;
    --secondary_color: #c82de1;
} */

.hide {
  display: none !important;
}

.contact-form__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: initial !important;
    padding: 50px 37px;
}

/* BEGIN Contact form description*/
.contact-form-description {
    display: flex;
    flex-direction: column;
    row-gap: 17px;
    width: 100%;
    margin-bottom: 18px;
}

.contact-form-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 55px;
    font-feature-settings: 'salt' on, 'liga' off;
    color: #000000;
}

.contact-form-subtitle {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #000000;    
}

/* ENDS Contact form description*/

/* BEGIN Customer info form */
.contact-form-customer-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
}

.contact-form-customer-message {
    width: 100%;
    height: 180px;
}
/* ENDS Customer info form */

/* BEGIN Input form */
.contact-form__input-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
    width: 48%;
    margin: 10px 0;
    height: 110px;
}

.contact-form-label {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px !important;
    color: #000000;
    display: flex;
}

.contact-form-label-error {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px !important;
    color: #C72024;
    display: flex;
}

.switch {
    position: relative;
    display: inline-block;
    width: 43px;
    height: 20px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider-error {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #C72024;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider-error:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: var(--primary_color);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--primary_color);
  }
  
  input:checked + .slider:before,
  input:checked + .slider-error:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }
  
  /* Rounded sliders */
  .slider.round,
  .slider-error.round {
    border-radius: 34px;
  }
  
  .slider.round:before,
  .slider-error:before {
    border-radius: 50%;
  }

  .contact-form-legend-error {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #FF3131;
  }

  .contact-form-legend-success {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--secondary_color);
  }

  .contact-form-input {
    height: 32px;
    padding: 9px 13px;
    background: #FFFFFF;
    border: 1px solid #D2D6DA;    
    border-radius: 8px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 7px;
    color: #495057;
    width: 96%;
  }

  .contact-form-input-error {
    border: 1px solid #C72024;
    color: #C72024;
    height: 35px;
    padding: 9px 13px;
    background: #FFFFFF;
    border-radius: 8px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 7px;
    width: 96%;
  }

  input[type=text]:focus,
  input[type=number]:focus,
  textarea:focus {
    outline: none !important;
    /* border: 1px solid var(--secondary_color) !important; */
  }

  .contact-form-input-error::placeholder {
    color: #C72024;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 7px;
  }

  /* .last-name-form,
  .phone-form {
    margin-left: 40px;
  } */

  .message-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .contact-form-textarea {
    min-height: 100px;
    width: 99%;
    background: #FFFFFF;
    border: 1px solid #D2D6DA;
    border-radius: 8px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 17px;
    color: #495057;
    padding: 10px;
  }

  .contact-form-textarea-error {
    min-height: 100px;
    width: 99%;
    background: #FFFFFF;
    border: 1px solid #C72024;
    border-radius: 8px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 17px;
    color: #C72024;
    padding: 10px;
  }

  .contact-form-textarea-error::placeholder {
    color: #C72024;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 7px;
  }

  #contact-form-email, 
  #contact-form-lastname,
  #contact-form-name,
  #contact-form-phone,
  #contact-form-message,
  #contact-form-store {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
/* ENDS Input form */

/* BEGIN Agreement */
.contact-form-customer-agreement {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    row-gap: 10px;
    width: 100%;
    height: 48px;
}

.contact-form-agreement__container {
    display: flex;
    align-items: center;
    column-gap: 20px;
    justify-content: flex-start;
    width: 100%;
}

.agreement-text {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #565656;
}

.agreement-link {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px !important;
    letter-spacing: -0.03em;
    color: var(--secondary_color);
    text-decoration: none;
}

.text-space {
    padding: 0 5px;
}

.agreement-link:hover {
  text-decoration: underline;
}

.agreement-link-margin {
  margin-left: 5px;
}
/* ENDS Agreement */

/* BEGIN Form controls */
.contact-form-controls {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    row-gap: 15px;
    /*min-height: 85px;*/
    margin-top: 20px;
}

.button-form {
    background: var(--primary_color);
    border-radius: 8px;
    padding: 15px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 12px;
    letter-spacing: -0.034em;
    color: #FFFFFF;
    text-align: center;
    border: none;
    cursor: pointer;
}

.button-form:hover {
  opacity: 0.8;
}

.button-form:active {
  opacity: 0.6;
}

.loader {
  width: 20px;
  height: 20px;
  border: 2px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
} 
/* ENDS Form controls */

/*Desktop ultra wide*/
@media (min-width: 1440px) {
}                                          
/*Desktop - Special Queries cases to change Desktop -> Tablet*/
@media (min-width: 1001px) and (max-width: 1150px) {
}
/*Desktop 13"*/
@media (min-width: 1001px) and (max-width: 1439px) {
    .contact-form-customer-info {
        column-gap: 71px;
    }

    .contact-form__input-content {
        width: 46%;
    }

    .agreement-text {
      flex-wrap: wrap;
    }
}
/*Tablet / iPads*/
@media (min-width: 763px) and (max-width: 1000px) {
  .agreement-text {
    flex-wrap: wrap;
  }

  .contact-form__input-content {
    width: 47% !important;
  }
}
/*Tablet - Mobile*/
@media (min-width: 1px) and (max-width: 762px) {
  .contact-form__input-content {
    height: 90px;
  }

  .contact-form__input-content {
    width: 100% !important;
  }

  .contact-form-customer-agreement {
    height: 80px;
  }

  .agreement-text {
    flex-wrap: wrap;
  }

  .agreement-link,
  .text-space,
  .agreement-text {
    display: contents;
    word-break: break-word;
  }
}
/*Mobile - Special Queries cases to change Tablet -> Mobile*/
@media (min-width: 1px) and (max-width: 450px) {
  .agreement-text {
    font-size: 17px !important;
    display: contents !important;
  }

  .contact-form-controls {
    margin-top: 20px;
  }  

  .agreement-link-margin {
    margin-left: initial;
  }

  .contact-form-textarea,
  .contact-form-textarea-error {
    width: 93% !important;
  }

  .contact-form-input,
  .contact-form-input-error {
    width: 90% !important;
  }
}