﻿/*#region Variables*/
:root {
    --PrimaryColor: #eb7311;
    --PrimaryColorTransparent: #eb731122;
    --SecondaryColor: #253F4D;
    --SecondaryColorTransparent: #253F4DCC;
    --SecondaryColorTransparentLight: #253F4D22;
    --SasBtnTextColor: #FFFFFF;
    --SasBtnTextColorLight: #EEEEEE;
    --SasBtnBgColorHover: #EB7311EA;
    --SasBtnBgColorFocus: #EB7311C1;
    --SasBtnSecondaryTextColor: #00000080;
    --SasBtnSecondaryTextColorHover: #000000;
    --SasBtnSecondaryTextColorFocus: #000000;
    --SasBtnSecondaryBgColorHover: #EB731119;
    --SasBtnSecondaryBgColorFocus: #EB731133;
    --BackgroundColor: #F2F2F3;
    --PrimaryFontColor: #253F4DCC;
    --ErrorColor: red;
    --AllowAccessToggleKnob: #4fd262;
    --AllowAccessToggleCheckedBackground: #a7e8b0;
    --ToggleKnob: var(--PrimaryColor);
    --ToggleCheckedBackground: #eb731188;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
}
/*#endregion */

/*#region SAS Loader*/
.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 1061;
    background-color: rgba(0,0,0,.2);
}

.loading-wheel {
    margin-top: -50px;
    margin-left: -50px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.sas-loader {
    height: 100px;
}
/*#endregion */

/*#region Defaults*/
div, span, p, button {
    outline: none;
}

input, label, select, button, p, div {
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    color: #152731;
}

.fr-view p {
    font-family: "Tahoma";
    font-size: 18px;
}


html,body {
    height: 100%;
}

body {
    margin: 0;
    background-color: var(--BackgroundColor);
}


.sectionHeader {
    color: var(--SecondaryColorTransparent);
    font-weight: 800;
    margin-top: 0px;
    font-size: 20px;
    margin-bottom: 32px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.boldText {
    font-weight: 900;
}
/*#endregion */

/*#region Inner Navigation tabs*/
.top-navigation-container {
    display: none;
    grid-column: 1 / 3;
    align-items: flex-end;
    padding-left: 50px;
}

.top-navigation-container.show-navigation {
    display: flex;
}

.top-navigation-tab {
    background-color: var(--PrimaryColor);
    color: var(--SasBtnTextColorLight);
    padding: 12px 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;
    border: none;
}

    .top-navigation-tab.active {
        color: var(--SasBtnTextColor);
        border-bottom: 2px solid white;
        padding: 10px 12px;
    }

    .top-navigation-tab:hover {
        background-color: var(--SasBtnBgColorHover);
        cursor: pointer;
    }

    .top-navigation-tab:focus {
        background-color: var(--SasBtnBgColorFocus);
        cursor: pointer;
    }
/*#endregion */

/*#region Buttons*/
/*#region Floating Action Buttons*/
.sas-fab-btn {
    background-color: var(--PrimaryColor);
    color: white;
    padding: 13px 24px;
    /*text-transform: uppercase;*/
    font-size: 15px;
    font-weight: 800;
    height: 45px;
    /*letter-spacing: 1.2PX;*/
    border-radius: 4px;
    width: max-content;
    border: none;
    /*box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0,0,0,.12);*/
    margin: auto;
}

    .sas-fab-btn.sas-fab-btn-with-icon {
        display: inline-flex;
        align-items: center;
    }

    .sas-fab-btn:hover {
        cursor: pointer;
        background-color: var(--SasBtnBgColorHover);
        /*box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0,0,0,.12);*/
    }

    .sas-fab-btn:focus {
        cursor: pointer;
        background-color: var(--SasBtnBgColorFocus);
        /*box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0,0,0,.12);*/
    }

    .sas-fab-btn i {
        margin-right: 8px;
    }

/*#endregion */

/*#region Primary Buttons*/

.sas-btn {
    background-color: var(--PrimaryColor);
    color: var(--SasBtnTextColor);
    padding: 8px 12px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;    
    border: none;
    border-radius: 5px;
    margin: auto;
}

    .sas-btn:hover {
        background-color: var(--SasBtnBgColorHover);
        cursor: pointer;
    }

    .sas-btn:focus {
        background-color: var(--SasBtnBgColorFocus);
        cursor: pointer;
    }

/*#endregion */

/*#region Secondary Buttons*/

.sas-btn-secondary {
    background-color: whitesmoke;
    color: var(--SasBtnSecondaryTextColor);
    padding: 8px 12px;
    display: block;
    /*text-transform: uppercase;*/
    font-size: 14px;
    /*letter-spacing: 1.2px;*/
    line-height: 30px;
    height: 52px;
    font-weight: 800;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-color: lightgray;
    border-radius: 5px;
    margin: auto;
}

    .sas-btn-secondary:hover {
        color: var(--SasBtnSecondaryTextColor);
        background-color: var(--SasBtnSecondaryBgColorHover);
        cursor: pointer;
        text-decoration: none;
    }

.sas-btn-secondary:focus {
    color: var(--SasBtnSecondaryTextColorFocus);
    background-color: var(--SasBtnSecondaryBgColorFocus);
    cursor: pointer;
}

/*#endregion */

/*#region Filter Dropdown Buttons*/
.filter-dropdown-btn {
    background-color: rgba(0,0,0,0);
    color: black;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    margin: auto;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}


/*#endregion */

.float-btn-right {
    text-align: end;
}
/*#endregion */

/*#region Text Inputs*/
.field {
    position: relative;
}

    .field input, .field select {
        
        border: 1px solid var(--SecondaryColorTransparentLight);
        font-size: 11pt;
        
        height: 45px;
        width: 100%;
        box-sizing: border-box;
        padding-left: 14px;
        padding-top: 14px;
        border-radius: 4px;
    }

        .field input:focus {
            outline: none;
        }

        .field input.show {
            border: 1px solid var(--PrimaryColor);
        }

        .field input.invalid {
            border: 1px solid red;
        }

    .field label {
        font-size: 18px;
        left: 14px;
        opacity: 1;
        color: var(--SasBtnSecondaryTextColor);
        position: absolute;
        top: 16px;
        transition: all 0.1s linear;
    }

    .field input:focus + label,
    .field input + label.show {
        font-size: 12px;
        opacity: 1;
        top: 4px;
    }

.field input:focus + label,
.field input + label.show {
    color: var(--PrimaryColor);
}

    .field input + label.invalid {
        color: red;
    }

    .field.filed-no-label input{
        padding-top: 0px;
    }
    /*#endregion*/

/*#region Search Input*/
    .searchbar-wrapper {
        position: relative;
    }

.searchbar-i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 .5rem;
    color: var(--SecondaryColor)
}

.searchbar-input {
    padding-left: 2rem;
    border: none;
    width: 300px;
    height: 36px;
    border-radius: 15px;
    background-color: var(--BackgroundColor);
}
/*#endregion*/

/*#region Select Dropdown*/
.select-css {
    position: relative
}

    .select-css:before {
        position: absolute;
        bottom: 1px;
        right: 8px;
        content: "";
        height: calc(60%);
        width: 32px;
        background-position: right calc(100% - 7px);
        background-repeat: no-repeat;
        background-image: url(../../../img/select.png);
        pointer-events: none;
    }

    .select-css label {
        pointer-events: none;
        font-size: 16px;
        left: 15px;
        opacity: 1;
        color: var(--SecondaryColorTransparent);
        position: absolute;
        top: 16px;
        transition: all 0.1s linear;
    }
        .select-css label.selected {
            color: var(--PrimaryColor);
            font-size: 12px;
            opacity: 1;
            top: 2px;
        }

        .select-css label.invalid {
            color: var(--ErrorColor);
        }

        .selectInput {
            -webkit-appearance: none;
            appearance: none;
            color: var(--SecondaryColorTransparent);
            font-size: 16px;
            width: 100%;
            padding: 20px 15px 10px 15px;
            display: inline-block;
            border: 1px solid var(--SecondaryColorTransparentLight);
            border-radius: 8px;
            box-sizing: border-box;
        }

            .selectInput.invalid {
                border: 1px solid var(--ErrorColor);
            }

.selected {
    border-color: var(--PrimaryColor);
    color: black;
}

    .selectInput:focus {
        border-color: var(--PrimaryColor);
        color: var(--SecondaryColor);
        outline: none;
    }
    .selectInput:hover {
        cursor: pointer;
    }

.selectInput:disabled:hover {
    cursor: not-allowed;
}

    .selectInput::-ms-expand {
        display: none;
    }

/*#endregion*/

/*#region Checkboxes*/
/* Checkbox container */
.checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
        display: none;
    }

/* Create a custom checkbox */
.checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 20px;
    border-radius: 2px;
    border: 1px solid var(--SecondaryColorTransparent);
}

/* On Hover, add background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: var(--PrimaryColorTransparent);
}

/* When the checkbox is checked or in an indeterminate state,, add a SAS Primary background */
.checkbox-container input:checked ~ .checkmark, .checkbox-container input:indeterminate ~ .checkmark {
    background-color: var(--PrimaryColor);
    height: 22px;
    width: 22px;
    border: none;
}

    /* Show the partial checkmark when in an indeterminate state */
    .checkbox-container input:indeterminate ~ .checkmark:after {
        display: block;
    }

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:not(.checkmark-partial):after {
    margin-bottom: 4px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the partial checkmark/indicator */
.checkbox-container .checkmark.checkmark-partial:after {
    margin-bottom: 4px;
    width: 10px;
    height: 6px;
    border: solid white;
    border-width: 0 0px 2px 0;
}

.checkbox-select-all-contianer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-label {
    padding-left: 12px;
    font-size: 16px;
}
/*#endregion */

/*#region Swal Styles*/
.swal2-content {
    overflow: -moz-hidden-unscrollable;
}

.swal2-shown {
    padding: 0px;
}

.swal2-popup .swal2-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.swal-heading {
    color: var(--SecondaryColorTransparent);
    font-weight: 900;
    margin: 0;
    text-align: left;
    font-size: 16px;
}

.swal-grid {
    display: grid;
    grid-auto-columns: auto;
    grid-auto-rows: auto;
    grid-row-gap: 20px;
    margin-top: -24px;
}

.swal-content {
    text-align: left;
}

.swal-grid p {
    margin: 0;
    text-align: left;
}

.swal-image-cropper {
    width: 400px;
    height: 400px;
    background-color: lightgray;
    margin: auto;
    margin-top: 30px;
}

    .swal-image-cropper img {
        max-height: 100%;
        max-width: 100%;
    }

.swal-icon-and-buttons-container {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-auto-rows: auto;
}

.swal-rotate-icons {
    display: flex;
}

    .swal-rotate-icons i{
        cursor: pointer;
    }

    .swal-rotate-icons i:not(:first-of-type) {
        margin-left: 12px;
    }

    .swal-buttons {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

        .swal-buttons button {
            margin: 0;
        }
        /*#region Swal Widths*/
        .swal-300 {
            width: 300px !important;
            padding: 24px !important;
        }

    .swal-350 {
        width: 350px !important;
        padding: 24px !important;
    }

    .swal-400 {
        width: 400px !important;
        padding: 24px !important;
    }

    .swal-500 {
        width: 500px !important;
        padding: 24px !important;
    }

    .swal-600 {
        width: 600px !important;
        padding: 24px !important;
    }    
    
    .swal-700 {
        width: 700px !important;
        padding: 24px !important;
    }

    .swal-800 {
        width: 800px !important;
        padding: 24px !important;
    }

    .swal-900 {
        width: 900px !important;
        padding: 24px !important;
    }

@media print {
    .swal-buttons {
        display: none !important;
    }
}
/*#endregion */
/*#endregion */

/*#region DataTables*/
table {
    table-layout: fixed;
    word-wrap: break-word;
    border: none !important;
    /*height: 100%;*/
    width: 100%;
    margin: 0;
    padding: 0;
}

td, th, tbody, table {
    box-sizing: border-box !important;
}
td {
    border-bottom: 1px solid var(--SecondaryColorTransparentLight);
}

/*#region Create simple table*/
.simpleTable table thead {
    display: none;
}
/*#endregion */

/*#region Table with Rounded Borders*/
table.roundedBorders, table.roundedBorders tbody tr {
    border-radius: 4px;
    border-collapse: separate;
}

table.roundedBorders tbody tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 6px;
}

table.roundedBorders tbody tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 6px;
}

table.roundedBorders tbody tr:first-of-type td:last-of-type {
    border-top-right-radius: 6px;
}

table.roundedBorders tbody tr:first-of-type td:first-of-type {
    border-top-left-radius: 6px;
}
/*#endregion */

table.dataTable td.dataTables_empty {
    text-align: center;
    display: none;
}

/*#region Highlight Table Rows On Hover*/
.highlightRowsOnHover tbody tr:hover {
    /*background-color: var(--PrimaryColorTransparent) !important;*/
}
/*#endregion */

/*#endregion */

/*#region Chips*/
.chip {
    padding: 0px 12px;
    border-radius: 16px;
    background-color: #0000007F;
    color: #FFFFFFCC;
    margin: 4px 4px;
    font-size: 14px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    outline: none;
    cursor: pointer;
}

.chip:hover {
    background-color: #0000009E;
}

.chip i {
    font-size: 24px;
    padding-right: 4px;
}

.toggle-chip {
    background-color: var(--PrimaryColorTransparent);
    color: var(--PrimaryColor);
    font-weight: 600;
}

    .toggle-chip:hover {
        background-color: var(--SasBtnSecondaryBgColorFocus);
    }

/*#endregion*/

/*#region Dissable CSS Transistions*/
    .css-transitions-only-after-page-load * {
        -webkit-transition: none !important;
        -moz-transition: none !important;
        -ms-transition: none !important;
        -o-transition: none !important;
    }
/*#endregion*/

/*#region Toggles*/
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-input {
    display: none;
}

.switch-label {
    display: block;
    width: 48px;
    height: 24px;
    text-indent: -150%;
    clip: rect(0 0 0 0);
    color: transparent;
    user-select: none;
}

.switch-label:before, .switch-label:after{
    content: "";
    display: block;
    position: absolute;
    cursor: pointer;
}

    .switch-label:before {
        top: 4px;
        width: 100%;
        height: 70%;
        background-color: #dedede;
        border-radius: 1em;
        transition: background-color 0.25s ease;
    }

    .switch-label:after {
        top: 0;
        left: 0;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: white;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
        transition: left 0.25s ease;
    }


.switch-input:checked + .switch-label:before {
    background-color: var(--ToggleCheckedBackground);
}

.switch-input:checked + .switch-label:after {
    background-color: var(--ToggleKnob);
}

.switch-input.allow-access-toggle:checked + .switch-label:before {
    background-color: var(--AllowAccessToggleCheckedBackground);
}
.switch-input.allow-access-toggle:checked + .switch-label:after {
    background-color: var(--AllowAccessToggleKnob);
}

.switch-input:checked + .switch-label:after {
    left: 24px;
}
/*#endregion*/

/*#region Cards*/
.card {
    display: grid;
    width: 100%;
    grid-template-columns: auto;
    grid-template-rows: 68px 200px 48px;
    background-color: white;
    border: 1px solid var(--SecondaryColorTransparentLight);
    border-radius: 6px;
    color: var(--SecondaryColor);
}

    .card p {
        margin: 0;
    }

.card-header {
    display: grid;
    grid-template-columns: 80% 20%;
    grid-template-rows: 50% 50%;
    width: 90%;
    margin: auto;
}

    .card-header p:first-of-type {
        font-weight: 900;
    }
    .card-header p:nth-last-of-type(1) {
        font-size: 14px;
    }


    .card-header i {
        text-align: end;
        float: right;
    }

        .card-header i:hover{
            cursor: pointer;
        }

.card-body {
    background-color: #bdbdbd;
}

    .card-body img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.card-footer {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 90%;
    margin: auto;
}

.card-footer p{
    float: right;
    text-align: right;
}
/*#endregion*/

/*#region Tooltips*/
.tooltip {
    position: relative;
    vertical-align: middle;
    max-width: 100%;
    width: max-content;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: max-content;
        max-width: 200px;
        background-color: var(--SecondaryColor);
        color: #fff;
        border-radius: 6px;
        padding: 6px 16px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        right: 0%;
        margin-left: -40px;
        opacity: 0;
        transition: opacity 0.3s;
        text-align: start;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            right: 15%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext:not(.hideToolTip) {
        visibility: visible;
        opacity: 1;
    }

.tooltiptext p {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
    overflow-wrap: break-word;
    margin: 4px auto;
}
/*#endregion*/

/*#region Dropdown Cog*/
.options-cog-container {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    justify-items: center;
    align-items: center;
}

    .options-dropdown:hover:before {
        cursor: pointer;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    display: none;
    top: 20px;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1
        }

    .dropdown .active, .dropdown-content .active {
        display: block;
    }

/*#endregion */

/*#region Toasts*/
.toast {
    visibility: hidden;
    width: 250px;
    margin-left: -125px;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1100;
    left: 50%;
    bottom: 30px;
    padding: 15px;
}

    .toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/*#region Toast Animations*/
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
/*#endregion */

/*#region Toast Variations*/
.alert-danger, .alert-info, .alert-success, .alert-warning {
    border-color: transparent
}

    .alert-danger hr, .alert-info hr, .alert-success hr, .alert-warning hr {
        border-top-color: transparent
    }

.alert-danger {
    background-color: #F44336;
    color: #fff
}

.alert-success {
    background-color: #4CAF50;
    color: #fff
}

.alert-info {
    background-color: #2196F3;
    color: #fff;
}

.alert-warning {
    background-color: #FFC107;
    color: #fff
}

.alert-danger {
    background-color: #F44336;
    color: #fff
}

/*#endregion */
/*#endregion */

/*#region Scrollbar*/
.sas-scrollbar::-webkit-scrollbar {
    width: .5em;
}

.sas-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

.sas-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--SecondaryColorTransparentLight);
}
/*#endregion */

/*#region Menu Dropdown Content*/
.select-dropdown-content {
    position: absolute;
    top: 80%;
    left: 80%;
    z-index: 1;
    width: 350px;
    background-color: white;
    text-align: left;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.1), -5px 4px 10px rgba(0,0,0,0.1), 5px 4px 10px rgba(0,0,0,0.1);
    cursor: default;
    display: none;
    margin-bottom: 50px;
}

.list-item-container {
    height: 30px;
    display: grid;
    align-content: center;
    padding-left: 12px;
}

.with-icon {
    display: inline-flex;
    align-items: center;
}

.list-item-icon {
    height: 24px;
    margin-right: 4px;
}

.list-item-container:hover {
    background-color: var(--BackgroundColor);
    cursor: pointer;
}

.list-item-container p {
    margin: 0;
}
/*#endregion */

/*#region Toggle Icons on Hover*/
.swap-image-on-hover {
    position: relative;
    display: inline-flex;
    text-align: end;
    vertical-align: middle;
}

    .swap-image-on-hover:hover .img-top {
        transition: opacity .5s ease-out;
        opacity: 1;
        cursor: pointer;
    }

    .swap-image-on-hover .img-top {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
    }
/*#endregion */

.scrollable-container {
    overflow-y: auto;
}

.show-ecplise {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-in-table {
    width: 36px;
    display: inline-flex;
    vertical-align: middle;
}

/*#region Custom Nested Checkboxes*/
.checkbox-child, .checkbox-parent, .checkbox-select-all {
    display: grid;
    grid-template-columns: max-content auto;
    height: 40px;
}
    .checkbox-parent {
        padding-left: 16px;
    }

    .checkbox-child {
        padding-left: 32px;
    }

    .checkbox-child p, .checkbox-parent p, .checkbox-select-all p {
        margin: auto 12px;
    }
/*#endregion */

/*#region Custom Filter select dropdown*/
/*the container must be positioned relative:*/
.custom-select {
    position: relative;
    font-family: Arial;
}

    .custom-select select {
        display: none; /*hide original SELECT element:*/
    }

.select-selected {
    display: flex;
    align-items: center;
    background-color: white;
}

    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 22px;
        right: 10px;
        width: 0;
        height: 0;
        border: 6px solid black;
        border-color: black transparent transparent transparent;
    }

    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent black transparent;
        top: 7px;
    }

/*style the items (options), including the selected item:*/
.select-items div {
    color: black;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
}

.select-selected {
    color: black;
    padding: 8px 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    user-select: none;
}

    .select-selected.select-arrow-active {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.custom-select .select-items div:last-of-type {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
/*#endregion */

.sas-link-text {
    color: var(--PrimaryColor);
    text-decoration: underline;
}
    .sas-link-text:hover {
        color: #0a6ebd;
        cursor: pointer;
    }

@media Print {
    .fr-view {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact;
    }
}

input[type=button]:disabled, input[type=submit]:disabled {
    background: #D0D0D0;
    color: #6F6F6F;
    cursor: not-allowed;
}