* {
    box-sizing: border-box;
    font-family: 'Noto Sans', 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

html {
    overflow: scroll;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: white;
}
body {
    min-width: 1350px;
    padding-top: 10px;
}

body.appl {
    /* 途中省略 */
    overflow-x: scroll;
}
.ui-widget {
    font-size: 90%;
    font-family: 'Noto Sans', 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}
table {
    max-width: 100%;
}
img {
    vertical-align: bottom;
}
/* 必須マーク */
.required::after {
    content: ' *';
    font-weight: bold;
    color: red;
}
.explanation-mark-required {
    padding: 4px 10px 0;
    display: block;
    text-align: left;
    color: red;
    font-size: small;
}

/* レイアウト */
#wrapper {
    min-height: 100%;
    padding: 0;
    position: relative;
    text-align: left;
    visibility: visible;
    overflow: hidden;
}

header {
    text-align: left;
    padding: 0 8px;
}

.provider {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: medium;
    font-weight: bold;
    color: #003d7e;
}

.title-block,
.title-block {
    margin: 8px 0 0 0;
    padding: .2em;
    /* border-radius: 6px; */
    background-color: #003d7e;
    color: white;
}
.title-block .title {
    position: relative;
    display: inline-block;
    margin: 1px;
    padding: .1em 1em .1em 1em;
    line-height: normal;
    font-weight: bold;
    color: inherit;
}
.ui-panel {
    margin-top: 8px;
}
header div.headmenu {
    /* margin-top: 8px; */
}

.editActions {
    margin-top: 8px;
}

h1.title, h2.title {
    margin: 0;
    padding: 0;
    font-size: 120%;
    color: inherit;
}
a.brand {
    color: inherit !important;
    text-decoration: none;
}

.toolbar-text {
    position: relative;
    display: inline-block;
    margin: 1px; /* 仮想のBorder */
    padding: .3em 1em .3em 1em;
    line-height: normal;
    font-size: medium;
    font-weight: bold;
    color: inherit;
}

main {
    display: block; /* IEバグ対応 */
    margin: 0 0 50px 0; /* footer の height + 20px */
    padding: 0 8px;
    position: relative;
    text-align: left;
}

tbody td label {
    font-family: 'Noto Sans', 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
}

.input-label {
    white-space:nowrap;
}

pre span.applTextarea {
    font-size: 14px;
    white-space: pre-wrap;
}

a.appl-list {
    text-decoration: none;
    outline: none;
    color: #0066ff;
}

.ui-datatable tbody td.wrap {
    /*word-break: break-all;*/
    white-space: normal;
}

.ui-datatable thead th.wrap {
    /*word-break: break-all;*/
    white-space: normal;
}

.ui-datatable tbody td.center {
    text-align: center;
}

.ui-datatable tbody td table tbody td {
    border: none;
    padding: 3px;
}

.error {
    color: #b94a48;
}

.explanation {
    font-size: 12px;
    color: #0066ff;
}

.attention {
    font-size: 12px;
    color: #ff0000;
}

.condition-left {
    vertical-align: top;
}
.condition-right {
    vertical-align: top;
    padding-left: 2em;
}

.top-aligned-columns {
    vertical-align: top;
}

.bottom-aligned-columns {
    vertical-align: bottom;
}

/* フッター */
footer {
    position: absolute;
    bottom: 0;
    padding: 0 8px;
    width: 100%;
    height: 30px;
    /* border-top: 3px solid #64BEDC; */
}
footer .banners {
    width: 100%;
    padding: 5px;
    border-top: 1px solid #003d7e;
    border-bottom: 1px solid #003d7e;
}
footer .banners img {
    margin: 5px;
}
footer .copyright {
    width: 100%;
    margin-top: 5px;
    text-align: right;
    color: #003d7e;
}

/* 入力確認ページのメッセージ */
.saveNotYet {
    margin: 4px 0 0 0;
    padding: 4px 10px;
    color: red;
    background-color: #FCF8E3;
    border: 1px solid #f5e79e;
    font-size: larger;
    font-weight: bold;
}

/* 入力確認ページの確認欄 */
div.confirm-block,
div.confirm-block-danger {
    margin: 1em 0 1em 0;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 26px;
}
div.confirm-block {
    background-color: #d9edf7;
    border: 1px solid #9acfea;
    color: #31708f;
}
div.confirm-block-danger {
    background-color: #f2dede;
    border: 1px solid #dca7a7;
    color: #a94442;
}
div.confirm-block label,
div.confirm-block-danger label {
    display: block;
    padding: 1em 10px 1em 1em;
}
div.confirm-block input[type=checkbox],
div.confirm-block-danger input[type=checkbox] {
    height: 16px;
    width: 16px;
}

/*  */
.simplepage,
.messagepage,
.datapage,
.listpage {
    width: 100%;
}
.messagepage td {
    padding-top: 1.5em !important;
    padding-bottom: 1.5em !important;
}

.datapage table.data {
    width: 100%;
}
.datapage table.data td.left {
    width: 300px;
    word-break: keep-all;
    /* white-space: nowrap; */
}
.datapage table.data td.right {
    min-width: 300px;
}
.datapage table.data input,
.datapage table.data textarea,
.datapage table.data select,
.datapage table.data .select {
    width: 100%;
    max-width: 600px;
    min-width: 300px;
}
.datapage td[role=columnheader] {
    text-align: left;
    padding: 4px 10px;
    color: #ffffff;
    background-color: #148585;
    border-width: 1px;
    border-style: solid;
    border-color: #dddddd;
}
.datapage table.data > tbody > tr > td {
    border-width: 1px;
    border-style: solid;
    border-color: #dddddd;
}

input.hasDatepicker {
    width: 7em !important;
    min-width: 7em !important;
}

div.ui-message-info, div.ui-message-error, div.ui-message-warn, div.ui-message-fatal {
    margin: 2px 2px 2px 0;
}
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
    color: #333333;
    background-color: inherit;
}
label.ui-state-error, label.ui-widget-content label.ui-state-error, label.ui-widget-header label.ui-state-error {
    color: #b94a48 !important;
    font-weight: bold;
}
/* エラー時に入力値や選択肢の文字色が白くなり見えなくなってしまう Bootstrap テーマのバグを対処 */
input.ui-state-error,
textarea.ui-state-error {
    color: #333333 !important;
}
.ui-state-error .ui-state-highlight {
    color: #ffffff !important;
}

/*
 * ui-datatable 固有の表示幅の設定を解除。
 * デフォルトでは、幅が固定され、テーブル下部に横スクロールバーが表示されるが、
 * この設定を行うことにより、画面サイズで表示する。
 * 副作用として、画面上でテーブルのセル幅をドラッグで変更できるものが効かなくなる。
 */
.ui-datatable-resizable table {
     table-layout: auto !important;
}

.ui-datatable-resizable tbody td {
    white-space: normal !important;
}

/*
 * 通研ブルーをリンクカラーに設定
 */
.ui-widget-content a {
    color: #0b4aff;
}
.ui-widget-content a:hover {
    color: #148585;
}

/*
 * 選択時ラジオボタンの位置修正
 */
.ui-radiobutton-icon {
    margin-left:-1px !important;
    margin-top: -1px !important;
}

