@charset "utf-8";

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: calc(100% - 70px);
    margin: 70px 0 0 0;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 95%;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

.layout-wrapper {
    width: 100%;
    height: 100%;
}

/* north */
.layout-wrapper .layout-topbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 68px;
    background-color: #666;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.7);
}

.layout-wrapper .layout-topbar .title {
    float: left;
    margin: 15px 0 0 10px;
    padding: 5px;
    color: #eee;
}
.layout-wrapper .layout-topbar .title .ui-widget {
    font-size: 23px;
    font-weight: bold;
}

.layout-wrapper .layout-topbar .subtitle {
    float: left;
    margin: 23px 0 0 10px;
    padding: 3px 5px 3px 5px;
    border-radius: 3px;
    background-color: #eee;
    color: #000;
}

.layout-wrapper .layout-topbar .subtitle .ui-widget {
    font-size: 14px;
    font-weight: bold;
}

.layout-wrapper .layout-topbar .syscommand {
    position: absolute;
    right: 0;
    margin: 20px 10px 0 0;
    color: #000;
}

.layout-wrapper .layout-topbar .syscommand .ui-widget {
    font-size: 12px;
    margin-left: 5px;
}

/* west */
.layout-wrapper .layout-sidebar {
    overflow: auto;
    position: fixed;
    top: 70px;
    left: 0;
    width: 250px;
    height: calc(100% - 70px);
    background-color: #ddd;
    z-index: 1000;
}

.layout-wrapper .layout-sidebar > .viewport {
    height: 100%;
    overflow: hidden;
}

/* center */
.layout-wrapper .layout-content {
    height: 100%;
    margin-left: 250px;
}

.layout-wrapper .layout-content .pagecommand .ui-widget {
    font-size: 11px;
    margin: 2px;
}

.layout-wrapper .layout-content .layout-scrollable {
    overflow: auto;
}

.layout-wrapper .layout-content .layout-scrollable > * {
    min-width: 960px;
}

/* other */
.sidebarMenuTitle {
    width: 100%;
    height: 38px;
    margin: 0;
    padding: 4px;
    background-color: #666;
    color: #fff;
    text-align: center;
}

.displayOuter {
    overflow:hidden;
    width:calc(100% - 8px);
    height:calc(100% - 8px);
    border: double 4px #e8e1b5;
}

div.modal-overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.68);
    text-align: center;
    color: #ffffff;
}

/* p:commandButton, p:button
 * Button Styles 拡張
 *
 * secondary-button
 * help-btn
 * warning-btn
 * success-btn
 * info-btn
 * danger-btn
 *
 * menu-btn
 * large-btn
 * small-btn
 */
body .ui-button.menu-btn {
    background-color: #ecc985;
    color: #333;
    border: 1px solid #ecc985;
    font-weight: bold;
}

body .ui-button.menu-btn.ui-state-hover {
    background-color: #e8bc6c;
    color: #333;
    border: 1px solid #e8bc6c;
    font-weight: bold;
}

body .ui-button {
    min-width: 80px;
}
body .ui-button.ui-button-icon-only {
    min-width: 0;
}

body .ui-button.large-btn {
    font-size: 18px !important;
}

body .ui-button.small-btn {
    min-width: 0;
    font-size: 12px !important;
}

/* p:datatable, p:panelGrid */
table td,
table th {
    padding: 4px 8px !important;
}

.ui-datatable .ui-datatable-data tr {
    height: 1.2em !important;
}

.ui-datatable .ui-state-highlight {
    background-image: none !important;
    background-color: #ccc !important;
    color: #000 !important;
}

.ui-datatable-scrollable table {
    position: relative;
}
.ui-datatable-scrollable-theadclone th.ui-state-default {
    padding: 0 5px !important;
}

.sticky_table thead th {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 1;
}
.sticky_table thead th::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-top: 1px solid #c8c8c8;
    border-bottom: 1px solid #c8c8c8;
}

.ui-paginator-rpp-options {
    margin-top: 7px !important;
}

/* テーブルセルのinput */
td > input,
td > textarea {
    width: 100%;
}
td > .ui-selectcheckboxmenu {
    width: calc(100% - 10px);
}
td > .ui-selectonemenu {
    width: calc(100% - 25px) !important;
}

td > .ui-cell-editor > .ui-cell-editor-input input {
    width: calc(100% - 10px);
}
td > .ui-cell-editor > .ui-cell-editor-input .ui-calendar input {
    width: calc(100% - 40px);
}
td > .ui-cell-editor > .ui-cell-editor-input select {
    margin-left: 5px;
    width: calc(100% - 10px);
    font-size: inherit;
}

th > .ui-column-customfilter > .ui-selectonemenu {
    width: 100% !important;
    min-width: 0 !important;
}

/* テーブルセルのinputNumber */
.number,
td > .ui-inputnumber > input,
td.number > .ui-cell-editor > .ui-cell-editor-input input {
    font-size: inherit !important;
    text-align: right;
}

.ui-cell-editing {
    padding: 5px !important;
    text-align: center !important;
}

/* p:datetime */
.ui-datepicker {
    font-size: 95% !important;
}

.ui-datepicker-header {
    font-size: 130% !important;
}

.ui-datepicker td {
    padding: 1px !important;
}

.ui-datepicker-trigger {
    background-color: #007ad9 !important; /* IEでのちらつき防止の為 */
}

.ui-datepicker-year {
    width: 60px !important;
}

.ui-datepicker-month {
    width: 60px !important;
    margin-left: 20px !important;
}

/* .ui-chart */
.ui-chart {
    height: 350px;
}

/* -------------------------------------------------- */
/* ui-tabs.ui-tabs-left(sidebar) */
/* tab item (.ui-state-disabled) */
.ui-tabs.ui-tabs-left .ui-tabs-nav .ui-tabs-header.ui-state-disabled {
    /*border-bottom: 2px solid #ccc !important;*/
    font-weight: bold;
    opacity: 1;
    background-color: rgba(200, 200, 200, 1) !important;
    /*background-color: rgba(67, 104, 133, 1) !important;*/
    /*background-color: rgba(102, 102, 102, 1) !important;*/
    padding-left: 0 !important;
}

/* tab item (.ui-state-disabled) a */
.ui-tabs.ui-tabs-left .ui-tabs-nav .ui-tabs-header.ui-state-disabled a {
    color: #000 !important;
}

/* tab item container */
.ui-tabs.ui-tabs-left > .ui-tabs-nav {
    width: 100% !important;
    /*border-right: 1px solid #ccc !important;*/
}

/* tab item */
.ui-tabs.ui-tabs-left .ui-tabs-nav .ui-tabs-header {
    font-size: 90%;
    font-weight: normal;
    padding-left: 15px !important;
    border: none !important;
    border-radius: 0;
    background-color: #fff;
}

/* tab panel of ui-tabs.ui-tabs-left(sidebar) */
.ui-tabs.ui-tabs-left > .ui-tabs-panels {
    width: 0 !important;
    display: none !important;
}

#dummy_tab.ui-tabs-center > .ui-tabs-nav {
    display: none !important;
}
