html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*<== Custom ==>*/
.hidden {
    display: none !important;
}

/*.btn-file-upload {
    font-size: 12px !important;
    padding: 0 !important;
}
*/
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: 0;
        cursor: inherit;
        display: block;
    }

.warning {
    color: orange;
    padding-left: 10px;
}

    .warning ul {
        color: orange;
        padding-left: 10px;
    }

.info {
    color: green;
    padding-left: 10px;
}

    .info ul {
        color: green;
        padding-left: 10px;
    }

label.error {
    color: red;
    font-weight: normal;
    margin-bottom: inherit;
}

.error ul {
    color: red;
    padding-left: 10px;
}

input.error {
    border: 1px solid red;
}

textarea.error {
    border: 1px solid red;
}

select.error {
    border: 1px solid red;
}

/*Messages*/
.error-common.inactive, .info-common.inactive, .warning-common.inactive {
    display: none;
}

.error-common.active, .info-common.active, .warning-common.active {
    display: block;
}

.error-common {
    background-color: rgb(255, 204, 204);
    background-image: none;
    border-color: rgb(255, 204, 204);
}

.info-common {
    background-color: rgb(182, 211, 146);
    background-image: none;
    border-color: rgb(182, 211, 146);
}

    .error-common.warning-common, .info-common.warning-common {
        background-color: orange;
        background-image: none;
        border-color: orange;
    }

.info-common, .error-common, .warning-common {
    position: fixed;
    top: 57px;
    color: #000;
    z-index: 10011;
    padding: 6px 6px;
    left: 34px;
    right: 34px;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    /*margin-left: 30px;*/
}

    .info-common label.info, label.info-common, .warning-common label.warning, label.warning-common, .error-common label.error, label.error-common, .annotation-common label, .annotation-home label { /*20211019 Annotation in HomePage*/
        font-weight: bold !important;
        color: #000;
        margin-bottom: 0px;
    }

    .info-common ul, .error-common ul, .annotation-common ul, .warning-common ul {
        margin-bottom: 0px;
        color: #000;
        padding-left: 16px;
    }

    .info-common i, .error-common i, .annotation-common i, .warning-common i {
        color: #000;
        float: right;
        cursor: pointer;
    }

/*Block Header*/
.block-header h1 {
    margin-bottom: 4px;
}

.block-header .color-line {
    margin-bottom: 20px;
}

.color-line {
    display: flex;
    height: 6px;
    margin-bottom: 20px;
    border-radius: 3px;
    overflow: hidden;
}

    .color-line .segment {
        flex: 1;
    }

    .color-line .yellow {
        background: #FBC02D;
    }

    .color-line .orange {
        background: #FB8C00;
    }

    .color-line .red {
        background: #E53935;
    }

    .color-line .green {
        background: #43A047;
    }

    .color-line .purple {
        background: #8E24AA;
    }

    .color-line .blue {
        background: #1E88E5;
    }

/**/
.td-text-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

.label-view {
    background-color: transparent !important;
    background-image: none !important;
    -webkit-appearance: none !important; /* Safari and Chrome */
    -moz-appearance: none !important; /* Firefox */
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: default !important;
    overflow: hidden;
}

/*form-floating + textarea*/
.form-floating textarea:not(:placeholder-shown) ~ label ~ div {
    width: calc(100% - 2rem);
    /*height: 2rem;*/
    background-color: white;
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: 1;
    padding-top: 1.625rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.form-floating textarea:disabled:not(:placeholder-shown) ~ label ~ div {
    background-color: #e9ecef;
}

.form-floating textarea ~ label {
    z-index: 2;
}

/**/
.td-cancelled {
    background-color: rgba(255, 0, 0, .3) !important;
    /*color: red;
    font-weight: 700;*/
}

.input-cancelled {
    border-color: red;
    border-width: 3px;
}
