@charset "utf-8";

/**
 * layout.css
 * member_layout.css / kr_layout.css 공통 추출
 **/

/*
공통 레이아웃
*/
.m {
    display: none;
}

body {
    width: 100%;
    overflow-x: hidden;
}

.w_img {
    display: inline-block;
}

.m_img {
    display: none;
}

#wideDiv {
    position: relative;
}

#middleDiv {
    width: 100%;
    float: left;
    overflow: hidden;
}
#container_sub:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 178px;
    background: url(/images/kr/common/sub_visual.png) no-repeat;
}

.rightDiv {
    position: relative;
}

.inner {
    position: relative;
    width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.inner:after {
    content: '';
    display: block;
    clear: both;
}

#content:after {
    content: '';
    display: block;
    clear: both;
}

#skip-navigation {
    z-index: 9999;
    position: absolute;
    left: 0;
    top: 0;
}

#skip-navigation * {
    list-style: none;
    margin: 0;
    padding: 0;
}

#skip-navigation a {
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: #000;
    white-space: nowrap;
}

#skip-navigation a:focus,
#skip-navigation a:active {
    width: 100px;
    height: auto;
    background: #ffd;
}

/* headArea - height는 각 파일에서 개별 선언 */
#headArea {
    box-sizing: border-box;
}

#headArea * {
    font-family: 'score';
}

#top {
    height: 46px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

#header {
    position: relative;
    width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    height: 104px;
}

#header:after {
    content: '';
    display: block;
    clear: both;
}

#header .bar_wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header .bar_wrap .bar {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px 0;
    border-radius: 25px;
    background: #1c1c1c;
}

#header .bar_wrap .bar:nth-child(2) {
    width: 13px;
    background: #e76395;
    margin-left: auto;
}

#header .bar_wrap .txt {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-top: 4px;
}

#header .sns_wrap {
    display: flex;
    position: absolute;
    left: 71%;
    top: 50%;
    transform: translateY(-50%);
}

#header .sns_wrap li a {
    background: #fff url(/images/kr/common/sns_wrap.png) no-repeat;
    width: 38px;
    height: 38px;
    display: block;
    border-radius: 100%;
}

#header .sns_wrap li.fb a {
    background-position: 0 0;
}

#header .sns_wrap li.blg a {
    background-position: -46px 0;
    margin-left: 8px;
}

#global {
    float: left;
}

#global>li:first-child {
    text-align: left;
    width: 104px;
}

#global>li {
    float: left;
    position: relative;
    width: 170px;
    line-height: 46px;
    text-align: center;
    font-size: 16px;
}

#global>li:last-child {
    width: 119px
}

#global>li:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 20px;
    background: #ccc;
}

#global>li>a {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #444;
    font-weight: 300;
}

#global>li.on {
    background: #fff;
    color: #222;
    font-weight: 500;
}

#global>li.on a {
    font-weight: 500;
}

#global li.open {
    background: #fff;
}

#global li.open a {
    color: #444;
}

#global li.open ul {
    z-index: 99;
    position: absolute;
    top: 50px;
    left: 0;
    width: 280px;
    padding: 0 5px;
    margin: 0;
}

#global li.open ul a {
    width: auto;
    line-height: 170%;
    padding: 0;
}

#global li.open ul.slist {
    min-width: 120px;
    width: 120px;
}

#global li.mhome>a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin: -4px 0 0 10px;
    vertical-align: middle;
    border-top: 6px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

#global li.mhome.open>a:after {
    transform: rotate(-180deg);
}

#global li.open ul {
    font-size: 0.938em;
}

#global li.open ul:after {
    content: '';
    display: block;
    clear: both;
}

#global li.open ul li {
    display: inline-block;
    width: 30%;
    margin: 0 1.1%;
    text-align: center;
    border-bottom: 1px dashed #eee;
}

#global li.live span {
    display: inline-block;
    padding: 0px 13px;
    margin: 0 0 0 5px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 24px;
}

#global li.live span.on {
    background: #cf2d2d;
}

.logo {
    z-index: 97;
    position: absolute;
    top: 23px;
    left: 0;
}

.logo * {
    display: inline-block;
    vertical-align: top;
}

.logo a {
    text-decoration: none;
}

.logo span span {
    display: block;
    font-weight: 200;
    color: #999;
    text-transform: uppercase;
}

#font_control {
    float: right;
    margin: 10px 0 0;
    position: relative;
    padding-left: 28px
}

#font_control:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 1px;
    height: 20px;
    background: #ccc;
}

#font_control ul li a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin: 0 0 0 5px;
    background: #eee;
    text-align: center;
    color: #555;
    font-size: 14px;
}

#font_control ul li a#zoomCurrent {
    background: #fff;
    width: 58px;
}

#font_control ul li.end a {
    background: #fff
}

#font_control ul li {
    float: left;
}

#font_control ul li a img {
    margin: -3px 0 0;
}

#container_main {
    float: left;
    width: 100%;
}

#container_sub {
    float: left;
    width: 100%;
	margin-top: 10px;
}

#container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

/* 푸터 */
#footArea {
    position: relative;
    float: left;
    width: 100%;
    padding: 0px;
    font-size: 16px;
    font-family: 'score';
}

#btn_top {
    position: absolute;
    top: -145px;
    left: 106%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(235, 87, 134, 0.4);
}

#btn_top span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border-radius: 50%;
    background: #eb5786 url(/images/common/ico_btn_top.png) no-repeat center;
    font-size: 0;
    text-indent: -9999px;
}

.linksite {
    background: #333333;
}

.linksite>ul>li {
    float: left;
    width: 25%;
    box-sizing: border-box;
}

.linksite>ul>li::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #5c5c5c;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.linksite>ul>li:before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #5c5c5c;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.linksite>ul>li:nth-child(2)::before,
.linksite>ul>li:nth-child(3)::before,
.linksite>ul>li:nth-child(4)::before {
    display: none;
}

.linksite>ul>li>a {
    z-index: 1;
    overflow: hidden;
    position: relative;
    display: block;
    height: 65px;
    line-height: 65px;
    padding: 0 0 0 30px;
    color: #fff;
    transition: 0.25s ease-in-out;
}

.linksite>ul>li>a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 30px;
    width: 9px;
    height: 9px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    margin: -3px 0 0 0;
    transition: 0.3s ease-in-out;
    transform: rotate(-45deg);
}

.linksite>ul>li:last-child>a::after {
    transform: rotate(45deg);
}

.linksite>ul>li.on>a {
    background: #222;
}

.linksite>ul>li.on>a:after {
    transform: rotate(135deg);
}

.linksite ul li div {
    display: none;
    z-index: 56;
    position: absolute;
    bottom: 65px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #282d39;
}

.linksite ul li.on div {
    display: block;
}

.linksite ul li div ul {
    width: 100%;
    overflow-y: auto;
    max-height: 360px;
    min-height: 155px;
    margin: 0 auto;
    padding: 20px 0.7em 22px 22px;
    box-sizing: border-box;
}

.linksite ul li div ul:after {
    content: '';
    display: block;
    clear: both;
}

.linksite ul li div ul li {
    position: relative;
    float: left;
    width: 23%;
    margin: 0 2.66% 0 0;
    box-sizing: border-box;
    vertical-align: top;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.17);
}

.linksite ul li div ul li:nth-child(4n) {
    margin: 0;
}

.linksite ul li div ul li:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 2px;
    margin: -1px 0 0 0;
    background: #aaa;
}

.linksite ul li div ul li a {
    display: block;
    padding: 10px 0 10px 0.5em;
    color: rgba(255, 255, 255, 0.85);
    transition: 0.35s ease-in-out;
}

.linksite ul li div ul li a:hover {
    box-shadow: inset 0 40px 0 rgba(255, 255, 255, 0.08);
}

#footer {
    box-sizing: border-box;
    padding: 48px 0 80px;
    line-height: 160%;
    background: #fff;
    color: #333;
    font-family: 'score';
}

#footer .info {
    position: relative;
    padding: 0 0 0 295px;
    color: #555;
}

#footer .copyright {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

#footer .link {
    padding: 0 0 3px;
}

#footer .link li {
    position: relative;
    display: inline-block;
    padding: 0 32px 0 32px;
    line-height: 100%;
    vertical-align: top;
}

#footer .link li a {
    color: #333;
}

#footer .link .privacy a {
    font-weight: 400;
    font-size: 16px;
    color: #e72c67;
}

#footer .link li+li:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 1px;
    height: 15px;
    transform: rotate(-15deg);
    background: #d3d3d3;
}

#footer .link li:first-child {
    padding-left: 0;
}

#footer .link li a[target="_blank"]:after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 2px 0 0 8px;
    vertical-align: top;
    background: url(/images/common/ico_blank.png) no-repeat;
}

#footer address.link li {
    line-height: 1.618;
    vertical-align: middle;
    padding: 0 10px;
    color: #333;
}

#footer address.link li+li:before {
    transform: rotate(15deg);
}

#footer .logo {
    top: 8px;
}

#footer .logo strong {
    padding: 0;
    color: #222;
    font-weight: 600;
    font-family: 'score';
}

#footer .logo span span {
    padding: 3px 0 0;
    letter-spacing: -0.3px;
    font-weight: 300;
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'score';
}

/*
서브 레이아웃 공통
*/
/* #pageTitle {
    float: left;
}

#location {
    float: right;
}

#sub_default {
    float: left;
    width: 100%;
    line-height: 150%;
} */

/* ================================================
   미디어쿼리 공통
================================================ */
@media all and (max-width: 1700px){

    #btn_top {
        top: 100px;
        margin: 0;
        left: auto;
        right: 15px;
    }
}
@media all and (max-width:1500px) {
    #header,
    #mainmenu,
    .inner {
        width: 100%;
        padding: 0 15px;
    }

}

@media all and (max-width:1280px) {
    #header .sns_wrap {
        left: auto;
        right: 80px;
    }

    #header .bar_wrap {
        right: 10px;
    }

    #header .sns_wrap li a {
        width: 32px;
        height: 32px;
    }

    #header .sns_wrap li.fb a {
        background-position: -4px -2px;
    }

    #header .sns_wrap li.blg a {
        background-position: -49px -2px;
        margin-left: 8px;
    }

    .linksite>ul>li>a {
        height: 54px;
        line-height: 54px;
        padding: 0 0 0 27px;
    }

    .linksite>ul>li>a:after,
    .linksite>ul>li:last-child>a:before {
        right: 25px;
    }

    .linksite ul li div {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 54px;
    }
}

@media all and (max-width:1230px) {

    #header,
    .inner {
        width: 100%;
        padding: 0 15px;
    }

    .logo {
        left: 15px;
    }

    #menuArea .bar_wrap {
        right: 15px;
    }

}

@media all and (max-width:1200px) {

    #mainmenu,
    #footer {
        width: 100%;
    }

    #footer .list {
        padding: 25px 0 40px;
    }
}

@media all and (max-width:1080px) {
    #footer .info {
        padding: 0 0 0 230px;
    }

    #footer .logo {
        top: 2px;
    }

    #footer .logo strong {
        padding: 2px 0 0;
    }

    #footer .logo span span {
        font-size: 10px;
    }
	
}

@media screen and (max-width:1024px) {
	#header .bar_wrap {display: none;}
	.allmenu {
		top: 36px;
        position: absolute;
        left: 10px;
    }

    .allmenu button {
        margin: 0;
        padding: 3px 5px;
    }

    .allmenu img {
        transform: scaleX(-1);
    }
	#header div.allmenu.m {display: block;}
	.allmenu .navbar-toggle {display: block;}
	    .m_menu.m {
        display: block;
    }
	.m_menu {
    transition: transform 0.3s ease;
}

.m_menu.close {
    transform: translateX(-100%);
}
   /*  .m_menu {
        left: -200% !important;
    } */
}
@media screen and (max-width:999px) {
    #top {
        height: 35px;
    }

    #header .sns_wrap {
        right: 10px;
        top: -20%;
    }

    #global>li {
        width: auto;
        line-height: 35px;
        padding: 0 30px;
        font-size: 14px;
    }

    #global>li:first-child {
        width: auto;
        text-align: center;
    }

    #global>li:last-child {
        width: auto;
    }

    #global>li:not(.on):after {
        height: 15px;
    }

    #global li.open ul {
        top: 35px;
    }

    .logo img {
        height: 45px;
    }

    .logo strong {
        font-size: 23px !important;
    }

    #search .searchbar {
        height: 38px;
        line-height: 38px;
        background-size: 18px;
    }

    #topmenu>li>a {
        font-size: 17px;
    }

    #topmenu li ul li a {
        padding: 0 0 0 3px;
        font-size: 90%;
    }

    #mainContent {
        width: 100%;
    }
}

@media screen and (max-width:800px) {
    body {
        letter-spacing: -1px;
    }

    .w {
        display: none;
    }

    .m {
        display: block;
    }

    .w_img {
        display: none;
    }

    .m_img {
        display: inline-block;
    }

    .shareBackDiv {
        display: none;
        position: absolute;
        left: 0px;
        top: 43px;
        width:100%;
        height: 100%;
        background-color: #484848;
        opacity: 0.8;
        z-index: 99;
    }

    .inner {
        padding: 0 10px;
    }


    #container {
        width: 100%;
        margin: 0 auto;
    }

    #headArea {
        height: 95px;
    }

    #header {
        height: 58px;
    }

    #header .logo {
        top: 15px;
        left: 50%;
    }

    .logo img {
        height: 30px;
    }

    .logo strong {
        padding: 0;
        margin: -2px 0 0;
        font-size: 19px !important;
    }

    .logo span span {
        padding: 0;
        margin: -2px 0 0;
    }

    #header .sns_wrap {
        right: 36px;
        top: -30%;
    }

    #header .sns_wrap li a {
        width: 26px;
        height: 26px;
        background-size: auto 22px;
    }

    #header .sns_wrap li.fb a {
        background-position: 1px 2px;
    }

    #header .sns_wrap li.blg a {
        background-position: -25px 2px;
        margin-left: 2px;
    }

    #header .bar_wrap .txt {
        display: none;
    }

    #footer {
        padding: 35px 0;
        line-height: 120%;
    }

    #footer .info {
        padding: 0;
        text-align: center;
        font-size: 0.875em;
    }

    #footer .logo {
        position: static;
        display: inline-block;
        margin: 0 auto 15px;
        text-align: left;
    }

    #footer .logo span span {
        padding: 4px 0 0;
    }

    #footer .link .privacy a {
        font-size: 0.938em;
    }

    #footer .link li {
        padding: 0 9px 0 13px;
        font-size: 14px;
    }

    #footer .link li+li:before {
        top: 50%;
        transform: translateY(-50%);
        height: 80%;
        display: none;
    }

    #footer address.link li:first-child,
    #footer address.link li:first-child a {
        font-size: 13px;
    }

    #footer .copyright {
        font-size: 0.813em;
    }

    #btn_top {
        top: 0px;
    }

    #footer .f_sns {
        left: 50%;
        transform: translateX(-50%);
    }

    .linksite>ul>li>a {
        height: 46px;
        line-height: 46px;
        padding: 0 0 0 15px;
    }

    .linksite ul li div {
        bottom: 46px;
        left: 10px;
        width: calc(100% - 20px);
    }

    .linksite ul li div ul li {
        width: 32%;
        margin: 0 2% 0 0;
    }

    .linksite ul li div ul li:nth-child(4n) {
        margin: 0 2% 0 0;
    }

    .linksite ul li div ul li:nth-child(3n) {
        margin: 0;
    }

    #footer .list li {
        padding: 0 20px;
    }

    #btn_top {
        width: 65px;
        height: 65px;
        font-size: 0.938em;
    }

    #btn_top:before {
        margin: 10px auto 0;
        background-size: 16px;
    }

    #sns {
        top: 12px;
        left: auto;
        right: 35px;
    }

    #sns li {
        float: left;
    }

    #sns li img {
        height: 23px;
    }

    .allmenu,
    .hsearch {
        position: absolute;
        top: 12px;
        z-index: 90;
    }

    /* .hsearch {
        right: 0;
        padding: 0.6em;
        font-size: 150%;
        top: -42px;
    } */

    /* .hsearch * {
        font-family: 'Glyphicons Halflings' !important;
    } */

    .allmenu .navbar-toggle .icon-bar {
        background-color: #333;
    }

    #search {
        position: absolute;
        visibility: hidden;
        top: 62px;
        width: 100%;
        margin: 0;
        text-align: center;
        background: #fff;
        border-bottom: 1px solid #ccc;
    }

    #search .searchbar {
        width: 80%;
        display: inline-block;
    }

    #search.collapse.in {
        visibility: visible;
    }

    #container_main,
    #container_sub {
        background: none;
    }

    #container_main {
        margin-top: 0;
    }

    /* 메인메뉴 */
    #mainmenu {
        padding: 0;
    }

    #navbar {
        position: absolute;
        top: 48px;
        width: 98%;
        padding-bottom: 7px;
        margin: 0 0 0 1%;
        z-index: 99;
        background: #fff;
        border: 1px solid #999;
        border-radius: 6px;
        box-shadow: 0 3px 9px #ccc;
        background-clip: padding-box;
        z-index: 999;
    }

    #navbar>li>a {
        font-weight: bold;
    }

    #navbar div {
        padding: 0 0 0 20px;
    }

    #navbar div ul {
        overflow: hidden;
        width: 100%;
    }

    #navbar div a {
        float: left;
        width: 45%;
        padding: 2px 0 4px 7px;
        background: url(/images/common/bullet/bul_dotGray.gif) no-repeat 0 8px;
    }

    #mainContent {
        width: 100%;
    }

    #subContent {
        padding: 0 0 2em 0;
    }

    #subContent #content {
        width: 100%;
    }

    /* 문서정보 */
    #pageInfo {
        margin: 0;
    }

    #pageTitle h3 {
        font-size: 155%;
        line-height: 50px;
    }
	.allmenu {right: auto;}
}

@media screen and (max-width: 767px) {
    #header {
        height: 48px;
    }

   /*  #header .bar_wrap {
        display: none;
    } */

    #header .logo {
        top: 9px;
    }

    #header .sns_wrap {
        top: 50%;
    }

    /* .hsearch {
        padding: 3px 9px;
        top: 50%;
        transform: translateY(-50%);
    } */

    #top {
        height: auto;
    }

    #global {
        width: 100%;
    }

    #global>li,
    #global>li:first-child,
    #global>li:last-child {
        width: 50%;
        padding: 0;
        line-height: 22px;
    }

    #global>li:nth-child(2n)::after {
        display: none;
    }

    #global li.live span {
        padding: 0px 7px;
        border-radius: 5px;
        line-height: 18px;
    }
}

@media screen and (max-width:568px) {
    .logo strong {
        margin: 0;
    }
    #footer .logo strong {
        padding: 4px 0 0;
    }
    #footer .logo img {padding: 0; vertical-align: top; margin-top: 5px;}
    #footer .link li a {
        display: block;
    }

    #btn_top {
        top: -10px;
        width: 50px;
        height: 50px;
    }

    #global li.open ul {
        width: 100%;
    }

    #global li.open ul li {
        width: 46%;
    }

    .linksite>ul>li {
        position: relative;
        width: 100%;
    }

    .linksite>ul>li:not(:last-child) {
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }

    .linksite>ul>li>a {
        height: 42px;
        line-height: 42px;
    }

    .linksite ul li div {
        bottom: 42px;
        left: 0;
        width: 100%;
    }

    .linksite ul li div ul li {
        width: 49%;
    }

    .linksite ul li div ul li:nth-child(2n) {
        margin: 0 !important;
    }

    .linksite ul li div ul li:nth-child(3n) {
        margin: 0 2% 0 0;
    }

    .linksite>ul>li:nth-child(2)::before,
    .linksite>ul>li:nth-child(3)::before,
    .linksite>ul>li:nth-child(4)::before {
        display: block;
    }

    #footer .list {
        padding: 15px 0 30px;
    }

    #footer .list a {
        font-size: 0.933em;
    }

    #footer .list .sns a {
        width: 28px;
        height: 28px;
        margin: -3px 0px 0 0;
    }
}

@media screen and (max-width:430px) {
    .linksite ul li div ul li {
        width: 100%;
        margin: 0 !important;
    }

    .linksite ul li div ul li:nth-child(3n) {
        margin: 0;
    }
}

@media screen and (max-width:380px) {
    #global li.live span {
        font-size: 12px;
    }

    #footArea {
        font-size: 14px;
    }

    #footer .list {
        padding-bottom: 10px;
    }

    #footer .list li {
        padding: 0 15px;
    }

    #footer .list li:not(:first-child):before {
        top: 2px;
        height: 12px;
    }

    #footer .list .sns {
        width: 100%;
        padding: 12px 0 0;
    }

    #btn_top {
        top: -8px;
    }
}


