﻿.ContentPanel {
    background-color: #F7F4EE;
    border: 1px solid #D5D9D6;
    border-radius:8px !important;
    padding: 10px 10px 10px 10px;
}

.InputSpacing {
    padding: 5px 5px 5px 5px;
}

.InputSpacingMargin {
    margin-bottom: 10px;
}
.MainSpacing {
    padding: 10px 10px 10px 10px;
}

/* Page-wide loading overlay (PageSpinner in _Layout: AJAX, page change, form post, language switch). Was '.modal',
   which clashed with Bootstrap 5's .modal (the DebtWizard search dialog got this white overlay + spinner and was unclickable).
   z-index above Bootstrap modals (1055), so it also shows over the search dialog. Spinner ring in huisstijl green. */
.loading-overlay {
    display:    none;
    position:   fixed;
    z-index:    2000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .5 );
    cursor:     wait;
}

/* One loading ring for the whole KSC (Mark, 16-10): page overlay, Kendo grid mask (was the blue bar of the Kendo
   Bootstrap theme, Bootstrap/loading-image.gif) and .spinner on a panel (SetLoading, e.g. debt details). */
.k-loading-mask .k-loading-image {
    background-image: none;
}

.loading-overlay::after, .k-loading-mask .k-loading-image::after, .spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 5px solid #D5D9D6;
    border-top-color: #00D084;
    border-radius: 50%;
    animation: loading-spin .8s linear infinite;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

/* No overflow:hidden on the body (as before): with every AJAX call the scrollbar would vanish and the page shift. */
body.loading .loading-overlay {
    display: block;
}

.page-background {
    background-color: #F7F4EE;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-card {
    background-color: #fff;
    border: 1px solid #D5D9D6;
    border-radius: 8px;
}

h1 {
    color: #222;
    font-size: 1.8em;
    font-weight: 400;
    padding-top: 30px;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    margin-bottom: 5px;
}

h2 {
    font-size: 1.3em;
    font-weight: 400;
}

.cursorHand {
    cursor: pointer;
}
/*overschrijven achtergrond kleur geselecteerde row*/
.table-hover>tbody>tr>td.active:hover, .table-hover>tbody>tr>th.active:hover, .table-hover>tbody>tr.active:hover>td, .table-hover>tbody>tr:hover>.active, .table-hover>tbody>tr.active:hover>th {
    background-color: #69C936 !important;
    color : white;
}

.table-hover>tbody>tr>td.active, .table-hover>tbody>tr>th.active, .table-hover>tbody>tr.active>td, .table-hover>tbody>tr>.active, .table-hover>tbody>tr.active>th {
    background-color: #00D084;
    color : #000;
}
/*einde overschrijven achtergrond kleur geselecteerde row*/


/* Panel overlay (SetLoading in _Layout); the ring is defined with .loading-overlay. No opacity on the element itself
   (as before), or the ring would be faded too. */
.spinner{
    position: absolute;
    cursor: wait;
    z-index: 10000;
    background: rgba( 255, 255, 255, .5 );
}



.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color : #00D084;
    color : #000;
}

a {
    color: #65B32E;
}

.header-user-link, .header-user-link:hover, .header-user-link:focus {
    color: #444 !important;
    text-decoration: none;
}

.btn-primary-csc-dropdown, btn-primary-csc-dropdown > li > a:hover{
    background-color: #00D084 !important;
    color: #000;
    border-color : #00D084 !important;    
    border-radius: 999px;    
}

.TextAlignRight {
    text-align: right !important;
}

input:invalid {
    border-color: red !important;
}

.userActionParameter {
    width: 100%;
}

/*highligen van een gridrow start*/
.highlighted-row {
            background-color: #00D084 !important;
        }
.highlighted-row * {
    color: #000 !important;
}
/*highligen van een gridrow eind*/