:root {
    --main-fill-color: #ffc107;
    --main-fill-text-color: #000;
    --main-fill-hover-bg: #ffca2c;
    --main-fill-hover-border-color: #ffc720;
    --main-fill-hover-color: #000;
    --secondary-bg-color: #000;
    --secondary-text-color: #ffc107;
    --site-font: droid,'Roboto Condensed', sans-serif, system-ui;
}


.back-btn i {
    position: relative;
    top: 0px;
    left: 0px;
    color: #363434;
    padding: 19px;
    background-color: var(--main-fill-color);
    border-radius: 5px 0 0 5px;
}

.layout-normal nav.navbar {
    padding: 0;
    z-index: 99;
    background: url('/assets/images/header-bg-small.png');
}

.layout-admin nav.navbar {
    background: url('/assets/images/header-bg-small.png');
}
    .layout-admin nav.navbar .layer, .layout-normal nav.navbar .layer {
        background-color: #fff;
        padding: 0;
        height: 57px;
    }

    .layout-admin nav.navbar.navbar-dark .layer {
        background-color: #000000f0;
    }

   

#api-check {
    position: absolute;
    float: right;
    left: auto;
    right: 20px;
    color: #fff;
}

    #api-check.unhealthy {
        color: darkred;
    }

    #api-check.healthy {
        color: green !important;
    }

.bg-main-color {
    background-color: var(--main-fill-color);
    color: var(--main-fill-text-color);
}

.text-secondary-color {
    color: var(--secondary-text-color) !important;
}

body {
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
}

html {
    font-size: 14px;
}



html {
    position: relative;
    min-height: 100%;
}


body {
    margin-bottom: 60px;
}

.bg-dark {
    background-color: var(--secondary-bg-color) !important;
}

.btn-main {
    /*font-size: 17px;*/
    font-weight: 500;
    background-color: var(--main-fill-color);
}

    .btn-main:hover {
        color: var(--main-fill-hover-color);
        background-color: var(--main-fill-hover-bg);
        border-color: var(--main-fill-hover-border-color);
    }

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
}

.over-lay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    background-color: #00000075;
}

.log-in a, .log-out button {
    color: inherit !important;
    text-decoration: none;
}

    .log-in a:hover, .log-out button:hover {
        color: #f6cd01 !important;
    }

.modal .modal-body, form, table, #procedure-task-view {
    font-family: var(--site-font);
}

/*style custom*/
.sb-sidenav-dark {
    background-color: var(--secondary-bg-color) !important;
}

.navbar-brand {
    font-size: 1.15rem;
}

.sb-sidenav-dark .sb-sidenav-menu .nav-link:hover, .sb-sidenav-dark .sb-sidenav-menu .nav-link.active {
    color: var(--secondary-text-color);
}

.sb-sidenav-dark .sb-sidenav-menu .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

    .sb-sidenav-dark .sb-sidenav-menu .nav-link .sb-nav-link-icon {
        color: rgba(255, 255, 255, 0.3);
    }

.top-5 {
    top: 5px !important;
}

.top-10 {
    top: 10px !important;
}

.top-15 {
    top: 15px !important;
}

.top-20 {
    top: 20px !important;
}

.top-25 {
    top: 25px !important;
}

.top-30 {
    top: 30px !important;
}

.top-40 {
    top: 40px !important;
}

.top-45 {
    top: 45px !important;
}

.top-50 {
    top: 50px !important;
}

.top-60 {
    top: 60px !important;
}
/*top-precentge**/
.top-10-pcnt {
    top: 10% !important;
}

.top-15-pcnt {
    top: 15% !important;
}

.top-20-pcnt {
    top: 20% !important;
}

.top-25-pcnt {
    top: 25% !important;
}

.top-30-pcnt {
    top: 30% !important;
}

.top-40-pcnt {
    top: 40% !important;
}

.top-45-pcnt {
    top: 45% !important;
}

.top-50-pcnt {
    top: 50% !important;
}

.top-60-pcnt {
    top: 60% !important;
}

.top-70-pcnt {
    top: 70% !important;
}

.top-75-pcnt {
    top: 75% !important;
}

.top-80-pcnt {
    top: 80% !important;
}

.top-90-pcnt {
    top: 90% !important;
}

.top-95-pcnt {
    top: 95% !important;
}

.w-100 {
    width: 100%;
}

.w-80 {
    width: 80%;
}

.w-75 {
    width: 75%;
}

.w-60 {
    width: 60%;
}

.w-50 {
    width: 50%;
}

.w-30 {
    width: 30% !important;
}

.w-25 {
    width: 25%;
}

.w-20 {
    width: 20% !important;
}

.w-10 {
    width: 10% !important;
}

.font-size-10 {
    font-size: 10px;
}

.font-size-11 {
    font-size: 11px;
}

.font-size-12 {
    font-size: 12px;
}

.font-size-13 {
    font-size: 13px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-15 {
    font-size: 15px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-17 {
    font-size: 17px;
}

.font-size-18 {
    font-size: 18px;
}

.font-size-19 {
    font-size: 19px;
}

.font-size-20 {
    font-size: 20px;
}

.action-btn {
    cursor: pointer;
}
/* white space*/
.white-space-one-line {
    display: inline-block;
    white-space: nowrap;
}

/*Cards*/

.card {
    margin-bottom: 0.5rem;
    /*--bs-card-border-color: none;*/
    --bs-card-border-color: var(--bs-border-color-translucent);
}

.zoomable-container {
    height: 80vh;
    width: 100%;
}

.zoomable {
    height: 100%;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    display: grid;
    /*place-items: center;*/
    font: 600 12px system-ui;
    overflow: auto;
}

    .zoomable > li {
        height: max-content;
        top: 50px;
    }

#tree {
    height: 100%;
}

.tree.zoomable {
    display: flex;
    justify-content: space-around !important;
}

.box-shadow-1 {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
}

.box-shadow-2 {
    box-shadow: 0 1px 1px -2px #eee;
}

.box-shadow-3 {
    box-shadow: 0 3px 3px -2px #eee;
}

.box-shadow-4 {
    box-shadow: 0 2px 4px -1px #eee;
}


.card-outline {
    border-top: 3px solid var(--main-fill-hover-border-color);
}

.card-body {
    min-height: 1px;
    padding: 1.25rem;
}

.card-header:not(.form-builder-group-header) {
    display: flex;
    padding: 12px;
    align-items: center;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    color: var(--main-fill-text-color);
    background-color: #fff;
}

.card-header-avatar {
    flex: 0 0 auto;
    margin-inline-end: 16px;
    margin-inline-start: unset;
    border: 1px solid #adb5bd;
    border-radius: 50%;
    margin: 0 auto;
    padding: 2px;
    width: 35px;
    text-align: center;
    margin-right: 16px;
}

    .card-header-avatar img {
        max-height: 30px;
    }


.card-header .card-header-content {
    flex: 1 1 auto;
}

.profile-username {
    font-size: 21px;
    margin-top: 5px;
}

.profile-user-img {
    border: 3px solid #adb5bd;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-circle {
    border-radius: 50%;
}

.img-square {
    border-radius: 10%;
}

.list-group {
    margin-top: 5px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-unbordered > .list-group-item {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.card label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 700;
}
/* /-> card*/

/*info bx*/
.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: 0.25rem;
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: 0.5rem;
    position: relative;
}

    .info-box .info-box-icon {
        border-radius: 0.25rem;
        -ms-flex-align: center;
        align-items: center;
        display: -ms-flexbox;
        display: flex;
        font-size: 1.875rem;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        width: 70px;
    }

    .info-box .info-box-content {
        -ms-flex: 1;
        flex: 1;
        padding: 5px 10px;
    }

    .info-box .info-box-text, .info-box .progress-description {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .info-box .info-box-number {
        display: block;
        font-weight: 700;
    }

/*info bx*/

/*hexagon */

.hex-hover:not(.disabled) {
    cursor: pointer;
    transition: all 0.5s;
}

.hex-hover a {
    text-decoration: none;
}

.hex-hover:not(.disabled):hover {
    transform: scale(1.1);
}

.hex-card .hex-card-content, .hex-card .hex-card-content-sub {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: 0.25rem;
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    padding: 0.5rem;
    position: relative;
    border-color: #fff;
}

.hex-card .hex-card-content {
    min-height: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hex-card .hex-card-content-sub, .hex-card .hex-card-content-sub-normal {
    min-height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.9rem;
    color: #fff;
}

.hex-card .hex-card-content-sub-normal {
    border: solid 1px #eee;
    border-radius: 10px;
    width: 60px;
}


.hex-card .hex-card-icon {
    position: absolute;
    left: -20px;
    z-index: 99;
    top: 13px;
    bottom: 16px;
}

.hex-card .hex-card-icon-normal {
    position: absolute;
    left: -32px;
    z-index: 99;
    top: 13px;
    bottom: 32px;
}

.hex-card .hex-card-icon .box-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}


.hex-card-content:after {
    right: -29px;
    border-left: 30px solid;
    border-color: inherit;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}

.hex-card-content:before {
    left: -29px;
    border-right: 30px solid;
    border-color: inherit;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}

.hex-card-content:after, .hex-card-content:before {
    top: 0;
    content: "";
    width: 0px;
    position: absolute;
}

.hex-card-content-sub:after, .hex-card-content-sub:before {
    top: 0;
    content: "";
    width: 0px;
    position: absolute;
}

.hex-card-content-sub:after {
    right: -15px;
    border-left: 16px solid;
    border-color: #0d86f7;
    border-top: 34px solid transparent !important;
    border-bottom: 36px solid transparent !important;
}

.hex-card-content-sub:before {
    left: -15px;
    border-right: 16px solid;
    border-color: #0d86f7;
    border-top: 34px solid transparent;
    border-bottom: 36px solid transparent;
}

.hex-card-content .info-box-text {
    font-size: 1.75rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.hex-hover.disabled {
    color: #eee;
    pointer-events: none;
    opacity: 0.4;
}


/*hexagon */

/* matrix*/
.hexa-cell-matrix {
    background-image: url(/assets/images/matrix-ico.png);
    background-color: #fff;
    padding-left: 62px;
    height: 65px;
    background-size: 100% 98%;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

    .hexa-cell-matrix span.text {
        font-size: 102%;
        font-weight: bold;
        width: 100%;
    }

    .hexa-cell-matrix:hover {
        cursor: default;
        transform: scale(1.03);
        transition: all ease-in-out 0.4s;
    }

        .hexa-cell-matrix:hover > .action-btn {
            display: inline-block !important;
            z-index: 2;
        }

            .hexa-cell-matrix:hover > .action-btn.btn-editMatrix {
                left: -4px;
            }

.translate-left {
    transform: translate(144%,-65%) !important;
}
/* matrix*/
/*overwrite bootstrap*/
.text-info-secondary {
    color: #17a2b8;
}

.text-primary-secondary {
    color: #1e6fc1;
}

.table-responsive {
    overflow-x: unset !important;
}

.table {
    --bs-table-striped-bg: #f2f7fb !important;
}

.cell-hover:hover {
    color: dodgerblue;
    cursor: default;
}

select option {
    font-size: 20px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.nav-item .dropdown-menu .dropdown-item.active, .nav-item .dropdown-menu .dropdown-item:active {
    background-color: #ffbf00bd;
    /*/*  background-color:var(--main-fill-hover-bg);
    color:var(--main-fill-hover-color);*/
}

.procedureList button i {
    display: none;
}

.procedureList .inner ul.dropdown-menu li a:hover .fa-edit {
    display: inline-block !important;
}

div.dataTables_wrapper div.dataTables_length select {
    min-width: 70px;
}

.card .dataTables_wrapper label {
    font-weight: inherit !important;
}

ul.dropdown-menu li:not(.dropdown-divider) {
    padding: 5px 5px;
}

ul.dropdown-menu li a.dropdown-item:not([role='option']),
ul.dropdown-menu li button.dropdown-item:not([role='option']) {
    padding-left: 2px;
}

/*btn-close*/
.btn-close:focus {
    box-shadow: none;
}

/*dropdown-sub*/
.dropdown-menu.submenu {
    display: block;
    right: 99%;
    left: auto;
    border: solid 1px #dfb611;
}
/* Tables*/

.table-row.task-row > * {
    text-align: center;
    vertical-align: sub;
}

.table-row.task-row.rowdisabled {
    opacity: 0.5;
    cursor: not-allowed;
}


#add-task-entry-area > .table-body-cell {
    background-color: #fffbef;
}

#add-task-entry-area input, #add-task-entry-area select {
    text-align: center;
    vertical-align: sub;
}
/*overwrite style*/
ul.dropdown-menu li a.dropdown-item.active:hover {
    color: white !important;
}

button.dropdown-toggle {
    background-color: #eff5fb !important;
}

    button.dropdown-toggle:hover {
        background-color: #e3ecf4 !important;
    }
/*-/.-> overwrite bootstrap*/
/*buttons*/
.btn-submit {
    font-size: 17px;
    font-weight: 400;
    background-color: var(--main-fill-color);
}


/*Media*/
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


@media (max-width: 574px) {
    .hexa-cell-matrix {
        padding-left: 90px;
        background-size: 300px 85px;
        height: 90px;
    }
}

@media (min-width: 1200px) {
    .hexa-cell-matrix {
        padding-left: 59px;
        background-size: 212px 69px;
        height: 74px;
    }

        .hexa-cell-matrix span.text {
            font-size: 25px;
            font-weight: bold;
            width: 100%;
        }
}

@media (min-width: 1300px) {
    .hexa-cell-matrix {
        padding-left: 75px;
        background-size: 243px 77px;
        height: 82px;
    }
}

@media (min-width: 1400px) {
    .hexa-cell-matrix {
        padding-left: 80px;
        background-size: 270px 80px;
        height: 90px;
    }
}
