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

body{
     font-family: 'Poppins', sans-serif!important;
}
body .custom-qtip {
    border: none;
    border-radius: 0;
    padding: 2px 10px;
    box-shadow: 1px 1px 3px #7676764f;
    background: #fff;
    font-size: 12px;
    line-height: 20px;
    color: #333;
}

body .ui-widget {
   
    font-size: 1.1em;
}

body .ui-widget-overlay {
    background: #000 50% 50% repeat-x;
    opacity: .5;
    filter: Alpha(Opacity=50);
}

body .ui-dialog .ui-dialog-titlebar-close {
    display: none;
}

body .ui-draggable .ui-dialog-titlebar {
    background: #39c678;
    color: #FFF;
    font-size: 1.5em;
    font-weight: lighter;
    padding: 12px 10px;
    border: none;
    border-bottom: 4px solid #c0f1d6;
    margin-bottom: 10px;
}

body .ui-dialog {
    padding: 0;
    z-index: 2000;
    border: none !important;
    box-shadow: 0 0 10px #333;
}

body .ui-dialog .ui-dialog-buttonpane {
    padding: .3em 1em .3em .4em;
    border: none;
}

body .ui-button .ui-icon,
body .ui-button:hover .ui-icon {
    background-image: url('../ext/jquery-ui/images/ui-icons_222222_256x240.html');
}

body .ui-dialog #error-technical {
    max-width: 500px;
}

body .ui-widget.ui-widget-content {
    border: 1px solid #7460ee;
    padding: 0;
}

body .ui-datepicker .ui-widget-header {
    border: none;
    background: #7460ee;
    border-radius: 0;
}

body .ui-datepicker .ui-widget-header .ui-icon {
    background-image: url("../ext/jquery-ui/images/ui-icons_ffffff_256x240.html")
}

body .ui-datepicker .ui-datepicker-title {
    color: white;
}

body .ui-datepicker th {
    background: #7460ee;
    color: #FFF;
}

body .ui-datepicker tbody tr:first-child td {
    margin-top: 5px;
}

body .ui-datepicker td a,
body .ui-datepicker td span {
    border: none !important;
    background: none !important;
    color: #1A865F !important;
    text-align: center !important;
    width: 32px;
    height: 32px;
    line-height: 2;
}

html body .ui-datepicker td a.ui-state-active {
    color: #FFF !important;
    background: #7460ee !important;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    line-height: 1.7;
    margin: 4px;
}

body .ui-datepicker td a.ui-state-highlight {
    background: #80E3AD !important;
    border-radius: 67px;
    color: #FFF !important;
    width: 22px;
    height: 22px;
    line-height: 1.3;
    margin: 4px;

}

body .ui-datepicker .ui-datepicker-prev-hover {
    top: 2px !important;
    left: 2px !important;
    background: #80e1ac;
    border-color: #80e1ac;
    border-radius: 0;
    cursor: pointer;
}

body .ui-datepicker .ui-datepicker-next-hover {
    top: 2px !important;
    right: 2px !important;
    background: #80e1ac;
    border-color: #80e1ac;
    border-radius: 0;
    cursor: pointer;
}

body .ui-datepicker .ui-slider-handle {
    border-radius: none;
    border-color: #36d8ff;
    background-color: #36d8ff;
}

.breaks tr:hover td {
    background: #FFFFC2 !important;
}

.working-plan td {
    vertical-align: middle;
}

.breaks td {
    vertical-align: middle;
}

li.language:hover {
    cursor: pointer;
    color: #005580;
}

#select-language {
    cursor: pointer;
    display: inline-block;
    padding: 4px 5px;
}

#select-language.active {
    box-shadow: 0 0 20px #1A865F;
}

#language-list {
    list-style: none;
    padding-left: 0px;
}

/* JQUERY UI DATETIME PICKER ADDON
   ------------------------------------------------------------------------- */
.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

.ui-timepicker-div dl dt {
    float: left;
    clear: left;
    padding: 0 0 0 5px;
}

.ui-timepicker-div dl dd {
    margin: 0 10px 10px 40%;
}

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-timepicker-div .ui_tpicker_unit_hide {
    display: none;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input {
    background: none;
    color: inherit;
    border: none;
    outline: none;
    width: 95%;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus {
    border-bottom-color: #aaa;
}

.ui-timepicker-rtl {
    direction: rtl;
}

.ui-timepicker-rtl dl {
    text-align: right;
    padding: 0 5px 0 0;
}

.ui-timepicker-rtl dl dt {
    float: right;
    clear: right;
}

.ui-timepicker-rtl dl dd {
    margin: 0 40% 10px 10px;
}

/* Shortened version style */
.ui-timepicker-div.ui-timepicker-oneLine {
    padding-right: 2px;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
.ui-timepicker-div.ui-timepicker-oneLine dt {
    display: none;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label {
    display: block;
    padding-top: 2px;
}

.ui-timepicker-div.ui-timepicker-oneLine dl {
    text-align: right;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd,
.ui-timepicker-div.ui-timepicker-oneLine dl dd > div {
    display: inline-block;
    margin: 0;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before {
    content: ':';
    display: inline-block;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before {
    content: '.';
    display: inline-block;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before {
    display: none;
}

/* ----------------------------------------------------------------------------
 * Easy!Appointments - Open Source Web Scheduler
 *
 * @package     EasyAppointments
 * @author      A.Tselegidis <alextselegidis@gmail.com>
 * @copyright   Copyright (c) 2013 - 2016, 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: #f5f5f599;
}

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

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

/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */
#book-appointment-wizard {
    background: #FFF;
    min-height: 480px;
    padding: 0;
    border-radius: 16px 16px 0px 0px;
    border: 1px solid #eaebec;
    -webkit-box-shadow: 10px 11px 25px 13px rgba(82, 63, 105, 0.09);
    box-shadow: 10px 11px 25px 13px rgba(82, 63, 105, 0.09);
    padding-bottom: 30px;
        margin: 50px 0px;
}
#book-appointment-wizard .wizard-frame .command-buttons {
    margin-top: 18px;
}
#book-appointment-wizard #header {
    padding: 5px;
    height: 90px;
    background: #36d8ff;
    border-bottom: 4px solid #c0f1d6;
}

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

#book-appointment-wizard #steps {
    float: none;
    margin-top: 17px;
    display: table;
    table-layout: fixed;
    width: 100%;
}

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

#book-appointment-wizard .wizard-frame .frame-container {
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 28px !important;

}

select, select.form-control{
    font-size: 14px;
}


#book-appointment-wizard .frame-container .frame-title {
    text-align: center;
    margin-bottom: 28px;
    color: #333;
    font-weight: 600;
    font-size: 28px;
    padding-bottom: 20px;
        margin-top: 20px;
}

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

#book-appointment-wizard .book-step {
float: none;
    margin-right: 10px;
    display: table-cell;
    vertical-align: top;
    width: auto;
    padding: 0 3px;
        font-weight: bold;
    font-size: 15px;
}

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

#book-appointment-wizard .active-step {
    color: #7460ee;
    /*    display: inline-block;
    height: 40px;
    width: 40px;
    float: left;
    background: #FFF;
    padding: 1px;
    margin-right: 10px;
    margin-top: 3px;
    border: 3px solid #c0f1d6;*/
}

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

#book-appointment-wizard #frame-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #EEE;
    background: #FAFAFA;
}

#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 {
    font-size: 19px;
    margin-bottom: 12px;
}

#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
   ------------------------------------------------------------------------- */
#cancel-appointment-frame {
    padding: 15px 0;
    margin: 0;
    background: #FAFAFA;
    border-bottom: 1px solid #E2E2E2;
}

#cancel-appointment-frame p {
    margin-top: 8px;
    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: auto;
    }

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

    #book-appointment-wizard .wizard-frame .frame-container {
        height: auto;
    }

    #book-appointment-wizard .wizard-frame .command-buttons {
        float: none;
        width: 80%;
        margin: 20px auto;
    }

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

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

/*******  Custom new css   ******/

.bk-form-header {
    height: 40px;
    background-color: #7460ee;
    border-radius: 16px 16px 0px 0px;
}
.bk-form-header div:first-child {
    margin-left: 18px;
}
.bk-form-header div {
    width: 13px;
    height: 13px;
    background-color: #fff;
    margin: 14px 0 0 5px;
    border-radius: 7px;
    display: inline-block;
}
.custom-steps {
    padding: 0 30px;
    margin-top: 64px;
    margin-bottom: 10px;
}

#book-appointment-wizard .book-step strong {
    height: 15px;
    background: #bec3c7;
    margin-top: 5px;
    display: block;
}

#book-appointment-wizard .active-step strong {
    background-color: #7460ee;
}

#book-appointment-wizard .book-step:first-child strong {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

#book-appointment-wizard .book-step:last-child strong {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
strong.fisrt-label1 {
    color: #7460ee;
    font-size: 14px;
}
div#service-description {
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
}
#book-appointment-wizard .wizard-frame .command-buttons .btn {
    background-color: #7460ee;
    color: #fff;
        font-size: 14px;
    height: auto;
    border-color: #7460ee;
}
.custom-avialhrs {
    width: 11% !important;
    padding: 0 5px;
}

.custom-avialhrs span.available-hour {
    display: block !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px;
    padding: 3px !important;
    text-align: center;
    margin-bottom: 2px;
    position: relative;
}

.custom-avialhrs br {
    display: none;
}

.custom-avialhrs span.available-hour:before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 31px;
    border: 1px solid #a7a2a2;
    top: 12px;
    border-radius: 50%;
    display: none !important;
}

.custom-avialhrs span.available-hour:hover::before {
    border-color: #36d8ff;
    border-width: 2px;
}

.custom-avialhrs span.available-hour.selected-hour {
    background-color: #7460ee;
    border-color: #7460ee !important;
    color: #fff !important;
}
#book-appointment-wizard #available-hours .available-hour:hover {
        background-color: transparent;
    border-color: #7460ee !important;
    color: #7460ee;
}
.custom-avialhrs span.available-hour.selected-hour:hover{
    color: #000 !important;
}
.custom-avialhrs span.available-hour.selected-hour:before {
    display: none;
}
#book-appointment-wizard .wizard-frame .command-buttons .button-next {
    float: right;
}
#book-appointment-wizard .wizard-frame .command-buttons .button-back {
}
#book-appointment-wizard .wizard-frame .command-buttons {
    float: none;
}
#book-appointment-wizard .wizard-frame .command-buttons:after{
    content: '';
    display: block;
    clear: both;
}
form#book-appointment-form {
    float: right;
}
div#appointment-details strong.text-primary {
    color: #666666;
    font-weight: 100;
}




/*Media start*/

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-avialhrs {
        width: 20% !important;
        padding: 0 5px;
        margin-right: 0px !important;
    }
}

@media only screen and (min-width: 300px) and (max-width: 767px) {
    .custom-avialhrs {
        width: 33% !important;
        padding: 0 5px;
        margin-right: 0px !important;
    }
    #book-appointment-wizard #available-hours {
        width: 100%;
    }
}
@media (max-width: 500px){
    #book-appointment-wizard .book-step {
        font-size: 11px;
    }
}
@media (max-width: 767px){
#book-appointment-wizard #wizard-frame-1 label {
    display: block;
}
}

@media (max-width: 480px){
    #main .wrapper {
        width: 94%;
        margin: 0 auto;
    }
    #book-appointment-wizard .book-step {
    font-size: 8px !important;
}
}