main > .container {
    padding: 70px 15px 20px;
    display: flex;
    flex-direction: column;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.menu {
    border-radius: 1rem;
    margin: 0 0 20px 0;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(46, 41, 51, 0.08), 0 3px 5px rgba(71, 63, 79, 0.16);
    padding: 10px;
    word-wrap: break-word;
    font-size: 1rem;
}

.menu-item {
    background-color: #5a67d8;
    display: block;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    background: none;
    border: none;
}

.menu-link:hover {
    color: #fff;
}

.menu-item:hover {
    background-color: #718096;
    transition: all 1s ease-in-out;
}

.main-sidebar {
    margin-top: 56px;
    float: left;
    width: 225px;
    min-height: calc(100vh - 40px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-group.has-error .help-block {
    color: #cd0a0a;
    font-size: 12px;
    font-style: italic;
}

@media (min-width: 1200px) {
    main > .container {
        max-width: 1400px;
    }
}

.file-actions, .file-drag-handle {
    display: none;
}

#main {
    display: flex;
}

.table-striped tbody tr.grid-row-blue td {
    background-color: #c4dcfd!important;
}

.table-striped tbody tr.grid-row-green td {
    background-color: #cafdc4!important;
}

.table-striped tbody tr.grid-row-red td {
    background-color: #fdc4cb!important;
}
