:root {
    --dark-blue: #277ad4;
    --secondary: #d6d6d6;
    --light-green: #8FEE87;
    --green: #97DA42;
    --blue: #00A0E8;
    --light-blue: #D4E6F9;
    --red: #CF102C;
    --dark-red: #d83b20;
    --yellow: #F9F871;
    --light-grey: #D3D3D3;
    --dark-grey: #575756;
}

body {
    background-color: var(--light-grey);
}

/* Navbar */
header {
    min-height: 33px !important;
    margin-bottom: 0;
    border-radius: 0;
    background-color: var(--dark-blue);
    border-color: white;
}
header img {
    max-width: 175px;
}
.navbar-collapse .nav-link {
    padding-left: 40px;
}

@media (max-width: 767px) {
    header .navbar-nav .open .dropdown-menu > li > a {
        color: #ecf0f1;
    }
    #navbarNav > ul > li.nav-item > a {
        padding-left: 8px;
    }
}
.navbar .menu .list-group-item {
    background-color: unset;
    color: white;
}

/* Fontawesome */
i.fa {
    margin-right: 5px;
    vertical-align: middle;
}

/* Admin Sidebar */
aside .list-group > a {
    color: black;
}
aside .list-group i {
    margin-right: 10px;
}
aside .list-group > a.active {
    background-color: var(--dark-blue);
    border: none;
    font-weight: bolder;
}
aside .list-group > a:hover {
    background-color: var(--blue);
    color: white;
}
aside .credits {
    font-size: 14px;
    color: black;
}
aside .list-group-item.divider {
    height: 41px;
}

/* Card */
main {
    margin-bottom: 20px;
}
main > .card-header {
    background-color: var(--dark-blue);
    color: white;
    border: none;
}
main .card-body .card-buttons .btn {
    width: 120px!important;
}

/* Form */
form .form-group {
    transition: .4s;
}
form .form-label {
    margin-bottom: 0.2rem;
}
@media (min-width: 992px) {
    form .small-field input {
        width: 200px;
    }
}
form .ck-editor__editable_inline {
    min-height: 500px !important;
}

/* Table */
table tr.clickable,
table tr.btn-form-modal {
    transition: .1s;
}
table tr.clickable:hover,
table tr.btn-form-modal:hover {
    cursor: pointer;
    background-color: var(--secondary);
}

/* Select2 */
.select2 {
    width: 100%!important;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 0;
}
.select2-selection {
    color: #373a3c;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: red;
}

/* Admin general show page */
.default-show table.vertical th {
    font-weight: normal;
    font-size: 14px;
    min-width: 1px;
    width: 1%;
    white-space: nowrap;
    padding-top: 6px;
    padding-right: 25px;
    vertical-align: top;
}
.default-show table.vertical td {
    width: 99%;
}

/* Admin person show page */
a.badge:hover i {
    color: white!important;
}

/* Note styling */
.notes-list {
    max-height: 400px;
    overflow-y: auto;
}
.note:hover {
    cursor: pointer;
    background-color: #d9d9d9;
}

/* Other */
a {
    color: #373a3c;
}
.btn-xs {
    padding: 0 .75rem!important;
}