@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 table{ width: 100%; border-top:2px solid #000; }
#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.5em 10px; }
#board table .left{ text-align: left; }

/* 보기  */
#board .view div img { width:auto !important; max-width: 100% !important; height: auto !important; }
#board .view .con { text-align: left; }
@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; }
}

/*비밀번호*/
#pass .modal-content{ padding: 1em; border:5px solid #000; }
#pass .modal-header{ text-align: center; border-bottom: 0; }
#pass a{ display: block; line-height: 40px; text-align: center; color: #fff; background: #aaaaaa; }

/*이벤트*/
.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: #000; }
.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 #19ce60; }
.faq_write h3 b{ font-size: 0.8em; font-weight: 300; color: #e72d18; }

.faq_write .file .add{ color: #fff; border-radius: 5px; background: #000; }
.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: #000;*/ }
.qna .panel-title a i{ position: absolute; left: 20px; color: #000; }
.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: #000; }
.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: #000; }

/* 게시판 리뷰 */
.comment { width:100%; }
.comment dl { margin: 0 0 30px 0; border: 1px solid #d3d3d3; border-radius: 10px; overflow: hidden; }
    .comment dt { width: 230px; float: left; }
    .comment dd { width: calc( 100% - 230px ); float: left; padding: 20px 20px; }

    .comment h4 { padding: 0 0 5px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
        .comment h4 a { display: block; width: calc( 100% - 85px ); }
        .comment h4 span { font-size: 0.7em; }

    .comment dd p { padding: 10px 0; color: #666; border-top: 1px solid #d3d3d3; border-bottom: 1px solid #d3d3d3; }
        .comment dd .con { margin: 10px 0; text-overflow:ellipsis; overflow:hidden; display: -webkit-box; -webkit-line-clamp: 3; /* text-overflow: ellipsis;  라인수 */
    -webkit-box-orient: vertical; line-height: 1.5em; height: 4.5em; /* line-height 가 1.2em 이고 3라인을 자르기 때문에 height는 1.2em * 3 = 3.6em */}
    .comment dd h6 { color: #999; }

.comment_view .con { padding: 0 0 20px 0; }
.comment_view .photo { padding: 0 0 20px 0; overflow: hidden; }
.comment_view .photo li { float: left; padding: 0 5px; cursor: pointer; }
.comment_view .photo img { width: 80px; max-width: 100%; height: 80px; max-height: 100%; }
.comment_view .re { position: relative; padding: 10px 10px 10px 30px; text-align: left; border-radius: 10px; background: #f7f7f7; }
.comment_view .re:before { content: "\e981"; font-family: 'xeicon'; position: absolute; top: 10px; left: 10px; }
.comment_view .re p { padding: 0 0 5px 0; font-size: 0.9em; }

.photo_modal img { width: auto; max-width: 100%; }
.modal-open .photo_modal.modal { text-align: center; }
.photo_modal .modal-dialog { display: inline-block; width: initial; padding: 0; }
.photo_modal .modal-header { padding: 0; text-align: right; }
.photo_modal .modal-header button { font-size: 1.5em; color: #fff; border: 0; background: none; }
.photo_modal .modal-content { padding: 0; text-align: center; border: 0; }
.photo_modal .modal-content span { display: black; position: absolute; top:50%; z-index: 10; width: 30px; height: 50px; line-height: 50px; font-size: 1.2em; color:#fff; background: rgba(0, 0, 0, 0.5); cursor: pointer; }
.photo_modal .modal-content .left_btn { left: 0; }
.photo_modal .modal-content .right_btn { right: 0; }

@media (max-width:767px) {
    .comment dt { width: 100px; float: left; }
    .comment dd { width: calc( 100% - 100px ); float: left; padding: 10px; }
    .comment h4 a { display: block; width: calc( 100% - 70px ); }
}

.photo { padding: 5% 0; }
    .photo li { padding-bottom: 20px; }
    .photo div { border: 1px solid #d3d3d3; border-radius: 10px; overflow: hidden; }

/* 버튼 */
.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="submit"]{ width: auto; margin: 0 5px; padding: 0 30px;  }
.login_form input[type="submit"]{ color: #fff; border-radius: 5px; background: #000; }
.btn_wrap .register{ width: auto; margin: 0 5px; padding: 0 30px; color: #fff; background: #000; } /* 등록 */
.btn_wrap .list{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #aaaaaa; } /*리스트*/
.btn_wrap .btn_write{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #19ce60; } /* 쓰기 */
.btn_wrap .btn_cancel{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #aaaaaa; }
.btn_wrap .next{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #000; } /*다음*/
.btn_wrap .cancel{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #aaaaaa; } /*취소*/
.btn_wrap .order_cancel{ width: auto; margin: 0 5px; padding:0 30px; color: #fff; background: #000; } /*주문취소*/

/* -- 페이징 -- */
#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: #19ce60; }
#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; text-align: center; font-size: 0px; }
#search{ width: 40%; margin: 0 auto; padding:0; overflow: hidden; }
#search select{ display: inline-block; width: 20%; font-size: 16px; }
#search input{ display: inline-block; width: 20%; font-size: 16px; }
#search input[type="text"]{ width: 40%; }
#search input[type="submit"]{ color: #fff; border: 1px solid #000; background: #000; }
#search input[type="button"]{ color: #fff; border: 1px solid #aaa; background: #aaa; }

@media ( max-width: 991px) {
  #search{ width: 90%;}
  #search select{ font-size: 12px; }
  #search input{ font-size: 12px; }
}

/*데이터없음*/
.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; }

/* 맞춤견적 */
	.custom h1 { padding:0 0 20px 0; font-weight:800; }
	#board .custom table td { text-align: left; }
	#board .custom table th { padding: 10px 7px; letter-spacing: -1px; }
	.custom span { font-size:12px; color:#666; }
	.custom > div { padding: 20px 0 40px 0; }
	.custom a { display:block; max-width: 40%; margin: 0 auto; line-height: 60px; font-size: 1.2em; font-weight: 800; text-align: center; color:#fff;  border-radius: 5px; background: #000; } 
	