/* */

body {
    word-break: keep-all;
}

/* */

.pswp__button.pswp__button--zoom {
    display: none !important;
}

.pswp__button {
    width: 80px !important;
}

.pswp__icn {
    width: 64px !important;
    height: 64px !important;
}

#header-navbar {
    height: 95px;
    padding: 10px 0;
}

.sticky-top {
    position: fixed;
    top: 40px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

#main-wrap {
    margin-top: 80px;
}

/* */

.site-nav .has-sub > a {
    font-weight: 700;
}

/* noti */

._noti {
    padding: 10.25px 0;
    background-color: #F1F1F1;
}

._noti .container {
    position: relative;
}

._noti a {
    font-size: 13px;
}

/* footer */

.site-footer-wrap {
    background-color: #383838 !important;
    color: #fff;
    text-align: left;
}

.site-footer-wrap a {
    color: #fff;
}

.site-footer-wrap i.bar:after {
    background-color: #fff;
}

.site-footer-wrap .bar-sm:after {
    background-color: #fff;
}

/* 퀵메뉴 */

nav.quick_menu {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 999;
    transform: translateY(-50%);
}

nav.quick_menu a {
    font-size: 14px;
    color: #fff;
}

nav.quick_menu>ul>li {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 10px;
}

nav.quick_menu>ul>li>p {
    overflow: hidden;
    max-width: 0;
    height: 50px;
    background-color: #004071;
    color: #fff;
    line-height: 50px;
    transition: max-width 0.3s, padding 0.3s;
    margin-bottom: 0 !important;
}

nav.quick_menu>ul>li:hover>p {
    max-width: 100%;
    padding: 0 10px;
}

nav.quick_menu>ul>li>i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #39B54A;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s;
}

nav.quick_menu>ul>li:nth-child(1)>p,
nav.quick_menu>ul>li:nth-child(1)>i {
    background-color: #39B54A;
}

nav.quick_menu>ul>li:nth-child(2)>p,
nav.quick_menu>ul>li:nth-child(2)>i {
    background-color: #1480B4;
}

nav.quick_menu>ul>li:nth-child(3)>p,
nav.quick_menu>ul>li:nth-child(3)>i {
    background-color: #FBB03B;
}

nav.quick_menu>ul>li:nth-child(4)>p,
nav.quick_menu>ul>li:nth-child(4)>i {
    background-color: #666666;
}

nav.quick_menu>ul>li:hover>i { }

.quick_menu_Tab {
    overflow: hidden;
    /* 내용이 넘칠 경우 숨김 */
    transition: max-height 0.5s ease;
    /* 슬라이드 애니메이션 */
    max-height: 500px;
    /* 최대 높이 설정 (내용에 맞게 조정) */
}

.quick_menu_Tab.collapsed {
    max-height: 0;
    /* 숨김 상태 */
}

/* Modal */

#exampleModal .list-group-item {
    padding: 0.4rem 1rem;    
    border: 0;
    font-size: 14px;
}

#exampleModal .btn {
    font-size: 18px;
}

#exampleModal ._abs {
    position: absolute;
    top: 15px;
    right: 10px;
}

/* Icon */

.na-icon.na-file {
    width: 14px;
    height: 16px;
    background: url(../img/page/ico_file.png) no-repeat 0 0;
    background-size: 14px 16px;
} 

.i-com {
    flex-shrink: 0;
    display: inline-block;
    /* margin: 0 10px 0 0; */
}

.i-home {
    width: 14px;
    height: 16px;
    background: url(../img/home/ico_home.png) no-repeat 0 0;
}

.i-plus {
    width: 20px;
    height: 20px;
    background: url(../img/home/ico_plus.png) no-repeat 0 0;
    background-size: 20px 20px;
}

.i-sns1 {
    width: 28px;
    height: 25px;
    background: url(../img/home/ico_sns1.png) no-repeat 0 0;
}

.i-sns2 {
    width: 32px;
    height: 25px;
    background: url(../img/home/ico_sns2.png) no-repeat 0 0;
}

.i-sns3 {
    width: 25px;
    height: 25px;
    background: url(../img/home/ico_sns3.png) no-repeat 0 0;
}

.i-sns4 {
    width: 25px;
    height: 25px;
    background: url(../img/home/ico_sns4.png) no-repeat 0 0;
}

.i-square {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    background: url(../img/page/ico_square.png) no-repeat 0 0;
}

.i-arr {
    display: block;
    width: 120px;
    height: 12px;
    background: url(../img/page/bg_arrow.png) no-repeat 0 0;
}

.i-prev {
    width: 10px;
    height: 20px;
    background: url(../img/home/ico_prev.png) no-repeat 0 0;
}

.i-next {
    width: 10px;
    height: 20px;
    background: url(../img/home/ico_next.png) no-repeat 0 0;
}

/* popup */

.swiper-wrapper {
    text-align: center;
}

.popup-wrap .btn-light {
    border-radius: 999px;
    background-color: transparent;
    color: #fff;
}

.popup-wrap .modal-dialog {
    max-width: 1600px;
}

.popup-wrap .modal-header img {
    width: 200px;
}

.popup-wrap .modal-header,
.popup-wrap .modal-footer {
    border: 0;
}

.popup-wrap .modal-content {
    margin: 0 auto;
    background-color: transparent;
}

.popup-wrap .swiper-button-prev, 
.popup-wrap .swiper-button-next {
    width: 64px;
    height: 64px;
    background: var(--bs-primary);
    border-radius: 999px;
}

.popup-wrap .swiper-button-next:after, 
.popup-wrap .swiper-button-prev:after {
    font-size: 14px;
    color: #fff;
}

.popSwiper {
    max-width: 1566px;
}

.popSwiper .swiper-pagination {
    top: inherit; 
    bottom: -40px; 
    color: #fff;
}

/* */

.sw-wrap #bo_v_title {
    color: var(--bs-primary);
}

.sw-wrap .list-group-flush>.list-group-item {
    border: 0;
}

/* search */

#boardSearch {
    margin: 0 0 20px;
    padding: 0;
    background-color: #4478CE;
}

#boardSearch > div {
    max-width: 900px;
    margin: 0 auto;
}

#boardSearch select {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    font-size: 16px;
    color: #fff;
    -webkit-appearance: none;  /* 크롬, 사파리에서 기본 화살표 없애기 */
    -moz-appearance: none;     /* 파이어폭스에서 기본 화살표 없애기 */
    appearance: none;          /* 모든 브라우저에서 기본 화살표 없애기 */
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffff'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-position: right 6px;
}

#boardSearch select option {
    color: #333;
}

#boardSearch input {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    font-size: 16px;
    color: #fff;
}

#boardSearch input::placeholder {
    font-size: 16px;
    color: #fff;
}

#boardSearch button i {
    font-size: 16px;
    color: #fff;
}

#fsearch_submit {
    margin-left: -34px;
}

/* category */

#bo_category .nav {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 14px;
}

#bo_category .nav-item .nav-link {
    padding: 5px 0 !important;
    background-color: #F1F1F1;
    border-radius: 999px;
    font-size: 17px;
    text-align: center;
}

#bo_category .nav-item .nav-link.active {
    background-color: #4478CE;
    color: #fff;
}

/* board */

/* list */

#bo_list_wrap {
    padding: 0;
}

#bo_list .card {
    border: 0;
}

#bo_list .card .card-body {
    padding: 15px 0;
}

#bo_list .ratio {
    background-color: #F1F1F1;
}

#bo_list.bo-contain .ratio {
    --bs-aspect-ratio: 50% !important;
}

/* card */

.card {
    border: 0;
}