#theader { z-index: 995; position: relative; background-color: #fff; }
#theader .top { height: 150px; }
#theader .top .contwrap { height: 100%; }

#theader .top .logo { z-index: 3; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: inline-block; }
#theader .top .logo img { width: 120px; } 

#theader .top .topmenu { position: relative; height: 100%; padding-bottom: 20px; }
#theader .top .topmenu::after { display: block; content: ''; clear: both; visibility: hidden; }
#theader .top .topmenu .left { float: left; height: 100%; }
#theader .top .topmenu .right { float: right; height: 100%; }

#theader .top .topmenu .left dl { display: flex; flex-wrap: nowrap; align-items: end; height: 100%; }
#theader .top .topmenu .left dl dt { min-width: max-content; margin-right: 15px; }
#theader .top .topmenu .left dl dt img { width: 62px; }
#theader .top .topmenu .left dl dd .textbox .text1 { font-size: 16px; color: #000; line-height: 1.31; }
#theader .top .topmenu .left dl dd .textbox .text2 { margin-top: 5px; font-weight: 700; font-size: 26px; color: #01411f; letter-spacing: -0.025em; }
#theader .top .topmenu .left dl dd .textbox .text2 span { font-size: inherit !important; color: #ff8a00; }

#theader .top .topmenu .right .headerMenu { height: 80px; display: flex; flex-wrap: nowrap; align-items: center; font-size: 16px; color: #8d8d8d; }
#theader .top .topmenu .right .headerMenu * { font-size: inherit; color: inherit; }
#theader .top .topmenu .right .headerMenu a { display: inline-block; margin-left: 17px; }
#theader .top .topmenu .right .headerSns { height: calc(100% - 80px); display: flex; flex-wrap: nowrap; justify-content: right; align-items: end; }
#theader .top .topmenu .right .headerSns a { display: inline-block; margin-left: 12px; }
#theader .top .topmenu .right .headerSns a img { display: inline-block; width: 50px; }

#theader .bottom { height: 50px; border-bottom: 1px solid #e4e4e2; border-top: 1px solid #e4e4e2; }
#theader .bottom .contwrap { height: 100%; }
#theader .bottom .bottomcont { height: 100%; display: flex; flex-wrap: nowrap; justify-content: space-between; }
#theader .bottom .bottomcont .menu1 { height: 100%; display: flex; flex-wrap: nowrap; }
#theader .bottom .bottomcont .menu1 > li { height: 100%; }
#theader .bottom .bottomcont .menu1 > li > a { position: relative; display: block; height: 100%; padding: 0 30px; }
#theader .bottom .bottomcont .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-weight: 500; font-size: 18px; color: #191919; }
#theader .bottom .bottomcont .searchwrap { height: 100%; }

/* bottom 전체카테고리 버튼 */
#theader .allCategory { position: relative; height: 100%; aspect-ratio: 1/1; cursor: pointer; border-left: 1px solid #e4e4e2; border-right: 1px solid #e4e4e2; }
#theader .allCategory .btn-allcate { position: relative; display: flex; align-items: center; justify-content: center; width:100%; height: 100%; text-align: center; }
#theader .allCategory .btn-allcate .hambtn { position: relative; /* top: 50%; left: 0; transform: translateY(-50%); */ width: 20px; height: 16px; display: inline-flex; flex-direction: column; justify-content: space-between; }
#theader .allCategory .btn-allcate .hambtn > div { position: relative; width: 100%; height: 2px; background-color: #000; /* transition: all 0.3s ease; */ }
#theader.allactive .allCategory .btn-allcate .hambtn > div { left: 22%; }
#theader.allactive .allCategory .btn-allcate .hambtn > div:nth-child(1) { transform: rotate(45deg); transform-origin: top left; }
#theader.allactive .allCategory .btn-allcate .hambtn > div:nth-child(2) { opacity: 0; }
#theader.allactive .allCategory .btn-allcate .hambtn > div:nth-child(3) { top: 0; transform: rotate(-45deg); transform-origin: bottom left; }


@media (max-width: 1535px) {
    #theader .top { height: 130px; }

    #theader .top .logo img { width: 104px; }

    #theader .top .topmenu { padding-bottom: 10px; }
    #theader .top .topmenu .left dl dt img { width: 55px; }
    #theader .top .topmenu .right .headerMenu { height: 60px; }
    #theader .top .topmenu .right .headerMenu a { margin-left: 15px; }
    #theader .top .topmenu .right .headerSns { height: calc(100% - 60px); }
    #theader .top .topmenu .right .headerSns a { margin-left: 10px; }
    #theader .top .topmenu .right .headerSns a img { width: 46px; }

    #theader .bottom { height: 45px; }
    #theader .bottom .bottomcont .menu1 > li > a { padding: 0 25px; }
    #theader .bottom .bottomcont .menu1 > li > a > span { font-size: 16px; }
}
@media (max-width: 1279px) {
    #theader .top { height: 100px; }

    #theader .top .logo img { width: 80px; }

    #theader .top .topmenu .left dl dt img { width: 50px; }
    #theader .top .topmenu .right .headerMenu { height: 40px; }
    #theader .top .topmenu .right .headerMenu a { margin-left: 13px; }
    #theader .top .topmenu .right .headerSns { height: calc(100% - 40px); }
    #theader .top .topmenu .right .headerSns a { margin-left: 8px; }
    #theader .top .topmenu .right .headerSns a img { width: 40px; }

    #theader .bottom { height: 40px; }
    #theader .bottom .bottomcont .menu1 > li > a { padding: 0 20px; }
    #theader .bottom .bottomcont .menu1 > li > a > span { font-size: 15px; }

    /* bottom 전체카테고리 버튼 */
    #theader .allCategory .btn-allcate .hambtn { width: 18px; height: 14px; }
}
@media (max-width: 1023px) {
    #theader .top { height: 70px; border-bottom: 1px solid #e4e4e2; }

    #theader .top .logo { top: 50%; transform: translateY(-50%); left: 0; }
    #theader .top .logo img { width: 55px; }

    #theader .top .topmenu { display: none !important; }
    #theader .top .topmenu .left dl dt img { width: 45px; }
    #theader .top .topmenu .right .headerMenu a { margin-left: 11px; }
    #theader .top .topmenu .right .headerSns a { margin-left: 7px; }
    #theader .top .topmenu .right .headerSns a img { width: 35px; }

    #theader .bottom { display: none !important; }
}

/* searchwrap */
#theader .searchwrap { z-index: 1; width: 240px; height: 100%; }
#theader .searchwrap form { position: relative; top: 50%; transform: translateY(-50%); width: 100%; padding: 8px; border: none !important; border-radius: 100px; background-color: #f3f3f3; }
#theader .searchwrap form input { display: block; width: calc(100% - 35px); font-size: 14px; color: #333; outline: none !important; box-shadow: none !important; border: none !important; background-color: transparent !important; }
#theader .searchwrap form input:focus { outline: none !important; box-shadow: none !important; border: none !important; }
#theader .searchwrap form button { position: absolute; top: 50%; transform: translateY(-50%); right: 15px; color: #aaa; font-size: 20px; background: none !important; border: none !important; outline: none !important; box-shadow: none !important; }
@media (max-width: 1535px) {
    #theader .searchwrap { width: 220px; }
    #theader .searchwrap form { padding: 7px; }
}
@media (max-width: 1279px) {
    #theader .searchwrap { width: 180px; }
    #theader .searchwrap form { padding: 6px; }
    #theader .searchwrap form button { font-size: 18px; }
}
@media (max-width: 1023px) {
    #theader .searchwrap { width: 160px; }
    #theader .searchwrap form input { font-size: 13px; }
    #theader .searchwrap form button { font-size: 16px; }
}
@media (max-width: 767px) {
    #theader .searchwrap { display: none; }
}

/* cate */
#cate { float: left; width: 200px; border-right: 1px solid #d5d5d5; border-left: 1px solid #d5d5d5; }
#cate .top { padding: 8px 5px; text-align: center; font-size: 16px; color: #fff; background-color: #01411f; }
#cate .ct_wr { position: relative; }
#cate .list_2 > a { display: block; padding: 6px 14px; font-weight: 600; font-size: 16px; color: #01411f; background-color: #f0f0f0; line-height: 1.35; border-bottom: 1px solid #d5d5d5; }
#cate .list_3 { position: relative; }
#cate .list_3 > a { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 8px 14px; font-size: 16px; color: #8d8d8d; line-height: 1.35; border-bottom: 1px solid #d5d5d5; }
#cate .list_3 > a img { width: 6px; height: auto; }
#cate .list_3 > a .img1 { display: inline-block; }
#cate .list_3 > a .img2 { display: none; }
#cate .list_3:not(.havechild) .img1 { display: none !important; }
#cate .list_3:not(.havechild) .img2 { display: none !important; }
#cate .list_3:hover > a { font-weight: 500; color: #01411f; }
#cate .list_3:hover > a .img1 { display: none; }
#cate .list_3:hover > a .img2 { display: inline-block; }
#cate .list_4_ul { display: none; z-index: 10; position: absolute; left: calc(100% + 1px); top: 0; padding: 6px; padding-left: 0; background-color: #fff; }
#cate .list_4 > a { display: block; padding: 6px; padding-left: 20px; background-color: transparent; font-size: 16px; color: #5f5f5f; line-height: 1.35; white-space: nowrap; }
#cate .list_4 > a:hover { background-color: #2c6424; color: #fff; }
@media (max-width: 1535px) {
    #cate { width: 180px; }
    #cate .top { padding: 7px 5px; font-size: 15px; }
    #cate .list_2 > a { display: block; padding: 6px 12px; font-weight: 500; font-size: 15px; }
    #cate .list_3 > a { padding: 6px 12px; font-size: 15px; }
    #cate .list_4 > a { padding: 6px; padding-left: 17px; font-size: 15px; }
}
@media (max-width: 1279px) {
    #cate { width: 160px; }
    #cate .top { padding: 7px 5px; font-size: 14px; }
    #cate .list_2 > a { display: block; padding: 5px 10px; font-size: 14px; }
    #cate .list_3 > a { padding: 5px 10px; font-size: 14px; }
    #cate .list_3 > a img { width: 5px; }
    #cate .list_4 > a { padding: 5px; padding-left: 14px; font-size: 14px; }
}
@media (max-width: 1023px) {
    #cate { display: none; }
}
@media (max-width: 640px) {
    #cate { display: none !important; z-index: -1; opacity: 0; }
}

/* #cate .contbox */
#cate .contbox { padding: 20px 5px 20px 15px; border-bottom: 1px solid #e3e3e3; background-color: #f9f9f9; }
#cate .contbox.cont1 .text1 { font-weight: 500; font-size: 16px; color: #3b3b3b; letter-spacing: -0.025em; line-height: 1.38; }
#cate .contbox.cont1 .text2 { font-weight: 600; font-size: 24px; color: #ff8a00; letter-spacing: -0.025em; line-height: 1.3; }
#cate .contbox.cont1 .text3 { display: flex; flex-wrap: nowrap; margin-top: 10px; font-size: 16px; color: #747474; line-height: 1.56; }
#cate .contbox.cont1 .text3 * { font-size: inherit !important; color: inherit; line-height: inherit; }
#cate .contbox.cont1 .text3 b { color: #000; }
#cate .contbox.cont1 .text3 dt { min-width: max-content; margin-right: 8px; }
#cate .contbox.cont1 .text3 dt img { width: 37px; }
#cate .contbox.cont2 .text1 { display: flex; flex-wrap: nowrap; align-items: center; font-weight: 500; font-size: 18px; color: #01411f; letter-spacing: -0.025em; line-height: 1.6; }
#cate .contbox.cont2 .text1 * { font-size: inherit; color: inherit; line-height: inherit; letter-spacing: inherit; font-weight: inherit; }
#cate .contbox.cont2 .text1 dt { min-width: max-content; margin-right: 10px; }
#cate .contbox.cont2 .text1 dt img { width: 39px; }
#cate .contbox.cont2 .text2 { margin-top: 10px; font-weight: 700; font-size: 18px; color: #01411f; letter-spacing: -0.025em; line-height: 1.45; }
#cate .contbox.cont2 .text3 { font-size: 18px; color: #747474; letter-spacing: -0.025em; line-height: 1.45; }
@media (max-width: 1535px) {
    #cate .contbox { padding: 15px 10px; text-align: center; }
    #cate .contbox.cont1 .text3 { display: block; }
    #cate .contbox.cont1 .text3 dt { min-width: initial; margin-right: initial; margin-bottom: 7px; }
    #cate .contbox.cont1 .text3 dt img { width: 34px; }
    #cate .contbox.cont2 .text1 { display: block; text-align: center; line-height: 1.3; }
    #cate .contbox.cont2 .text1 dt { min-width: initial; margin-right: initial; margin-bottom: 7px; }
    #cate .contbox.cont2 .text1 dt img { width: 35px; }
}
@media (max-width: 1279px) {
    #cate .contbox.cont1 .text3 dt img { width: 30px; }
    #cate .contbox.cont2 .text1 dt img { width: 33px; }
}


/* cate2 */
#cate2 { display: none; z-index: 1050; position: absolute; left: 0; width: 100%; background-color: rgba(255, 255, 255, 1); box-shadow: 0 4px 4px -4px #555; }
#cate2 .sub_cate2 { padding: 30px 0; display: flex; flex-wrap: wrap; }
#cate2 .sub_cate2 .list_2 { width: 16.6666%; }
#cate2 .sub_cate2 .list_2:nth-of-type(n + 7) { margin-top: 30px; }
#cate2 .sub_cate2 .list_2 > a { display: block; margin-bottom: 10px; }
#cate2 .sub_cate2 .list_2 > a > span { display: block; font-size: 15px; color: #000; line-height: 1.35; }
#cate2 .sub_cate2 .list_2 .list_3 > a { display: block; padding: 4px 0; }
#cate2 .sub_cate2 .list_2 .list_3 > a > span { display: block; font-size: 13px; color: #666; line-height: 1.5; transition: all 0.3s; }
#cate2 .sub_cate2 .list_2 .list_3 > a:hover > span { text-indent: 5px; color: #01411f; }

@media (max-width: 1536px) {
    #cate2 .sub_cate2 { padding: 25px 0; }

    #cate2.scrollh { top: 45px; }
}
@media (max-width: 1279px) {
    #cate2 .sub_cate2 { padding: 20px 0; }
    #cate2 .sub_cate2 .list_2 { width: 20%; }
    #cate2 .sub_cate2 .list_2:nth-of-type(n + 7) { margin-top: initial; }
    #cate2 .sub_cate2 .list_2:nth-of-type(n + 6) { margin-top: 20px; }

    #cate2.scrollh { top: 40px; }
}
@media (max-width: 1023px) {
    #cate2 { display: none !important; z-index: -1; opacity: 0; }
}


/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 20px; height: 15px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 2px; background-color: #2c6424; transition: all 0.3s ease; }
#theader.active .hamburgerBtn > div:nth-child(1) { transform: rotate(45deg); transform-origin: top left; }
#theader.active .hamburgerBtn > div:nth-child(2) { opacity: 0; }
#theader.active .hamburgerBtn > div:nth-child(3) { top: 0; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}

/* moheader */
.moheader { display: none; z-index: 996; position: absolute; top: 70px; left: 0; width: 100%; max-height: calc(99vh - 70px); overflow-y: scroll; overflow-x: hidden; background-color: rgba(255, 255, 255, 1); box-shadow: 0 4px 4px -4px #333; }
.moheader.active { display: block; }

.moheader::-webkit-scrollbar { position: absolute; width: 7px; }
.moheader::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.moheader::-webkit-scrollbar-thumb { background: #2c6424; border-radius: 10px; }
.moheader::-webkit-scrollbar-thumb:hover { background: #555; }

.moheader .moTop { padding: 10px 0; z-index: 1; text-align: center; }
.moheader .moTop .searchForm { position: relative; display: inline-block; width: 160px; padding: 6px; border: none !important; border-radius: 100px; background-color: #f3f3f3; border-radius: 100px; }
.moheader .moTop .searchForm form { position: relative; width: 100%; }
.moheader .moTop .searchForm form input { display: block; width: calc(100% - 35px); font-size: 13px; color: #333; outline: none !important; box-shadow: none !important; border: none !important; background-color: transparent !important; }
.moheader .moTop .searchForm form input:focus { outline: none !important; box-shadow: none !important; border: none !important; }
.moheader .moTop .searchForm form button { position: absolute; top: 50%; transform: translateY(-50%); right: 5px; color: #aaa; font-size: 14px; background: none !important; border: none !important; outline: none !important; box-shadow: none !important; }

.moheader .headerSns {  padding: 10px 0; display: flex; flex-wrap: nowrap; justify-content: center; border-top: 1px solid #ddd;  }
.moheader .headerSns a { display: inline-block; margin: 0 7px; }
.moheader .headerSns a img { display: inline-block; width: 26px; }

.moheader .moMid { display: flex; flex-wrap: wrap; border-top: 1px solid #ddd; }
.moheader .moMid a { position: relative; width: 50%; padding: 10px 0; display: block; text-align: center; font-size: 13px; color: #333; }
.moheader .moMid a::after { display: block; content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60%; background-color: #ddd; }
.moheader .moMid a:nth-of-type(2n - 1):after { display: none; }
.moheader .moMid a::before { display: block; content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 80%; height: 1px; background-color: #ddd; }
.moheader .moMid a:nth-of-type(n + 3)::before { display: none; }

.moheader .moBottom { border-top: 1px solid #ddd; }
.moheader .moBottom .bottommenu { border-bottom: 1px solid #ddd; }
.moheader .moBottom .bottommenu a { display: block; text-align: center; padding: 8px 20px; font-size: 13px; color: #333; }
.moheader .moBottom .bottommenu a:nth-of-type(5) { border-bottom: 1px solid #ddd; }
.moheader .moBottom .bottommenu a:hover { background-color: #eee; }

.moheader .moBottom .list_2 .sub_cate3 { display: none; }

@media (max-width: 1536px) {
    .moheader .moMid .person a img { width: 23px; }
}