:root {
    --bs-heading-color: #003a5a;
    --bs-body-bg: #f7f7f7;
    --mapit-primary-bg: #0071BC;
    --mapit-primary-color: #0071BC;
    --mapit-secondary-color: #003a5a;
}

html {
    position: relative;
    height: 100dvh;
}

body {
    display: flex;
    flex-flow: column;
    overflow-y: visible;
}

    body.authenticated {
        height: 100dvh;
        background-color: #f7f7f7;
    }

    body.loggedout {
        height: 100dvh;
        background-color: #f7f7f7;
    }

    body main {
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        max-width: 100% !important;
        margin-left: 0px;
        margin-right: 0px;
        padding-top: 50px;
        padding-bottom: 20px;
        height: calc(100dvh - 117px);
    }

    body.loggedout main {
        flex-flow: wrap;
        padding-top: 0px;
}

    body main > .container,
    body main > .container-fluid {
        height: 100dvh;
    }

footer, footer p {
    padding: 5px 35px 35px 35px;
    font-size: 14px;
    background-color: #131d31;
    color: white;
    height: 30px;
}

body.smooth footer {
    transition: all .5s ease-in-out;
}

.form-group,
.button-group {
    margin-bottom: 10px;
}

    .form-group.form-check {
        line-height: 38px;
        height: 38px;
    }

        .form-group.form-check .form-check-input {
            margin-top: 10px;
        }

.form-control[readonly=readOnly], .form-control[readonly=true], .form-control[readonly=True], .form-control[readonly] {
    background: #e9ecef;
}

form .validation-summary-valid ul,
form .validation-summary-errors ul {
    list-style: none;
    padding-left: 0px;
}

form .validation-summary-errors,
form .field-validation-error:not(tr .field-validation-error) {
    margin-top: 4px;
    display: flex;
    font-style: italic;
    color: #D51923;
}

form .field-validation-error:not(tr .field-validation-error) {
    font-size: 12px;
}

.display-for-string,
.display-for-decimal,
.display-for-currency {
    width: 100%;
}

body.as-tablet {
    padding-top: 80px
}

/* User Icon End */

.alert-message {
    margin-left: 5px;
}

/** File Upload Control **/

.file-upload i {
    margin-left: 5px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/** File Upload End**/

.btn-toolbar {
    margin-top: 35px;
    margin-bottom: 35px;
}

    .btn-toolbar .btn {
        margin-right: 10px;
    }

.form-check-input:checked {
    background-color: green;
    border-color: green;
}

    .form-check-input:checked:focus {
        box-shadow: 0 0 0 .25rem rgba(0, 255, 0, .25);
        --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    }

.form-check-input:not(:checked) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    border-color: #d93232;
    background-color: #d93232;
}

    .form-check-input:not(:checked):focus {
        --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
        box-shadow: 0 0 0 .25rem rgba(255, 0, 0, .25);
    }


    .form-check-input:not(:checked):disabled {
        opacity: .5;
    }


.saf-approve-status-image {
    width: auto;
    height: 25px;
}

    .saf-approve-status-image .null {
        display: none;
    }

#full-height-container, .full-height-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.k-list .k-selected {
    color: white !important;
    background-color: var(--kendo-color-primary-hover, #116fa5) !important;
}

    .k-list .k-selected:hover {
        color: white !important;
    }

.k-list .k-list-item,
.k-list .k-item:nth-child(odd) {
    background-color: #ffffff;
}

    .k-list .k-list-item:nth-child(even),
    .k-list .k-item {
        background-color: #f0f0f0;
    }

@media (max-width: 1133px) {

    .k-list .k-list-item,
    .k-list .k-item {
        font-size: 16px;
        padding: 12px 16px;
    }

    .k-list-optionlabel {
        font-size: 16px;
        padding: 12px 16px;
    }

    .k-list-container {
        font-size: 16px;
    }

    .k-grid .k-button {
        font-size: 18px;
        width: 42px;
        height: 42px;
        padding: 8px;
    }

    .k-grid .k-icon,
    .k-grid .k-svg-icon {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .k-toolbar .k-button-text,
    .k-toolbar .k-tool-text {
        display: none !important;
    }

    .k-grid .k-command-cell .k-button-text {
        display: none !important;
    }
}

[data-alert-holder] .alert {
    display: flex
}

.mapit-breadcrumbs {
}

    .mapit-breadcrumbs .mapit-not-clickable {
        pointer-events: none;
    }

.layout-content {
    padding-left: 50px;
}
