@charset "UTF-8";

* {
    box-sizing: border-box;
}

ul,
li,
ol {
    list-style: none;
    padding: 0;

}

button {
    background: transparent;
    border: none;

}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
    word-break: keep-all;

}

a:hover {
    color: inherit;
}

.site-wrap {
    background-color: initial;
    padding-top: 90px;
    overflow-x: hidden;
}

:root {
    --container-px: 0;
    --bs-primary: #6CABD8;
    --bs-primary-rgb: 108, 171, 216;
    /* #6CABD8의 RGB 값 */
    --bs-secondary: #5691BA;
    --bs-dark: #1F2937;
    --bs-primary-hover: #5a9ac2;
    --bs-secondary-hover: #45749a;
    --bs-dark-hover: #111827;
    --bs-primary-active: #4e8ab0;
    --bs-secondary-active: #406b85;
    --bs-dark-active: #0d1117;
    --bs-black-50: #808080;
    --bs-dark-696969: #696969;
}

@media (max-width: 575px) {
    :root {
        --container-px: 0 1rem;
    }
}

/* sm: 576px 이상 */
@media (min-width: 576px) and (max-width: 767px) {
    :root {
        --container-px: 0 1rem;
    }
}

/* md: 768px 이상 */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --container-px: 0 1.5rem;
    }
}

/* lg: 992px 이상 */
@media (min-width: 992px) and (max-width: 1439px) {
    :root {
        --container-px: 0 2.5rem;
    }
}

.container {
    width: 100%;
    max-width: 1440px !important;
    margin: 0 auto;
    padding: var(--container-px);
}

.container-800 {
    width: 100%;

    margin: 0 auto;
    padding: var(--container-px);
    max-width: 800px !important;
}

/* 버튼 색상 오버라이드 */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--bs-primary-hover) !important;
    border-color: var(--bs-primary-hover) !important;
}

.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    background-color: var(--bs-primary-active) !important;
    border-color: var(--bs-primary-active) !important;
}

.btn-secondary {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--bs-secondary-hover) !important;
    border-color: var(--bs-secondary-hover) !important;
}

.btn-secondary:active,
.btn-secondary.active,
.show>.btn-secondary.dropdown-toggle {
    background-color: var(--bs-secondary-active) !important;
    border-color: var(--bs-secondary-active) !important;
}

.btn-dark {
    background-color: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
    color: #fff !important;
}

.btn-dark:hover,
.btn-dark:focus {
    background-color: var(--bs-dark-hover) !important;
    border-color: var(--bs-dark-hover) !important;
    color: #fff !important;
}

.btn-dark:active,
.btn-dark.active,
.show>.btn-dark.dropdown-toggle {
    background-color: var(--bs-dark-active) !important;
    border-color: var(--bs-dark-active) !important;
    color: #fff !important;
}

.text-dark-69 {
    color: var(--bs-dark-696969) !important;
}

/* 메인/섹션 간격 - Bootstrap 브레이크포인트별 */
.main-spacing {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.section-spacing {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section-spacing-b {
    margin-bottom: 2rem;
}

.section-spacing-t {
    margin-top: 2rem;
}

@media (min-width: 576px) {
    .main-spacing {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-spacing {
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .section-spacing-b {
        margin-bottom: 2.5rem;
    }

    .section-spacing-t {
        margin-top: 2.5rem;
    }
}

@media (min-width: 768px) {
    .main-spacing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-spacing {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .section-spacing-b {
        margin-bottom: 3rem;
    }

    .section-spacing-t {
        margin-top: 3rem;
    }
}

@media (min-width: 992px) {
    .main-spacing {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .section-spacing {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .section-spacing-b {
        margin-bottom: 4rem;
    }

    .section-spacing-t {
        margin-top: 4rem;
    }
}

@media (min-width: 1200px) {
    .main-spacing {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .section-spacing {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .section-spacing-b {
        margin-bottom: 5rem;
    }

    .section-spacing-t {
        margin-top: 5rem;
    }
}

/* 내용관리 이미지 부분 */
#bo_v_con img,
#contents img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Header */
.logo {

    max-width: 238px;

}

.logo img {
    width: 100%;
    object-fit: contain;

}

#header-navbar {
    height: 90px;
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}

#header-navbar .header-wrap {
    height: 90px;

}

#header-navbar.active {
    height: 350px;
}

@media (max-width: 992px) {
    .logo {
        max-width: 190px;
    }

    #header-navbar {
        height: 70px;
    }

    #header-navbar #header-wrap {
        display: flex;
        align-items: center;
        height: 100%;
    }
    #header-navbar .header-wrap {
        height: 70px;
    
    }
    .site-wrap {
        padding-top: 70px;
    }
}

/* header */

.main-menu>li {
    position: relative;
}

.main-menu>li>a {
    color: #222;
    transition: color 0.2s;
    font-weight: 600;
    font-size: 1.25rem;
}

.main-menu>li>a.active,
.main-menu>li>a:hover,
.main-menu>li:hover>a {
    color: var(--bs-primary);
}

.dep2-menu {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    min-width: 200px;
    padding-top: 14px;
    z-index: 100;

}

/* .main-menu > li:hover > .dep2-menu {
	display: block;
	animation: fadeInDown 0.2s;
} */
.main-menu>li:hover>.dep2-menu {
    display: block;
    animation: fadeInDown 0.2s;
}

.dep2-link {
    color: #222;
    background: #fff;
    transition: background 0.2s, color 0.2s;

}

.dep2-link:hover,
.dep2-link:focus {
    background: var(--bs-primary) !important;
    color: #fff !important;
}

#header-navbar .header-contents {
    height: auto;
    position: absolute;
    bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transition-delay: 0.3s;
    z-index: -1;
}



#header-navbar .header-contents h5 {
    color: var(--bs-primary);
    font-weight: 600;
}

#header-navbar .header-contents p {
    font-size: 1rem;
    font-weight: 500;
}

#header-navbar .header-contents img {
    max-width: 160px;
    max-height: 160px;
}

@media (max-width: 1200px) {
    #header-navbar .header-contents img {
        max-width: 120px;
        max-height: 120px;
    }
}

/* Newsletter */
.newsletter {
    background-color: #EAEAEA;

}

/* 모달 배경색 설정 */
.newsletter .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.newsletter .modal-backdrop.show {
    opacity: 1;
}

/* 모달 스크롤 스타일 */
.newsletter .modal-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 1.5rem;
}

.newsletter .modal-body::-webkit-scrollbar {
    width: 6px;
}

.newsletter .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.newsletter .modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.newsletter .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
}

.footer a {
    color: #fff;
}

.footer-logo {
    position: absolute;
    left: 0;
}

@media (max-width: 992px) {
    .footer-logo {
        position: relative;
    }
}

/* board common */
.board-title-wrap {
    text-align: center;
}

.badge.bg-primary:hover {
    color: #fff !important;
    text-decoration: none;
}



.board-search-wrap input[type="text"] {
    min-width: 250px;
}

@media screen and (max-width: 768px) {
    .board-search-wrap input[type="text"] {
        min-width: 150px;
    }
}

/* wr-notice 위젯 hover 효과 */
.wr-notice-list a {
    border: 1px solid var(--bs-gray-300);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
    border-radius: 12px;
    overflow: hidden;
}

.wr-notice-list a:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.overlay {
    position: relative;
}

.overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.2);
}