@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,600;0,800;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;font-size:0.75em;font-family: 'Noto Sans KR', sans-serif;font-weight:400;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family: 'Noto Sans KR', sans-serif;font-weight:400}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, button {margin:0;padding:0;font-family: 'Noto Sans KR', sans-serif;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}

textarea, select {font-family: 'Noto Sans KR', sans-serif;font-weight:400;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}

*, :after, :before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

input[type=text],input[type=password], textarea {
-webkit-transition:all 0.30s ease-in-out;
-moz-transition:all 0.30s ease-in-out;
-ms-transition:all 0.30s ease-in-out;
-o-transition:all 0.30s ease-in-out;
outline:none;
}

input[type=text]:focus,input[type=password]:focus, textarea:focus,select:focus {
}

.placeholdersjs {color:#aaa !important}

/* 레이아웃 크기 지정 */
#hd, #wrapper, #ft {min-width:1650px;background:#1D1D1D}

#hd_wrapper,
#gnb .gnb_wrap{width:1200px},
#container_wr{width:1650px}

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#1D1D1D}
.hd_pops img {max-width:100%}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0;right:0}

/* 상단 레이아웃 */
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#logo {float:left;margin-right:30px;margin-top: -10px;}
.hd_sch_wr {position:absolute;right:0;top:10px;padding:0;width:200px;}
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_sch {overflow:hidden}
#hd_sch #sch_stx {float:left;width:155px;height:40px;padding-left:10px;background:#fff;border:0;font-size:1.25em;color:#000;outline:none}
#hd_sch #sch_submit {float:right;width:35px;height:40px;border:0;background:#fff;color:#aaa;cursor:pointer;font-size:20px}
#hd_sch input[type=text]:focus {box-shadow:none;border:0px solid #558ab7 !important;}

#hd_wrapper {position:relative;margin:0 auto;padding:15px 0 7px;zoom:1}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}

.hd_login {text-align:right}
.hd_login li {display:inline-block;margin:0 5px;border-left:1px solid #999;padding-left:10px;line-height:13px}
.hd_login li:first-child {border-left:0}
.hd_login a {font-size:13px;color:#fff;letter-spacing:-1px}

/* 메인메뉴 */
#gnb {position:relative;padding:0 0 20px;border-bottom:1px solid #e0e2e5}
#gnb > h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap {margin:0 auto;position:relative}
#gnb .gnb_wrap:hover, #gnb .gnb_wrap:focus, #gnb .gnb_wrap:active{z-index:3}
#gnb .gnb_wrap:after {display:block;visibility:hidden;clear:both;content:""}
#gnb #gnb_1dul {font-size:1.083em;padding:0;zoom:1}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left;line-height:55px;padding:0px;position:relative}
#gnb .gnb_1dli:hover > a {}

.gnb_1dli .bg {position:absolute;top:24px;right:8px;display:inline-block;width:10px;height:10px;overflow:hidden;background:url('./images/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px}
.gnb_1da {display:block;padding:0 25px;font-size:18px;color:#fff;font-weight:normal;text-decoration:none}
.gnb_1dli:first-child a.gnb_1da{padding-left:0;}
.gnb_1dli:last-child a.gnb_1da{padding-right:0;}
.gnb_1dli.gnb_al_li_plus .gnb_1da{padding-right:25px}
.gnb_2dli:first-child {border:0}
-webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
-moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.gnb_2da {display:block;padding:0 10px;line-height:40px;background:#fff;color:#080808;text-align:left;text-decoration:none}
a.gnb_2da:hover {color:#3a8afd;background:#f7f7f8;
-moz-transition:all 0.3s ease-out;
-o-transition:all 0.3s ease-out;
transition:all 0.3s ease-out}



.gnb_2dul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    width: auto;
    min-width: 200px;
    z-index: 999;
    padding: 15px;
    border-radius: 4px;
}
.gnb_1dli:hover .gnb_2dul {
    display: block;
}

/* 가로 메뉴 스타일 */
.gnb_2dul.region_menu, .gnb_2dul.theme_menu {
    flex-wrap: wrap;
    width: auto;
    min-width: 600px;
    max-width: 800px;
	line-height:30px;
}

/* 가로 메뉴 항목 스타일 */
.region_menu .gnb_2dli, .theme_menu .gnb_2dli {
    flex: 0 0 auto;
    white-space: nowrap;
}

.gnb_2da {
    display: inline-block;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 3px;
}
.gnb_2da:hover {
    background: #f5f5f5;
    color: #000;
}

/* 메뉴 위치 조정 */
#gnb_1dul > li:nth-child(n+4) .gnb_2dul {
    left: auto;
}

/* 활성화된 메뉴 클래스 */
.menu-active > .gnb_2dul {
    display: flex !important;
}


.gnb_wrap .gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2.7em;color:#080808}
.gnb_wrap .gnb_empty a {color:#3a8afd;text-decoration:underline}
.gnb_wrap .gnb_al_ul .gnb_empty, .gnb_wrap .gnb_al_ul .gnb_empty a {color:#555}

#gnb .gnb_menu_btn {background:#fff;color:#000;width:50px;height:52px;border:0;vertical-align:top;font-size:18px;margin-right:10px}
#gnb .gnb_close_btn {background:#fff;color:#b6b9bb;width:50px;height:50px;border:0;vertical-align:top;font-size:18px;position:absolute;top:0;right:0}
#gnb .gnb_mnal {float:left;padding:0}

.gnb_on {color:#35c5f0}

#lnb_category {margin:0 0 40px}
#lnb_category .lnb_wrap {background:#fff}
#lnb_category .lnb_wrap > ul {}
#lnb_category .lnb_wrap > ul > li {position:relative;border-bottom:1px solid #eee}
#lnb_category .lnb_wrap > ul > li > span {cursor:pointer;color:#222;padding:0 10px;font-size:15px;line-height:40px;height:40px;font-weight:bold;display:block;}
#lnb_category .lnb_wrap > ul > li > span.li_more {background:url(/images/lnb_down.png) no-repeat right 12px center;background-size:11px auto;}
#lnb_category .lnb_wrap > ul > li > span a {display:block}
#lnb_category .lnb_wrap > ul > li.active > span.li_more {background-image:url(/images/lnb_up.png);}
#lnb_category .lnb_wrap > ul > li > ul {display:none;padding-bottom:15px}
#lnb_category .lnb_wrap > ul > li > ul > li {line-height:27px}
#lnb_category .lnb_wrap > ul > li > ul > li > a {position:relative;font-size:14px;color:#777;padding:0 10px;letter-spacing:-1px}

#aside .lat_more {position:absolute;top:9px;right:8px;display:block;width:40px;font-size:12px;line-height:25px;color:#888;text-align:center}

.aside_banner img {margin-bottom:12px}

#aside, #aRight {width:200px;padding:0;height:100%;}
.aside_partner {margin:0 0 15px;padding:12px 15px;font-size:15px;font-weight:bold;border:1px solid #dadada}
.aside_mypost {position:relative;margin:0 0 15px;border:1px solid #dadada}
.aside_mypost h2 {padding:12px 15px;font-size:15px;font-weight:bold;border-bottom:1px solid #dadada}
.mypost_none {padding:12px 15px;font-size:13px;line-height:50px;color:#aaa}

.mypost_con {padding:12px 15px}
.mypost_info {margin:5px 0 12px}
.mypost_info .info_name {margin:0 0 5px;font-size:14px;font-weight:bold;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.mypost_info .btn_mylink {color:#888}
.mypost_info .btn_mylink i {font-size:14px}

.mypost_jump {margin:0 0 8px}
.mypost_jump a {display:inline-block;margin-right:5px;padding:6px 0;width:100px;text-align:center;border:1px solid #696969;border-radius:5px}
.mypost_jump a.btn_jump1 {background:#696969;color:#fff}
.mypost_jump a.btn_jump2 {color:#000}

.aside_myhope {position:relative;margin:0 0 20px;border:1px solid #dadada}
.aside_myhope h2 {padding:12px 15px;font-size:15px;font-weight:bold;border-bottom:1px solid #dadada}
.zzim_ul {}
.zzim_ul li {position:relative;padding:3px 0;padding-left:10px;font-size:13px;color:#686868;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.zzim_ul li:before{position: absolute;top: 10px;left: 0px;width: 4px;height: 4px;background: #f8313e;content: '';border-radius: 50%;}
.empty_zzim {font-size:13px;line-height:50px;color:#aaa}

/* 중간 레이아웃 */
#wrapper {}
#container_wr {margin:0 auto;zoom:1;display:flex;gap:25px;width:1650px;}

#container {position:relative;min-height:500px;height:auto !important;height:500px;font-size:1em;width:1200px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;margin:0 auto;font-weight:bold}
#container_title span {margin:0 auto 10px;display:block;line-height:30px}

.lt_wr{width:48%}
.lt_wr:nth-child(2n+1){clear:both}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}

/* 출근부 등록 */
.at_color1 {color:#ff6600;border:1px solid #ff6600}
.at_color2 {color:#ffa200;border:1px solid #ffa200}
.at_color3 {color:#ffcc33;border:1px solid #ffcc33}
.at_color4 {color:#ff99ff;border:1px solid #ff99ff}
.at_color5 {color:#ff96bb;border:1px solid #ff96bb}
.at_color6 {color:#db91a1;border:1px solid #db91a1}
.at_color7 {color:#ff6699;border:1px solid #ff6699}
.at_color8 {color:#e84ab9;border:1px solid #e84ab9}
.at_color9 {color:#ff33cc;border:1px solid #ff33cc}
.at_color10 {color:#9999ff;border:1px solid #9999ff}
.at_color11 {color:#a15efb;border:1px solid #a15efb}
.at_color12 {color:#c275e2;border:1px solid #c275e2}
.at_color13 {color:#cd99ff;border:1px solid #cd99ff}
.at_color14 {color:#009ce5;border:1px solid #009ce5}
.at_color15 {color:#6699ff;border:1px solid #6699ff}
.at_color16 {color:#66ccff;border:1px solid #66ccff}
.at_color17 {color:#89c3cf;border:1px solid #89c3cf}
.at_color18 {color:#00ef22;border:1px solid #00ef22}
.at_color19 {color:#00cdc6;border:1px solid #00cdc6}
.at_color20 {color:#77b950;border:1px solid #77b950}
.at_color21 {color:#52d87b;border:1px solid #52d87b}
.at_color22 {color:#ada366;border:1px solid #ada366}
.at_color23 {color:#4c4c4c;border:1px solid #4c4c4c}
.at_color24 {color:#b15c00;border:1px solid #b15c00}
.at_color25 {color:#cb033c;border:1px solid #cb033c}

/* 출근부 출력 */
.at_vcolor1 {color:#ff6600;background:#fbf8f3}
.at_vcolor2 {color:#ffa200;background:#fbf8f3}
.at_vcolor3 {color:#ffcc33;background:#fbf8f3}
.at_vcolor4 {color:#ff99ff;background:#fbf8f3}
.at_vcolor5 {color:#ff96bb;background:#fbf8f3}
.at_vcolor6 {color:#db91a1;background:#fbf8f3}
.at_vcolor7 {color:#ff6699;background:#fbf8f3}
.at_vcolor8 {color:#e84ab9;background:#fbf8f3}
.at_vcolor9 {color:#ff33cc;background:#fbf8f3}
.at_vcolor10 {color:#9999ff;background:#fbf8f3}
.at_vcolor11 {color:#a15efb;background:#fbf8f3}
.at_vcolor12 {color:#c275e2;background:#fbf8f3}
.at_vcolor13 {color:#cd99ff;background:#fbf8f3}
.at_vcolor14 {color:#009ce5;background:#fbf8f3}
.at_vcolor15 {color:#6699ff;background:#fbf8f3}
.at_vcolor16 {color:#66ccff;background:#fbf8f3}
.at_vcolor17 {color:#89c3cf;background:#fbf8f3}
.at_vcolor18 {color:#00ef22;background:#fbf8f3}
.at_vcolor19 {color:#00cdc6;background:#fbf8f3}
.at_vcolor20 {color:#77b950;background:#fbf8f3}
.at_vcolor21 {color:#52d87b;background:#fbf8f3}
.at_vcolor22 {color:#ada366;background:#fbf8f3}
.at_vcolor23 {color:#4c4c4c;background:#fbf8f3}
.at_vcolor24 {color:#b15c00;background:#fbf8f3}
.at_vcolor25 {color:#cb033c;background:#fbf8f3}

/* 출근부 최신글 */
.attend_cont {position:relative}
.attend_ul:after {display:block;visibility:hidden;clear:both;content:""}
.attend_ul {float:left}
.attend_ul:after {display:block;visibility:hidden;clear:both;content:""}
.attend_ul li {float:left;position:relative}
.attend_ul li a {position:relative;}
.attend_ul .att_item {position:relative;display:inline-block;margin-right:5px;margin-bottom:5px;padding:4px 7px;font-size:13px;letter-spacing:-1px;border-radius:3px}
.attend_ul .empty_att .att_item {background:#f9f9f9;color:#ccc}
.attend_ul .att_item:hover .att_del {opacity:1;}
.attend_ul .att_del{opacity:0;position:absolute;top:0;left:0;padding:4px 7px;width:100%;height:100%;background:rgba(0,0,0,0.6);border-radius:3px;transition: all 0.3s ease;}
.attend_ul .att_del:hover{opacity:1;}
.attend_ul .att_del{color:#fff;text-align:center}

/* 메인-최신글 타이틀 */
.main_lat_hd {position:relative;margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid #eee;letter-spacing:-1px}
.main_lat_hd strong {font-size:19px}
.main_lat_hd span {margin-left:10px;font-size:15px;color:#a5a5a5}
.main_lat_hd .lat_more {position:absolute;top:2px;right:0;display:block;width:40px;font-size:13px;line-height:25px;color:#555;text-align:center}

/* 메인-최저가 마사지 */
#main_lowest {position:relative;margin:0 0 50px}
#main_lowest .slick-slide img {width:100%;height:auto}
#main_lowest .slick-slide {margin:10px 9px}
#main_lowest .item_lowest {width:200px}
#pager {position:absolute;right:0;top:3px}
#pager .prev{display:inline-block;cursor:pointer;margin-right:2px}
#pager .next{display:inline-block;cursor:pointer}
#main_lowest .item_shop_img {}
#main_lowest .item_shop_info {padding:12px 0;text-align:left}
#main_lowest .item_shop_info .item_name {padding:0;height:23px;font-size:15px;color:#000;font-weight:bold;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
#main_lowest .item_shop_info .item_price {padding:0;height:25px;letter-spacing:-1px}
#main_lowest .item_shop_info .item_cust_price {margin-right:5px;text-decoration:line-through;font-size:14px;color:#a5a5a5}
#main_lowest .item_shop_info .item_shop_price {color:#000;font-size:16px;font-weight:bold;letter-spacing:-1px}
.item_stats {margin:2px 0 0;font-size:12px}
.item_stats .item_review {margin-right:7px;color:#000}
.item_stats .fa-pencil {color:#f8313e}
.item_stats .fa-eye {color:#4769FF}

/* 메인-신규입점 */
#main_new {position:relative;margin:0 0 50px}
#main_new .new_cont {}
#main_new .new_cont:after {display:block;visibility:hidden;clear:both;content:""}
#main_new .lat_new1 {position:relative;float:left;margin:0 20px;width:300px}
#main_new .lat_new2 {position:relative;float:right;margin:10px 0 0;width:480px}

/* 신규입점-Left */
#pager2 img {width:24px;height:auto}
#pager2 .prev2{position:absolute;top:37%;left:-20px;cursor:pointer}
#pager2 .next2{position:absolute;top:37%;right:-20px;cursor:pointer}
.lat_new1 .item_new {}
.lat_new1 .item_new img {width:100%;height:auto}
.lat_new1 .item_shop_img {}
.lat_new1 .item_shop_info {padding:12px 0;text-align:left}
.lat_new1 .shop_name {font-size:17px;font-weight:bold;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.lat_new1 .shop_info {margin:10px 0 0;font-size:13px;line-height:17px;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

/* 신규입점-Right */
.lat_new2 .item_new2 {position:relative;margin:0 0 13px;padding:0 0 13px;border-bottom:1px solid #eee}
.lat_new2 .item_new2:after {display:block;visibility:hidden;clear:both;content:""}
.lat_new2 .item_new2 img {width:100%;height:auto}
.lat_new2 .item_shop_img {float:left;width:20%}
.lat_new2 .item_shop_info {float:left;width:80%}
.lat_new2 .shop_name {padding:0 0 0 10px;font-size:15px;font-weight:bold}
.lat_new2 .shop_info {padding:2px 0 0 10px;font-size:13px;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.lat_new2 .shop_tag {position:absolute;left:105px;bottom:13px;width:375px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.lat_new2 .shop_tag span {display:inline-block;margin:0 1px;padding:0 7px 1px;line-height:22px;color:#686868;letter-spacing:-1px;background:#f2f2f2}

/* 메인-매니저 출근부 */
#main_attend {position:relative;margin:50px 0 50px}
#main_attend .attend_cont {margin-left:0}
.attend_list {position:relative;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #eee}
.attend_list:after {display:block;visibility:hidden;clear:both;content:""}
.attend_list .att_shop {line-height:30px;font-size:15px;font-weight:normal;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

/* 메인-중간배너 */
#main_ad_mid {margin:0 0 50px}
#main_ad_mid img {width:100%;height:auto}

/* 메인-지역별 업체 */
.region_tab {padding:5px 0 12px}
.region_tab:after {display:block;visibility:hidden;clear:both;content:""}
.region_tab ul {}
.region_tab li {float:left;width:10.64%}
.region_tab li {display:block;margin:0 2px 5px;padding:8px 0;text-align:center;font-weight:bold;letter-spacing:-1px;border:1px solid #C7C7C7;border-radius:16px;cursor:pointer}
.region_tab li .active {background:#35c5f0;color:#fff;border:1px solid #35c5f0}
.region_tab .tabmenu_list li:first-child {background:#35c5f0;color:#fff;border:1px solid #35c5f0}
#region_con {height:430px}
.region_list {margin:0 0 20px}
.region_list li {position:relative;line-height:40px;font-size:14px;border-bottom:1px solid #f0f0f0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.region_list li:last-child {border-bottom:0px}
.region_list a {color:#222}
.region_list strong {position:absolute;width:160px;line-height:40px;letter-spacing:-1px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.region_list span {display:block;padding-left:170px;}
.region_more {border:1px solid #C6C6C6}
.region_more a {display:block;padding:10px 0;font-size:14px;text-align:center;font-weight:bold;color:#555}
.region_more a i {font-size:13px;color:#35c5f0;font-weight:bold}
.empty_region {color:#888}


/* 하단 레이아웃 */
#ft {margin:30px 0 0;background:#F3F3F3;border-top:2px solid #ddd}
#ft_wr {position:relative;margin:0 auto;width:1200px;padding:30px 0 20px;font-size:12px;color:#939393}
#ft_wr:after {display:block;visibility:hidden;clear:both;content:""}
.ft_link {margin:0 0 12px}
.ft_link:after {display:block;visibility:hidden;clear:both;content:""}
.ft_link li {position:relative;float:left;display:block;padding:3px 0;padding-right:12px;padding-left:12px;}
.ft_link li:before{position: absolute;top: 5px;left: 0px;width: 1px;height: 13px;background: #c6c6c6;content: '';}
.ft_link li.first {clear:both;padding-left:0}
.ft_link li.first:before{display:none}
.ft_link a {color:#939393}
.ft_terms {margin:0 0 12px;line-height:17px}
.ft_copy {margin:0 0 30px}
.ft_bottom {position:relative;}
.ft_sns:after {display:block;visibility:hidden;clear:both;content:""}
.ft_sns li {float:left;margin-right:15px}
.ft_sns li:last-child {margin-right:0px}
.ft_support {position:absolute;right:0;bottom:60px}
.ft_support:after {display:block;visibility:hidden;clear:both;content:""}
.ft_support li {float:right;margin-left:6px}
.ft_support a.btn_support {padding:7px 15px;color:#fff;background:#a5a5a5}

/* 게시물 선택복사 선택이동 */
#copymove {}
#copymove .win_desc {text-align:center;display:block}
#copymove .tbl_wrap {margin:20px}
#copymove .win_btn {padding:0 20px 20px}
.copymove_current {float:right;background:#ff3061;padding:5px;color:#fff;border-radius:3px}
.copymove_currentbg {background:#f4f4f4}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* ie6 이미지 너비 지정 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:40px;border:1px solid #898989;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span {display:none}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../img/captcha2.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.btn_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}

/* 버튼 */
a.btn,.btn {line-height:35px;height:35px;padding:0 10px;text-align:center;font-weight:bold;border:0;font-size:1.4em;
-webkit-transition:background-color 0.3s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}

a.btn01 {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
a.btn02 {display:inline-block;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}

.btn_confirm {text-align:right} /* 서식단계 진행 */

.btn_submit {border:0;background:#35c5f0;color:#fff;cursor:pointer;border-radius:3px}
.btn_submit:hover {background:#35c5f0}
.btn_close {border:1px solid #dcdcdc;cursor:pointer;border-radius:3px;background:#fff}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
.btn_cancel:hover {background:#aaa}
a.btn_frmline, button.btn_frmline {display:inline-block;width:128px;padding:0 5px;height:40px;border:0;background:#434a54;border-radius:3px;color:#fff;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {}
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;color:#bababa;text-decoration:none;vertical-align:middle;border:0;background:transparent}
.btn_b01:hover, .btn_b01:hover {color:#000}
a.btn_b02,.btn_b02 {display:inline-block;background:#253dbe;padding:0 10px;color:#fff;text-decoration:none;border:0;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {background:#0025eb}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;border:1px solid #b9bdd3;color:#646982;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {background:#ebedf6}
a.btn_b04, .btn_b04 {display:inline-block;background:#fff;border:1px solid #ccc;color:#707070;text-decoration:none;vertical-align:middle}
a.btn_b04:hover, .btn_b04:hover {color:#333;background:#f9f9f9}
a.btn_admin,.btn_admin {display:inline-block;color:#d13f4a;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {color:#ff3746}


/* 기본테이블 */
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0 5px;background:#fff;border-top:1px solid #ececec;border-bottom:1px solid #ececec} 
.tbl_wrap caption {padding:10px 0;font-weight:bold;text-align:left}
.tbl_head01 {margin:0 0 10px}
.tbl_head01 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head01 thead th {padding:20px 0;font-weight:normal;text-align:center;border-bottom:1px solid #ececec;height:40px}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th, .tbl_head01 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head01 tbody th {padding:8px 0;border-bottom:1px solid #e8e8e8}
.tbl_head01 td {color:#666;padding:10px 5px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;line-height:1.4em;height:60px;word-break:break-all}
.tbl_head01 tbody tr:hover td {}
.tbl_head01 a:hover {}

.tbl_head02 {margin:0 0 10px}
.tbl_head02 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th, .tbl_head02 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head02 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#fff}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#fff;line-height:1.4em;word-break:break-all}
.tbl_head02 a {}

/* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_frm01 th {width:70px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.wr_content textarea,.tbl_frm01 textarea,.form_01 textarea, .frm_input {border:1px solid #d0d3db;background:#fff;color:#000;vertical-align:middle;border-radius:0px;padding:5px;}
.tbl_frm01 textarea {padding:2px 2px 3px}
.frm_input {height:40px}

.full_input {width:100%}
.half_input {width:49.5%}
.twopart_input {width:385px;margin-right:10px}
.tbl_frm01 textarea, .write_div textarea {width:100%;height:100px}
.tbl_frm01 a {text-decoration:none}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px}
.tbl_frm01 .frm_info {display:block;padding:0 0 5px;line-height:1.4em}

/*기본 리스트*/
.list_01 ul {border-top:1px solid #ececec}
.list_01 li {border-bottom:1px solid #ececec;background:#fff;padding:10px 15px;list-style:none;position:relative}
.list_01 li:nth-child(odd) {background:#f6f6f6}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {text-align:center;padding:20px 0;color:#666}

/*폼 리스트*/
.form_01 h2 {font-size:1.167em}
.form_01 li {margin-bottom:10px}
.form_01 ul:after,
.form_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.form_01 .left_input {float:left}
.form_01 .margin_input {margin-right:1%}
.form_01 textarea {height:100px;width:100%}
.form_01 .frm_label {display:inline-block;width:130px}

/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:20px 0 !important;color:#666;text-align:center}

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important}

/* 테이블 항목별 정의 */
.td_board {width:80px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_group {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:left}
.td_nick {width:100px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}

.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#ccc}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative}
.new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {font-size:1.3em;height:50px;line-height:30px;padding:10px 20px;background:#fff;color:#000;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);
-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);
box-shadow:0 1px 10px rgba(0,0,0,.1)}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {margin-bottom:15px;padding:0 20px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;background:#fff;text-align:center;padding:0 10px;border:1px solid #d6e9ff;border-radius:30px;margin-left:5px}
.new_win .win_ul li:first-child {margin-left:0}
.new_win .win_ul li a {display:block;padding:8px 0;color:#6794d3}
.new_win .win_ul .selected {background:#3a8afd;border-color:#3a8afd;position:relative;z-index:5}
.new_win .win_ul .selected a {color:#fff;font-weight:bold}
.new_win .win_desc {position:relative;margin:10px;border-radius:5px;font-size:1em;background:#35c5f0;color:#fff;line-height:50px;text-align:left;padding:0 20px}
.new_win .win_desc i {font-size:1.2em;vertical-align:baseline}
.new_win .frm_info {font-size:0.92em;color:#919191}
.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:#3a8afd;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {margin:20px 0;padding:20px}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .new_win_con2 {margin:20px 0}
.new_win .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn {text-align:center}
.new_win .cert_btn {margin-bottom:30px;text-align:center}
.new_win .btn_close {padding:0 20px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;font-weight:bold;font-size:1.083em}

/* 검색결과 색상 */
.sch_word {color:#fff;background:#ff005a;padding:2px 5px 3px;line-height:18px;margin:0 2px}

/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}

/* 사이드뷰 */
.sv_wrap {position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;font-size:0.92em;background:#333;
-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2)}
.sv_wrap .sv:before {content:"";position:absolute;top:-6px;left:15px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #333 transparent}
.sv_wrap .sv a {display:inline-block;margin:0;padding:0 10px;line-height:30px;width:100px;font-weight:normal;color:#bbb}
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;margin:30px 0 ;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#eee;border:1px solid #eee}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#959595;font-size:1.083em;height:30px;line-height:28px;padding:0 5px;min-width:30px;text-decoration:none;border-radius:3px}
.pg_page:hover {background-color:#fafafa}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fafafa}

.pg_current {display:inline-block;background:#35c5f0;border:1px solid #35c5f0;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}

/* Mobile화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}



/* 메인이미지 슬라이드 */
.slider_wr {position:relative;margin:0 0 30px;height:290px;overflow:hidden}
.slider_wr .banner1{}
.slider_wr .banner2{}
.slider_wr .banner3{}
.slider_wr .rslides {position: relative;list-style: none;overflow: hidden;width:100%;padding:0;margin:0}
.slider_wr .rslides div.slid {-webkit-backface-visibility: hidden;width: 100%;left: 0;top: 0}
.slider_wr .rslides img {display:block;height:auto;float:left;width:100%;border:0}
.slider_wr .slideimg {margin:0 auto;width:100%;text-align:center}
.slider_wr .img_item {width:100%;height:auto}

.rslides_container {
  margin-bottom: 0px;
  position: relative;
  float: left;
  width: 100%;
}

.centered-btns_tabs {
  margin-right: 18px;
  text-align: center;
}

.centered-btns_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin: 0 14px;
}

.centered-btns_tabs a {
  text-indent: -9999px;
  position: absolute;
  bottom: 10%;
  z-index:99;
  text-align:center;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: transparent;
  border:2px solid rgba(255,255,255,0.7);
  display: inline-block;
  _display: block;
  *display: block;
  width: 14px;
  height: 14px;
}

.centered-btns_here a {
  background: transparent;
  border:2px solid rgba(255,222,0,1.0);
  background: rgba(255,222,0, .9);
}



/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #adb5bd;
    cursor: pointer;
}

#modalBody {
    padding: 20px;
    overflow-y: scroll;
}


/* skin/latest/scroll/style.css */

/* 컨테이너 스타일 */
.lat_scroll {
padding:15px 0;
}

/* 그리드 레이아웃 */
.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* 게시물 아이템 */
.post-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
	position:relative;
    display: flex;
    flex-direction: column;
    height: auto; /* 이 부분이 중요합니다 - 자동 높이로 설정 */
}
.post-item .scroll-badge{
	position: absolute;
    top: -20px;
    left: -20px;
	z-index:9;
}
/* 썸네일 영역 */
.post-thumb {
    position: relative;
    padding-top: 75%; /* 4:3 비율 */
    overflow: hidden;
}

.post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
	border-radius:8px;
}

.post-item:hover .post-thumb img {
    transform: scale(1.05);
}

/* 컨텐츠 영역 */
.post-content {
    padding: 15px;
	display:flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* This makes it take up all available space */
}

.post-content-text{}
/* 제목 스타일 */
.post-title {
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 정보 영역 */
.post-info {
    color: #ddd;
    font-size: 13px;
    margin-bottom: 12px;
}

.post-date {
    margin-right: 8px;
}

/* 버튼 스타일 */
.post-buttons {
    display: flex;
    gap: 6px;
}

.btn-action {
    flex: 1;
    padding: 8px 0;
    font-size: 13px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #e9ecef;
}

/* 로딩 표시 */
.scroll-loading {
    text-align: center;
    padding: 20px 0;
}
.scroll-loading img{
	max-width:50px;
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #adb5bd;
    cursor: pointer;
}

#modalBody {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

/* 반응형 처리 */
@media screen and (max-width: 1200px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .post-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .modal-content {
        width: 95%;
    }
}
/* 댓글과 후기 공통 스타일 */


.comment-form,
.review-form {
    margin-bottom: 20px;
}

.comment-item,
.review-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f8f9fa;
}

.comment-info,
.review-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.comment-author,
.review-author {
    font-weight: 600;
    color: #495057;
}

.comment-date,
.review-date {
    color: #868e96;
    font-size: 13px;
}

.comment-text,
.review-text {
    color: #495057;
    line-height: 1.5;
    word-break: break-all;
}

.comment-form textarea,
.review-form textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    resize: none;
    margin-bottom: 10px;
    font-size: 14px;
}

.comment-form textarea:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #228be6;
}
.comment-form .button-group{
	justify-content:end;
}

.btn-submit {
    background: #228be6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background: #1971c2;
}

/* 빈 상태 메시지 */
.empty-message {
    text-align: center;
    padding: 30px 0;
    color: #868e96;
    font-size: 14px;
}

/* 수정/삭제 버튼 */
.action-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn-edit,
.btn-delete {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #e9ecef;
    color: #495057;
}

.btn-delete {
    color: #fa5252;
}

/* 답글 스타일 */

.comment-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-submit {
    padding: 8px 16px;
    background: #228be6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-cancel {
    padding: 8px 16px;
    background: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-form {
    margin-top: 10px;
}

.edit-textarea {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 8px;
}
/* 페이지네이션 스타일 수정 */
.ajax-pagination {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.ajax-pagination a, .ajax-pagination .page_current {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #666;
}

.ajax-pagination .page_current {
    background-color: #4a89dc;
    color: white;
    border-color: #4a89dc;
}


/* 최종 메시지 스타일 */
.end-message {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 14px;
}



/* 버튼과 평점 그룹 스타일 */
.button-rating-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.rating-inline-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-item {
    display: flex;
    align-items: center;
}

.rating-label {
    width: 45px;
    font-size: 13px;
    color: #495057;
    margin-right: 5px;
}

/* 별점 스타일 */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 0;
    position: relative;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    padding: 1px;
    transition: all 0.2s;
}

.star-rating label:before {
    content: '★';
}

.star-rating input:checked ~ label {
    color: #ffca08;
}

.star-rating:not(:checked) > label:hover,
.star-rating:not(:checked) > label:hover ~ label {
    color: #ffdd70;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .button-rating-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rating-inline-container {
        margin-bottom: 10px;
    }
    
    .btn-submit {
        width: 100%;
    }
}


/* 리뷰 아이템 내 평점 표시 */
.review-item .rating-summary {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border: 1px dashed #e9ecef;
	border-width:1px 0;
    font-size: 13px;
}

.review-item .rating-details {
    color: #868e96;
}

.review-item .rating-score {
    font-weight: bold;
    color: #ff7700;
}
