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

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

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


/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */
#book-appointment-wizard {
    background: #FFF;
    box-shadow: 0px 1px 1px #B6B6B6;
    min-height: 480px;
    /*padding: 0;*/
}

#book-appointment-wizard #header {
    padding: 5px;
    height: 90px;
    background: #0F100F;
    border-bottom: 4px solid #CDD0CA;
}

#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: 180px;
    display: inline-block;
    float: right;
    margin-top: 17px;
}

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

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

#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 {
    float: right;
}

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

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

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

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

#book-appointment-wizard .active-step strong {
    color: #666;
    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: #9e9e9e;
    cursor: pointer;
    text-decoration: none;
}

#book-appointment-wizard #available-hours .selected-hour {
    color: #000000;
    /*font-weight: bold;*/
    background-color: #cfcfcf !important;
    text-decoration: none !important;
}

#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;
        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;
        vertical-align: top;
    }

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

    .row{
        /*margin-left: 0 !important;*/
        /*margin-right: 0 !important;*/
    }

    #book-appointment-wizard #providerSelectedName:before { content: ' '; display: block; }

    .frame-title{
        font-size: 18px;
    }

    .dateHolder{
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
.btn-success{
    background-color: #0D100C !important;
}

.fr{
    float: right;
}

.clearfix{
    clear: both;
}

.mal5{
    margin-left: 5px;
}

.blitzo-logo-footer img{
    width: 90px;
    margin-left: 5px;
}

.blitzo-logo-footer{
    margin-top: 30px;
    text-align: center;
    padding-bottom: 10px;
}

#restaurant_list a{
    padding: 20px;
    border: 1px solid #9e9e9e;
    /*border-bottom: 1px solid #9e9e9e;*/
    display: inline-block;
    width: 100%;
    min-height: 150px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px ;
    text-transform: uppercase;
    color: #000000;
}

#restaurant_list a:hover{
    text-decoration: none;
    background-color: #cfcfcf;
}
.addressSpan{
    font-size: 11px !important;
}

.restaurant_list-active {
    background-color: #cfcfcf !important;
}
.ui-datepicker{
    width: 100% !important;
}
body .ui-datepicker td a, body .ui-datepicker td span{
    margin: 0 auto !important;
}
.ui-effects-transfer {
    border: 1px dotted black;
}
#available-hours a{
    border: 1px solid #9e9e9e;
    padding: 5px 13px !important;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    color: #000000;
}

#available-hours a:hover{
    text-decoration: none !important;
}

#header_text_comp{
    text-align: right;
}

#providerSelectedName {
    font-size: 24px;
    color: #FFF;
    margin-right: 15px;
}
#company-name {
    width: 100% !important;
}
#company-name img {
    float: left;
}
.holder {
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 10000;
}

.preloader-span {
    /* size */
    text-align: center;
    position: absolute;
    top: 60%;
    width: 100%;
    font-weight: bolder;
    color: #006400;
    font-size: 14px;
}

.preloader {
    /* size */
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: rotatePreloader 2s infinite ease-in;
}

@keyframes rotatePreloader {
    0% {
        transform: translateX(-50%) translateY(-50%) rotateZ(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) rotateZ(-360deg);
    }
}
.preloader div {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.preloader div:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0%;
    width: 10%;
    height: 10%;
    background-color: #006400;
    transform: translateX(-50%);
    border-radius: 50%;
}

.preloader div:nth-child(1) {
    transform: rotateZ(0deg);
    animation: rotateCircle1 2s infinite linear;
    z-index: 9;
}

@keyframes rotateCircle1 {
    0% {
        opacity: 0;
    }
    0% {
        opacity: 1;
        transform: rotateZ(36deg);
    }
    7% {
        transform: rotateZ(0deg);
    }
    57% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(2) {
    transform: rotateZ(36deg);
    animation: rotateCircle2 2s infinite linear;
    z-index: 8;
}

@keyframes rotateCircle2 {
    5% {
        opacity: 0;
    }
    5.0001% {
        opacity: 1;
        transform: rotateZ(0deg);
    }
    12% {
        transform: rotateZ(-36deg);
    }
    62% {
        transform: rotateZ(-36deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(3) {
    transform: rotateZ(72deg);
    animation: rotateCircle3 2s infinite linear;
    z-index: 7;
}

@keyframes rotateCircle3 {
    10% {
        opacity: 0;
    }
    10.0002% {
        opacity: 1;
        transform: rotateZ(-36deg);
    }
    17% {
        transform: rotateZ(-72deg);
    }
    67% {
        transform: rotateZ(-72deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(4) {
    transform: rotateZ(108deg);
    animation: rotateCircle4 2s infinite linear;
    z-index: 6;
}

@keyframes rotateCircle4 {
    15% {
        opacity: 0;
    }
    15.0003% {
        opacity: 1;
        transform: rotateZ(-72deg);
    }
    22% {
        transform: rotateZ(-108deg);
    }
    72% {
        transform: rotateZ(-108deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(5) {
    transform: rotateZ(144deg);
    animation: rotateCircle5 2s infinite linear;
    z-index: 5;
}

@keyframes rotateCircle5 {
    20% {
        opacity: 0;
    }
    20.0004% {
        opacity: 1;
        transform: rotateZ(-108deg);
    }
    27% {
        transform: rotateZ(-144deg);
    }
    77% {
        transform: rotateZ(-144deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(6) {
    transform: rotateZ(180deg);
    animation: rotateCircle6 2s infinite linear;
    z-index: 4;
}

@keyframes rotateCircle6 {
    25% {
        opacity: 0;
    }
    25.0005% {
        opacity: 1;
        transform: rotateZ(-144deg);
    }
    32% {
        transform: rotateZ(-180deg);
    }
    82% {
        transform: rotateZ(-180deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(7) {
    transform: rotateZ(216deg);
    animation: rotateCircle7 2s infinite linear;
    z-index: 3;
}

@keyframes rotateCircle7 {
    30% {
        opacity: 0;
    }
    30.0006% {
        opacity: 1;
        transform: rotateZ(-180deg);
    }
    37% {
        transform: rotateZ(-216deg);
    }
    87% {
        transform: rotateZ(-216deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(8) {
    transform: rotateZ(252deg);
    animation: rotateCircle8 2s infinite linear;
    z-index: 2;
}

@keyframes rotateCircle8 {
    35% {
        opacity: 0;
    }
    35.0007% {
        opacity: 1;
        transform: rotateZ(-216deg);
    }
    42% {
        transform: rotateZ(-252deg);
    }
    92% {
        transform: rotateZ(-252deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(9) {
    transform: rotateZ(288deg);
    animation: rotateCircle9 2s infinite linear;
    z-index: 1;
}

@keyframes rotateCircle9 {
    40% {
        opacity: 0;
    }
    40.0008% {
        opacity: 1;
        transform: rotateZ(-252deg);
    }
    47% {
        transform: rotateZ(-288deg);
    }
    97% {
        transform: rotateZ(-288deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}
.preloader div:nth-child(10) {
    transform: rotateZ(324deg);
    animation: rotateCircle10 2s infinite linear;
    z-index: 0;
}

@keyframes rotateCircle10 {
    45% {
        opacity: 0;
    }
    45.0009% {
        opacity: 1;
        transform: rotateZ(-288deg);
    }
    52% {
        transform: rotateZ(-324deg);
    }
    102% {
        transform: rotateZ(-324deg);
    }
    100% {
        transform: rotateZ(-324deg);
        opacity: 1;
    }
}