.hover-link {
    cursor: pointer; /* Makes it act like a link */
}

.theme-dark {
    background-color: #191a1c;
    color: white;
}

.theme-dark .text
{
    color: white;
}

.theme-dark .card, .theme-dark .card-header, .theme-dark .card-body, .theme-dark {
    background-color: #191a1c;
    border-color: #2e3032;
}

    .theme-dark .list-group-item, .theme-dark nav, .theme-dark .file-list, .theme-dark .file-row, .theme-dark .breadcrumb {
        background-color: #191a1c;
        border-color: #2e3032;
        color: white;
    }

.theme-dark input, .theme-dark .form-group .form-control {
    background-color: #191a1c;
    border-color: #2e3032;
    color: white;
}

.theme-dark input.form-check-input {
    background-color: white;
    border-color: #2e3032;
}

.theme-dark .form-control, .theme-dark .form-select {
    background-color: #191a1c;
    color: white;
}

.theme-dark .form-control:focus {
    background-color: #191a1c;
    color: white;
}

.theme-dark .nav-link {
    color: white;
}


.theme-dark .card .table {
    color: white;
}


.radspace-link-primary,
.radspace-link-primary:hover,
.radspace-link-primary:active
{
    color: #666F98;
}

.radspace-link-black,
.radspace-link-black:hover,
.radspace-link-black:active {
    color: #000000;
}

.radspace-link-danger,
.radspace-link-danger:hover,
.radspace-link-danger:active {
    color: #d22e2e;
}

.radspace-link-warning,
.radspace-link-warning:hover,
.radspace-link-warning:active {
    color: #d39e00;
}



.selected-template {
    background-color: #F7B176;
    margin: 0px 0px;
    padding: 5px 5px;
    border-radius: 10px;
    color: white;
}

.file-list {
    width: 100%;
    border-collapse: collapse;
}

.file-row {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

.file-row-no-line {
    display: flex;
    align-items: center;
    padding: 8px;
}

.file-row-no-line {
    display: flex;
    align-items: center;
    padding: 8px;
}

.file-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.file-name {
    flex: 1;
}


.breadcrumb-sharepoint {
    background-color: transparent;
    font-size: 0.95rem;
    font-weight: 500;
}

    .breadcrumb-sharepoint .breadcrumb-item + .breadcrumb-item::before {
        content: ">";
        /*color: #000000;*/
        padding: 0 0.5rem;
    }

    .breadcrumb-sharepoint .breadcrumb-item a {
        /*color: #000000;*/
        text-decoration: none;
    }

        .breadcrumb-sharepoint .breadcrumb-item a:hover {
            text-decoration: underline;
        }

    .breadcrumb-sharepoint .breadcrumb-item.active {
        /*color: #000000;*/
    }



.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    background-color: #F7B176;
    border-color: #9C5C32;
    color: white;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    background-color: #666F98;
    border-color: #2b324e;
    color: white;
}



select.ng-invalid-required, input.ng-invalid-required {
    background-color: #f7d7da;
}

.radspace-filter {
    padding: 0px 1rem 0rem 1rem;
    height: 50px;
    margin: 0px 0.5rem 0px 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0.5rem;
}

.btn
{
    padding: 0.20rem 0.38rem;
    font-size: 0.9rem;
}

a.btn span.bi {
    font-size: 1em;
}

.form-control {
    padding: 0.20rem 0.38rem
}

.bold {
    font-weight: bold;
}

#study-history-tab .nav-link {
    border: 1px solid #dfdfdf;
}

.nav-link, .nav-link:hover {
    color: #212529;
}

.nav-link, .nav-link:hover {
    color: #212529;
}


.nav-tabs .nav-link:active {
    backgrou:-color: #666F98;
    color: #212529;
}

.nav-tabs .nav-link.active {
    background-color: #666F98;
    color: white;
}

.row-background:nth-child(2n) {
    background-color: #f0f0f0; /* Light gray for every second row */
}

.form-switch .form-check-input {
    height: 20px;
    width: 40px;
    margin-right: 10px;
}

.form-switch .form-check-input:focus {
    border-color: rgba(0, 0, 0, 0.25);
    outline: 0;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(0,0,0,0.25)'/></svg>");
}

.form-switch .form-check-input:checked {
    background-color: #F7B176;
    border-color: #F7B176;
    border: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255, 255, 255,1.0)'/></svg>");
}

.radspace-filter .filter-title
{
    line-height: 4rem;
    cursor: pointer;
}

.filter-x {
    /*padding: 0.29rem 0.75rem;*/
    margin-right: 0.4rem;
    font-size: 12px;
}

.preview-details {
    position: absolute;
    top: -40px;
    border: 1px solid #2b324e;
    background-color: #FFF;
    padding: 10px;
    width: 400px;
    z-index: 1000;
    border-radius: 10px;
    color: black;
}

.filter-details {
    position: absolute;
    top: 110px;
    border: 1px solid #2b324e;
    background-color: #FFF;
    padding: 10px;
    width: 250px;
    z-index: 1000;
    border-radius: 10px;
    color: black;
}

.filter-details-with-search {
    width: 350px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.filter-details-datepicker {
    width: 295px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.bg-radspace-dark {
    --bs-bg-opacity: 1;
    background-color: #2b324e;
}

.bg-radspace-light {
    --bs-bg-opacity: 1;
    background-color: #F7B176;
}

.btn-radspace-primary,
.btn-radspace-primary:active,
.btn-radspace-primary:hover,
.btn-radspace-primary:visited {
    background-color: #666F98;
    border-color: #2b324e;
    color: white;
}

.btn-radspace-primary[disabled="disabled"] {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.button-radspace {
    background-color: #666F98;
    border: 1px solid #2b324e;
    color: white;
}

.btn-radspace-secondary,
.btn-radspace-secondary:active,
.btn-radspace-secondary:hover,
.btn-radspace-secondary:visited
{
    background-color: #F7B176;
    border-color: #9C5C32;
    color: white;
}

.theme-dark .checkbox-radspace:checked, .checkbox-radspace:checked {
    border-color: #9C5C32;
}

.theme-dark .checkbox-radspace:checked, .checkbox-radspace:checked {
    background-color: #F7B176;
    border-color: #9C5C32;
    color: white;
}

.nav-pills .nav-link.active .rs-background-orange {
    background-color: #9c5c32;
}

.bg-orange {
    background-color: #F7B176;
}

.nav-pills .nav-link .rs-background-orange {
    background-color: #F7B176;
}

.nav-pills .nav-link.active {
    background-color: #F7B176;
}

.btn.btn-primary, 
.btn.btn-primary:active, 
.btn.btn-primary:visited,
.btn.btn-primary:hover {
    background-color: #666F98;
    border-color: #2b324e;
}



.icon-20 {
    font-size: 20px;
}

.icon-m {
    font-size: 20px;
}

.icon-l {
    font-size: 30px;
    margin: 0px 5px 0px 5px;
}

.bootstrap-override .alert-thin {
    padding: 0px;
}

.btn .bi {
    font-size: 1.2em;
}

.breadcrumb {
    list-style-type: none;
}

.rad-success {
    color: #5cb85c;
}

.rad-error {
    color: #ff3333;
}

a {
    color: #2268b2;
    text-decoration: none;
}

.v1 .breadcrumb-level::before, .v1 .breadcrumb-level::after {
    content: '';
    position: absolute;
    left: 0;
    height: 50%;
    width: 100%;
    background: #4c7bc1;
    z-index: -1;
}

.v1 .breadcrumb-level::before {
    top: 0;
    transform: skew(20deg);
}

.v1 .breadcrumb-level::after {
    bottom: 0;
    transform: skew(-20deg);
}

.v2 .breadcrumb-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #4c7bc1;
    transform: skew(-20deg);
    z-index: -1;
}

.breadcrumb-level {
    display: inline-block;
    position: relative;
    margin-right: 5px;
}

.breadcrumb-level:last-child a {
    cursor: default;
    color: black;
}

    .breadcrumb-level:last-child::before, .breadcrumb-level:last-child::after {
        background: #a1bce3;
    }

    .breadcrumb-level:not(:last-child):hover::before, .breadcrumb-level:not(:last-child):hover::after {
        background: #a1bce3;
    }

.breadcrumb-level a {
    display: inline-block;
    position: relative;
    line-height: 2.5;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
}


.breadcrumb.v1 {
    margin-bottom: 50px;
}


/*   end of breadcrumb */


.icon-size-normal {
    font-size: 1.5rem;
    color: black;
}

.running {
    background-color: #d2e1c7;
}

.stopped {
    /*background-color: #f7d991;*/
}

.ng-cloak {
    display: none;
}

.modal.fade.in {
    opacity: 1;
}

.modal.in .modal-dialog {
    transform: translate(0, 0);
}

.modal-backdrop.in {
    opacity: 0.5;
    /* opacity: $modal-backdrop-opacity; (SCSS) */
}

/*
    form validation
*/

#toast-container > div {
    opacity: 1;
}

.input-invalid {
    border-color: red;
}

.validation-error {
    color: red;

}

/*
    end form validation
*/

/*a:link {
    color: #ff0000;
    text-underline: none;
    text-decoration: none;
}

a:visited {
    color: #0000ff;
    text-underline: none;
    text-decoration: none;
}

a:hover {
    color: #ffcc00;
    text-underline: none;
    text-decoration: none;
}*/

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}


.btn-primary, .nav-link.active {
    background-color: #2268b2;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited  {
        background-color: #4881bd;
    }



/*
    Pagination

*/


.alt-background {
    background: #fff;
}

.alt-background:nth-child(2n) {
    background: #eee;
}


.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #58748B;
    border-color: #58748B;
}

    .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #666F98;
        border-color: #2b324e;
    }

.pagination > li > a, .pagination > li > span {
    margin-left: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    color: #58748B;
}

/*
    End pagination
*/

table {
    font-size: .9em;
}

.sla-directive .alert
{
    margin-bottom: 0px;
}