﻿body {
    background-color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    height: 100%;
}

/* Panel to "grey out" the page while our AJAX does its thing */
#Loading {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}

    #Loading #LoadingInner {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

#HeaderRow {
    max-height: 56px;
    padding: 0.25rem;
    margin-bottom: 0.5rem;
}

    #HeaderRow img {
        height: 48px;
        width: 48px;
    }

    #HeaderRow h1 {
        font-size: 2.2rem;
        display: inline-block;
        line-height: 48px;
        vertical-align: top;
        padding: 0;
    }

    /* Settings menu button */
    #HeaderRow #ShowSettings {
        position: absolute;
        top: 6px;
        right: 6px;
    }

/* FontAwesome icon in headings*/
h3 i {
    margin-right: 0.3em;
}

a.text-white, a.text-white:visited, a.text-white:active {
    color: #fff !important;
}

a.text-black, a.text-black:visited, a.text-black:active {
    color: #000 !important;
}

.btn-white {
    background-color: #fff;
}

h2 {
    font-size: 1rem;
    font-weight: normal;
}


.nav-link {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submenu-icon {
    white-space: nowrap;    
    display: inline-block;
    padding-right:12px;
}

.menu-stick {
    max-width: 100%;
    display: flex;
    align-items: center;
}


/* Make sure the text shows up on the button. */
.btn-outline-secondary:hover,
.btn-outline-secondary:active {
    color: #fff !important;
}

#MenuDescTitle {
    border-radius: 3px;
}

.tile {
    background-size: 100% 100%;
    overflow: hidden;
    font-size: 1.2rem;
    border-radius: 3px;
}
    /* Make 'em square. */
    .tile:before {
        content: "";
        width: 0;
        display: block;
        float: left;
        padding-top: 100%; /* initial ratio of 1:1*/
    }

    .tile > .tile-inner {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0.25em;
        padding: 0.25em;
        z-index: 5;
        border-radius: 5px;
        text-align: center;
    }
        /* FontAwesome icons in tile inners*/
        .tile > .tile-inner i {
            display: block;
            margin-bottom: 0.15em;
        }

    .tile img {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        z-index: 10;
        border-radius: 10px;
        max-width: 100%;
    }


.object-list {
    list-style: none;
    padding: 0;
    overflow: hidden;
}

    .object-list > li {
        position: relative;
    }

        .object-list > li > a > img {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: 0;
            z-index: 10;
            width: 100%;
            height: 100%;
        }

        /* Space after FontAwesome icon in content list. */
        .object-list > li > a > i {
            margin-right: 8px;
        }

#Sidebar {
    z-index: 1000;
    top: 0;
    bottom: 0;
    right: 0;
    width: 300px;
    padding: 12px;
    background-color: #fff;
    margin-right: -300px; /* Off the page */
}

/* Change text sizes on smaller screens */
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .tile {
        font-size: 1em;
    }

    #HeaderRow {
        max-height: 40px;
    }

        #HeaderRow img {
            max-height: 32px;
            max-width: 32px;
        }

        #HeaderRow h1 {
            font-size: 1.5em;
            line-height: 32px;
        }

        #HeaderRow #ShowSettings {
            top: 3px;
            right: 3px;
        }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}
