/**
 * Global 'fix-up' styles by BMB.  I have used PascalCase in these styles,
 * consistent with other styles in the application, in part to distinguish
 * them visually from the tkxel styles they are meant in some cases to
 * replace.
 */

/**
 * Global Overlay
 */

.GlobalOverlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.GlobalOverlayContent {
    position: relative;
    top: 75px;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.GlobalOverlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.GlobalOverlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.GlobalOverlay .GlobalOverlayCloseBtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .GlobalOverlay a {
        font-size: 20px
    }

    .GlobalOverlay .GlobalOverlayCloseBtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.impersonation-indicator {
    background: yellow;
    border-bottom: 1px dashed gray;
    margin: 0px;
    padding: 10px;
    text-align: center;
}

.read-only-indicator {
    background: yellow;
    border-bottom: 1px dashed gray;
    margin: 0px;
    padding: 10px;
    text-align: center;
}

.environment-indicator {
    border-bottom: 1px dashed gray;
    margin: 0px;
    padding: 10px;
    text-align: center;
}

.environment-indicator-development {
    background: pink;
}

.environment-indicator-staging {
    background: palegoldenrod;
}

.clearance {
    clear: both;
    height: 0px;
    overflow: hidden;
}

.custom-file-upload {
    margin-bottom: 10px;
}

/**
 * Fix appearance of Boostrap tags-input span.labels.
 */
.bootstrap-tagsinput .tag.label.label-info {
    color: #5e5e5e;
    font-weight: normal;
}

/**
 * Global button styles
 */

.BigRoundButton {
    display: inline-block;
    border-radius: 30px;
    padding: 8px 24px;
    margin: 0px 8px;
    font-size: 12px;
    /* text-transform: uppercase; */
}

/**
 * Mover Slides
 */

.movers-slide {
    padding: 15px;
    margin: 0 0 15px;
    text-align: center;
    border: 2px solid #444;
    border-radius: 5px;
}

.mover-slide-placeholder {
    background: #dadada;
    position: relative;
}

li.mover-slide-placeholder {
    list-style: none;
}

.mover-slide-placeholder:after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #fff;
}

/**
 * Add a hover style to datatable rows.
 */

table.dataTable.clickable tbody tr.odd:hover td,
table.dataTable.clickable tbody tr.even:hover td,
table.dataTable.stripe.clickable tbody tr.odd:hover td,
table.dataTable.stripe.clickable tbody tr.even:hover td,
table.dataTable.display.clickable tbody tr.odd:hover td,
table.dataTable.display.clickable tbody tr.even:hover td {
    background: #ddd;
    cursor: pointer;
}

/**
 * Identify required fields.
 */
.required>label::after,
label.required::after {
    content: "*";
}

.notification-dropdown .dropdown-toggle:after {
    content: none;
}

.notification-dropdown .dropdown-item {
    white-space: inherit !important;
}

.notification-dropdown li .dropdown-item a {
    padding-left: 0px;
    margin-left: 0px;
}

.notification-dropdown .dropdown-toggle .label {
    display: none;
}

.notification-dropdown .unread-message {
    background: #cee8ec;
}

.odyssey-display-tag {
    display: block;
    float: left;
    background-color: #eee;
    margin-right: 1rem;
    margin-bottom: 4px;
    border: 1px solid rgb(115, 115, 115);
    padding: 0.1rem 0.1rem 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 75%;
    background-color: #0085d4;
    background-image: linear-gradient(to bottom, #008fd8, #0075cf);
    background-repeat: repeat-x;
    color: white;
}

.odyssey-display-tag a {
    display: inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.no-display {
    display: none;
}

.flex-display {
    display: flex;
}

.inline-display {
    display: inline;
}

.block-display {
    display: block;
}

/**
 * These classes are for managing the loading spinner that can be presented to replace the text
 * of certain buttons.
 */
.button-text {
    display: inline;
}

.button-spinner {
    display: none;
}