@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


:root {
    --global-font-size: 1em;
    --global-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/*DO NOT REMOVE THIS, THIS WILL SET THE ENTIRE WEBSITE FONT-FAMILY*/
html body,
h1, h2, h3, h4, h5,
button, input, select, textarea, label,
.p-component,
.e-control,
.e-css {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

h5 {
    font-weight: 600 !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

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

.invalid {
    outline: 1px solid red;
}

.input-valid {
    outline: 1px solid #26b050;
}

.validation-message {
    color: rgb(241 88 88 / 77%);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    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 .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhb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OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.badge {
    display: inline-block;
    min-width: 2em; /* em unit */
    min-height: 1em;
    padding: .3em; /* em unit */
    border-radius: 50%;
    text-align: center;
    background: white;
    color: black;
}

.badge.badge-blue {
    display: inline-block;
    min-width: 2em; /* em unit */
    min-height: 1em;
    padding: .3em; /* em unit */
    border-radius: 50%;
    text-align: center;
    color: white;
    background: var(--mid-blue);
}

.badge.badge-red {
    display: inline-block;
    min-width: 2em; /* em unit */
    min-height: 1em;
    padding: .3em; /* em unit */
    border-radius: 50%;
    text-align: center;
    color: white;
    background: var(--cevi-red);
}


.total-info {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: var(--mid-blue);
    min-width: 2.357rem;
    height: 2.357rem;
    margin: 0 0 0 -1px;
    padding: 0 0.5rem;
    line-height: 2.357rem;
    -webkit-box-shadow: 0 -1px 2px 1px rgba(0, 0, 0, 0.23);
    box-shadow: 0 -1px 2px 1px rgba(0, 0, 0, 0.23);
}

span.fa-icon-checked {
    color: #007cb4;
}

span.fa-icon-unchecked {
    color: #d7191b;
}

.text-mid-blue {
    color: var(--mid-blue) !important;
}

.btn-form-submit {
    line-height: 1 !important;
    font-weight: bold;
}

.status-rood {
    color: #d7191b;
}

.status-groen {
    color: #7dc13a;
}

.status-blauw {
    color: #4fa9d1;
}

.status-geel {
    color: #EFCB2E;
}

.status-grijs {
    color: #a7a9b3;
}

.status-oranje {
    color: #f07d18;
}

.status-paars {
    color: #8855ff;
}

.status-black {
    color: #000000;
}

.niet-bijgewerkt {
    background-color: var(--orange) !important;
}

.bijna-bij-te-werken {
    background-color: #FFC08DFF !important;
}

.zonder-metingen {
    background-color: var(--cevi-red) !important;
}

.onbepaald {
    background-color: var(--grey) !important;
}

.bijgewerkt {
    background-color: var(--green) !important;
}

.disabled-container {
    pointer-events: none;
    opacity: .5;
    -webkit-user-select: none; /* Chrome, Safari, and Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Safari, and Firefox */
}

.e-acrdn-header-content {
    color: var(--mid-blue) !important;
}

.e-acrdn-header-content label:hover {
    cursor: pointer;
}

.ceviSfTooltip:hover {
    cursor: pointer;
}

.bg-positive {
    background-color: var(--green);
}

.bg-negative {
    background-color: var(--cevi-red);
}

/*Override the checkbox style*/
.e-check {
    color: white !important;
    background-color: var(--mid-blue) !important;
}

/*#region Accordion header and collapse button*/
/*Override accordion header */
.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header {
    background-color: #f7f7f7;
    color: black;
}

.e-acrdn-header-content {
    color: var(--mid-blue) !important;
}

.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon {
    display: table;
    font-size: 1rem;
    height: 3rem;
    min-height: 38px;
    min-width: 22px;
    position: absolute;
    /*transform: rotate(90deg);*/
    top: 0;
    font-weight: bold;
    color: black;
    left: 0.5rem;
}

div.e-acrdn-header-content > div {
    color: black;
    font-weight: bolder;
    margin-left: 1rem;
}

/*Need to remove the overflow from the accordion, this is messing with the dropdowns, you cant use position absolute if this is set*/
.e-accordion .e-acrdn-item.e-selected.e-select.e-active .e-acrdn-panel,
.e-accordion .e-acrdn-item.e-selected.e-select.e-active .e-acrdn-panel .e-acrdn-content > *,
.e-accordion .e-acrdn-item.e-selected.e-select.e-active .e-acrdn-panel .e-acrdn-content {
    overflow: unset;
}

/*Expand */
.e-accordion .e-tgl-collapse-icon.e-expand-icon {
    transform: rotate(360deg);
    font-weight: bold;
}

/*Collapse*/
.e-accordion .e-tgl-collapse-icon:not(.e-expand-icon) {
    transform: rotate(270deg);
    font-weight: bold;
}

.e-accordion .e-acrdn-item.e-selected.e-select > .e-acrdn-header {
    background: inherit;
}

/*#endregion*/
/*Override select selected text value*/
.e-ddl > .e-input-value {
    padding: .3em;
}

/*#region buttons*/
/*Buttons with class e-flat  add hover effect */
@keyframes colorChange {
    0% {
        border-color: #004463;
    }
    25% {
        border-color: #4fa9d1;
    }
    50% {
        border-color: #007cb4;
    }
    75% {
        border-color: #002f51;
    }
    100% {
        border-color: #004463;
    }
}

.e-btn.e-flat {
    border: .1em solid;
    background: inherit !important;
    min-height: 1.7rem !important;
}

.e-btn.e-flat:not([disabled]):hover,
.e-btn.e-flat:not([disabled]):focus {
    border: .1em solid transparent;
    background: inherit !important;
    box-shadow: 0 0 0 1px rgba(130, 138, 145, .9) !important;
    animation: colorChange 3s linear infinite;
}

.e-dialog.e-lib.e-dlg-modal.sf-grid-dlg.e-xlflmenu.e-popup.e-control.e-popup-open .e-footer-content .e-btn.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info),
.e-dialog.e-lib.e-dlg-modal.sf-grid-dlg.e-xlflmenu.e-popup.e-control.e-popup-open .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info),
.e-dialog.e-lib.e-filter-popup.e-excelfilter.e-popup.e-control.e-popup-open .e-footer-content .e-btn.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info),
.e-dialog.e-lib.e-filter-popup.e-excelfilter.e-popup.e-control.e-popup-open .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info) {
    color: black !important;
    min-height: 1.7rem !important;
}

.e-dlg-content button.e-filter-popup.e-excelfilter,
.e-xlflmenu button.e-control.e-btn.e-lib.e-flat {
    color: inherit !important;
    min-height: 1.7rem !important;
}

.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    line-height: 1.6;
}

.e-dialog.e-lib.e-ccdlg.e-popup.e-control.e-popup-open .e-footer-content button:not([disabled]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info) {
    border-color: inherit !important;
    color: inherit !important;
}

input[type=radio] + label::after {
    top: 3px !important;
    left: 24px !important;
    font-size: 9px !important;
    width: 6px !important;
    height: 6px !important;
}

input[type=radio] + label::before {
    /*border-color: var(--mid-blue) !important;*/
    margin-right: 8px !important;
    width: 12px !important;;
    height: 12px !important;;
}

input[type=radio]:checked + label::after {
    background: var(--mid-blue) !important;
}

input[type=radio]:checked + label::before {
    border-color: var(--mid-blue) !important;
}

input[type=radio]:checked + label {
    color: var(--mid-blue);
    font-weight: bold;
}

.modifiedField {
    background: var(--green) !important;
    color: var(--white) !important;
}

.errorField {
    background: var(--cevi-red) !important;
    color: var(--white) !important;
}

.e-panel {
    z-index: 990 !important;
}

@layer text-colors {

    .text-primary {
        color: var(--mid-blue) !important;
    }

    .text-success {
        color: var(--green) !important;
    }

    .text-secondary {
        color: var(--black) !important;
    }

    .text-danger {
        color: var(--red)
    }
}

@layer buttons{
    .btn-base{
        height:2.2rem;
    }

    .e-btn.e-flat.e-info, .e-css.e-btn.e-flat.e-info{
        border-color: inherit!important;
    }
}

