﻿
.nhai-dsheadertopbox {
    width: calc((100% - 150px) - 0.5rem);
    overflow: auto;
}

    .nhai-dsheadertopbox > div {
        width: 100%;
        min-width: 120px;
    }

    .nhai-dsheadertopbox h6 {
        font-size: 0.85vw;
    }
.modal-content {
    /*min-height: 450px !important;*/
    min-height: unset !important;
}
    .dascd-nhaibox .creation-header {
    background: #D1E9FF;
    color: #000;
    position: relative;
    padding: 5px;
    font-size: clamp(0.8rem, 1.3vw, 0.85rem);
    width: calc(100% - 6px);
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #000;
    cursor: pointer;
}
/* .dascd-nhaibox .creation-header:after {
        position: absolute;
        content: '';
        width: 0;
        height: 0;
        border-top: 22px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 20px solid #004E98;
        right: -16px;
        top: -5px;
    }*/
.dasconstruction-main .creation-header {
    background: #d7f4d0;
    color: #000;
}

.dsoperationmaintence-main .creation-header {
    background: #E5D3E5;
    color: #000;
}

.dascd-nhaibox .dsoperationmaintence-main .creation-header:after {
    border-left: 20px solid #660066;
}

.dascd-nhaibox .dasconstruction-main .creation-header:after {
    border-left: 20px solid #009999;
}

.dascd-nhaibox .boxconstruction {
    display: flex;
    flex-direction: column;
    margin-right: 5px;
}

.dascd-nhaibox .boxconstruction-inner {
    width: 100%;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    text-align: center;
    margin: 3px 0;
    padding: 2px;
    cursor: pointer;
    font-weight: 500;
    position: relative !important;
}
.imgcustomposition {
    position: absolute !important;
    top: -24px;
    right: -34px;
    width:85px;
}

.badge-notification {
    position: absolute;
    right: -5px;
    top: -8px;
    font-size: 10px;
    font-weight: 400;
    background: #093248;
    color: #fff;
}

.notaccess {
    cursor: not-allowed !important;
}

.dascd-nhaibox .preconstruction-main .boxconstruction {
    width: calc((100% / 5) - 5px);
}

.dascd-nhaibox .dasconstruction-main .boxconstruction {
    width: calc((100% / 8) - 5px);
}

.dascd-nhaibox .dsoperationmaintence-main .boxconstruction {
    width: calc((100% / 4) - 5px);
}


.dascd-nhaibox .preconstruction-main .boxconstruction-inner:nth-child(1) {
    background: #004E98;
    color: #fff;
    border: 1px solid #000;
}

.dascd-nhaibox .preconstruction-main .boxconstruction-inner:nth-child(1n + 2) {
    background: #D1E9FF;
    color: #142644;
    border: 1px solid #004e98;
}

.dascd-nhaibox .dasconstruction-main .boxconstruction-inner:nth-child(1) {
    background: #009999;
    color: #fff;
    border: 1px solid #000;
}

.dascd-nhaibox .dasconstruction-main .boxconstruction:nth-child(9) .boxconstruction-inner {
    background: #F68D2E !important;
}

    .dascd-nhaibox .dasconstruction-main .boxconstruction:nth-child(9) .boxconstruction-inner:nth-child(1n + 2) {
        background: #FCD7B6 !important;
        border: 1px solid #F68D2E !important;
    }



.dascd-nhaibox .dasconstruction-main .boxconstruction-inner:nth-child(1n + 2) {
    background: #d7f4d0;
    color: #142644;
    border: 1px solid #009999;
}

.dascd-nhaibox .dsoperationmaintence-main .boxconstruction-inner:nth-child(1) {
    background: #660066;
    color: #fff;
    border: 1px solid #000;
}

.dascd-nhaibox .dsoperationmaintence-main .boxconstruction-inner:nth-child(1n + 2) {
    background: #E5D3E5;
    color: #142644;
    border: 1px solid #606;
}

.nhai-firstrowbtn a {
    background: #93CDDD;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    width: 160px;
}

    .nhai-firstrowbtn a:hover, .nhai-firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }

.nhai-1firstrowbtn a:nth-child(1) {
    background: #f4c340;
}

.nhai-1firstrowbtn a {
    background: #ffe191;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-1firstrowbtn a:hover, .nhai-1firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-1firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-1firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    /*width: 100%;*/
    width: calc(17% + 21px);
}

.nhai-1firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-1firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }





.nhai-2firstrowbtn a:nth-child(1) {
    background: #009999;
}

.nhai-2firstrowbtn a {
    background: #d7f4d0;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-2firstrowbtn a:hover, .nhai-2firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-2firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-2firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-2firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-2firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }




.nhai-3firstrowbtn a:nth-child(1) {
    background: #89d492;
}

.nhai-3firstrowbtn a {
    background: #a9efb2;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-3firstrowbtn a:hover, .nhai-3firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-3firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-3firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-3firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-3firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }




.nhai-4firstrowbtn a:nth-child(1) {
    background: #70c9e6;
}

.nhai-4firstrowbtn a {
    background: #b9e3f1;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-4firstrowbtn a:hover, .nhai-4firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-4firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-4firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-4firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-4firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }


.nhai-5firstrowbtn a:nth-child(1) {
    background: #d2c878;
}

.nhai-5firstrowbtn a {
    background: #ede6ab;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-5firstrowbtn a:hover, .nhai-5firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-5firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-5firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-5firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-5firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }




.nhai-6firstrowbtn a:nth-child(1) {
    background: #f17979;
}

.nhai-6firstrowbtn a {
    background: #f1a8a8;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-6firstrowbtn a:hover, .nhai-6firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-6firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-6firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-6firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-6firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }


.nhai-7firstrowbtn a:nth-child(1) {
    background: #efa7ef;
}

.nhai-7firstrowbtn a {
    background: #E5D3E5;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-7firstrowbtn a:hover, .nhai-7firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-7firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-7firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-7firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-7firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }




.nhai-8firstrowbtn a:nth-child(1) {
    background: #b1d9ff;
}

.nhai-8firstrowbtn a {
    background: #D1E9FF;
    color: #142644;
    padding: 4px;
    min-width: 160px;
    margin-right: 5px;
    font-size: 0.85em;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #000;
    width: 160px;
}

    .nhai-8firstrowbtn a:hover, .nhai-8firstrowbtn a:hover :focus {
        text-decoration: none;
    }

    .nhai-8firstrowbtn a:nth-child(1n + 2) {
        width: 100%;
    }

.nhai-8firstrowbtn.nhai-secondrowbtn a:nth-child(1n + 2) {
    width: 100%;
}

.nhai-8firstrowbtn.nhai-thirdrowrowbtn a {
    background: #D9D9D9;
}

    .nhai-8firstrowbtn.nhai-thirdrowrowbtn a:nth-child(1n + 2) {
        width: 100%;
        background: #fff;
        border: 1px dashed #b0b0b0;
    }



.block-part-div {
    width: 100%;
    text-align: center;
    /* height: 100%; */
    display: flex;
    align-items: stretch !important;
    justify-content: center;
}
.card-main-head {
    min-height: 175px !important;
    height: unset !important;
}
/*.modal-body {
    height: 84vh !important;
    overflow-y: auto;
    overflow-x: hidden;
}*/