/**
 * Style cho giao diện đặt hẹn online easy
 * @since 1.3.8 230227
 */

html {
  overflow-x: hidden;
}
body {
  background-color: var(--pageBg, #fff);
  color: var(--text-primary-color, #000);
  overflow-x: hidden;
}

.bookinginfo span:not(.label),
#copyright a:hover,
.highlight {
  color: var(--text-highlight-color, #000);
}

#container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  margin: auto;
  background-color: var(--containerBg, #fff);
  max-width: 700px;
  flex-direction: column;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  overflow-x: hidden;
}

#header {
  min-height: 220px;
  max-height: 300px;
  text-align: center;
  max-width: 700px;
  margin: 0px auto;
  padding: 40px 24px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  text-shadow: 1px 0 5px #000;
  padding-bottom: 70px;
  width: 100%;
}

#header::before {
  content: "";
  box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 1),
    inset 0 -1px 0 rgb(0 0 0 / 10%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#header h1 {
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 20px;
}

#header .content {
  text-align: center;
  line-height: 1.6em;
  font-size: 1.1em;
  z-index: 3;
  position: relative;
}

#booking-body {
  width: 100%;
  background-color: var(--containerBg, #fff);
  margin: -30px auto 0px;
  position: relative;
  -webkit-box-flex: 1;
  flex-grow: 1;
  padding: 30px 24px;
  max-width: 700px;
  border-radius: 20px 20px 0px 0px;
  flex: 1;
  padding-bottom: 20px;
  overflow-x: hidden;
}

.groupcontainer {
  margin-bottom: 30px;
}

.grouptitle {
  font-size: 1.5em;
}

.booking-disabled {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grouptitle {
  margin-top: 0;
}

.form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0px;
  padding-right: 0px;
}

.requiredfield {
  position: relative;
}

.requiredfield::after {
  content: "*";
  position: absolute;
  right: 10px;
  color: red;
  font-size: 1.2em;
  top: 9px;
}

.booking-salon-label {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: row;
  padding: 12px 10px;
  background-color: var(--text-primary-color, #fff);
  color: var(--pageBg, #000);
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
}

.booking-salon-label input {
  margin-left: 5px;
  margin-right: 26px;
  margin-top: 0;
  height: 1px;
  width: 1px;
  position: relative;
}

.booking-salon-label input::before,
.booking-salon-label input:checked::after {
  width: 22px;
  height: 22px;
  border-radius: 22px;
  top: -11px;
  left: -6px;
  position: relative;
  background-color: #aaaaaa;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

.booking-salon-label input:checked::after {
  width: 16px;
  height: 16px;
  top: -33px;
  left: -3px;
  border: 1px solid white;
  background-color: var(--text-highlight-color, #037ada);
}

.booking-salon-label > div {
  display: flex;
  flex-direction: column;
}

.booking-salon-label > div small {
  font-weight: 500;
}

.booking-salon-label > div .phonecontainer > small:not(:first-child) {
  padding-left: 10px;
}

.label {
  font-size: 1.2em;
  padding-left: 10px;
  font-weight: normal;
  color: inherit;
}

.icon {
  max-width: 25px;
  max-height: 25px;
}

.input-group-addon {
  min-width: 50px;
}

.right-20 {
  padding-right: 20px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary,
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active,
#select-day .btn-primary .select-day-title {
  background-color: var(--text-highlight-color, #037ada);
  outline: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary,
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active,
#select-day .btn-primary {
  border-color: var(--text-highlight-color, #037ada) !important;
  outline: none;
}

.text-primary,
#select-day .btn-primary .select-day-body .day-in-week {
  color: var(--text-highlight-color, #037ada) !important;
}

#select-day .btn-primary .select-day-body .day {
  color: var(--text-highlight-color, #037ada) !important;
  opacity: 0.8;
}

#copyright {
  background: #000;
  padding: 6px;
}

#copyright,
#copyright a {
  text-align: center;
  opacity: 0.7;
  font-size: 0.9em;
  color: var(--text-primary-color, #000);
}

.disable-click {
  border: 1px solid transparent !important;
}

.bookingsuccess > div {
  margin-bottom: 6px;
}

#timeFrame {
  max-height: none;
}

/* Update 1.5.0 241130 - Thêm ẩn chuyên môn */
.hide-chm {
  display: none;
}

@media (max-width: 512px) {
  .form-group:not(.gender) .bootstrap-select {
    width: calc(100vw - 100px) !important;
    max-width: calc(100vw - 100px) !important;
  }
  .form-group:not(.gender) .dropdown-menu:not(:first-child).open {
    margin-left: -50px;
    width: calc(100vw - 48px) !important;
    min-width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }
}

.form-group:not(.gender) .bootstrap-select.btn-group .dropdown-menu.inner {
  max-width: calc(100vw - 82px) !important;
}
