/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/**************************************************************************************
    Sub page style
**************************************************************************************/
/* ---------------------------------------
    °øÅë ¿ä¼Ò - .section ÇÏÀ§
--------------------------------------- */
.section {
    padding: 20px 0 0;
    font-size: 13px;
    letter-spacing: 0;
}

.section h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 700;
}
    .section h4 i {
        display: inline-block;
        margin: 2px 5px 0 0;
        font-size: 20px;
        color: #1f67a6;
        font-weight: 700;
        vertical-align: middle;
    }

.section h5 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1f67a6;
}
 
.section p {
    text-align: justify;
}
.section p.thm {
    margin: 0;
    padding: 0;
}
    .section p.thm img {
        max-width: 100%;
    }
    
.section ol,
.section ul {
    padding: 0 0 0 20px;
}
    .section ul > li {
        list-style: disc;
    }
.section .tb-paper caption{
    margin-top: 0;
    padding-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #1f67a6;
}
    .section a.pdf {
        padding: 2px 0 2px 23px;
        font-size: 12px;
        font-weight: normal;
        color: #1f67a6;
        vertical-align: middle;
        background: url(../img/icon/pdf.png) left 50% no-repeat;
    }
    
.box {
    padding: 20px 30px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;   
}

/**************************************************************************************
    ÇÐ¼úÁö / ³í¹®Áý / ÇÐ¼ú´ëÈ¸ - sub06_1, sub06_2, sub06_2_a, sub06_3
**************************************************************************************/
.cmag-list {
    
}
    .cmag-list > ul {
        margin: 20px 0 0;
        padding: 0;
        list-style: none;
    }
        .cmag-list > ul > li {
            overflow: hidden;
            float: left;
            width: 25%;
            height: 140px;
            margin: 0 0 30px;
            padding: 0;
            text-align: center;
        }
        .cmag-list > ul > li .inner {
            display: inline-block;
            width: 135px;
        }
            .cmag-list > ul > li .inner > .thm {
                float: left;
                width: 100px;
                height: 140px;
                margin: 0 5px 0 0;
            }
                .cmag-list > ul > li .inner > .thm img {
                    width: 100px;
                    height: 140px;
                }
            .cmag-list > ul > li .inner > .year-area {
                float: left;
                width: 30px;
                height: 140px;
            }
                .cmag-list > ul > li .inner > span {
                    width: 30px;
                    height: 22px;
                }
                .cmag-list > ul > li .inner > .year1 {
                    
                }
                .cmag-list > ul > li .inner > .year2 {
                    
                }
                .cmag-list > ul > li .inner > .year3 {
                    
                }
                .cmag-list > ul > li .inner > .year4 {
                    
                }

/* ³í¹®Áý ¸ÞÀÎ - directory_main.asp */
.paper-section {
    width: 680px;
}
    .paper-section dl {
        overflow: hidden;
    }
        .paper-section dl dt {
            float: left;
            margin: 0 20px 0 0;   
        }
        .paper-section dl dd {
            float: left;
        }
            .paper-section dl dd ul {
                margin: 0;
                padding: 0;
                list-style: none;
            }
            .paper-section dl dd ul li {
                margin: 0 0 10px;
                padding: 0;
                list-style: none;
            }
                .paper-section dl dd ul li a {
                    font-size: 15px;
                    font-weight: 700;
                    color: #1f67a6;
                }
                    .paper-section dl dd ul li a i {
                        font-size: 15px;
                    }


/* ÇÐÈ¸Áö, ³í¹®Áý ¸®½ºÆ® - gby_cmag.asp */
.gby-cmag {
    width: 680px;
}
    #frm_container .gby-cmag .thm {
        float: left;
        width: 120px; 
    }
    #frm_container .gby-cmag .tb-list {
        width: 560px;
        margin: 0;
        border: 0;
    }
        #frm_container .gby-cmag .tb-list td {
            padding-top: 15px;
            padding-bottom: 15px;
            border: 0;
        }
        #frm_container .gby-cmag .tb-list > tbody > tr:nth-child(2) td {
            padding-top: 0;
        }
            #frm_container .gby-cmag .tb-list .title {
                font-size: 15px;
                font-weight: 700;
            }
            #frm_container .gby-cmag .tb-list .sub-title {
                font-size: 13px;
            }
            #frm_container .gby-cmag .tb-list .page-num {
                display: block;
                width: 40px;
                height: 40px;
                line-height: 40px;
                text-align: center;
                font-size: 11px;
                color: #fff;
                border-radius: 100%;
                background-color: #ccc;
                background: rgba(0, 0, 0, 0.2);
            }
            
/* ¹ßÇ¥ÀÚ·á - directory.asp */
#frm_container .tb-paper {
    
}
    #frm_container .tb-paper caption {
        padding: 0 0 5px;
        line-height: 1;   
    }
    #frm_container .tb-paper {
        
    }
        #frm_container .tb-paper .date {
            display: inline-block;
            margin: 0 10px 0 0;
            padding: 5px 10px 3px;
            font-size: 12px;
            color: #fff;
            text-align: center;
            background-color: #bbb;
        }
        #frm_container .tb-paper .title {
            display: inline-block;
            width: 580px;
            overflow: hidden;
            text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 15px;
            font-weight: 700;
            vertical-align: middle;
        }

/* ³í¹®Áý ¸®½ºÆ® */
/* .rdoc-year-menu */
.doc-main-list {
    width: 680px;
	padding-bottom: 0
}
    .doc-main-list .thm {
        float: left;
        width: 120px;   
    }
	.section .doc-main-list ul {
		margin: 0;
		padding: 0;
	}
	.doc-main-list .rdoc-year-menu li {
		margin: 0;
		padding: 0 0 5px;
		font-size: 12px;
		list-style: none
	}
	.doc-main-list .rdoc-year-menu li a {
		display: block;
		width: 100%;
		font-weight: normal;
		text-decoration: none;
	}
	
.rdoc-year-menu {
    float: left;
	width: 560px;
	margin: 0;
	padding: 0;
	border: 1px solid #dfdfdf;
	border-bottom: 0;
}
	.rdoc-year-menu li.menu{
		padding: 0;
		border-top: 1px solid #fdfdfd;
		border-bottom: 1px solid #eee;
		position: relative;
	}
	.rdoc-year-menu li.menu .toggle-btn {
		font-weight: normal;
		position: absolute;
		right: 10px;
		font-size: 11px;
		color: #999;
	}
	.rdoc-year-menu li.menu a.title{
		width: 558px;
		height: 38px;
		padding: 0 10px;
		line-height: 38px;
		display: block;
		font-size: 15px;
		color: #1f67a6;
		font-weight: none;
		background-color: #f8f8f8;
	}
	.rdoc-year-menu li.menu a.title.on{
		font-weight: 700;
	}
	.rdoc-year-menu li.menu li.submenu{
		padding: 3px 0 3px 5px;
		border-bottom: 1px solid #f0f0f0;
		background-color: #fff;
	}
	.rdoc-year-menu li.menu li.submenu a{
		font-size: 13px;
		color: #767676;
		padding: 5px 10px;
	}
	.rdoc-year-menu li.menu li.submenu a:hover{
		color: #1f67a6;
	}
	.rdoc-year-menu li.menu li.submenu a.on{
		color: #1f67a6;
	}
	
.hide-list {
	display:none
}


/**************************************************************************************
    Board style
**************************************************************************************/
/* Layout style */
#frm_wrap {
    
}

#frm_header {
    
}

#frm_container {
    
}

#frm_container .innerWrap {
    position: relative;
    width: 100%;
    margin: 0 auto;  
}

#frm_contents {
    
}

    #frm_contents .table {
        width: 100%;
        border-bottom: 1px solid #dfdfdf;
    }
    #frm_contents .table.tb-fixed {
        table-layout: fixed;
    }
    #frm_contents .table caption{
        text-align: right;
        padding: 5px 0;
    }
    #frm_contents .table thead{
           
    }
    #frm_contents .table thead th{
           vertical-align: middle;
    }
    #frm_contents .table tbody {
           
    }
    #frm_contents .table tbody td {
           vertical-align: middle;
    }
    #frm_contents .table tbody tr.board-contents td {
        padding: 20px 10px;
    }
        #frm_contents .table tbody tr.board-contents td p,
        #frm_contents .table tbody tr.board-contents td img {
            max-width: 100% !important;
        }
        #frm_contents .table-responsive > .table > tbody > tr.board-contents > td {
            white-space: normal;
        }
        
    #frm_contents .td-bottom-area {
        text-align: center;
    }
    
    #frm_contents .btn-area {
        text-align: center;
    }
        #frm_contents .btn-area a {
            margin: 0 5px;
        }
    
    #frm_contents .btn-area-admin {
        
        margin: 0 0 15px;
        padding: 10px 0;
        text-align: center;
        border: 1px solid #dfdfdf;
        border-radius: 5px;
        background-color: #f0f0f0;
    }
    
    #frm_contents .search-area {
        display: inline-block;
        margin: 0 auto;
    }
        #frm_contents .search-area .board-search-radio {
            float: left;
            margin: 7px 10px 0 0;
        }
        #frm_contents .search-area .board-search {
            float: left;
        }
            #frm_contents .search-area .board-search .form-control {
                display: inline-block;
                width: 200px;
            }
    
    /* paging */
    #frm_contents .pagination {
        margin: 10px 0;    
    }
    
#frm_footer {
    
}

/**************************************************************************************
    Popup style
**************************************************************************************/
/* Layout style */

#pop_wrap {
    border-top: 3px solid #1f67a6;
}

#pop_header {
    margin: 0 0 20px;
    padding: 10px 20px;
    border-bottom: 1px solid #dfdfdf;
    background-color: #f0f0f0;
}
    #pop_header h1 {
        margin: 0;
        padding: 0;
        font-size: 15px;
        font-weight: bold;
        color: #333;
    }

#pop_container {
    
}

#pop_container .innerWrap {
    position: relative;
    width: 100%;
    margin: 0 auto;  
}

#pop_contents {
    padding: 0 20px;
}

    #pop_contents .btn-area {
        text-align: center;
    }
        #pop_contents .btn-area a {
            margin: 0 5px;
        }