/* ----------------------------------------------------------------------------
 * 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
 * ---------------------------------------------------------------------------- */

 root {
    display: block;
}

html,
body {
    height: 100%;
}

body {
    background-color: #f5f8fa;
}

#main {
    min-height: 100%;
}

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

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

#book-appointment-wizard #header {
    overflow: auto;
    height: auto;
    padding: 20px 0;
    /* background: #BE185A; */
    border-bottom: 4px solid #D9D9D9;
    text-align: center;
    position: relative;
    /* margin-top: 20px; */
}

#book-appointment-wizard #company-name {
    float: none;
    display: block;
    text-align: center;
    font-size: 24px;
    font-weight: lighter;
    color: #FFF;
    margin: 20px 0;
}

/* #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: 400px;
    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 {
    justify-content: center;
    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;
}

@media (max-width: 768px) {
    #book-appointment-wizard .wizard-frame #select-date {
        padding: 0 0 15px 0 ;
    }
}

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

/* #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: #a91456;
    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-weight: 400;
    font-size: 18px;
    line-height: 26px;
    /* display: block;
    text-align: center;
    color: #FFF; */
    transition: all .3s linear;
    cursor: default;
} 

/* #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: #BE185A;
    font-size: 21px;
} */

/* #book-appointment-wizard .language {
    text-align: end;
    position: relative;
    float: right;
    bottom: -34rem;
    right: 2rem;
} */

#frame-footer{
    position: absolute;
    float: right;
    bottom: 2rem;
    right: 1rem;
}

@media (max-width: 767px) {
    #frame-footer{
        position: initial;
        float: initial;
        text-align: end;
        padding: 15px 15px 0 0;
    }
    /* #book-appointment-wizard .language {
    position: initial;
    float: initial;
    } */

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

@media (max-width: 768px) {
    #steps li strong  {
        display: none;
    }

    #steps .active-step strong {
        display: block;
    }
}

#book-appointment-wizard #available-hours {
    overflow: auto;
    margin: 15px 0;
    padding-right: 10px;
    width: auto;
    max-height: 255px;
}

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

#book-appointment-wizard #available-hours .available-hour {
    margin-bottom: 10px;
}

#book-appointment-wizard #available-hours .selected-hour {
    background-color: #BE185A;
    border-color: #BE185A;
    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: 18px;
    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: #a91456;
}

#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 {
    font-size: 18px;
    overflow-y: auto;
    clear: both;
    max-height: 153px;
    box-shadow: none;
}



.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: 20px;
        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;
    }

    /* #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: center;
        align-items: center;
    }

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

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



    #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;
    }

}

/* 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: 92px;
    display: block;
    margin: auto;
    float: none !important;
}

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

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

/* 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;
    }
}

/*The background card*/
.cardss {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

/*steps*/
#steps {
    /* margin-bottom: 30px; */
    overflow: hidden;
    color: lightgrey;
}

#steps .active {
    color: #000000;
}

#steps li {
    list-style-type: none;
    font-size: 12px;
    width: 25%;
    float: left;
    position: relative;
}

#steps li p {
    width: 32px;
    height: 32px;
    line-height: initial;
    display: block;
    font-size: 18px;
    background: #FFFFFF;
    border: 2px solid #A5A5A5;
    color: #A5A5A5;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
}



/*steps connectors*/
#steps li:not(:first-child)::after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: -10em;
    top: 18px;
    z-index: -1;
}

@media (max-width: 768px) {
    #steps li:not(:first-child)::after {
        left: -7em;
    }
}

@media (max-width: 425px) {
    #steps li:not(:first-child)::after {
        left: -3em;
    }
    #book-appointment-wizard .book-step strong{
        font-size: 14px;
    }
}

/* #steps li:not(:first-child):after {
    content: '';
    width: 50%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0px;
    top: 18px;
    z-index: -1;
} */


/* #steps li:not(:last-child):before {
    content: '';
    width: 50%;
    height: 2px;
    background: lightgray;
    position: absolute;
    right: 0px;
    top: 18px;
    z-index: -1;
} */

/*Color number of the step and the connector before it*/

/* #steps li.active::before, */
#steps li.active::after,
#steps li.active p {
    background: #A91456;
    color: #FFFFFF;
    border: none;
    transition: all .3s linear;
}


