@charset "utf-8";

/* 카테고리 */
.list-category .div-tab-box { margin-bottom:15px; }
.list-category .dropdown { margin-bottom:15px; }
.list-category .active a,
.list-category .selected a { color:crimson; font-weight:bold !important; }
.list-category .nav {
	border-bottom: none;
}
.list-category .div-tab.tabs.trans-top.hidden-xs .nav.nav-tabs>li.active>a {
	border: none !important;
}
.list-category .nav-tabs {
	border-bottom: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	margin-bottom: 36px;
	position: relative;
	gap: 4px;
}
.list-category .nav-tabs::before,
.list-category .nav-tabs::after {
	display:none;
}
.list-category .nav-tabs li,
.list-category .nav-tabs li:first-child,
.list-category .nav-tabs li:last-child {
	border: none !important;
}
.list-category .nav-tabs > li > a {
	display: block;
	padding: 24px;
	border: none !important;
	border-radius: 12px !important;
	background: #f4f4f4 !important;
	color: #000 !important;
	font-weight: 500 !important;
	font-size: 1.08em;
	position: relative;
	outline: none;
	margin: 0;
	min-width: 120px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
}
.list-category .nav-tabs > li > a:hover,
.list-category .nav-tabs > li > a:focus {
	background: #e9f0f7 !important;
	color: #2d6cdf !important;
	text-decoration: none;
	z-index: 2;
}

.list-category .nav-tabs > li.active > a,
.list-category .nav-tabs > li.active > a:focus,
.list-category .nav-tabs > li.active > a:hover {
	background: #1185f5 !important;
	color: #ffffff !important;
	z-index: 3;
	border-radius: 12px !important;
}
.list-category .nav-tabs > li > a::after {
	content: '';
	display: block;
	margin: 0 auto;
	width: 0;
	height: 0;
	background: none;
}
.list-category .nav-tabs > li.active > a::after {
	width: 0;
}
.list-category .div-tab.tabs.trans-top ul.nav-tabs li.active a {
	color: #fff !important;
}
.list-category .active a {
	color: #1185f5 !important;
	font-weight: bold !important;
}
.list-category .tab-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* 목록 공통 */
.srch-box {
	padding: 40px;
	margin-bottom: 40px;
	border-radius: 2em;
	background: #f6f6f6;
}
.srch-box .searchBox {
	display: flex;
	justify-content: end;
	gap: .5em;
	width: 100%;
}
.srch-box .searchBox .form-control {
	padding: 1em;
	background-color: #fff;
	font-size: 16px;
	border-radius: 16px !important;
	border: 0;
	outline: 0;
	transition: .4s;
	color: #333;
	width: 100%;
	height: auto;
}
.srch-box .searchBox select.form-control {
	max-width: 200px;
}
.srch-box .searchBox .btn {
	padding: 1em 2em;
	color: #fff;
	font-weight: 700;
	background-color: #274A8D;
	border-radius: 16px !important;
	text-align: center;
	text-wrap: nowrap;
	display: flex;
	align-items: center;
}
.list-info {
	display: flex;
	align-items: center;
	gap: 2em;
	font-weight: 700;
	margin-bottom: 20px;
}
.list-info .total {
    font-weight: 700;
    align-self: flex-end;
}
.list-info .page {
	margin-left: auto;
}
.list-info span {
	color: #274A8D;
}
.at-content .table-responsive {
	border: none;
	margin: 24px 0;
}
.at-content .table {
	text-align: center;
	border-top: 2px solid #111;
	border-bottom: 1px solid #111;
}
.at-content .table thead tr th {
	text-align: center;
	line-height: normal;
	vertical-align: middle;
	font-size: 0;
	padding: 0;
	border-width: 1px;
}
.at-content .table tbody tr td {
	padding: 28px 24px;
	line-height: normal;
	vertical-align: middle;
}
.at-content .table .label {
    display: inline-block;
    padding: 6px 8px;
    font-size: 14px;
    color: #fff;
    background-color: #1087F5;
    border-radius: 16px !important;
    line-height: 1.5;
}
.at-content .table .tit {
    font-size: 1.2em;
    font-weight: 700;
    text-align: left;
    color: #111;
    padding-left: 0;
}
.at-content .table .tit a {
	margin-right: .5em;
	display: inline-block;
	max-width: calc(100% - 24px);
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	padding-top: 1px; /* 폰트 문제로 짤림 */
}
.at-content .table .meta {
	text-align: right;
}
.at-content .table .meta > span {
	font-size: 16px;
	color: #6c6c6c;
}
.at-content .table .meta > span + span {
    position: relative;
    padding-left: 1em;
}
.at-content .table .meta > span + span:before {
    content: "";
    position: absolute;
    top: 0;
    left: 5px;
    width: 2px;
    height: 15px;
    background-color: #ddd;
}
.at-content .table #chkall {
	margin: 10px !important;
}
.at-content .table .photo a {
	display: block;
	text-align: center;
}
.at-content .table .photo img {
	max-width: 100%;
}

.list-page {
	margin-top: 30px;
	margin-bottom: 50px;
}
.list-page .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 0;
}
.list-page .pagination > li {
	display: inline-block;
}
.list-page .pagination > li > a,
.list-page .pagination > li > a:has(i.fa) {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border: 0 !important;
	border-radius: 50px !important;
	color: #111 !important;
	line-height: normal;
	float: none;
}
.list-page .pagination li.active a {
	color: #fff !important;
}
.list-page .pagination > li > a:hover {
	background-color: #eee !important;
}

/* 아이콘 */
.list-wrap .wr-text { font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-wrap .wr-icon { display:inline-block; padding:0; margin:0; overflow:hidden; vertical-align:middle; background-repeat: no-repeat; background-position: left top; }
.list-wrap .wr-notice { width:37px; height:19px; background-image: url('./img/icon_notice.gif'); background-size:contain;background-position:center; }
.list-wrap .wr-new { width:12px; height:12px; background-image: url('./img/icon_new.gif'); }
.list-wrap .wr-secret { width:12px; height:12px; background-image: url('./img/icon_secret.gif'); }
.list-wrap .wr-hot { width:12px; height:12px; background-image: url('./img/icon_hot.gif'); }

/* 내용 공통 */
.view-wrap { width:100%; overflow:hidden; }
.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display:inline-block; }
.view-wrap .img-resize img { max-width:100%; height:auto; }
.view-wrap h1 .photo { border-radius: 50%; width: 50px; height: 50px; margin-bottom:10px; margin-right:10px; }

.view-btn { margin:0px 0px 30px; }
.view-btn i { margin-right:2px; }

.view-tag { margin:10px 0px; padding:0px; color:#888; }
.view-tag a { color:#888; }
.view-tag a:hover { color:crimson; }
.view-cnt { margin-top:4px; }
.view-img img { display:block; max-width:100%; margin:0 auto 15px; border:0; height:auto; }
.view-content img { width:auto; height:auto; max-width:100%; }
.view-content p { padding:0; margin:0; line-height:22px; }
.view-good-box { text-align:center; }
.view-good-box span { margin:15px 6px; width:80px; height:80px; display:inline-block; }
.view-good-box a { background: rgb(245, 245, 245); padding-top:14px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(51, 51, 51); font-size: 22px; line-height:26px; display: inline-block; }
.view-good-box .view-good a:hover { background: rgb(223, 17, 25); color: rgb(255, 255, 255); }
.view-good-box .view-nogood a:hover { background: rgb(0, 0, 0); color: rgb(255, 255, 255); }
.view-comment { color: rgb(51, 51, 51); font-family: "Roboto", sans-serif; margin: 0px 0px 10px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; font-size: 20px; font-weight: 500; border-bottom-color: rgb(51, 51, 51); border-bottom-width: 1px; border-bottom-style: solid; display: inline-block; position: relative; }

#bo_v_sns {margin:4px 0 15px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 5px 0 0}

.view-wrap .view-head {
	border-top: 2px solid #222;
	border-bottom: 1px solid #ddd;
	padding-top: 2em;
	padding-bottom: 2em;
	margin-bottom: 30px;
}
.view-wrap .view-head h1 {
	margin: 0 0 .5em;
	font-size: 32px;
}
.view-wrap .view-head .view-meta {
	text-align: left;
	font-size: 1em;
	display: flex;
	align-items: center;
}
.view-wrap .view-head .view-meta > span + span {
    position: relative;
    padding-left: 1em;
}
.view-wrap .view-head .view-meta > span + span:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    width: 2px;
    height: 15px;
    background-color: #ddd;
}
.view-wrap .view-head .cate {
	font-weight: 600;
	font-size: 1.1em;
	color: #264a8c;
	margin-bottom: 3px;
}
.view-wrap .panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border-radius: 1em;
	background: #f6f6f6;
	gap: 10px;
	padding: 1.5em;
	margin-top: 1.5em;
	border: none;
}
.view-wrap .panel:not(:has(a)) {
	display: none;
}
.view-wrap .panel a {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 0;
}
.view-wrap .panel .label {
	background-color: #000;
	border-radius: 5px !important;
	margin-left: 5px;
	vertical-align: middle;
	padding: 5px 7px;
}
.view-wrap .view-content {
	margin-top: 20px;
	margin-bottom: 30px;
}
.view-wrap .view-content .row {
	margin-left: 0;
	margin-right: 0;
}

.otherList {
	border-top: 1px solid #ddd;
	padding: 20px 0 0 0;
}
.otherList li {
    margin-top: 10px;
    display: flex;
    padding: 1.5em 1em;
    border-radius: 1em;
    background: #f6f6f6;
    position: relative;
}
.otherList .rightBar {
    flex-shrink: 0;
    color: var(--light-navy);
    line-height: 1.5em;
    font-weight: 700;
    width: 6.25em;
    text-transform: uppercase;
    line-height: 2.4rem;
}
.otherList a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #111;
}
.otherList a:hover {
	color: #264a8c;
}
.otherList li a:not(:empty):after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.otherList .icon {
	display: inline-block;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -9999px;
	vertical-align: middle;
	width: 24px;
	height: 24px;
	overflow: hidden;
	background-color: transparent;
	color: rgba(0, 0, 0, 0);
}
.otherList .icon.down {
	background-image: url('./img/btn_next1.svg');
}
.otherList .icon.up {
	background-image: url('./img/btn_prev1.svg');
}
.bt-wrap {
	text-align: center;
	margin-top: 20px;
}
.bt-wrap a {
	display: inline-block;
	font-weight: 700;
	border-radius: 5rem;
	white-space: nowrap;
	padding: .75em 1em;
	font-size: 16px;
	line-height: 1.35;
	border: 1px solid rgba(0, 0, 0, 0);
	background-color: #264a8c;
	color: #fff;
}
.bt-wrap a:hover {
	background-color: #122a56;
}

/* 댓글 */
.comment-media { }
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display:inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .media { border-top:1px solid #eee; margin:7px 0px; padding:7px 0px 0px; }
.comment-media :first-child.media { border-top:0px; margin-top:0px; padding-top:0px; }
.comment-media h5 { margin:2px 0px; line-height: 22px; }
.comment-media .media .media-body { padding-left:0px; }
.comment-media .media .media-info { margin-left:10px; }
.comment-media .media .media-content {	margin-top:8px; }
.comment-media .media .media-btn {	margin-left:4px; }
.comment-media .cmt-good-btn { text-align:right; padding-right:1px; }
.comment-media .cmt-good, .comment-media .cmt-nogood { display:inline-block; width:74px; height:20px; margin-top:10px; padding-right:10px; margin-right:-1px; font:bold 11px verdana; text-align:right; letter-spacing:-1px; line-height:19px; cursor:pointer; }
.comment-media .cmt-good { background: url('./img/cmt_good.gif') no-repeat left center; color:#f4695b; }
.comment-media .cmt-nogood { background: url('./img/cmt_nogood.gif') no-repeat left center; color:#888; }

#bo_vc_opt ol {	margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_opt ol:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_opt ol li { float:left;margin:0; }
#bo_vc_send_sns ul { margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_send_sns ul:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_send_sns ul li {	float:left;margin:0 0 0 20px; }
#bo_vc_send_sns input {	margin:0 0 0 5px; }

/* 쓰기 공통 */
.write-wrap { width:100%; overflow:hidden; }
.write-wrap h2 { padding:0px; margin:0px; font-size:14px; font-weight:bold; }
.write-wrap label { font-weight:bold; margin-top:4px; }
.write-wrap .write-content { height: 300px; }
.write-wrap .write-file { border:0;box-shadow:none; }
.write-wrap .write-btn { margin:15px 0px 25px; text-align:center; }
.write-wrap .delete-file { margin:0px; padding:0px 10px; font-weight:normal; }
.write-wrap .delete-file label { font-weight: normal; }
.write-wrap .sp-label { font-weight:normal; margin-right:10px; }
.write-wrap .sp-label input[type="checkbox"], .write-wrap .sp-label input[type="radio"] { margin-top:0px; }

#autosave_pop div { text-align:right; }
#autosave_pop button { margin:0; margin-left:10px; padding:0; border:0; background:transparent; color:#888; }
#autosave_pop ul { margin:0; padding:0; padding-left:15px; list-style:disc; }
#autosave_pop li { padding:2px 5px;  }
#autosave_pop li:after { display:block; visibility:hidden; clear:both; content:""; }
#autosave_pop a { display:block; float:left; }
#autosave_pop span { display:block;; float:right; }

.view-content .e-books {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	width: 100%;
	list-style: none;
	padding: 0;
}
.view-content .e-books:first-child {
	margin-bottom: 50px;
}
.view-content .e-books:last-child {
	margin-top: 50px;
}
.view-content .e-books a {
	background-color: #264a8c;
	color: #fff;
	padding: 10px 25px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 15px;
	display: block;
	text-align: center;
	word-break: keep-all;
}
.view-content .e-books a:hover {
	background-color: #122a56;
}
.view-content .send-log {
	text-align: center;
	margin-top: 20px;
}
.view-content .send-log button {
	background-color: #f7a50c;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	display: inline-block;
}
.view-content .send-log button:hover {
	background-color: #ffb427;
}

#sendlogModal .tbl_wrap {
	overflow: auto;
}
#sendlogModal .tbl_wrap table {
	min-width: 800px;
}
#sendlogModal .tbl_wrap table th,
#sendlogModal .tbl_wrap table td {
	text-align: center;
}

/* 반응형 공통 */
@media screen and (max-width: 600px) {
	/*.xs-hide { display:none; }*/
	.srch-box {
		padding: 15px;
		border-radius: 15px;
	}
	.srch-box .searchBox .btn {
		padding: .5em 1em;
		border-radius: 8px !important;
	}
	.srch-box .searchBox .form-control {
		padding: 10px;
	}
	.at-content .table thead {
		display: none;
	}
	.at-content .table,
	.at-content .table tbody,
	.at-content .table tr,
	.at-content .table td {
		display: block;
		width: auto;
	}
	.at-content .table tbody tr {
		padding: 10px 0;
	}
	.at-content .table tbody tr td,
	.at-content .table .tit,
	.at-content .table .meta {
		padding: 15px 10px 0 10px;
		border-top: none;
		text-align: left;
	}
	.at-content .table tbody tr td:first-child {
		padding-top: 0;
	}
	.at-content .table tbody tr {
		border-bottom: 1px solid #ddd;
	}
	.list-page .pagination > li > a,
	.list-page .pagination > li > a:has(i.fa) {
		width: 30px;
		height: 30px;
	}
	.list-page {
		margin-top: 20px;
		margin-bottom: 30px;
	}
	.list-page .pagination {
		gap: 1px;
	}

	.view-wrap .view-head {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.view-wrap .view-head h1 {
		font-size: 22px;
	}
	.view-wrap .view-head .view-meta {
		font-size: 12px;
		flex-wrap: wrap;
		/*justify-content: center;*/
	}
	.view-wrap .view-head .view-meta > span + span:before {
		display: none;
	}
	.view-wrap .panel {
		gap: 15px;
	}
	.view-wrap .panel a {
		font-size: 14px;
		line-height: 20px;
	}

	.comment-media .media .media-content {
		font-size: 14px;
	}
}
