@charset "utf-8";

/* ==========================================================================
   Footer 2025 전용 스타일
   - footer2025.jsp 관련 스타일 추출
   ========================================================================== */
.mobile-kbtn-w{display:none;}
/* [반응형 처리] 모바일 등 화면이 작아질 때 검색바 처리 (선택사항) */
@media screen and (max-width: 992px) { 
    .mobile-kbtn-w{display:flex;} 
}

@media screen and (max-width: 768px) {
    .educat-tcon .logo a img {
        width: 105px;
    }
} 


#footer2025 {}

.foot2025 {
    background: #373737;
    position: relative;
    z-index: 500; 
    margin-top: 100px;
    font-family: 'S-CoreDream', sans-serif;
}

/* ----------------------------------------
   Scroll Top & Chat Widget
   ---------------------------------------- */
.scroll-top {
    position: fixed;
    right: 12%;
    bottom: 32px;
    width: 78px;
    height: 78px;
    padding-top: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 4px 4px 20px 1px rgba(0, 0, 0, 0.15);
    z-index: 1000; /* 필요시 z-index 추가 */
}

.scroll-top.send {
    position: absolute;
    bottom: auto;
    top: -110px;
}

.scroll-top span {
    font-size: 20px;
    font-weight: 600;
    color: #2a2a2a;
    display: block;
    text-align: center;
}

.scroll-top::before {
    content: "";
    display: block;
    width: 18px;
    height: 15px;
    background: url(/static/portal/img/main2025/scroll_top_icon.png) no-repeat right top / 100% 100%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translatex(-50%);
}

.chat-widget {
    position: fixed;
    bottom: 32px;
    z-index: 1000;
    transition: bottom 0.3s ease, top 0.3s ease;
}

.chat-widget.send {
    margin-bottom: 220px;
}

/* ----------------------------------------
   Footer Top (관련사이트 셀렉트 박스)
   ---------------------------------------- */
.foot-top {
    padding: 14px 0 0 0;
}

.foot-top-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.foot-selt {
    display: flex;
    justify-content: flex-end;
    margin-left: -30px;
    flex: 1 1 auto;
}

.foot-selt .selt-in {
    margin-left: 30px;
    height: 42px;
    width: calc(100% / 3 - 30px);
    background: #575757;
    position: relative;
    z-index: 5;
    flex: 1 1 auto;
}

.foot-selt .selt-in > a {
    padding: 0 27px 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.foot-selt .selt-in > a span {
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    transition: none;
}

.foot-selt .selt-in > a::after {
    content: "";
    display: block;
    width: 8px;
    height: 11px;
    background: url(/static/portal/img/main2025/foot-select_icon.png) no-repeat right top / auto;
    margin-left: 8%;
}

.foot-selt .selt-in > a:hover span,
.foot-selt .selt-in > a.on span {
    font-weight: 500;
}

.foot-selt .selt-in > a.on::after {
    transform: translateY(-50%) rotate(-90deg);
}

.foot-selt .selt-in .selt-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 5px);
    background: #575757;
    padding: 18px 15px;
    display: none;
    /* 스크롤바 스타일 */
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Webkit 스크롤바 커스텀 */
.foot-selt .selt-in .selt-list::-webkit-scrollbar {
    width: 8px;
}
.foot-selt .selt-in .selt-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.foot-selt .selt-in .selt-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.foot-selt .selt-in .selt-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.foot-selt .selt-in .selt-list > ul > li {
    border-top: 1px solid #878787;
}

.foot-selt .selt-in .selt-list > ul > li:last-child {
    border-bottom: 1px solid #878787;
}

.foot-selt .selt-in .selt-list > ul > li > a {
    padding: 8px 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    display: block;
}

.foot-selt .selt-in .selt-list > ul > li > a:hover {
    background: #6f6f6f;
}

/* 드롭다운 카테고리 제목 스타일 */
.foot-selt .selt-in .selt-list .depth-title {
    color: #333;
    padding: 8px 10px;
    background: #f8f8f8;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    cursor: default;
}

.foot-selt .selt-in .selt-list .depth-title span {
    display: inline-block;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

/* 일반 링크와 구분 */
.foot-selt .selt-in .selt-list li a {
    display: block;
    padding: 6px 12px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.foot-selt .selt-in .selt-list li a:hover {
    background-color: #f2f2f2;
    color: #000;
}

/* ----------------------------------------
   Footer Bottom (주소, 로고, 마크)
   ---------------------------------------- */
.foot-btm {
    padding: 135px 0 30px 0;
    position: relative;
}

.foot-log {
    position: absolute;
    left: 0;
    top: 35px;
}

.foot-log img {
    float: none;
    display: block;
}

/* 기본적으로 작은 화면에서 회색 로고 숨김 */
.footer-logo-gray {
    display: none;
}

.foot-btm address {
    margin: 0;
    width: 100%;
    font-style: italic;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.foot-btm address .addr-lf {
    margin-right: 25px;
}

.foot-btm address .addr-rt {
    margin-left: auto;
    margin-right: 13%;
}

.foot-btm address .addr-rt > a {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1.5;
    position: relative;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

.foot-btm address .addr-rt > a::after {
    content: "";
    display: block;
    width: 9px;
    height: 11px;
    background: url(/static/portal/img/main2025/arrow_icon_rt.png) no-repeat right top / auto;
    margin-left: 7px;
    transform: skewX(-20deg);
}

.foot-btm address span {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1.5;
    position: relative;
}

.foot-btm .markset {
    margin-left: 0;
    position: absolute;
    right: 16.5%;
    top: 23px;
}

.foot-btm .markset img {
    width: 122px;
}

/* ----------------------------------------
   Footer Navigation (개인정보처리방침 등)
   ---------------------------------------- */
.foot-nav-wrap {
    border-top: 1px solid #cec7c7;
}

.foot-nav-con {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.foot-nav {
    padding: 15px 0;
}

.foot-nav > ul {
    display: flex;
}

.foot-nav > ul > li {
    margin-right: 12px;
    padding-right: 13px;
    position: relative;
}

.foot-nav > ul > li::after {
    content: "";
    display: block;
    width: 1px;
    height: 13px;
    background: #fff;
    position: absolute;
    right: 0;
    top: 6px;
}

.foot-nav > ul > li:last-child {
    margin-right: 0;
    padding-right: 0;
    position: relative;
}

.foot-nav > ul > li:last-child::after {
    display: none;
}

.foot-nav > ul > li > a {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -.5px;
}

.foot-nav > ul > li:first-child > a {
    color: #feed56;
}

.foot-nav > ul > li > a:hover {
    color: #feed56;
}

.foot-nav-con p.addr-eng {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    display: block;
    margin: 0 0 0 auto;
    padding: 10px 10px 10px 30px;
    line-height: 1.5;
    position: relative;
    font-style: italic;
}


/* ==========================================================================
   Media Queries (반응형 스타일)
   ========================================================================== */

@media screen and (max-width: 1800px) {
    .scroll-top {
        right: 5%;
    }
}

@media screen and (max-width: 1600px) {
    .scroll-top {
        right: 10px;
        bottom: 20px;
    }

    .scroll-top.send {
        top: -98px;
    }
}

/* PC 화면 (1024px 이상)에서 로고 표시 및 배치 */
@media (min-width: 1024px) {
    .footer-logo-gray {
        display: inline-block;
        float: left;
        margin-right: 15px;
        widows: 160px;
        height: 48px;
    }

    .foot-btm address span {
        display: block;
    }

    .foot-btm address {
        overflow: hidden;
    }

    .foot-btm {
        align-items: center;
        justify-content: start;
        gap: 20px;
    }
}

@media screen and (max-width: 990px) {
    .foot-top {
        padding: 20px 0 0 0;
    }
    
    /* 992px 미만에서는 열린구청장실 숨김 */
    /* .familySet 관련 코드는 헤더 관련이지만, 만약 푸터 내부에 있다면 유지 */
    
    .foot-selt {
        width: 100%;
    }

    .foot-nav {
        margin: 0;
        width: 100%;
    }

    .foot-nav > ul {
        flex-wrap: wrap;
        margin-top: -7px;
    }

    .foot-nav > ul > li {
        margin-top: 5px;
    }

    .foot-nav-con p {
        padding: 0 0 20px 0;
    }

    .foot-btm {
        padding: 130px 0 30px 0;
        justify-content: center;
        position: relative;
    }

    .foot-btm address .addr-rt {
        margin-left: auto;
        margin-right: 0;
    }

    .foot-btm .markset {
        right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .foot-selt {
        margin-left: -15px;
    }

    .foot-selt .selt-in {
        margin-left: 15px;
        width: calc(100% / 3 - 15px);
    }

    .foot-selt .selt-in > a {
        padding: 0 30px 0 15px;
    }

    .foot-selt .selt-in > a::after {
        right: 15px;
    }

    .scroll-top {
        width: 55px;
        height: 55px;
        padding-top: 15px;
        bottom: 20px;
        box-shadow: 3px 3px 15px 1px rgba(0, 0, 0, 0.2);
    }

    .scroll-top::before {
        width: 13px;
        height: 11px;
        top: 12px;
    }

    .scroll-top.send {
        top: -75px;
    }

    .scroll-top span {
        font-size: 15px;
    }

    .foot-btm {
        padding: 30px 0;
    }

    .foot-btm .foot-log {
        margin-right: 0;
        width: 110px;
        left: 0;
        top: 5px;
    }

    .foot-btm .foot-log img {
        width: 100%;
    }

    .foot-btm address {
        margin-top: 0;
    }

    .foot-btm address .addr-lf {
        margin: 0;
        width: 100%;
        position: relative;
        padding-left: 130px;
    }

    .foot-btm address .addr-rt {
        margin: 10px 0 0 0;
        width: 100%;
        position: relative;
        padding-left: 130px;
    }

    .foot-btm address span {
        margin-bottom: 3px;
    }

    .foot-btm address .addr-rt > a {
        margin-bottom: 3px;
    }

    .foot-btm .markset {
        left: 0;
        top: 5px;
        width: 110px;
        text-align: center;
    }

    .foot-btm .markset img {
        width: 100px;
    }
}

@media screen and (max-width: 540px) {
    .foot-top-wrap {
        padding: 0 7px;
    }

    .foot-top {
        border-bottom: 0;
        padding-bottom: 20px;
    }

    .foot-selt {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0;
        gap: 10px;
    }

    .foot-selt .selt-in {
        flex: 1 1 calc(50% - 10px);
        box-sizing: border-box;
        margin: 0;
    }

    /* 첫 번째 row 여백 제거 */
    .foot-selt .selt-in:nth-child(-n+3) {
        margin-top: 0;
    }

    .foot-selt .selt-in > a span {
        font-size: 12px;
        font-weight: 500;
        color: #fff;
    }

    .foot-selt .selt-in > a {
        padding: 0 5px 0 5px;
        border: 1px dashed transparent;
        border-top: 0;
        justify-content: space-between;
    }

    .foot-selt .selt-in .selt-list {
        padding: 0;
        bottom: 100%;
        border: 1px dashed red; /* 필요시 제거 */
        border-bottom: 0;
    }

    .foot-selt .selt-in > a.on {
        border: 1px dashed red; /* 필요시 제거 */
        border-top: 0;
    }

    .foot-nav {
        margin: 15px 0 0 0;
    }

    .foot-nav > ul > li > a {
        font-size: 12px;
    }

    .foot-btm {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 0px 15px 0px;
        position: relative;
    }

    .foot-btm address {
        color: #555;
        line-height: 1.6;
        font-style: normal;
        text-align: left;
        width: 100%;
    }

    .foot-btm address span {
        font-size: 10px;
        display: block;
    }

    .foot-btm .markset {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .foot-btm .markset img {
        height: 60px;
        width: auto;
    }

    .foot-selt .selt-in > a::after {
        right: 5px;
    }

    .foot-selt .selt-in:first-child {
        margin: 0;
    }

    .foot-nav-con p {
        font-size: 12px;
        font-style: normal;
    }

    .foot-btm address .addr-lf {
        padding-left: 125px;
    }

    .foot-btm address .addr-rt {
        padding-left: 125px;
    }

    .foot-btm address .addr-rt > a {
        font-size: 13px;
    }
}