﻿.setDisplay, .displayStyle {
    display: none;
}

.modalBackground1 {
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.modalPopup1 {
    background-color: #fff;
    border: 3px solid #ccc;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80% !important;
    max-width: 1400px !important;
    height: 80% !important;
    max-height: 80% !important;
    margin: 0 !important;
    /* Critical fix: allow scrolling inside the modal */
    overflow-y: auto !important;
    overflow-x: auto !important;
    /* Optional: improve scrollbar appearance */
    scrollbar-width: thin;
    /*display: none !important;*/
}

    /* Ensure the grid does not cause extra overflow */
    .modalPopup1 .table {
        width: 100%;
        margin-bottom: 0;
    }

    /* Keep the close button area from being squashed */
    .modalPopup1 .row:last-of-type {
        margin-top: 20px;
        margin-bottom: 10px;
    }


    /* Fix the header (h3) at the top - prevent shrinking */
    .modalPopup1 > h3 {
        flex-shrink: 0;
        margin-top: 0;
    }

    /* First .row (contains the grid) – scrollable area */
    .modalPopup1 > .row:first-of-type {
        flex: 1 1 auto !important;
        overflow-y: auto !important; /* Vertical scrollbar when needed */
        min-height: 0; /* Flex overflow fix */
        margin-bottom: 10px;
    }

        /* Add horizontal scroll for wide grid content */
        .modalPopup1 > .row:first-of-type .col-md-12 {
            overflow-x: auto;
        }

    /* Ensure the grid takes full width inside the scrollable area */
    .modalPopup1 .table {
        width: 100%;
        margin-bottom: 0;
    }

    /* Footer row (Close button row) – fixed at bottom */
    .modalPopup1 > .row:last-of-type {
        flex-shrink: 0;
        margin-top: auto;
    }

.modal-header-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

    .modal-header-custom h4 {
        margin: 0;
        font-weight: 600;
    }

    .modal-header-custom .btn {
        margin: 0;
    }

.modal-body-custom {
    padding: 20px;
    height: calc(100% - 60px);
    overflow: auto;
}

/* Responsive modal for smaller screens */
@media (max-width: 768px) {
    .modern-modal {
        width: 95% !important;
        height: 90% !important;
    }

    .modal-body-custom {
        padding: 10px;
    }
}

@media (min-width: 1920px) {
    .modern-modal {
        max-width: 1600px !important;
    }
}


.GlassPanel {
    background: #000000;
    opacity: 0.5;
    filter: alpha(opacity=70);
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 110;
    cursor: not-allowed;
}

.modalBackground {
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.modalPopup {
    background-color: #FFFFFF;
    width: 300px;
    border: 3px solid #0DA9D0;
    padding: 0;
}

.modalPopup .header {
    background-color: #2FBDF1;
    height: 30px;
    color: White;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.modalPopup .body {
    min-height: 50px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}
.typingmodehindi {
    font-family: 'Kruti Dev 011' !important;
    font-size: 20px !important;
}
/*DASHBOARD NOTICE*/

/*.noticelable {
    background: #8e0000;
    padding: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}*/





.noticedata {
    padding-top: 11px;
}

.clear {
    clear: both;
}

.fl_left {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.card {
    border-radius: 5px;
    box-shadow: 0 1px 11px 0 rgba(0, 0, 0, 0.12);
    border: none;
    margin-bottom: 30px;
}



/*.ParentAccordionContent {
    border-color: -moz-use-text-color #5078B3;
    border-right: 1px dashed #2F4F4F;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    padding: 10px 5px 5px;
    width: 50%;
    text-align: center;
    background-color: #c1e2f5;
}

.ParentAccordionHeader {
    cursor: pointer;
    font-family: Arial,Sans-Serif;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #2F4F4F;
    width: 50%;
    background: url(images/img-collapse.png) no-repeat 750px 7px;
    background-color: #425e89;
    color: white;
    text-align: left;
}

.ParentAccordionHeaderSelected {
    color: white;
    cursor: pointer;
    font-family: Arial,Sans-Serif;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #2F4F4F;
    width: 50%;
    background: url(images/img-expand.png) no-repeat 750px 7px;
    background-color: #2fa4e7;
    text-align: center;
}

.ChildAccordionContent {
    border-color: -moz-use-text-color #72b65a;
    border-right: 1px dashed #2F4F4F;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    padding: 10px 5px 5px;
    width: 98%;
    text-align: left;
    background-color: #cbebbf;
}

.ChildAccordionHeader {
    cursor: pointer;
    font-family: Arial,Sans-Serif;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #2F4F4F;
    width: 98%;
    background: url(images/arrow_down.png) no-repeat 720px 7px;
    background-color: #3e6331;
    color: white;
    text-align: left;
}

.ChildAccordionHeaderSelected {
    color: white;
    cursor: pointer;
    font-family: Arial,Sans-Serif;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #2F4F4F;
    width: 98%;
    background: url(images/arrown_up.png) no-repeat 720px 7px;
    background-color: #6ca359;
    text-align: center;
}*/