.calculator_map {
  /*padding: 40px 0;*/
  width: 100%;
}

.message_result, .calculator-map {
  display: none;
}

.calculator_map .center {
  text-align: center;
}

.calculator-map-inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.message_result_form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.message_result_form input:first-child {
  margin-right: 20px;
}

.message_result_price {
  font-size: 3rem;
  color: #50B848;
}

.calculator-map input[type="text"], .calculator-map input[type="tel"], .calculator-map select, .message_result_form input[type="text"]{
  padding: 15px;
  border-radius: 5px;
  width: 30%;
  margin-top: 20px;
  display: block;
  border: 1px solid #50B848;
  font-family: 'Montserrat',sans-serif;
  font-size: 18px;
  color: #353535;
  height: 54px;
}

.calculator-map input[type="checkbox"] {
  width: 20px;
  height: 30px;
}

.calculator-map  label  {
  margin-top: 30px;
  color: #888;
  width: 100%;
  text-align: center;
}

.calculator-map  label > input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.calculator-map  label >span {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.calculator-map  label >span::before {
  content: '';
  display: inline-block;
  width: 20px;
  cursor: pointer;
  height: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #50B848;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.calculator-map  label  >input:not(:disabled):not(:checked)+span:hover::before {
  border-color: #50B848;
}

.calculator-map  label >input:not(:disabled):active+span::before {
  background-color: #50B848;
  border-color: #50B848;
}

.calculator-map  label >input:focus+span::before {
  box-shadow: 0 0 0 0.2rem rgba(80,184,72, 0.25);
}

.calculator-map  label > input:focus:not(:checked)+span::before {
  border-color: #50B848;
}

.calculator-map  label >input:checked+span::before {
  border-color: #50B848;
  background-color: #50B848;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.calculator-map  label >input:disabled+span::before {
  background-color: #fff;
}

.error_map {
  border-color: #FF1109!important;
}

.calculator-map-button {
  margin-top: 20px!important;
  cursor: pointer;
  margin: auto;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 141px;
  height: 46px;
  background-color: #50B848;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
}

.calculator-map h3 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 33px;
}

.calculator-map input#name, .calculator-map input#phone {
  background-image: none;
}

#map {
  width: 100%;
  height: 400px;
}

.maps_hr {
  margin-top: 40px;
}

.calculator-map-button-form {
  margin-bottom: 20px;
}

.message_result ul {
  list-style: none;
  text-align: center;
}

.message_result ul li {
  display: inline-block;
  padding: 10px;
}

.calculator-map-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  overflow: hidden;
  z-index: 99;
  display: none;
}

.calculator-map-modal-content {
  margin: 150px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  width: 500px;
  height: 300px;
  background-color: #fff;
  border-radius: 10px;
}

.message_result_price p {
  font-size: 1.5rem;
  color: #000;
  font-weight: 400;
}

@media (min-width: 601px) {
  .calculator-map-button {
    width: 30%!important;
  }
}

@media (max-width: 600px) {
  .calculator_map button {
    width: 100%;
  }

  .calculator-map-modal-content {
    width: 98%;
  }

  .calculator_map {
    padding-top: 30px!important;
    padding-bottom: 30px!important;
  }

  .calculator-map input[type="text"], .calculator-map input[type="tel"], .calculator-map select, .message_result_form input[type="text"] {
    width: 100%;
  }

  .message_result_form input:first-child {
    margin-right: unset;
  }

  .message_result ul {
    padding: unset;
    text-align: left;
  }

  .message_result ul li {
    width: 100%;
  }
}