﻿
.window {
    display: block;
    position: relative;
    height: auto;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}

.window-caption {
    position: relative;
    background-color: #ffffff;
    padding: .4375rem .3125rem;
    border-bottom: 1px #e9e9e9 solid;
    border-top: 0;
    cursor: default;
    font-size: 15px;
}

    .window-caption .window-caption-title {
        font-style: normal;
        font-weight: 700;
    }

    .window-caption .window-caption-icon {
        margin-left: .3125rem;
    }

        .window-caption .window-caption-icon * {
            height: 1rem;
            width: 1rem;
        }

        .window-caption .window-caption-icon ~ .window-caption-title {
            padding-left: .3125rem;
        }

    .window-caption .btn-close,
    .window-caption .btn-min,
    .window-caption .btn-max {
        position: absolute;
        height: 20px;
        min-height: 1.5rem;
        text-align: center;
        vertical-align: middle;
        font-size: 1rem;
        font-weight: normal;
        z-index: 3;
        outline: none;
        cursor: pointer;
        background-color: #ffffff;
        color: #777777;
        width: 20px;
        top: .25rem;
        right: .25rem;
    }

        .window-caption .btn-close:hover,
        .window-caption .btn-min:hover,
        .window-caption .btn-max:hover {
            background-color: #cde6f7;
            color: #2a8dd4;
        }

            .window-caption .btn-close:hover:after,
            .window-caption .btn-min:hover:after,
            .window-caption .btn-max:hover:after {
                border-color: #2a8dd4;
            }

        .window-caption .btn-close:active,
        .window-caption .btn-min:active,
        .window-caption .btn-max:active {
            background-color: #92c0e0 !important;
            color: #ffffff !important;
        }

        .window-caption .btn-close:after,
        .window-caption .btn-min:after,
        .window-caption .btn-max:after {
            border-color: #777777;
            width: .625rem !important;
            height: .375rem !important;
            content: '\D7';
            position: absolute;
            left: 50%;
            top: -2px;
            margin-left: -0.25em;
        }

        .window-caption .btn-min:after,
        .window-caption .btn-max:after {
            display: block;
            position: absolute;
            width: .625rem;
            height: .625rem;
            border: 0 #000 solid;
            border-bottom-width: 2px;
            content: ' ';
            bottom: .375rem;
            left: 50%;
            margin-left: -0.375rem;
            top: auto;
        }

        .window-caption .btn-max:after {
            height: .375rem;
            border: 1px #000 solid;
            border-top-width: 2px;
        }

    .window-caption .btn-max {
        right: 20px;
    }

    .window-caption .btn-min {
        right: 40px;
    }

    .window-caption .btn-close:after {
        margin-top: 3px;
        margin-left: -0.3125rem;
    }

.window-content {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    padding: .25rem;
}

.calendar {
    width: 250px;
    border: 1px #eeeeee solid;
    font-size: 10pt;
    background-color: #fff;
}

    .calendar table {
        width: 100%;
        border-collapse: collapse;
    }

    .calendar td,
    .calendar th {
        padding: 0;
        width: 14.28%;
    }

    .calendar td {
        border: 1px solid;
        border-color: #e6f5fc;
    }

        .calendar td:first-child {
            border-left: 0;
        }

        .calendar td:last-child {
            border-right: 0;
        }

    .calendar tr:last-child td {
        border-bottom: 0;
    }

    .calendar .day-of-week {
        padding: 5px;
        cursor: default;
    }

    .calendar a {
        display: block;
        padding: 5px;
    }

        .calendar a:hover {
            background-color: #eeeeee;
            color: #1d1d1d;
        }

    .calendar .calendar-header {
        background-color: #1ba1e2;
        color: #ffffff;
    }

        .calendar .calendar-header td,
        .calendar .calendar-header th {
            border: 0 !important;
        }

            .calendar .calendar-header td a,
            .calendar .calendar-header th a {
                color: #ffffff;
            }

                .calendar .calendar-header td a:hover,
                .calendar .calendar-header th a:hover {
                    background-color: #1ba1e2;
                    color: #ffffff;
                }

    .calendar .calendar-actions td,
    .calendar .calendar-actions th {
        padding: 10px;
    }

    .calendar .today a {
        background-color: #a0e857;
        color: #1d1d1d;
    }

        .calendar .today a:hover {
            background-color: #128023;
            color: #ffffff;
        }

    .calendar .day a {
        display: block;
        position: relative;
        border: 2px transparent solid;
    }

        .calendar .day a.selected {
            border: 4px #4390df solid;
            border-width: 1px;
        }

            .calendar .day a.selected:after {
                position: absolute;
                display: block;
                border-top: 28px solid #4390df;
                border-left: 28px solid transparent;
                right: 0;
                content: "";
                top: 0;
                z-index: 101;
            }

            .calendar .day a.selected:before {
                position: absolute;
                display: block;
                content: "\e003";
                color: #fff;
                right: 0;
                font-family: 'metroSysIcons';
                font-size: 9pt;
                font-weight: normal;
                z-index: 102;
                top: 0;
            }

            .calendar .day a.selected:after {
                border-top-width: 12px;
                border-left-width: 12px;
            }

            .calendar .day a.selected:before {
                font-size: 4pt;
            }

    .calendar .month a,
    .calendar .year a {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .calendar .other-day {
        display: block;
        text-align: center;
        color: #999999;
    }

.calendar-dropdown {
    border: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
}


.metro.notify-container {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
}

    .metro.notify-container .notify {
        background-color: #ffffff;
        display: block;
        position: relative;
        min-width: 220px;
        font-family: 'Segoe UI_', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
        color: #1d1d1d;
        padding: 5px 10px;
        margin: 2px 2px 2px 0;
    }

        .metro.notify-container .notify #notify-close {
            color: #fff;
        }

        .metro.notify-container .notify .caption {
            font-size: 18px;
            line-height: 20px;
            margin-bottom: 5px;
        }

        .metro.notify-container .notify .content {
            font-size: 14px;
            line-height: 16px;
        }

.metro .notify-wrapper {
    position: relative;
    background-color: #1d1d1d;
    width: auto;
    height: auto;
    min-width: 250px;
    color: #ffffff;
}

.metro .relative {
    position: relative;
}

.metro .absolute {
    position: absolute;
}

#icon-list {
    position: absolute;
    background-color: #FFF;
    border: 1px solid #4390df;
    width: 95%;
    height: 200px;
    overflow-y: auto;
    z-index: 9999;
    top: 43px;
}

    #icon-list .unstyled {
        padding-left: 0;
        list-style: none;
    }

    #icon-list ul {
        margin-top: 0px;
    }

    #icon-list li {
        line-height: 23px;
    }

        #icon-list li:hover {
            cursor: pointer;
            background-color: #4390df;
            color: #FFF;
        }
