.grid-loading {
    background: rgba(255, 255, 255, 0.6) url(../../img/ajax-loader-w80.gif) no-repeat 50% 50%;
    /*background: rgba(255, 255, 255, 0.6) url(../../img/loading.gif) no-repeat 50% 50%;*/
    /*background: rgba(255, 255, 255, 0.6) url(../../img/ajax_loader_round_bce8f1.gif) no-repeat 50% 50%;*/
    /*background: rgba(0, 0, 0, 0.3) url(../../img/loading.gif) no-repeat 50% 50%;*/
    /*background: rgba(0, 0, 0, 0.3) url(../../img/loading_clean.gif) no-repeat 50% 50%;*/
    bottom: 0px;
    left: 0px;
    position: absolute !important;
    right: 0px;
    top: 0px;

    z-index: 1;
}

[data-theme-version="dark"] .grid-loading {
    background: rgba(0, 0, 0, 0.3) url(../../img/loading_clean.gif) no-repeat 50% 50%;
}

.loading-pending {
    background: rgba(255, 255, 255, 0.6) url(../../img/ajax-loader-w80.gif) no-repeat 50% 50%;
    bottom: 0px;
    left: 0px;
    position: fixed;
    right: 0px;
    top: 0px;

    z-index: 20;
}

td > div {
    width: max-content;
}

[data-theme-version="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff;
}

[data-theme-version="dark"] .custom-dropdown > div > span {
    color: #fff !important;
}
[data-theme-version="dark"] .dropdown-menu > div > div {
    color: #fff !important;
}

[data-theme-version="dark"] .select2-search__field {
    color: #fff ;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.gift_chart_class {
    border: 1px solid #e3e3e3;
}
[data-theme-version="dark"] .gift_chart_class {
    border: 1px solid #333a54;
}


[data-theme-version="dark"] .picker__box,
[data-theme-version="dark"] .picker__button--clear,
[data-theme-version="dark"] .picker__button--close {
    background: #181f39;
}
[data-theme-version="dark"] .picker__nav--prev,
[data-theme-version="dark"] .picker__nav--next,
[data-theme-version="dark"] .picker__month,
[data-theme-version="dark"] .picker__weekday,
[data-theme-version="dark"] .picker__day--infocus,
[data-theme-version="dark"] .picker__button--clear,
[data-theme-version="dark"] .picker__button--close {
    color: #fff;
}

[data-theme-version="dark"] .picker__day--outfocus {
    color: #7c7c7c;
}

.picker__input {
    padding-top: 5px;
    padding-bottom: 5px;
    height: max-content;
    color: #444;
    cursor: pointer;
}

.picker__select--year {
    width: max-content;
    height: max-content;
    padding: 5px;
    font-size: 20px;
}

.picker__select--month {
    width: max-content;
    height: max-content;
    padding: 5px;
    font-size: 20px;
}


.dropdown {
    cursor: pointer;
}

/*.select2-selection__placeholder {
    margin-left: 5px;
    margin-right: 5px;
}*/

.select2-selection__rendered {
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-expand .navbar-nav .dropdown-menu {
    position: static !important;
}

/*.dropdown .bootstrap-select .default-select .size-3 .form-control .wide {*/
div.default-select.form-control {
    /*height: max-content !important;*/    
    margin-top: 5px;
}

.custom-table-program {
    table-layout: auto;
}

.custom-table-program > thead > tr > th {
    padding: 4px;
    text-align: center;
    width: 0;
    width: fit-content;
}
.custom-table-program > thead > tr > th > div {
    white-space: normal;
    width: -webkit-fill-available;
}

.custom-table-program > tbody > tr > td {
    text-align: center;
    padding: 4px;
    vertical-align: middle;
    width: 0;
}

.custom-table-program > tbody > tr > td > div {
    font-size: 12px;
    width: -webkit-fill-available;
    white-space: normal;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .nav-header {
    z-index: 4;
}

.mini-table > thead > tr > th {
    font-size: 12px; 
    text-align: center; 
    vertical-align: middle;
    white-space: normal;
}
.mini-table > tbody > tr > td {
    font-size: 12px; 
    text-align: center; 
    vertical-align: middle;
    width: 0;
    white-space: normal;
}

.popover {
    min-width: unset;
    width: max-content;
    border: unset;
}

/*.column-hidden-mobile {
    display: block;
}*/

.column-show-mobile {
    display: none;
}

.div-column-show-mobile {
    display: none;
}

.select2-container--open {
    z-index: 99999999;
}

/*.select2-dropdown--below {
    width: auto !important;
}*/

.select2-results__option {
    white-space: nowrap;
}

.select2.select2-container {
    /*width: 100% !important;*/
    /*width: unset !important;*/
}
.select2-container {
    width: unset !important;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #aaa !important;
}

.alert-dismissible {
    display: flex;
    align-items: center;
} 

.form-control {
    color: #797878;
}


.card-mg-bottom-unset {
    height: auto;
    margin-bottom: unset; 
}

/*.card-body {
    padding-top: 0;
    padding-bottom: 0;
}*/

.card-body-small {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

/*.card {
    height: auto;
}*/

.card-header > h1
, .card-header > h2
, .card-header > h3
, .card-header > h4
, .card-header > h5
, .card-header > h6
{
    
}

.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
}

.modal-dialog-centered {
    justify-content: center;
}

.points_overview_wrapper {
/*    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas: " a b "
                       " c d "
                       " c f "
                       " c . "
                       " c . "      
                       " e . " ;*/
    
/*    display: -ms-flexbox;
	-ms-flex-direction: column;
	-ms-flex-wrap: wrap;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	height: 100vw;*/
/*    display: grid;                                               
    grid-auto-rows: 50px;                                      
    grid-gap: 10px;                                               
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));   */
/*grid-template-rows: masonry;
grid-template-columns: masonry;*/

/*    display: flex;
    flex-wrap: wrap;*/
    
    /*max-width: 1280px;*/
    margin: auto;
/*    columns: 4 280px;*/
    columns: 2 500px;
    column-gap: 0;
  
/*    flex-flow: column wrap; 
    align-items: flex-start;*/
    
    /*margin: 1.5em 0;*/
    /*padding: 0;*/
/*    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;*/
    /*font-size: .85em;*/
}

.card-500-width {
    /*margin: 5px;*/ 
    padding: 5px;
    min-width: 500px;
    height: max-content;
    
    display: inline-block;
    width: 100%;
    
    
/*    display: inline-block;
    background: #fff;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 4px 0 #ccc;*/
}

.program-text-div {
    font-size: 14px;
}

.table-program-overview td {
    padding: 0.5rem 0.5rem;
    font-size: 14px;
    white-space: normal;
}

.card-title {
    text-transform: unset;
}

.modal-form {
    /*width: 100%;*/
    max-width: 1200px;
    padding-left: 5px;
    padding-right: 5px;
}

.modal-form > .modal-content {
    width: max-content;
    min-width: 1000px;
}

.modal-form > .modal-content > .modal-body {
    /*width: max-content;*/
    width: 100%;
    padding: 5px;
    background: #ededed;
}

.form-input {
    margin-left: 5px;
}


.checkbox-group-options  {
    display: flex;
}

.checkbox-group-options > div {
    border: 1px solid transparent;
}

.checkbox-group-options > div > input[type=checkbox] {
    display: none;
}

.checkbox-group-options > div > label {
    font-size: 14px;
    border: unset;
    border: 1px solid transparent;
    background: #e6e6e6;
    color: #1C1C1C;
    font-weight: bold;
    padding: .1em .8em;
    transition: 100ms;
    cursor: pointer;
}
.checkbox-group-options > div > label:hover {
    background: #d0d0d0;
}

.checkbox-group-options > div > input[type=checkbox]:checked+label {
    color: white;
    background: #1eaae7;
}
.checkbox-group-options > div > input[type=checkbox]:checked+label:hover {
    color: white;
    background: #148abe;
}


.radio-two-options  {
    display: flex;
}

.radio-two-options > div > input[type=radio] {
    display: none;
}

.radio-two-options > div > label {
    font-size: 14px;
    border: unset;
    /*border: 1px solid white;*/
    background: #e6e6e6;
    color: #1C1C1C;
    font-weight: bold;
    padding: .1em .8em;
    transition: 100ms;
    cursor: pointer;
}
.radio-two-options > div > label:hover {
    background: #d0d0d0;
}

.radio-two-options > div > input[type=radio]:checked+label {
    color: white;
    background: #1eaae7;
}
.radio-two-options > div > input[type=radio]:checked+label:hover {
    color: white;
    background: #148abe;
}

.radio-two-options-column {
    flex-direction: column;
}

.radio-two-options-column > div > label {
    width: -webkit-fill-available;
    text-align: center;
}

.text-input-form {
    font-size: 12px;
}

.info-alert {
    font-size: 12px;
}

.number-slider {
    display: flex;
    flex-direction: column;
}

.noUi-handle {
   height: 12px !important;
   width: 12px !important; 
   right: -6px !important; 
}

.clear {
    clear: both;
}

.hr {
    border-top: 1px solid lightGrey;
}

.btn-smaller {
    padding: 4px 10px;
    font-size: 12px !important;
}

small {
    font-size: 10px
}

.select2-selection__rendered {
    min-height: auto !important;
}

.form-check-input {
    background: #ffffff;
}

.label-but-not-really {
    width: 200px;
}

.table-display-no-bd {
    font-size: 14px;
}

/*.first-column {*/
.table-display-no-bd > tbody > tr >  .first-column {
/*    width: 100%; 
    max-width: 200px;*/
    width: 160px;
}
/*.value-column {*/
.table-display-no-bd > tbody > tr > .value-column {
    font-weight: bold;
    /*width: 100%;*/
}

.form-control-but-good {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #7e7e7e;
    background-color: #f5f5f5;
    background-clip: padding-box;
    border: 1px solid #e3e3e3;
    appearance: none;
    border-radius: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-but-good {
    background: #fff;
    border: 0.0625rem solid #e3e3e3;
    padding: 0.6875rem 1.25rem;
    color: #B1B1B1;
    height: 2.875rem;
    border-radius: 0.625rem;
}

.form-control-but-good {
    color: #797878;
}

.form-control-but-good:disabled, .form-control-but-good[readonly] {
    background: #fff;
    opacity: 1;
}

input[type=file] {
    display: none;
}

.custom-file-button {
    display: flex;
    align-items: center;
}

.custom-file-button > button {
    font-size: 13px;
    padding: 6px 12px;
}

.custom-file-button > span {
    margin-left: 5px;
    font-size: 12px;
    color: #878787;
}

.file_preview > div {
    /*background: #f5f5f5;*/
    border-radius: 5px;
    display: flex;
    /*padding: 10px 1em;*/    
    overflow: hidden;
    width: max-content;
    margin-top: 5px;
}

.file_preview > div > img {
    height: 100px;
    
/*    object-fit: cover;
    width: 250px;
    height: 157px;
    border-radius: 18px;*/
}


/*    .custom-file-button > button {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .custom-file-button > span {
        font-size: 10px;
    }
    
    .file_preview > div > img {
        height: 70px;
    }*/

/*.file_preview > div > img {
    height: 100px;
    object-fit: cover;
    width: 250px;
    height: 157px;
    border-radius: 18px;
}*/

.timebonus-dotw-div {
    display: flex;
    justify-content: space-evenly;
}

.timebonus-dotw {
    width: 40px;
    /*border: 1px solid #e3e3e3;*/
    border-radius: 4px;    
    margin-top: 1px;
    margin-bottom: 1px;
    color: white;
}
.timebonus-dotw-true {
    background: #4bbbec;
}
.timebonus-dotw-false {
    background: #b1b1b1;
}

.two-column-row {
    display: flex;
    flex-wrap: nowrap;
}

/*.row > * {
    padding-left: unset;
}

.row_no_padding > * {
    padding-left: unset;
    padding-right: unset;
}*/

@media (prefers-reduced-motion: reduce) {
    .form-control-but-good {
        transition: none;
    }
}

@media only screen and (max-width: 1400px) {
    .form-control-but-good {
        height: 2.5rem;
    }
}

@media screen and (max-width: 700px) {
    .column-hidden-mobile {
        display: none;
    }
    
    .column-show-mobile {
        /*display: block;*/
/*        display: inline-block;
        display: -webkit-inline-block;*/
        /*display: table-cell;*/
        display: revert;
    }
    
    .div-column-show-mobile {
        /*display: inline-block;*/
        display: revert;
    }
    
    .modal-content {
        width: 100% !important;
    }
    .modal-body {
        width: auto !important;
    }
    
    .hide-nav-mobile {
        display: none;
    }
    
    .table-program-overview td {
        font-size: 12px;
    }
    
    .modal-form {
        padding: unset;
    }
    
    .modal-form > .modal-content {
        width: 100%;
        min-width: unset;
    }
    
    .info-alert {
        font-size: 11px;
    }   
    
    .btn-smaller {
        font-size: 11px !important;
    }

    small {
        font-size: 9px
    }
    
    .modal-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    
    .timebonus-dotw-div {
        flex-wrap: wrap;
    }
    
    .two-column-row {
        flex-wrap: wrap;
    }
    
    
    .checkbox-group-options  {    
        flex-wrap: wrap;
    }
    
/*    .file_preview > div > img {
        height: 70px;
        height: 157px;
    }*/
}


/*@media screen and (max-width: 450px) {*/
@media screen and (max-width: 500px) {
    .custom-table-program > thead > tr > th > div {
        font-size: 12px;
    }
    
    .custom-table-program > tbody > tr > td > div {
        /*font-size: 10px;*/
    }
    
    .card-500-width {
        min-width: unset;
        width: 100%;
    }
    
    .program-text-div {
        font-size: 12px;
    }
}
