/* ----------------------------------------------------------------------------
 * Easy!Appointments - Open Source Web Scheduler
 *
 * @package     EasyAppointments
 * @author      A.Tselegidis <alextselegidis@gmail.com>
 * @copyright   Copyright (c) 2013 - 2018, Alex Tselegidis
 * @license     http://opensource.org/licenses/GPL-3.0 - GPLv3
 * @link        http://easyappointments.org
 * @since       v1.0.0
 * ---------------------------------------------------------------------------- */

root {
  display: block;
}

html,
body {
  height: 100%;
  font-size: 16px;
}

body {
  font-family: interstate, sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f3e9e5;
}

#main {
  display: table;
  vertical-align: middle;
}

#main .wrapper {
  height: 100vh;
  display: table-cell;
  vertical-align: middle;
}

.feftp-logo img {
  width: 100px;
}

strong {
  font-weight: normal;
}

#wizard-frame-1 .frame-container .frame-content .form-group:nth-child(2) {
  display: none;
}

#service-description {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 1rem;
  color: #133c55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-family: interstate, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#service-description strong {
  color: #133c55;
  margin-top: 1.2em;
  font-family: iskra, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.02em;
  font-size: 1.5em;
}

/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */
#book-appointment-wizard {
  background: #f3e9e4;
  min-height: 480px;
  padding: 0;
}

#book-appointment-wizard #header {
  height: 110px;
  display: flex;
  background-color: #f3e9e5;
  justify-content: space-between;
  align-items: center;
}

#book-appointment-wizard #company-name {
  display: inline-block;
  font-size: 24px;
  color: #fff;
  margin: 16px 10px 0 15px;
  float: left;
}

#book-appointment-wizard #steps {
  width: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#book-appointment-wizard .wizard-frame {
  height: 760px;
  background: #faf9f9;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 4vw;
  padding-left: 4vw;
}

#book-appointment-wizard .wizard-frame .frame-container {
  height: 550px;
  margin-bottom: 10px;
}

#book-appointment-wizard .frame-container .frame-title {
  color: #133c55;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-family: iskra, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  text-align: center;
  letter-spacing: 0.02em;
  font-size: 2.6rem;
}

#wizard-frame-2 .frame-container .frame-title {
  font-size: 2.2em;
}

#wizard-frame-2 .frame-container .frame-content {
  padding-top: 3em;
}

#wizard-frame-3 .frame-container .frame-content {
  padding-top: 3em;
}

/* #book-appointment-wizard .frame-container .frame-content {
  margin: auto;
  float: none;
} */

#book-appointment-wizard .wizard-frame .command-buttons {
  float: right;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn {
  min-width: 80px;
  margin-right: 8px;
}

#book-appointment-wizard .book-step {
  height: 30px;
  width: 30px;
  background: #fff;
  padding: 1px;
  border: 3px solid #8aa4a5;
}

#book-appointment-wizard .book-step strong {
  font-size: 12px;
  display: block;
  text-align: center;
  color: #a9c5bb;
}

#book-appointment-wizard .active-step {
  display: inline-block;
  height: 40px;
  width: 40px;
  background: #fff;
  padding: 1px;
  border: 3px solid #ed919c;
}

#book-appointment-wizard .active-step strong {
  color: #bf737c;
  font-size: 18px;
}

#book-appointment-wizard #frame-footer {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #eee;
  background: #faf9f9;
  margin-bottom: 5em;
}

#book-appointment-wizard #steps .custom-qtip {
  border-width: 2px;
}

#book-appointment-wizard #available-hours .available-hour {
  font-size: 15px;
  padding: 1px;
  display: inline-block;
}

#book-appointment-wizard #available-hours .available-hour:hover {
  font-weight: bold;
  background-color: #caedf3;
  cursor: pointer;
}

#book-appointment-wizard #available-hours .selected-hour {
  color: #0088cc;
  font-weight: bold;
}

#book-appointment-wizard .span3 {
  min-width: 270px; /* This is especially needed for ie8 */
}

#book-appointment-wizard #appointment-details p,
#book-appointment-wizard #customer-details p {
  font-size: 16px;
  line-height: 28px;
}

#book-appointment-wizard #wizard-frame-1 label {
  margin-bottom: 12px;
  color: #133c55;
  margin-top: 40px;
  font-family: iskra, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  text-align: center;
  letter-spacing: 0.02em;
  font-size: 2em;
}

#book-appointment-wizard #wizard-frame-1 select {
  margin-bottom: 25px;
}

#book-appointment-wizard .captcha-title {
  float: left;
  margin-right: 20px;
  margin-top: 7px;
}

#book-appointment-wizard .captcha-title .glyphicon-refresh {
  cursor: pointer;
  transition: all 0.3s linear;
}

#book-appointment-wizard .captcha-title .glyphicon-refresh:hover {
  color: #1a865f;
}

#book-appointment-wizard .captcha-image {
  float: right;
  margin-bottom: 20px;
  border-radius: 3px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

#book-appointment-wizard .captcha-text {
  width: 100%;
  margin-bottom: 20px;
}

/* BOOK SUCCESS & MESSAGE
   ------------------------------------------------------------------------- */
#message-frame,
#success-frame {
  background: #fff;
  border: 1px solid #dddada;
  padding: 70px;
}

#message-frame #message-icon,
#success-frame #success-icon {
  margin-top: 20px;
}

#message-frame .alert,
#success-frame .alert {
  margin-top: 20px;
}

/* CANCEL APPOINTMENT
   ------------------------------------------------------------------------- */

.booking-header-bar {
  padding: 10px 0;
  margin: 0;
  background: #fafafa;
  border-bottom: 1px solid #e2e2e2;
}

.booking-header-bar p {
  margin-top: 2px;
  margin-bottom: 0;
}

/* MOBILE DEVICES
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /**
     * BOOKING WIZARD
     */
  html,
  body {
    min-height: 100%;
  }

  #main {
    min-height: 100%;
    padding: 0 5vw;
  }

  #main .wrapper {
    width: 100vw;
  }

  #book-appointment-wizard #header {
    overflow: auto;
    height: 100px;
  }

  #book-appointment-wizard #company-name {
    float: none;
    display: block;
    text-align: center;
  }

  #book-appointment-wizard .wizard-frame {
    height: 650px;
    background: #faf9f9;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 4vw;
    padding-left: 4vw;
    display: flex;
    flex-direction: column;
  }

  #book-appointment-wizard .wizard-frame .frame-container {
    height: 500px;
    margin-bottom: 10px;
  }

  #wizard-frame-2 {
    height: 850px !important;
  }

  #wizard-frame-2 .frame-container {
    height: 720px !important;
  }

  #wizard-frame-3 {
    height: 1150px !important;
  }

  #wizard-frame-3 .frame-container {
    height: 1030px !important;
  }

  #wizard-frame-4 {
    height: 750px !important;
  }

  #wizard-frame-4 .frame-container {
    height: 620px !important;
  }

  #book-appointment-wizard .wizard-frame .command-buttons {
    align-self: flex-end;
  }

  #book-appointment-wizard .wizard-frame .command-buttons .btn {
    width: 45%;
    background-color: #ed919c;
  }

  #book-appointment-wizard .wizard-frame .command-buttons .btn:hover {
    background-color: #133c55;
  }

  #book-appointment-wizard .wizard-frame .command-buttons #button-next-2,
  #book-appointment-wizard .wizard-frame .command-buttons #button-next-3 {
    float: right;
  }

  #book-appointment-wizard .wizard-frame .command-buttons #button-next-1 {
    width: 100%;
    max-width: 300px;
    margin: auto;
    display: block;
  }

  #book-appointment-wizard .wizard-frame #select-date {
    width: 260px;
    margin: auto; /* center */
  }

  #book-appointment-wizard #available-hours {
    overflow: auto;
    margin: 20px auto;
    width: 260px;
    padding-left: 20px; /* center at the bottom of datepicker */
  }

  #book-appointment-wizard #available-hours div {
    margin-right: 30px;
  }

  #book-appointment-wizard #available-hours .available-hour {
    padding: 8px 3px;
  }

  #book-appointment-wizard #form-message {
    display: block;
    text-align: center;
  }

  #book-appointment-wizard #book-appointment-form {
    width: 45%;
    float: right;
  }

  #book-appointment-wizard #book-appointment-form #book-appointment-submit {
    width: 100%;
  }

  .popover .popover-title {
    text-align: center;
  }

  .popover .popover-content #language-list .language {
    margin: 10px 0;
  }

  /**
     * BOOK SUCCESS
     */
  #message-frame,
  #success-frame {
    text-align: center;
    height: auto;
    border: none;
    padding: 35px;
  }

  #message-frame #message-icon,
  #success-frame #success-icon {
    width: 64px;
    display: block;
    margin: auto;
    float: none !important;
  }

  #success-frame .btn {
    margin-bottom: 10px;
    width: 80%;
    max-width: 250px;
  }

  /**
     * CANCEL APPOINTMENT
     */
  #cancel-appointment-frame {
    text-align: center;
  }

  .ui-dialog .ui-dialog-title {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  body {
    background-color: #fafafa;
  }

  #main {
    padding: 0;
  }

  #main .wrapper {
    width: 100vw;
    margin: 0;
    display: block;
  }

  #book-appointment-wizard {
    box-shadow: none;
  }

  #book-appointment-wizard .captcha-title {
    margin: 7px 0 10px 0;
  }

  #book-appointment-wizard .captcha-image {
    float: left;
  }

  #message-frame,
  #success-frame {
    height: 100%;
  }
}
