﻿@import url("fonts.css");

:root {
    --NLprimary: #435b8c; /*9Line Logo*/
    --NLsecondary: #32325d; /*9Line Logo*/
}
/* Overrides */
* {
    box-shadow: none !important;
}

/*Was used to stop labels from wrapping, but this was causing rows to stop wrapping content. Appears everything works without it now .*/
/*.row > * {
    white-space: nowrap;
}*/

/*get rid of row padding left*/
.row > * .left-align {
    padding-left: 0;
}

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 400;
    background-color: #FCFCFC;
    color: #4A494A;
}

.bg-primary {
    background-color: #024b81 !important;
}

/* Add bottom border to tables. */
.table {
    border: 1px solid #ced4da;
    background-color: white;
}

.i-info {
    color: #0566AD;
}

dl {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0
}

dt {
    float: left;
    width: 50%;
    /* adjust the width; make sure the total of both is 100% */
    padding: 0;
    margin: 0;
}
    dt.wide-fields{
        width: 40% !important;
    }

dd {
    float: right;
    width: 50%;
    /* adjust the width; make sure the total of both is 100% */
    padding: 0;
    margin: 0
}
    dd.wide-fields {
        width: 60% !important;
    }

a {
    text-decoration: none;
}

    a, a:hover, a:active, a:focus, .btn-link {
        color: #32325d;
    }

.content {
    padding-top: 1.1rem;
    min-height: calc(100vh - 170px);
}

a, .nav-link {
    color: #0566AD;
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 2px solid #b50000; /* WCAG AAA contrast darker red*/
}

.validation-message {
    color: #b50000; /* WCAG AAA contrast darker red*/
    white-space: pre-wrap; /* Override row wrapping. Wrap text in its container otherwise it shows outside dialogs.*/
}
.validation-warning {
    color: #a06700; /* WCAG AA contrast yellowish*/
    white-space: pre-wrap; /* Override row wrapping. Wrap text in its container otherwise it shows outside dialogs.*/
}
/* Offset the floating labels */
.form-control-placeholder + .validation-warning {
    margin-top: -24px;
}

/* Offset the floating labels */
.form-control-placeholder + .validation-message{
    margin-top: -24px;
}

/* Error UI */
#blazor-error-ui {
    color: white;
    background: #343a40;
    bottom: 0;
    box-shadow: 0 -1px 2px #000000;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .reload {
        font-weight: bold;
        color: #007bff;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Update Available */
#update-available {
    visibility: hidden;
    background-color: #4A494A;
    color: #fff;
    text-align: center;
    border-radius: .5rem;
    padding: 1rem;
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -10%);
}

    #update-available.show {
        visibility: visible;
        -webkit-animation: updateFade 0.5s;
        animation: updateFade 0.5s;
    }

    #update-available a.reload {
        color: #87bbfd;
        cursor: pointer;
        font-weight: bold;
    }
/* Scollbar */
.scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #000000;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #F5F5F5;
    border-radius: 0.625rem;
}

.scrollbar::-webkit-scrollbar {
    width: 0.75rem;
    background-color: #F5F5F5;
    border-radius: 0.625rem;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 0.625rem;
    -webkit-box-shadow: inset 0 0 6px #000000;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #999999;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 0.375rem;
}

/* Bootstrap Overrides */
.dropdown-hover-all .dropdown-menu, .dropdown-hover > .dropdown-menu.dropend {
    margin-left: -1px !important
}

button.nav-link {
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font: inherit;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #0566AD;
    font-weight: bold;
}

.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:active {
    color: unset;
    background-color: transparent;
    border-color: transparent;
}
    /*.navbar .nav-link.active:hover {
        background-color: #e9ecef;
    }*/

.badge {
    white-space: normal;
    margin: 2px;
}

.btn.dropdown-toggle span {
    white-space: normal;
}

.btn, .btn-primary, .btn-secondary {
    white-space: nowrap;
}

.btn-primary {
    background-color: #435e8c;
    margin: 5px;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #024b81;
    box-shadow: unset;
}

.btn-outline-primary {
    border-color: #0566AD;
    color: #0566AD;
}

    .btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
        background-color: #024b81;
        border-color: #0566AD;
        box-shadow: unset;
    }

.btn-check:focus + .btn, .btn:focus {
    box-shadow: unset;
    border-color: transparent;
}

.btn-check:active + .btn-primary:focus, .btn-check:checked + .btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: unset;
}
    button.long-value {
        white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
::deep .form-select:focus {
    box-shadow: unset;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.input-group .btn {
    z-index: 1;
}

    /* BREADCRUMBS */
    .breadcrumb {
    background-color: transparent;
}

.breadcrumb-item a {
    padding-left: .5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    border-top: .4em solid;
    border-right: .4em solid transparent;
    border-left: .4em solid transparent;
    margin-top: .5rem;
    padding: 0;
    -webkit-transform: rotate( 270deg );
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    display: inline-block;
    vertical-align: text-top;
}

/*Tabs*/
.nav-link {
    padding-right: .5rem;
    padding-left: .5rem;
}

.nav-link.active {
    color: #0566AD;
    font-weight: bold;
    background-color: #0566AD;
    border-color: #0566AD;
}

.nav-tabs {
    font-family: sans-serif;
    border: 0px;
    padding-left: 20px;
}

.nav-tabs-body {
    -moz-box-shadow: 1px 1px 8px gray !important;
    -webkit-box-shadow: 1px 1px 8px gray !important;
    box-shadow: 1px 1px 8px gray !important;
    background-color: #f1f1f1;
    border-top: solid #f1f1f1 1px;
    margin-top: -1px;
    border-radius: .5rem;
    padding: 20px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.7) !important;
    /* Clip bottom shadow on tab. */
    clip-path: polygon(-10% -10%, 110% -10%, 110% 95%, -10% 95%, -10% 0%);
}
/*.nav-tabs-body {
    display: flex;
    flex: 1 1 100%;
}*/

.nav-tabs .nav-item.show .nav-link, .nav-tav-tabs .nav-link {
    color: #fff;
    background-color: #0566AD;
    border: 1px solid lightgrey;
    font-weight: bold;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tav-tabs .nav-link:hover {
        background: #fff;
        cursor: pointer;
    }

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    cursor: pointer;
}

.nav-tabs .nav-item.show .nav-link, .nav-tav-tabs .nav-link.active {
    color: #0566AD;
    background-color: #fff;
    border: 1px solid lightgrey;
    font-weight: bold;
}

/*.vertical-divider::before {
    background: #ced4da;
    width: 1px;
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: middle;
    min-height: 1.5rem;
}*/

/*Dropdowns*/
.dropdown-menu {
    box-shadow: 0 .5rem 1rem #ced4da !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/* Rotate the caret if expanded */
a.dropdown-toggle::after {
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

a.show.dropdown-toggle::after,
a[data-bs-toggle="collapse"]:not(.collapsed).dropdown-toggle::after {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

/* Multi-level dropdowns*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: -3px;
        left: 42%;
        /*margin-top: -6px;*/
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

/*Edit Forms*/

.form-control, .form-select {
    background-color: #fcfcfc;
    border-radius: 0.3125rem;
}

    .form-control:focus:not(:read-only), .form-select:focus:not(:read-only), .form-checkbox:focus {
        border-color: #0566AD;
        border-width: 2px;
        background-color: #fcfcfc;
        box-shadow: unset;
    }

        .form-control:focus + div .search-btn,
        .form-select:focus, .form-select:focus + div .search-btn
         {
            border-width: 2px;
            border-color: #0566AD;
        }

            /* Do not focus border when readonly*/
            .form-control:focus:read-only,
            .form-control[readonly]:focus,
            .form-select:focus:read-only,
            .form-select[readonly]:focus {
                outline: none !important;
                box-shadow: none !important;
                border-color: #ced4da;
            }

/*.btn-check:focus + .btn, .btn:focus {
    outline: 0;
    box-shadow: unset;
    border-width: 2px;
    border-color: #0566AD!important;
}*/

.form-control-placeholder,
.form-control-show-placeholder {
    /* Removed this to prevent fixed form label when scrolling in dialog. */
    /* position: absolute; */
    transition-property: transform, font-size, padding;
    transition-duration: 200ms;
    transform: translateY(-160%);
    margin: 0.3rem 0.625rem;
    padding-bottom: 0;
    pointer-events: none;

    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

.form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

label.cap {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(45%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

.form-control:valid ~ .form-control-placeholder,
.form-control:-webkit-autofill ~ .form-control-placeholder,
.form-select:valid ~ .form-control-placeholder,
.form-control:focus ~ .form-control-placeholder,
.form-select:focus ~ .form-control-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

.form-control:disabled ~ .form-control-placeholder,
.form-select:disabled ~ .form-control-placeholder
.form-control:disabled ~ .form-control-show-placeholder,
.form-select:disabled ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, #e9ecef, #e9ecef), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

.form-control:not(.placeholder-hide):valid ~ .form-control-show-placeholder,
.form-select:valid ~ .form-control-show-placeholder,
.form-control:focus ~ .form-control-show-placeholder,
.form-select:focus ~ .form-control-show-placeholder,
.form-control:not(.placeholder-hide):placeholder-shown ~ .form-control-show-placeholder,
.form-select:placeholder-shown ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}
.form-control:not(.placeholder-hide):valid ~ .form-control-show-placeholder,
.form-select:valid ~ .form-control-show-placeholder,
.form-control:focus ~ .form-control-show-placeholder,
.form-select:focus ~ .form-control-show-placeholder,
.form-control:not(.placeholder-hide):placeholder-shown ~ .form-control-show-placeholder,
.form-select:placeholder-shown ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    background: linear-gradient(to right, white, white), linear-gradient(to top, transparent, #ced4da);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding-top: 0.0rem;
}

.form-control:disabled ~ .form-control-show-placeholder,
.form-select:disabled ~ .form-control-show-placeholder,
.form-control[readonly] ~ .form-control-show-placeholder,
.form-select[readonly] ~ .form-control-show-placeholder {
    background-image: linear-gradient(to bottom, transparent 61%, #e9ecef 61%);
}

.form-control:disabled:not(:placeholder-shown) ~ .form-control-show-placeholder,
.form-select:disabled:not(:placeholder-shown) ~ .form-control-show-placeholder {
    font-size: 0.75rem;
    margin: 0 0.625rem;
    transform: translateY(-270%);
    background: linear-gradient(to right, #e9ecef, #e9ecef), linear-gradient(to top, transparent, #ced4da);
}
.form-control:focus ~ .form-control-placeholder,
.form-select:focus ~ .form-control-placeholder,
.form-control:focus ~ .form-control-show-placeholder,
.form-select:focus ~ .form-control-show-placeholder {
    color: #32325D;
    transform: translateY(-270%);
}

.placeholder-hide::-webkit-input-placeholder {
    font-size: 0;
}

label {
    font-size: 0.875rem;
    padding: .375rem;
    padding-top: .2rem;
}

.label.active {
    color: #404041;
}

/* WCAG Floating Input Label*/
.floating-label-wrapper .form-field {
    position: relative;
    z-index: 0;
    --label-bg: #fff;
    --label-border: #ced4da;
    --label-border-focus: #0566AD;
    --label-border-disabled: #e9ecef;
}

/* base label */
.floating-label-wrapper .floating-label {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0 .35rem;
    line-height: 1;
    z-index: 4;
    background: linear-gradient(var(--label-bg), var(--label-bg)) padding-box, linear-gradient(var(--label-border), var(--label-border)) border-box;
    border: 1px solid transparent;
    border-radius: .3125rem;
    transition: transform 200ms, font-size 200ms, top 200ms, border-color 200ms, background 200ms;
}

/* float label at top of input */
.floating-label-wrapper .form-field:has(.form-control:not(:placeholder-shown)) .floating-label,
.floating-label-wrapper .form-field:has(.form-control:-webkit-autofill) .floating-label,
.floating-label-wrapper .form-field:has(select.form-select option:checked:not([value=""])) .floating-label {
    top: -0.6rem;
    font-size: 0.75rem;
}

/* focus changes border color to match input border */
.floating-label-wrapper .form-field:focus-within:not(:has(.form-control:disabled)):not(:has(.form-control:read-only)) .floating-label,
.floating-label-wrapper .form-field:focus-within:not(:has(select.form-select:disabled)):not(:has(select.form-select:read-only)) .floating-label {
    background: linear-gradient(var(--label-bg), var(--label-bg)) padding-box, linear-gradient(var(--label-border-focus), var(--label-border-focus)) border-box;
}

/* disabled coloring */
.floating-label-wrapper .form-field:has(.form-control:disabled) .floating-label,
.floating-label-wrapper .form-field:has(.form-control:read-only) .floating-label,
.floating-label-wrapper .form-field:has(select.form-select:disabled) .floating-label,
.floating-label-wrapper .form-field:has(select.form-select:read-only) .floating-label {
    background: linear-gradient(var(--label-bg), var(--label-bg)) padding-box, linear-gradient(var(--label-border-disabled), var(--label-border-disabled)) border-box;
    color: #6c757d; /* muted text */
}
/* WCAG Floating Input Label*/

/* Icons */
.search-icon {
    content: url(/images/search-icon.svg);
    width: 1.2rem;
    vertical-align: middle;
}

.close-icon {
    content: url(/images/close-icon.svg);
    width: 1rem;
}
/* Loader */
#init-wrapper {
    background: #525252;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    position: fixed;
    transition: opacity .7s;
    z-index: 3;
}

    #init-wrapper.fade {
        opacity: 0;
    }
/* Loader */
#init-loader {
    height: 30rem;
    width: 30rem;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%,-50%,0);
    content: url(/images/9line-spark-loader.svg);
    filter: invert(65%) sepia(27%) saturate(945%) hue-rotate(184deg) brightness(106%) contrast(98%);
}

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999999;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px !important;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.slider-sm {
    width: 27px;
    height: 14px;
}

.slider-sm:before {
    height: 10px;
    width: 10px;
}

.slider-lg:before {
    height: 20px;
    width: 20px;
}

input:checked + .slider {
    background-color: #0566AD;
}

input:focus + .slider {
    box-shadow: 0 0 1px #0566AD;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

input:checked + .slider-lg:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    margin-bottom: 0;
    line-height: 1.125rem;
    vertical-align: text-top;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/*Draws a focus ring around the switch slider version of a checkbox*/
.switch:focus-within .slider::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid #0566AD;
    border-radius: 9999px;
    pointer-events: none;
}

.switch input:focus {
    outline: none;
}
/*-----------------------------------------------------------------*/

.switch input:disabled ~ .slider {
    cursor: not-allowed;
}

.switch-lg {
    width: 50px;
    height: 24px;
}

/***** Modal Multiselect Dropdown with Checkboxes *****/
.checkbox-menu-btn {
    position: relative;
}

    .checkbox-menu-btn button {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right .75rem center;
        background-size: 16px 12px;
        text-align: left;
        background-color: #FFFFFF;
        border: 1px solid #ced4da;
    }

        .checkbox-menu-btn button:hover {
            background-color: #FFFFFF;
            border: 1px solid #ced4da;
        }

        .checkbox-menu-btn button:focus {
            border-color: #86b7fe;
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
            background-color: #FFFFFF;
        }

        .checkbox-menu-btn button:active {
            background-color: #FFFFFF;
            border-color: #ced4da;
        }

.checkbox-menu input:hover,
.checkbox-menu input:focus {
    cursor: pointer;
}

.checkbox-hover {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

    .checkbox-hover:hover,
    .checkbox-hover:focus,
    .checkbox-hover label:hover,
    .checkbox-hover label:focus,
    .checkbox-hover.active:hover,
    .checkbox-hover.active label:hover,
    .checkbox-hover.active:hover label {
        background-color: #efefef;
        cursor: pointer;
        color: #212529;
    }

    .checkbox-hover.active,
    .checkbox-hover.active label {
        background-color: #dcf8ff;
        color: #0566ad;
    }

/*Modal toggle button*/
.form-check-input:checked {
    background-color: #0566AD;
    border-color: #0566AD;
}

.form-check-input:focus {
    outline: 0;
    box-shadow: unset;
}

/*Textbox Overflow*/
.longInput {
    width: 15vh;
    height: 24px;
    overflow: hidden;
    position: relative;
    float: left;
}

    .longInput span {
        position: absolute;
        white-space: nowrap;
        transform: translateX(0);
        transition: 1s;
        -webkit-mask-image: -webkit-gradient( linear, left 50%, right bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)) );
    }

    .longInput:hover span {
        transform: translateX(calc(200px - 100%));
        -webkit-mask-image: none;
    }
/*Pop overs*/
.popover {
    min-width: 300px;
}
h3.popover-header {
    background-color: #0566AD;
    color: white;
}
/*Details Pages*/
.details-card {
    padding-left: 2rem;
    border-right: 2px solid #ced4da;
    height: 100%;
}

.details-card-standalone-sm {
    padding: 1rem;
    margin: 4px;
    -moz-box-shadow: 0 0 3px gray !important;
    -webkit-box-shadow: 0 0 3px gray !important;
    box-shadow: 0 0 3px gray !important;
    border-radius: 0.5rem;
    height: 220px;
    background-color: white;
    height: auto;
    min-height: 11rem;
}
.details-card-standalone-md {
    margin: 4px;
    padding: 2rem;
    -moz-box-shadow: 0 0 3px gray !important;
    -webkit-box-shadow: 0 0 3px gray !important;
    box-shadow: 0 0 3px gray !important;
    border-radius: 0.5rem;
    background-color: white;
}
.details-card-standalone {
    margin: 4px;
    padding: 2rem;
    -moz-box-shadow: 0 0 3px gray !important;
    -webkit-box-shadow: 0 0 3px gray !important;
    box-shadow: 0 0 3px gray !important;
    border-radius: 0.5rem;
    height: 220px;
    background-color: white;
    height: auto;
    min-height: 11rem;
}
.card-item {
    -webkit-animation: pop-in 0.4s;
    -moz-animation: pop-in 0.4s;
    -ms-animation: pop-in 0.4s;
}
/***** Alert Styles *****/
.alert-danger {
    color: #ff0000;
    background-color: unset;
    border-color: unset;
    border: none;
}

.alert-danger .alert-link {
    color: #ff0000;
    text-decoration: underline;
}

.ClipboardUnderline {
    cursor: pointer;
    text-decoration: dotted;
    text-decoration-line: underline;
}

    .span.ClipboardUnderline.active {
        cursor: none;
        text-decoration: underline;
    }

@-webkit-keyframes pop-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.25);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes pop-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.25);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes pop-in {
    0% {
        opacity: 0;
        -moz-transform: scale(0.25);
    }

    100% {
        opacity: 1;
        -moz-transform: scale(1);
    }
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.25);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes pop-out {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.25);
    }
}

@-moz-keyframes pop-out {
    0% {
        opacity: 1;
        -moz-transform: scale(1);
    }

    100% {
        opacity: 0;
        -moz-transform: scale(0.25);
    }
}

@keyframes pop-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.25);
    }
}


.details-row {
    display: flex;
}
/* Animations */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.25);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pop-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.25);
        visibility: hidden;
    }
}

@keyframes mainLoader {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes bellshake {
    0% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(5deg);
    }

    30% {
        transform: rotate(-5deg);
    }

    45% {
        transform: rotate(4deg);
    }

    60% {
        transform: rotate(-4deg);
    }

    75% {
        transform: rotate(2deg);
    }

    85% {
        transform: rotate(-2deg);
    }

    92% {
        transform: rotate(1deg);
    }

    100% {
        transform: rotate(0);
    }
}

@keyframes updateFade {
    from {
        bottom: -20%;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

/*Small*/
@media screen and (max-width: 576px) {
    dt {
        width: 100%;
    }

    dd {
        margin-bottom: 1rem;
        float: unset;
        width: unset;
    }
    .details-card-standalone-md {
        padding: 2rem;
        border: 2px solid #ced4da;
        margin: 0px 0px 0px 0px;
        border-radius: .5rem;
    }
}
@media (min-width: 1600px) {
    .col-xxxl-0 {
        visibility: hidden;
    }
    .col-xxxl-1 {
        width: 8.333%;
    }
    .col-xxxl-2 {
        width: 16.666%;
    }
    .col-xxxl-3 {
        width: 25%;
    }
    .col-xxxl-4 {
        width: 33.333%;
    }
    .col-xxxl-5 {
        width: 41.666%;
    }
    .col-xxxl-6 {
        width: 60%;
    }
    .col-xxxl-7 {
        width: 58.333%;
    }
    .col-xxxl-8 {
        width: 66.664%;
    }
    .col-xxxl-9 {
        width: 75%;
    }
    .col-xxxl-10 {
        width: 83.333%;
    }
    .col-xxxl-11 {
        width: 91.666%;
    }
    .col-xxxl-12 {
        width: 100%;
    }
}
@media (min-width: 2600px) {
    .col-w-0 {
        visibility: hidden;
    }
    .col-w-1 {
        width: 8.333%;
    }

    .col-w-2 {
        width: 16.666%;
    }

    .col-w-3 {
        width: 25%;
    }

    .col-w-4 {
        width: 33.333%;
    }

    .col-w-5 {
        width: 41.666%;
    }

    .col-w-6 {
        width: 60%;
    }

    .col-w-7 {
        width: 58.333%;
    }

    .col-w-8 {
        width: 66.664%;
    }

    .col-w-9 {
        width: 75%;
    }

    .col-w-10 {
        width: 83.333%;
    }

    .col-w-11 {
        width: 91.666%;
    }

    .col-w-12 {
        width: 100%;
    }
}

@media (min-width: 5000px) {
    .col-xw-1 {
        width: 8.333%;
    }

    .col-xw-2 {
        width: 16.666%;
    }

    .col-w-3 {
        width: 25%;
    }

    .col-xw-4 {
        width: 33.333%;
    }

    .col-xw-5 {
        width: 41.666%;
    }

    .col-xw-6 {
        width: 60%;
    }

    .col-xw-7 {
        width: 58.333%;
    }

    .col-xw-8 {
        width: 66.664%;
    }

    .col-xw-9 {
        width: 75%;
    }

    .col-xw-10 {
        width: 83.333%;
    }

    .col-xw-11 {
        width: 91.666%;
    }

    .col-xw-12 {
        width: 100%;
    }
}
