.tbl_cal {border: 1px solid #dcdcdc; overflow:hidden;}
.tbl_cal > li {float:left;position: relative;overflow: hidden;z-index: 80;vertical-align: top;width: 14.28% !important;height: 120px;color: #5f5f5f;  border-bottom: 1px solid #dcdcdc; font-weight: 600; }
.RED a {color: #ae2f34 !important;}
.tbl_cal li:nth-child(n+8) {border-bottom: 1px solid #dcdcdc;border-right: 1px solid #dcdcdc;}
.tbl_cal li:nth-child(7n+1) {color: #ae2f34; border-left: 0px solid #dcdcdc;}
.tbl_cal li:nth-child(7n) {color: #0f1e92; border-right: 0px solid #dcdcdc;}
.tbl_cal li:nth-child(7n+1) span {color: #ae2f34;}
.tbl_cal li:nth-child(7n) span {color: #0f1e92;}
.tbl_cal li:nth-last-child(7) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(6) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(5) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(4) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(3) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(2) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal li:nth-last-child(1) { border-bottom: 0px solid #dcdcdc;}
.tbl_cal .hd {width: 14.28%;height:46px;padding: 0 0 20px;color: #a0a0a0;font-size: 18px;text-align: center;line-height:46px;background: #fff;}
/* .modal {z-index: 1;} */
#p1, #p2 {top: 0px; z-index: 1;}

.sr-only {
   position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;}

@media screen and (max-width: 1017px) {
#p1, #p2 {z-index: 1040;} 
}

@media screen and (min-width: 1025px) {
    .search2025.search-task.activeCal .group_box {
        display: grid !important;
        grid-template-columns: 1fr 1fr 150px !important;
        gap: 20px !important;
        align-items: end !important;
    }

    .search2025.search-task.activeCal .group_box .group {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        min-width: 0 !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
        position: static !important;
    }

    .search2025.search-task.activeCal .group_box .group > label.title {
        position: static !important;
        display: block !important;
        width: auto !important;
        margin-bottom: 6px !important;
        padding-right: 0 !important;
        text-align: left !important;
        transform: none !important;
        line-height: 18px !important;
        min-height: 18px !important;
    }

    .search2025.search-task.activeCal .group_box .g_box,
    .search2025.search-task.activeCal .group_box .sn-b {
        display: block !important;
        width: 100% !important;
    }

    .search2025.search-task.activeCal .group_box .btn_blue {
        width: 150px !important;
        height: 40px !important;
        align-self: end !important;
    }
}

@media screen and (max-width: 1024px) {
    .search2025.search-task.activeCal .group_box {
        display: block !important;
    }

    .search2025.search-task.activeCal .group_box .group {
        padding-left: 0 !important;
        position: static !important;
        margin-bottom: 14px !important;
    }

    .search2025.search-task.activeCal .group_box .group > label.title {
        position: static !important;
        display: block !important;
        width: auto !important;
        margin-bottom: 6px !important;
        padding-right: 0 !important;
        text-align: left !important;
        transform: none !important;
    }
}
