﻿                /*
 * appointment-picker.css 1.1.0 | MIT License | github.com/jannicz/appointment-picker
 */
                /* Default variation */
                
                .appo-picker {
                    position: absolute;
                    display: none;
                    background-color: white;
                    max-width: 240px;
                    padding: 10px;
                    border: 1px solid #ccc;
                    box-shadow: 0 5px 15px -5px #ccc;
                    z-index: 9999;
                    font-family: Helvetica, Arial, sans-serif;
                    &.is-open {
                        display: -ms-flexbox;
                        /* IE 10 */
                        display: -webkit-flex;
                        /* Safari 6.1+. iOS 7.1+, BB10 */
                        display: flex;
                        -ms-flex-direction: column;
                        -webkit-flex-direction: column;
                        flex-direction: column;
                    }
                    &.is-position-static {
                        display: flex;
                        flex-direction: column;
                        position: static;
                    }
                    /* Large variation */
                    &.is-large {
                        max-width: 420px;
                        padding: 40px;
                        box-shadow: 0 5px 15px 0 #ccc;
                        .appo-picker-title {
                            height: 40px;
                            font-size: 18px;
                        }
                        .appo-picker-list {
                            max-width: 340px;
                        }
                        .appo-picker-list-item {
                            width: 25%;
                            height: 47px;
                            font-size: 16px;
                        }
                    }
                }
                
                .appo-picker-title {
                    display: -ms-flexbox;
                    display: -webkit-flex;
                    display: flex;
                    -webkit-justify-content: center;
                    -ms-flex-pack: center;
                    justify-content: center;
                    height: 30px;
                    font-size: 14px;
                    font-weight: bold;
                }
                
                .appo-picker-list {
                    display: -ms-flexbox;
                    display: -webkit-flex;
                    display: flex;
                    -ms-flex-direction: row;
                    -webkit-flex-direction: row;
                    flex-direction: row;
                    -ms-flex-wrap: wrap;
                    -webkit-flex-wrap: wrap;
                    flex-wrap: wrap;
                    max-width: 240px;
                    padding: 0;
                    margin: 0;
                    list-style-type: none;
                }
                
                .appo-picker-list-item {
                    width: 25%;
                    height: 34px;
                    input[type="button"] {
                        width: 100%;
                        height: 100%;
                        margin: 0 1px 1px 0;
                        border-color: #fff;
                        border-style: solid;
                        border-width: 1px 1px 0 0;
                        border-radius: 5px;
                        background-color: #f5f5f5;
                        font-size: 12px;
                        color: #666;
                        line-height: 15px;
                        -webkit-appearance: none;
                        -moz-appearance: none;
                        cursor: pointer;
                        &.is-selected {
                            background-color: #33aaff;
                            color: #fff;
                            box-shadow: inset 0 1px 2px #666;
                        }
                        &:hover,
                        &:active,
                        &:focus {
                            color: #fff;
                            background-color: #ff8000;
                            outline: none;
                        }
                        &:disabled {
                            background-color: #D5E9F7;
                            opacity: 0.3;
                            color: #666;
                            cursor: auto;
                        }
                    }
                }
                
                .appo-slot-picker-list-item {
                    width: 100%;
                    height: 34px;
                    input[type="button"] {
                        width: 100%;
                        height: 100%;
                        margin: 0 1px 1px 0;
                        border-color: #fff;
                        border-style: solid;
                        border-width: 1px 1px 0 0;
                        border-radius: 5px;
                        background-color: #f5f5f5;
                        font-size: 12px;
                        color: #666;
                        line-height: 15px;
                        -webkit-appearance: none;
                        -moz-appearance: none;
                        cursor: pointer;
                        &.is-selected {
                            background-color: #33aaff;
                            color: #fff;
                            box-shadow: inset 0 1px 2px #666;
                        }
                        &:hover,
                        &:active,
                        &:focus {
                            color: #fff;
                            background-color: #ff8000;
                            outline: none;
                        }
                        &:disabled {
                            background-color: #D5E9F7;
                            opacity: 0.3;
                            color: #666;
                            cursor: auto;
                        }
                    }
                }