﻿.body-container {
    margin-top: 60px;
    padding-bottom: 40px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants-page .card .card-title {
        font-size: 120%;
        font-weight: bold;
    }

        .grants-page .card .card-title img {
            width: 100px;
            height: 100px;
        }

    .grants-page .card label {
        font-weight: bold;
    }

.bootstrap-select > .dropdown-toggle {
    border: 1px solid #ced4da;
    background-color: white;
}

.dropdown-item.active, .dropdown-item:active {
    color: #000;
    background-color: #eee;
}

.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show > .btn-light.dropdown-toggle {
    background-color: #eee;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.container h1 {
    margin: 2rem 0;
}


/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}


/*
 * Navbar
 */

.culture-select {
    padding: .375rem 1.75rem .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
    height: calc(1.5em + .75rem + 2px);
    width: 100%;
    display: inline-block;
}

.bg-software {
    background-color: #a8cae7 !important;
}

.bg-edition {
    background-color: #a7def7 !important;
}

.bg-plugin {
    background-color: #a7e7e1 !important;
}

.bg-changed {
    background-color: #00640021;
}

.bg-el {
    background-color: #252d5c;
}

.group-manage-nav a {
    border: #007bff 1px solid;
    border-radius: 0px !important;
}

.group-manage-nav > li:first-of-type > a:first-child {
    border-radius: .25rem 0px 0px .25rem !important;
    border-right-width: 0px;
}

.group-manage-nav > li:last-of-type > a:last-child {
    border-radius: 0px .25rem .25rem 0px !important;
    border-left-width: 0px;
}

.row-detail-id {
    margin-left: 30px;
    margin-right: 30px;
}
