/**************************************************************************************
    Media query
**************************************************************************************/
@media screen and (min-width: 992px) {
   
}


@media (min-width: 768px) and (max-width: 991px) {
   
    
}

@media screen and (max-width: 767px) {
    
    /* layout */
    body {
	    width: 100%;
	    min-width: 100%;
	    overflow-y: scroll;
    }

    .innerWrap {
        position: relative;
        width: 100%;
    }
    
    /* common */
    .nav-justified.nav-tabs > li > a {
        font-size: 15px;
        font-weight: 700;  
        outline: none;
        border-radius: 2px 2px 0 0;
    }
    .nav-tabs.nav-justified > .active > a, 
    .nav-tabs.nav-justified >.active > a:focus, 
    .nav-tabs.nav-justified >.active > a:hover {
        color: #1f67a6;
        border: 1px solid #1f67a6;
        border-bottom: 1px solid transparent;
    }
    .nav-tabs.nav-justified > li > a {
        color: #767676;
        border-bottom: 1px solid #1f67a6;
    } 
    
    /* board-page */
    #frm_contents .table-responsive {
        border: 0;   
    }
    #frm_contents .table-responsive > .table {
        border-top: 3px solid #1f67a6;
    }
    #frm_contents .table-responsive > .table th,
    #frm_contents .table-responsive > .table td {
        vertical-align: middle;
    }
   
}

@media screen and (max-width: 640px) {
    
    
    
}

@media screen and (max-width: 480px) {
    
    /* modify */
    .table-responsive > table {
        table-layout: auto;
    }
    
    /* search table */
    .tb-search {
        display: block;  
    }
        .tb-search tbody {
            display: block;    
        }
            .tb-search tr {
                display: block;
            }
                .tb-search  td {
                    display: block;   
                    overflow: hidden;
                }
                .tb-search  td.page-num-area {
                    display: none;
                }
                .tb-search  td.title-area {
                    display: block;
                    width: 100%;
                    padding-bottom: 0 !important;
                }
                .tb-search  td.search-like-area {
                    display: block;
                    padding-top: 0 !important;
                    text-align: left;
                }
                    .tb-search  td.search-like-area a {
                        padding: 5px;
                        font-size: 11px;   
                    }
    
}

@media print { 
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}