@charset "utf-8";
/* webfont */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@300;400;500;600;700&display=swap');

button {
  font-family: "IBM Plex Sans KR";
}

/* 2024 5월 카스타일랩 찾기 리뉴얼 */
.map_wrapper {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 132px;
  left: 0;
  width: 100%;
  height: calc(100vh - 132px);
}
.map_side {
  display: flex;
  flex-shrink: 0;
  position: relative;
  left: 0;
  width: 694px;
  height: calc(100vh - 132px);
  background-color: #fff;
  border-top: 1px solid #EFEFEF;
}
.map_view {
  width: calc(100% - 694px);
  height: calc(100vh - 132px);
  background: url(/resources/newTbex/images/new24/bg_map.jpg) no-repeat center center/cover;
}
.map_wrapper.closed .map_side {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -640px;
  box-shadow: 0px 0 7px 7px #68686829;
}
.map_wrapper.closed .map_side:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
}
.map_wrapper.closed .map_view {
  width: 100%;
}
.filter_wrap {
  width: 352px;
  padding: 20px 20px 20px 30px;
}
.store_wrap {
  position: relative;
  width: 342px;
  height: calc(100vh - 132px);
  border-left: 1px solid #EFEFEF;
}
.filter_tit {
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 600;
}
.btn_filter_toggle {
  display: none;
}
.btn_init {
  margin-left: 7px;
  padding: 3px 8px 3px 24px;
  background: url(/resources/newTbex/images/new24/ico_refresh.png) no-repeat 8px 6px/12px;
  border: 1px solid #EFEFEF;
  border-radius: 4px;
  font-size: 1.2rem;
}
.btn_init:hover {
  background-color: #EFEFEF;
}
.sec_tit {
  margin-top: 22px;
  font-size: 1.6rem;
  font-weight: 500;
}
.sec_tit span {
  color: #0883FF;
}
.location_select {
  display: flex;
  margin-top: 10px;
  padding-left: 10px;
}
.location_select>div:nth-child(2) {
  margin-left: 10px;
}
.select_box {
  position: relative;
}
.select_box::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 12px;
  width: 10px;
  height: 6px;
  background: url(/resources/newTbex/images/new24/bg_select.png) no-repeat left top/100% ;
}
.select_style2 {
  width: 138px;
  height: 45px;
  padding: 0 15px;
  background-color: #fff;
  border: 1px solid #EFEFEF;
  border-radius: 4px;
  color: #000;
  font-size: 1.4rem;
  appearance: none;
}
.select_style2::-ms-expand {
  display: none;
}
.official_wrap {
  padding-left: 10px;
}
/* input checkbox */
.label_check {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-top: 16px;
  margin-right: 12px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 150%; 
  cursor: pointer;
}
.label_check:last-child {
  margin-right: 0;
}
.form_check {
  width: 20px;
  height: 20px;
  margin-right: 2px;
  visibility: hidden;
  opacity: 0;
}
.check_mark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #E4E6E8;
  border-radius: 1px;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.check_mark:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.form_check:checked ~ .check_mark {
  background-color: #0883FF;
  border-color: #0883FF;
}
.form_check:checked ~ .check_mark:after {
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
}
.sec_tit_row {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 22px;
}
.sec_tit_row .sec_tit {
  margin-top: 0;
}
.btn_detail {
  display: inline-block;
  width: 17px;
  height: 18px;
  margin-left: 4px;
  cursor: pointer;
}
.btn_detail img {
  width: 17px;
}
.detail_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.detail_wrap.visible {
  visibility: visible;
  opacity: 1;
}
.detail_box {
  position: absolute;
  top: -75px;
  right: -495px;
  width: 510px;
  height: 546px;
  padding: 25px 20px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #000;
  z-index: 500;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.detail_box:after {
  content: '';
  position: absolute;
  top: 69px;
  left: -29px;
  width: 29px;
  height: 24px;
  background: url(/resources/newTbex/images/new24/bg_triangle.png) no-repeat center center/100%;
}
.detail_box_m {
  display: none;
}
.detail_box.visible {
  visibility: visible;
  opacity: 1;
}
.detail_desc {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
}
.detail_list {
  margin-top: 6px;
}
.detail_list li {
  padding: 9px 0 12px;
  border-bottom: 1px solid #EFEFEF;
}
.detail_list li:last-child {
  border-bottom: none;
}
.detail_tit {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 500;
}
.detail_tit img {
  width: 27px;
  margin-right: 10px;
}
.detail_info {
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}
.detail_info b {
  font-weight: 500;
}
.btn_detail_close {
  display: inline-block;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 19px;
  height: 19px;
}
.btn_detail_close img {
  width: 19px;
}
.service_list {
  margin-top: 10px; 
  padding-left: 10px;
}
.service_list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.service_list li:last-child {
  margin-bottom: 0;
}
.service_list li button:nth-child(2) {
  margin-left: 8px;
}
.btn_service {
  height: 40px;
  padding: 0 9px 0 7px;
  border: 1px solid #EAEAEA;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 500;
}
.btn_service.selected {
  border-color: #0883FF;
  box-shadow: 0px 0px 4px #C7E2FF;
  color: #0883FF;
}
.btn_service:disabled {
  background-color: #EAEAEA;
}
.btn_service span {
  position: relative;
  padding-left: 32px;
  font-size: 1.4rem;
  font-weight: 500;
}
.btn_service span:before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 27px;
  height: 25px;
}
.btn_service.wrapping span:before {
  width: 32px;
}
.btn_service.premier span::before {
  background: url(/resources/newTbex/images/new24/ico_premier.png) no-repeat left top/27px;
}
.btn_service.official span::before {
  background: url(/resources/newTbex/images/new24/ico_official.png) no-repeat left top/27px;
}
.btn_service.ppf_expert span::before {
  background: url(/resources/newTbex/images/new24/ico_ppf_expert.png) no-repeat left top/27px;
}
.btn_service.btn_service.ppf_pro span::before {
  background: url(/resources/newTbex/images/new24/ico_ppf_pro.png) no-repeat left top/27px;
}
.btn_service.detail_expert span::before {
  background: url(/resources/newTbex/images/new24/ico_detail_expert.png) no-repeat left top/27px;
}
.btn_service.detail_pro span::before {
  background: url(/resources/newTbex/images/new24/ico_detail_pro.png) no-repeat left top/27px;
}
.btn_service.wrapping span::before {
  background: url(/resources/newTbex/images/new24/ico_wrapping.png) no-repeat left top/32px;
}
.store_list_wrap {
  position: relative;
  height: calc(100vh - 132px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 40px;
  border-right: 1px solid #EFEFEF;
  z-index: 100;
}
.store_list>li {
  background-color: #fff;
  border-bottom: 1px solid #EFEFEF;
}
.store_list>li.selected {
  background-color: #FFF8F8;
}
.store_box {
  padding: 17px 18px;
}
.store_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge_list li img {
  width: 27px;
}
.badge_list li img.ico_wrapping {
  width: 32px;
}
.badge_list {
  display: flex;
}
.info_right {
  display: flex;
}
.direct {
  margin-right: 5px;
  padding: 6px 6px 5px 6px;
  background-color: #000;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
}
.official_result {
  padding: 5px 6px 3px 6px;
  background-color: #EFEFEF;
  border: 1px solid #D6D6D6;
  border-radius: 4px;
  font-size: 1.1rem;
}
.store_nm {
  margin-top: 8px;
  font-size: 1.5rem;  
  font-weight: 500;
}
.ico_link {
  width: 12px;
  margin-left: 4px;
}
.store_add {
  margin-top: 5px;
  color: #848484;
  font-size: 1.1rem;
  line-height: 1.4;
}
.store_phone {
  margin-top: 10px;
  color: #C9001B;
  font-size: 1.2rem;
  text-decoration: underline;
}
.btn_toggle {
  position: absolute;
  top: 50%;
  right: -28px;
  width: 28px;
  height: 56px;
  background-color: #fff;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 5px 20px #0000003E;
  cursor: pointer;
  z-index: 50;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.btn_toggle:after {
  content: '';
  position: absolute;
  top: 24px;
  left: 10px;
  width: 6px;
  height: 8px;
  background: url(/resources/newTbex/images/new24/ico_arrow_red.png) no-repeat left top/100%;
  z-index: 50;
}
.btn_toggle.closed:after {
  -webkit-transform: scale(-1);
  transform: scale(-1);
}
.btn_toggle_m {
  display: none;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}
.pagination li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin: 0 4px;
  font-size: 1.4rem;
}
.pagination li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}
.pagination li.on a {
  color: #D6101F;
  font-weight: 500;
}
.btn_prev {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #000;
  border-right: 1.5px solid #000;
  transform: rotate(-135deg);
}
.btn_next {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #000;
  border-right: 1.5px solid #000;
  transform: rotate(45deg);
}

/* responsive */
@media all and (max-width: 768px) {
  .map_wrapper {
    flex-wrap: wrap;
    top: 70px;
    height: auto;
  }
  .map_view {
    order: 1;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
  }
  .map_side {
    order: 2;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    width: 100%;
    background-color: #fff;
  }
  .filter_wrap,
  .store_wrap {
    width: 100%;
  }
  .filter_wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 20px 20px 15px 18px;
    background-color: #fff;
    box-shadow: 0px 3px 6px #B2B2B229;
  }
  .btn_filter_toggle.hidden {
    display: none;
  }
  .filter_tit {
    position: relative;
    margin-bottom: 10px;
  }
  .btn_filter_toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    color: #0883FF;
    font-size: 1.4rem;
    font-weight: 500;
  }
  .sec_tit {
    font-size: 1.5rem;
  }
  .location_select,
  .official_wrap {
    padding-left: 0;
  }
  .location_select {
    justify-content: space-between;
  }
  .select_box {
    width: 48%;
  }
  .select_style2 {
    width: 100%;
  }
  .service_list_wrap {
    overflow-y: hidden;
    overflow-x: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none;      
  }
  .service_list_wrap::-webkit-scrollbar{
    display: none;
    background: transparent;  
    -webkit-appearance: none;
  }
  .service_list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 500px;
    padding-left: 0;
  }
  .service_list li {
    margin-right: 10px;
  }
  .store_list_wrap {
    padding-bottom: 240px;
  }
  .store_wrap {
    z-index: 10;
    border-top: 1px solid #EFEFEF;
  }
  .store_list_wrap {
    height: auto;
    overflow: visible;
  }
  .store_nm {
    font-size: 1.6rem;
  }
  .store_add {
    font-size: 1.3rem;
  }
  .store_phone {
    font-size: 1.3rem;
  }
  .detail_box.detail_box_m {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 94%;
    padding-bottom: 0;
    height: 480px;
    border-radius: 0;
    z-index: 500;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .detail_box.detail_box_m .detail_list_wrap {
    height: 380px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .detail_box {
    display: none;
  }
  .detail_box_m:after {
    display: none;
  }
  .detail_box.detail_box_m .btn_detail_close {
    top: 20px;
    right: 20px;
  }
  .detail_box.detail_box_m .detail_desc {
    margin-bottom: 10px;
    padding-right: 25px;
  }
  .detail_list {
    margin-top: 0;
  }
  .btn_detail {
    margin-left: 0;
  }
  .btn_detail img {
    position: relative;
    left: -2px;
  }
  .btn_toggle {
    display: none;
  }
  .btn_toggle_m {
    display: block;
    position: absolute;
    top: -27px;
    left: 50%;
    width: 56px;
    height: 28px;
    background-color: #fff;
    border-radius: 4px 4px 0 0;
    z-index: 50;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .btn_toggle_m:after {
    content: '';
    position: absolute;
    top: 9px;
    left: 24px;
    width: 7px;
    height: 10px;
    background: url(/resources/newTbex/images/new24/ico_arrow.png) no-repeat left top/100%;
    z-index: 50;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .btn_toggle_m.m_closed {
    -webkit-transform: translateX(-50%) rotate(180deg);
    transform: translateX(-50%) rotate(180deg);
  }
  .map_side_wrap {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    order: 2;
    height: calc(100vh - 132px);
    z-index: 50;
  }
  .map_side_wrap.m_closed {
    position: relative;
    top: calc(100vh - 210px);
    height: 100vh;
  }
  .filter_box.hidden {
    display: none;
  }
  .filter_visible {
    display: none;
  }
  .pagination li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin: 0 4px;
    font-size: 1.7rem;
  }
  .pagination li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
  }
}

/* 20240612 수정작업 */
.sec_tit {
  font-size: 1.4rem;
  font-weight: 600;
}
.form_check:checked ~ .check_mark {
  background-color: #C9001B;
  border-color: #C9001B;
}
.sec_tit:first-child {
  margin-top: 0;
}
.btn_service.basic span::before {
  background: url(/resources/newTbex/images/new24/ico_tbex.png) no-repeat left top/27px;
}
.btn_toggle {
  background-color: #C9001B;
}
.btn_toggle:after {
  background: url(/resources/newTbex/images/new24/ico_arrow.png) no-repeat left top / 100%;
}
.store_list li.tbex_studio {
  background-color: #FAFAFA;
}
.store_list li.tbex_studio.selected {
  background-color: #FFF8F8;
}
.detail_box {
  right: -335px;
  height: 596px;
}
.detail_list li {
  padding: 8px 0 10px;
}
.btn_service.selected {
  border-color: #C9001B;
  box-shadow: 0px 0px 4px #C9001B38;
  color: #C9001B;
  font-weight: 500;
}
.no_data {
  display: block;
  padding: 80px 0;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.5;
}
.btn_service {
  background-color: #fff;
}
.check_mark {
  background-color: #fff;
}
.map_side_bg {
  display: none;
}
.map_wrapper.closed .map_side {
  left: -694px;
}

/* responsive */
@media all and (max-width: 768px) {
  .map_side_wrap {
    top: 126px;
  }        
  .filter_wrap {
    background-color: #FFF8F8;
  }  
  .btn_toggle_m {
    top: -34px;
    width: auto;
    height: 35px;
    padding: 9px 32px 0 16px;
/*    color: #C9001B;*/
	background: #000; 
	color: #fff;
  }
  .btn_toggle_m span {
    font-size: 1.2rem;
    font-weight: 600;
  }  
  .btn_toggle_m:after {
    top: 12px;
    left: auto;
    right: 13px;
    -webkit-transform: rotate(-270deg);
    transform: rotate(-270deg);
  }
  .txt_close {
    display: none;
  }
  .btn_toggle_m.m_closed {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .btn_toggle_m.m_closed:after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .btn_toggle_m.m_closed .txt_close {
    display: block;
    padding-top: 4px;
  }
  .btn_toggle_m.m_closed .txt_open {
    display: none;
  }
  .location_wrap {
    display: flex;
    align-items: center;
  }
  .location_wrap>p {
    width: 57px;
    flex-shrink: 0;
  }
  .location_wrap .location_select {
    margin-top: 0;
  }
  .location_wrap .location_select {
    width: calc(100% - 57px);
  }
  .service_list {
    width: 1050px;
  }
  .filter_wrap {
    padding: 20px 20px 46px 18px;
    border-bottom: 3px solid #C9001B;
    box-shadow: none;
  }
  .map_side_wrap.m_closed .map_side_bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 20px;
    background-color: #fff;
    color: #848484;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    z-index: 50;
  }
  .toggle_filter {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 90px;
    height: 32px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 100;
  }
  .btn_filter_toggle {
    position: relative;
  }
  .btn_filter_toggle.filter_hidden {
    bottom: 0;
    width: 90px;
    height: 32px;
    background: url(/resources/newTbex/images/new24/btn_filter_close.png) no-repeat left top/100%;
  }
  .btn_filter_toggle.filter_visible {
    top: 32px;
    width: 90px;
    height: 32px;
    background: url(/resources/newTbex/images/new24/btn_filter_open.png) no-repeat left top/100%;
  }
  .filter_wrap.hidden {
    padding: 14px 0;
  }
  .store_list li.tbex_studio .store_box.padding {
    padding-top: 40px;
  }
  .no_data {
    padding: 30px 0;
  }
}

/* 20240613 수정 */
.map_side_wrap {
  z-index: 100;
}
.detail_box {
  top: 116px;
  right: auto;
  left: 160px;
}
