@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:0.75rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

/* gallery */
#bo_gallery .chk-box {
	position:absolute;
	bottom:5px;
	right:10px;
	z-index:2;
}
#bo_gallery .wr-now {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.75);
	z-index:1;
}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	min-height:200px; 
	word-break:break-all;
	overflow:hidden
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden
}
.cmt-content img {
	max-width:100%;
	height:auto
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul { 
	list-style: none; 
	margin: 0; 
}
.cmt-btn ul > li { 
	float: left; 
	font-size:12px;
	padding: 0 10px; 
}
.cmt-btn ul > li::before { 
	float: left; 
	color:#ccc; 
	content: "|"; 
	margin-left:-12px;
}
.cmt-btn ul > li:last-child { 
	padding-right:0;
}
.cmt-btn ul > li:first-child::before, 
.cmt-btn ul > li.no-bar::before { 
	content: ""; 
	margin-left:0; 
}
.cmt-btn ul > li > a { 
	float:left;
	color:#888;
	white-space:nowrap;	
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content { 
	resize:none; 
}
@media all and (max-width:575px) {
	.responsive .cmt-box {
		border-right:0 !important;
	}
	.responsive #bo_vc_w .cmt-box {
		border-left:0 !important;
		border-radius:0 !important;
	}
	.responsive #bo_vc_login {
		border-left:0 !important;
		border-right:0 !important;
		border-radius:0 !important;
	}
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {	
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
	background:#ccc;
	border-radius:3px;
}
#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 1.0rem 0 0;
}
#bo_vc_send_sns input {	
	margin:0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
	padding-left:0;
	padding-right:0;
	border-left:0;
	border-right:0;
}
#bo_w #wr_content { 
	margin-bottom:1.0rem !important;
}
@media all and (max-width:575px) {
	#bo_w .list-group-item {
		padding-left:1.0rem;
		padding-right:1.0rem;
	}
	.responsive #bo_w #wr_content {
		max-height:160px !important;
	}
}


.pointdisplay {
	display:none;
}
.btn-group-sm > .btn, .btn-sm {
	padding: 7px 12px !important;
	font-size: 16px;
	line-height: 1.5;
	border-radius: .2rem;
	color: #333;
	background: white;
	font-weight: bold;
	border-radius: 7px;
	box-shadow: 3px 4px 4px -2px #d5d5d5;
	transition: background .15s ease-in-out;
}
.pb-4 {
	box-shadow: 0 0 0 rgb(255 255 255 / 0%) !important;
	border-radius: 0px !important;
	overflow: hidden;
}
.p-2 {
	padding: 10px !important;
}
.bg-light.text-center.py-1.small.text-muted {
	border: 1px solid #0000002b;
	margin: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
}
.d-flex.justify-content-between.align-items-center.bg-danger.text-white.px-2.small {
	background: #ffffff !important;
	padding: 4px;
	color: #6c757d !important;
	border: 1px solid #0000002b;
	margin: 0px 10px;
	border-radius: 5px;
	font-size: 14px;
	margin-top: 10px;
}
.card {
	background: white;
	flex: 1;
	text-decoration: none;
	color: #000;
	transition: transform 0.2s ease;
	padding: 0px !important;
	box-shadow: 5px 5px 8px rgb(50 60 70 / 8%) !important;
	border: 1px solid #00000017;
}

.notice-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -4px 30px;
    margin-top: 40px;
}
.notice-box,.total-box{background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden;margin:0 4px 8px}
.notice-box{flex:1 1 550px;min-width:250px}
.total-box {flex:0 0 300px;max-width:300px;text-align:center}

/* -------- 박스 헤더 -------- */
.notice-box .box-hd, .total-box .box-hd {
    background: #333;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 14px;
}
/* -------- 필독사항 내부 -------- */
.notice-list{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:2px;padding:2px}
.notice-item {
    background: #f5fbff;
    border: 1px solid #2196F3;
    border-radius: 4px;
    font-size: 14px;
    color: #2196F3;
    padding: 6px 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.notice-item b {
    color: #2196F3;
    margin-right: 4px;
}

/* -------- 총 지급액 -------- */
.total-box .amount{font-size:34px;font-weight:700;color:#c82333;padding:18px 0 6px}
.total-box .unit{font-size:26px;font-weight:700;color:#000}

.position-absolute a  {
    padding-bottom: 56.25%;
    position: relative;
    border: 2px solid #007bff;
    border-radius: 5px 5px 0 0;
}

#kingModal .modal-content{border-width:3px;}
#kingTable tbody tr:nth-child(odd){background:#f8f9fa;}
#kingTable td, #kingTable th{vertical-align:middle;}
#btn-rank, #btn-my-exchange{
    font-weight:600; font-size:1rem;
    border-radius:8px;
    padding:.55rem 1.4rem;
    box-shadow:0 2px 6px rgba(0,0,0,.06);
}
#btn-rank span{font-size:1.2rem;}

.modal-content.border-danger {
	border-radius: 20px;
	max-width: 440px;
	margin: 0 auto;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 8px 8px 20px rgba(50, 60, 70, 0.3);
	border: 2px solid #0069d9 !important;
}
.text-danger {
	color: #0069d9 !important;
}
.bg-light.border.border-danger.rounded.text-center.mx-4.mb-3.py-2.font-weight-bold {
	font-size: 1.2rem;
	border: 2px solid #0069d9 !important;
	border-radius: 10px !important;
}
.modal-header.py-2.bg-danger.text-white {
	background: #ffffff !important;
	border-bottom: 0;
	margin-bottom: -20px;
}

#kingBody tr {
	background: #f7f8fa;
	font-size: 14px;
}
#freemoney_king {
	font-size: 40px;
	color: #0069d9;
	font-weight: bold;
	margin-top: 5px;
}
.modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 500px;
	box-shadow: 8px 8px 20px rgba(50, 60, 70, 0.3);
	border: 2px solid #0069d9 !important;
	border-radius: 20px;
	margin: 0 auto;
}
.modal-header.py-2.bg-secondary.text-white {
	width: 100%;
	background: #007bff !important;
	padding: 20px;
}


/*board_top_menu*/
.point-nav {
	display: flex;
	align-items: center;
	border: 3px solid #007bff;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 1.5rem !important;
}

.point-label {
	background-color: #007bff;
	color: #fff;
	font-weight: bold;
	padding: 8px 25px;
	white-space: nowrap;
	font-size: 20px;
}

.point-menu-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	flex-grow: 1;
}

	.point-menu-wrap::-webkit-scrollbar {
		display: none;
	}

.point-menu {
	display: flex;
	list-style: none;
	padding: 0 10px;
	margin: 0;
	white-space: nowrap;
}

	.point-menu li {
		margin-right: 16px;
		flex-shrink: 0;
	}

	.point-menu a {
		color: #333;
		text-decoration: none;
		font-weight: 500;
		padding: 10px 5px;
		display: inline-block;
		font-size: 16px;
		font-weight: bold;
	}

/* 반응형: 모바일일 때 포인트존 숨김 */
@media (max-width: 767px) {
	.point-nav {
		border-radius: 0;
		border-left: none;
		border-right: none;
	}

	.point-label {
		display: none;
	}

	.point-menu-wrap {
		padding: 6px 0;
	}

	.point-menu a {
		font-size: 14px;
	}
}

.point-menu li:first-child a {
	padding-left: 20px;
}

/*board_top_menu end*/

@media (max-width: 767.98px) {
	.notice-list {
		display: flex;
		grid-template-columns: repeat(2,1fr);
		grid-gap: 2px;
		padding: 2px;
		flex-direction: column;
	}

	.total-box {
		text-align: center;
		width: 100%;
		max-width: 100%;
		flex: auto;
	}
}