/* 레이아웃 CSS */
.rows_gnb_wrap {border-top:1px solid rgba(255,255,255,0.2); padding-top: 10px; margin-top: 20px;}
.row_gnbs {position: relative;}
.row_gnbs .cbp-hrmenu > ul, .cbp-hrmenu .cbp-hrsub-inner {padding-left: 0px; padding-right: 0px;}
.row_gnbs .cbp-hrmenu > ul > li {padding-left: 0px; padding-right: 30px;}
.row_gnbs .cbp-hrmenu > ul {float:none !important; line-height: 100%;}
.gnb_wrap .row_gnbs nav {float:none;}
.row_gnbs .cbp-hrmenu .cbp-hrsub {top:40px;}

.search_top_wrap {float:left; position: relative; width: 250px;}
.search_top_wrap input {border:0px;border-radius: 40px; height:40px; width: 100%; color:#000;}
.search_top_wrap input::placeholder{font-family:'font-R',sans-serif; color:#999;}
.search_top_wrap button {position: absolute; top:10px; right:15px;}
.search_top_wrap input:focus {border:1px solid #ddd;}
.search_top_wrap_inner {position: relative;}

/* 게시판 fixed 버튼 위치조정 */
.rb_bbs_wrap .btns_gr_wrap {top:185px !important;}

.co_header0 .rows_gnb_wrap {border-top:1px solid rgba(0,0,0,0.05);}
.co_header0 .search_top_wrap input {background-color: rgba(0,0,0,0.05);}
.ser_display_none .search_top_wrap_inner {display: none;}

.cbp-hrmenu .cbp-hrsub-inner > div {min-width: 140px;}
.cbp-hrmenu .cbp-hrsub {margin-left: -30px;}
#cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner > div > ul > li{position: relative; min-height:32.2px;}
#cbp-hrmenu .cbp-hropen .cbp-hrsub {padding-left: 30px; padding-right: 30px; padding-top: 20px; padding-bottom: 20px;}
.cbp-hrmenu .cbp-hrsub-inner > div i {position: absolute; top:7px; right:-5px; opacity: 0.5; transition: transform 220ms ease, opacity 220ms ease;}
#cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner > div > ul > li:hover i {opacity: 0;}
.cbp-hrmenu .cbp-hrsub-inner > div a {padding-right: 20px;}

#cbp-hrmenu .cbp-hrsub-3{
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    position: absolute;
    left: 100%;
    top: -10px;

    background-color: #fff;
    min-width: 120px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);

    transform: translate3d(0, 6px, 0);
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 9
}

#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover > .cbp-hrsub-3{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover > .cbp-hrsub-3 a {padding-top: 4px; padding-bottom: 4px; font-family: 'font-R'; font-size: 13px; padding-right: 0px;}
#cbp-hrmenu .cbp-hrsub > .cbp-hrsub-inner ul > li:hover {position: relative;}

#header {box-shadow: none; border-bottom: 1px solid #eee !important; padding-bottom: 0px;}
#header.gnb_up {top:-60px !important;}
.gnb_wrap .inner {display: flex; align-items: center; gap:30px}
.gnb_wrap .snb_wrap {float:none; margin-left: auto; display: flex; align-items: center; gap:30px;}
.gnb_wrap .logo_wrap {margin-right: 0px;}
.gnb_wrap ul {line-height: 100%;}
.gnb_wrap .snb_wrap .qm_wrap a {padding-left: 0px; padding-right: 0px; line-height: 100%; margin: 0px; float:none; width: auto;}
.gnb_wrap #ol_after_scrap {margin-top: 0px;}
.gnb_wrap .snb_wrap .qm_wrap {display: flex; align-items: center; gap:10px;}
.gnb_wrap .snb_wrap .member_info_wrap {margin-left: 0px;}
.gnb_wrap .snb_wrap .my_btn_wrap {float:none; margin-left: 0px;}
.gnb_wrap .snb_wrap .my_btn_wrap button {background-color: #fff; border:1px solid #ddd; height:35px; color:#000;}
.gnb_wrap .snb_wrap .qm_wrap a span {left: 10px; border-radius: 20px; min-width: 18px; text-align: center; top:-4px}
.gnb_wrap .rows_gnb_wrap {margin-top: 0px; border-top:0px; padding-bottom: 10px;}
.gnb_wrap .rows_gnb_wrap .cbp-hrmenu > ul > li {padding-right: 0px;}
.gnb_wrap .rows_gnb_wrap nav {width: 100%;}
.gnb_wrap .rows_gnb_wrap nav .swiper-slide-gnb {width: auto !important;}
.swiper-container-gnb {overflow: inherit !important;}
.gnb_wrap .snb_q_wrap {display: flex; align-items: center; gap:25px; flex: 0 0 auto;}
.gnb_wrap .snb_q_wrap a {opacity: 0.6}
.gnb_wrap .rows_gnb_wrap {display: flex; align-items: center; margin: 0 auto;}
.gnb_wrap .rows_gnb_wrap .row_gnbs {width: 100%; margin:inherit; display: block; align-items: center; gap: 0px;}
.gnb_wrap nav {background-color: transparent;}
.gnb_wrap .snb_wrap .member_info_wrap a .notranslate font {opacity: 0.6;}
.gnb_wrap .snb_wrap .my_btn_wrap .btn_round.arr_bg {background-image: url(../../rb.img/icon/arr_down.svg);}
.gnb_wrap .snb_wrap .qm_wrap a svg {opacity: .3; margin-top: 3px;}
.gnb_wrap .snb_wrap .qm_wrap a:hover svg {opacity: 1;}

#rb_my_ovray.arr_bg.is_open{background-image: url(../../rb.img/icon/arr_up.svg);}
.rb_my_panel{
    display: none;
    position: absolute;
    min-height: 200px;
    z-index: 999;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

#rb_my_panel{position:fixed;}
#rb_my_panel[aria-hidden="true"]{display:none;}
#rb_my_panel.is_open{display:block;}

.rb_my_panel_row {display: flex; align-items: center; gap:15px;}
.rb_my_panel_row .rb_my_p_ul1 {}
.rb_my_panel_row .rb_my_p_ul1 img {height:40px; border-radius: 10px;}
.rb_my_panel_row .rb_my_p_ul2 {}
.rb_my_panel_row .rb_my_p_ul2 li {float:none;}
.my_p_flex {display: flex; align-items: center; gap:5px;}
.rb_my_p_btn {flex: 1 1 0; min-width: 0; background-color: #f0f5f9 !important; border:0px !important; border-radius: 6px; text-align: center; color:#000;}
.rb_my_p_btn_w {background-color: #fff !important; border:1px solid #ddd !important;}
.rb_my_p_ul2.flex_r {margin-left: auto;}
.rb_my_panel_line {border-top:1px solid #eee; margin-top: 10px;}

#google_notranslate_top {margin-left: 0px !important; position: relative;}
.translation-links {top:25px !important; right:-17px !important; box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05) !important;}
.translation-links a {margin-top: 2px; margin-bottom: 2px; display: block}

.translation-links::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;

}


@media all and (max-width:1024px) {

    .search_top_wrap {display: none !important;}
    .gnb_wrap .snb_wrap .qm_wrap a {width: auto; padding-left: 0px;}

    /* 1.0.1 { */
    .mobile_cb {clear: both;}
    .search_top_wrap {display: block; float:none !important; width: 100%; margin-top: 10px;}
    .gnb_wrap .snb_wrap .my_btn_wrap {display: block;}
    .gnb_wrap .snb_wrap .my_btn_wrap .btn_round.arr_bg {padding-left: 15px; padding-right: 35px; min-width: 92px; flex-shrink: 0;}
    .gnb_wrap .snb_wrap .qm_wrap a span {right: 10px; left: auto;}
    /* } */

    /* 1.1.1 { */
    .gnb_wrap .inner {gap:10px;}
    /* } */

    .gnb_wrap .tog_wrap {margin-right: 0px;}
    .gnb_wrap .snb_wrap {gap:10px;}
    .rows_gnb_wrap .cbp-hrmenu {position:relative; width: 100%; height: auto;}
    .gnb_wrap .rows_gnb_wrap {width: 100% !important;}
    .rows_gnb_wrap .cbp-hrmenu .cbp-hrsub {display: none !important;}
    .gnb_wrap .snb_q_wrap {display: none;}
    .gnb_wrap .snb_wrap .my_btn_wrap .btn_round.arr_bg {background-position: center right 15px;}

    .gnb_wrap .snb_wrap .my_btn_wrap {display: block !important;}
}

/* 헤더 알림 */
.gnb_wrap .snb_wrap .qm_wrap {
    display:flex;
    align-items:center;
    height:40px;
}
.gnb_wrap .snb_wrap .qm_wrap > a,
.gnb_wrap .snb_wrap .qm_wrap > button {
    display:flex;
    float:none;
    align-items:center;
    justify-content:center;
    height:40px;
    margin-top:0;
}
.gnb_wrap .snb_wrap .qm_wrap > a > svg,
.gnb_wrap .snb_wrap .qm_wrap > button > svg {flex:none;}
.gnb_wrap #ol_after_scrap {margin-top:0;}
#rb_memo_top_btn svg path:first-child,
#notification_top_btn svg path:first-child {fill:none;}
#rb_memo_top_btn svg path:last-child,
#notification_top_btn svg path:last-child {fill:#09244B;}
#rb_memo_top_btn > span,
#notification_top_btn > span {top:0;}

#notification_box_wrap {
    display:none;
    position:absolute;
    top:55px;
    right:0;
    left:auto;
    z-index:10;
    width:355px;
    height:470px;
    box-sizing:border-box;
    overflow:hidden;
    border-radius:10px;
    background-color:#fff;
    box-shadow:10px 10px 20px rgba(0, 0, 0, 0.05);
    color:#25282B;
    text-align:left;
}

#notification_box_wrap button,
#notification_box_wrap a {
    float:none;
    position:relative;
    width:auto;
    margin:0;
    padding:0;
    box-sizing:border-box;
    line-height:normal;
    color:#25282B;
}
#notification_box_wrap button span,
#notification_box_wrap a span {
    position:static;
    min-width:0;
    margin:0;
    padding:0;
    border-radius:0;
    background:none;
    color:inherit;
    font-size:inherit;
    line-height:inherit;
}

#notification_box_wrap .rb_notification_tabs {
    display:flex;
    padding:0;
    border-bottom:1px solid #eee;
    background-color:#f9f9f9;
    white-space:nowrap;
}
#notification_box_wrap .rb_notification_tabs button {
    flex:1 1 0;
    height:60px;
    padding:0;
    border-bottom:2px solid transparent;
    font-size:13px;
    text-align:center;
}
#notification_box_wrap .rb_notification_tabs button.active {
    border-bottom-color:#25282B;
    font-family:'font-B';
}

#notification_box_wrap .rb_notification_body {
    position:relative;
    height:369px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#d8dde3 transparent;
}
#notification_box_wrap .rb_notification_body::-webkit-scrollbar {width:4px;}
#notification_box_wrap .rb_notification_body::-webkit-scrollbar-track {background:transparent;}
#notification_box_wrap .rb_notification_body::-webkit-scrollbar-thumb {border-radius:4px; background:#d8dde3;}
#notification_box_wrap .rb_notification_footer {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    height:40px;
    padding:0 20px;
    border-top:1px solid #eee;
    color:#999;
    font-size:11px;
    text-align:left;
}
#notification_box_wrap .rb_notification_delete_all {
    flex:0 0 auto;
    height:26px;
    padding:0 9px;
    border:1px solid #e5e5e5;
    border-radius:4px;
    background:#fff;
    color:#777;
    font-size:12px;
    line-height:24px;
}
#notification_box_wrap .rb_notification_loading {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
#notification_box_wrap .rb_notification_loading span {
    display:block;
    width:24px;
    height:24px;
    border:2px solid #e5e5e5;
    border-top-color:#aaa;
    border-radius:50%;
    animation:rb_notification_spin .7s linear infinite;
}
@keyframes rb_notification_spin {
    to {transform:rotate(360deg);}
}
#notification_box_wrap .rb_notification_empty {
    padding:60px 20px;
    color:#999;
    text-align:center;
}
#notification_box_wrap .rb_notification_item {
    position:relative;
    border-bottom:1px solid #eee;
    background-color:#f8f9fb;
}
#notification_box_wrap .rb_notification_item.is_read {background-color:#fff;}
#notification_box_wrap .rb_notification_item_open {
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    padding:16px 45px 16px 20px;
    text-align:left;
}
#notification_box_wrap .rb_notification_category_icon {
    display:flex;
    flex:0 0 42px;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
}
#notification_box_wrap .rb_notification_category_icon svg {display:block; width:24px; height:24px;}
#notification_box_wrap .rb_notification_category_icon svg path {fill:#fff;}
#notification_box_wrap .rb_notification_category_board {background-color:#A8B8F4;}
#notification_box_wrap .rb_notification_category_shop {background-color:#F5B89A;}
#notification_box_wrap .rb_notification_category_subscribe {background-color:#9DD8BF;}
#notification_box_wrap .rb_notification_category_notice {background-color:#F2A7B8;}
#notification_box_wrap .rb_notification_category_other {background-color:#B8B5D8;}
#notification_box_wrap .rb_notification_item_text {
    display:block;
    flex:1 1 auto;
    min-width:0;
}
#notification_box_wrap .rb_notification_item_meta {
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:7px;
    color:#999;
    font-size:11px;
}
#notification_box_wrap .rb_notification_item_meta b {color:#25282B;}
#notification_box_wrap .rb_notification_item_meta em {font-style:normal;}
#notification_box_wrap .rb_notification_item_content {
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#notification_box_wrap .rb_notification_item_content {
    color:#777;
    font-size:13px;
}
#notification_box_wrap .rb_notification_delete {
    position:absolute;
    top:50%;
    right:12px;
    z-index:1;
    width:30px;
    height:30px;
    transform:translateY(-50%);
    color:#999;
    font-size:22px;
    text-align:center;
}
#notification_box_wrap .rb_notification_delete:hover {color:#000;}

#notification_box_wrap .rb_notification_view_header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    height:44px;
    padding:0 20px;
    border-bottom:1px solid #eee;
}
#notification_box_wrap .rb_notification_back {
    font-family:'font-B';
    font-size:13px;
}
#notification_box_wrap .rb_notification_view_inner {padding:20px;}
#notification_box_wrap .rb_notification_view_date {
    color:#999;
    font-size:12px;
}
#notification_box_wrap .rb_notification_view_content {
    min-height:80px;
    color:#555;
    font-size:14px;
    line-height:1.7;
    white-space:pre-wrap;
    word-break:break-word;
}
#notification_box_wrap .rb_notification_view_links {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:18px;
}
#notification_box_wrap .rb_notification_view_links:empty {display:none;}
#notification_box_wrap .rb_notification_view_links a {
    display:block;
    width:100%;
    padding:12px 15px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    background-color:#fff;
    color:#25282B;
    font-size:14px;
    line-height:1.4;
    text-align:center;
}

@media all and (max-width:768px) {
    #notification_box_wrap {
        position:fixed;
        top:120px;
        right:auto;
        left:0;
        width:100%;
        height:calc(100vh - 120px);
        border-radius:0;
    }
    #notification_box_wrap .rb_notification_body {height:calc(100vh - 221px);}
}
