﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans:200,400,300,700);

body {
    padding: 0;
    margin: 0;
    font-family: 'Assistant', sans-serif;
    font-size: 12pt;
    color: #5d5d5d;
}




.syncGood svg {
    color: #24b00f;
}

.syncPending svg {
    color: #ffa400;
}

.syncError svg {
    color: #ff0000;
}

html {
    padding: 0;
    margin: 0;
}

#footer {
    position: fixed;
    bottom: 0;
    padding: 5px;
    background-color: #476c9a;
    color: #FFF;
    width: 100%;
}

div.toolbar-right {
    position: absolute;
    top: 4px;
    right: 5px;
}

    div.toolbar-right input[type=text] {
        text-align: right;
    }

#header {
    position: relative;
}

#logo {
    padding: 15px;
    display: inline-block;
}

    #logo img {
        width: 150px;
    }

#pageTitle {
    padding: 15px;
    position: absolute;
    right: 0;
    display: inline-block;
    text-align: right;
}

    #pageTitle h1 {
        margin: 0;
        font-size: 20pt;
        font-weight: bold;
    }

    #pageTitle h2 {
        margin: 0;
        font-size: 16pt;
        font-weight: bold;
    }

#topNav {
    background-color: #476c9a;
    color: #FFF;
    box-sizing: border-box;
}

    #topNav ul {
        list-style: none;
        margin: 0;
        padding: 5px 10px;
    }

        #topNav ul li {
            display: inline-block;
            margin: 0 20px 0 0;
            color: #FFF;
        }

            #topNav ul li a {
                color: #FFF;
                font-size: 12pt;
                text-decoration: none;
            }

                #topNav ul li a:hover {
                    text-decoration: underline;
                }

            #topNav ul li > ul {
                display: none;
            }

    #topNav hr {
        margin: 0;
        padding: 0;
        border: 0;
        border-top: 1px solid #CCC;
    }

    #topNav ul li:hover > ul {
        display: block;
        position: absolute;
        z-index: 99;
        padding-top: 5px;
        margin: 0 0 0 -10px;
    }

    #topNav ul li ul li {
        width: 210px;
        box-sizing: border-box;
    }

    #topNav ul li:hover > ul li {
        background-color: #6d8db6;
        padding: 5px;
        display: block;
    }


    #topNav ul li:hover > ul > li:hover > ul {
        display: inline-block;
        position: absolute;
        z-index: 100;
        padding-top: 0;
        margin: -5px 0 0 0;
        width: 150px;
        left: 210px;
    }

        #topNav ul li:hover > ul > li:hover > ul > li {
            background-color: #6d8db6;
            padding: 5px;
            display: block;
            border-left: 1px solid #FFF;
        }


#userAction {
    position: absolute;
    right: 0px;
    margin: 0 10px 0 0 !important;
}


    #userAction ul {
        position: absolute;
    }

        #userAction ul > li {
            width: 100px !important;
        }

#nav-right {
    position: absolute;
    right: 15px;
    text-align: right;
    display: inline-block;
}

#userDetail {
    display: inline-block;
}

#mainContent {
    padding: 10px;
    margin-bottom: 25px;
}


div.error {
    background-color: #ff0000;
    color: #FFF;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
div.good {
    background-color: #2fbb07;
    color: #FFF;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}


div.toolbar {
    width: 100%;
    padding: 3px;
    margin-bottom: 5px;
    border: 1px dotted #CCC;
    background-color: #FFF;
    box-sizing: border-box;
    position: relative;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f4f4f4+0,dddddd+100 */
    background: rgb(244,244,244); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(244,244,244,1) 0%, rgba(221,221,221,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(244,244,244,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(244,244,244,1) 0%,rgba(221,221,221,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
}

    div.toolbar ul {
        margin: 0;
        padding: 0;
    }

        div.toolbar ul li {
            list-style: none;
            margin-right: 10px;
            border: 1px solid #CCC;
            display: inline-block;
            padding: 3px 7px;
            border-radius: 3px;
            background-color: #FFF;
            /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f2f2f2+100 */
            background: rgb(255,255,255); /* Old browsers */
            background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
        }

        div.toolbar ul li {
            font-size: 11pt;
            position: relative;
        }

            div.toolbar ul li.searchRight {
                padding: 0;
                background: none;
                margin-right: 10px;
                display: block;
                float: right;
                border: 0;
            }

                div.toolbar ul li.searchRight input[type=text] {
                    font-size: 11pt;
                    padding: 4px;
                    margin-right: 5px;
                }

            div.toolbar ul li a {
                text-decoration: none;
                color: #5d5d5d;
            }

                div.toolbar ul li a[disabled=disabled],
                div.toolbar ul li a.aspNetDisabled {
                    text-decoration: none;
                    color: #CCC;
                }

    div.toolbar li a svg {
        color: #6a9dff;
    }


    div.toolbar li.disabled svg {
        color: #CCC;
    }

    div.toolbar ul li:hover a {
        text-decoration: underline;
    }


    div.toolbar ul > li > ul {
        display: none;
        z-index: 99;
        position: absolute;
        left: -1px;
        top: 98%;
        padding-top: 3px;
    }

        div.toolbar ul > li > ul > li {
            display: block;
            background: 0;
            background-color: rgb(253,253,253);
            border: 0;
            border-radius: 0;
            width: 150px;
            border-bottom: 1px solid #CCC;
            padding: 5px 8px;
        }

            div.toolbar ul > li > ul > li:last-of-type {
                border-bottom: 0;
            }

    div.toolbar ul > li:hover ul {
        display: block;
    }





.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 32px 32px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #fff;
            margin: -3px 0 0 -3px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 50px;
                left: 50px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 54px;
                left: 45px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 57px;
                left: 39px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 58px;
                left: 32px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 57px;
                left: 25px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 54px;
                left: 19px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 50px;
                left: 14px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 45px;
                left: 10px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loadingOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("/images/loader.gif") center no-repeat;
}

#mainContent h1 {
    margin: 0 0 15px 0;
    font-size: 18pt;
}

div.clear {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}



div.modal {
    width: 700px;
    height: 350px;
    position: absolute;
    top: 30%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    box-shadow: rgba(0,0,0,0.5) 5px 5px;
    border: 1px solid #666;
    padding: 10px;
    background-color: #FFF;
}

    div.modal h2 {
        margin: 0 0 15px 0;
        font-size: 14pt;
    }

    div.modal h3 {
        margin: 0 0 15px 0;
        font-size: 12pt;
        font-weight: bold;
    }




input.save {
    background-color: #118100;
    border: 0;
    color: #FFF;
    width: auto;
    padding: 5px 10px;
}

    input.save:hover {
        background-color: #49e851
    }

input.cancel {
    background-color: #ce2d2d;
    border: 0;
    color: #FFF;
    width: auto;
    padding: 5px 10px;
}

    input.cancel:hover {
        background-color: #bd6363;
    }

select {
    box-sizing: border-box;
    width: 100%;
    padding: 2px 3px;
    border-radius: 5px;
}

input[type=text] {
    padding: 2px 3px;
    box-sizing: border-box;
}

div.adminForm input[type=text], div.adminForm input[type=number] {
    width: 100%;
    box-sizing: border-box;
}

span.buildDate {
    font-size: 8pt;
}


div.tileGrid {
    overflow: hidden;
    z-index: 999;
    padding-bottom: 30px;
    margin: 0 5px;
    font-size: 12pt;
}

    div.tileGrid div.tileItem {
        width: 150px;
        height: 150px;
        box-sizing: border-box;
        padding: 10px;
        float: left;
        margin: 0 10px 10px 0;
        text-align: center;
        position: relative;
        cursor: pointer;
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

        div.tileGrid div.tileItem span.icon {
            font-size: 40pt;
            display: block;
            margin-top: 15px
        }

        div.tileGrid div.tileItem span.text {
            position: absolute;
            bottom: 10px;
            left: 10px;
            right: 10px;
        }

        div.tileGrid div.tileItem span.count {
            position: absolute;
            top: 0;
            right: 0;
            text-align: right;
            background-color: rgba(255, 255, 255, 0.5);
            padding: 5px;
        }


        div.tileGrid div.tileItem.blue {
            background-color: #284cd9;
            color: #FFF;
        }

        div.tileGrid div.tileItem.green {
            background-color: #37c358;
            color: #FFF;
        }

        div.tileGrid div.tileItem.orange {
            background-color: #f28714;
            color: #FFF;
        }

        div.tileGrid div.tileItem:hover {
            transform: scale(1.1);
            transform-origin: top left;
            z-index: 99;
            border: 1px solid #000;
        }

div.imageWatermark {
    text-align: center;
    position: fixed;
    top: 40%;
    /*left: 40%;*/
    width: 100%;
    overflow: none;
}

    div.imageWatermark img {
        height: 150px;
        opacity: .2;
    }

.loginBody {

    background-image: url(/Images/login-bg.jpg);
    background-size: cover;
}
#loginForm {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    padding: 15px;
    border: 1px solid #666;
    background-color: #FFF;
}

    #loginForm label {
        display: block;
        color: #000;
    }

    #loginForm div.logo{
        text-align: center;
    }

    #loginForm div:not(:last-of-type) {
        margin-bottom: 15px;
    }

    #loginForm input[type=text], #loginForm input[type=password] {
        box-sizing: border-box;
        width: 100%;
        padding: 2px 5px;
    }

    #loginForm input[type=submit] {
        box-sizing: border-box;
        width: 100%;
        padding: 10px 0;
        background-color: #ff9240;
        color: #FFF;
        border: 0;
    }

@media(prefers-color-scheme: light) {
    table.grid tr.header {
        background-color: #78797D !important;
        color: #FFF !important;
        text-align: left;
    }

        table.grid tr.header a {
            color: #FFF !important;
        }

    table.grid tbody tr.pager td {
        background-color: #78797D !important;
        color: #FFF !important;
    }

    table.grid tbody tr.pager a {
        color: #FFF !important;
    }

    table.grid tbody tr:nth-child(odd) {
        background-color: #dfdfdf;
        color: #444;
    }

    table.grid tbody tr:nth-child(even) {
        background-color: #F7F6F3;
        color: #444;
    }

    table.grid td a {
        color: #444;
    }
}

@media(prefers-color-scheme: dark) {
    body {
        background-color: #444;
        color: #FFF;
    }

    #directoryViewer a {
        color: #FFF;
    }

    #logo img {
        filter: drop-shadow(2px 2px 5px rgba(0, 0,0, 0.5));
    }

    #topNav {
        /*border-top: 1px solid #404040;*/
        border-top: 1px solid #404040;
        border-bottom: 1px solid #404040;
    }

    #footer {
        border-top: 1px solid #404040;
    }

    #header {
        background-color: #444;
    }


    div.modal {
        background-color: #666;
        color: #FFF;
        border: 1px solid #CCC;
    }

    table.grid tr.header {
        background-color: #333 !important;
        color: #FFF !important;
        text-align: left;
    }

        table.grid tr.header a {
            color: #FFF !important;
        }


    table.grid tbody tr:nth-child(odd) {
        background-color: #666;
    }

    table.grid tbody tr:nth-child(even) {
        background-color: #888;
    }

    table.grid tbody td {
        color: #FFF;
    }

    table.grid tr.pager a {
        color: #FFF !important;
    }

    table.grid td a {
        color: #FFF;
    }

    .ui-widget-content {
        background-color: #444;
    }

    .ui-widget.ui-widget-content {
        border: 1px solid #222;
    }

    .ui-widget-overlay {
        background: #000;
        opacity: .5;
    }
}
