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

root { 
    display: block;
}

#select-service, #select-provider, #select-plan, input, select,label, .frame-title {
    text-transform: uppercase !important;
}

input#email {
    text-transform: lowercase;
}

.red { color: #f00; }

.form-control[readonly] {
  cursor: pointer;
  background-color: #fff;
  opacity: inherit;
}

.input-group .form-control {
  z-index: 0; 
}    

html, 
body {
    height: 100%;
}

body {  
    background: linear-gradient(rgba(0, 15, 61, 0.5), rgba(0, 216, 255, 0.8)), url('../img/bg3.png');
    /*background: linear-gradient(rgba(0, 15, 61, 0.5), rgba(0, 255, 178, 0.5)), url('../img/bg3.png');*/
}

#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: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    /*min-height: 480px;*/
    padding: 0;
}

#book-appointment-wizard #header {
    padding: 5px;
    height: 88px;
    background: #fff;
    border-bottom: 10px solid #38AAE1;
    border-top: 1px solid #38AAE1;
}

#book-appointment-wizard #company-name { 
    font-weight: bold;
    color: #FFF;
    font-size: 22px;
    margin: 18px 10px 0 14px;
    display: inline-block;
    text-shadow: 0px 1px 1px #8F8888;
    float: left;
}

#book-appointment-wizard #steps {
    width: 180px;
    display: inline-block;
    float: right;
    margin-top: 12px;
}

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

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

#book-appointment-wizard .frame-container .frame-title {
    text-align: center;
    margin-bottom: 28px;
}

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

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

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

#book-appointment-wizard .active-step strong {
    color: #70706F;
    font-size: 22px;
}

#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: #38AAE1;
    color: #fff;
    cursor: pointer;
}

#book-appointment-wizard #available-hours .selected-hour {
    color: #38AAE1;
    font-weight: bold;
    text-decoration: underline;
}

#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 #service-description {
    margin-top: 10px;
    padding: 10px;
    background: #F5F5F5;
    border: 1px solid #EEE;
    border-radius: 5px;
    min-height: 80px;
}

#book-appointment-wizard #wizard-frame-1 label {
    font-size: 14px;
    margin-bottom: 12px;
}

#book-appointment-wizard #wizard-frame-1 select {
    margin-bottom: 25px;
}

#language-list {
    list-style: none;
    padding-left: 0px;
}
/*
.btn-success {
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    background-repeat: repeat-x;
}*/

button:focus { outline:0 !important; }

.btn-success, .btn-success:link, .btn-success:visited {
    background-color: transparent;
    border-radius: 0;
    color: #38AAE1;
    border: 2px solid #38AAE1;
    border-radius: 15px;
}
.btn-success:active, .btn-success:hover, .btn-success:focus {
    background-color: #38AAE1;
    color: #fff
}

.btn-success.btn-lg {
    border: 3px solid #38AAE1;
}
.btn-success.btn-sm {
    border: 1px solid #38AAE1;
}  
.btn-success.btn-xs {
    border: 1px solid #38AAE1;
}

.button-back, .button-back:link, .button-back:visited {
    background-color: transparent;
    border-radius: 0;
    color: #70706F;
    border: 2px solid #70706F;
    border-radius: 15px;
}
.button-back:active, .button-back:hover, .button-back:focus {
    background-color: #70706F;
    color: #fff
}

.button-back.btn-lg {
    border: 3px solid #70706F;
}
.button-back.btn-sm {
    border: 1px solid #70706F;
}  
.button-back.btn-xs {
    border: 1px solid #70706F;
}  

/* BOOK SUCCESS & MESSAGE
   ------------------------------------------------------------------------- */
#message-frame, 
#success-frame { 
    background: #FFF;
    border: 1px solid #DDDADA;
    padding: 70px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

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

/* MOBILE DEVICES
   ------------------------------------------------------------------------- */
@media(max-width:768px) {
    /**
     * BOOKING WIZARD
     */
    html, 
    body {
        min-height: 100%;
    }

    #main {
        min-height: 100%;
        display: block; /* reset display */
        padding: 0;
    }

    #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-1 {
        width: 100%;
    }

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

    #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: 100%;
        border: none;
        padding: 35px;
    }

    #message-frame #message-icon,
    #success-frame #success-icon {
        width: 64px;
        display: block;
        margin: auto;
        float: none !important;
    }

    /**
     * CANCEL APPOINTMENT
     */
    #cancel-appointment-frame {
        text-align: center;
    }
}