/*Unseen Column*/

@media only screen and (max-width: 1199px) {
    .profile-page .wide-screen {
        display: none;
    }

    .profile-page .small-screen {
        display: block !important;
    }
}

@media only screen and (max-width: 991px) {
    #unseen table td:nth-child(2),
    #unseen table th:nth-child(2) {display: none;}
}

@media only screen and (max-width: 740px) {
    #unseen table td:nth-child(4),
    #unseen table th:nth-child(4),
    #unseen table td:nth-child(7),
    #unseen table th:nth-child(7),
    #unseen table td:nth-child(8),
    #unseen table th:nth-child(8){display: none;}
}

/*flip-scroll*/

@media only screen and (max-width: 991px) {
    #flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
    #flip-scroll * html .cf { zoom: 1; }
    #flip-scroll *:first-child+html .cf { zoom: 1; }
    #flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; }

    #flip-scroll th,
    #flip-scroll td { margin: 0; vertical-align: top; }
    #flip-scroll th { text-align: left; }
    #flip-scroll table { display: block; position: relative; width: 100%; }
    #flip-scroll thead { display: block; float: left; }
    #flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
    #flip-scroll thead tr { display: block; }
    #flip-scroll th { display: block; text-align: right; }
    #flip-scroll tbody tr { display: inline-block; vertical-align: top; }
    #flip-scroll td { display: block; min-height: 1.25em; text-align: left; }


    /* sort out borders */

    #flip-scroll th { border-bottom: 0; border-left: 0; }
    #flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; }
    #flip-scroll tbody tr { border-left: 1px solid #babcbf; }
    #flip-scroll th:last-child,
    #flip-scroll td:last-child { border-bottom: 1px solid #babcbf; }
}

/*no more table*/

@media only screen and (max-width: 991px) {
    /* Force table to not be like tables anymore */
    section.no-more-tables > table,
    section.no-more-tables > table > thead,
    section.no-more-tables > table > tbody,
    section.no-more-tables > table > thead > tr > th,
    section.no-more-tables > table > tbody > tr,
    section.no-more-tables > table > tbody > tr > td {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    section.no-more-tables > table > thead > tr {
        left: -9999px;
        position: absolute;
        top: -9999px;
    }

    section.no-more-tables > table > tbody > tr {
        border: 1px solid #ccc;
    }

    section.no-more-tables > table > tbody > tr > td {
        align-items: center;
        border: none;
        border-bottom: 1px solid #eee;
        display: flex;
        min-height: 29px;
        padding-left: 50%;
        position: relative;
        text-align:left;
        white-space: normal;
    }

    section.no-more-tables > table > tbody > tr > td:before {
        align-items: center;
        content: attr(data-title);
        display: flex;
        font-weight: bold;
        height: 100%;
        left: 6px;
        overflow: hidden;
        padding-right: 10px;
        position: absolute;
        text-align:left;
        text-overflow: ellipsis;
        top: 0;
        white-space: nowrap;
        width: 45%;
    }

    section.no-more-tables .edit-data {
        text-align: left;
    }
}
