.rentlist-item {
  height: 345px;
  border: 3px solid #dce4e3;
  border-radius: 8px;
  margin: 5px;
  transition: all 0.5s ease;
  padding: 10px;
  cursor: pointer;
}


.rentcar-img {
  height: 180px;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  position: relative;
}

.rentcar-name {
  font-family: 'twayfly';
  font-weight: bold;
  font-size: 20px;
  padding: 10px 0px 5px 10px;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align : center;
}

.rentcar-info {
  display: flex;
  justify-content: space-around;
  padding: 0 16px;
  font-size: 13px;
}

.rentcar-info:first-child > div:not(:last-child) {
  margin-right: 10px;
}

.rentcar-info:last-child {
  padding: 5px 16px;
}

.rentcar-option-title { color: #888; }
.rentcar-option-data { padding-left: 5px; }

.rentcar-price {
  height: 55px;
  display: flex;
  font-size: 20px;
  font-family: 'twayfly';
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
}

.rentcar-rate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  color: #fff;
  background-color: #1376b5;
  box-shadow: 2px 3px 13px #00000029;
  text-align: center;
  line-height: 35px;
  font-size: 12px;
}


.rentcar-order-detail > div {
  text-align: left;
}

.rentcar-order-detail, .rentcar-notice { font-family: 'twayfly'; }
.rentcar-notice {
  line-height: 1.6em;
  font-size: 16px;
  color: #a5a5a5;
  justify-self: flex-start;
  margin-left: 2em;
}
.rentcar-notice p { color: #a5a5a5; }
.rentcar-notice.user-notice { padding: 8px 0 0 8px; font-size: 16px; line-height: 1.6em; }

.rentcar-order-detail .rentcar-name { padding: 5px 0; margin: 0 5px; }

.rentcar-order-detail .rentcar-info { padding: 8px 0; font-size: 14px; margin: 0 5px; justify-content: flex-start; }
.rentcar-order-detail .rentcar-info > div:not(:last-child) { margin-right: 15px; }
.rentcar-order-detail .rentcar-options { padding: 5px 0; font-size: 14px; margin: 0 5px; }

.rentcar-order-detail .rentcar-options .rentcar-option {
  white-space: pre-line;
  line-height: 2.6em;
}
.rentcar-order-detail .rentcar-options .rentcar-option span {
  padding: 5px;
  margin: 5px 0;
  border: 1px solid #dce4e3;
  border-radius: 5px;
  background-color: #dce4e3;
  color: #333;
  font-size: 14px;
}
.rentcar-order-detail .rentcar-options .rentcar-option span:not(:last-child) {
  margin-right: 5px;
}

.container-box.buyer { margin: 0 35px 0 35px; }
.container-box.driver { margin: 0 35px 0 0; }

.container-box.buyer .input-group input,
.container-box.driver .input-group input { text-align: left; text-indent: 8px; border: 1px solid #bbcac8; }

.container-box.buyer .input-group label,
.container-box.driver .input-group label { font-size: 14px; color: #003B4A; flex: .5; display: flex; justify-content: space-between; align-items: center; }

.container-box.buyer .input-group label i,
.container-box.driver .input-group label i { font-size: 24px; }

.container-box.buyer .input-group label i:not(.font-red),
.container-box.driver .input-group label i:not(.font-red) { color: #1376b5; }

.container-box.buyer .input-group input:focus,
.container-box.driver .input-group input:focus {
  border: 1px solid #1376b5;
}

.container-box.order .btn {
  width: 80%;
  font-size: 24px;
  padding: 8px 0;
  line-height: 1.6em;
  margin: 0 auto;
}
.container-box.order { padding: 5px 0 15px 0; }
.container-box.order .container-item { text-align: center; line-height: 1.6em; padding: 0 10px 10px 10px; }
.container-box.order .notice {
  padding-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

.container-box.order .notice i {
  font-size: 16px;
  color: #ff4336;
  margin-right: 5px;

}

.search-option.bank .search-option-input label { border: none; cursor: default; }


@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {

  #layout-three-container {
    display: grid;
  }

  .s-full { width: 100%; }

  .search-result {
    font-size: 1.2rem;
  }


  .container-rentlist {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    row-gap: .5rem;
    column-gap: .5rem;
    justify-content: center;
    padding: .5rem;
  }

  .container-rentcar-detail {
    display: grid;
  }

  .rentlist-item { margin: 0; height: 245px; }

  .rentcar-img { height: 11rem; }
  .container-rentcar-detail .rentcar-img { height: 20rem; margin: 0 auto; }

  .rentcar-name { font-size: 1.4rem; padding: .8rem 0; line-height: unset; }

  .rentcar-info { display: grid; }
  .container-rentcar-detail .rentcar-info { display: flex; font-size: 1rem; }
  .rentcar-info:last-child { padding: .5rem 0; font-size: 1.2rem; }

  .rentcar-notice { font-size: 1.1rem; margin-left: 0; }

  .rentcar-order-detail .rentcar-options .rentcar-option {
    display: flex;
    gap: .5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    line-height: unset;
    padding: .8rem 0;
  }
  .rentcar-order-detail .rentcar-options .rentcar-option span {
    padding: .5rem;
    margin: unset;
    font-size: 1.2rem;
  }
  .rentcar-order-detail .rentcar-options .rentcar-option span:not(:last-child) { margin-right: unset; }

  .arrow { top: 35%; left: 35%; }
  .arrow .line { width: 85px; }

  .rentcar-rate { top: 35%; left: 80%; }

  .rentcar-price {
    height: auto;
    display: grid;
    grid-auto-rows: auto;
    row-gap: .5rem;
    padding: 0 1.2rem;
  }
  .rentcar-price .rentcar-default { font-size: 1.4rem; }
  .rentcar-price .rentcar-sale { padding: .5rem 0; }


  .container-box.buyer, .container-box.driver { margin: 0 1rem; }

  .container-box.buyer input, .container-box.driver input { font-size: 1.6rem; width: 100%; }
  .container-box.buyer .input-group label, .container-box.driver .input-group label { flex: .9; width: 16rem; font-size: 1.3rem; }

  .rentcar-notice.user-notice { font-size: 1.2rem; }

  .container-box.order .btn { font-size: 2rem; }

  .container-schedule .search-option-body { font-size: 1.2rem; padding: .5rem 1rem; }

  .container-schedule .search-option-body .container-flex .search-option-input { font-size: 1.2rem; }

  .search-option .search-option-header {
    font-size: 1.3rem;
    padding: .5rem 1rem;
    margin: 0;
  }

  .search-option-body .search-option-input label { margin: 0; }

  .search-option-body .search-gcode { gap: .8rem; }

  .search-option-body.search-date { display: grid; row-gap: .8rem; }
}
