/* System UI font stack https://medium.design/system-shock-6b1dc6d6596f */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #f8f9fa;
}

.inactive {
    font-style: italic;
    opacity: 0.7;
}

tr.no-top-border td, tr.no-top-border th {
    border-top: none;
}
th {
    font-weight: 500;
}
.bold {
    font-weight: bold;
}
h1 {
    font-weight: bold;
}
.medium {
    font-weight: 500;
}
.text-faded {
    color: #909090 !important;
}
label.form-required:after {
    content: ' *';
}
table.team-opportunity th {
    width: 125px;
}

/* Navbar -------------------------------------------------------------------*/
.navbar-nav .nav-item a.nav-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    border-bottom: 2px solid #FFFFFF;
    padding-left: 0;
    padding-right: 0;
    margin-left: .6rem;
    margin-right: .6rem;
}
.navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
    /*background-color: #20a8d8;*/
    /*background-color: #098EDB; or #1976D2*/
    color: #0277bd;
    border-bottom: 2px solid #0277bd;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #0277bd;
}

.nav-link {
    position: relative;
}
.navbar-nav .badge {
    font-size: 65%;
    position: relative;
    bottom: 2px;
}

/* Diff tables --------------------------------------------------------------*/
.diff-table {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin: 25px 0;
}
.diff-table-image {
    grid-template-columns: 0 1fr;
}
div.img-diff {
    max-width: 350px;
    padding: 7px;
}
.diff-table > div {
    padding: .75rem;
    border-top: 1px solid #edf1f5;
    min-height: 45px;
}
.diff-table-image > div {
    padding: 7px;
}
@media(max-width: 650px) {
    .diff-table {
        grid-template-columns: 1fr;
    }
    .diff-table .label {
        padding-bottom: .5rem;
    }
    .diff-table .label + div, .diff-table .label + .old + .new {
        border-top: none;
    }
}
.diff-table div.no-top-border {
    border-top: none;
}
.diff-table .label {
    font-weight: bold;
}
.diff-table .label.updated + .old, .img-diff-table .label.updated + .old {
    display: none;
    background: #fdd;
    cursor: pointer;
}
.diff-table .label.updated + .old + .new, .img-diff-table .label.updated + .old + .new {
    background: #dfd;
    cursor: pointer;
}
.diff-table .label.unchanged + .old + .new {
    display: none;
}
/* Editor metadata ----------------------------------------------------------*/
.editor-metadata {
    color: #6c757d !important;
    font-size: 80%;
    font-weight: 400;
    display:grid;
    grid-template-columns: 70px 1fr;
    grid-row-gap: 4px;
}
.editor-metadata + .editor-metadata {
    margin-top: 4px;
}

/* Help Content  ------------------------------------------------------------*/
.help-content h1 {
    margin-bottom: 25px;
}
.help-content img {
    max-width: 100%;
    display: block;
    margin: 25px auto;
}

/* Profile diff -------------------------------------------------------------*/
div.profile-old {
    background: #fdd;
    cursor: pointer;
}
div.profile-new {
    background: #dfd;
    cursor: pointer;
}
