/* 네비게이션바 */
nav {
    position: relative;
    height:100%;
}

/* 네비게이션바: 최상단 메뉴 */
nav .topbar {
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:50px;
    line-height:50px;
    z-index:2;
    border-bottom:1px solid #ececec;
    background-color: #f7f9fa;
}

nav .topbar .logo-wrap {
    width: 100px;
    height: 15px;
    display: inline-block;
    margin:0 20px;
    background-image: url("/statics/img/logo.png");
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
}
nav .topbar ul {
    position: absolute;
    list-style:none;
    color: #828282;
}
nav .topbar ul.right {
    right:0;
}
nav .topbar ul, nav .topbar li {
    margin:0;padding:0;
    display:inline-block;
}
nav .topbar li a{
    width: 100%;
    height: 100%;
    display: inline-block;
}
nav .topbar li {
    position: relative;
    min-width:110px;
    text-align:center;
}
nav .topbar ul.right li {
    min-width:20px;
    margin-right: 20px;
}
nav .topbar ul li.active {
    font-weight:bold;
    color:#000;
}
nav .topbar ul.left li.active::before {
    content: "";
    display:block;
    position: absolute;
    width:100%;
    height:4px;
    background-color:#7bb9fa;
}
nav .topbar ul.right li.active {
    border-top:0;
    color:#7bb9fa;
}
/* 언어 전환 토글 (KO|EN) */
nav .topbar ul.right li.lang-switch {
    min-width: auto;
    margin-right: 15px;
    font-size: 12px;
    color: #828282;
    line-height: 50px;
}
nav .topbar ul.right li.lang-switch a {
    display: inline;
    width: auto;
    height: auto;
    padding: 0 4px;
    color: #828282;
}
nav .topbar ul.right li.lang-switch a.active {
    font-weight: bold;
    color: #000;
    text-decoration: underline;
}
nav .topbar ul.right li.lang-switch .sep {
    color: #ccc;
}

nav .topbar ul.right li.password-change {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    background-color: #5382BF;
    border-radius: 50%;
    position: relative;
}
nav .topbar ul.right li.password-change span{
    position: absolute;
    top: -12px;
    left: 4px;
    color: #ffffff;
}

/* 네비게이션바: 좌우 컨트롤 패널 */
div.sidebar {
    position: absolute;
    min-width:150px;
    width:200px;
    height:100%;
    left:0;
    top:0;
    z-index:1;
    padding-top:50px;
    background-color: #f7f9fa;
    overflow: auto;
}

div.sidebar.left {
    left:0;
}

div.sidebar.right {
    left:unset;
    right:0;
}


div.sidebar .container {
    padding: 10px 20px;
}

/* 좌측 사이드바 */
div.sidebar.left input[type="text"]{
    display:block;
    width:100%;
    max-width:200px;
    margin-bottom:5px;
    border-radius: 5px;
    border: 1px solid #bbb;
    line-height:25px;
    
    padding:0 10px;
}
div.sidebar.left div .input-wrap {
    width:100%;
    max-width:200px;
    position: relative;
}
div.sidebar.left div .input-wrap i{
    position: absolute;
    top: 8px; right: 5px;
}
/* div.sidebar.left input[type="button"]{
    display:block;
    width:100%;
    max-width:200px;
    background-color:#7bb9fa;
    color:#fff;
    border:0;
    border-radius: 5px;
    padding:5px 10px;
    
} */
div.sidebar.left select{
    display:block;
    width:100%;
    max-width:200px;
    background-color:#7bb9fa;
    color:#fff;
    border:0;
    border-radius: 5px;
    padding:5px 10px;
    font-weight: bold;
}
div.sidebar.left .treeview{
    width: 100%;
    padding: 10px 0;
}
div.sidebar.left .treeview ul{
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
div.sidebar.left .treeview ul li{
    width: 100%;
    padding: 3px 0;
    cursor: pointer;
}
div.sidebar.left .treeview ul li .nested{
    display: none;
    padding: 5px 0 5px 35px;
    margin: 5px -20px;
    background-color: #ECECEC;
    width: calc(100% + 40px);
}
div.sidebar.left .treeview ul li .active{
    display: block;
}
/*
div.sidebar.left .treeview ul li{
    width: 100%;
    padding: 3px 0;
    position: relative;
    cursor: pointer;
}
div.sidebar.left .treeview ul li div{
    width: calc(100% + 40px);
    background-color: #ECECEC;
    position: absolute;
    left: -20px;
    margin: 5px 0;
}
div.sidebar.left .treeview ul li ul{
    padding: 0 0 0 35px;
    margin: 5px 0;
}
*/
/* 컨텐츠 영역 */
div.contents {
    position: absolute;
    left:0;
    top: 50px;
    background-color:#fff;
    width:100%;
    height: 100%;
    padding: 0 0 0 200px;
}
div.contents .menu.top {
    width: 100%;
    height:50px;
    line-height:50px;
    background-color: #f7f9fa;
    padding:0 10px;
    position: relative;
}
div.contents .menu.sub {
    height:40px;
    line-height:40px;
}

div.contents .menu ul {
    display:inline-block;
    margin:0;
    padding:0;
    list-style: none;
    color: #828282;
}

div.contents .menu ul li {
    position: relative;
    display:inline-block;
    text-align:center;
}

div.contents .menu ul li a{
    width: 100%;
    height: 100%;
    display: block;
    padding:0 20px;
}
div.contents .menu.top ul li.active{
    background-color:#fff;
    font-weight:bold;
    color: #7bb9fa;
}
div.contents .menu.top ul li.active::before {
    content: "";
    display:block;
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
    height:4px;
    background-color:#7bb9fa;
}
/* div.contents .menu.top ul li.active ul.active{
    font-weight:bold;
    color: #333333;
}
div.contents .menu.top ul.main li.active-bar::before {
    content: "";
    display:block;
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
    height:4px;
    background-color:#7bb9fa;    
} */
/*컨텐츠 메뉴*/
.contents .menu ul.rigth{
    position: absolute;
    right: 20px;
}
.contents .menu ul.rigth li{
    padding: 0 0 0 5px;
}
.contents .menu ul.rigth input{
    height: 30px;
    border-radius: 4px;
    padding: 0 10px;
}
/* .contents .menu ul.rigth input[type=text]{
    border: 1px solid #bbb;
    width: 120px;
    padding: 0 0 0 25px;
} */
.contents .menu ul.rigth input{
    border: 0;
    color: #ffffff;
}
.contents .menu ul.rigth .input-wrap{
    position: relative;
}
.contents .menu ul.rigth .input-wrap i{
    position: absolute;
    top: 0; left: 10px;
}
/* 컨테이너 */
div.contents .container {
    min-width:1000px;
    height:calc(100% - 150px);
    display: block;
    background-color: #ffffff;
    overflow: hidden;
}
div.contents .container > div{
    display: block;
}
div.contents .select-wrap{
    min-width: 1000px;
    padding: 20px 0 0 20px;
    display: inline-block;
    margin-bottom:10px;
}
div.contents .select-wrap .input-wrap{
    position: relative;
    display: inline-block;

}
div.contents .select-wrap .input-wrap i{
    position: absolute;
    top: 8px; right: 5px;
    pointer-events: none;
}
div.contents .select-wrap .input-wrap i.left{
    position: absolute;
    width: 10px;
    top: 8px; left: 5px;
}
div.contents .select-wrap input[type=text]{
    width: 130px;
    height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid #bbb;
}

div.contents .select-wrap input[type=text].with-left-icon {
    padding: 0 10px 0 25px;
}

div.contents .select-wrap select{
    height: 30px;
    border-radius: 4px;
    border: 1px solid #bbb;
    color: #828282;
    padding: 0 10px;
    vertical-align: top;
}

div.contents .select-wrap button{
    border: 1px solid #bbb;
    background-color: inherit;
    height: 30px;
    vertical-align: top;
    border-radius: 3px;
    padding: 0 20px;
    cursor:pointer;
}

/*테이블 한 개*/
div.contents .all-table-wrap{
    width: 100%;
    height: 100%;
    position: relative;
}
div.contents .table-outer{
    width: 100%;
    height: 100%;
}
/*테이블 selectbox, title 제거*/
div.contents .all-delete-table-inner {
    display:inline-block;
    vertical-align: top;
    width:100%;
    height: 100%;
    padding: 20px;
    overflow: auto;
}
/*테이블 두 개*/
div.contents .half-table-wrap{
    width: 100%;
    height: 65%;
    position: relative;
}
div.contents .half{
    width: 50%;
    height: 100%;
    display:inline-block;
    vertical-align:top;
}
div.contents .half-table-inner {
    display:inline-block;
    vertical-align: top;
    width:100%;
    height: calc(100% - 75px );
    padding: 0 20px 20px 20px;
    overflow: auto;
}

/*테이블 selectbox 유지*/
div.contents .table-inner {
    display:inline-block;
    vertical-align: top;
    width:100%;
    height:100%;
    padding: 0 20px 20px 20px;
    overflow: auto;
}

div.contents .title{
    padding: 20px 0 20px 20px;
}
div.contents .title > div{
    margin-bottom: 10px;
    font-weight: bold;
}
div.contents .title ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}
div.contents .title ul li{
    display: inline-block;
    cursor: pointer;
    margin-right: 10px;
}
div.contents .title ul li input{
    vertical-align: middle;
    width: 12px;
    height: 12px;
}

/*차트*/
div.contents .container .chart-wrap{
    width: 100%;
    height: 35%;
    background-color: #f6f6f6;
    position: relative;
}
div.chart-wrap > div{
    width: 100%;
    height: 100%;
}
div.chart-wrap .type-wrap{
    width: 100%;
    height: 65px;
    display: inline-block;
    padding: 20px;
}
div.chart-wrap .type-wrap div{
    background-color: #ffffff;
    border-radius: 4px;
    display: inline-block;
    line-height: 25px;
    text-align: left;
    padding: 0 10px 0 20px;
    margin-right: 5px;
    position: relative;
}
div.chart-wrap .type-wrap div span::before{
    content: "";
    width: 5px;
    height: 5px;
    background-color: red;
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 5px;
}
div.chart-wrap .type-wrap div span.color-blue::before{
    background-color: #7BB9FA;
}
div.chart-wrap .type-wrap div span.color-red::before{
    background-color: #EB5757;
}
div.chart-wrap .type-wrap div span.color-green::before{
    background-color: #46b437;
}
div.chart-wrap .type-wrap input[type="button"],
div.chart-wrap .type-wrap label{
    position: absolute;
    display:block;
    border-radius: 5px;
    border: 0;
    line-height:25px;
    padding:0 10px;
}
div.chart-wrap .type-wrap input[type="button"]{
    right: 20px;
    top: 20px;
    background-color: #7BB9FA;
    color: #ffffff;
}
div.chart-wrap .type-wrap label{
    right: 100px;
    top: 20px;
    color: #333333;
}
div.chart-wrap .type-wrap label input{
    vertical-align: sub;
    margin-right: 3px;
}
div.chart-wrap .chart-div{
    width: 100%;
    height: calc(100% - 65px);
    overflow-x : scroll;
}

div.chart-outer {
    position: relative;
    margin: auto;
    height: calc(100% - 80px);
    width: 85vw;
    overflow:hidden;
}

/*bg*/
section.bg{
    width: 100%;
    height: 100%;
    background-image: url(/statics/img/BG.jpg);
    background-repeat: no-repeat;
    background-size : cover;
}

section.bg > div{
    display: inline-block;
    margin-left: calc(50% - 115px);
    margin-top: 25%;
}
section.bg > div span{
    color: #D5D9DA;
}


/*help*/
section.contents-outer{
    width: 100%;
    height: 100%;
    background-color: #828282;
    overflow: auto;
    padding: 50px;

}
section.contents-outer > div {
    display: table;
    margin: 0 auto;
    background-color: #ffffff;
    width: 100%;
    height: 500px;
    text-align: center;
}

/*상세페이지 팝업*/
#popup{
    display: none;
    overflow: hidden;
}
div.popup{
    position: fixed;
    z-index: 9;
    top: 50%;
    right: 50%;
    width: 500px;
    margin-right: -250px;
    margin-top: -250px;
    background-color: #ffffff;
    box-shadow: 2px 5px 20px rgb(0, 0, 0, .1);
    border-radius: 4px;
}
div.popup .close {
    width: 45px;
    height: 45px;
    padding: 10px;
    position: absolute;
    right: 0;
}
.detail-wrap{
    width: 100%;
    height: 100%;
    padding: 20px;
    margin: 20px 0;
    overflow: auto;
    display: inline-block;
}
.detail-wrap > div{
    width: 100%;
    display: inline-block;
    line-height: 20px;
    padding: 5px;
    position: relative;
}
.detail-wrap > div > span{
    width: 34%;
    height: 20px;
    display: inline-block;
    font-weight: bold;
    vertical-align: top;
}
.detail-wrap > div > i{
    position: absolute;
    right: 10px;
    top: 8px;
}
.detail-wrap div .wide-wrap{
    width: 100%;
    height: auto;
    border: 1px solid #828282;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px;
} 
.detail-wrap div .wide-wrap div{
    padding: 5px;
} 
.detail-wrap div .wide-wrap div input{
    vertical-align: middle;
} 
.detail-wrap div .wide-wrap div label{
    vertical-align: middle;
} 
.detail-wrap div .wide-wrap div select{
    vertical-align: middle;
    height: 20px;
} 
.detail-wrap div.wide-input input{
    height: 50px;
}
.detail-wrap > div > input, .detail-wrap > div > select{
    width: 65%;
    height: 25px;
    text-align: left;
    display: inline-block;
    border: 1px solid #828282;
    border-radius: 4px;
    padding: 0 5px;
}
.detail-wrap > div input[type="number"]{
    width: 21%;
    height: 25px;
    text-align: left;
    display: inline-block;
    border: 1px solid #828282;
    border-radius: 4px;
    padding: 5px;
    margin-right: 5px;
}
.detail-wrap > div input[type="number"]::-webkit-outer-spin-button,
.detail-wrap > div input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.detail-wrap > div input[type="number"]:last-child{
    margin-right: 0;
}
.detail-wrap > div input[type="radio"]{
    width: 5%;
}
.detail-wrap > div textarea{
    width: 65%;
    resize: none;
}
.detail-wrap .button-wrap{
    width: 100%;
    height: 30px;
    display: inline-block;
    text-align: right;
}
.detail-wrap .button-wrap input{
    width: 80px;
    height: 30px;
    border: 0;
    color: #ffffff;
    border-radius: 4px;
    margin-top: 20px;
    text-align:center;
}


/*패스워드 변경 팝업*/
div.pw-change-popup{
    width: 300px;
    height: 250px;
    background-color: #ffffff;
    box-shadow: 1px 1px 20px rgb(0, 0, 0, .1);
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -150px;
    display: none;
}
div.pw-change-popup .close {
    width: 50px;
    height: 50px;
    padding: 10px;
    position: absolute;
    right: 0;
}
div.pw-change-popup .pw-change-wrap {
    width: 100%;
    height: 100%;
    padding: 30px;
}
div.pw-change-popup .input-wrap {
    width: 240px;
    height: 140px;
    padding: 10px 0;
}
div.pw-change-popup .input-wrap .color-wh input {
    background-color: #ECECEC;
}
div.pw-change-popup .input-wrap input {
    width: 240px;
    height: 20px;
    padding: 15px;
    margin: 5px 0;
    border: 0;
    background-color: #F7F9FA;
    border-radius: 4px;
}
div.pw-change-popup .wrap-button .btn {
    width: 60px;
    height: 30px;
    background-color: #7BB9FA;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    margin-right: 10px;
}
div.pw-change-popup .wrap-button .btn.cancel {
    background-color: #ECECEC;
    color: #333333;
}