/*   header   */
header {
    width: 100%;
    height: 66px;
    font-size: 0;
    background-color: #fff;
    border-bottom: 1px solid #D1D3D4;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 10;
}

header > div {
    min-width: 1440px;
    padding: 0 30px;
    position: relative;
    font-size: 0;
}

header > div > * {
    display: inline-block;
    vertical-align: top;
}

header a.logo-wrap {
    width: 170px;
    height: 30px;
    background: url("../../img/logo_key.png")no-repeat center;
    margin-top: 17px;
    cursor: pointer;
}

header nav {
    width: calc(100% - 574px);
    margin-left: 34px;
}

nav ul li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    transition: padding 0.2s;
}

nav ul li + li::before {
    content: "";
    width: 1px;
    height: 16px;
    background-color: #D1D3D4;
    position: absolute;
    top: calc(50% - 8px);
    left: 0;
}

nav ul li button {
    width: 200px;
    height: 65px;
    font-size: 0;
    position: relative;
}

nav ul li button > * {
    display: inline-block;
    vertical-align: middle;
}

nav ul li button i {
    color: #666666;
    margin-right: 10px;
    font-size: 16px;
}

nav ul li button span {
    font-size: 15px;
    font-weight: 400;
    color: #666;
}

nav ul li button:not(.on)::after {
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
}

nav ul li button:not(.on):hover::after {
    /* width: calc(100% - 4px); */
    background-color: #D71921;
    left: 2px;
    right: 2px;
}

nav ul li button:not(.on):hover span {
    font-size: 16px;
    font-weight: 500;
}

nav ul li button:not(.on):active {
    background-color: #F9F9F9;
}

nav ul li button.on {
    border-bottom: 3px solid #D71921;
}

nav ul li button.on i {
    color: #D71921;
}

nav ul li button.on span {
    font-size: 16px;
    font-weight: 500;
}

header div.header-info {
    font-size: 0;
    width: 370px;
    text-align: right;
    line-height: 65px;
    /* position: absolute;
    top: 0;
    right: 30px; */
}

header div.header-info > * {
    display: inline-block;
    vertical-align: middle;
}

header div.header-info > span {
    font-size: 12px;
    color: #D71921;
    margin-right: 4px;
}

header div.header-info p {
    font-size: 12px;
    color: #58595B;
    margin-right: 12px;
}

header div.header-info button.btn-setting {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #4D4D4D;
    text-align: center;
    line-height: 20px;
    margin-right: 20px;
}

header div.header-info button.btn-setting:hover {
    color: #A11319;
}

header div.header-info button.btn-setting:active {
    color: #FF6666;
}

header div.header-info button.btn-setting:disabled {
    color: #ccc;
}

header div.header-info button.btn-login {
    width: 60px;
    height: 20px;
    font-size: 10px;
    color: #D71921;
    line-height: 18px;
    border: 1px solid #D71921;
    border-radius: 10px;
}

header div.header-info button.btn-login:hover {
    color: #fff;
    background-color: #A11319;
    border: 1px solid #A11319;
}

header div.header-info button.btn-login:active {
    color: #fff;
    background-color: #FF6666;
    border: 1px solid #FF6666;
}



/*   page   */
section.app-container {
    width: 100%;
    height: -moz-calc(100% - 26px);
    height: -webkit-calc(100% - 26px);
    height: -ms-calc(100% - 26px);
    height: calc(100% - 26px);
}

section.app-container > div {
    height: 100%;
}

section.app-container > div.full {
    width: 100%;
}

section.app-container > div.v-half {
    width: 100%;
    height: 50%;
    padding-bottom: 12px;
}

section.app-container > div.v-half + div.v-half {
    padding-bottom: 0;
    border-top: 1px solid #D1D3D4;
}

div.main-top {
    width: 100%;
    height: 52px;
    vertical-align: top;
    padding: 12px 30px 10px 20px;
    border-bottom: 1px solid #D1D3D4;
    position: relative;
    font-size: 0;
}

div.main-top > * {
    display: inline-block;
    vertical-align: middle;
}

div.main-top h3 {
    font-size: 16px;
    font-weight: 400;
    color: #58595B;
    margin-right: 20px;
}

div.main-filter .col-title {
    margin-right: 10px;
}

div.main-filter .col + .col {
    margin-left: 10px;
}

div.main-filter .col + .col-btn {
    margin-left: 10px;
}

div.main-filter .col-contents + .col-contents {
    margin-left: 8px;
}

div.main-filter .col-contents + .col-btn {
    margin-left: 10px;
}

div.main-filter .contents-wrap input {
    height: 28px;
    border: 1px solid #dedede;
    border-radius: 2px;
}

div.menu-wrap {
    position: absolute;
    right: 30px;
    bottom: 10px;
}

div.menu-wrap > ul {
    font-size: 0;
}

div.menu-wrap > ul > li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

div.menu-wrap > ul > li + li {
    margin-left: 8px;
}

div.main-contents {
    width: 100%;
    height: -moz-calc(100% - 52px);
    height: -webkit-calc(100% - 52px);
    height: -ms-calc(100% - 52px);
    height: calc(100% - 52px);
    vertical-align: top;
    padding: 10px 10px 0;
}


/*   modal   */
.modal-contents .row + .row {
    margin-top: 8px;
}

.modal-contents-table {
    display: table;
    width: 100%;
}

.modal-contents-table .col-title,
.modal-contents-table .col-contents, 
.modal-contents-table .col-btn {
    display: table-cell;
    vertical-align: middle;
}

.modal-contents-table .col-title {
    font-size: 0;
    white-space: nowrap;
}

.modal-contents .modal-contents-table .col-title i {
    font-size: 15px;
    margin: 0 7px 0 0;
    vertical-align: middle;
}

.modal-contents-table .col-title span {
    font-size: 13px;
    color: #40404C;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

span.req::before {
    content: "*";
    color: #D71921;
    position: absolute;
    left: -8px;
}

.modal-contents-table .dateRange {
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
}

.modal-contents-table .col-contents,
.modal-contents .contents-wrap,
.modal-contents .contents-wrap input[type=text],
.modal-contents .contents-wrap input[type=password],
.modal-contents .contents-wrap textarea {
    width: 100%;
}

.modal-contents-table .col-contents.range {
    width: -moz-calc((100% - 20px)/2);
    width: -webkit-calc((100% - 20px)/2);
    width: -ms-calc((100% - 20px)/2);
    width: calc((100% - 20px)/2);
}

.modal-contents .contents-wrap .c-select-wrap {
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
}

.modal-contents .contents-wrap .c-select-wrap.border-start {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.modal-contents .contents-wrap .c-select-wrap.border-end {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.modal-contents .contents-wrap .c-select-label {
    line-height: 30px;
}

.modal-contents .contents-wrap input[type=text] {
    height: 34px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.modal-contents .contents-wrap input.key {
    color: #fff;
    background-color: #40404C;
    border-color: #40404C;
}

.modal-contents .contents-wrap textarea {
    border: 1px solid #E0E0E0;
    border-radius: 6px;
}

.modal-contents .contents-wrap div.textareaView {
    font-size: 12px;
    font-weight: 300;
    color: #40404C;
    padding: 6px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    overflow-y: auto;
}

.modal-contents .form-info {
    display: block;
    font-size: 13px;
    font-weight: 100;
    color: #FF6666;
    line-height: 17px;
    padding-left: 130px;
    letter-spacing: -1px;
}

.modal-contents .form-info span {
    font-weight: 500;
}

.modal-contents-table .col-btn {
    padding-left: 8px;
}

.modal-contents-table .col-btn button {
    border-radius: 5px;
}

.modal-contents-table .col-btn.modal-btn {
    padding: 0;
    height: 30px;
}

.modal-contents-table .col-btn.modal-btn button {
    height: 30px;
    padding: 0 10px;
}

.modal-contents .modal-label {
    font-size: 13px;
    font-weight: 500;
    color: #6D6E71;
}

.modal-contents .modal-button {
    width: 100%;
    text-align: right;
}

.modal-contents .modal-button button + button {
    margin-left: 6px;
}

.modal-contents i.icon-infor {
    display: inline-block;
    vertical-align: top;
    font-size: 15px;
    color: #E02D30;
    margin: 2px 4px 0 10px;
}

td .modal-contents-table .col-btn {
    padding-right: 2px;
}

td .modal-contents-table .col-btn button.btn-type1 {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

td .modal-contents-table .col-btn button.btn-type1 i {
    line-height: 20px;
}

/* footer */
footer { 
    height: 26px;
    text-align: right;
    padding: 0 20px;
    line-height: 26px;
    background-color: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

footer p {
    font-size: 12px;
    font-weight: 100;
    color: #A7A9AC;
}


