/* Basic reset and styling */


body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #F9F9F9;
}

header {
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1002; /* Ensure the header is above other elements */
}
.bold {
    font-weight: bold;
}
.red {
    color: red;
}
.wrapperMain {
    display: flex;
    height: 100vh; /* Adjust as needed to accommodate header and footer */
    overflow: hidden; /* Hide overflow for the wrapper */
}

.logo img {
    height: 100px; /* Adjust the height of the logo */
    margin-right: 20px;
}

header h1 {
    margin: 0;
}
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}
@media (max-width: 768px) {
    .logo img {
        display: none;
    }
}

.hide-on-not-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-on-not-mobile {
        display: block;
    }
}
/* Container styles */
.agentContainer {
    display: flex;
}
.homeContainer {
    margin-top: 6em;
    display: flex;
    flex-wrap: wrap;
}
.homeColumn {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    /* Add any other styling as needed */
}
.detailContainer {
    margin-top: 6em;
    display: flex;
    flex-wrap: wrap;
}
.detailColumnData {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    order: 1;
}
.detailColumnSearch {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    max-width: 25%;
    order: 2;
}
.materialLinks {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    max-width: 25%;
    order: 2;
    height: 100vh;
    margin-top: -3em;
    margin-right: -1.8em;
}
/* Sidebar styles */
.sidebar {
    width: 16%;
    height: 100%; /* Adjust height to fit the viewport */
    padding: 20px 5px;
}

    .sidebar h2 {
        margin-top: 0;
    }

    .sidebar ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li {
            margin-bottom: 10px;
        }

            .sidebar ul li a {
                text-decoration: none;
            }

                .sidebar ul li a:hover {
                    color: #555;
                }

/* Content styles */
.content {
    flex: 1;
    padding: 20px;
    height: 100%;
    width: 100%;
    overflow-y: auto; /* Enable vertical scrolling for the content */
}

.login {
    margin: 6em auto;
    width: 30%;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
}

th, td {
    border: 1px solid #ddd !important;
    padding: 8px !important;
    text-align: left !important;
}

th {
    background-color: #f2f2f2 !important;
}

.tableImg {
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}

.center {
    text-align: center !important;
}

.circleDiv {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.circleDivLarger {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.squareIcon {
    width: 75px;
    height: 75px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 2em auto;
    text-align: center;
    overflow: hidden;
}

.contentDiv {
    width: 100%;
    word-wrap: break-word;
    column-count: 2;
    display: flex;
}

.headerDiv {
    width: 100%;
    word-wrap: break-word;
    column-count: 5;
    display: flex;
    column-gap: 1rem;
    padding: .5rem;
}

.dataDiv {
    width: 100%;
    padding: .5rem;
    word-wrap: break-word;
    column-count: 5;
    display: flex;
    column-gap: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

    .dataDiv:hover {
        cursor: pointer;
        background-color: #ccc;
    }
.dataDivAgent {
    width: 100%;
    padding: .5rem;
    word-wrap: break-word;
    column-count: 5;
    display: flex;
    column-gap: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

    .dataDivAgent:hover {
        cursor: pointer;
        background-color: #ccc;
    }

.dataDivMobile {
    width: 100%;
    padding: .5rem;
    word-wrap: break-word;
    column-count: 5;
    display: flex;
    column-gap: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

    .dataDivMobile:hover {
        cursor: pointer;
        background-color: #ccc;
    }

.ajaxDiv {
    width: 55%;
    margin: 0 1rem;
}

/*.agentDiv {
    height: 100%;
    position: fixed;
    overflow: auto;
    width: 100%;
    margin-top: 5em;
}*/
.emailDiv {
    height: 100%;
    position: fixed;
    overflow: auto;
    width: 80%;
    margin: 10em auto;
}

.stmtDiv {
    width: 25%;
    word-wrap: break-word;
    overflow: auto;
    position: relative;
    height: 100vh;
}
.agtSearchDiv {
    width: 80%;
    word-wrap: break-word;
    overflow: auto;
    position: relative;
    height: 100vh;
}

.scanDate {
    display: flex;
    box-sizing: border-box;
    width: 50%;
    align-items: center;
}

.path {
    display: flex;
    box-sizing: border-box;
    width: 50%;
    justify-content: right;
    padding-right: 1rem;
}
.pathTwo {
    display: flex;
    box-sizing: border-box;
    width: 30%;
    justify-content: right;
    padding-right: 1rem;
}
.scanDateTwo {
    display: flex;
    box-sizing: border-box;
    width: 33%;
    align-items: center;
}
.agentCodeDiv {
    display: flex;
    box-sizing: border-box;
    width: 33%;
    align-items: center;
}
.dbox {
    vertical-align: middle;
    margin-right: .5em;
}

.links {
    width: 100%;
    padding: 1rem .5rem;
    height: 250px;
}
.editLinks {
    border-radius: 4px;
}
.editLinkImg {
    height: 20px;
    vertical-align: middle;
    margin-top: -.5em;
    margin-right: .5em;
}
.linkWide {
    width: 100%;
    text-align: center;
    padding: 0.5em !important;
    font-size: 1em !important;
    font-weight: bold;
    display: block !important;
    border-radius: 5px;
    border: none !important;
}
    .linkWide:hover {
        background-color: #949192;
    }
.commissionDiv {
    background-color: #3E4F5C;
    color: #fff !important;
    padding: 1.2rem .5rem;
    font-size: 1.2rem;
    display: block;
    margin-bottom: .5rem;
}

.agtCodeLabel {
    color: #fff;
    display: inline;
    font-size: 1.2rem;
}

.searchDiv {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem 0;
}
.subEmailDiv {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem 0;
    margin: 0 auto;
}

.searchField {
    margin-right: 10px;
    margin-bottom: 10px;
    flex: 1 0 150px; /* Adjust the width as needed */
    display: flex;
    align-items: center;
}

.nbaDDL {
    width: 250px;
    display: flex !important;
}

.searchBox {
    width: 300px!important;
    display: flex !important;
}

.toLabel {
    display: inline;
    margin-top: .5em;
}

.fromLabel {
    display: inline;
    margin-top: .5em
}

.navLink {
    margin: 0 .5rem;
    color: blue;
    text-decoration: underline;
}

.toLabel {
    margin-left: 2rem;
}

.agentButton {
    border: none;
    background: url(../images/search_icon.png) no-repeat;
    height: 35px;
    width: 35px;
    vertical-align: bottom;
    color: #fff;
}

    .agentButton:hover {
        background: url(../images/search_icon_hover.png) no-repeat;
    }

.nbButton {
    border: none;
    background: url(../images/search_icon.png) no-repeat;
    height: 35px;
    width: 35px;
    vertical-align: bottom;
    color: #fff;
}

    .nbButton:hover {
        background: url(../images/search_icon_hover.png) no-repeat;
    }

.sortAsc {
    background: url(../images/sort_adc_icon.png) no-repeat;
    height: 35px;
    width: 35px;
    vertical-align: middle;
    float: right;
    margin-right: .5rem;
    margin-top: -.3em;
    border: 2px solid #fff;
}

    .sortAsc:hover {
        background-color: #ccc !important;
    }

.sortDes {
    background: url(../images/sort_desc_icon.png) no-repeat;
    height: 35px;
    width: 35px;
    vertical-align: middle;
    float: right;
    margin-right: .5rem;
    margin-top: -.3em;
    border: 2px solid #fff;
}

    .sortDes:hover {
        background-color: #ccc !important;
    }

.nameLabel {
    font-weight: bold;
    margin-left: 30%;
}

.frontPageMenu {
    float: right;
    height: 60px !important;
    margin-right: 1rem;
    margin-top: .5rem;
    display: none;
}

.closeIframe {
    background-color: red;
    color: #fff;
    float: right;
    border-radius: 5px;
    padding: 0.2em 0.5em;
    font-size: 1.2em;
    text-align: center;
}

.nbDiv {
    margin: 1em 0;
    padding: 7em 1em;
}
/*Modal CSS*/
.notesModal {
    display: none;
    position: fixed;
    z-index: 1006;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.notesModalMs {
    display: none;
    position: fixed;
    z-index: 1006;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content-nb {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    min-height: 400px;
}
.modal-content-nbms {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    min-height: 400px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: .5em;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
.deleteFileModal {
    display: none;
    position: fixed;
    z-index: 1006;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content-d {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    max-width: 450px;
    min-height: 200px;
    text-align: center;
}
.deleteCatModal {
    display: none;
    position: fixed;
    z-index: 1006;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content-dc {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    max-width: 450px;
    min-height: 250px;
    text-align: center;
}

.textTable {
    display: none;
}

.sortImg {
    height: 15px;
}
.sortButton {
    border: none!important;
    background: none;
    padding: .5em;
    font-size: .9em!important;
 
}
.sortDdl {
    width: 150px;
}
#circleGraph {
    max-width: 450px !important;
    max-height: 450px !important;
    margin: 2.2em auto;
}
#barGraph {
    max-width: 450px !important;
    max-height: 450px !important;
    margin: 2.2em auto;
}
.picDiv {
    width: 100%; 
    padding: 1em;
    text-align: center;
}
.frmBox {
    width: 125px!important;
    margin-right: .5em;
    margin: 1em 0em;
    display: inline!important;
}
.sideSearchBox {
    padding: 1em;
    border: 1px solid #3E4F5C;
    
}
.inline {
    display: inline!important;
}
.sortBox {
    padding: 1em;
    border: 1px solid #3E4F5C;
    margin-top: 2em;
}
.filterBox {
    padding: 1em;
    border: 1px solid #3E4F5C;
    margin-top: 2em;
}
.searchLabel {
    margin-bottom: 1em;
}
.editCat {
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 600px;
}

.addCat {
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 600px;
}

.editPdf {
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 600px;
}
.deleteAm {
    color: red!important;
    border: 2px solid red!important;
    float: right;
    margin-top: 1em;
    margin-right: 2em;
}
.addAm {
    float: right;
    margin-top: 1em;
}
.errorMessage {
    color: red;
}
#drop-area {
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 600px;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
}

    .drop-zone p {
        margin: 0;
    }

    .drop-zone input[type="file"] {
        display: none;
    }

#fileList {
    margin-top: 20px;
}

    #fileList ul {
        list-style: none;
        padding: 0;
    }

        #fileList ul li {
            margin-bottom: 5px;
        }
.uploadLinksUl {
    padding: 50px;
}
.uploadLinksUl li {
    padding: .5em 0;
    border-bottom: 1px solid #fff;
}
.exportImg {
    height: 80px;
    margin-top: -3em;
    vertical-align: bottom;
    margin-right: 2em;
}
.preferredSection {
    padding: 1em;
    margin: 1em 0;
}
.logOut {
    margin: 2em 4em;
    color: #fff;
    border: none;
    background: none;
    float: right;
}
.logOut:hover {
    text-decoration: underline!important;
    background: none!important;
}
.navbar-toggler {
    border: none;
}

    .navbar-toggler:focus {
        outline: none;
    }
@media screen and (max-width: 1700px) {
    .block{
        width:250px!important;
    }
    .sidebar {
        width: 15%;
    }
}
@media screen and (max-width: 1100px) {
    .detailColumnSearch {
        order: -1;
        max-width: 100%!important;
        height: auto!important];
    }
    .materialLinks {
        max-width: 35% !important;
        height: 100vh !important;
    }
    .sortBox {
        padding: 0;
        border: none;
        float: right;
    }

    .filterBox {
        padding: 0;
        border: none;
        float: right;
        margin-right: 2em;
    }
    .sideSearchBox {
        padding: 0;
        border: none;
        float: left;
    }
    .hideOnDetailMobile{
        display: none;
    }
}
.ainfo {
    margin: 0 auto;
    max-width: 600px;
    margin-top: 2em;
}
.editAinfo {
    margin: 0 auto;
    max-width: 600px;
    margin-top: 2em;
}
.apIcon {
    height: 45px;
}
.apH3 {
    margin: .5em!important;
}
.cancelButton {
    margin-left: 1em;
    padding: 0 !important;
    font-size: 3em !important;
}
@media screen and (min-width: 1401px) {
    .dataDivMobile {
        display: none;
    }
}

@media screen and (min-width: 951px) and (max-width: 1650px) {
    .block {
        width: 225px !important;
    }
    .agtSearchDiv {
        width: 98%;
    }
        .frontPageMenu {
        display: block;
        cursor: pointer;
    }

    .sidebar {
        display: none;
        width: 25%;
        z-index: 1001;
    }

    .agentDiv {
        left: 3%;
    }

    .stmtDiv {
        width: 30%;
    }

    .ajaxDiv {
        width: 65%;
    }

    .agtCodeLabel {
        font-size: .8em;
    }

    .nameLabel {
        display: none;
    }

    .dataDivMobile {
        display: none;
    }
}

@media screen and (min-width: 851px) and (max-width: 950px) {
    .frontPageMenu {
        display: block;
        cursor: pointer;
    }

    .sidebar {
        display: none;
        width: 35%;
        z-index: 1001;
    }

    .agentDiv {
        left: 3%;
    }

    .stmtDiv {
        width: 30%;
    }

    .ajaxDiv {
        width: 65%;
    }

    .agentSpan {
        display: none;
    }

    .agtCodeLabel {
        font-size: .8em;
    }

    .nameLabel {
        display: none;
    }

    .dataDivMobile {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    .content {
        padding: 10px;
    }

    .frontPageMenu {
        display: none;
        cursor: pointer;
    }

    .agtSearchDiv {
        width: 98%;
    }

    .cpuTable {
        display: none;
    }

    .modal-content-nb {
        width: 95%;
    }

    .notesModal {
        top: 80px;
    }

    .sidebar {
        display: none;
        width: 35%;
        z-index: 1001;
    }
    
    .agentDiv {
        left: 3%;
    }

    .stmtDiv {
        width: 95%;
    }

    .ajaxDiv {
        display: none;
    }

    .agtCodeLabel {
        font-size: .9em;
    }

    .nameLabel {
        display: none;
    }

    .searchDiv {
        width: 100%;
        padding-top: 3em;
    }

    
    .dataDivMobile {
        display: flex;
    }

    .login {
        width: 100%;
    }

    .searchField {
        /*flex-basis: 100%;
        display: block;*/
    }
    .searchDivMobile {
        display: flex;
        flex-wrap: wrap;
        gap: 5px; /* Adjust spacing between columns */
    }
    .nbButton {
        width: 35px!important;
        display: inline!important;
        margin-top: -.5em!important;
    }
    .nbaDDL {
        width: 175px !important;
        display: inline!important;
    }
    .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
        width: auto!important;
    }
    .column {
        display: flex;
        flex-direction: column;
        flex: 1;
        max-width: 49%; /* Adjust column width as needed */
    }

    .searchField {
        margin-bottom: 10px;
    }

    .toLabel {
        margin-bottom: 5px;
        display: block !important; /* Display labels as blocks for vertical stacking */
        margin-left: 0!important;
    }

    .searchBox,
    .nbButton {
        width: 100%; /* Make the inputs and button fill their containers */
        box-sizing: border-box; /* Ensure width includes padding and borders */
    }
    .textTable {
        display: grid;
    }

        .textTable thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            position: absolute;
            width: 1px;
        }

            .textTable thead:nth-child(even) {
            }

        .textTable tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        .textTable td {
            border-bottom: 1px solid #080f5b;
            display: block;
            font-size: 1em;
            text-align: right !important;
            padding: .5em 1em;
        }

            .textTable td::before {
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                content: attr(data-label);
                float: left;
                font-weight: bold;
            }

            .textTable td:last-child {
                border-bottom: 0;
            }

    .textTableAdd thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
    }

        .textTableAdd thead:nth-child(even) {
            color: #fff;
        }

    .textTableAdd tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .textTableAdd td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right !important;
        padding: .5em 1em;
    }

        .textTableAdd td::before {
            /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
            content: attr(data-label);
            float: left;
            font-weight: bold;
        }

        .textTableAdd td:last-child {
            border-bottom: 0;
        }

        .notesTable thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            position: absolute;
            width: 1px;
        }

            .notesTable thead:nth-child(even) {
            }

        .notesTable tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        .notesTable td {
            border-bottom: 1px solid #080f5b;
            display: block;
            font-size: 1em;
            text-align: right !important;
            padding: .5em 1em;
        }

            .notesTable td::before {
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                content: attr(data-label);
                float: left;
                font-weight: bold;
            }

            .notesTable td:last-child {
                border-bottom: 0;
            }

    .notesTableAdd thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
    }

        .notesTableAdd thead:nth-child(even) {
            color: #fff;
        }

    .notesTableAdd tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .notesTableAdd td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right !important;
        padding: .5em 1em;
    }

        .notesTableAdd td::before {
            /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
            content: attr(data-label);
            float: left;
            font-weight: bold;
        }

        .notesTableAdd td:last-child {
            border-bottom: 0;
        }
    .sortDdl {
        width: 125px;
    }
    .searchBox {
        width: 250px !important;
    }
    .policyInfoCpu{
        display:none;
    }
    .modal-content-nb {
        padding: 5px;
    }
    .homeColumn {
        flex: 100%;
        margin-bottom: 10px;
        width: 100%!important;
    }
    .detailColumnData {
        flex: 100%;
        margin-bottom: 10px;
        width: 100% !important;
    }

    .detailColumnSearch {
        flex: 100%;
        margin-bottom: 10px;
        min-width: 100% !important;
        order: -1;
    }
    .materialLinks {
        flex: 100%;
        margin-bottom: 10px;
        margin-top: 0;
        min-width: 100% !important;
        order: -1;
        height: auto!important;
    }
    .sortBox {
        padding: 0;
        border: none;
        float: none;
        clear: both;
    }
    .filterBox {
        padding: 0;
        border: none;
        float: none;
    }
    .sideSearchBox {
        padding: 0;
        border: none;
        float: none
    }
    #drop-area {
        padding: 30px 10px;
    }
    .mobile100 {
        width: 96% !important;
        margin-top: .5em;
    }
    .mobileFloatR {
        float: right!important;
        margin-top: .5em;
    }
    .box, .tall-box {
        border: 2px solid black !important;
    }

    .box {
        height: 100px !important;
    }

    .tall-box {
        height: 200px !important;
    }
    .chart-container {
        position: relative !important;
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        height: 400px !important;
    }

    @media (max-width: 767px) {
        .chart-container {
            max-width: 100% !important;
            height: 400px !important; /* Keep enough height on mobile */
        }
    }


}
