@media print{

    @page{
        size: A4 portrait;
        margin: 0.5cm;
        orphans:4;
        widows:2;
    }

    h1, h2, h3, h4, h5, h6 {
    page-break-after:avoid;
    page-break-inside:avoid;
    }
    h1+p, h2+p, h3+p {
    page-break-before: avoid;
    }
    a,
    .rl-row{
    page-break-inside:avoid;
    }
    img{
    page-break-after: avoid;
    page-break-inside: avoid;
    }
    /* table, blockquote{
    page-break-inside: avoid;
    } */
    ul, ol, dl {
    page-break-before:avoid;
    }

    form{
    page-break-after:avoid;
    page-break-inside:avoid
    }
    header nav, footer, video, audio, object, embed {
    display: none;
    }
    body{
    width: 100%;
    margin: 0;
    float: none;
    line-height: 1.5;
    font-size: 12pt;
    }
    img {
    max-width: 100%;
    }
    a:link, a:visited, a {
    background: transparent;
    color: #222;
    font-weight: bold;
    text-decoration: none;
    text-align: left;
    word-wrap: break-word; /*避免網址過長超出頁面*/
    }

    thead{
    display: table-header-group; /* 表格即使分頁也會顯示表頭 */
    }



    .footer-sec,
    .pagination,
    .search-row,
    button,
    .main-btn,
    .main-btn-2,
    .side-btn,
    .fb-sec a{
        display: none !important;
    }

    .print-list-table,
    .r-list-table,
    .r-link{
        padding-top: 20px;
    }

    .p-title{
        font-size: 34px;
    }

    .r-list-table thead th{
        font-size: 22px;
    }

    .r-list-table tbody{
        font-size: 18px;
    }

    .breadcrumbs{
        font-size: 22px;
    }

    .mw80,.mw170{
        min-width: inherit;
    }



    .r-link{
        width: auto;
    }

    .rl-img{
        width: calc(100%/3);
    }

    .rl-content{
        width: calc(200%/3);
    }

    /* 表頭加框線 */
    .r-list-table thead,
    .class-table thead{
        border-bottom:2px solid #DBDBDB;
    }
}
