/** Table **/
table.fixed {table-layout:fixed;}
.mw_contents table {border-collapse:collapse;}


table.mw-grid.full {width:100%;}

table.center th,
table.center td:not(.left,.justify) {text-align:center;}

table.justify tbody td {text-align:justify;}

table tr.point * {color:#d32974 !important;}
table tr.blue * {color:RoyalBlue !important;}


/** Table -- no **/
table.mw-grid[mw-grid-style='no'] {margin-top:10px;}
table.mw-grid[mw-grid-style='no'] th,
table.mw-grid[mw-grid-style='no'] td {font-size:16px;vertical-align:top;line-height:1.4;}
table.mw-grid[mw-grid-style='no'] th {padding-right:2px;color:#e01f80;}
table.mw-grid[mw-grid-style='no'] td {text-align:justify;color:#333333;padding-bottom:20px;}



/** Div -- grid **/
div.mw-grid {padding:1px 0px 0 1px;}
div.mw-grid .cell {float:left;display:inline-block;margin:-1px 0 0 -1px;padding:12px 8px;text-align:center;border:1px solid #cccccc;font-size:13px;}


/* Table -- Grid-Type :: Side-Open */
table.mw-grid[mw-grid-style='sideopen'] {border-collapse:collapse;}

table.mw-grid[mw-grid-style='sideopen'] th,
table.mw-grid[mw-grid-style='sideopen'] td {letter-spacing:-0.4px;line-height:1.4;padding:8px;text-align:left;font-weight:normal;}

table.mw-grid[mw-grid-style='sideopen'] th {}
table.mw-grid[mw-grid-style='sideopen'] td {border-left:1px solid #ffffff;}

table.mw-grid[mw-grid-style='sideopen'] thead tr {background-image:linear-gradient(to bottom, #b52b3f, #760c1b);}
table.mw-grid[mw-grid-style='sideopen'] thead tr th,
table.mw-grid[mw-grid-style='sideopen'] thead tr td {padding:12px 0px;color:#ffffff;font-size:21px;text-align:center;}

table.mw-grid[mw-grid-style='sideopen'] tbody {border-bottom:2px solid #b52b3f;}
table.mw-grid[mw-grid-style='sideopen'] tbody tr {border-bottom:2px dotted #e4e4e4;}

table.mw-grid[mw-grid-style='sideopen'] tbody tr th,
table.mw-grid[mw-grid-style='sideopen'] tbody tr td {font-size:19px;text-align:center;}

table.mw-grid[mw-grid-style='sideopen'] tbody tr th {color:#7c1cd3}
table.mw-grid[mw-grid-style='sideopen'] tbody tr td {color:#454545;}



/** Table -- grid **/
table.mw-grid[mw-grid-size='mini'] th,
table.mw-grid[mw-grid-size='mini'] td {font-size:12px !important;}

table.mw-grid:not([mw-grid-style='sideopen']) {border-collapse:collapse;margin-top:8px;}
table.mw-grid:not([mw-grid-style='sideopen']) th,
table.mw-grid:not([mw-grid-style='sideopen']) td {border:1px solid #999999;font-size:13px;}

table.mw-grid:not([mw-grid-style='sideopen']) thead th:not([priority-css='con']),
table.mw-grid:not([mw-grid-style='sideopen']) thead td:not([priority-css='con']) {padding:5px 2px;}
table.mw-grid:not([mw-grid-style='sideopen']) thead th {color:#000000;background:#ddd;}

table.mw-grid:not([mw-grid-style='sideopen']) tbody th:not([priority-css='con']),
table.mw-grid:not([mw-grid-style='sideopen']) tbody td:not([priority-css='con']) {padding:5px;}
table.mw-grid:not([mw-grid-style='sideopen']) tbody th {color:#151515;line-height:1.2;}

table.mw-grid:not([mw-grid-style='sideopen']) .black {color:#000000;}
table.mw-grid:not([mw-grid-style='sideopen']) .gray {color:#6c6c6c;}



/** Table -- Hover Color Type **/
table.mw-grid[mw-row-hover-color='violet'] tbody tr:hover {background-color:Lavender;}
table.mw-grid[mw-row-hover-color='yellow'] tbody tr:hover {background-color:yellow;}
table.mw-grid[mw-row-hover-color='red']		tbody tr:hover {background-color:Tomato;}



/** Table -- Row Sort **/
table.mw-grid thead tr > *[mw-sort-type] {cursor:pointer;}
table.mw-grid thead tr > *[mw-sort-type]:hover,
table.mw-grid thead tr > *[mw-sort-type].selected {position:relative;}

table.mw-grid thead tr > *[mw-sort-type]::after {position:absolute;top:5px;right:6px;font-size:10px;color:blue;}
table.mw-grid thead tr > *[mw-sort-type]:not(.selected)::after {display:none;}
table.mw-grid thead tr > *[mw-sort-type]:hover::after,
table.mw-grid thead tr > *[mw-sort-type].selected::after {display:block !important;}
table.mw-grid thead tr > *[mw-sort-type].selected::after {color:mediumvioletred !important;}

table.mw-grid thead tr > *[mw-sort-type='asc']::after,
table.mw-grid thead tr > *[mw-sort-type='ASC']::after {content:"▲";}		/* 올림차순 */

table.mw-grid thead tr > *[mw-sort-type='desc']::after,
table.mw-grid thead tr > *[mw-sort-type='DESC']::after {content:"▼";}		/* 내림차순 */



.table {display:table;}
.row {display:table-row;}
.cell {display:table-cell;}

.top {vertical-align:top;}
.table.top > .row > .cell {vertical-align:top;}
.middle {vertical-align:middle;}
.table.middle > .row > .cell {vertical-align:middle;}
.btm {vertical-align:bottom;}
.table.btm > .row > .cell {vertical-align:bottom;}