@charset "utf-8";
@import url('https://db.onlinewebfonts.com/c/6d2a9bcf540150d9e12e88c4b0c5c305?family=Media+Sans+Extended');

/****메시지 세로는 로그/갤러리 세로 기준으로 수정 가능합니다*****/

/*Custom Color*/
:root {
--box-color:white; /*전체 메시지 박스 색*/
--box-txt-color:#020715; /*메시지 보내기 창 글씨색*/
--message-box-color:white; /*메시지 버블 색*/
--message-txt-color:#020715; /*메시지 글자 색*/
--message-radius:12px; /*메시지 둥글기*/
--date-txt-color:white; /*날짜 및 버튼 및 이름 색*/
}


@font-face {
	font-family: 'Freesentation9';
	src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
}
@font-face {
	font-family: 'Freesentation5';
	src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Freesentation/Freesentation-5Medium.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Freesentation3';
	src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Freesentation/Freesentation-3Light.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'LeferiPoint-WhiteObliqueA';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/LeferiPoint-WhiteObliqueA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

::selection			{ -webkit-text-fill-color: white; }
::-moz-selection	{ -webkit-text-fill-color: white;}
::-webkit-selection	{ -webkit-text-fill-color: white;}

.svg-wrap {width:108px;}

/** Notice Box **/
.board-notice	{ width: 340px; padding: 20px; margin: 20px auto; text-align: center; box-sizing: border-box;}
.qna-box		{ overflow: hidden; }

.announce {padding:5px 0;color:#ccc;margin:0;}
.ui-option					{ clear: both; padding-bottom: 10px;  font-weight: 800; letter-spacing: 1px; }
.ui-write-box				{ margin: 0 auto; width: 100%; overflow: hidden; }
.ui-write-box textarea		{ width: 100%; box-sizing: border-box; 	background:var(--box-color); color:var(--box-txt-color); border: 1px solid;}
.ui-control					{ padding: 6px 0 0; overflow: hidden; text-align: right;}

.ui-write-area.top			{ margin-bottom: 20px; }

/**PAGE**/
.ui-qna-list .pg_wrap {padding:0; text-align:right;}
.ui-qna-list .pg_wrap .pg_page, .ui-qna-list .pg_wrap .pg-number-group .pg_page, .ui-qna-list .pg_wrap .pg_control {color:var(--box-point-color); border-radius:100%; border:1px solid var(--box-point-color); font-size: 12px; width: 12px; height: 12px;  line-height: 12px; padding: 4px; text-align:center; background:var(--box-color);}
.ui-qna-list .pg_wrap .pg_page:hover, .ui-qna-list .pg_wrap .pg-number-group .pg_page:hover, .ui-qna-list .pg_wrap .pg_control:hover, .ui-qna-list .pg_wrap .pg-number-group .pg_page.pg_current {background:var(--box-point-color); color:var(--box-color);}


/*Button*/
#bo_btn_top {margin: 10px 0;}
.btn_bo_user {float: right; margin: 0; padding: 0; list-style: none;}

/*FOOTER*/
.ui-msg-footer .arrow {width:40px; bottom: 12px; left: 96px; position: absolute;}
.ui-msg-footer .line-round {  filter: drop-shadow(var(--box-point-color) 1px 0px 0px) drop-shadow(var(--box-point-color) 0px 1px 0px) drop-shadow(var(--box-point-color) -1px 0px 0px) drop-shadow(var(--box-point-color) 0px -1px 0px); position:absolute; bottom:24px;}
.ui-msg-footer .bottom-round {width:100px; height:100px; border-radius:100%; background:var(--box-point-color); line-height:100px; text-align:center; position:absolute; bottom:-12px; left:-16px;}
.ui-msg-footer .bottom-round:before {position:absolute; width:160px; height:160px; border-radius:100%; border:1px solid var(--box-point-color); content:''; left:0; bottom:0;}
.ui-msg-footer .svg {width:68px;}




/*QNA list*/
.qna-list {padding-right:60px;}
.ui-qna-list .logo {width:148px;}

.ui-qna-list {
	position: relative;
	clear: both;
	animation-duration: 100s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: linear;
	border-radius: 0 20px 20px 0;
	font-family:'Freesentation5';
	background: var(--box-color);
	border: 1px solid var(--box-txt-color);
	box-shadow: 12px 12px var(--box-txt-color);
	font-size:14px;
	padding:12px 20px 20px;
	max-width:640px;
	margin:0 auto;
}

.ui-qna-list * {font-family:'Freesentation5';}

.ui-header {text-align: center; display:flex; align-items: flex-end; gap:12px; margin-bottom:12px; position:relative; }
.ui-header .ab-svg {position:absolute;}
.ui-header .rounded-star {width:160px; left:-20px; left:-44px; bottom:-4px;}
.ui-header .decor {width:72px; right: -4px; top: -20px;}
.ui-header .subject{background: var(--box-point-color);
    font-family: 'Media Sans';
    font-size: 40px;
    color: var(--date-txt-color);
    line-height: 40px;
    padding: 8px;
	position:relative;
	}
.ui-header .subject span {font-family: 'Media Sans'; position:relative; z-index:1;}
.ui-header .barcode {color:var(--box-point-color);}

.ui-footer {border-radius: 0px 0px 15px 15px;}



/*MESSAGE*/

.ui-message {background: rgba(255,255,255,0.4); clear:both; margin-top:20px;}
.ui-msg-content {    position: relative;  z-index: 1;}
.datetime {    display: inline-block;
    border: 1px solid var(--box-txt-color);
    border-radius: 20px;
    padding: 4px 8px;
    line-height: 12px;
    font-size: 12px;}
.secret-comment {
	margin-left: calc(70% - 48px);
	width: 30%;
	background: var(--message-box-color);
    color: var(--message-txt-color);
    border-radius: var(--message-radius);
    box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%);
	padding: 15px;
    line-height: 1.8em;
	margin-bottom: 12px;
	position: relative;
}

.secret-comment:after
{
    content: '';
    border-bottom: 15px solid var(--message-box-color);
    border-right: 15px solid transparent;
    position: absolute;
    right: 0px;
}


.ui-qna-list .message-box .qna-content a {color:var(--message-txt-color);}
.sv_guest, .sv_member, .member {font-weight:600;}
.qna-content, .qna-admin-content { padding: 12px;  line-height: 1.8em; width: 360px; background: var(--message-box-color); color: var(--message-txt-color); border-radius: var(--message-radius); border:1px solid; word-break: break-all; box-shadow: 0px 8px var(--box-point-color); margin-bottom:28px;}
.qna-content .qna-content-flex, .qna-admin-content .qna-admin-flex {display:flex; gap:12px;}
.qna-content .qna-content-flex .profile, .qna-admin-content .qna-admin-flex .profile {width:44px; height:44px; border:1px solid var(--message-txt-color); background:var(--box-point-color); object-fit:cover; border-radius: 100%;}


/*COMMENT LIST*/

.ui-qna-list li					{  }
.ui-qna-list > ul > li			{margin:20px 0;}
.ui-qna-list li p				{ clear: both; line-height: 1.5em; overflow: hidden; font-size: 1.2em;}
.ui-qna-list li p i				{ position: relative; font-style: normal; padding-right: 10px; margin-right: 5px; }
.ui-qna-list li p em			{ font-style: normal; margin-right: 20px; }
.ui-qna-list li p strong a		{ display: inline-block; font-size:9px; padding: 2px 5px; font-weight: normal; }
.ui-qna-list li p span.date		{ float: right; }

.ui-qna-list li .qna-comment-content	{ line-height: 1.2em; }
.qna-content-footer { display: flex; align-items: center; justify-content: space-between;  margin-top: 12px;}

.ui-qna-list li ul				{ 
    position: relative;
    color: var(--date-txt-color);
    display: flex;
    justify-content: flex-end;
	}

.ui-qna-list .message-box {position: relative;}
.ui-qna-list .message-box a {font-size:12px;}

.ui-qna-list .qna-btn {}
.ui-qna-list .qna-btn a {
    color: var(--box-point-color);
    border: 1px solid;
    width: 12px;
    height: 12px;
    display: inline-block;
    line-height: 12px;
    text-align: center;
    border-radius: 100%;
    padding: 2px;
    font-size: 10px;
    font-weight: 900;
}

.ui-qna-list .qna-btn a:hover, .ui-qna-list .qna-btn a.del {background:var(--box-point-color); color:var(--message-box-color); border:1px solid var(--box-point-color);}

.ui-qna-list li ul li strong.button			{ float: right; }

.ui-qna-list .ui-qna-list-password label		{ padding-right: 10px; }
.ui-qna-list .ui-qna-list-password label.blur	{ text-shadow: none; }
.ui-qna-list .ui-qna-list-password input		{ position: relative; z-index: 1; border:1px solid var(--box-point-color);}
.ui-qna-list .ui-qna-list-password button		{ 
	height: 28px; line-height: 28px; padding: 0 25px;
	margin-left: -5px; border-left-width: 0;

}

/*Write*/
.ui-qna-list .open-write-area {background:var(--box-point-color);color:var(--message-box-color);cursor: pointer;padding: 2px 16px;border-radius: 20px;margin-bottom: 8px;display: inline-block;float: right;}
.ui-qna-list li div.ui-write-area					{ padding: 10px 0; margin-left: 50%; background: transparent; background: none; border: none; background: var(--box-color); border-radius: var(--message-radius); margin-top: 10px;}

.ui-qna-list li div.ui-write-area button			{ white-space:nowrap; height: 28px; line-height: 28px; padding: 0 25px; margin-top: 5px; }
.ui-qna-list li div.ui-write-area textarea			{
	width: 100%;
	height: 100px;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	word-break: break-all;
	background:var(--box-color);
	color:var(--box-txt-color);
}

.ui-qna-list .no-data			{ text-align: center; line-height: 100px; padding: 50px; }

.search-box			{ clear: both; float: right; margin-bottom: 10px; }
.ui-qna-list .ui-control label, .ui-qna-list .ui-control a, .ui-qna-list .ui-control {color:var(--message-txt-color);}

.ui-control input[type="text"],
.ui-control input[type="password"]	{ margin-bottom: 5px; }


/**IMGBOX**/
.ui-top {margin:20px 0 8px;display: flex;align-items: flex-start;gap: 20px;}
.preview-profile {overflow:hidden; border-radius:50%; width:60px;}
.ui-profile-icon {display: flex; align-items: center; gap: 8px;  margin-bottom: 16px; position:relative; z-index:3;}

.select-icon { width:42px; height: 42px;overflow: hidden;}
.select-icon.on {overflow:visible; width:196px;}
.profile-select {display:none;}
.select-icon li {height:40px;border-radius: 100%;border: 1px solid #ccc;overflow: hidden; width:40px; display:inline-block;}
.select-icon label {display:block;width:40px;}

#empty_box{position:fixed; top:0; left:0; right:0; bottom:0; width:100%; height:100%; background:rgba(0,0,0,.7); z-index:2; display:none; cursor:pointer;}
#empty_box.on {display:block;}

@media all and (max-width: 700px) {
	.qna-list {padding-right: 40px;}
	.ui-qna-list li ul { margin-left: 40px; }
	.ui-qna-list li .qna-content {width: calc(100% - 124px); padding:10px;}

}

@media all and (max-width: 680px) {
	.ui-header {display:block;}
	.ui-header .barcode {    display: flex;    justify-content: space-between;    align-items: center;    margin-top: 4px;}
}

@media all and (max-width: 535px) {
	.ui-control button	{ display: block; clear: both; width: 100%; }
	.ui-qna-list {max-width:100% !important;}
}


@media all and (max-width: 460px) { 
	.qna-list {padding-right:0;}
	.ui-qna-list li ul li {padding:10px;}
}

@media all and (max-width: 435px) {
	.ui-control input[type="text"],
	.ui-control input[type="password"]	{ display: block; clear: both; width: 100%; }
	.ui-qna-list	{ padding: 0 0; }
}

@media all and (max-width: 370px) {
	.ui-qna-list .ui-qna-list-password		{ position: relative; padding-right: 90px; }
	.ui-qna-list .ui-qna-list-password .ui-submit	{ position: absolute; top: 0; right: 0; width: 90px; }
	.ui-qna-list .ui-qna-list-password input		{ width: 100%; }
}

@media all and (max-width: 380px) {
	.ui-qna-list .ui-qna-list-password label	{ display: none; }
}