@charset "utf-8";
/* -- 게시판 공통 -- */

.board .web_col{ display: table-column-group; }
.board .mob_col{ display: none; }
.board .mob_td{ display: none; }

@media ( max-width: 991px) {
  .board .web_col{ display: none; }
  .board .mob_col{ display: table-column-group; }
  .board .web_td{ display: none; }
  .board .mob_td{ display: table-cell; }
}
.list, .faq, .event, .qna, #story, .comment{ padding: 0 0 4% 0; }

.board{ padding-top: 50px; padding-bottom: 50px; }
.board table{ width: 100%; border-top:2px solid #e5e5e5; }
.board table th, .board table td{ text-align: center; padding: 1em 10px; }
.board table th { background: #f3f3f3; border-bottom:1px solid #eee; }
.board table td { border-bottom:1px solid #eee; }
.board table td a{ display: block; padding: 0; }
.board table .left{ text-align: left; }
@media ( max-width: 991px) {
  .board{ padding-top: 10px; padding-bottom: 10px; }
}

/* 보기  */
.board .view div img{ width:auto !important; max-width: 100% !important; height: auto !important; }
@media ( max-width: 991px) {
  .board .view div img{ float: left; }
  .board .view .notice_view img{ float: initial; }
}

/*질문과 답변*/
.faq span{ display: inline-block; padding: 10px 20px; border:1px solid #eee; border-radius: 5px; }
@media ( max-width: 991px) {
  .faq span{ padding: 10px 10px; }
}

/*비밀번호*/
.board_write_pw_modal .modal-content,
.board_read_pw_modal .modal-content { padding: 0; }
.board_write_pw_modal .modal-content p,
.board_read_pw_modal .modal-content p { padding: 15px 0 10px 0; }
.board_write_pw_modal .modal-content dl,
.board_read_pw_modal .modal-content dl { display:flex; justify-content: flex-star; align-items: center; gap: 10px }
.board_write_pw_modal .modal-content dt,
.board_read_pw_modal .modal-content dt { width: calc(100% - 90px); }
.board_write_pw_modal .modal-content dd,
.board_read_pw_modal .modal-content dd { width: 80px; }

/*이벤트*/
.event ul{ overflow: hidden; }
.event ul li{ float: left; width: 33.3%; padding: 10px; }
.event ul li a{ display: block; }
.event .img{ position: relative; overflow: hidden; }
.event i{ position: absolute; top: 0; right: 0; width: 60px; padding: 5px 0; text-align: center; overflow: hidden; }
.event i:before{ content: ""; position: absolute; top: 0; right: 0;
  border-top: 35px solid transparent;
    border-right: 55px solid rgba(255,255,255,0.1);
    border-bottom: 0 solid transparent;
    border-left: 0 solid transparent; }
.event .ing{ color: #fff; background: #51ac17; }
.event .end{ color: #fff; background: #aaaaaa; }
.event .text{ padding: 1em; border:1px solid #eee; border-top:0; background: #f3f3f3; }
.event p{ margin: 0; padding: 0.5em 0; text-align: center; }
.event span{ display: block; font-size: 0.9em; text-align: center; }

@media ( max-width: 991px) {
  .board .event ul li{ width: 50%; }
}

@media ( max-width: 767px) {
  .board .event ul li{ width: 100%; }
}

/*문의게시판*/
.faq_write { padding: 0 10%; }
.faq_write .form-group{ padding-bottom:10px; }
.faq_write .con{ height: 250px; margin: 0 0 10px 0; padding: 1em; border:1px solid #ccc; overflow-y: scroll; }
.faq_write h3{ padding: 0.7em 0; letter-spacing: -1px; border-top: 2px solid #51ac17; }
.faq_write h3 b{ font-size: 0.8em; font-weight: 300; color: #e72d18; }

.faq_write .file .add{ color: #fff; border-radius: 5px; background: #51ac17; }
.faq_write .file .del{ color: #fff; border-radius: 5px; background: #aaaaaa; }

.faq_write .spam a{ display: inline-block; height: 40px; margin: 0 0 0 5px; padding: 0 10px; line-height: 40px; border-radius: 5px; }

@media (max-width:991px) {
  .faq_write { padding: 0 5%; }
}

/*자주하는 질문*/
.qna .panel-title a{ display: block; position: relative; padding: 1em 50px 1em 45px; /*color: #fff; background: #51ac17;*/ }
.qna .panel-title a i{ position: absolute; left: 20px; color: #51ac17; }
.qna .panel-title a.collapsed i{ color: #777; }
.qna .panel-title a:after{ content: "\e945"; position: absolute; top: 0; right: 0; width: 50px; height: 50px; line-height: 50px; text-align: center; font-family: "xeicon"; color: #51ac17; }
.qna .panel-title a.collapsed:after{ content: "\e942"; color: #777; }
.qna .panel-body{ position: relative; padding: 1em 50px 1em 45px; background: #f8f8f8; }
.qna .panel-body i{ position: absolute; left: 20px; color: #777; }
.qna .in .panel-body i{ color: #51ac17; }

/* 마이페이지 리뷰
.review dl{ margin: 0; overflow: hidden; }
.review dd{ display: inline-block; padding: 0 10px 0 0; color: #acacac; vertical-align: middle; }
.review dt{ display: inline-block; font-weight: 400; color: #666; vertical-align: middle; }
.review dt span { display: inline-block; padding: 0 0 0 10px; vertical-align: bottom; font-size: 12px; color: #555; }

.review .product{ margin:15px 0 0 0; padding:10px 10px 10px 20px; border-top: 1px solid #aaa; border-bottom: 1px solid #e5e5e5; }
.review .product:nth-child(1){ margin:0; }
.review .product .img{ padding: 0; border-radius: 10px; overflow:hidden; }
.review .product .text-right a{ display:inline-block; font-size: 0.9em; color:#555; border-bottom:1px solid #fff; }
.review .product .text-right a:hover{ color: #000; border-bottom: 1px solid #555; }

.review .com { padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.review .re{ position: relative; padding: 20px 20px 20px 35px; background: #f1f2f3; border-bottom: 1px solid #e5e5e5; }
.review .re:before { content: "\e981"; font-family: 'xeicon'; position: absolute; top: 17px; left: 15px; }

.review .com div, .review .re div { padding: 10px 0 0 0; } */

/* 게시판 리뷰 */
.comment{ width:100%; border-top: 2px solid #51ac17; }
.comment .bg{ background: #f3f3f3; }
.comment li{ width:100%; padding: 1em 10px; text-align: center; border-bottom: 1px solid #eee; overflow: hidden; }
.comment .tt{ cursor: pointer; }
.comment .tt p{ padding-top: 10px; }
.comment .tt p:nth-child(1){ padding-top: 0; }
.comment .active{ background: #f9f9f9; }
.comment .com_wrap{ display:none; }
.comment .com_wrap div{ text-align: left; }
.comment .com_wrap .com{ padding: 0 10px 10px 10px; }
.comment .com_wrap .re{ position: relative; padding: 20px 20px 20px 35px; border-top:1px solid #e5e5e5; background: #f1f2f3; }
.comment .com_wrap .re:before { content: "\e981"; font-family: 'xeicon'; position: absolute; top: 17px; left: 15px; }
.comment .com_wrap .re dl{ margin: 0; }
.comment .com_wrap .re dt span{ display: inline-block; padding: 0 0 0 10px; vertical-align: bottom; font-size: 12px; color: #555; }
@media (max-width:991px) {
  .comment .tt p{ padding-top: 0; }
  .comment .tt .star{ padding: 0 5px; }
}

/* 버튼 */
.btn_wrap { padding: 1em 0; }
.btn_wrap .fl_center{ text-align: center; }
.btn_wrap .fl_left{ text-align: left; }
.btn_wrap .fl_right{ text-align: right; }
.btn_wrap a { display: inline-block; vertical-align: middle; margin: 0 5px; padding: 0 30px; line-height: 40px; }
.btn_wrap input[type="button"]{ display: inline-block; width: auto; }
.btn_wrap input[type="submit"]{ width: auto; margin: 0 5px; padding: 0 30px;  }
.login_form input[type="submit"]{ color: #fff; border-radius: 5px; background: #51ac17; }
.btn_wrap .register{ padding: 0 30px; color: #fff; background: #51ac17; } /* 등록 */
.btn_wrap .list{ padding:0 30px; color: #fff; background: #aaaaaa; } /*리스트*/
.btn_wrap .btn_write{ padding:0 30px; color: #fff; background: #51ac17; } /* 쓰기 */
.btn_wrap .btn_cancel{ padding:0 30px; color: #fff; background: #aaaaaa; }
.btn_wrap .next{ padding:0 30px; color: #fff; background: #51ac17; } /*다음*/
.btn_wrap .cancel{ padding:0 30px; color: #fff; background: #aaaaaa; } /*취소*/
.btn_wrap .order_cancel{ padding:0 10px; color: #fff; background: #51ac17; vertical-align: top; } /*주문취소*/

.btn_wrap .order_payment { width: auto; margin: 0 3px; padding:0 10px; color: #fff; background: #0e3cbd; } /*포인트 결제하기*/

/* -- 페이징 -- */
#page { clear: both; text-align: center; padding: 0 0 3% 0; }
#page a{ display: inline-block; width: 40px; height: 40px; line-height: 40px; font-weight: 500; }
#page a:hover { font-weight: 500; }
#page span { position: relative; }
#page span i{ content: ""; position: absolute; top: 45%; left: 0; display: block; width: 5px; height: 5px; border-radius: 5px; background: #444; }
#page .on {border-radius: 50%; color: #fff; background: #51ac17; }
#page .first, #page .prev, #page .next ,#page .last{ width: 20px; height: 40px; background: url('../../img/common/arrow.png') no-repeat; vertical-align: top; }
#page .first{ background-position: -40px 8px; }
#page .prev{ background-position: 0px 8px; margin: 0 2% 0 0; }
#page .next{ background-position: -20px 8px; margin: 0 0 0 2%; }
#page .last{ background-position: -60px 8px; }

/* 검색 */
.board .search_wrap{ padding:2em 0; }
#search { display: flex; justify-content: center; align-items: center; gap: 5px; width: 40%; margin: 0 auto; padding:0; overflow: hidden; }
#search select{ width: 20%; }
#search input{ width: 20%; }
#search input[type="text"]{ width: 60%; }
#search input[type="submit"]{ color: #fff; background: #51ac17; }
#search input[type="button"]{ color: #fff; background: #aaaaaa; }

@media ( max-width: 991px) {
  #search{ width: 90%;}
}

/*데이터없음*/
.no_data_wrap{ width: 100% !important; }
.no_data{ width: 100% !important; padding: 5em 0 !important; text-align: center; border:0 !important; background:#fff !important; box-shadow: none !important; }
.no_data i{ font-size: 2em !important; border-bottom: 0 !important; font-size: 2em; }
.no_data p{ padding: 20px 10px !important; font-size: 1.2em !important; font-weight: 500; }
