/*
 * Salient 화면을 운영(Total) 모양에 맞추는 보정
 * Salient 테마 설정: 헤더 "Menu Bottom Bar" + 왼쪽 정렬 (운영 Total header-two 와 같은 배치)
 */

/* 본문 폭: 운영 1300px (Salient 설정 최소값이 1425라 CSS로) */
@media (min-width: 1000px) {
	.container,
	.container-wrap .container,
	#header-outer header#top > .container,
	.page-header-inner.container {
		max-width: 1300px;
	}
	/* Salient 는 양옆 90px 안쪽 여백, 운영(Total)은 여백 없이 화면 90% · 최대 1300px */
	.container,
	.container-wrap .container,
	.container-wrap .main-content,
	#header-outer header#top > .container {
		width: 90%;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* 퀵바 목록 점 제거 (Salient 본문 ul 기본 스타일) */
.quick_bar ul,
.quick_bar li {
	list-style: none;
	margin-left: 0;
}

/* ---------- 헤더 ---------- */
@media (min-width: 1000px) {
	#header-outer {
		border-top: 10px solid #1b4599;
		background-color: #f7f7f7 !important;
	}
	/* 로고 줄 (회색) */
	#header-outer header#top .row > .col.span_3 {
		position: relative;
		min-height: 103px;
		display: flex;
		align-items: center;
	}
	#header-outer header#top .row > .col.span_3 #logo {
		position: relative;
		z-index: 2;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	/* Salient 가 로고 줄 아래에 주는 28px 여백 제거 (운영: 10 + 103 + 51) */
	#header-outer header#top .row > .col.span_3 {
		margin-bottom: 0 !important;
	}
	/* 로고 옆 보건복지부 배너 (운영: 1600px 넘으면 로고 왼쪽 -200px, 1600px 이하는 로고 오른쪽 318px) */
	#header-outer .top_imgbanner {
		position: absolute;
		left: -200px;
		top: 19px;
		z-index: 1;
	}
	#header-outer .top_imgbanner ul,
	#header-outer .pc_top_bar ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	/* 견적받기·SNS·로그인 (child CSS 의 .estimate / .right_top 절대 위치를 로고 줄 기준으로) */
	#header-outer .pc_top_bar {
		position: static;
	}
	/* 메뉴 줄 (흰색, 화면 끝까지) */
	/* 흰 바탕을 화면 끝까지: 좌우로만 옮긴 그림자 (위아래로 번지지 않아 드롭다운을 자를 필요 없음) */
	#header-outer header#top .row > .col.span_9 {
		background: #fff;
		box-shadow: -50vw 0 0 #fff, 50vw 0 0 #fff;
	}
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li {
		height: 50px;
		align-items: center;
	}
	/* 운영 Total: 항목은 글자 폭 그대로 + 양옆 18px, 왼쪽부터 (전체메뉴 버튼만 오른쪽 끝) */
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) {
		flex: 0 0 auto;
	}
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li > a {
		font-size: 16px;
		font-weight: 500;
		color: #555 !important;
		letter-spacing: -1px;
		padding: 0 28px !important; /* 폭별 값은 아래 (운영 ssdain.css·sdain_rps.css) */
		margin: 0 !important; /* Salient 가 링크 아래 28px 를 줘 글자가 메뉴 줄 위쪽에 붙었음 */
		line-height: 50px !important;
		height: 50px;
		white-space: nowrap;
	}
	/* Salient 밑줄 효과(현재 메뉴·마우스 올림)는 운영에 없음 */
	#header-outer header#top nav > ul.sf-menu > li > a .menu-title-text:after,
	#header-outer header#top nav > ul.sf-menu > li > a:after {
		display: none !important;
	}
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li > a:hover,
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li.current-menu-ancestor > a,
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li.current-menu-item > a {
		color: #18336a !important;
	}
	/* 전체메뉴 버튼 (메뉴 마지막 항목 ham-menu) */
	#header-outer header#top nav > ul.sf-menu > li.ham-menu {
		margin-left: auto;
		background: #1b4599;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > a {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > a img {
		display: block;
	}
	/* 일반 드롭다운 (운영 Total: 흰 바탕·위 파란 선 3px·폭 140px·글자 12px #666) */
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu {
		width: auto !important;
		min-width: 140px !important;
		margin-top: 0 !important;
		padding: 0 !important;
		background: #fff !important;
		border-top: 3px solid #1175e9;
		border-radius: 0 !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important;
	}
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li,
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li a {
		background: #fff !important;
	}
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li a {
		color: #666 !important;
		font-size: 12px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		letter-spacing: -1px !important;
		padding: 10px 12px !important;
		border: 0 !important;
		border-bottom: 1px solid #eee !important;
		white-space: nowrap;
	}
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li a:hover,
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li.sfHover > a,
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu li.current-menu-item > a {
		color: #000 !important;
		background: #f7f7f7 !important;
	}
	/* 3단계 펼침도 같은 모양 */
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu ul.sub-menu {
		width: auto !important;
		min-width: 140px !important;
		padding: 0 !important;
		background: #fff !important;
		border-top: 3px solid #1175e9;
		box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important;
	}

	/*
	 * 전체메뉴 펼침 (운영 Total megamenu col-7 모양)
	 * 메뉴 줄 폭 흰 판, 8칸, 칸마다 굵은 제목 + 아래 하위 페이지, 그 아래 단계는 숨김
	 */
	#header-outer header#top nav > ul.sf-menu > li.ham-menu {
		position: static;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu {
		left: 0 !important;
		right: auto !important;
		width: 100% !important;
		padding: 12px 0 0 !important;
		background: #fff !important;
		border-top: 3px solid #1175e9;
		border-radius: 0 !important;
		box-shadow: 0 6px 12px rgba(0, 0, 0, .08) !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu.sfHover > ul.sub-menu,
	#header-outer header#top nav > ul.sf-menu > li.ham-menu:hover > ul.sub-menu {
		display: flex !important;
		align-items: flex-start; /* 운영: 칸 높이는 내용만큼(칸 사이 세로줄도 내용 길이만큼) */
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li {
		flex: 0 0 12.5%;
		width: 12.5% !important;
		min-width: 0; /* 한 줄 고정 하위 메뉴 글자 길이만큼 칸이 넓어지지 않게 (운영 8칸 같은 폭) */
		box-sizing: border-box;
		padding: 0 12px; /* 운영: 칸 안쪽 좌우 12px, 아래 바깥 12px */
		margin-bottom: 12px;
		border-left: 1px solid #eee;
		background: none !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li:first-child {
		border-left: 0;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu ul.sub-menu li a {
		background: none !important;
		color: #666 !important; /* 운영 하위 메뉴: 14px·500·#666, 줄 높이 16.8px, 위아래 10px → 37px */
		font-size: 14px !important;
		font-weight: 500 !important;
		line-height: 16.8px !important;
		padding: 10px 12px !important;
		white-space: normal;
		word-break: keep-all;
		text-align: left;
		border: 0 !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li > a {
		color: #000 !important; /* 운영 칸 제목: 14px·500·검정, 줄 높이 18.75px, 위아래 10px → 39px */
		font-weight: 500 !important;
		line-height: 18.75px !important;
		padding: 10px 12px !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu ul.sub-menu li a:hover {
		color: #1175e9 !important;
	}
	/* 2단계 목록은 늘 펼친 상태로 칸 안에 */
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li > ul.sub-menu {
		display: block !important;
		position: static !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		width: auto !important;
		min-width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		background: none !important;
		box-shadow: none !important;
		border: 0 !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li > ul.sub-menu > li {
		width: auto !important;
		background: none !important;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li > ul.sub-menu > li > a {
		white-space: nowrap;
	}
	/* 3단계(장치별 교정의 장치 목록 등)와 화살표는 운영처럼 숨김 */
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > ul.sub-menu > li > ul.sub-menu ul,
	#header-outer header#top nav > ul.sf-menu > li.ham-menu ul.sub-menu .sf-sub-indicator,
	#header-outer header#top nav > ul.sf-menu > li.ham-menu ul.sub-menu a:after {
		display: none !important;
	}
	/* 모바일 상단바(EN/CN/RU)는 PC에서 숨김 (운영 #top-bar-wrap 과 같음) */
	.mobile_top_bar {
		display: none !important;
	}
}

/* 메뉴 줄 전체 폭 사용 (ul 이 가로로 늘어나도록) */
#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu {
	display: flex;
	flex: 1 1 auto;
}

/* ---------- 글 상세 (운영 Total 모양) ---------- */
/* 다인이야기 하위 메뉴 띠: 아래 80px 여백이 띠 안으로 들어가지 않게 */
.single_post_menu .sub_page_menubar_box {
	margin-bottom: 0 !important;
}
.single-post .container-wrap {
	padding-top: 45px;
}
/* 제목·정보줄 */
.single-post .single-blog-header {
	margin: 0;
}
.single-post .single-post-title {
	font-size: 24px;
	font-weight: 400;
	color: #000;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}
.single-post ul.meta {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	font-size: 12px;
	line-height: 1.65;
	color: #777;
}
.single-post ul.meta li {
	display: inline-block;
	margin: 0 20px 5px 0;
	padding: 0;
	list-style: none;
}
.single-post ul.meta li a {
	color: #777;
}
.single-post ul.meta .fa {
	margin-right: 8px;
}
/* Salient 작성자 소개 상자는 운영에 없음 */
.single-post #author-info {
	display: none;
}
/* 사이드바 위젯 */
#sidebar .widget {
	margin-bottom: 30px;
}
#sidebar .widget h4 {
	font-size: 17px;
	font-weight: 400;
	color: #000;
	margin: 0 0 20px;
}

/* 푸터 위젯 마지막 목록: Salient 본문 ul 아래 여백(30px) 제거 (운영 0) */
#footer .footer_info_row ul:last-child {
	margin-bottom: 0;
}

/* 이미지 요소 아래 15px (Salient) → 운영 0 */
.wpb_single_image img,
.wpb_single_image .vc_single_image-wrapper img {
	margin-bottom: 0;
}
/* 페이지 본문 끝 40px (Salient .container-wrap) → 운영 0 (아래 공통 영역이 바로 붙음) */
body.page .container-wrap {
	padding-bottom: 0;
}
/* 이미지 아래 글자 기준선 틈 제거 (운영: vertical-align top) */
.wpb_single_image .vc_single_image-wrapper img {
	vertical-align: top;
}

/*
 * 탭 단추 안쪽 여백: 운영은 WPBakery 5.7 탭 CSS(자식테마 CSS 뒤에 불러옴)의
 * `.wpb-js-composer .vc_tta.vc_general .vc_tta-tab > a { padding:14px 20px }` 가 자식테마의 7px 를 이김.
 * 9 는 선택자가 바뀌어 7px 가 적용되므로 운영 값으로 (모바일 5px !important 는 그대로)
 */
.wpb-js-composer .vc_tta.vc_general .vc_tta-tab > a {
	padding: 14px 20px;
}

/* ---------- 모바일 헤더 (운영 sdain_rps.css 의 Total 헤더 모양, 999px 이하) ----------
 * 운영: 상단줄(EN·CN·RU / 회원가입·로그인·사이트맵) 35px + 헤더 70px(415px 이상 105px) 가 화면 위에 고정되고,
 *       본문은 그 밑에서 0부터 시작(메인 첫 행은 헤더에 일부 가려짐). 서브는 제목 띠가 margin-top 100/150px 로 내려옴.
 * Salient 는 #header-space 로 본문을 헤더 높이만큼 내리므로 모바일에서는 숨김.
 */
@media (max-width: 999px) {
	#header-outer {
		padding: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
	}
	#header-space {
		display: none !important;
	}
	#header-outer .mobile_top_bar {
		position: relative;
		height: 35px;
		box-sizing: border-box;
		padding: 7px 5%;
		border-bottom: 1px solid #eee;
		font-size: 12px;
		line-height: 19.8px;
	}
	#header-outer .mobile_top_bar .left_top {
		position: absolute;
		left: 5%;
		top: 8px;
		margin: 0;
		line-height: 19.8px;
	}
	#header-outer .mobile_top_bar .left_top a {
		font-size: 12px;
	}
	#header-outer .mobile_top_bar .right_top,
	#header-outer .mobile_top_bar .top_menu {
		text-align: right;
		line-height: 19.8px;
	}
	#header-outer .mobile_top_bar .top_menu a {
		font-size: 12px;
		color: #555;
	}
	#header-outer header#top {
		margin-top: -2px !important;
		height: 70px !important;
		box-sizing: border-box !important;
		border-bottom: 1px solid #eee;
	}
	#header-outer header#top > .container {
		width: 90% !important;
		max-width: none !important;
		padding: 0 !important;
		margin: 0 auto !important;
		height: 100% !important;
	}
	#header-outer header#top .row,
	#header-outer header#top .row > .col.span_3 {
		height: 100% !important;
		margin: 0 !important;
	}
	#header-outer header#top .row > .col.span_3 {
		padding-top: 16px !important;
		box-sizing: border-box;
	}
	body #header-outer #top #logo img {
		width: 158px !important;
		height: auto !important;
		max-height: 45px !important;
		margin-top: 0 !important;
		top: 0 !important;
	}
	/* 메뉴 단추: 운영 Total 막대 3개(22×3, #666) */
	#header-outer header#top .span_9 .slide-out-widget-area-toggle i.lines,
	#header-outer header#top .span_9 .slide-out-widget-area-toggle i.lines:before,
	#header-outer header#top .span_9 .slide-out-widget-area-toggle i.lines:after {
		width: 22px !important;
		height: 3px !important;
		background-color: #666 !important;
		border-radius: 0 !important;
	}
	#header-outer header#top .span_9 .slide-out-widget-area-toggle i.lines:before {
		top: -6px !important;
	}
	#header-outer header#top .span_9 .slide-out-widget-area-toggle i.lines:after {
		top: 6px !important;
	}
}
@media (min-width: 415px) and (max-width: 999px) {
	#header-outer header#top {
		height: 105px !important;
	}
}
/* 모바일 본문 폭: 운영 Total 은 90% (Salient 기본 88%) */
@media (max-width: 999px) {
	body {
		--mobile-container-width: 90%;
	}
}

/* ---------- 모바일 행·칸 (운영 Total/WPBakery 5.7) ---------- */
@media (max-width: 999px) {
	/*
	 * 배경이 화면 끝까지 가는 행(Total stretch_row → Salient full-width-section):
	 * 운영은 WPBakery 가 행을 화면 폭(border-box)으로 늘리고 양옆 여백 = 본문 시작 위치 - 15px.
	 * 그래서 행에 !important 여백(sdain_rps.css 의 .footer_info_row_bg2 { padding:10% } 등)이 있으면
	 * 안쪽 폭이 화면 기준으로 계산된다. Salient 는 모바일에서 행을 늘리지 않아(content-box) 화면보다 넓어졌음.
	 */
	body .wpb_row.full-width-section {
		box-sizing: border-box;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		padding-left: calc(50vw - 50% - 15px);
		padding-right: calc(50vw - 50% - 15px);
	}
	body .wpb_row.full-width-section > .row_col_wrap_12 {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/*
 * 칸 배치 (운영 WPBakery 5.7: 767px 이하는 칸이 모두 한 줄 전체 폭, 768px 이상은 PC 와 같은 비율, 칸 아래·왼쪽 여백 없음)
 * Salient 는 690px 이하 50%(2칸 등)·25px 아래 여백, 691~999px 31.2% 등으로 바꾸므로 되돌린다.
 * 우선순위는 :not(#sdain-g) 로 1-1-0 (Salient 인라인 규칙보다 높고, 같은 우선순위로 뒤에 불러오는
 * sdain-p-fix.css 의 칸 클래스 규칙(.mobile_margin { margin-bottom:20px } 등)에는 지도록)
 */
@media (max-width: 999px) {
	.wpb_column:not(#sdain-g) {
		margin-left: 0;
		margin-bottom: 0;
		min-height: 1px;
	}
}
@media (max-width: 767px) {
	.wpb_column:not(#sdain-g):where(:not([class*="vc_col-xs"])) {
		width: 100%;
	}
}
@media (min-width: 768px) and (max-width: 999px) {
	.vc_col-sm-1:not(#sdain-g) { width: 8.33333%; }
	.vc_col-sm-2:not(#sdain-g) { width: 16.66667%; }
	.vc_col-sm-3:not(#sdain-g) { width: 25%; }
	.vc_col-sm-4:not(#sdain-g) { width: 33.33333%; }
	.vc_col-sm-5:not(#sdain-g) { width: 41.66667%; }
	.vc_col-sm-6:not(#sdain-g) { width: 50%; }
	.vc_col-sm-7:not(#sdain-g) { width: 58.33333%; }
	.vc_col-sm-8:not(#sdain-g) { width: 66.66667%; }
	.vc_col-sm-9:not(#sdain-g) { width: 75%; }
	.vc_col-sm-10:not(#sdain-g) { width: 83.33333%; }
	.vc_col-sm-11:not(#sdain-g) { width: 91.66667%; }
	.vc_col-sm-12:not(#sdain-g) { width: 100%; }
}

/* FormCraft 3.9 입력칸 아래 4px → 운영(3.7) 0 (FormCraft 규칙이 input[type=..] 라 :not(#sdain-f) 로 우선) */
html body .formcraft-css .fc-form.label-floating .form-element .form-element-html input:not(#sdain-f),
html body .formcraft-css .fc-form.label-floating .form-element .form-element-html select:not(#sdain-f),
html body .formcraft-css .fc-form.label-floating .form-element .form-element-html textarea:not(#sdain-f) {
	margin-bottom: 0;
}
/* 본문 안 FormCraft 보내기 단추: Salient 의 .container-wrap button[type=submit] { padding:15px 22px / 16px !important; radius 0 } → FormCraft 값 */
html body .formcraft-css .fc-form .form-element .submit-cover .submit-button {
	padding: 9px 18px !important;
	border-radius: 2px !important;
}
html body .formcraft-css .fc-form.label-floating .form-element .submit-cover .submit-button {
	padding: 8px 18px !important;
}

/* ---------- 모바일 메뉴 (운영 Total sidr: 오른쪽 320px 남색 패널, 14px 글자, 위 60px 닫기 줄, 뒤 어둡게) ---------- */
@media (max-width: 999px) {
	body #slide-out-widget-area.slide-out-from-right:not(.fullscreen-alt):not(.fullscreen) {
		background: #18336a !important;
		width: 320px !important;
		max-width: 100%;
		padding: 60px 0 30px !important;
		z-index: 100002 !important; /* 팝업(100000) 위 */
	}
	body #slide-out-widget-area-bg.slide-out-from-right {
		background-color: rgba(0, 0, 0, 0.6) !important;
		z-index: 100001 !important;
	}
	body #slide-out-widget-area .inner-wrap,
	body #slide-out-widget-area .inner {
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container {
		margin: 0 !important;
	}
	/* PC 용 메뉴 목록·전체메뉴(≡) 항목은 모바일 메뉴에 없음 */
	body #slide-out-widget-area .off-canvas-menu-container:not(.mobile-only),
	body #slide-out-widget-area .menu > li.ham-menu {
		display: none !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu > li {
		border-top: 1px solid rgba(255, 255, 255, 0.035);
		border-bottom: 1px solid rgba(255, 255, 255, 0.035);
		margin: 0 !important;
		padding: 0 !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu li > a {
		display: block !important;
		font-size: 14px !important;
		line-height: 23.1px !important;
		font-weight: 400 !important;
		letter-spacing: 0 !important;
		padding: 12.6px 60px 12.6px 20px !important;
		color: #fff !important;
		font-family: inherit !important;
	}
	/* 하위 메뉴 화살표: 운영은 오른쪽 꺾쇠(›) */
	body #slide-out-widget-area .ocm-dropdown-arrow {
		top: 50% !important;
		right: 8px !important;
	}
	body #slide-out-widget-area .ocm-dropdown-arrow i {
		transform: rotate(-90deg);
		color: #fff !important;
		font-size: 18px !important;
	}
	/* 닫기 줄 (js/total-compat.js 가 넣음) */
	#slide-out-widget-area .sdain-ocm-close {
		position: absolute;
		top: -60px; /* .inner-wrap 이 relative 라 패널 맨 위(위 여백 60px)로 올림 */
		left: 0;
		right: 0;
		height: 60px;
	}
	#slide-out-widget-area .sdain-ocm-close a {
		display: inline-block;
		padding: 10px 20px;
		font-family: "Times New Roman", Times, serif;
		font-size: 32px;
		font-weight: 700;
		line-height: 40px;
		color: #fff !important;
		text-decoration: none;
	}
}
@media (min-width: 1000px) {
	#slide-out-widget-area .sdain-ocm-close {
		display: none;
	}
}
/* 모바일 로고 크기·위치 (운영: 414px 이하 폭 158px / 415~767px 높이 45px / 768px 이상 원래 크기 63px, 헤더 105px 안 위 여백) */
@media (min-width: 415px) and (max-width: 767px) {
	body #header-outer #top #logo img {
		width: auto !important;
		height: 45px !important;
	}
	#header-outer header#top .row > .col.span_3 {
		padding-top: 32px !important;
	}
}
@media (min-width: 768px) and (max-width: 999px) {
	body #header-outer #top #logo img {
		width: auto !important;
		height: 63px !important;
		max-height: 75px !important;
	}
	#header-outer header#top .row > .col.span_3 {
		padding-top: 21px !important;
	}
}
/* 칸 간격 0(column_spacing="0px") 인 늘린 행: 운영은 행 바깥 -15px 가 없어 양옆 여백 = 본문 시작 위치 그대로 */
@media (max-width: 999px) {
	body .wpb_row.full-width-section.wpex-vc-column-spacing-0px {
		padding-left: calc(50vw - 50%);
		padding-right: calc(50vw - 50%);
	}
}
/* 767px 이하: 운영(WPBakery 5.7)은 칸이 일반 블록이라 칸끼리 위아래 바깥 여백이 겹침. Salient 는 flex 라 안 겹침 → 블록으로 (같은 높이 행 vc_row-flex 는 그대로) */
@media (max-width: 767px) {
	.wpb_row:not(.vc_row-flex):not(.vc_row-o-content-top):not(.vc_row-o-content-middle):not(.vc_row-o-content-bottom) > .row_col_wrap_12,
	.wpb_row:not(.vc_row-flex):not(.vc_row-o-content-top):not(.vc_row-o-content-middle):not(.vc_row-o-content-bottom) > .row_col_wrap_12_inner {
		display: block;
	}
	/* 내용 위치를 정한 행은 운영도 flex(vc_row-flex) → flex 유지, 칸은 한 줄에 하나씩 */
	.wpb_row:is(.vc_row-o-content-top, .vc_row-o-content-middle, .vc_row-o-content-bottom) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) {
		flex-wrap: wrap;
	}
}
/* 모바일 메뉴 하위 항목 (운영: 아래로 펼침, "- " 표시, 항목 45px, 옅은 배경, 3단계·화살표 없음) */
@media (max-width: 999px) {
	body #slide-out-widget-area .ocm-dropdown-arrow {
		top: 25px !important;
		transform: translateY(-50%) !important;
	}
	body #slide-out-widget-area .menu > li.open-submenu > .ocm-dropdown-arrow i {
		transform: none;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu {
		display: block !important;
		padding: 0 !important;
		margin: 0 !important;
		background: rgba(255, 255, 255, 0.02);
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu > li {
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu > li > a {
		padding: 10.8px 20px 10.8px 30px !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu > li > a::before {
		content: "- ";
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu > li > a::after {
		display: none !important;
	}
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu ul.sub-menu,
	body #slide-out-widget-area .off-canvas-menu-container .menu ul.sub-menu .ocm-dropdown-arrow {
		display: none !important;
	}
}
@media (min-width: 1000px) and (max-width: 1600px) {
	#header-outer .top_imgbanner {
		left: 318px;
	}
}
/* PC 스크롤 시: 운영은 메뉴 줄(50px)만 위에 붙음. Salient "헤더 줄이기"(data-condense)는 원래 Salient 높이로 계산해
   -43px 만 올려 로고 줄이 반쯤 보였음 → 로고 줄 전체(위 10px + 103px)만큼 올림 */
@media (min-width: 1000px) {
	#header-outer.fixed-menu[data-condense="true"] {
		top: -113px !important;
	}
	body.admin-bar #header-outer.fixed-menu[data-condense="true"] {
		top: -81px !important;
	}
}
/* 전체메뉴 버튼: 운영 52×50 파란 칸 가운데 흰 ≡ 그림 하나 (Salient 기본 줄 아이콘·여백은 숨김) */
@media (min-width: 1000px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li.ham-menu {
		width: 52px;
		flex: 0 0 52px;
	}
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li.ham-menu > a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		padding: 0 !important;
		width: 52px;
	}
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > a .sf-sub-indicator,
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > a .lines-button,
	#header-outer header#top nav > ul.sf-menu > li.ham-menu > a i {
		display: none !important;
	}
}
/* 드롭다운: 운영은 바로 나타남 (Salient 의 항목 올라오기·흐려짐 효과 끔) */
@media (min-width: 1000px) {
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu,
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu li {
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu).sfHover > ul.sub-menu > li,
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu li.sfHover > ul.sub-menu > li {
		opacity: 1 !important;
	}
}
/* 메뉴 항목 양옆 여백: 운영처럼 화면 폭에 따라 (28 → 24 → 18 → 1em → 10 → 16 → 12 → 10px) */
@media (min-width: 1000px) and (max-width: 1440px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 24px !important; }
}
@media (min-width: 1000px) and (max-width: 1370px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 18px !important; }
}
@media (min-width: 1000px) and (max-width: 1250px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 13px !important; }
}
@media (min-width: 1000px) and (max-width: 1170px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 10px !important; }
}
@media (min-width: 1000px) and (max-width: 1140px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 16px !important; }
}
@media (min-width: 1000px) and (max-width: 1081px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 12px !important; }
}
@media (min-width: 1000px) and (max-width: 1060px) {
	#header-outer[data-format="centered-menu-bottom-bar"] header#top nav > ul.sf-menu > li:not(.ham-menu) > a { padding: 0 10px !important; }
}
/* 로고 줄 오른쪽(견적받기·SNS·로그인): Salient 헤더가 줄 높이를 0 으로 만들어 로그인 글자가 아이콘에 겹치고 위치가 내려갔음 → 운영 값 */
@media (min-width: 1000px) {
	#header-outer .pc_top_bar {
		font-size: 13px;
		line-height: 21.45px;
	}
	#header-outer .pc_top_bar ul.estimate_icon {
		margin: 0 0 20px !important; /* 운영 ul 기본 아래 20px → 견적받기가 위로 올라옴 */
	}
}
/* 드롭다운 글자: 운영은 링크 12px 안의 글자 칸(span)이 14px·500 → 보이는 글자 14px (항목 높이 38px 그대로) */
@media (min-width: 1000px) {
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu li a .menu-title-text {
		font-size: 14px !important;
		font-weight: 500 !important;
		line-height: 16.8px !important;
	}
}
/* 드롭다운 폭: 운영처럼 가장 긴 항목 폭 (최소 140px). Salient 는 항목에 float:left 를 줘 내용 폭이 항목들을 옆으로 이은 값이 되어 메뉴 칸 폭으로 늘어났음 */
@media (min-width: 1000px) {
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) > ul.sub-menu {
		right: auto !important;
		width: max-content !important;
	}
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu > li {
		float: none !important;
		display: block !important;
	}
}
/* 3단 메뉴(장치별 교정치료 > S-Line교정 등): 운영처럼 상위 드롭다운 바로 오른쪽(left:100%, 위 맞춤).
   Salient 는 드롭다운 폭 220px 기준으로 left:240px·margin -20px 을 줘, 폭을 운영처럼 줄인 뒤 60px 가량 떨어져 보였음 */
@media (min-width: 1000px) {
	#header-outer header#top nav > ul.sf-menu > li:not(.ham-menu) ul.sub-menu ul.sub-menu {
		left: 100% !important;
		right: auto !important;
		top: 0 !important;
		margin: 0 !important;
	}
}

/* PC 헤더 오른쪽 끝 Salient 오프캔버스 메뉴 단추(≡, ul.buttons 안): 운영에 없는 단추가 전체메뉴(ham-menu) 오른쪽 위에 겹쳐 보였음.
   모바일 메뉴 단추(.mobile-icon)는 따로라 999px 이하 동작은 그대로 */
@media (min-width: 1000px) {
	#header-outer #top nav > ul.buttons > li.slide-out-widget-area-toggle { display: none !important; }
}

/* 자식테마 sdain_rps.css(414px 이하) ".vc_row.vc_row-o-content-bottom:not(.vc_row-o-equal-height) > .vc_column_container { align-items:center }"
   는 행 바로 아래 칸 기준이라 Salient(행 > row_col_wrap_12 > 칸)에선 안 걸림 → 같은 규칙을 Salient 구조로 (치아미백 등 배너 상자 세로 가운데) */
@media screen and (max-width: 414px) {
	.wpb_row.vc_row-o-content-bottom:not(.vc_row-o-equal-height) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) > .vc_column_container { align-items: center !important; }
}

/* 진료안내·오시는길 7F/8F 상자: 운영(WPBakery)은 칸 안에서 회색 글상자 위 여백(41px)이 갇혀 층 표시(7F) 아래로 글이 시작.
   Salient 칸은 여백이 칸 밖으로 빠져 층 표시가 글 위에 겹쳤음 → 칸 안쪽을 flow-root 로 */
.wpb_column:has(.txt_floor) > .vc_column-inner { display: flow-root; }

/* 모바일 아래 퀵메뉴: 340px 이하에선 "온라인예약" 등이 두 줄로 꺾여 높이가 달라짐 → 글자 조금 작게 */
@media (max-width: 340px) {
	.quick_bar_top ul li a { font-size: 13px; }
}

/* 메인 인스타 상자 "자세히보기": 414px 이하에서 제목 옆(절대 위치)에 있어 아이디·팔로우 줄과 겹치고 상자 밖으로 삐져나옴
   → 아이디 줄 바로 아래로 (피드 칸보다 앞) */
@media screen and (max-width: 414px) {
	.s_main_insta > .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; }
	.s_main_insta > .vc_column-inner > .wpb_wrapper > .wpb_text_column:has(.a_link_green) { order: 1; margin: 12px 0 0; text-align: right; }
	.s_main_insta > .vc_column-inner > .wpb_wrapper > .insta_feed { order: 2; }
	.s_main_insta .a_link_green { position: static !important; left: auto !important; top: auto !important; }
}

/* 모바일 메뉴: 누른 항목 아래 흰 줄(Salient 링크 밑줄 효과 a::after)이 생겼음 → 숨김 */
@media (max-width: 999px) {
	body #slide-out-widget-area .off-canvas-menu-container .menu li > a::after { display: none !important; }
}

/* Flow-Flow(Social Feed) 관리자용 "Customize Stream" 화면 편집 버튼 숨김 (담당자 요청 2026-12-03, 2.3.4) */
.ff-live-editor-trigger { display: none !important; }
