﻿* {
    box-sizing: border-box;
}

html {
    height: 100%;
    font-size: smaller;
    font-weight: bold;
}

body {
    margin: 0 0 0 0;
    height: 100%;
    background-color: #f0f2f5;
}

input {
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    box-shadow: none;
    padding: 4px 8px 4px 8px;
}

h4 {
    padding: 2px 2px 2px 2px;
    margin: 0 0 0 0;
}

p {
    display: flex;
    margin: 8px 0 4px 0;
    padding: 0 0 0 0;
}

#mask {
    position:   fixed;
    width:      100%;
    height:     100%;
    padding:    0px;
    top:        0px;
    left:       0px;
    opacity:    0.5;
    background-color: black;
    z-index:    999;
}

.hl_checkbox:hover {
    cursor: pointer;
}
.hl_checkbox input {
    display: none;
}
.hl_checkbox input+span:before {
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: white;
    border-radius: 3px;
    border: 1px solid lightgray;
}

/*-- page header --*/
#page_head {
    position: fixed;
    display: flex;
    top: 0;
    height: 48px;
    width: 100%;
    min-width: 820px;
    background-color: #202227;
}
#page_head .head_logo {
    padding: 0 8px;
    width: 420px;
    color: #ffc0c0;
}
#page_head .head_logo h1 {
    margin: 4px 0;
}
#page_head .head_link {
    text-align: right;
    vertical-align: bottom;
    width:  100%;
    height: 100%;
    padding-top: 12px;
    padding-right: 8px;
}
#page_head .head_link a {
    display: inline-block;
    margin-right: 8px;
    text-decoration: none;
    color: white;
    font-weight: 200;
    padding-left:  4px;
    padding-right: 4px;
}
#page_head .head_user {
    white-space: nowrap;
}
#page_head .head_logout {
    border-left: 1px solid darkgray;
    text-align: right;
}
#page_head .head_logout:hover {
    cursor: pointer;
}
#page_head .active {
    border-bottom: 2px solid yellow;
}

/*-- page body --*/
#page_body {
    padding-top: 52px;
    margin: 0px 10px 0px 10px;
    height: 100%;
    overflow-y: hidden;
}

/*-- page footer --*/
#page_foot {
    position: fixed;
    bottom: 0;
    height: 64px;
    width: 100%;
    background-color: #202227;
    z-index: 990;
}

/*-- head --*/
.style_head {
    display: block;
    color: white;
    font-weight: bold;
    font-size: large;
    background-color: #48576e;
    text-align: center;
    padding: 2px 4px 2px 4px;
}

/*-- list --*/
.style_list {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 0;
}
.style_list thead th {
    background-color: #48576e;
    color: white;
    position: -webkit-sticky;
    position: sticky;
    white-space: nowrap;
    top: 0;
    z-index: 2;
}
.style_list th,
.style_list td {
    padding: 2px 4px 2px 4px;
}
.style_list tbody td {
    height: 38px;
    border: 1px solid #c0c2c5;
}

/*-- regist style --*/
.style_regist {
    padding: 0px 0px 0px 0px;
    border: 1px solid lightgray;
}
.style_regist .title {
    font-size: large;
    font-weight: bold;
    padding: 12px 12px 12px 12px;
    width: 100%;
    text-align: center;
    background-color: #48576e;
    color: white;
}
.style_regist .body_pane {
    display: flex;
    background-color: white;
    padding: 8px 8px 8px 8px;
}
.style_regist .footer {
    display: flex;
    width: 100%;
    padding: 8px 8px 8px 8px;
    background-color: #202227;
}
.style_regist .footer .pane1 {
    text-align:left;
}
.style_regist .footer .pane2 {
    width: 100%;
    text-align:right;
}

/*-- date range style --*/
.date-range {
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    background-color: white;
    vertical-align: center;
}
.date-range input {
    border: 0px;
    width: 100px;
    text-align: center;
}

/*-- button style (action) --*/
.action_button {
    cursor: pointer;
    padding: 4px 8px 4px 8px;
    color: white;
    background-color: #0095da;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}
.action_button:active {
    margin-top: 1px;
    margin-bottom: -1px;
}

/*-- button style (search) --*/
.search_button {
    cursor: pointer;
    padding: 8px 8px 8px 8px;
    color: white;
    background-color: #00a98e;
    border-radius: 5px;
    font-weight: 600;
    width: 240px;
    white-space: nowrap;
}
.search_button:disabled {
    cursor: not-allowed;
    color: lighgray;
    background-color: #00955e;
}
.search_button:active {
    margin-top: 1px;
    margin-bottom: -1px;
}
.save_button {
    cursor: pointer;
    padding: 8px 8px 8px 8px;
    color: white;
    background-color: #cc181e;
    border-radius: 5px;
    font-weight: 600;
    width: 240px;
}
.save_button:active {
    margin-top: 1px;
    margin-bottom: -1px;
}
.save_button:disabled {
    cursor: not-allowed;
    color: lighgray;
    background-color: #cc585e;
}
.back_button {
    cursor: pointer;
    padding: 8px 8px 8px 8px;
    color: white;
    background-color: #202227;
    border-radius: 5px;
    font-weight: 600;
    width: 160px;
}
.back_button:active {
    margin-top: 1px;
    margin-bottom: -1px;
}

/*-- checkbox style --*/
.list_checkbox {
    display: block;
    cursor: pointer;
    background-color: white;
    width: 36px;
    height: 36px;
    border: 1px solid #202227;
    border-radius: 3px;
}
.list_checkbox span {
    display: block;
    margin-top: -2px;
    margin-left: 6px;
    width: 20px;
    height: 28px;
    border-right: 7px solid #0171bd;
    border-bottom: 7px solid #0171bd;
    transform: rotate(45deg);
    opacity: 0;
}
.list_checkbox input:checked+span {
    opacity: 1;
}
.list_checkbox input {
    display: none;
}

/*-- wait icon --*/
.wait_icon {
    display: block;
    width: 128px;
    height: 72px;
    background-image: url(../img/wait.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: black;
}

/*-- err dialog --*/
#cmn_error_msg {
    display: block;
    position: absolute;
    margin: -260px 0 0 -190px;
    top:     50%;
    left:    50%;
    width:   520px;
    z-index: 1001;
    display:  none;
    border: 1px solid darkgray;
}
#cmn_error_msg .pane_title {
    padding: 8px 8px 8px 8px;
    text-align: center;
    background-color: #48576e;
    color: white;
    font-weight: bold;
}
#cmn_error_msg .pane_body {
    padding: 12px 12px 12px 12px;
    vertical-align: middle;
    display: flex;
    background-color: white;
}
#cmn_error_msg .pane_body img {
    width: 80px;
    height: 80px;
}
#cmn_error_msg .pane_body [name=stacktrace] {
    width: 420px;
    height: 100%;
    overflow: auto;
}
#cmn_error_msg .pane_footer {
    padding: 12px 12px 12px 12px;
    background-color: white;
    text-align: center;
}

/*-- warn dialog --*/
#cmn_warn_msg {
    display: block;
    position: absolute;
    margin: -260px 0 0 -190px;
    top:     50%;
    left:    50%;
    width:   520px;
    z-index: 1001;
    display:  none;
    border: 1px solid darkgray;
}
#cmn_warn_msg .pane_title {
    padding: 8px 8px 8px 8px;
    text-align: center;
    background-color: #48576e;
    color: white;
    font-weight: bold;
}
#cmn_warn_msg .pane_body {
    padding: 24px 12px 12px 12px;
    vertical-align: middle;
    display: flex;
    background-color: white;
    font-weight: bold;
}
#cmn_warn_msg .pane_body img {
    width: 80px;
    height: 80px;
}
#cmn_warn_msg .pane_footer {
    display: flex;
    padding: 12px 12px 12px 12px;
    background-color: white;
}
#cmn_warn_msg .pane_footer div {
    width: 100%;
    text-align: center;
}
#cmn_warn_msg .pane_footer button {
    margin: 0px 8px 0px 8px;
    width: 120px;
}


/*-- warn dialog --*/
#cmn_confirm_msg {
    display: block;
    position: absolute;
    margin: -260px 0 0 -190px;
    top:     50%;
    left:    50%;
    width:   520px;
    z-index: 1001;
    display:  none;
    border: 1px solid darkgray;
}
#cmn_confirm_msg .pane_title {
    padding: 8px 8px 8px 8px;
    text-align: center;
    background-color: #48576e;
    color: white;
    font-weight: bold;
}
#cmn_confirm_msg .pane_body {
    padding: 12px 12px 12px 12px;
    vertical-align: middle;
    display: flex;
    background-color: white;
}

#cmn_confirm_msg .pane_footer {
    display: flex;
    padding: 12px 12px 12px 12px;
    background-color: white;
}
#cmn_confirm_msg .pane_footer div {
    width: 100%;
    text-align: center;
}
#cmn_confirm_msg .pane_footer button {
    margin: 0px 8px 0px 8px;
    width: 120px;
}

/*-- dialog --*/
.dialog {
    position: absolute;
    padding: 0px 8px 8px 8px;
    background-color: #f0f2f5;
    z-index: 1000;
    top: 30%;
    left: 30%;
    border: 1px solid darkgray;
    display: none;
}
.dialog p {
    display: flex;
    margin: 8px 0 4px 0;
    padding: 0 0 0 0;
}
.dialog .label {
    display: block;
    width: 120px;
    text-align: right;
    margin-top: auto;
    margin-bottom: auto;
}
.dialog .title {
    padding: 8px 8px 8px 8px;
    text-align: center;
    background-color: #48576e;
    color: white;
    font-weight: bold;
}
.dialog .foot {
    margin-top: 24px;
    display: flex;
    width: 100%;
}
.dialog .foot .left {
    width: 100%;
    text-align: left;
}
.dialog .foot .center {
}
.dialog .foot .right {
    width: 100%;
    text-align: right;
}
.dialog .foot button {
    width: 120px;
}
