@charset "utf-8";

/* gamedot 레이아웃 기본 스타일 */

html,
body {
    height: 100%;
}

body {
    background-repeat: no-repeat;
    background-position: top center;
}

#main_wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    max-width: 1620px;
}

#layoutRightWrap {
    position: absolute;
    display: block;
    top: 0px;
    right: 0px;
    width: 160px;
    overflow: visible;
    margin-left: 10px;
    padding-top: 124px;
    min-height: 100%;
}

.layout-wiki-rank {
    display: block;
    position: sticky;
    top: 40px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    width: 160px;
    margin-bottom: 10px;
    overflow: hidden;
}

.layout-wiki-rank > div.title {
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.layout-wiki-rank > div.list {
    padding: 6px 0;
}

.layout-wiki-rank > div.list > a {
    display: block;
    padding: 5px 10px;
    font-size: 13px;
    color: #121212;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.layout-wiki-rank > div.list > a > span {
    font-weight: bold;
    color: #406096;
}

.layout-menu-ads {
    position: sticky;
    width: 95%;
    height: 300px;
    margin: 50px 2.5%;
    top: 40px;
}

.googleads {
    display: block;
    right: 0px;
    height: 600px;
    position: sticky;
    background-color: #fff;
    top: 340px;
}

.googleads.ads_block {
    display: block;
}

.googleads.ads_none {
    display: none;
}

@media only screen and (max-width: 1610px) {
    #layoutRightWrap {
        display: none;
    }
}

.wrapper {
    position: relative;
    margin: 0 auto;
    width: 1280px;
    min-height: 1080px;
    box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.wrapper:after {
    clear: both;
    display: block;
    content: "";
}

#left_wrap {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 246px;
    min-height: 100%;
    background-color: #383b43;
}

#left_menu {
    list-style: none;
    padding: 0px;
}

#left_menu li {
    width: 100%;
    height: 52px;
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
}

#left_menu li[data-type="0"] {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1px;
}

#left_menu li[data-type="0"] img {
    width: 246px;
    height: 52px;
}

#left_menu li[data-view="1"]:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

#left_menu .submenu {
    height: auto !important;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.3);
}

#left_menu .submenu p {
    -webkit-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
    width: 100%;
    padding: 12px 30px 9px;
    text-align: left;
    background-image: url(/layout/gamedot/image/submenu.png);
    background-position: 8px;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    margin-bottom: 0px;
}

#left_menu .submenu p:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#left_menu .submenu a {
    display: inline-block;
    width: 100%;
    color: #fff;
}

#right_wrap {
    position: relative;
    float: right;
    width: 1034px;
    min-height: 1790px;
    background-color: #fff;
}

#top_menu {
    width: 100%;
    height: 124px;
    background-color: #fafafa;
    border-bottom: 4px solid #f8b800;
}

.wrap_search {
    position: relative;
    width: 566px;
    height: 100%;
    float: left;
    padding: 22px 25px;
}

#msearchBtn {
    position: absolute;
    top: 31px;
    right: 26px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#mainSearch {
    outline: none;
    border: none !important;
    width: 100%;
    font-size: 18px;
    padding: 10px 0px 5px;
    margin-bottom: 8px;
    border-bottom: 3px solid #000 !important;
    background-color: transparent;
    background-image: url(/layout/gamedot/image/search_btn.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right;
}

#autoSearch {
    position: absolute;
    top: 63px;
    left: 25px;
    width: 516px;
    background-color: #fff;
    z-index: 255;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
}

#autoSearch .box {
    padding: 10px 15px;
    background-color: #f3f3f3;
    border-top: 1px solid #ddd;
    font-size: 12px;
}

#autoSearch .list {
    font-size: 15px;
    padding: 15px 15px;
    background-image: url(/image/li_info.png);
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 5px;
}

#autoSearch .list span.keyword {
    color: #ff5a00;
}

#autoSearch .list span.category {
    font-size: 12px;
    color: #999;
}

#autoSearch .list:hover,
#autoSearch .focus {
    font-weight: bold;
    background-color: #f3f3f3;
}

#autoSearch #as-close {
    cursor: pointer;
}

#autoSearch #as-close:hover {
    text-decoration: underline;
}

.wrap_sub {
    position: relative;
    background-color: #ddd;
    width: 468px;
    height: 100%;
    float: right;
    padding: 15px;
}

.wrap_sub > div {
    width: 50%;
    float: left;
}

.wrap_sub .title {
    font-weight: bold;
    margin-bottom: 5px;
}

.wrap_sub ul {
    margin: 0;
    padding: 0px 15px;
}

.wrap_sub ul li {
    margin: 11px 0;
    white-space: pre;
    text-overflow: ellipsis;
}

.wrap_sub ul li.none {
    color: #999;
}

.wrap_sub a {
    color: #000;
}

#layout_logo {
    position: relative;
    width: 100%;
    height: 124px;
    background: url(/layout/gamedot/image/logo.png) no-repeat;
    background-size: cover;
    background-color: #f8b800;
    border-bottom: 4px solid #000;
}

.user_info {
    width: 230px;
    padding: 10px;
    margin: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    color: #fff;
}

.user_info hr {
    width: 100%;
    border: none;
    border-bottom: 1px solid #515151;
}

.user_info .gamedot_members {
    font-size: 11px;
    color: #fff;
    text-align: left;
}

.user_info .gamedot_members a {
    color: #fff;
}

.user_info .gamedot_members p {
    padding-top: 1px;
    padding-left: 10px;
    background-image: url(/image/mli_white.png);
    background-position: left center;
    background-repeat: no-repeat;
}

.user_info .gamedot_members p.line {
    width: 50%;
    white-space: pre;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
}

.login_info {
    width: 100%;
    height: 46px;
}

.login_info:after {
    clear: both;
    content: "";
    display: block;
}

.login_info div {
    float: left;
}

.login_info .profile {
    width: 46px;
    height: 46px;
    border-radius: 46px;
    background-image: url(/layout/gamedot/image/profile.png);
    background-size: cover;
}

.login_info .name {
    font-size: 12px;
    padding: 3px 10px;
    vertical-align: middle;
}

.login_info .name p span {
    font-size: 11px;
    padding: 3px 3px;
    background-color: #406096;
    border-radius: 3px;
}

.login_info .name p b {
    font-size: 11px;
    color: #909090;
    letter-spacing: 1px;
}

.loginbtn {
    cursor: pointer;
    width: 100%;
    height: 38px;
    background-color: #fff;
    border-radius: 3px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    padding: 11px;
    margin-bottom: 10px;
    background-image: url(/layout/gamedot/image/login_text.png);
    background-size: 210px 38px;
}

.loginbtn:hover {
    background-color: #e7eaef;
}

.loginbtn[data-type="logout"] {
    margin-top: 10px;
    margin-bottom: 0px;
    background-image: url(/layout/gamedot/image/logout_text.png);
}
.content_wrap:after {
    clear: both;
    content: "";
    display: block;
}

.content_wrap {
    position: relative;
    min-height: 1410px;
    padding: 10px 10px 50px;
}

#footer {
    position: relative;
    width: 100%;
    padding: 30px 20px;
    z-index: 0;
    color: #000;
    font-size: 12px;
    border-top: 1px solid #ddd;
}

#footer:after {
    display: block;
    clear: both;
    content: "";
}

#footer div {
    float: left;
}

#footer div.logo {
    opacity: 0.2;
    width: 125px;
    height: 38px;
    background-image: url(/image/logo_footer.png?v2);
    background-size: 124px;
    background-position: top center;
    background-repeat: no-repeat;
}

#footer div.text {
    margin-left: 30px;
    padding: 2px 0px 0px;
}

#footer p:last-child {
    margin-bottom: 0px;
}

#scroll-control {
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 255;
}

#scroll-control > div {
    float: left;
    background-color: rgba(0, 0, 0, 0.6);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin: 10px 3px;
    cursor: pointer;
    background-size: 42px;
    background-position: center;
    transition: 0.3s ease background;
}

#scroll-control > div:hover {
    background-color: #000;
}

#scroll-control > div.top {
    background-image: url(/layout/gamedot/image/ctl-top.png);
}

#scroll-control > div.bottom {
    background-image: url(/layout/gamedot/image/ctl-bottom.png);
}
