/* 작업내역 : 2022. 01. 03 - 한국철도공사 신형섭 대리 */
/* 기존 CSS 규칙에 '추가'되어 적용될 수 있는 스타일시트를 별도 구성 */
/* 오버라이딩 스타일 속성의 우선순위 부여를 위해 각 스타일에 'html'부모를 추가함 */

/* ====================== */
/* 메뉴바 관련 코드 : 시작 */ 
/* ====================== */

/* ====================== 
기본 배경색 지정 - 모바일 베젤 영역 대응 */
html body {
    background-color: #000;
}

/* ====================== 
헤더 색상 변경 */
html #header > .wrap {
    background: #fff;
}

html #header > .wrap .gnb:before {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    background-color: #eee;
    transform: translateX(-50%);
    background-color: #fff;
}

/* ====================== 
로고 변경 */
html .logo .logo_anchor {
    background-image: url(/common/images/layout/logo-info-short.svg);
    /* width: 227px; */
    width: 195px;
    /* background-size: 227px; */
    background-size: 195px;
}

html.lnb_open .logo .logo_anchor {
    background-image: url(/common/images/layout/logo-info-short--color.svg);
}

/* ====================== 
링크존 */
html .top_popup {
    position: relative;
    z-index: 40;
}
html .top_popup .arrow:hover {
    opacity: 0.75;
}

html .top_popup .top_popup_item {
    width: 100%;
}

html .top_popup .ctrlbtn .auto {
    width: 8px;
    height: 16px;
    margin-right: 4px;
}

html .top_popup .ctrlbtn {
    position: absolute;
    top: 14px;
    right: 32px;
}

html .top_popup .ctrlbtn:hover {
    opacity: 0.75;
}

.top_popup .top_popup_item .slide_detail:hover {
    text-decoration: underline;
}

/* ===================
서비스메뉴바(.gnb) - 색상 변경 */
html .gnb .site_item:first-child .site_anchor, 
html .gnb .site_item .site_anchor, 
html .gnb .link_anchor, 
html #header .language .link_anchor {
    color: #000;
}

html .gnb .site_item {
    border-color: #bbb;
}

.gnb .link_item:hover > a,
.gnb .link_item:hover > button {
    text-decoration: underline;
}

.gnb .link_item ul > li:hover > a {
    text-decoration: underline;
}


html .gnb .site_item:first-child .site_anchor {
    color: #fff;
    background-color: #0059a4;
}

html .gnb .site_item:first-child .site_anchor:before {
    border-color: #0059a4;   
}

html .gnb .link {
    right: 0;
}

html .gnb .site_item.n2:hover {
    background-color: #078EB9;
    border-color: #078EB9;
}

html .gnb .site_item.n2:hover a {
    color: #fff;
}

/* ===================
서비스메뉴바(.gnb) - 색상 변경 - LNB OPEN  */
html.lnb_open .gnb .site_item {
    border-color: #bbb;
}

html.lnb_open .gnb .site_item:first-child .site_anchor {
    color: #fff;
}

/* ===================
서비스메뉴바(.gnb) - 자주찾는 메뉴(quick-menu), 다국어(Language) 드롭다운  */
html #header .language, html #header .quick-menu {
    position: relative;    
}

html #header .language .link_anchor, html #header .quick-menu .link_anchor {
    font-weight: 400;
    padding-right: 15px;
}

html #header .language .link_anchor:after, 
html #header .quick-menu .link_anchor:after, 
html.lnb_open #header .language .link_anchor:after {
    background-image: url(/common/images/layout/language_arrow.svg);
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 6px;
    background-size: cover;
    background-position: center;
    content: '';
    margin-top: -1px;
} 

html #header .language.active .link_anchor:after,
html #header .quick-menu.active .link_anchor:after {
    transform: rotate( 180deg);
}

html #header .quick-menu .quick-menu_list {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    width: 120px;
    padding: 10px 0;
    box-shadow: 5px 9px 25px 0 rgb(119 127 152 / 20%);
    background-color: #fff;
}

html #header .quick-menu .quick-menu_list li + li {
    margin-top: 10px;
}

html #header .quick-menu .quick-menu_list li a {
    display: block;
    padding: 0 10px;
    font-size: 15px;
    line-height: 17px;
    color: #000;
}

/* ===================
서비스메뉴바(.gnb) - 팝업닫기  */
html #header .link_item .top_popup_close_gnb {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 16px;
    line-height: 18px;
}

html #header .link_item .top_popup_close_gnb:after {
    display: inline-block;
    width: 10px;
    height: 6px;
    margin-left: 5px;
    background-image: url(/site/info/images/main/main_language_arrow.svg);
    transform: rotate(180deg);
    vertical-align: top;
    background-color: #000;
    width: 20px;
    height: 20px;
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

html.top_hide #header .link_item .top_popup_close_gnb:after {
    transform: rotate(0deg);
}

/* ===================
메인메뉴(.lnb) */
html .lnb .menu .depth1_text {
    letter-spacing: -0.06em;
}       

html .lnb .menu .depth1_list {
    max-width: 1140px;
    padding-left: calc(227px + 40px);
    padding-right: calc(76px + 40px);
    margin-left: auto;
    margin-right: auto;
}       

/* ===================
반응형 */
@media /* ~1400px */
all and (max-width: 1400px) {
    
}

@media /* 1001px ~  */
all and (min-width: 1001px) {
    /* ===================
    메인메뉴(.lnb) - 배경 변경 */
    html .lnb .menu {
        background-color: rgba(0,0,0,.50);
    }

    .lnb .menu.after:before {
        background-image: none;
    }   

    /* ===================
    링크존 - 팝업닫기 */
    .top_popup .top_popup_close {
        display: none;
    }
}

@media /* ~1000px */
all and (max-width: 1000px) {
    /* ===================
    서비스메뉴바(.gnb) - 헤더 */
    html #header {
        background-color: #fff;
        box-shadow: 0 3px 10px 0 rgb(0 0 0 / 7%);
        transition: .1s all ease-in-out;
    }

    html #header .menu_area {
        position: relative;
        z-index: 41;
    }

    /* ===================
    로고 */
    html .logo .logo_anchor,
    html.scrolled .logo .logo_anchor {
        background-image: url(/common/images/layout/logo-info-short--color.svg);   
        /* background-size: 181px; */
        background-size: 156px;
        /* width: 181px; */
        width: 156px;
        height: 24px;
    }

    /* ===================
    검색 버튼 */
    html .group .search .search_btn,
    html.scrolled .group .search .search_btn {
        background-image: url(/common/images/layout/scrolled_search_icon.svg);
    }

    html .group .search .search_btn:hover,
    html.scrolled .group .search .search_btn:hover {
        opacity: 0.5;
    }

    /* ===================
    햄버거 메뉴 버튼 */
    html .lnb .menu_show .menu_btn:before,
    html.scrolled .lnb .menu_show .menu_btn:before {
        background: url(/common/images/layout/scrolled_ham_icon.svg) center /cover;
    }

    html .lnb .menu_show .menu_btn:hover:before,
    html.scrolled .lnb .menu_show .menu_btn:hover:before {
        opacity: 0.5;
    }

    /* ===================
    햄버거 메뉴 */
    html .lnb .menu .depth1_list {
        padding-left: 0;
    }

    /* ===================
    모바일 뷰 텍스트버튼 색상 변경 */
    html .gnb .site_item:first-child .site_anchor, 
    html .gnb .site_item .site_anchor, html .gnb .link_anchor, 
    html #header .language .link_anchor {
        color: #fff;
    }
    
    /* ===================
    모바일 뷰 텍스트버튼 아이콘 및 사이즈 색상 변경 */
    html #header .language .link_anchor:after, 
    html #header .quick-menu .link_anchor:after, 
    html.lnb_open #header .language .link_anchor:after {
        background-image: url(/site/info/images/main/main_language_arrow.svg);
    }

    html #header .language.active .link_anchor:after, 
    html #header .quick-menu.active .link_anchor:after {
        background-size: 100%;
    }

    html #header .quick-menu .link_anchor {
        padding-left: 0;
        color: #fff;
        margin-top: -2px;
    }

    html #header .quick-menu .quick-menu_list {
        top: 100%;
    }

    /* ===================
    모바일 뷰 텍스트버튼 좌측 아이콘 제거 */
    .lnb .link .link_item.login a,
    .lnb .link .link_item.logout a {
        padding-left: 0;
    }

    .lnb .link .link_item.login a:before,
    .lnb .link .link_item.logout a:before {
        display: none;
    }
}

@media /* ~900px */
all and (max-width: 900px) {

}

@media /* ~640px */
all and (max-width: 640px) {

}

/* ====================== */
/* 메뉴바 관련 코드 : 끝 */ 
/* ====================== */

/* ====================== */
/* 푸터 관련 코드 : 시작 */ 
/* ====================== */

#footer .info_certificates {
    padding-top: 24px;
    padding-left: 10px;
    padding-right: 10px;
}

#footer .info_certificates > ul {
    font-size: 0;
}

#footer .info_certificates > ul > li {
    display: inline-block;
    font-size: 16px;
    margin-left: 12px;
}

#footer .info_certificates > ul > li:first-child {
    margin-left: 0;
}

#footer .info_certificates > ul > li > a {
    width: 58px;
    height: 58px;
}

@media /* ~1000px */
all and (max-width: 1000px) {
    #footer .info_certificates > ul {
        text-align: center;
    }
}

/* ====================== */
/* 푸터 관련 코드 : 끝 */ 
/* ====================== */