body, .app, .auth {
    background-color: #fcfaf5; /* default #f4f1e9; */
    color: #2b373e;
}

.app-header-dark {
    background-color: #172450;
    color: hsla(0, 0%, 100%, .8);
}

.bg-responsedeck, .auth-header {
    background-color: #172450;
}

.navbar-brand img {
    height: 21px;
    vertical-align: text-top;
}

img.footer-logo {
    width: 40px;
    margin-bottom: 10px;
}

.navbar-nav .nav-link {
    padding-left: 0.5rem;
}

a.footer-nav {
    color: #2c3d76;
}

.form-control, .modal-content, .auth-form, .activelogin-bankid-ui--wrapper div {
    border-radius: .45rem;
}

.app-header .btn-account {
    padding: 0 0.5rem;
}

.page-title-bar {
    margin-bottom: 1rem;
}

.btn {
    border-radius: .45rem;
}

.btn-sm {
    border-radius: .35rem;
}

.custom-control-input:checked~.custom-control-label:after {
    transform: scale(.95);
}

.card-custom, .list-group-flush, .list-group-reflow {
    box-shadow: none;
}

/* custom card header nav tabs */
.card-custom .card-body {
    border-radius: 0 0 .45rem .45rem;
    box-shadow: 0 0 0 1px rgba(20, 20, 31, .05), 0 1px 3px 0 rgba(20, 20, 31, .15);
}
.custom-card-header {
    background-color: #fcfaf5;
    padding: 1rem 0 0 0.5rem;
    border-bottom: 1px solid #dddddf;
    z-index: 2;
}
.custom-card-header-tabs {
    margin-bottom: 0;
}
.custom-card-header-tabs li {
    background-color: transparent;
    margin: 0 0.5rem 0 -0.07rem;
}
.custom-card-header-tabs li .nav-link {
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: .45rem .45rem 0 0;
    padding: 0.7rem 1rem;
    color: #346cb0;
}
.custom-card-header-tabs li .nav-link:hover {
    background-color: #f6f7f9;
    color: #346cb0;
    border-color: #dddddf;
}
.custom-card-header-tabs li .nav-link.active {
    border: 1px solid #dddddf;
    border-bottom: 0;
    color: #222230;
    background-color: #fff;
}
.dropdown-menu {
    border-radius: .45rem;
}
.nav-tabs-responsive .dropdown-menu {
    margin-top: 0;
}
.nav-tabs-responsive .dropdown-item.active {
    background-color: #2c3d76;
    color: #fff;
}
.card-tabs-dropdown-menu, .custom-tabs-dropdown {
    display: none;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: inherit;
    text-decoration: none;
    background-color: #f6f7f9;
}

/* ---- */

.org-logotype {
    border-radius: 5px;
}

@media (min-width: 992px) {
    .top-bar-search {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .org-logotype {
        width: 115px;
        height: 40px;
        border-radius: 5px;
    }
}

@media (max-height: 992px) {
    .page {
        min-height: calc(100vh - 10rem);
    }
}

.btn-outline-primary {
    background-color: #ffffff;
}

.btn-white {
    background-color: #ffffff;
    color: #2b373e;
    border-color: #2b5a92;
}

.btn-white:hover, .btn-outline-primary:hover, .show>.btn-outline-primary.dropdown-toggle,
.btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    color: #363642;
    background-color: #f6f7f9;
    border-color: #363642;
}

.app-footer {
    margin: 1.5rem 0 1rem 0;
}

div.no-avatar-xs {
    border-radius: 100%;
    background-color: #afd0fb;
    text-transform: uppercase;
    color: #363642;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    padding: 0.2rem 0 0 0;
}

div.no-avatar-xs.pt-12 {
    padding: 0.12rem 0 0 0;
}

div.no-avatar-xl {
    border-radius: 100%;
    background-color: #afd0fb;
    text-transform: uppercase;
    color: #363642;
    font-size: 1.7rem;
    font-weight: bold;
    text-align: center;
    padding: 1.2rem 0 0 0;
}

.bg-light-grey {
    background-color: #f5f5f5 !important;
}

.no-avatar-icon {
    font-size: 1.2rem !important;
}

.dataTable .user-avatar {
    margin-right: 10px;
}

.validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-group-item:last-child {
    border-width: 0;
    border-bottom-width: 0px;
}

.boldLabel {
    font-weight: 500;
}

.labelLegend {
    line-height: 2rem;
    margin: 0 0 1rem 0;
}

h1.page-title {
    display: inline-block;
}

h1.pubHeader {
    font-size: 27px;
}

h1 i.fas, h1 i.fab {
    color: #2c3d76;
    padding: 0 0.5rem 0 0;
}

.deck-block {
    border: 1px solid #d3d3d3;
    padding: 0 15px 15px 15px;
    margin-bottom: 20px;
    border-radius: .45rem;
    background-color: #fdfdfd;
}

.btn.section-title-btn {
    font-size: 1.3rem;
    font-weight: 600;
}

.section-title-btn small {
    font-size: 0.9rem;
    color: #888c9b;
    white-space: nowrap;
}

.visual-picker-lg .visual-picker-figure.broad-figure {
    width: 20rem;
    height: 9rem;
}

.visual-picker-figure {
    box-shadow: 0 0 0 1px rgba(20, 20, 31, 0.25), 0 1px 3px 0 rgba(20, 20, 31, 0.15);
}

h2.section-title {
    display: inline-block;
}

.visual-picker-figure.weight-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 2rem;
    padding: 1rem;
    margin: 0;
}

.blue-icon {
    color: #2f5e99;
}

.warning-icon {
    margin-left: 5px;
    color: #f7c46c;
}

.success-icon {
    margin-left: 5px;
    color: #007c69;
}

.danger-icon {
    margin-left: 5px;
    color: #a95292;
}

.badge-subtle.badge-green {
    color: #00a28a;
    background-color: #dfedeb;
}

.badge-subtle.badge-brown {
    color: #8b4513;
    background-color: #f1ece9;
}

.logic-icon, .catExportTitle-icon {
    margin-left: 5px;
    color: #009982;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
}

@-webkit-keyframes highlightfade {
    from {
        background: #f7c46c;
    }

    to {
        background: transparent;
    }
}

@-moz-keyframes highlightfade {
    from {
        background: #f7c46c;
    }

    to {
        background: transparent;
    }
}

.highlight {
    -webkit-animation: highlightfade 3s;
    -moz-animation: highlightfade 3s;
    animation: highlightfade 3s;
}

.startCard {
    background-color: #f6f7ff;
    border-color: #ecedf1 !important;
    border-width: 0 0 1px !important;
}

.drag-indicator {
    height: 13px;
    padding: 0 10px;
}

.deckCatContainer {
    background: #f6f7f9;
}

.cardTitlesOverflow {
    max-height: 150px;
    overflow: hidden;
}

.ulCardTitles {
    padding: 0 14px;
}

    .ulCardTitles li {
        line-height: 1.4rem;
    }

.nav-tabs, .weight-500 {
    font-weight: 500;
}

.nav-item.active-item {
    background-color: #2c3d76;
    border-radius: 5px;
}

.displayNone {
    display: none;
}

.list-group-item-title a:hover {
    color: #234875;
}

.drag-icon {
    margin: 0 15px 0 0;
    font-size: 1.1rem;
    color: #bdc2d3;
}

    .drag-icon.drag-icon-sm {
        margin: 0 5px 0 0;
    }

.help-tooltip {
    vertical-align: middle;
}

    .help-tooltip.header-tooltip {
        vertical-align: text-bottom;
    }

    .help-tooltip a {
        font-weight: 400;
        color: #999;
        padding: 0 3px;
    }

        .help-tooltip a:hover, .help-tooltip a:focus {
            color: #172450;
        }


.description-card, .logic-card {
    background-color: #f9f9f9;
}

.description-card {
    padding: 10px 10px 10px 35px;
}

    .description-card .cardAudio {
        position: absolute;
        top: 0;
        left: 0;
        font-size: 1rem;
        margin-top: 10px;
        margin-left: 10px;
    }

ul.small-b-margin {
    margin-bottom: 5px;
}

.form-group.person {
    background-color: #fff;
    border: 1px dashed #2b5a92;
    border-radius: .45rem;
    padding: 10px 20px;
    width: fit-content;
}

label.required::after {
    content: "*";
    font-weight: bold;
    color: #ff0000;
}

.bootstrap-select .filter-option-inner-inner {
    color: #363642
}

/* Editable metadata */

.dataItem {
    padding: 7px;
    white-space: pre-line;
    border-radius: .25rem;
}

    .dataItem.editable {
        min-height: 2rem;
    }

        .dataItem.editable:hover {
            padding: 6px;
            background: #f6f7f9;
            border: 1px dashed #f5b548;
            cursor: pointer;
        }

.inGroup {
    display: none;
}

.editActions {
    padding: 0.5rem 0;
}

/* Entity labels */

.fas.greenIcon {
    color: #357a38;
}

.fas.yellowIcon {
    color: #ffc107;
}

.fas.redIcon {
    color: #ff0000;
}

.fas.blueIcon {
    color: #005cbf;
}

.fas.noteIcon {
    color: #ffcd37;
}

/* Entity notes */

div.notesAccordion div.card.card-expansion-item {
    margin: 0 0 10px 0;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-shadow: none;
}

div.notesAccordion .card-expansion-item.expanded {
    margin: 0 0.5rem;
}

div.notesAccordion .card-expansion-item:not(.expanded) + .card-expansion-item:not(.expanded) {
    margin-top: 0;
}

div.notesAccordion div.note-header, div.notesAccordion div.note-header:first-child {
    border-radius: 5px;
}

.card-header:first-child, .card-header:last-child {
    border-radius: calc(.45rem - 1px) calc(.45rem - 1px) 0 0;
}

/* Client instructions editor */

div.instructionsAccordion div.card.card-expansion-item {
    margin: 0 0 10px 0;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-shadow: none;
}

div.instructionsAccordion div.instructions-header, div.instructionsAccordion div.instructions-header:first-child {
    border-radius: 5px;
}


/* Summernote */

.card-header.note-toolbar, .note-popover .popover-content {
    background-color: #f5f5f5;
}

.note-video-clip {
    max-width: 100%;
}

.note-image {
    max-width: 100%;
}

.note-group-image-url {
    display: none;
}

.dataTables_processing {
    background-color: #f6f7f9;
}

.dtEtTagsContainer tags {
    display: inline-block;
    margin-left: 0.4rem;
    width: 85%;
}

.pcr-interaction .pcr-clear {
    background: #b76ba3 !important;
}

@media screen and (max-width: 767px) {
    .dtEtTagsContainer {
        text-align: center;
        padding-bottom: 0.5rem;
    }

        .dtEtTagsContainer tags {
            text-align: left;
        }

        .dtEtTagsContainer label {
            vertical-align: top;
        }
}

@media screen and (max-width: 450px) {
    .section-title-btn small {
        display: none;
    }
}

/* Tagify */

.tagify {
    --tags-hover-border-color: #f6f7f9;
}

    .tagify.form-control {
        height: inherit;
        padding: 1px;
        border: 1px solid #c6c9d5;
        border-radius: .45rem;
    }

        .tagify.form-control:focus, .tagify.tagify--focus {
            color: #363642;
            background-color: #ffffff;
            border-color: #2c3d76 !important;
            outline: 0;
            box-shadow: 0 0 0 1px #2c3d76;
        }

            .tagify.form-control.no-border,
            .tagify.form-control.no-border:focus, .tagify.tagify--focus.no-border {
                border: none;
                box-shadow: none;
            }

div.fadeout {
    position: relative;
    bottom: 2.3em;
    height: 2.3em;
    background: -webkit-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: -moz-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
}

/* entity access control select2 */

.select2-result-user__avatar {
    float: left;
    width: 2.5rem;
    margin-right: 0.5rem;
}

.select2-result-user__meta {
    margin-left: 3rem;
}

.select2-result-user__name {
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.1;
    margin-bottom: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #ff0000;
    font-size: 1.8rem;
}

.ieWarning {
    max-width: 750px;
    margin: 0 auto;
    color: #363642;
    background-color: #f6f7f9;
    border: 1px solid #888c9b;
    padding: 10px;
    display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .ieWarning {
        display: block;
    }

    .slideWrap, .fieldsDiv {
        display: none;
    }
}
