.navbar-light .navbar-nav .nav-link {
    color: #555555;
    font-size: 16px;
    font-weight: 500;
}

.dropdown-toggle::after {
    display: none;
    /* color: #acacac; */
    /* margin-left: 0.7rem; */
}

.dropdown-item {
    font-size: 15px;
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1200px;
    }
}

.bc-popup .bc-popup-image {
    max-width: 67%;
}

.bc-popup-close {
    position: absolute;
    height: 31px;
    bottom: 54%;
    right: 20px;
    margin-bottom: -15px;
    color: white !important;
    z-index: 1;
    font-size: 23px;
}

@media (min-width: 576px) {
    .bc-popup-close {
        right: 15px;
    }
}

@media (min-width: 1200px) {
    .bc-popup-close {
        top: 50%;
        bottom: auto;
        margin-top: -15px;
    }
}

.pl-4,
.px-4 {
    padding-left: 0.8rem !important;
}

@media (min-width: 1200px) {
    .pl-4,
    .px-4 {
        padding-left: 2.5rem !important;
    }
}

.dropdown-menu {
    background-color: #ebebeb;
}

.nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .nav-item {
        border-bottom: none;
    }
}

/* header */
header {
    position: relative;
    border-bottom: 1px solid lightgray;
    background-color: white;
}

header a {
    color: #212121;
}

header a:hover {
    color: inherit;
}

header button {
    padding: 0;
    border: none;
    background: none;
}

header button:focus {
    outline: none;
}

/* width < 1200 */
@media (max-width: 1199.98px) {
    body {
        padding-top: 80px;
    }

    header {
        display: flex;
        display: -webkit-box;
        display: -ms-flexbox;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        height: 80px;
        width: 100%;
        z-index: 2000;
    }

    header::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.5);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.75s, visibility 0.75s;
        transition-delay: 0.2s;
    }

    header.bc-open::before {
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
        /* 정식메뉴시 */
    }

    header .bc-menu-wrap {
        background-color: #a57e57;
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
        transform: translate(100%, 0);
        opacity: 0;
        transition: opacity 0.75s, transform 0.75s;
        transition-delay: 0s;
        z-index: 2003;
    }

    header.bc-open .bc-menu-wrap {
        opacity: 1;
        transform: translate(0, 0);
        overflow: auto;
        transition-delay: 0.2s;
    }

    header .bc-menu-wrap-bg {
        background-color: #a57e57;
        width: 80%;
        height: 45px;
        /* margin-bottom: 25px; */
    }

    header .bc-menu {
        padding: 10px 0px;
        background-color: #a57e57;
    }

    header .bc-menu.bc-hover {
        background-color: rgba(0, 0, 0, 0.025);
    }

    header .bc-menu > a {
        display: block;
        padding: 3px 30px;
        font-weight: 500;
        font-size: 17px;
        color: white;
        margin-bottom: 5px;
    }

    header .bc-submenu-inner {
        padding: 0.8rem 30px;
        background-color: #e0e0e0;
        /* border-top: 1px solid #c9c4c0; */
    }

    header .bc-submenu a {
        padding: 2px;
        font-size: 16px;
        font-weight: 300;
        color: black;
    }

    header .bc-menu-close-button {
        position: absolute;
        top: 0;
        right: 0;
        padding: 20px 30px;
    }
}

/* width - 1200 */
@media (min-width: 1200px) {
    header .bc-menu-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0 auto;
    }

    header .bc-menu {
        position: relative;
        text-align: center;
        font-size: 16px;
        /* margin-bottom: 6px; */
    }

    header .bc-menu::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        height: 5px;
        width: 0%;
        background-color: #b58449;
        opacity: 0;
        transition: opacity 0.2s, width 0.2s;
    }

    header .bc-menu.bc-hover::after {
        opacity: 1;
        width: 100%;
    }

    header .bc-menu > a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        min-width: 120px; /* 메뉴간격*/
        height: 80px;
        position: relative;
        padding: 0 20px;
        font-weight: 500;
    }

    header .bc-submenu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, 0);
        /* max-height 적절하게 조정 */
        max-height: 280px;
        overflow: hidden;
        white-space: nowrap;
        z-index: 2001;
        transition: max-height 0.7s;
    }

    header .bc-submenu-inner {
        padding: 1rem 0;
    }

    header .bc-submenu a {
        display: block;
        padding: 5px 6px;
        font-size: 15px;
        font-weight: 500;
        color: #5a5a5b;
    }

    header .bc-submenu a:hover {
        background-color: #b58449;
        color: white;
    }

    header::before {
        /* display: none; 사전사이트-하단서브바NO */
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        /* height 적절하게 조정 */
        height: 280px;
        background-color: #f2f2f2;
        z-index: 2001;
        border-bottom: 1px solid #e0e0e0;
        transition: height 0.7s;
    }

    header:not(:hover) .bc-submenu {
        max-height: 0px;
    }

    header:not(:hover)::before {
        height: 0px;
    }
}

.bc-logo-image {
    max-width: 90%;
}

@media (min-width: 768px) {
    .bc-logo-image {
        max-width: 100%;
    }
}

@media (min-width: 1600px) {
    .bc-logo-image {
        /* margin-left: 120px; */
        max-width: 100%;
    }
}

.bc-tel-img {
}

@media (min-width: 768px) {
    .bc-tel-img {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .bc-tel-img {
        /* margin-right: 120px; */
        max-width: 100%;
    }
}
