/* ----------------------------------------------------------------------------
 * 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%;
}

body {
    background-color: #f6f9f9;
}

h3, .h3 {
    font-size: 22px;
    font-weight: 500;
}

label.subititle {

  color: #fff;

  font-size: 14px;

  width: 100%;

  max-width: 500px;

  line-height: normal;

}



h1, .h1 {

  font-size: 56px;

  margin: 36px 0 0;

  font-size: 48px;

  text-shadow: 0 0 50px rgba(0,0,0,0.4);

  margin: 0 0 5px 0;

  font-size: 52px;

  letter-spacing: -1px;

  color: #fff;

}

#main {
    display: table;
    vertical-align: middle;
}

#main .wrapper {
    height: 100vh;
    display: table-cell;
    vertical-align: middle;
}

/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */
#book-appointment-wizard {
    background: #f6f9f9;
    box-shadow: 0px 1px 1px #B6B6B6;
    min-height: 480px;
    padding: 0;
}

b.blue {
    color: #002057;
}

div#strapline {
    margin-bottom: 40px;
}

#book-appointment-wizard #header {
  padding: 5px;

  height: 130px;

  background: #ffffff;

  border-bottom: 4px solid #002057;

  padding: 30px 0 0 0;

  height: 250px;

  background-color: #29afce;

  background-image: url(../../assets/img/banner-blue.png);

  background-position: center top, left top;

  background-repeat: no-repeat, repeat;
  text-align: center;
}

#book-appointment-wizard .steps li a .step-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

#book-appointment-wizard #company-name {
    display: inline-block;
    font-size: 24px;
    color: #FFF;
    margin: 0px 10px 0px 15px;
}

.form-book {
    width: 620px;
    max-width: 100%;
    margin: auto;
    float: none;
}
.frame-container .form-book input {
display: block;
    width: 100%;
    height: 50px;
    font-size: 16px;
    line-height: 1.846;
    color: #666666;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #949494;
    padding: 6px 17px;
    width: 100%;
    border: 1px #e0e0e0 solid;
    border-radius: 8px;
    border-collapse: separate;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0), 0 5px 15px rgba(0,0,0,0.07);
}

#book-appointment-wizard #wizard-frame-1 .frame-container {
    /*height: 400px;*/
    margin-bottom: 10px;
    width: 100%;
    max-width: 620px;
    margin: auto;
}

.frame-container .form-book label {
    font-size: 1.3em;
    font-weight: bold;
}

/* STEPS WIZARD
 ------------------------------------------------------------------------------ */


#book-appointment-wizard .steps li.active-step a .title .step-icon {
    background: #106ada;
    box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 rgba(204,169,44, 0.4);
  animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
    box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
      box-shadow: 0 0 0 10px rgba(204,169,44, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
      box-shadow: 0 0 0 0 rgba(204,169,44, 0);
  }
}

#book-appointment-wizard .steps li::before {
  position: absolute;

  content: "";

  background: #e5e5e5;

  width: 190px;

  height: 6px;

  top: 20%;

  left: 24%;
}

#book-appointment-wizard .steps li.last::before {
    width: 0;
    left: 0;
    background: transparent;
}
#book-appointment-wizard .steps ul {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
      list-style: none;

  padding-left: 0;

  background: white;

  border-radius: 5px;

  border: 1px #e0e0e0 solid;

  box-shadow: 0 15px 35px rgba(50,50,93,0.1), 0 5px 15px rgba(0,0,0,0.07);

  padding: 25px 10px 20px;

  width: 100%;

  max-width: 800px;

  margin: auto;

  margin-bottom: 40px;

  position: relative;
}

#book-appointment-wizard .steps li, 
#book-appointment-wizard .steps li.current {
    outline: none;
    -o-outline: none;
    -ms-outline: none;
    -moz-outline: none;
    -webkit-outline: none;
    position: relative;
    padding-bottom: 3px;
    padding-right: 63px;
}


#book-appointment-wizard #wizard-frame-4 .frame-container {
    height: 300px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 620px;
    margin: auto;
}

#book-appointment-wizard .steps li:last-child {
    padding-right: 0;
}

#book-appointment-wizard .steps li a {
    text-decoration: none;
    outline: none;
    -o-outline: none;
    -ms-outline: none;
    -moz-outline: none;
    -webkit-outline: none;
}

#book-appointment-wizard .steps li a .title {
    text-align: center;
}

#book-appointment-wizard .steps li a .title span {
    display: block;
    font-size: 16px;
}

#book-appointment-wizard .steps li a .title span.step-text {
   font-size: 12px;
   color: #002057;
   line-height: normal;
   font-weight: 600;
}

#book-appointment-wizard .steps li a .step-number {
    color: #666;
    font-weight: 400;
    padding: 17px 0 0px;
}

#book-appointment-wizard .steps li.active-step::before {
    background: #106ada;
}

 #book-appointment-wizard .steps li.active-step a .step-icon,  #book-appointment-wizard .steps li.active-step a:active .step-icon {
    box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 5px 18px 0px rgba(0, 0, 0, 0.2);
}

#book-appointment-wizard  .steps li.current a .step-icon,
#book-appointment-wizard  .steps li.current a:active .step-icon,
#book-appointment-wizard  .steps .done::before,
#book-appointment-wizard  .steps li.done a .step-icon,
#book-appointment-wizard  .steps li.done a:active .step-icon {
    background: #6eba2a;
}

#book-appointment-wizard .steps li a .title .step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background: #ccc;
    margin: 0 auto;
    position: relative;
    outline: none;
    -o-outline: none;
    -ms-outline: none;
    -moz-outline: none;
    -webkit-outline: none;
    color: #fff;
    font-size: 20px;
}

#book-appointment-wizard #steps {
    width: 180px;
    display: inline-block;
    margin-top: 17px;
    margin: auto;
    text-align: center;
    position: relative;
}

#book-appointment-wizard #wizard-frame-2.wizard-frame .frame-container {
    /*height: 500px;*/
    margin-bottom: 10px;
    width: 100%;
    max-width: 800px;
    margin: auto;
}


#book-appointment-wizard .wizard-frame {
    padding: 10px 20px;
    height: auto;
    max-width: 980px;
    position: relative;
    overflow: visible;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

#book-appointment-wizard .wizard-frame .frame-container {
    /*height: 500px;*/
    margin-bottom: 10px;
    width: 100%;
    max-width: 620px;
    margin: auto;
}

#book-appointment-wizard .frame-container .frame-title {
    text-align: center;
    margin-bottom: 28px;
    color: #666;
}

#book-appointment-wizard .frame-container .frame-content {
    margin: auto;
    float: none;
}

#book-appointment-wizard .wizard-frame .command-buttons {
    text-align: center;
    margin-top: 10px;
}

#book-appointment-form #book-appointment-submit {
    background: #00d980;
}

#book-appointment-form #book-appointment-submit:hover {
    background: transparent;
    color: #00d980;
    border: 1px solid #00d980;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn {
   width: 200px;
    height: 48px;
    margin-bottom: 20px;
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    border-radius: 30px;
    background: #106ada;
    box-shadow: 0 10px 30px rgba(0, 17, 18, 0.07);
    font-family: Montserrat Bold,sans-serif;
    font-size: 14px;
    line-height: 26px;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn:hover {
    background: transparent;
    color: #106ada;
    border: 1px solid #106ada;
       -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

#book-appointment-wizard .book-step {
    display: inline-block;
    height: 30px;
    width: 30px;
    float: left;
    background: #FFF;
    padding: 1px;
    margin-right: 10px;
    margin-top: 9px;
    border: 3px solid #40d7f4;
}

#book-appointment-wizard .book-step strong {
    font-size: 12px;
    display: block;
    text-align: center;
    color: #A9C5BB;
}


#book-appointment-wizard #frame-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #EEE;
    width: 100%;
    background: #ffffff;
}

#book-appointment-wizard #steps .custom-qtip {
    border-width: 2px;
}

#book-appointment-wizard #available-hours .available-hour {
    font-size: 16px;
    padding: 16px 0;
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #106ada;
    background-color: #fff;
    text-align: center;
    -webkit-transition: background-color .1s linear,color .1s linear,opacity .1s;
    width: 100%;
    margin-bottom: 8px;
}

#book-appointment-wizard #available-hours .available-hour:hover {
 font-weight: bold;
    background-color: #106ada;
    cursor: pointer;
    color: #fff;
}

#book-appointment-wizard #available-hours .selected-hour {
        color: #ffffff;
    font-weight: bold;
    background: #106ada;
}

#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 {
    font-size: 19px;
    margin-bottom: 12px;
}

#book-appointment-wizard .frame-container .frame-title,
#book-appointment-wizard  #wizard-frame-4 .frame-container .frame-content {
    text-align: center;
    color: #666;
    background: #fff;
    background-color: #fff;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
    margin-top: 0px;
}

#book-appointment-wizard #wizard-frame-1 select {
  margin-bottom: 25px;

  display: block;

  width: 100%;

  height: 50px;

  font-size: 16px;

  line-height: 1.846;

  color: #666666;

  border-radius: 4px;

  background-color: #fff;

  border: 1px solid #949494;

  padding: 6px 17px;

  width: 100%;

  border: 1px #e0e0e0 solid;

  border-radius: 8px;

  border-collapse: separate;

  overflow: hidden;

  box-shadow: 0 15px 35px rgba(50, 50, 93, 0), 0 5px 15px rgba(0,0,0,0.07);
}

#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: #007b99;
}

#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
   ------------------------------------------------------------------------- */
button#cancel-appointment {
    background: red;
    color: #fff;
}

.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;
}

.help-block {
    color: #f30000!important;
}

    #book-appointment-wizard .steps li, #book-appointment-wizard .steps li.current {
     outline: none;

  -o-outline: none;

  -ms-outline: none;

  -moz-outline: none;

  -webkit-outline: none;

  position: relative;

  padding-bottom: 3px;

  padding-right: 150px;
    }

    #book-appointment-wizard .steps li::before {
    position: absolute;
    content: "";
    background: #e5e5e5;
    width: 170px;
    height: 6px;
    top: 20%;
    left: 24%;
}

/* MOBILE DEVICES
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /**
     * BOOKING WIZARD
     */
    html,
    body {
        min-height: 100%;
    }

    h3, .h3 {
        font-size: 18px;
    }

    h1, .h1 {
    font-size: 34px;
}

    ul, ol {
    margin-top: 12px;
    margin-bottom: 11.5px;
    }

div#appointment-details p, div#customer-details p {
    font-size: 16px;
}
    div#strapline {
    margin-bottom: 0px;
    padding: 15px;
}

    #book-appointment-wizard .steps li, #book-appointment-wizard .steps li.current {

        padding-right: 60px;
    }

    #book-appointment-wizard .steps li::before {
    width: 130px;
    }

    #main {
        min-height: 100%;
        padding: 0 5vw;
    }

    #main .wrapper {
        width: 100vw;
    }

    #book-appointment-wizard #header {
        overflow: auto;
        height: auto;
        padding: 0;
    }
    #book-appointment-wizard #frame-footer{
        position: relative;
    }

    #book-appointment-wizard #company-name {
        float: none;
        display: block;
        text-align: center;
    }

    #book-appointment-wizard #steps {
        float: none;
        display: block;
        overflow: auto;
        margin: 20px auto;
    }

    #book-appointment-wizard .wizard-frame {
        padding: 0 10px;
        height: auto;
        margin-top: 20px;
    }

    #book-appointment-wizard .wizard-frame .frame-container,
    #book-appointment-wizard #wizard-frame-1 .frame-container {
        height: auto;
    }

    #book-appointment-wizard .wizard-frame .command-buttons {
        float: none;
        width: 92%;
        margin: 20px auto;
    }

    #book-appointment-wizard .wizard-frame .command-buttons .btn {
        width: 48%;
    }

    #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: 100%;
        margin: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    #book-appointment-wizard #available-hours {
        overflow: auto;
        margin: 20px auto;
        width: 100%;
        padding-left: 0px; /* center at the bottom of datepicker */
    }

    #book-appointment-wizard #available-hours div {
        margin-right: 0px;
    }

    #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;
    }

    #book-appointment-wizard .steps li, #book-appointment-wizard .steps li.current {
    padding-right: 70px;
    }

    #book-appointment-wizard .steps li::before {
    position: absolute;
    content: "";
    background: #e5e5e5;
    width: 92px;
    height: 6px;
    top: 20%;
    left: 42%;
}

    #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%;
    }
}
