@charset "utf-8";

/* 서브페이지 공통 */
#ebric_mobile_wrap #header_wrap { border-bottom: 1px solid #e5e5e5; }
#ebric_mobile_wrap #header_wrap .header { text-align: center; position: relative; }
#ebric_mobile_wrap #header_wrap .header .mo-title { font-size: 1.7rem; font-weight: 600; line-height: 53px; }
#ebric_mobile_wrap #header_wrap .header .header-btn { width: 20px; height: 20px; display: block; position: absolute; z-index: 1; left: 5px; top: 16px; }
#ebric_mobile_wrap #header_wrap .header .header-btn img { width: 20px; height: 20px; display: block; }

#ebric_mobile_wrap #main-content-wrap { background: #f6f7fb; }
#ebric_mobile_wrap #main-content-wrap .main-view-wrap { width: 100%; padding-top: 0; border-bottom: 1px solid #e5e5e5; }
#ebric_mobile_wrap #main-content-wrap .main-view-wrap .user-menu-wrap { margin: 0 auto; width: 1200px; }
#ebric_mobile_wrap #main-content-wrap .main-view-wrap .user-menu-wrap .all-category .all-category-btn { border-top-left-radius: 0; }
#ebric_mobile_wrap #main-content-wrap .main-view-wrap .user-menu-wrap .user-menu { margin-top: 6px; }

#ebric_mobile_wrap #main-content-wrap .sub-view-wrap { width: 100%; margin: 0 auto; }

#ebric_mobile_wrap  #main-content-wrap .main-view-wrap .scrolled-top-menu-wrap .user-menu-wrap .all-category .all-category-btn:hover + .all-category-layer { display: block; position: absolute; z-index: 3; width: 280px; }
#ebric_mobile_wrap  #main-content-wrap .main-view-wrap .scrolled-top-menu-wrap .user-menu-wrap .all-category .all-category-layer:hover { display: block; z-index: 3; position: absolute; width: 280px; } 

/* 커스텀 체크 */
.custom-check { display: none; }
.custom-check-label { font-size: 1.25rem; color: #666; padding-left: 22px; position: relative; letter-spacing: -0.5px; line-height: 15px; }
.custom-check-label:before { width: 15px; height: 15px; position: absolute; content: ''; left: 0; top: 50%; margin-top: -7.5px;background: url(../../img/common/check_bg_orange.png); background-size: 15px 45px; }
#ebric_mobile_wrap.protocol .custom-check-label {display: inline-block}
#ebric_mobile_wrap.protocol .custom-check-label:before {top: 8px;}
.custom-check:checked + .custom-check-label { color: #ff9134; font-weight: 500; }
.custom-check:checked + .custom-check-label:before { background-position: 0 -15px; }
.custom-check:disabled + .custom-check-label:before { background-position: 0 -30px; }

/* 커스텀 라디오 */
.custom-radio-box { display: inline-block; margin: 7px 0; margin-right: 15px; }
.custom-radio { display: none; }
.custom-radio-label { font-size: 1.3rem; color: #666; padding-left: 22px; position: relative; letter-spacing: -0.5px; line-height: 15px; }
.custom-radio-label:before { width: 15px; height: 15px; position: absolute; content: ''; left: 0; top: 50%; margin-top: -7px; background: url(../../img/common/radio_bg.png); background-size: 15px 30px; }
.custom-radio:checked + .custom-radio-label { color: #498efe; font-weight: 500; }
.custom-radio:checked + .custom-radio-label:before { background-position: 0 -15px; }

/* 로딩 */
.loading-container { width: 200px; height: 50px; margin: 0 auto; margin-top: 30px; }
.loading-container .loading { display: flex; justify-content: center; }
.loading-container .loading div { width: 12px; height: 12px; margin: 20px 5px; background: #B4BCD5; border-radius: 50%; animation: 0.9s bounce infinite alternate; }
.loading-container .loading div:nth-child(2) { animation-delay: 0.3s; }
.loading-container .loading div:nth-child(3) { animation-delay: 0.6s; }
@keyframes bounce { to { opacity: 0.3; transform: translate3d(0, -10px, 0); } }


/* 프로토콜  */
#ebric_mobile_wrap.protocol #main-content-wrap { padding: 0; }
#ebric_mobile_wrap.protocol .sub-view-wrap {padding: 0px 10px;}
#ebric_mobile_wrap.protocol .search-box-wrap .search-box .relation-keyword ul li.view-all-btn a {color: #ff9134}
#ebric_mobile_wrap.protocol #header_wrap .header .search-box-wrap .search-box input[type=text]:active, #ebric_mobile_wrap.protocol #header_wrap .header .search-box-wrap .search-box input[type=text]:focus {border-color: #ff9134 !important}