﻿@import url(../caasp-fonts.css);

@media (min-width: 1400px) {
    .text-overlay {
        width: 100% !important;
        left: initial;
    }
}

@media (min-width: 1200px) {
    .text-overlay {
        width: 100% !important;
        left: initial;
    }
}

@media (max-width: 1250px) {
    .text-overlay {
        width: 100% !important;
        left: initial;
    }
}
@media (max-width: 992px) {
    .img-main-banner-div {
        margin-top: calc(260px - 10vw) !important;
    }
    .text-overlay {
        width: 100% !important;
        left: initial;
    }
}

@media (max-width: 767px) {
    .text-overlay {
        width: 100% !important;
        top: 90px !important;
    }

    .img-main-banner-div {
        margin-top: calc(210px - 10vw) !important;
    }
}

@media (max-width: 767px) {
    .text-overlay {
        top: 90px !important;
    }
    .img-main-banner-div {
        margin-top: calc(210px - 10vw) !important;
    }
}

.table {
    width: 100%;
}

    .table thead {
        background-color: #D9D9D980;
    }

    .table thead tr th{
        padding: 15px;
    }

.sub-table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .sub-table td {
        padding: 10px;
        text-align: left;
    }
        .sub-table td:first-child {
            width: 15%; 
            padding-left: 0; 
        }

        .sub-table td:nth-child(2) {
            width: 50%;
            border-left: 1px solid #B5B5B5;
            padding-left: 2vw;
        }

        .sub-table td:last-child {
            width: 20%;
            border-left: 1px solid #B5B5B5;
            padding-left: 2vw;
        }

.table-responsive {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.load-more-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.print-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: black;
    white-space: nowrap;
}

@media print {
    .print-link {
        display: none;
    }
}

@media (max-width: 766px) {
    .print-link {
        font-size: 0;
    }

        .print-link i {
            font-size: 1.1rem;
        }
}

.equipe-table th:first-child, td.equipe-name {
    width: 20%;
    border: 1px solid #B5B5B5;
    padding: 10px;
}

.equipe-table th:last-child, .equipe-table td.comarca-info {
    width: 30%;
    border: 1px solid #B5B5B5;
    padding: 10px;
    padding-right: calc(20px - 1vw);
}

.table {
    width: 100%;
    border: none;
}

.table tr:last-child td {
    border-bottom-width: 0;
}

.table tr:last-child th {
    border-bottom-width: 0;
}

.clickable-link {
    text-decoration: none;
    color: inherit; 
    cursor: pointer; 
}

    .clickable-link:hover {
        text-decoration: underline;
    }

.clickable-row {
    cursor: pointer;
    border: none;
}

.clickable-text:hover {
    text-decoration: underline;
    color: #007bff;
}

.clickable-row:hover {
    background-color: #f0f0f0
}

[class^="icon-"],
[class*=" icon-"] {
    line-height: 1;
}

.icon-arrow_drop_down {
    transition: all 0.3s ease;
    display: inline-block;
    transform: rotate(0);
}

.icon-arrow_drop_down:not(.collapsed) {
    transform: rotate(180deg);
}

.hidden-td {
    padding: 0 !important;
    border: none;
}

.sub-table tbody {
    display: table-cell;
    border: none;
}

@media(max-width: 766px) {
    .sub-table tbody {
        padding-left: 1vw;
    }
}

@media(min-width: 767px) {
    .sub-table tbody {
        padding-left: 4vw;
    }
}

@media(min-width: 1200px) {
    .sub-table tbody {
        padding-left: 8vw;
    }
}


@media(min-width: 1400px){
    .sub-table tbody {
        padding-left: 11.5vw;
    }
}


@media print {
    body {
        visibility: hidden;
        background-color: white;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html, body {
        height: 100vh;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #printDiv {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
        display: block !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        width: 99%;
    }
    #header-Table {
        background-color: #D9D9D980;
        border: 1px solid #B5B5B5;
        border-bottom: none !important;
        print-color-adjust: exact;
    }
    #printTable thead {
        background-color: #D9D9D980;
        print-color-adjust: exact;
    }
    #printTable {
        border: 1px solid #B5B5B5;
    }
        #printTable thead tr th {
            border: 1px solid #B5B5B5;
        }
}

.spinner-mini {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
