@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Main */

body {
  font-family: "PT Serif", "Georgia", "Garamond", serif;
  background-color: rgb(232, 232, 232);
  color: rgb(129, 122, 122);
  font-size: 16px;
}

#main {
  max-width: none;
}

#book-appointment-wizard {
  background-color: rgb(232, 232, 232);
}

#book-appointment-wizard #header {
  background-color: #fff !important;
  padding-left: 4vw;
  padding-right: 4vw;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#book-appointment-wizard #company-name {
  background-image: url('../img/logo_gray_cropped.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 0.5vw;
  margin-top: 16px;
  text-indent: -6000px;
  flex: 1 1 auto;
}

#book-appointment-wizard #header #back-home {
  display: block;
  margin-right: 1vw;
  flex: 0 1 auto;
}

#book-appointment-wizard #header #back-home a {
  background-color: rgb(52, 46, 46);
  border-radius: 32px;
  padding: 20px 32px;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn, #success-frame .btn, #cancel-appointment-frame .btn {
  border-radius: 32px;
  padding: 10px 16px;
}

#back-home a:link, #back-home a:visited, #back-home a:active {
  color: #fff;
}  

#book-appointment-wizard #header #steps {
  display: none;
}

#book-appointment-wizard #header > span:nth-of-type(2) {
  display: none !important;
}

#book-appointment-wizard .wizard-frame {
  padding: 0 4vw;
}

#book-appointment-wizard .frame-container .frame-title {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-weight: 400;
  text-align: left;
  font-size: 3rem;
  color: rgb(129, 122, 122);
}

#book-appointment-wizard #wizard-frame-1 label {
  font-size: 16px;
}

/* Services */

#service-palette > div {
  border: none;
  border-radius: 0;
  padding: 16px;
  cursor: pointer;
}

#service-palette .current, #service-palette .current:hover {
  padding: 16px;
}

.service-name {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1em;
}

.service-name b {
  display: block;
  font-size: 1.6rem;
}

.service-name i {
  line-height: 1.2rem;
  display: block;
}

#service-palette .service-description {
  font-size: 100%;
}

/* Time */

#book-appointment-wizard #time-service-description {
  flex-direction: column;
  margin-bottom: 1em;
}

#book-appointment-wizard #time-service-description .service-description {
  margin-top: 1em;
}

#book-appointment-wizard #available-hours {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-weight: 600;
}

#book-appointment-wizard #available-hours .available-hour {
  border-radius: 32px;
}

#book-appointment-wizard #available-hours .selected-hour {
  background-color: rgb(52, 46, 46);
  border-color: rgb(52, 46, 46);
}

#book-appointment-wizard .ui-datepicker {
  border-color: #172839;
  border-radius: 0;
  font-family: "Marcellus", "Lucida Sans", sans-serif;
}

#book-appointment-wizard .ui-datepicker .ui-datepicker-header {
  background-color: #172839;
}

#book-appointment-wizard .ui-datepicker th {
  background-color: #194261;
}

html body #book-appointment-wizard .ui-datepicker td a {
  color: #18608E !important;
}

html body #book-appointment-wizard .ui-datepicker td a.ui-state-active {
  background-color: #18608E !important;
  color: #FFFFFF !important;
}

html body #book-appointment-wizard .ui-datepicker td.ui-datepicker-week-end a {
  color: #C00045 !important;
}

html body #book-appointment-wizard .ui-datepicker td.ui-datepicker-unselectable span {
  color: #CCCCCC !important;
}

#book-appointment-wizard .service-description-display {
  border: none;
  border-radius: 0;
}

#book-appointment-wizard .service-description-display .service-name {
  
}

/* Data */

.form-control {
  border-radius: 32px;
  padding: 1.5rem;
  border: none;
}

#book-appointment-wizard .service-info-display {
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 2rem 0;
}

#book-appointment-wizard .service-info-display .service-time-display {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-size: 1.5rem;
}

#customer-service-time .service-name {
  
}

/* Confirm */

#success-frame h3 {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-size: 2rem;
}

#success-frame h3 ~ div {
  border-radius: 0 !important;
  padding: 1rem;
  margin: 4vw !important;
}

#success-frame h5 {
  font-family: "Marcellus", "Lucida Sans", sans-serif;
  font-size: 1.5rem;
}

/* Cancel */

#cancel-appointment-frame {
  margin: 2rem 4vw 0 4vw;
  padding: 4vw;
}

#cancel-appointment-frame small {
  font-size: 16px;
  font-weight: 600;
}

#cancel-appointment-frame form {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  
  /* Main */
  
  .col-xl-8 {
    max-width: none;
    flex: 1 1 auto;
  }
  
  #book-appointment-wizard .frame-container .frame-title {
    margin-top: 1em;
    font-size: 4rem;
  }
  
  #book-appointment-wizard {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }
  
  #book-appointment-wizard #company-name { 
    height: 70px;
    margin-top: 10px;
  }
  
  /* Services */
  
  #service-palette {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content min-content;
    column-gap: 2rem;
    row-gap: 2rem;
    margin: 2rem 0;
    max-width: 1440px;
  }
  
  #service-palette > div {
    margin: 0;
  }
  
  /* Time */
  
  #book-appointment-wizard #wizard-frame-2 #date-time-selection {
    flex-wrap: nowrap;
  }
  
  #book-appointment-wizard #wizard-frame-2 #date-time-selection .col-12.col-md-6:first-child {
    flex: 0 1 auto;
    max-width: none;
  }
  
  #book-appointment-wizard #wizard-frame-2 #date-time-selection .col-12.col-md-6:last-child {
    flex: 1 0 auto;
    max-width: none;
  }
  
  #book-appointment-wizard .wizard-frame #select-date {
    margin: 0;
  }
  
  #book-appointment-wizard .wizard-frame #select-time {
    margin: 0;
  }
  
  /* Cancellation */
  
  #cancel-appointment-frame {
    display: block;
    padding: 2rem;
  }
}