fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; } 
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; } 
body { line-height: 1; margin: 0; color: #000000;} 
ol, ul, p, h1, h2, h3, h4 { list-style: none; margin-block-start: 0; margin-block-end: 0; margin-inline-start: 0px; margin-inline-end: 0px; padding-inline-start: 0; } 
blockquote, q { quotes: none; } 
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; } 
table { border-collapse: collapse; border-spacing: 0; } 
a {color: #000000; text-decoration: none; outline: none; cursor: pointer;}
a:hover, a:active {text-decoration: none; color:#000000;}
input:focus {
    outline: 0;
}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 100;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.otf) format('opentype');}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 300;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.otf) format('opentype');}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 400;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf) format('opentype');}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 500;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.otf) format('opentype');}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 700;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.otf) format('opentype');}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 900;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.otf) format('opentype');}

body,*{
    font-family: 'Noto Sans KR', sans-serif;
}

.mobile-menu-wrp {
    z-index: 9997;
}

.main_wrp { display: flex; } 

.icon-line .material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 40
}
.icon-fill .material-symbols-outlined {
    font-variation-settings:
    'FILL' 1,
    'wght' 200,
    'GRAD' 0,
    'opsz' 40
  }

/* 색상 변수 */
:root {
   --color-blue: #406ab3;
   --color-gray: #e2e2e2;
   --color-error: #f14668;
   --browser-width: 0px; /* 초기값 설정 */
   --botsection-width: 0px;
}

html.expand body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
html.expand .left-menu {
    overflow-x: hidden;
}

/* 사이드메뉴 */
aside .mobile-menu-wrp{
    display: none;
}
aside.left-menu {
    min-width: 240px;
    width: 240px;
    padding: 0px 35px 0 20px;
}
aside.left-menu .menu_list ul li a i {
    width: 25px;
    display: flex;
}
aside.left-menu .home a,
aside.left-menu .menu_list ul li a {
    line-height: 40px;
    display: flex;
    align-items: center;
    padding-left: 14px;
    border-radius: 10px;
    font-weight: bold;
}


aside.left-menu .home a span,
aside.left-menu .menu_list ul li a span{
    font-size: 14px;
    margin-left: 24px;
}

aside.left-menu .home a.on span,
aside.left-menu .home a:hover span{
    color: var(--color-blue);
}
aside.left-menu .home a.on,
aside.left-menu .home a:hover{
    background: #f1f5fc;
}

aside.left-menu .home a img.img-nom{
    display: block;
}
aside.left-menu .home a img.img-hover{
    display: none;
}

aside.left-menu .home a.on img.img-nom,
aside.left-menu .home a:hover img.img-nom {
    display: none;
}

aside.left-menu .home a.on img.img-hover,
aside.left-menu .home a:hover img.img-hover {
    display: block;
}



aside.left-menu .home,
aside.left-menu .menu_list {
    padding: 0 0px 12px 0px;
    border-bottom: 1px solid #e2e2e2;
}
aside.left-menu .menu_list {
    padding: 12px 0px 12px 0px;

}

aside.left-menu .menu_list ul li a{
    transition: all 0.1s ease-in-out;
}

aside.left-menu .menu_list ul li a.on,
aside.left-menu .menu_list ul li a:hover {
    background: #f1f5fc;
    color: var(--color-blue);
}
aside.left-menu .menu_list ul li a.on img.img-nom,
aside.left-menu .menu_list ul li a:hover img.img-nom {
    display: none;
}

aside.left-menu .menu_list ul li a.on img.img-hover,
aside.left-menu .menu_list ul li a:hover img.img-hover {
    display: block;
}

aside.left-menu .menu_list ul li a i img.img-hover{
    display:none;
}
aside.left-menu .tag{
    padding: 12px 0px 0px 12px;
}
aside.left-menu .tag h3{
    font-size: 16px;
    padding: 12px 0;
}
aside.left-menu .tag ul a{
    color: var(--color-blue);
    font-weight: bold;
    display: inline-block;
    border: 1px solid var(--color-gray);;
    padding: 8px;
    font-size: 13px;
    border-radius: 5px;
    margin-bottom: 6px;
    transition: all 0.1s ease-in-out;

}
aside.left-menu .tag ul a:hover{
    background-color: var(--color-blue);
    color: #ffffff;
}


/* main */
main {
    width: 100%;
}


/* 상단 헤더 */
header{
    display: flex;
    position: relative;
}
header .logo {
    min-width: 240px;
    width: 240px;
    padding: 12px 35px 0 20px;
}
header .logo a {
   cursor: pointer;
}
header .mobile-menu {
    display: none;
}
header .serch-wrp{
    display: flex;
    position: absolute;
    left: 0;
    padding: 20px 0;
    width: 100%;
    justify-content: center;
}
header .serch-wrp .serch {
    width: 610px;
    border: 1px solid var(--color-blue);
    border-radius: 25px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    font-size: 16px;
}
header .serch-wrp .serch .input_wrp{
    width: 90%;
    display: flex;
    align-items: center;
}
header .serch-wrp .serch .input_wrp .txt {
    color: #8f8f8f;
    font-weight: bold;
    margin-right: 15px;
    min-width: 40px;
}
header .serch-wrp .serch .input_wrp input {
    border: none;
    width: 100%;
    font-size: 16px;
    &:focus {
      outline: none;
    }
    
}
header .serch-wrp .serch button {
    background: none;
    border: 0;
    cursor: pointer;
}
.top_menu{
    display: flex;
    overflow: auto;
    white-space: nowrap;
    width: var(--browser-width);
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch; /* 스크롤 부드럽게 처리 (iOS Safari) */

}
.menu_wrapper_w {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-gray);

}
.main_menu .arrow_forward{
    display: none;
}
.menu_wrapper_w .arrow_forward button {
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 20px;
    padding: 0 5px 0 20px;
}
.menu_wrapper {
    position: relative;
    overflow: hidden;
}

.menu_grad::before, .menu_grad::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}
.menu_wrapper::before {
    width: 20px;
}
.main_menu .main_menu .arrow_forward {
    display: none;
}
/*
.menu_wrapper::before {

    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));

}
*/

.menu_grad::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.top_menu {
    display: flex;
    overflow: auto;
    white-space: nowrap;
    width: var(--browser-width);
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}
.top_menu::-webkit-scrollbar {
    display: none;
  }
.top_menu {
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
  }
.menu_wrapper .top_menu li a {
    padding: 19px 15px;
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    color: #000;
    background-color: #f3f6fc;
    padding: 0 14px;
    margin: 8px 11px 8px 0;
    border-radius: 10px;
    line-height: 36px;
}
.menu_wrapper .top_menu li a:hover, 
.menu_wrapper .top_menu li a.on {
    color: #fff;
    font-weight: 600;
    background-color: var(--color-blue);
    line-height: 36px;
}
/* 가로 스크롤바 전체를 대상으로 스타일 적용 */
::-webkit-scrollbar {
    height: 3px;
}

/* 가로 스크롤 트랙 (스크롤바의 바탕부분) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 가로 스크롤 핸들 (실제로 움직이는 부분) */
::-webkit-scrollbar-thumb {
    background: #b5b5b5;
}

/* 가로 스크롤 핸들 호버시 */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.main{
    display: flex;
    width: var(--browser-width);
    flex-wrap: wrap;
    padding-top: 18px;
}
.main article{
    min-width: 275px;
    width: 15.5%;
    margin: 10px 10px 30px 10px;
    /* transition: all 0.2s ease-in-out; */
}

.main article .c_thumbnail img{
    width: 100%;
    border-radius: 10px;
}
.main .c_thumbnail{
    position: relative;
}
.main .b_thumbnail img{
    border-radius: 19px;
    width: 38px;
}
.main .c_thumbnail .time {
    position: absolute;
    bottom: 6px;
    right: 4px;
    background-color: black;
    color: #ffffff;
    padding: 3px;
    border-radius: 3px;
    font-size: 13px;
}

.main .c_thumbnail .live-schedule {
    position: absolute;
    bottom: 38px;
    width: 100%;
    text-align: center;
    /*right: 27px;*/
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    padding: 10px 0;
    border-radius: 3px;
    font-size: 15px;
}

.main .c_thumbnail .live-schedule.main-list {
    width: 100%;
    padding: 33px 0;
    bottom: 24%;
    font-size: 22px;
}

.main .c_thumbnail .live-schedule-before {
    position: absolute;
    bottom: 25%;
    width: 100%;
    text-align: center;
    /*right: 27px;*/
    background: rgba(13, 151, 0, 0.6);
    color: #ffffff;
    padding: 20px 0;
    border-radius: 3px;
    font-size: 15px;
}

.main .bottom_section {
    display: flex;
    margin-top: 10px;
}
.main .bottom_section .desc  {
    margin-left: 10px;
}
.main .bottom_section .desc .title_wrp .title  {
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}
.main .bottom_section .desc .title_wrp .viewed  {
    padding-left: 15px;
}
.main .bottom_section .desc .title_wrp .viewed span {
    font-size: 28px;
    opacity: 0.2;
}
.main .bottom_section .desc .title_wrp .on.viewed span {
    color: #5185e3;
    opacity: 1.0;
}
.main .bottom_section .desc .company,
.main .bottom_section .desc .product{
    color: #888888;
    font-size: 14px;
    line-height: 18px;
}
.main .bottom_section .desc .bot_wrp,
.main .bottom_section .desc .name_wrp{
    font-size: 14px;
    line-height: 22px;
}
.main .bottom_section .desc .bot_wrp{
    display: flex;
    align-items: center;
}
.main .bottom_section .desc .bot_wrp .viwes{
    padding-right: 5px;
}
.main .bottom_section .desc .bot_wrp .like{
    display: inline-flex;
    padding: 0 5px 0 5px;
}
.main .bottom_section .desc .bot_wrp .cooments{
    display: inline-flex;
    padding: 0 5px 0 5px;
}
.main .bottom_section .desc .bot_wrp .viewed{
    display: inline-flex;
}
.main .bottom_section .desc .product{
    margin-bottom: 5px;

}
.main .bottom_section .desc .title_wrp {
    display: flex;
}
.bottom_section .desc .bot_wrp .cooments span {
    padding: 0 3px;
}

#btnFoldLayout {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}
#btnFoldLayout.on {
    display: block; 
}

.lang_selector {
    position: absolute;
    top: 15px;
    left: calc(100% - 80px);
    z-index: 9998;
}

.lang_selector .lang_selector_item {
    display: inline-block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: #F3F6FC;
    color: #000;
    cursor: pointer;
}

.lang_selector .lang_selector_item.on {
    background-color: #406AB3;
    color: #fff;
}

.lang_selector .lang_selector_item .text {
    text-align: center;
    padding-top: 7px;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .lang_selector {
        display: none;
    }
}
@media (max-width: 720px) {
    .lang_selector {
        display: block;
        left: calc(100% - 170px);
    }
}

@media (max-width: 2300px) {
    .main article{
        width: 18.5%;
    }
  }
@media (max-width: 1920px) {
    .main article{
        width: 23%;
        }
  }
  @media (max-width: 1630px) {
    .main article{
        width: 31%;
        }
  }

@media (max-width: 1420px) {
    .main article{
        width: 45%;
    }
    header .serch-wrp {
        justify-content: left;
        left: 395px;
        width: var(--browser-width);
    }
    header .serch-wrp .serch {
        width: 70%;
        }
}

@media (max-width: 1080px) {
    .main article{
        width: 95%;
    }
    .main_menu.menu_wrapper_w {
        width: var(--browser-width);
    }
    .main_menu .main_menu .arrow_forward {
        display: block;
    }
    .menu_wrapper .top_menu li:last-child{
        padding-right: 100px;
    }
    .main_menu .arrow_forward{
        display: block;
    }
}


/**************************************************/
/******************* 모바일 ************************/
/**************************************************/

@media (max-width: 720px) {
.container {
    padding: 0 16px;
}
header {
    display: flex;
    flex-direction: column;
}
header .serch-wrp {
    width: 100%;
    padding: 2px 0;
    position: relative;
    justify-content: center;
    margin-left: 0;
    left: 0;
}
header .logo {
    padding: 12px 33px 0 0px;
}
header .mobile-menu {
    display: inline-block;
}
.mobile-menu-wrp .logo img {
    height: 55px;
}
.main{
    width: 100%;
}
main .top_menu {
    width: 100%;
}
.main article{
    width: 100%;
    margin: 10px 0px 30px 0px;
}
header .serch-wrp .serch {
    width: 100%;
    margin-left: 0%;
    height: 40px;
}
aside.menuwrap{
    position: fixed;
    top: 0;
    right: -300px; /* 너비 300px 인 사이드바를 왼쪽으로 300px 이동시켜 화면에 보이지 않게 함 */
    z-index: 9998;
    overflow: auto;
    width: 240px;
    height: 100%;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    transition: right .3s ease-in-out; /* 0.3초 동안 이동 애니메이션 */
    background-color: #ffffff;
}
.mobile-menu-wrp{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
aside .mobile-menu-wrp .logo img {
    visibility: hidden;
}
aside .mobile-menu-wrp{
    display: flex;
}
aside.left-menu .home, aside.left-menu .menu_list {
    padding: 10px 0px 12px 0px;
}
.mobile-menu {
    /*
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    padding: 5px;
    */
    background-color: #ffffff;
    border: 0;
    
}
.mobile-menu .material-symbols-outlined{
    font-size: 28px;
    margin-right: 8px;
    font-weight: 200;
}
.menuwrap.on {
    right: 0;
    z-index: 10000;
}
.main_menu.menu_wrapper_w {
    width: 100%;
}
.menu_wrapper .top_menu li:last-child{
    padding-right: 10px;
}
}

.material-symbols-outlined{
    color: #777777;
    padding: 0;
    margin: 0;
}

.menu-logout {
    text-align: right;
    padding-right: 40px;
}

.menu-logout span {
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

div.menu_list.logout {
    border-bottom: none;
}

.icon-live-streaming {
    margin-top: 5px;
    background: #ff0000;
    color: #ffffff;
    padding: 5px 12px;
    width: 74px;
    font-size: 11px;
    border-radius: 10px;
}

.live-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    border-radius: 10px;
    color: #fff;
    z-index: 9999;
    display: none;
}


.main-video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    color: #fff;
}

@media (max-width: 720px) {
    div.lang_selector {
        display: block;
        left: auto;
        position: fixed;
        top: auto;
        bottom: 30px;
        right: 15px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    div.lang_selector .lang_selector_item .text {
        padding-top: 0;
        font-size: 11px;
        line-height: 30px;
    }
}