/* theme overrides */
.alert.alert-success {
    background-color: #15b60d;
}

.alert.alert-danger {
    background-color: #ff5050;
}

.alert.alert-warning {
    background-color: #ff9f03;
}

.alert.alert-info {
    background-color: #46b3ff;
}

.alert.alert-primary {
    background-color: #fa764b;
}

.alert {
    font-weight: 500;
}

/*h1, h2, h3, h4, h5, h6 {*/
/*    font-weight: 500;*/
/*}*/

.main-panel > .content {
    margin-top: -70px;
}

.card .card-header .title {
    margin-bottom: 3px;
}

.table > thead > tr > th {
    font-size: 1.1em;
    font-weight: 600;
}

/* give some padding to submenus */
.sidebar-wrapper > ul.nav > li ul.nav {
    margin-left: 2em;
}

/*
###################################################################################
*/

.logo-weblab {
    height: 1.2em;
}

.footer .copyright {
    font-size: 1em;
}

.full-page .full-page-background {
    background-position: left center;
}

.text-black, .text-black a {
    color: #000;
}

.text-accent {
    font-weight: 500;
}

mark {
    background-color: #f7ecb5;
}

#navigation .nav-item p {
    font-size: 16px;
}

.table.table-profiles tbody td,
.table.table-profiles thead th {
    text-align: left;

    vertical-align: top;
}

.table-profiles td.profile-photo {
    width: 216px;
}

.profile-identity {
    display: block;
    font-size: 0.85em;
    font-weight: 500;
}

a.gallery-image {
    display: inline-block;
    text-decoration: none;
}

.profile-thumbnails .gallery-image {
    opacity: 0.8;
}

.profile-thumbnails .gallery-image:hover {
    opacity: 1;
}

#profile-details {
    display: flex;
    flex-direction: row;
}

#profile-image {
    /*width: 450px;*/
    /*height: 450px;*/
}

#profile-details .card-profile-photo {
    flex: 0 0 480px;
    margin-left: 30px;
}

@media (min-width: 651px) and (max-width: 1000px) {
    #profile-details .card-profile-photo {
        flex: 0 1 50%;
    }
}

@media (max-width: 650px) {
    #profile-details {
        flex-direction: column-reverse;
    }

    #profile-details .card-profile-photo {
        margin-left: 0;
    }
}

#profile-details .card-profile-photo h5,
#profile-details .card-profile-photo p.description {
    margin: 0;
}

.card-profile-data .card-body .title {
    border-bottom: 1px solid #f96332;
}

table.props-list td, table.props-list th {
    border-top: none;
    border-bottom: 1px solid #e9ecef;
}

.profile-icon-flags .fa-stack {
    opacity: 0.7;
    color: #ccc;
}

.profile-icon-flags .fa-stack i.accent {
    color: #999;
}

.profile-icon-flags .fa-stack.active {
    opacity: 1;
    color: #f96332;
}

.profile-note-stamp {
    text-align: right;
    font-weight: 500;
    font-style: italic;
}

.alert .profile-note-stamp {
    color: #333;
}

.filter-form input[type=number] {
    width: 7em;
}

.filter-form .form-group {
    margin: 0 0.7em;
}

.filter-form .form-buttons {
    margin-left: 3em;
}

.session-log {
    padding: 1em;

    /*color: #7f7f7f;*/
    /*background-color: #2b2b2b;*/
}

.session-log .log-entry {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.session-log .log-entry .log-stamp {
    font-family: 'Oxygen Mono', monospace;

    font-size: 0.9em;
    line-height: 21px;

    flex: 0 0 6em;
}

.session-log .log-entry .log-category {
    flex: 0 0 6em;
}

.session-log .log-entry .log-variant {
    flex: 0 0 6em;
}

/**
 * Cards
 */

.card-header-with-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.card-header-with-buttons .card-header-title {
    flex: 1 0 auto;
}

.card-header-with-buttons .card-header-buttons {
    flex: 0 0 auto;
}

.card-header-with-buttons .card-header-buttons .btn {
    margin-top: 0;
}

/**
 * Forms, buttons and form elements
 *
 * Ensure that success style matches the brand color to avoid two different green styles
 */
label.required:before {
    content: ' *';
    color: #FB404B;
}

.card label {
    font-weight: 500;
    color: #333;
}

fieldset legend {
    margin-top: 1rem;
    border-bottom: 1px solid #f96332;
}

textarea.form-control {
    max-height: none;
}

#form-collection {
    flex: 1 0 100%;
}

.embedded-form {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    border-bottom: 1px dashed #cfcfcf;
    margin-bottom: 0.5em;
}

.embedded-form > div {
    flex: 1 1 auto;
    display: flex;
}

.embedded-form > .btn {
    flex: 0 0 auto;
}

.embedded-form div > * {
    margin-right: 1em;
    /*display: flex;*/
}

/**
 * Grids
 */

td.grid-actions {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: flex-end;*/
    text-align: right;
    white-space: nowrap;
}

.table td.grid-actions > * {
    display: inline-block;
    /*flex: 0 0 auto;*/
    margin-left: 4px;
}

.table .alert {
    margin: 0;
    padding: 5px;
}
