.best-news-contructions {
  min-height: 90vh;
  padding: 60px 0px;
  background-image: url("../../images/best-news-construtions/mobile.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
article.form-news-construction {
  z-index: 10;
  position: relative;
}
section.best-news-contructions:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: #00000099;
  height: 100%;
}
.best-news-contructions
  .form-news-construction
  .form-search
  .flex-content-form
  .form-item
  .clidxboost-btn-link {
  width: 100%;
  background-color: #305fcb !important;
  border-color: #305fcb !important;
  border-radius: 4px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
}
.best-news-contructions
  .form-news-construction
  .form-search
  .flex-content-form
  .form-item
  .clidxboost-btn-link:hover {
  background-color: #4b5f9c !important;
  border-color: #4b5f9c !important;
}
.best-news-contructions .form-news-construction {
  background-image: url("../../images/best-news-construtions/form.jpg");
  background-color: #224460;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 5px solid white;
  max-width: 610px;
  width: 90%;
  padding: 20px;
  display: none;
}
.form__text_container {
  padding-bottom: 15px;
}
.form__text_container,
.form_wrapper {
}
.form__text_container h2,
.form__text_container h1,
.form__text_container p {
  color: white;
  font-weight: 700;
  text-align: center;
}
.form__text_container h3 {
  font-weight: 400;
  color: white;
  text-align: center;
}
.separator {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 7px 0;
}
.separator:after,
.separator:before {
  content: "";
  height: 0;
  width: 40%;
  border-bottom: 3px dotted white;
}
.form_wrapper .select2-container--default .select2-selection--multiple {
  min-height: 42px;
  padding-top: 4px;
}
.form_wrapper
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  background-color: transparent;
  border: none;
  border-right: 1px solid #aaa;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: #999;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 0 4px;
  position: absolute;
  left: 0;
  top: 0;
}
.form_wrapper
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice
  span {
  color: white;
}
.form_wrapper
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: black;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 0;
  padding-left: 20px;
  position: relative;
  max-width: 114px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
  font-size: 13px !important;
}
.form_wrapper
  .select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
.form_wrapper textarea::placeholder {
  color: #666666 !important;
  font-weight: 600;
  font-family: "Open Sans", sans-serif !important;
  padding-left: 12px;
  padding-right: 14px;
}

.form__text_container h2 {
}
.form__text_container h1 {
  font-size: 1.7rem;
  line-height: 1.2;
}
.form__text_container p {
}
.separator {
}
.separator img {
  filter: brightness(2.5);
}
.form_wrapper {
}
/*li.form-item.full-item:nth-of-type(5){
        display:none;
    }*/
@media (max-width: 639px) {
  .form__text_container h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .best-news-contructions
    .form-news-construction
    .form-search
    .flex-content-form
    .form-item
    .clidxboost-btn-link {
    font-size: 14px;
  }
  .form__text_container h2 {
    font-size: 1.2rem;
  }
  .form__text_container h3 {
    font-weight: 400;
    color: white;
    text-align: center;
    font-size: 13px;
  }
}
@media (min-width: 640px) {
  .best-news-contructions {
    min-height: 90vh;
    padding: 120px 20px;
    background-image: url("../../images/best-news-construtions/tablet.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .form__text_container h1 {
    font-size: 2.7rem;
    line-height: 1;
  }
  .best-news-contructions .form-news-construction {
    max-width: 610px;
    width: 90%;
    padding: 50px;
  }
  .form__text_container p {
    width: 73%;
    margin: auto;
  }
}
@media (max-width: 639px) {
  .best-news-contructions
    .form-news-construction
    .form-search
    .flex-content-form
    .form-item
    .clidxboost-btn-link {
    font-size: 14px;
  }
}
@media (min-width: 1025px) {
  .best-news-contructions {
    min-height: 90vh;
    padding: 120px 20px;
    background-image: url("../../images/best-news-construtions/desktop.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 1820px) {
  .best-news-contructions .form-news-construction {
    max-width: 640px;
  }
}

/* -------------- --------------------- */
/* ------------- Mods  -------------*/
/* -----------Juan Carlos---------------- */
/* -------------- --------------------- */
/**Form**/
.hero-form-inner .form-group-button .button {
  min-width: 100%;
  display: flex;
  justify-content: center;
  min-height: 50px;
  align-items: center;
  line-height: 1.4;
  letter-spacing: 0.3px;
  font-size: 14px;
  gap: 5px;
}
p.alert {
  font-size: 12px;
  margin-top: 8px;
  color: white;
  background: #ce203b;
  text-align: center;
  display: none;
}
#additional {
  font-size: 16px;
}
#getButton {
  transition: 0.3s;
}
#getButton:hover {
  background-color: #ff2a4b;
  box-shadow: 0 0 6px 2px #ff2a4b;
}
p.info {
  font-size: 12px;
  margin-top: 8px;
}

h3.title {
  font-size: 24px;
  text-align: center;
  font-family: "Choplin Medium-DEMO";
}
.page-template-page-cherry
  .form_wrapper
  .form-search
  .flex-content-form
  .form-item {
  margin-bottom: 10px;
}

.form_wrapper .form_content p.info {
  font-size: 14px;
  margin-top: 8px;
  color: #ce203b;
}

.form_wrapper .form_content .flex-content-form .form-item {
  width: 100%;
}
#body-modal .form_wrapper {
  position: absolute;
  z-index: 9999999;
  width: 100%;

  justify-content: center;

  display: flex;
}
.form_content {
  background: white;
  box-shadow: 1px 0 7px #00000087;
  padding: 20px;
  border-radius: 10px;
  z-index: 999999999;
  max-width: 600px;
  margin: 20px;
}

#body-modal {
  display: none;
}

.bg-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);

  top: 0;
  left: 0;
  z-index: 9999999;
}
.page-template-page-cherry .form_wrapper .clidxboost-btn-link {
  color: #fff;
  border-color: #ce203b;
  background-color: #ce203b;
  transition: 0.3s;
}
.page-template-page-cherry .form_wrapper input::placeholder {
  color: #ce203b;
}
.page-template-page-cherry .form_wrapper .form_text h3 {
  font-family: "Choplin Medium-DEMO";
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}
.page-template-page-cherry .form_wrapper .form_text p {
  color: #ce203b;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}
.page-template-page-cherry
  .form_wrapper
  .form-search
  .flex-content-form
  .form-item
  .medium {
  padding: 0 1rem;
  border: 1px solid #e5e5e5;
  height: 40px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
}
#body-modal .pt-name,
#body-modal .pt-lname,
#body-modal .pt-phone,
#body-modal .pt-email {
  opacity: 0;
  margin: 0;
  height: 0;
  width: 0;
  overflow: 0;
}
/****Switch****/

/*******/
/* The switch - the box around the slider */
label.check-form {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
/*
label.check-form input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    
}
*/
#include-penthouse,
div#types-properties,
div#neighborhood-choices {
  display: grid;
  grid-template-columns: auto auto;
  gap: 15px;
  margin-top: 32px;
  margin-bottom: 30px;
}

/**button*/
#body-modal .toggle-button-cover {
  display: table-cell;
  position: relative;
  width: 74px;
  height: 36px;
  box-sizing: border-box;
}
.button-cover {
  max-width: 74px;
  min-width: 74px;
  /* float: left; */
}

body-modal .button-cover {
  height: auto;
  margin: 5px;
  background-color: #fff;
  box-shadow: 0 10px 20px -8px #c5d6d6;
  border-radius: 4px;
}

#body-modal .button-cover:before {
}

#body-modal .button-cover,
#body-modal .knobs,
#body-modal .layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#body-modal .slicer-button {
  position: relative;
  top: 50%;
  width: 74px;
  height: 38px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

#body-modal .slicer-button.r,
.button.r .layer {
  border-radius: 100px;
}
.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

#body-modal .knobs {
  z-index: 2;
}

#body-modal .layer {
  width: 100%;
  background-color: #3b4b7cbf;
  transition: 0.3s ease all;
  z-index: 1;
}
#body-modal .form-item .clidxboost-btn-link:hover {
  background-color: #4b5f9c !important;

  background-color: #ff2a4b;
  box-shadow: 0 0 6px 2px #4b5f9c;
}

#body-modal .knobs:before {
  content: "NO";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 0;
  background-color: #4b5f9c;
  border-radius: 50%;
  transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 1px;
}
#body-modal fieldset {
  width: 100%;
  display: block;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-block-start: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
  padding-block-end: 0;
  min-inline-size: auto;
}
#body-modal .checkbox:active + .knobs:before {
  width: 46px;
  border-radius: 100px;
}

#body-modal .checkbox:checked:active + .knobs:before {
  margin-left: -26px;
}
#body-modal h4 {
  font-size: 18px;
  margin-bottom: 10px;

  font-weight: 700;
}
#body-modal
  .form-search
  .flex-content-form
  .form-item
  button.clidxboost-btn-link {
  width: 80%;
  background: #305fcb;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

#body-modal .checkbox:checked + .knobs:before {
  content: "Yes";
  left: 42px;
  background-color: #305fcb;
  box-shadow: 0 0 6px 2px #fbfcea;
  z-index: 9999;
}

#body-modal .checkbox:checked ~ .layer {
  background-color: #7798ffbf;
}
label.check-form b {
  font-size: 15px;
  letter-spacing: -0.8px;
}
@media (max-width: 639px) {
  #include-penthouse,
  div#types-properties,
  div#neighborhood-choices {
    display: grid;
    grid-template-columns: auto;
    gap: 15px;
    margin-top: 32px;
    margin-bottom: 30px;
  }
  .form_content {
    width: 95%;
  }
  #body-modal
    .form-search
    .flex-content-form
    .form-item
    button.clidxboost-btn-link {
    width: 100%;
    background: #305fcb;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
  }
  .form_content {
    background: white;
    box-shadow: 1px 0 7px #00000087;
    padding: 10px;
    border-radius: 10px;
    z-index: 999999999;
    max-width: 600px;
    margin: 10px;
  }
}
@media (min-width: 640px) {
  .form_wrapper {
    top: 120px;
  }
  .form_content {
    background: white;
    box-shadow: 1px 0 7px #00000087;
    padding: 20px;
    border-radius: 10px;
    z-index: 999999999;
    max-width: 80%;
    margin: 20px;
  }
  label.check-form b {
    font-size: 15px;
    letter-spacing: 0;
  }
  #body-modal
    .form-search
    .flex-content-form
    .form-item
    button.clidxboost-btn-link {
    width: 80%;
    background: #305fcb;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
  }
}
@media (min-width: 1024px) {
  #include-penthouse,
  div#neighborhood-choices {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 15px;
    margin-top: 32px;
    margin-bottom: 30px;
    grid-auto-flow: column;
    grid-template-rows: auto auto auto auto auto auto;
  }
}
@media (min-width: 1200px) {
  #include-penthouse,
  div#neighborhood-choices {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 15px;
    margin-top: 32px;
    margin-bottom: 30px;
    grid-auto-flow: column;
    grid-template-rows: auto auto auto auto auto;
  }
}
