/*!
 * Datetimepicker for Bootstrap v3
 * https://github.com/Eonasdan/bootstrap-datetimepicker/
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */

.bootstrap-datetimepicker-widget {
    top: 0;
    left: 0;
    width: 250px;
    padding: 4px;
    margin-top: 1px;
    z-index: 99999;
    border-radius: 4px;
    color: #3784b1;
    border: 1px solid #c3ddec;
    background-color: #edf5fa;
    /* Fallback Color */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fdfefe), to(#edf5fa));
    /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #fdfefe, #edf5fa);
    /* Chrome 10+, Saf5.1+, iOS 5+ */
    background-image: -moz-linear-gradient(top, #fdfefe, #edf5fa);
    /* FF3.6 */
    background-image: -ms-linear-gradient(top, #fdfefe, #edf5fa);
    /* IE10 */
    background-image: -o-linear-gradient(top, #fdfefe, #edf5fa);
    /* Opera 11.10+ */
    background-image: linear-gradient(top, #fdfefe, #edf5fa);
}

    .bootstrap-datetimepicker-widget .btn {
        padding: 6px;
    }

    .bootstrap-datetimepicker-widget:before {
        content: '';
        display: inline-block;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #ccc;
        border-bottom-color: rgba(0,0,0,0.2);
        position: absolute;
        top: -7px;
        left: 6px;
    }

    .bootstrap-datetimepicker-widget:after {
        content: '';
        display: inline-block;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
        position: absolute;
        top: -6px;
        left: 7px;
    }

    .bootstrap-datetimepicker-widget.pull-right:before {
        left: auto;
        right: 6px;
    }

    .bootstrap-datetimepicker-widget.pull-right:after {
        left: auto;
        right: 7px;
    }

    .bootstrap-datetimepicker-widget > ul {
        list-style-type: none;
        margin: 0;
    }

    .bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
        width: 100%;
        font-weight: bold;
        font-size: 1.2em;
    }

    .bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator {
        width: 4px;
        padding: 0;
        margin: 0;
    }

    .bootstrap-datetimepicker-widget .datepicker > div {
        display: none;
    }

    .bootstrap-datetimepicker-widget .picker-switch {
        text-align: center;
    }

    .bootstrap-datetimepicker-widget table {
        width: 100%;
        margin: 0;
    }

    .bootstrap-datetimepicker-widget td, .bootstrap-datetimepicker-widget th {
        text-align: center;
        width: 20px;
        height: 20px;
        border-radius: 4px;
    }

        .bootstrap-datetimepicker-widget td.day:hover, .bootstrap-datetimepicker-widget td.hour:hover, .bootstrap-datetimepicker-widget td.minute:hover, .bootstrap-datetimepicker-widget td.second:hover {
            background: #eee;
            cursor: pointer;
        }

        .bootstrap-datetimepicker-widget td.old, .bootstrap-datetimepicker-widget td.new {
            color: #999;
        }

        .bootstrap-datetimepicker-widget td.active, .bootstrap-datetimepicker-widget td.active:hover {
            background-color: #428bca;
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
        }

        .bootstrap-datetimepicker-widget td.disabled, .bootstrap-datetimepicker-widget td.disabled:hover {
            background: none;
            color: #999;
            cursor: not-allowed;
        }

        .bootstrap-datetimepicker-widget td span {
            display: block;
            width: 47px;
            height: 54px;
            line-height: 54px;
            float: left;
            margin: 2px;
            cursor: pointer;
            border-radius: 4px;
        }

            .bootstrap-datetimepicker-widget td span:hover {
                background: #eee;
            }

            .bootstrap-datetimepicker-widget td span.active {
                background-color: #428bca;
                color: #fff;
                text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
            }

            .bootstrap-datetimepicker-widget td span.old {
                color: #999;
            }

            .bootstrap-datetimepicker-widget td span.disabled, .bootstrap-datetimepicker-widget td span.disabled:hover {
                background: none;
                color: #999;
                cursor: not-allowed;
            }

        .bootstrap-datetimepicker-widget th.switch {
            width: 145px;
        }

        .bootstrap-datetimepicker-widget th.next, .bootstrap-datetimepicker-widget th.prev {
            font-size: 21px;
        }

        .bootstrap-datetimepicker-widget th.disabled, .bootstrap-datetimepicker-widget th.disabled:hover {
            background: none;
            color: #999;
            cursor: not-allowed;
        }

    .bootstrap-datetimepicker-widget thead tr:first-child th {
        cursor: pointer;
    }

        .bootstrap-datetimepicker-widget thead tr:first-child th:hover {
            background: #eee;
        }

.input-group.date .input-group-addon span {
    display: block;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.bootstrap-datetimepicker-widget.left-oriented:before {
    left: auto;
    right: 6px;
}

.bootstrap-datetimepicker-widget.left-oriented:after {
    left: auto;
    right: 7px;
}

.bootstrap-datetimepicker-widget ul.list-unstyled li.in div.timepicker div.timepicker-picker table.table-condensed tbody > tr > td {
    padding: 0; !important;
}
