
.pagination {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.second_timeline .timeLine li .title{
    font-size: 24px;
    font-weight: 600;
    color: #0a58ca;
    padding-left: 0 !important;
}
.styled-grid-view-wrapper {
    position: relative;
    overflow: auto;
    display: block;
    scrollbar-width: thin;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    font-size: 16px;
}
.styled-grid-view-empty {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    flex-direction: column;
}

.styled-grid-view-empty h5 {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

.styled-grid-view-table {
    display: table;
    width: 100%;
    overflow: auto;
    position: relative;
}

.parent_residence table.table tr td {
    border-radius: 0 !important;
    border: none;
}

.styled-grid-view-table tbody > tr > td, .styled-grid-view-table thead > tr > th {
    text-align: left;
    align-content: center;
}

.styled-grid-view-table > tbody > tr > td, .styled-grid-view-table > tbody > tr > th, .styled-grid-view-table > thead > tr > td, .styled-grid-view-table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table > thead > tr > th {
    border-bottom: none;

}

.styled-grid-view-table > tbody > tr > td {
    border: none !important;
}

.styled-grid-view-table tr:first-child td {
    border-top: none;
}

.makeItBlue td {
    background-color: #EFF9FF !important;
}
.makeItBlue > td:first-child {
    border-radius: 8px 0 0 8px !important;
}

.makeItBlue > td:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.styled-grid-view-table > tbody > tr:nth-child(even) > td {
    background-color: #EFF9FF !important;
}

.styled-grid-view-table > tbody > tr:nth-child(even) > td:first-child {
    border-radius: 8px 0 0 8px !important;
}

.styled-grid-view-table > tbody > tr:nth-child(even) > td:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.styled-grid-view-table > thead > tr > th {
    padding: 12px !important;
    background-color: #EFF9FF;
    color: #585858;
}

.styled-grid-view-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.styled-grid-view-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.styled-grid-view-table > tbody > tr > td {
    padding: 16px 12px !important;
    background-color: #fff;
}

.styled-grid-view-list {
    display: none;
    width: 100%;
    margin-bottom: 0;
}

.styled-grid-view-grid {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.styled-grid-view-list ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 20px 10px;
    gap: 16px;
    overflow-x: auto;
    background: transparent;
    border-radius: 8px;
}

.styled-grid-view-list-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}
.styled-detailed-view-list.maskedTable{
    margin-bottom: 0;
}
.styled-detailed-view-list.maskedTable ul{
    padding: 1px 15px 0 !important;
}
.styled-grid-view-list li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 50px !important;
    flex-shrink: 0;
    border-radius: 8px;
    margin-bottom: 0;
    position: relative;
    box-shadow: none !important;
}
.request-view  .styled-grid-view-list li:last-child{
    padding-bottom: 0 !important;
}
.second_timeline .timeLine li .timeLineViewBox p:not(.title){
    margin-bottom: 0;
}
.request-view .styled-grid-view-list li::after{
    content: '';
    display: block !important;
    width: calc(100% - 40px) !important;
    height: 2px !important;
    position: absolute;
    left: 0 !important;
    top: auto !important;
    bottom: 20px !important;
    background: #ccc !important;
    margin: 0 auto;
}
.request-view .styled-grid-view-list li:last-child::after{
    display: none !important;
}
.styled-grid-view-grid ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    background: transparent;
    border-radius: 8px;
    width: 100%;
    overflow: visible;
    padding: 10px;
    gap: 16px;
}
.styled-grid-view-grid li {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 4px 18px 0 #00000022;
    width: 100%;
}

.styled-grid-view-grid li > div {
    max-width: 400px;
}

.styled-grid-view-list h3, .styled-grid-view-grid h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.styled-grid-view-list h4, .styled-grid-view-grid h4 {
    color: #26323880;
    padding: 0;
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 600;
}

.grid-text-muted {
    color: #000;
}

h3 > .mask {
    word-wrap: break-word !important;
}

.makeItVisible {
    display: flex!important;
    align-items: center;
    justify-content: space-between;
    width: fit-content!important;
    text-decoration: none;
    color: #388fff!important;
    padding: 2px 0;
    font-size: 16px!important;
    cursor: pointer;
    font-weight: 500;
}

.makeItVisible svg {
    filter: invert(44%) sepia(85%) saturate(1981%) hue-rotate(198deg) brightness(102%) contrast(101%);
    transition: 0.3s;
}
td .styled-detailed-view-table.table.maskedTable{
    margin-bottom:30px !important;
}
.grid-text-muted div{
    align-items: flex-start !important;
}
.second_timeline .timeLine li .timeLineViewBox .timeLineViewBoxTitleBox{
    padding: 20px 20px 10px !important;
}
.timeLineViewBoxTitleBox p{
    margin-top: -6px !important;
}
a.button-invoice{
    padding: 5px 10px !important;
    margin: 5px 0 !important;
}
html body .timeLine li .timeLineViewBox .taskStatus{
    padding: 5px 15px !important;
}
.timeLineViewBoxTitleBox + .collapse.in{
    padding: 0 15px;
}
.col-md-12.second_timeline .title{
    font-weight: 600;
    font-size: 26px;
}
.second_timeline .timeLine li .table span{
    font-size: 16px;
    color:#545454 ;
}
.second_timeline .timeLine li .timeLineViewBox .table span.billingLogPaid{
    color: green !important;
    font-size: 16px !important;
    font-weight: 600 ;
}
.second_timeline .timeLine li .timeLineViewBox .table span.billingLogOpen{
    color: #0068E0 !important;
    font-size: 16px !important;
    font-weight: 600 ;
}
.second_timeline .timeLine li .timeLineViewBox .table span.billingLogExpired{
    color: orange !important;
    font-size: 16px !important;
    font-weight: 600 ;
}
.second_timeline .timeLine li .timeLineViewBox .table span.billingLogCanceled{
    color: red !important;
    font-size: 16px !important;
    font-weight: 600 ;
}
@media (max-width: 1200px) {
    .styled-grid-view-grid li {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    html body .timeLine li .timeLineViewBox .taskStatus{
        padding: 5px 0 !important;
    }
    .styled-grid-view-list h3, .styled-grid-view-grid h3 {
        margin: 0 0 15px;
    }
    .second_timeline .timeLine li .timeLineViewBox span.billingLogPaid{
        color: green !important;
        font-size: 18px !important;
        font-weight: 600 ;
    }
    .second_timeline .timeLine li .timeLineViewBox span.billingLogOpen{
        color: #0068E0 !important;
        font-size: 18px !important;
        font-weight: 600 ;
    }
    .second_timeline .timeLine li .timeLineViewBox span.billingLogExpired{
        color: orange !important;
        font-size: 18px !important;
        font-weight: 600 ;
    }
    .second_timeline .timeLine li .timeLineViewBox span.billingLogCanceled{
        color: red !important;
        font-size: 18px !important;
        font-weight: 600 ;
    }
    .second_timeline .timeLine li .title{
        font-size: 20px;
        padding: 0 15px !important;
        color: #0a58ca !important;
    }
    html .makeItVisible{
        font-size: 18px !important;
    }
    .timeLineViewBoxTitleBox + .collapse.in{
        padding: 0;
    }
    a.button-invoice{
        font-size: 18px;
    }
    .styled-grid-view-wrapper{
        padding: 0;
    }
    .second_timeline .timeLine li .timeLineViewBox .btn.collapseBtn{
        margin-top: 20px;
        right: 15px;
    }
    .styled-grid-view-table {
        display: none !important;
    }

    .styled-grid-view-grid {
        display: none !important;
    }

    .styled-grid-view-list {
        display: block;
    }

    .styled-grid-view-list h4, .styled-grid-view-grid h4 {

    }

    .styled-grid-view-list ul {
        padding: 0;
    }

    .styled-grid-view-list li {
        padding: 15px;
    }

    .styled-grid-view-list h3, .styled-grid-view-grid h3 {
        font-size: 18px;
        font-weight: 600;
    }

    .parent_residence {
        margin-top: 20px;
    }

    .refresh-btn-wrapper {
        margin: 6px auto 12px !important;
    }
    .request-view .styled-grid-view-list li::after{
        content: '';
        display: block !important;
        width: calc(100% - 40px) !important;
        height: 2px !important;
        position: absolute;
        left: 0 !important;
        top: auto !important;
        bottom: 20px !important;
        background: #ccc !important;
        margin: 0 auto;
    }
}