
/*---------------------------
    total
----------------------------*/
html, body {
    margin-top:0;
    width:100%;
}

body {
    text-align:center;
    font-family:none;
    background-color:#FFFFFF;
}

#mw5 {
    width:100%;
    height:100%;
    /*width:1050px;*/
    margin:0 auto 0 auto;
    text-align:left;
}

#mw5 .wrapper {
    width:1140px;
    width:1078px;
    margin:0 auto 0 auto;
    text-align:left;

    position:relative;
}

#mw5 .top {
    border-bottom:1px solid #ccc;
    background-color:#fafafa;
    padding:5px 5px 0 5px;
    height:22px;
    margin:0 0 0 0;
}

#mw5 .head {
    background-color:#fff;
    text-align:center;
    border:30px solid #fff;
    box-sizing:border-box;
}

#mw5 .menu_title {


    font-weight:normal;
    font-size:1.1em;
    font-family:inherit;
    line-height:3em;
    padding:0 0 0 20px;
    margin:0 0 10px 0;

    box-shadow: 0 1px #EBEBEB;
    border-radius: 3px;
    border: 1px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color:#fff;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

#mw5 .top-ad {
    width:768px;
    width:-webkit-calc(100% - 310px); /* for Chrome, Safari */
    width:   -moz-calc(100% - 310px); /* for Firefox */
    width:        calc(100% - 310px); /* for IE */
    overflow:hidden;

    font-weight:normal;
    font-size:1.1em;
    font-family:inherit;
    padding:15px 0 15px 20px;
    margin:0 0 10px 0;

    box-shadow: 0 1px #EBEBEB;
    border-radius: 3px;
    border: 1px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color:#fff;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

#mw5 .container {
    margin:10px 0 0 0;
}

#mw5 .sidebar {
    width:300px;
    float:right;
}

#mw5 .main {
    float:left;
    width:830px;
    width:768px;
    width:-webkit-calc(100% - 310px); /* for Chrome, Safari */
    width:   -moz-calc(100% - 310px); /* for Firefox */
    width:        calc(100% - 310px); /* for IE */
    /*overflow:hidden;*/

    background-color:#fff;
    padding:10px 10px;

    box-shadow: 0 1px #EBEBEB;
    border-radius: 0px;
    border: 0px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color:#fff;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */

}

#mw5 .main nav.pg_wrap {
    border:0;
}

#mw5 .main .menu_title {
    font-size:1.5em;
    line-height:100px;
    height:100px;
    border-bottom:1px solid #eee;
    background-color:#efefef;
    margin:0 0 100px 0;
    padding:150px;
}

#mw5 .main .menu_title h2 {
    position:absolute;
    line-height:30px;
    height:30px;
    /*border-bottom:2px solid #e74c3c;*/
    min-width:120px;
    padding:0;
    padding-left:5px;
    text-decoration:none;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*---------------------------
    top
----------------------------*/
#mw5 .top a {
    font-size:.9em;
    color:#777;
}

#mw5 .top ul {
    margin:0;
    padding:0;
    list-style:none;
    display:table;
}

#mw5 .top li {
    display:table-cell;
}

#mw5 .top li:after {
    content:'|';
    padding:0 5px 0 5px;
    color:#ddd;
}
#mw5 .top li:last-child:after {
    content:'';
    padding:0;
}

#mw5 .top .left {
    float:left;
}

#mw5 .top .right {
    float:right;
}

/*---------------------------
    head
----------------------------*/
#mw5 .head .wrapper {
    width:0px;
    margin:30px auto 20px auto;
    display:table;
    letter-spacing:-1px;
}

#mw5 .head div {
    vertical-align:top;
}

/*---------------------------
    logo
----------------------------*/
#mw5 .head .logo {
    display:table-cell;
    display:absolute;
    font-size:3em;
    font-weight:bold;
    padding-right:10px;
    min-width:180px;
}

#mw5 .head .logo a {
    text-decoration:none;
}

/*---------------------------
    search-box 
----------------------------*/
#mw5 .head .search-box {
    display:table-cell;
    margin:0 0 0 190px;
    padding-right:150px;
}

#mw5 .head .search-box form {
    margin:0;
    padding:0;
}

#mw5 .head .search-text {
    border:3px solid #5997D3; /*  total color */
    height:29px;
    float:left;
    margin:0 0 7px 0;
    width:350px;
}

#mw5 .head .search-text input {
    border:0;
    font-size:1.5em;
    font-weight:bold;
    line-height:25px;
    width:98%;
    margin:5px 0 0 5px;
    outline:none;
    background-color:transparent;
}

#mw5 .head .search-button {
    width:50px;
    height:35px;
    border:0 solid #5997D3; /*  total color */
    background-color:#5997D3; /*  total color */
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    float:left;
    margin:0 0 0 7px;
}

/*---------------------------
    quick-link 
----------------------------*/
#mw5 .head .quick-link {
    clear:both;
}

#mw5 .head .quick-link ul {
    margin:0;
    padding:7px 0 0 0;
    list-style:none;
    display:table;
}

#mw5 .head .quick-link li {
    display:table-cell;
}

#mw5 .head .quick-link li:after {
    content:'|';
    padding:0 5px 0 5px;
    color:#ddd;
}

#mw5 .head .quick-link li:last-child:after {
    content:'';
}

/*---------------------------
    navbar
----------------------------*/
#mw5 nav {
    border-bottom:3px solid #2573be;
}

#mw5 .navbar {
    clear:both;
    background-color:#5997d3;
    height:80px;
    margin:0;
    padding:0;
    list-style:none;
}

#mw5 .navbar a:hover,
#mw5 .navbar a:link,
#mw5 .navbar a:active,
#mw5 .navbar a:visited {
    color:#fff;
    text-decoration:none;
    font-size:1.5em;
    height:80px;
    line-height:80px;
}

#mw5 .navbar li.item {
    float:left;
    font-weight:bold;
    float:left;
    padding:0;
    height:10px;
}

#mw5 .navbar li.item a {
    display:block;
    padding:0px 10px 0 80px;
    font-weight:bold;
}

#mw5 .navbar ul:first-child li .new-count {
    margin:0 0 0 5px;
    color:#e74c3c;
    font-weight:bold;
    position:absolute;
    margin:-2px 0 0 -5px;

    background-color:#e74c3c;
    color:#fff;
    padding:2px 7px 2px 7px;
    border-radius:10px;
    opacity:0.8;
    font-size:.7em;
    line-height:1.4em;
}

#mw5 .navbar ul:first-child li span.new-check:after {
    font-family:FontAwesome;
    font-weight:normal;
    font-style:normal;
    content:'\f111';
    color:#e74c3c;
    margin-left:10px;
    font-size:10px;
}

#mw5 .navbar ul:first-child li span.new-check {
    font-size:0;
}

#mw5 .navbar ul:first-child li span.new-no {
    display:none;
}

#mw5 .navbar li.select {
    float:left;
    display:block;
    padding:0;
    background-color:#3784cf;
    height:10px;
}

#mw5 .navbar li.select a {
    display:block;
    padding:0px 10px 0 80px;
    font-weight:bold;
}

#mw5 .navbar li.underline {
    height:0px;
    border-bottom:100px solid #3F3F3F;
}

#mw5 .navbar li .caret {
    font-size:0em;
    padding-left:10px;
}

/* 드롭다운 컨테이너 */
/* 드롭다운 메뉴 컨테이너 */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0% { text-shadow: 0 0 0px #fff; }
    50% { text-shadow: 0 0 8px #fff; }
    100% { text-shadow: 0 0 0px #fff; }
}

#mw5 .navbar ul.dropdown {
    animation: fadeIn 0.3s ease-out;
    display: none;
    position: absolute;
    background: #2f2f2f; /* 부드러운 다크 톤 */
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    min-width: 180px;
    padding: 4px 0;
    margin-top: 0px;
    list-style: none;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(255,255,255,0.05);
}

/* 드롭다운 항목 */
#mw5 .navbar ul.dropdown li {
    padding: 0;
    hight: auto;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* 마지막 항목은 구분선 제거 */
#mw5 .navbar ul.dropdown li:last-child {
    border-bottom: none;
}

/* 드롭다운 내부 링크 */
#mw5 .navbar ul.dropdown li a {
    transition: all 0.3s ease; /* 모든 스타일 변화가 부드럽게 적용됨 */
    display: block;
    padding: 0px 0px; /* 👈 슬림하게 정돈된 여백 */
    color: #eaeaea;
    font-size: 0.95em;
    text-align: center;
    text-decoration: none;
    font-family: 'Malgun Gothic', sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

#mw5 .navbar ul.dropdown li a:hover {
    animation-name: glow;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;

    background: linear-gradient(to right, #444, #3b3b3b); /* 살짝 광택감 */
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.3px;
    transform: scale(1.01); /* 아주 살짝 확대 */
    box-shadow: inset 0 0 5px rgba(255,255,255,0.05); /* 은은한 내광 */
}

/* ▼ 화살표 */
#mw5 .navbar .caret {
    font-size: 0.8em;
    margin-left: 6px;
    vertical-align: middle;
    color: #bbb;
}

/* 선택된 상위 메뉴 강조 */
#mw5 .navbar li.select {
    background-color: #3769c5;
    border-radius: 6px 6px 0 0;
}

#mw5 .navbar li.select a {
    color: #fff !important;
}

/* 드롭다운 내부 알림 카운트 */
#mw5 .navbar ul.dropdown li .new-count {
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 10px;
    font-weight: bold;
}

/*---------------------------
    sidebar
----------------------------*/

#mw5 .sidebar .social-login {
    text-align:center;
}

#mw5 .sidebar .social-login img {
    cursor:pointer;
}

#mw5 .sidebar-nav {
    margin:10px 0 10px 0;
    padding:10px;
    border:1px solid #ccc;
    background-color:#fff;

    box-shadow: 0 1px #EBEBEB;
    border-radius: 3px;
    border: 1px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color:#fff;
}

#mw5 .sidebar-nav ul {
    padding:0;
    margin:0;
    list-style:none;
}

#mw5 .sidebar-nav ul li {
    padding:0;
    margin:0;
    height:30px;
    background-color:#ecf0f1;
    border-bottom:1px solid #fff;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    position:relative;
}

/*
#mw5 .sidebar-nav ul li:hover {
    background-color:#bdc3c7;
}
*/

#mw5 .sidebar-nav ul li.selected {
    /*background-color:#bdc3c7;*/
    font-weight:bold;
}

#mw5 .sidebar-nav ul li.selected a {
    font-weight:bold;
    color:#e74c3c;
    /*text-decoration:underline;*/
}

#mw5 .sidebar-nav ul li a {
    display:block;
    width:100%;
    height:100%;
    line-height:30px;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    margin:0;
    padding:0 0 0 25px;
    text-decoration:none;
}

#mw5 .sidebar-nav ul li a:hover {
    color:#e74c3c;
    text-decoration:underline;
}

#mw5 .sidebar-nav ul li.sidebar-brand {
    background-color:#95a5a6;
}

#mw5 .sidebar-nav ul li.sidebar-brand a {
    padding:0 0 0 10px;
    color:#fff;
    text-decoration:none;
}

#mw5 .sidebar-nav ul li.sidebar-brand a:hover {
    text-decoration:none;
}

#mw5 .sidebar-nav ul li .new-count {
    margin:0 0 0 5px;
    color:#e74c3c;
    font-weight:bold;

    background-color:#e74c3c;
    color:#fff;
    padding:2px 7px 2px 7px;
    border-radius:10px;
    opacity:0.8;
    font-size:.7em;
}

#mw5 .sidebar-nav ul li .new-check:after {
    font-family:FontAwesome;
    font-weight:normal;
    font-style:normal;
    content:'\f111';
    color:#e74c3c;
    margin-left:5px;
    font-size:10px;
}

#mw5 .sidebar-nav ul li .new-check {
    font-size:0;
}

#mw5 .sidebar-nav ul li .new-no {
    display:none;
}

#mw5 .sidebar-nav ul li .count {
    position:absolute;
    right:10px;
    line-height:30px;
    color:#7f8c8d;
}
/*---------------------------
    etc
----------------------------*/

#mw5 .popular {
    position:absolute;
    right:10px;
}

#mw5 .blank {
    border:0;
    margin:0;
    padding:0;
    clear:both;
    font-size:0;
    line-height:0;
    height:0;
}

#mw5 .block {
    background-color:#fff;
    padding:10px;
    margin:0 0 10px 0;

    box-shadow: 0 1px #EBEBEB;
    border-radius: 3px;
    border: 1px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color:#fff;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

/*---------------------------
    latest
----------------------------*/
#mw5 .latest {
    width:100%;
    display:table;
    table-layout:fixed;
}

#mw5 .latest div.item {
    display:table-cell;
    padding-bottom:10px;
    vertical-align:top;
}

#mw5 .latest div.item:first-child {
    padding-right:10px;
}

#mw5 .latest div.item:nth-child(2n) {
    padding-left:10px;
}

#mw5 .latest div.item:last-child {
    padding-right:0;
}

#mw5 .theme {border-bottom:1px dotted #dde4e9}
#mw5 .theme div {margin:0 auto;width:970px;zoom:1}
#mw5 .theme div:after {display:block;visibility:hidden;clear:both;content:""}
#mw5 .theme h2 {float:left;padding:10px 45px 10px 0}
#mw5 .theme ul {float:left;margin:0;padding:0;list-style:none}
#mw5 .theme li {float:left}
#mw5 .theme a {display:inline-block;padding:10px;text-decoration:none}
#mw5 .theme a:focus, #theme a:hover {}

#mw5 .footer {
    background-color:#fff;
    text-align:left;
    margin:10px 0 0 0;
    padding:0;
}

#mw5 .footer .wrapper {
    padding-left:10px;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#mw5 .footer .tail_link {
    margin:0;
    padding:0;
    line-height:30px;
    background-color:#efefef;
    border-top:1px solid #ccc;
    line-height:40px;
}

#mw5 .footer ul {
    margin:0;
    padding:0;
    text-align:left;
    list-style:none;
    display:table;
}

#mw5 .footer li {
    margin:0;
    padding:0 10px 0 0;
    display:table-cell;
}

#mw5 .footer li:last-child {
    padding:0;
}

#mw5 .footer .banners {
    padding:10px 0 0 0;
}

#mw5 .footer .banners img {
    border:1px solid #ccc;
}

#mw5 .footer .menu {
    margin:0;
    padding:0;
}

#mw5 .footer .menu li {
    margin:0;
    padding:0;
}

#mw5 .footer .menu li:after {
    content:"|";
    padding:0 10px 0 10px;
    color:#ccc;
}

#mw5 .footer .menu li:last-child:after {
    content:'';
}

#mw5 .footer .menu li a {
    font-size:12px;
    font-weight:normal;
    font-family:inherit;
    color:#000;
}

#mw5 .footer .copyright {
    padding:10px 0 10px 0;
}

#mw5 #device_change {
    margin:0;
    padding:10px 0 10px 0;
    border:0;
    border-radius:0;
}

#top-button {
    font-size:2em;
}

#mw5 .my_cash {
    cursor:pointer;
    line-height:20px;
    height:90px;
}

#mw5 .my_cash label {
    font-weight:bold;
}

#mw5 .my_cash .graph {
    margin-top:7px;
    background-color:#efefef;
    height:20px;
    font-weight:bold;
    font-size:11px;
}

#mw5 .my_cash .graph div {
    float:left;
    height:20px;
}

#mw5 .my_cash .graph .grade {
    background-color:#f1899a;
    color:#fff;
    text-align:right;
    padding-right:5px;
    padding-left:5px;
}

#mw5 .clear {
    clear:both;
    height:0;
    font-size:0;
    line-height:0;
}

#top-button {
    font-family:FontAwesome;
    font-weight:normal;
    font-style:normal;
    content:"\f077";
    opacity:0.8;    
    font-size:10px;
    line-height:30px;
    background-color:#ccc;
    display:block;
    width:30px;
    height:30px;
    color:#333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
}

#mw5 .memo_count {
    color:red;
    font-weight:bold;
}

