.divider {
    text-align: center;
}.divider hr {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.table_container {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

body {
    font-family: sans-serif;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}
    
.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
    
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

ul li {
    background: whitesmoke !important;
}
ul li:nth-child(odd) {
    background: white !important;
}

.bar {
    height: 20px;
    background-color: #f5f5f5 !important;
}

.bar::before {
    content: '';
    display: flex;
    justify-content: end;
    width: calc(var(--percent) * 1%);
    height: 100%;
    background: #2486ff !important;
    white-space: nowrap;
}

.gi-2x {
    font-size: 1.7em;
}

.gi-3x {
    font-size: 3em;
}

.gi-4x {
    font-size: 4em;
}

.gi-5x {
    font-size: 5em;
}

.gn-float-right {
    float: right;
    width: 70%;
}

.gn-heading {
    background-color: #343435;
    position: sticky;
    left: 0px;
    top: 0px;
    height: 35px;
    color: whitesmoke;
    /*text-align:center;*/
    width: 100%;
    display: block;
    box-shadow: 0px 0px 10px #d3d3d3;
}

.gn-heading-label {
    color: whitesmoke;
    position: absolute;
    top: 8px;
    left: 7px;
    font-size: large;
}

.gn-heading-nav {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: whitesmoke;
    /*position: absolute;*/
    margin-right: 10px;
    right: 15px;
    float: right;
    cursor: pointer;
    top: 5px;
}

.gn-heading-nav-left {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: whitesmoke;
    margin-left: 7px;
    margin-right: 8px;
}

.gn-heading-label-left {
    color: whitesmoke;
    position: absolute;
    top: 6px;
    left: auto;
    display: inline-block;
    margin: 0;
}
button.gn-heading-nav:focus,
button.gn-heading-nav-left:focus {
    outline: none;
}
.gn-detail-property {
    margin: 0.4em 0 0 0;
    color: #d3d3d3;
    font-weight: normal;
}

.gn-detail-value {
    margin: 0.4em 0 0 0;
    font-weight: normal;
}

.gn-detail-value-primary {
    margin: 0.4em 0 0 0;
    font-weight: normal;
    color: #008CC9;
}

.gn-heading-property {
    margin: 0.7em 0 0.7em 0;
    font-weight: bold;
    color: #343435;
}

.gn-heading-value {
    background-color: #f4ffea;
    color: #6cb02f;
    border: 1px solid #6cb02f;
    line-height: 1em;
    list-style-type: none;
    list-style-position: outside;
    text-align: center;
}

.gn-heading-value-focus {
    background-color: #fdfcff;
    border-radius: 2px;
    margin: 0.7em 0.7em 0 0;
    font-weight: normal;
    -webkit-animation-name: example; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 12s; /* Chrome, Safari, Opera */
    animation-name: example;
    animation-duration: 12s;
}

.gn-error-left {
    color: White;
    background-color: #E04C4C;
    line-height: 1em;
    text-align: left;
}

.gn-error {
    color: White;
    background-color: #E04C4C;
    border: #E04C4C;
    line-height: 1em;
    list-style-type: none;
    list-style-position: outside;
    text-align: center !important;
}

.gn-message {
    color: White;
    background-color: #008CC9;
    border: 1px solid #008CC9;
    line-height: 1em;
    list-style-type: none;
    list-style-position: outside;
    text-align: center !important;
}

.gn-success {
    color: White;
    background-color: #7BB72E;
    border: 1px solid #7BB72E;
    line-height: 1em;
    list-style-type: none;
    list-style-position: outside;
    text-align: center !important;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/*override bootstrap*/
.form-group {
    margin-bottom: 0px;
}

hr {
    margin-top: 0px;
    margin-bottom: 0px;
}

header {
    font-weight: bold;
}

.form-control {
    background-color: #d3d3d3;
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}


.flashNow {
    animation-name: flash;
    animation-timing-function: ease-out;
    animation-duration: 2s;
    -webkit-animation-name: flash;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-duration: 2s;
}

@-webkit-keyframes flash {
    from {
        background: green;
    }

    to {
        background: none;
    }
}

@keyframes flash {
    0% {
        background: green;
    }

    100% {
        background: none;
    }
}

.function-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #343435;
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    user-select: none;
}

.border-wrapper {
    background: #4c4c4d; /*#39c9ec;  Border color */
    padding: 6px; /* Border thickness */
    min-height: 100vh; /* Fill full height */
    box-sizing: border-box;
}

.inner-content {
    background: white; /* Content background */
    border-radius: 10px; /* Rounded inner corners */
    padding: 0px;
    min-height: calc(100vh - 12px); /* Adjust for wrapper padding */
    box-sizing: border-box;
}

.gn-heading-function {
    background-color: #343435;
    position: sticky;
    left: 0px;
    top: 0px;
    height: 35px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: whitesmoke;
    width: 100%;
    display: block;
}

.inputControl {
    padding: 5px;
}

.drawer-tab {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1030; 
    background: #f8f9fa;
    border: 1px solid #ccc;
    padding: 0rem 1rem 20px 1rem;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.drawer-tab-open {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1040;
    background: #f8f9fa;
    border: 1px solid #ccc;
    padding: 20px 1rem 0 1rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-edit-process-step {
    margin: 5px;
    background-color: ghostwhite;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
