/*
 * 통합 레이어/배너 — 입찰교육 페이지군의 자리 배치 + 전용 조각 스타일 (건·전 공용).
 * 싣는 곳 = 입찰교육 화면(일정 · 수강후기 · 자료실 · 무료강의 등)의 `@push('styles')`.
 *
 * 자리별 배치 CSS 는 페이지군마다 자기 파일이다(`slots-{페이지군}.css`) — 공용 골격은 `display.css`.
 * 슬라이드(`slide_ebei`)의 장 스타일은 그 자리를 가진 일정 화면의 것이라 `css/shared/ebei/schedule.css` 에 있다.
 * 원문 = CI3 입찰교육 화면의 우측 자리 3겹(구 우측 광고 배너 조각과 같은 구조) · 조각 안 `<style>`.
 * 입찰교육 화면에만 뜨는 조각도 여기 있다(간이종심 레이어 1213 · 1214 의 조각 2 는 원문이 「간이종심제비공개」 로 뺐다).
 * 메인에도 뜨는 입찰교육 레이어(55·56·57·65)는 레이아웃이 싣는 `layers-ebei.css` 에 있다.
 */

/* ── 입찰교육 우측 배너 자리(`banner_ebeir`) ──
 * 원문 바깥 3겹 = 폭 1200 가운데 상자(relative) → 오른쪽 바깥 232px(absolute · 폭 200) → 화면 고정(fixed · 위에서 245px).
 * 재구축 입찰교육 화면은 레이아웃 `.container`(폭 1200) 안이라 바깥 100% 상자 없이 1200 상자부터 둔다. 세 겹 다 높이 0 이라 빈 자리는 흐름 높이를 먹지 않는다.
 * ⚠ 좌표 계산식으로 바꾸지 않는다 — 화면 폭이 좁아지면 원문처럼 오른쪽 밖으로 밀려 안 보인다(원문 동형). */
.ebei-display-right { clear: both; width: 1200px; margin: 0 auto; text-align: center; position: relative; }
.ebei-display-right > .ebei-display-right-pos { position: absolute; right: -232px; width: 200px; text-align: initial; }
#display_banner_ebeir { position: fixed; width: 200px; top: 245px; }

/* 소식 아이콘 배너(1251) — 원문 조각 <style> */
#display_banner_ebeir .display_ebei_news_banner {
    position: relative;
    width: 208px;
    height: 200px;
    background: url('/images/shared/display/ebei-news/ebei_news_banner_bg.png') no-repeat;
    background-size: 208px 200px;
}
#display_banner_ebeir .display_ebei_news_banner .link_wrap { position: absolute; bottom: 7px; left: 18px; }
#display_banner_ebeir .display_ebei_news_banner .link_wrap a { margin: 0 10px; width: 34px; height: 34px; cursor: pointer; }

/* 유튜브 미니배너(1374) — 구 훅 판 조각의 <style>(건설넷) · 전기넷 = 같은 파일 전기넷 사본의 `.content.jungi` 3줄(그림만 다르다) */
#display_banner_ebeir #mini_banner { width: 200px; height: 200px; }
#display_banner_ebeir #mini_banner .content {
    width: 200px; height: 200px;
    position: relative;
    background: url('/images/shared/display/ebei-youtube/banner_200x200_g_ebei.png') no-repeat center/100%;
}
#display_banner_ebeir #mini_banner .content .youtube { width: 170px; height: 95px; position: absolute; bottom: 35px; right: 15px; }
#display_banner_ebeir #mini_banner .content .youtube > iframe { width: 170px; height: 95px; }
#display_banner_ebeir #mini_banner .content .bt_btn {
    width: 170px; height: 30px;
    background: url('/images/shared/display/ebei-youtube/bt_btn_g_ebei.png') no-repeat center/100%;
    position: absolute; bottom: 5px; right: 15px; cursor: pointer;
}
#display_banner_ebeir #mini_banner .content .bt_btn:hover { background-image: url('/images/shared/display/ebei-youtube/bt_btn_g_ebei_hover.png'); }
#display_banner_ebeir #mini_banner .content.jungi { background-image: url('/images/shared/display/ebei-youtube/banner_200x200_j_ebei.png'); }
#display_banner_ebeir #mini_banner .content.jungi .bt_btn { background-image: url('/images/shared/display/ebei-youtube/bt_btn_j_ebei.png'); }
#display_banner_ebeir #mini_banner .content.jungi .bt_btn:hover { background-image: url('/images/shared/display/ebei-youtube/bt_btn_j_ebei_hover.png'); }

/* ── 유튜브 「영상 크게보기」 재생 레이어(1374 가 연다 · 자료실 · 무료강의 화면이 들고 있다) — 원문 조각 <style> ──
 * 배치 = 원문 중앙 레이어 3겹(흐름 안 absolute · 폭 100% · 위 여백 20 → 가운데 1000 → 600×600 칸, 칸 폭은 인라인 900 이 이긴다) + 인라인 `top: 0`.
 *   기준 상자 = 레이아웃 `.container`(1200 · relative) → 창 = 본문 위 20 · 왼쪽 150 · 스크롤을 따라간다(화면 고정 ❌).
 * 덮개 = 화면 전체 50% 검정을 뿌리의 ::before 로(입찰교육 상담 레이어와 같은 꼴). */
#ebei_youtube_play_layer { position: absolute; top: 0; left: 0; z-index: 1000000; width: 100%; height: 0; margin-top: 20px; }
#ebei_youtube_play_layer[hidden] { display: none; }
#ebei_youtube_play_layer::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); }
#ebei_youtube_play_layer > div { width: 1000px; margin: 0 auto; height: 0; }
#ebei_youtube_play_layer > div > div { margin: 0 auto; width: 600px; position: relative; height: 600px; }
#ebei_youtube_play_layer #youtube_wrap .youtube_content { width: 900px; height: 590px; margin: 0 auto; text-align: center; }
#ebei_youtube_play_layer #youtube_wrap .youtube_content .close_btn {
    width: 38px; height: 40px; background: url('/images/shared/display/ebei-youtube/close_btn.png') no-repeat center/100%;
    float: right; margin-bottom: 10px; cursor: pointer;
}
#ebei_youtube_play_layer #youtube_wrap .youtube_content .youtube iframe { width: 900px; height: 540px; }

/* ── 첫만남 이벤트 레이어(1209) — 원문 조각 <style> + 인라인 스타일 ──
 * 바깥 3겹(폭 100% → 1000px → 550px · 높이 0)과 absolute 상자가 레이어 좌표를 만든다 — 헤더 뒤 흐름 위치 + 위 여백 20px. */
#display_layers .display-ebei-first-meet { position: absolute; z-index: 1000000; width: 100%; margin-top: 20px; height: 0; }
#display_layers .display-ebei-first-meet .first-meet-center { width: 1000px; margin: 0 auto; height: 0; }
#display_layers .display-ebei-first-meet .first-meet-box { width: 550px; margin: 0 auto; height: 0; }
#display_layers .display-ebei-first-meet .first-meet-pos { position: absolute; z-index: 101; }
#display_layers .display-ebei-first-meet #layer_600x600 { clear: both; width: 600px; height: 600px; }
#display_layers .display-ebei-first-meet #layer_600x600 .content {
    width: 600px; height: 600px; position: relative;
    background: url('/images/shared/display/ebei-first-meet/bg_layer.png') no-repeat center/cover;
}
#display_layers .display-ebei-first-meet.jungi #layer_600x600 .content { background-image: url('/images/shared/display/ebei-first-meet/bg_layer_j.png'); }
#display_layers .display-ebei-first-meet #layer_600x600 .content .btn_close {
    width: 30px; height: 30px; position: absolute; top: 10px; right: 8px;
    background: url('/images/shared/display/ebei-first-meet/btn_layer_close_off.png') no-repeat center/100%;
    cursor: pointer; transition: all 0.2s;
}
#display_layers .display-ebei-first-meet #layer_600x600 .content .btn_close:hover { background: url('/images/shared/display/ebei-first-meet/btn_layer_close_on.png') no-repeat center/100%; }
#display_layers .display-ebei-first-meet #layer_600x600 .content .btn_layer {
    width: 600px; height: 142px; position: absolute; bottom: 0; left: 0;
    background: url('/images/shared/display/ebei-first-meet/btn_layer_off.png') no-repeat center/100%;
    cursor: pointer; transition: all 0.1s;
}
#display_layers .display-ebei-first-meet #layer_600x600 .content .btn_layer:hover { background: url('/images/shared/display/ebei-first-meet/btn_layer_on.png') no-repeat center/100%; }
#display_layers .display-ebei-first-meet .layer_bottom_bar {
    width: 600px; height: 25px; padding: 1px 15px 0 0;
    background-color: #0e0e0e; text-align: right; color: #fff;
    box-sizing: border-box; position: relative; bottom: 0;
}
#display_layers .display-ebei-first-meet .layer_bottom_bar label { cursor: pointer; }
#display_layers .display-ebei-first-meet .layer_bottom_bar input { cursor: pointer; margin-bottom: 6px; }

/* ── 상위교육 추천 레이어(1210 분석 `#layer_ver2` · 1211 적격심사 `#layer_ver1`) — 원문 조각 <style> ── */
#display_layers .display-ebei-higher-edu #layer_ver2,
#display_layers .display-ebei-higher-edu #layer_ver1 { clear: both; width: 600px; height: 600px; }
#display_layers .display-ebei-higher-edu #layer_ver2 .content { width: 600px; height: 600px; position: relative; background: url('/images/shared/display/ebei-higher-edu/bg_layer_ver2.png') no-repeat center/cover; }
#display_layers .display-ebei-higher-edu #layer_ver1 .content { width: 600px; height: 600px; position: relative; background: url('/images/shared/display/ebei-higher-edu/bg_layer_ver1.png') no-repeat center/cover; }
#display_layers .display-ebei-higher-edu .content .btn_close { width: 30px; height: 30px; position: absolute; top: 25px; right: 12px; cursor: pointer; transition: all 0.2s; }
#display_layers .display-ebei-higher-edu #layer_ver2 .content .btn_close { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver2_close_off.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver2 .content .btn_close:hover { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver2_close_on.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver1 .content .btn_close { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver1_close_off.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver1 .content .btn_close:hover { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver1_close_on.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu .content .btn_layer { width: 600px; height: 75px; position: absolute; bottom: 0; left: 0; cursor: pointer; transition: all 0.1s; }
#display_layers .display-ebei-higher-edu #layer_ver2 .content .btn_layer { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver2_off.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver2 .content .btn_layer:hover { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver2_on.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver1 .content .btn_layer { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver1_off.png') no-repeat center/100%; }
#display_layers .display-ebei-higher-edu #layer_ver1 .content .btn_layer:hover { background: url('/images/shared/display/ebei-higher-edu/btn_layer_ver1_on.png') no-repeat center/100%; }

/* ── 한전배전단가 분석교육 레이어(1212) — 원문 조각 <style>(사전접수 갈래만) ── */
#display_layers .display-ebei-kepco #kepco_layer { position: relative; width: 600px; height: 600px; }
#display_layers .display-ebei-kepco #kepco_layer .close_box { position: absolute; top: 20px; right: 20px; transition: transform 1s; }
#display_layers .display-ebei-kepco #kepco_layer .close_box:hover { cursor: pointer; transform: rotate(180deg); }
#display_layers .display-ebei-kepco #kepco_layer .layer_bg { position: absolute; width: 600px; height: 600px; background: url('/images/shared/display/ebei-kepco/kepco_main_bg_g.png') no-repeat; }
#display_layers .display-ebei-kepco #kepco_layer .layer_bg .bottom_btn { position: absolute; bottom: 0; width: 600px; height: 70px; background: url('/images/shared/display/ebei-kepco/main_early_btn.gif') no-repeat; }
#display_layers .display-ebei-kepco #kepco_layer .layer_bg .bottom_btn:hover { background: url('/images/shared/display/ebei-kepco/main_early_btn_on.gif') no-repeat; }

/* ── 입찰 온라인강의 홍보 레이어(1386) — 원문 조각 <style> ── */
#display_layers .display-ebei-online-lecture #layer_g { position: relative; width: 600px; height: 600px; }
#display_layers .display-ebei-online-lecture #layer_g .close_box { position: absolute; top: 20px; right: 20px; transition: transform 1s; cursor: pointer; }
#display_layers .display-ebei-online-lecture #layer_g .close_box:hover { transform: rotate(180deg); }
#display_layers .display-ebei-online-lecture #layer_g .basic_bg { position: absolute; width: 600px; height: 600px; background: url('/images/shared/display/ebei-online-lecture/bg_basic_g.png') no-repeat; }
#display_layers .display-ebei-online-lecture #layer_g .basic_bg button { position: absolute; bottom: 0; width: 600px; height: 80px; background: url('/images/shared/display/ebei-online-lecture/btn_basic_g.png') no-repeat; }
#display_layers .display-ebei-online-lecture #layer_g .basic_bg button:hover { filter: hue-rotate(-15deg); }
#display_layers .display-ebei-online-lecture #layer_g .eligibility_bg { position: absolute; width: 600px; height: 600px; background: url('/images/shared/display/ebei-online-lecture/bg_eligibility_g.png') no-repeat; }
#display_layers .display-ebei-online-lecture #layer_g .eligibility_bg button { position: absolute; bottom: 0; width: 600px; height: 80px; background: url('/images/shared/display/ebei-online-lecture/btn_eligibility_g.png') no-repeat; }
#display_layers .display-ebei-online-lecture #layer_g .eligibility_bg button:hover { filter: contrast(130%); }

/* ── 맞춤강의 추천 레이어(1215) — 원문 조각 <style>(그림 = S클래스 `layer6_*`) ── */
#display_layers .display-ebei-personal-lecture .lecture_reco_layer { position: relative; width: 600px; height: 600px; background: url('/images/shared/display/ebei-personal-lecture/layer6_lecture_bg.png') no-repeat; }
#display_layers .display-ebei-personal-lecture .lecture_reco_layer .close { position: absolute; top: 13px; right: 13px; cursor: pointer; opacity: 0.6; transition: 0.2s; }
#display_layers .display-ebei-personal-lecture .lecture_reco_layer .close:hover { opacity: 1; }
#display_layers .display-ebei-personal-lecture .lecture_reco_layer .btn_view { position: absolute; bottom: 0; left: 0; cursor: pointer; }

/* ── 맞춤강의 추천 하단 띠(1252 · `banner_bottom`) — 원문 조각 <style>(7색 중 쓰는 `ver6` 만) ──
 * 버튼 초기화(테두리·여백·배경 0)는 같은 자리의 전입교 고정 띠(1253 · `slots-band.css`)와 같은 원문 전역 초기화 몫이다. */
#display_banner_bottom .lecture_reco_banner { position: fixed; bottom: 0; left: 0; width: 100%; height: 80px; z-index: 1; }
#display_banner_bottom .lecture_reco_banner .inner { position: relative; margin: -25px auto 0; width: 1200px; height: 105px; background: url('/images/shared/display/ebei-lecture-recom/banner6_lecture_bg.png') no-repeat; }
#display_banner_bottom .lecture_reco_banner.ver6 { background-color: #ab1b41; }
#display_banner_bottom .lecture_reco_banner p { padding: 50px 0 0 215px; font-size: 23px; color: #fff; letter-spacing: -1px; }
#display_banner_bottom .lecture_reco_banner button { border: 0; padding: 0; background: none; cursor: pointer; }
#display_banner_bottom .lecture_reco_banner button a { display: inline-block; position: absolute; top: 40px; right: 0; width: 220px; height: 50px; line-height: 50px; font-size: 23px; color: #fff; }
#display_banner_bottom .lecture_reco_banner.ver6 button a { background-color: #4a001b; }

/* ── 자리 로딩 상태 — 일정 슬라이드(`slide_ebei`)는 바깥 상자(`.visual-slider .swiper-container` 270px · `ebei/schedule.css:36`)가 높이를 쥐고 있어
   응답 전에 제목 아래 흰 공간이 보인다(공백형) → 로더가 `is-loading` 을 단 동안 상자 안을 채운다(공용 모양 = `display.css`). 우측 배너 자리(`ebeir`)는 fixed 라 흔적이 없어 그리지 않는다. */
#display_slide_ebei.is-loading { background: var(--display-skeleton-bg); }
