/*
 * Total 테마가 기본으로 주던 바탕 스타일 (inc/total-compat.php 출력용)
 * 기존 자식테마 CSS(ssdain*.css, sdain_rps.css)가 이 위에 덮어쓴다. 그래서 이 파일을 먼저 불러온다.
 * Total 원본 값을 참고해 이 사이트에서 쓰는 것만 새로 적음.
 */

/*
 * 기본 글꼴·제목·문단 (Total 기본값)
 * Salient style.css 와 같은 "요소 선택자"라서, 뒤에 불러오는 이 파일이 이기고
 * 자식테마 CSS(클래스 선택자)는 운영 때처럼 이 위에 덮어쓴다.
 */
html { font-size: 62.5%; }
body { font-size: 13px; line-height: 1.65; color: #666; }
p { padding-bottom: 0; margin: 0 0 20px; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; color: #000; line-height: 1.5; margin: 30px 0 20px; letter-spacing: normal; }
h1 { font-size: 1.5em; line-height: 1.5; margin: 0 0 20px; }
h2 { font-size: 1.313em; line-height: 1.5; }
h3 { font-size: 1.125em; line-height: 1.5; }
h4 { font-size: 1em; line-height: 1.5; }
h5 { font-size: .875em; line-height: 1.5; }
h6 { font-size: .75em; line-height: 1.5; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; padding: 0; margin: 0 0 20px; font-size: 1em; }
table th, table td { text-align: inherit; padding: .769em 1em; border: 1px solid #eee; }
table th { font-weight: 600; color: #444; }
thead { background: #f7f7f7; }
img { max-width: 100%; height: auto; }
:root { --nectar-paragraph-bottom-spacing: 0; --nectar-heading-bottom-spacing: 20px; }

/* 공통 */
.clr:after, .wpex-clr:after, .vcex-clr:after, .col:after { content: ""; display: block; height: 0; clear: both; visibility: hidden; }
.wpex-clear { clear: both; }
.aligncenter { margin-left: auto; margin-right: auto; }
.textcenter { text-align: center; }
.textleft { text-align: left; }
.textright { text-align: right; }

/* 화면별 보이기 (Total visibility 옵션) */
@media (min-width: 768px) {
	.visible-phone { display: none !important; }
}
@media (max-width: 767px) {
	.hidden-phone { display: none !important; }
}

/* 격자 */
.wpex-row { margin: 0 -10px; }
.wpex-row .col { float: left; margin: 0 0 20px; padding: 0 10px; box-sizing: border-box; }
.wpex-row .span_1_of_1.col { float: none; width: 100%; }
.wpex-row .span_1_of_2 { width: 50%; }
.wpex-row .span_1_of_3 { width: 33.33%; }
.wpex-row .span_1_of_4 { width: 25%; }
.wpex-row.gap-30 { margin-left: -15px; margin-right: -15px; }
.wpex-row.gap-30 > .col { padding-left: 15px; padding-right: 15px; margin-bottom: 30px; }
.col-1 { clear: both; }
@media (max-width: 767px) {
	.wpex-row .col { width: 100%; }
}

/* 버튼 */
.theme-button {
	display: inline-block; background: #18336a; color: #fff; padding: .538em 1.077em;
	font-family: inherit; font-size: .923em; font-weight: 400; margin: 0; border: 0; cursor: pointer;
	line-height: 1.65; text-decoration: none !important; max-width: 100%; transition: .15s all ease; border-radius: 3px;
}
.theme-button:hover { background: #102347; color: #fff; }
.theme-button.minimal-border { background: none; color: #888; border: 1px solid #e8e8e8; border-radius: 0; }
.theme-button.minimal-border:hover, .theme-button.minimal-border.active { background: #f7f7f7; color: #555; }
.theme-button.align-left { float: left; }
.theme-button.align-right { float: right; }
.theme-button-icon-right { padding-left: .769em; }
.theme-button-icon-left { padding-right: .769em; }
.theme-button p, .vcex-button p { margin: 0 !important; }
.theme-button.hvr-shadow:hover { box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5); }
.theme-button-wrap.textcenter { text-align: center; }

/* 제목 */
.vcex-heading { display: block; color: #000; font-size: 1.615em; margin: 0 auto; max-width: 100%; line-height: 1.4; }
.vcex-heading-inner { display: inline-block; }

/* 구분선 */
.vcex-divider { display: block; height: 0; margin: 0 auto; background: none; border-style: solid; border-width: 0; }
.vcex-divider-solid { border-top: 1px solid #e8e8e8; }
.vcex-divider-center { margin-left: auto; margin-right: auto; float: none; }
.vcex-divider-left { margin-left: 0; float: left; }
.vcex-divider-right { margin-right: 0; float: right; }

/* 간격 */
.vcex-spacing { clear: both; display: block; width: 100%; margin: 0; padding: 0; }

/* 하위 메뉴 버튼 줄 */
.vcex-navbar a { display: block; float: left; }
.vcex-navbar a:hover { text-decoration: none; }
.vcex-navbar a.theme-button { margin: 0 5px 5px 0; }
.vcex-navbar.align-center { text-align: center; }
.vcex-navbar.align-center a { float: none; display: inline-block; }

/* 아이콘 박스 */
.vcex-icon-box { position: relative; display: block; }
.vcex-icon-box p { margin: 0 0 10px; }
.vcex-icon-box p:last-child { margin: 0; }
.vcex-icon-box-heading { display: block; font-size: 1.077em; font-weight: 600; margin: 0 0 10px; }
.vcex-icon-box-image { display: block; max-width: 100%; height: auto; }
.vcex-icon-box-two { text-align: center; }
.vcex-icon-box-two .vcex-icon-box-image { margin: 0 auto 20px; }
.vcex-icon-box-link-wrap { display: block; text-decoration: none !important; }

/* 티저 */
.vcex-teaser { display: block !important; margin-bottom: 30px; overflow: hidden; }
.vcex-teaser-heading { color: #000; font-weight: 600; font-size: 1.231em; margin: 0; }
.vcex-teaser-content { padding-top: 20px; }
.vcex-teaser-text { padding-top: 10px; }
.vcex-teaser-text p:last-child { margin: 0; }
.vcex-teaser-media { margin: 0; }
.vcex-teaser-media img { vertical-align: bottom; max-width: 100%; height: auto; }
.vcex-teaser-three .vcex-teaser-content { padding: 20px; }

/* 블로그 목록 */
.vcex-blog-entry-details { padding: 20px; border: 1px solid #eee; }
.vcex-blog-entry-date { font-size: .923em; color: #777; margin: 0 0 5px; }
.vcex-blog-entry-media img { display: block; max-width: 100%; height: auto; }
.left-thumbs .entry .entry-media { float: left; width: 46%; margin: 0 0 20px; }
.left-thumbs .entry .entry-details { background: none; border: none; float: right; width: 50%; padding: 0; }
.left-thumbs .entry.no-media .entry-details { width: 100%; }
@media (max-width: 767px) {
	.left-thumbs .entry .entry-media, .left-thumbs .entry .entry-details { float: none; width: 100%; }
}
.wpex-pagination ul.page-numbers { list-style: none; margin: 20px 0 0; padding: 0; text-align: center; }
.wpex-pagination ul.page-numbers li { display: inline-block; margin: 0 3px; }

/* 여러 버튼 */
.vcex-multi-buttons .theme-button { text-align: center; line-height: inherit; margin: 0 5px 5px; border: 3px solid transparent; border-radius: inherit; } /* Total: 모서리는 묶음 값(기본 0) */

/* Salient 요소로 바꾼 것 */
.sdain-salient-gallery .flex-gallery, .sdain-homeslider .flex-gallery { margin-bottom: 0; }
.sdain-homeslider .cq-homeslider-contentitem { display: none; }
.sdain-homeslider .cq-homeslider-contentitem.is-active { display: block; }
/* 원래 플러그인(vc-extensions homeslider) 기본 모양: 이미지 최대 640px, 설명 상자는 이미지 위에 겹침 */
.cq-homeslider-area { width: 100%; position: relative; display: inline-block; z-index: 1; clear: both; }
.cq-homeslider-cover { position: relative; z-index: 0; display: block; padding: 0; margin: 0; background: #fff; max-height: 640px; overflow: hidden; }
.cq-homeslider-contentcontainer { position: absolute; top: 0; left: 0; padding: 32px 32px 72px; width: 400px; height: auto; color: #fff; box-sizing: border-box; z-index: 5; }
.cq-homeslider.tinyshadow .cq-homeslider-contentcontainer { box-shadow: 0 2px 4px 0 rgba(50, 50, 50, .2); }
.cq-homeslider.lavender .cq-homeslider-contentcontainer { background: rgba(131, 97, 211, .8); }
.cq-homeslider .slick-dots { position: absolute; max-width: 100%; width: 100%; left: 0; bottom: 14px; margin: 0; padding: 0; text-align: center; list-style: none; }
.cq-homeslider .slick-dots li { display: inline-block; position: relative; width: 20px; height: 20px; margin: 0 5px; padding: 0; list-style: none; cursor: pointer; }
.cq-homeslider .slick-dots li button { display: block; width: 20px; height: 20px; padding: 5px; border: 0; outline: none; background: transparent; color: transparent; font-size: 0; line-height: 0; cursor: pointer; }
/* 점 모양: 운영(All In One Addons slick.css)처럼 slick 아이콘 글꼴. Arial 의 • 는 훨씬 작아 누르기 어려웠음 */
@font-face { font-family: "slick"; src: url("../fonts/slick/slick.woff") format("woff"), url("../fonts/slick/slick.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: block; }
.cq-homeslider .slick-dots li button:before { content: "\2022"; position: absolute; top: 0; left: 0; width: 20px; height: 20px; font-family: "slick"; font-size: 15px; line-height: 20px; text-align: center; color: #fff; opacity: .25; }
.cq-homeslider .slick-dots li.slick-active button:before { opacity: .8; }
@media (max-width: 640px) {
	.cq-homeslider-contentcontainer { position: relative; width: 100% !important; min-height: 0 !important; top: 0 !important; left: 0 !important; }
}
.sdain-milestone { text-align: center; }
.sdain-milestone .vcex-milestone-caption { margin-top: 5px; }

/* 제목 띠 (Total centered page header) */
.page-header { position: relative; padding: 80px 0; text-align: center; background-color: #18336a; background-position: center center; background-repeat: no-repeat; background-size: cover; }
.page-header .page-header-inner { position: relative; }
.page-header-title { display: block; margin: 0; color: #fff; font-size: 1.538em; font-weight: 600; line-height: 1.4; }
.page-header .site-breadcrumbs, .page-header .site-breadcrumbs a { color: #fff; font-size: 15px; }
.page-header .site-breadcrumbs .sep { padding: 0 4px; }
.page-header .site-breadcrumbs.position-under-title { padding-top: 5px; }
.page-header .site-breadcrumbs .breadcrumb-trail { display: inline-block; }
.header_title_sub { position: relative; text-align: center; }

/* 푸터 빌더·위젯 */
/* 푸터 빌더 안쪽은 운영처럼 본문 폭(.container) 그대로. 늘인 행의 배경만 화면 끝까지 */
.site-footer { background: #222; color: #aaa; }
.site-footer-inner { padding: 30px 0 0; }

/*
 * 화면 끝까지 늘인 행(Total "Stretch row")의 디자인 옵션 배경
 * 배경은 .vc_custom_xxx 로 행 상자(본문 폭)에 칠해지는데, Salient 는 화면 끝까지 닿는 배경을 안쪽 .row-bg-wrap 에 그린다.
 * 같은 배경을 .row-bg-wrap 에 물려줘 운영처럼 화면 끝까지 보이게 한다.
 */
/* 화면 끝까지 늘린 행(stretch_row)은 배경도 화면 전체 폭: 행 배경(디자인 옵션이든 자식테마 CSS .main_equ 등이든)을 전체 폭 배경 층이 물려받음 */
.wpb_row.full-width-section > .row-bg-wrap { background: inherit; }

/*
 * WPBakery 요소 아래 여백 (Total 은 0, Salient material 스킨은 1.5em·24px)
 * Salient 와 같은 선택자로 맞춘다.
 */
.wpb_row, .wpb_content_element, .wpb_button,
.material .wpb_content_element, .material .wpb_row,
.wpb_wrapper > div { margin-bottom: 0; }

/*
 * 칸 사이 간격 (Total/WPBakery: 행 -15px, 칸 안쪽 상자(.vc_column-inner) 양옆 15px, 칸 자체는 0)
 * Salient 기본은 행 -1%, 칸(.wpb_column) 양옆 1%.
 * 칸에 붙인 클래스의 양옆 여백(.s_main_insta 등)은 css/sdain-p-fix.css 에서 다시 살림
 * 화면 끝까지 붙는 행(full-width-content)은 Salient 그대로 간격 없음
 * 모바일도 운영은 같은 간격(행 -15px, 칸 안 15px)이라 모든 폭에 적용
 */
@media all {
	.wpb_row:not(.full-width-content) > .row_col_wrap_12,
	.wpb_row:not(.full-width-content) > .row_col_wrap_12_inner {
		margin-left: -15px !important;
		margin-right: -15px !important;
	}
	.vc_row-fluid > .span_12 .wpb_column {
		padding-left: 0;
		padding-right: 0;
	}
	.wpb_row:not(.full-width-content) > .row_col_wrap_12 > .wpb_column > .vc_column-inner,
	.wpb_row:not(.full-width-content) > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* 티저(이미지+글 상자): 아래 30px, 이미지 아래 여백 없음 (운영 Total) */
.wpb_wrapper > .vcex-teaser, .wpb_wrapper > .vcex-teaser:last-child { margin-bottom: 30px; }
.vcex-teaser-media img { margin-bottom: 0 !important; }

/* 슬라이드 갤러리 이미지 아래 15px(Salient) → 0 */
.flex-gallery .slides img, .wpb_flexslider .slides img { margin-bottom: 0; }

/*
 * WPBakery 5.7 js_composer.min.css 의 텍스트 블록 마지막 요소 아래 여백 0
 * (운영: #content .wpb_text_column :last-child, .wpb_text_column :last-child, .wpb_text_column p:last-child)
 * Salient 판 WPBakery CSS 에는 없음. #content 대신 Salient 바깥 상자 id 로 같은 우선순위
 */
/* 운영의 #content 는 본문만 감싸므로(하단 공통 영역 제외) id 우선순위 규칙은 본문(.container-wrap)에만 */
#ajax-content-wrap .container-wrap .wpb_text_column :last-child,
.wpb_text_column :last-child,
.wpb_text_column p:last-child { margin-bottom: 0; }

/* 이미지 슬라이더 아래 작은 그림 줄 (Total slider-pro 썸네일: 위 4px, 칸 사이 4px, 왼쪽 정렬) */
.sdain-slider-thumbs { margin-top: 4px; overflow: hidden; white-space: nowrap; font-size: 0; line-height: 0; }
.sdain-slider-thumb { display: inline-block; margin: 0 2px; cursor: pointer; vertical-align: top; }
.sdain-slider-thumb:first-child { margin-left: 0; }
.sdain-slider-thumb img { display: block; width: 100%; height: 100%; max-width: none; }

/* Total 칸 간격 0 (column_spacing="0px"): 행 바깥 여백·칸 안쪽 여백 없음 */
.wpb_row.wpex-vc-column-spacing-0px > .row_col_wrap_12,
.wpb_row.wpex-vc-column-spacing-0px > .row_col_wrap_12_inner { margin-left: 0 !important; margin-right: 0 !important; }
.wpb_row.wpex-vc-column-spacing-0px > .row_col_wrap_12 > .wpb_column > .vc_column-inner,
.wpb_row.wpex-vc-column-spacing-0px > .row_col_wrap_12_inner > .wpb_column > .vc_column-inner { padding-left: 0; padding-right: 0; }

/*
 * WPBakery 5.7 js_composer.min.css 의 이미지 요소 기본 (Salient 판 WPBakery 에 없음)
 * 그림 상자는 inline-block(정렬은 vc_align_*), 이미지는 줄 안 요소 → 작은 이미지(구분선 등)도 한 줄 높이(21px)를 차지
 * Salient `.full-width-section img { display:block }` 보다 우선
 */
.wpb_single_image .vc_figure { display: inline-block; vertical-align: top; margin: 0; max-width: 100%; }
.wpb_single_image .vc_single_image-wrapper { display: inline-block; vertical-align: top; max-width: 100%; }
.wpb_single_image .vc_single_image-wrapper img { display: inline; height: auto; max-width: 100%; vertical-align: top; }
.wpb_single_image.vc_align_left { text-align: left; }
.wpb_single_image.vc_align_center { text-align: center; }
.wpb_single_image.vc_align_right { text-align: right; }

/* Total: 배경 있는 행(늘리지 않은 행·안쪽 행)은 바깥 -15px 없음 (.wpex-vc-reset-negative-margin { margin:0 }) */
.wpb_row.wpex-vc-reset-negative-margin > .row_col_wrap_12,
.wpb_row.wpex-vc-reset-negative-margin > .row_col_wrap_12_inner { margin-left: 0 !important; margin-right: 0 !important; }

/* WPBakery 섹션(vc_section → Salient nectar_section): 운영은 섹션 -15px·안쪽 15px 로 상쇄, 안의 행이 -15px.
   Salient 섹션은 .wpb_row 라 위 칸 간격 규칙이 섹션 안 상자에도 -15px 를 줘서 두 번 넓어지던 것 → 섹션 상자는 0 */
.wpb_row.nectar_section > .row_col_wrap_12 { margin-left: 0 !important; margin-right: 0 !important; }

/* 같은 높이 칸(vc_row-flex): Salient 는 999px 이하에서 칸 상자를 flex-wrap:wrap 으로 바꿔
   칸의 ::after 장식(.special_section_08 .txt_wrap::after 구분선 등)이 다음 줄로 내려가 높이가 늘어남. 운영(5.7)은 줄바꿈 없음 */
.vc_row.vc_row-flex > .span_12 > .vc_column_container { flex-wrap: nowrap; }

/* WPBakery stretch_row_content(늘린 행, 칸 여백 있음 — 804곳): 칸 안 15px 유지 (stretch_row_content_no_spaces 는 0) */
.wpb_row.full-width-content.sdain-stretch-content > .row_col_wrap_12 > .wpb_column > .vc_column-inner { padding-left: 15px; padding-right: 15px; }

/* 전후 비교(구 cq_vc_beforeafter → Salient 이미지 비교): Salient 틀의 안쪽 5px 없음 (운영은 이미지가 칸 폭 그대로) */
.sdain-beforeafter .twentytwenty-wrapper { padding: 0 !important; }


/* 메인 "S다인치과의원 특별함" 가운데 파란 이미지(절대 위치): Salient 칸(position:relative)이 뒤에 그려져 가려짐 → 위로 */
.s_main_special_center_img { z-index: 20; } /* 같은 칸 안 아래 행(.row_col_wrap_12_inner, Salient z-index 10)보다 위 */

/* WPBakery 5.7: 칸 안쪽 상자(.vc_column-inner)는 기준점이 아님(static) → 칸 안 절대 위치 요소(진료안내 7F·8F 상자 등)가 칸 기준.
   Salient 는 relative 라 칸 위 여백만큼 내려가 글자를 덮었음 */
.wpb_column > .vc_column-inner { position: static; }

/* 섹션 화면 폭 늘림 (vc_section full_width): 화면 전체 폭, stretch_row 는 내용을 본문 폭에 두고 stretch_row_content 는 내용도 전체 폭 */
.wpb_row.nectar_section.sdain-section-stretched {
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}
.wpb_row.nectar_section.sdain-section-stretched.sdain-section-stretch-content {
	padding-left: 0;
	padding-right: 0;
}
/* 늘린 섹션 바로 안의 칸 간격 0 행: 운영은 섹션 안쪽이 본문보다 15px 씩 넓어(55px~) 이런 행도 그 폭. 임시는 70px~ 이라 15px 씩 좁았음 */
.wpb_row.nectar_section.sdain-section-stretched:not(.sdain-section-stretch-content) > .row_col_wrap_12 > .wpb_row.wpex-vc-column-spacing-0px > .row_col_wrap_12 {
	margin-left: -15px !important;
	margin-right: -15px !important;
}

/* WPBakery 칸 사이 간격(gap="1" → vc_column-gap-1): 칸마다 간격의 반만큼 안쪽 여백. Salient 는 이 옵션을 무시해
   다인임플란트의 특별함 CASE·편안함 상자 사이 흰 줄(뒤 배경이 1px 보이는 것)이 없어졌음 */
.wpb_row.vc_column-gap-1 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-1 > .row_col_wrap_12_inner > .wpb_column { padding: 0.5px !important; }
.wpb_row.vc_column-gap-2 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-2 > .row_col_wrap_12_inner > .wpb_column { padding: 1px !important; }
.wpb_row.vc_column-gap-3 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-3 > .row_col_wrap_12_inner > .wpb_column { padding: 1.5px !important; }
.wpb_row.vc_column-gap-4 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-4 > .row_col_wrap_12_inner > .wpb_column { padding: 2px !important; }
.wpb_row.vc_column-gap-5 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-5 > .row_col_wrap_12_inner > .wpb_column { padding: 2.5px !important; }
.wpb_row.vc_column-gap-10 > .row_col_wrap_12 > .wpb_column, .wpb_row.vc_column-gap-10 > .row_col_wrap_12_inner > .wpb_column { padding: 5px !important; }

/* Total 공용 클래스 (티저 스타일 two/three 등) */
.wpex-padding-20 { padding: 20px; }
.wpex-bg-gray { background: #f7f7f7; }
.wpex-bordered { border: 1px solid #eee; }

/* Total "같은 높이 칸"(equal-height-column, 운영은 JS 로 줄의 가장 높은 것에 맞춤) → 칸 안에서 늘려 같은 높이 */
.vc_column-inner > .wpb_wrapper:has(> .equal-height-column) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
}
.vc_column-inner > .wpb_wrapper > .equal-height-column {
	flex: 1 1 auto;
}

/* Salient 칸(.col)의 줄바꿈 정리용 ::after 는 visibility:hidden 이라, 자식테마가 칸 ::after 로 그린 장식
   (.special_section_08 .txt_wrap::after 구분선 등)이 안 보였음. 정리용 ::after 는 높이 0·배경 없음이라 보이게 해도 그대로 */
.wpb_column.col::after { visibility: visible; }

/* WPBakery 5.7 같은 높이·가운데 행(vc_row-flex): 행 자체가 flex 라 칸이 행 높이(자식테마 .sub_02_02_banner { height:457px } 등)만큼 늘고
   내용은 그 안에서 세로 가운데. Salient 는 칸 상자가 내용 높이뿐이라 내용이 위에 붙고 아래가 비었음(임플란트 성공의 팩터 등),
   칸 바닥 기준 이미지(.banner_img01 { bottom:0 })도 위로 올라갔음 → 칸 상자가 행 높이를 채우게 */
:where(.wpb_row.vc_row-flex) { display: flex; flex-direction: column; } /* :where = 우선순위 0 → 자식테마의 숨김(display:none) 규칙이 항상 이김 */
.wpb_row.vc_row-flex > .row_col_wrap_12,
.wpb_row.vc_row-flex > .row_col_wrap_12_inner { flex: 1 1 auto; }
/* 내용 위치(content_placement)만 정한 행: WPBakery 5.7 은 이것만으로도 행이 flex(vc_row-flex)라 내용이 행 높이 안에서 위·가운데·아래로 감.
   Salient 는 이런 행에 vc_row-flex 를 안 붙여 내용이 늘 위에 붙음 → 임플란트 진료 쪽 "정확하고 안전한" 배너(높이 537px, 내용 아래 맞춤, 위 -82px)가
   82px 위로 올라가 위 영역을 덮었음. 모바일(767 이하)은 그동안 맞춘 블록 배치를 그대로 둠 */
/* (2.2.5) 모바일도: 운영은 767px 이하에서도 이런 행이 flex(배너 글 상자가 내용 폭만큼 가운데, 400px 에서 334px) */
@media all {
	:where(.wpb_row:is(.vc_row-o-content-top, .vc_row-o-content-middle, .vc_row-o-content-bottom):not(.vc_row-flex)) { display: flex; flex-direction: column; }
	.wpb_row:is(.vc_row-o-content-top, .vc_row-o-content-middle, .vc_row-o-content-bottom):not(.vc_row-flex) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) { flex: 1 1 auto; }
	/* 칸은 행 높이로 늘고(칸 기준 절대 위치 이미지가 운영과 같은 기준), 칸 안쪽 상자가 위·가운데·아래 (WPBakery 5.7 과 같음) */
	/* 우선순위 div.col(0,1,1): Salient .col { display:block }(0,1,0) 보다 높고, 자식테마의 칸 숨김(.page-id-252 .sub_05_06_banner .banner_col { display:none } 등 클래스 2개 이상)보다 낮게 */
	:where(.wpb_row:is(.vc_row-o-content-middle, .vc_row-o-content-bottom):not(.vc_row-flex) > :is(.row_col_wrap_12, .row_col_wrap_12_inner)) > div.col { display: flex; }
	.wpb_row:is(.vc_row-o-content-middle, .vc_row-o-content-bottom):not(.vc_row-flex) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) > .wpb_column > .vc_column-inner { flex-grow: 1; }
	.wpb_row.vc_row-o-content-middle:not(.vc_row-flex) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) > .wpb_column { align-items: center; }
	.wpb_row.vc_row-o-content-bottom:not(.vc_row-flex) > :is(.row_col_wrap_12, .row_col_wrap_12_inner) > .wpb_column { align-items: flex-end; }
}

/* 안쪽 행의 칸 상자: Salient .wpb_row > .span_12 { z-index:10 } 이 안쪽 행에도 걸려, 같은 칸 안에서 겹쳐 놓은 절대 위치 이미지
   (충치치료 재료별 비교 가운데 원 .sub_05_01_compare_img { z-index:2 } 등)가 좌우 상자 뒤로 숨었음. WPBakery 5.7 은 z-index 없음 */
.wpb_row.inner_row > .span_12 { z-index: auto; }
