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

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&family=Quicksand:wght@300;400;500;600;700&display=swap');

root {
    display: block;
}

html,
body {
    height: 100%;
    font-family: "Albert Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
    background-color: #f5f8fa;
}

#main {
    min-height: 100%;
}

/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */

#book-appointment-wizard {
    background: #FFF;
    min-height: 480px;
    padding: 0;
    margin: auto;
}

#book-appointment-wizard #header {
    overflow: auto;
    height: auto;
    padding: 20px 15px;
    background: #429a82;
    
    background: #000;
}

#book-appointment-wizard #company-name {
    float: none;
    display: block;
    text-align: center;
    font-size: 24px;
    font-weight: lighter;
    color: #FFF;
    margin: 20px 0;
    
    text-indent: -1000px;
    width: 200px;
    height: 50px;
    background-image: url("/images/logo_small.png");
}

#book-appointment-wizard #steps {
    float: none;
    display: block;
    overflow: auto;
    margin: 15px auto;
    width: 190px;
}

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

#book-appointment-wizard #form-message {
    text-align: center;
    margin-bottom: 30px;
}

#book-appointment-wizard .wizard-frame {
    height: auto;
    padding: 15px;
}

#book-appointment-wizard .wizard-frame .frame-container {
    height: auto;
    min-height: 500px;
    padding: 15px 0;
}

#book-appointment-wizard .frame-container .frame-title {
    font-weight: lighter;
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

#book-appointment-wizard .frame-container .frame-content {
    float: none;
}

#book-appointment-wizard .wizard-frame .command-buttons {
    float: none;
    margin: 15px auto;
    text-align: center;
}

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

#book-appointment-wizard .wizard-frame .command-buttons .btn:last-child {
    margin-right: 0;
}

#book-appointment-wizard .wizard-frame #select-date {
    max-width: 288px;
    margin: auto;
    padding: 15px 0;
}

#book-appointment-wizard .wizard-frame #select-date > .ui-datepicker {
    margin: auto;
}

#book-appointment-wizard .wizard-frame #select-time {
    max-width: 288px;
    margin: auto;
    padding: 15px 0;
}

#book-appointment-wizard .book-step {
    display: inline-block;
    height: 35px;
    width: 35px;
    float: left;
    background: #225d4d;
    background: #333;
    padding: 8px;
    margin-right: 12px;
    margin-top: 6px;
    border-radius: .25rem;
    transition: all .3s linear;
}

#book-appointment-wizard .book-step:last-child {
    margin-right: 0;
}

#book-appointment-wizard .book-step strong {
    font-size: 12px;
    display: block;
    text-align: center;
    color: #0bb98d;
    transition: all .3s linear;
    cursor: default;
    
    color: #ccc;
}

#book-appointment-wizard .active-step {
    display: inline-block;
    height: 45px;
    width: 45px;
    float: left;
    background: #FFF;
    padding: 7px;
    margin-right: 13px;
    margin-top: 0;
}

#book-appointment-wizard .active-step strong {
    color: #429a82;
    font-size: 21px;
    
    color: #000;
}

#book-appointment-wizard #frame-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #ebeef1;
}

#book-appointment-wizard #available-hours {
    /*overflow: auto;*/
    margin: 0 0;
    padding-right: 10px;
    width: auto;
    /*max-height: 320px;*/
    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

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

#book-appointment-wizard #available-hours .available-hour {
    width: 64px;
}

#book-appointment-wizard #available-hours .available-hour.btn-block, #book-appointment-wizard #available-hours .available-hour.btn-block + .btn-block {
  margin-top: 0;
  margin-bottom: .5rem;
}

#book-appointment-wizard #available-hours .selected-hour {
    background-color: #439a82;
    border-color: #439a82;
    color: white;
}




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

#book-appointment-wizard #select-timezone {
    margin-bottom: 15px;
}

#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 #wizard-frame-1 select {
    margin-bottom: 25px;
}

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

#book-appointment-wizard .captcha-title .fa-sync-alt {
    cursor: pointer;
    transition: all 0.3s linear;
}

#book-appointment-wizard .captcha-title .fa-sync-alt:hover {
    color: #1A865F;
}

#book-appointment-wizard .captcha-image {
    float: left;
    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-appointment-wizard #service-description {
    overflow-y: auto;
    clear: both;
    max-height: 153px;
    box-shadow: none;
}

#service-palette {
}

#service-palette > div {
  background-color: #f8f8f8;
  border-radius: 4px;
  border: solid 1px #666;
  cursor: default;
  padding: 8px;
  margin-bottom: 8px;
}

#service-palette > div:hover {
  background-color: #eee;
}

#service-palette .service-name {
  font-weight: 700;
}

#service-palette .service-description {
  font-size: 80%;
}

#service-palette .service-description p {
  margin: 4px 0 0 0;
}

#service-palette .service-description p:first-child {
    
}

#service-guide {
  margin: 8px 0 0 0;
  font-weight: 800;
  text-align: center;
}

#service-guide p {
  margin: 8px 0 0 0;
}

#service-palette .current, #service-palette .current:hover {
  color: #000;
  background-color: #ccc;
  border: solid 1px #666;
  padding: 8px;
}

#book-appointment-wizard .service-description-display, #book-appointment-wizard .service-info-display {
  font-size: 80%;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 16px;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 8px;
}

#book-appointment-wizard .service-description-display .service-name {
  font-weight: 700;
  margin-bottom: 0.5em;
}

#book-appointment-wizard .service-description-display p, #book-appointment-wizard .service-info-display p {
  margin-bottom: 0.5em;
}

#book-appointment-wizard .service-description-display p:last-child, #book-appointment-wizard .service-info-display p:last-child {
  margin-bottom: 0;
}

#book-appointment-wizard .service-info-display {
  display: block;
}

#book-appointment-wizard .service-info-display .service-time-display {
  display: block;
  font-weight: 700;
  font-size: 150%;
}

#book-appointment-wizard .service-info-display .service-name-display {
  display: block;
  font-weight: 500;
  font-size: 120%;
}

#book-appointment-wizard #select-language,
#book-appointment-wizard .backend-link {
    display: block;
    min-width: 120px;
    margin: 15px auto;
    padding: 5px;
}

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

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

@media (min-width: 768px) {
    .wrapper {
        min-height: 100vh;
    }

    #book-appointment-wizard {
        border-radius: .25rem;
        overflow: hidden;
        box-shadow: rgba(45, 62, 80, 0.12) 0 1px 5px 0;
    }

    #book-appointment-wizard #company-name {
        display: inline-block;
        float: left;
        margin: 10px auto;
        
        /*text-indent: -1000px;
        background-image: url("/images/logo_small.png");
        background-position: center center;
        background-repeat: no-repeat;*/
    }

    #book-appointment-wizard #steps {
        display: inline-block;
        float: right;
        margin: 5px auto;
    }

    #book-appointment-wizard .wizard-frame {
        padding: 10px 20px;
    }

    #book-appointment-wizard .wizard-frame .command-buttons {
        display: flex;
        justify-content: space-between;
    }

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

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

    #book-appointment-wizard #select-language {
        width: 100px;
        padding: 5px;
        margin: 5px auto;
    }

    #book-appointment-wizard #frame-footer small {
        display: flex;
    }

    #book-appointment-wizard .footer-powered-by,
    #book-appointment-wizard .footer-options {
        width: 50%;
    }

    #book-appointment-wizard .footer-powered-by {
        text-align: left;
        padding: 5px 5px 5px 0;
    }

    #book-appointment-wizard .footer-options {
        text-align: right;
        font-size: 12pt;
    }

    #book-appointment-wizard .footer-options svg {
        
    }

    #book-appointment-wizard #select-language {
        display: inline-block;
        margin-right: 15px;
        font-weight: 400;
    }

    #book-appointment-wizard .backend-link {
        display: inline-block;
        min-width: 120px;
        padding: 5px;
        margin: 5px auto;
        font-weight: 400;
    }
}

/* 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;
    margin-right: 20px;
}

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

#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: 300px;
}

@media (min-width: 768px) {
    #message-frame,
    #success-frame {
        height: 100%;
    }
}

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

.booking-header-bar {
    padding: 15px 0;
    margin: 0;
    background: #f3f2e7;
    border-bottom: 1px solid #e4e1c9;
    text-align: center;
}

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

@media (min-width: 768px) {
    .booking-header-bar {
        padding: 15px 0;
        margin: 0;
        background: #f3f2e7;
        border-bottom: 1px solid #e4e1c9;
        text-align: left;
    }
}


