#modal {
  display: none;
  position: initial;
  width: 100%;
  height: 100%;
  z-index: 100;
}
#modal h3,
#modal h4 {
  font-weight: 900;
}
#modal i {
  width: 20px;
  color: #767676;
}
#modal .modal-bg {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 70;
}
#modal .modal-wrap {
  display: none;
  position: absolute;
  width: 90%;
  max-width: 550px;
  min-width: 240px;
  padding: 50px 30px 70px;
  background-color: #f1f1f1;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  z-index: 100;
}
#modal .modal-wrap h4 {
  text-align: center;
  font-size: 1.4em;
  margin-bottom: 50px;
}
#modal .modal-wrap > div {
  margin-bottom: 20px;
}
#modal .modal-wrap > div .title {
  margin-bottom: 5px;
  font-size: 1em;
  font-weight: 600;
}
#modal .int {
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px solid #ddd;
  background-color: #f1f1f1;
}
#modal .int_building {
  font-size: 0.8em;
  display: flex;
  justify-content: space-between;
}
#modal .int_building label {
  color: #696969;
  display: flex;
  align-items: center;
  word-break: keep-all;
}
#modal .int_building .int {
  width: auto !important;
}
#modal select {
  background-color: #d7e0ef;
  color: #7f7f7f;
  border-radius: 5px;
  margin: 5px 0;
}
#modal .check-agree {
  font-size: 0.8em;
  cursor: pointer;
  padding-left: 3px;
}
#modal .check-agree > input {
  float: left;
}
#modal .agreement-group {
  position: relative;
}
#modal .agreement-group .terms-box {
  display: none;
  position: absolute;
  bottom: 10px;
  width: 100%;
  border: 1px solid #d6d6d6;
  padding: 20px;
  margin: 10px 0;
  overflow: auto;
  background-color: #fff;
  border-radius: 10px;
  font-size: 0.75em;
  line-height: 1.5em;
  color: #868686;
  word-break: keep-all;
}
#modal .agreement-group .terms-box:after {
  position: absolute;
  content: "\f057";
  display: block;
  font-family: "Font Awesome 5 Pro";
  top: 7%;
  right: 3%;
  font-size: 1.7em;
  color: #f7938f;
}
#modal .agreement-group .check-agree {
  font-size: 0.8em;
  justify-content: flex-start;
}
#modal .agreement-group .check-agree input {
  float: left;
  margin: 0;
}
#modal button {
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#modal .close-btn-wrap {
  display: none;
  position: absolute;
  bottom: 4%;
  left: 50%;
  margin-left: -15px;
}
#modal .close-btn {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border-radius: 15px;
  background-color: #ff693c;
  padding: 7px 9px;
  color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

select {
  width: 100%;
  height: 29px;
  font-size: 15px;
  /* background: #ececec
    url("<?= IMG_SERVER ?>/EV_Electronic/static/select_arrow.png") 100% 50%
    no-repeat; */
  background-size: 20px 8px;
  -webkit-appearance: none;
  display: inline-block;
  text-align: start;
  border: none;
  cursor: default;
  padding: 0 10px;
  font-size: 0.8em;
}

/* responsive */
@media all and (min-width: 1400px) {
  #modal .modal-wrap {
    font-size: 16px;
  }
}

@media all and (min-width: 1020px) {
  #modal .agreement-group .terms-box:after {
    display: none;
  }
}

@media all and (max-width: 420px) {
  #modal .modal-wrap {
    font-size: 12px;
    padding: 20px 30px;
  }
  #modal .int_building {
    flex-wrap: wrap;
  }
  #modal .int_building label {
    width: 50%;
  }
  #modal .int_building label:nth-child(3),
  #modal .int_building label:nth-child(4) {
    margin: 10px 0 0;
  }
}
