#filterReturn {
    height: calc(100vh - 260px);
    padding-right: 10px;
}

#filterReturn[data-type="flagged"] {
    height: calc(100vh - 350px);
}

#linksReturn {
    height: calc(100vh - 120px);
    padding-right: 10px;
}


#numbersReturn {
    height: calc(100vh - 120px);
    padding-right: 10px;
}

/*----------    Query Selectors    ----------*/
@media (min-height: 1000px) {
    .MBICard {
        width: 400px;
    }
}

@media (max-height: 1920px) {
    #filterReturn {
        /*height: 700px;*/
    }

    #linksReturn {
        /*height: 700px;*/
    }

    .MBICard {
        width: 400px;
    }

}

/*--- iPad Pro 10.5'  portrait ---*/
@media (max-width: 1112px) {
    #pending th {
        font-size: 9pt !important;
        white-space: nowrap;
    }

    #pending .badge {
        font-size: 9pt !important;
    }

    #pending #pendingList .badge {
        font-size: 10pt !important;
    }

    #pendingList .list-group-item {
        font-size: 9pt;
    }

    #compPayLegend {
        font-size: 9pt;
    }

    .sm-mb-5 {
        margin-bottom: 5px;
    }

    .sm-mb-15 {
        margin-bottom: 15px;
    }

    .MBICard {
        width: 400px;
    }

}

/*--- iPad mini portrait, iPad portrait ---*/
@media (max-width: 1024px) {
    #pending th {
        font-size: 9pt !important;
        white-space: nowrap;
    }

    #pending .badge {
        font-size: 9pt !important;
    }

    #pending #pendingList .badge {
        font-size: 9pt !important;
    }

    #pendingList .list-group-item {
        font-size: 9pt;
    }

    #compPayLegend {
        font-size: 9pt;
    }

    .hiddenDrop {
        display: none;
    }

    .side-tab.show {
        width: 100%;
        max-width: 100vw;
    }

    .side-tab.side-tab-sm.show {
        width: 100%;
    }

    .side-tab.side-tab-md.show {
        width: 100%;
    }

    .side-tab.side-tab-md-xl.show,
    .side-tab.side-tab-mdxl.show {
        width: 100%;
    }

    .side-tab.side-tab-lg.show {
        width: 100%;
    }

    .side-tab.side-tab-xl.show {
        width: 100%;
    }

    .MBICard {
        width: 400px;
    }

}

@media (max-height: 834px) {
    #filterReturn {
        /*height: 450px;*/
    }

    #linksReturn {
        /*height: 450px;*/
    }

    .MBICard {
        width: 400px;
    }

}

@media (max-height: 768px) {
    #filterReturn {
        /*height: 500px;*/
    }

    #linksReturn {
        /*height: 500px;*/
    }

    .MBICard {
        width: 400px;
    }

}

@media (max-height: 600px) {
    #filterReturn {
        /*height: 300px;*/
    }

    #linksReturn {
        /*height: 300px;*/
    }

    #sideTab {
        margin-top: 20px;
    }

    #linkTab {
        margin-top: 20px;
    }

    .MBICard {
        width: 400px;
    }
}

/* medium devices  iPad, iPad Mini */
@media (max-width: 768px) {
    .sm-resp {
        margin-bottom: 15px;
    }

    .sm-resp2 {
        margin-bottom: 5px;
    }

    .img-resp {
        width: 225px;
        margin-top: 20px;
        margin-left: -10px;
    }

    #dropdownMenu2 {
        margin-right: -30px;
    }

    #leadTableBody button {
        font-size: 9pt;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #sideTab {
        width: 100%;
    }

    #linkTab {
        width: 100%;
    }

    #filterReturn {
        /*height: 350px;*/
    }

    #linksReturn {
        /*height: 350px;*/
    }

    #pending th {
        font-size: 9pt !important;
        white-space: nowrap;
    }

    #pending .badge {
        font-size: 9pt !important;
    }

    #pending #pendingSearch {
        display: none !important;
    }

    #pending #pendingList .badge {
        font-size: 9pt !important;
    }

    #pendingList .list-group-item {
        font-size: 9pt;
    }

    #compPayLegend {
        font-size: 9pt;
    }


}

/* small devices */
@media (min-width: 576px) {
    .sm-resp {
        margin-bottom: 15px;
    }

    .sm-resp2 {
        margin-bottom: 5px;
    }

    #leadTableBody {
        font-size: 10pt;
    }

    #leadTableBody button {
        font-size: 9pt;
    }

    #bdayTableBody {
        font-size: 10pt;
    }

    .MBICard {
        width: 400px;
    }

}

/* extra small devices portrait */
@media (max-width: 575px) {
    .sm-resp {
        margin-bottom: 15px;
    }

    .sm-resp2 {
        margin-bottom: 5px;
    }

    .pageBody {
        margin-right: 20px;
        margin-left: 20px;
    }

    .img-resp {
        width: 200px;
        margin-top: 20px;
        margin-left: -20px;
    }

    /*navbar search*/
    #dropdownMenu3 {
        margin-right: -20px;
    }

    #leadTableBody {
        font-size: 9pt;
    }

    #leadTableBody button {
        font-size: 9pt;
    }

    #bdayTableBody {
        font-size: 9pt;
    }

    #filterReturn {
        /*height: 350px;*/
    }

    #linksReturn {
        /*height: 350px;*/
    }

    #pending th {
        font-size: 9pt !important;
        white-space: nowrap;
    }

    #pending .badge {
        font-size: 9pt !important;
    }

    #pending #pendingSearch {
        display: none !important;
    }

    #pending #pendingList .badge {
        font-size: 9pt !important;
    }

    #pendingList .list-group-item {
        font-size: 9pt;
    }

    #compPayLegend {
        font-size: 9pt;
    }

    .MBICard {
        width: 330px;
    }

}

/* iPhone 8 */
@media (max-width: 375px) {
    #dropdownMenu2 {
        margin-right: -20px;
    }

    #leadTableBody {
        font-size: 7pt;
    }

    #leadTableBody button {
        font-size: 7pt;
        padding-right: 2px;
        padding-left: 2px;
    }

    #bdayTableBody {
        font-size: 7pt;
    }

    #filterReturn {
        height: 300px;
    }

    #linksReturn {
        height: 300px;
    }

    .MBICard {
        width: 300px;
    }

}

/*--- iPhone SE ---*/
@media (max-width: 320px) {
    #sideTab {
        margin-top: 50px;
        width: 100%;
    }

    #sideTab .btn {
        font-size: 9pt;
    }

    #sideTab #filterReturn {
        height: 200px;
    }

    #sideTab #linksReturn {
        height: 200px;
    }

    .MBICard {
        width: 250px;
    }
}