/****************************** 共通 ******************************/
[v-cloak] {
  display: none;
}
body {
    min-width: 640px;
}
#kec-alert {
    white-space: pre-wrap;
}
/* ログイン画面用 フッター分*/
main > .container {
  padding: 60px 15px 0;
}

.footer {
    /*background-color: #e3f2fd;*/
}

.kec-small-text {
    font-size: 0.75em;
}

.kec-dash {
    font-size:1.5em;
}

/* パンくず */
ol.breadcrumb {
    background-color: #fff !important;
    margin-left: 16px;
    margin-bottom: 4px;
    font-size: 0.75em;
}

.list-group-item {
    padding: 0.5rem 1rem;
}

/****************************** メニュー ******************************/
#main-menu {
    max-width: 1030px;
}

#main-menu li:hover{
    color: crimson;
    border-color: rosybrown;
}

#main-menu .menu-title {
    font-size: 0.75em;
}

#main-menu .kec-menu {
    display: inline-block;
    border: 1px solid #dee2e6;
    box-sizing: border-box;
    /*width: 180px;*/
    width: calc(100% / 5 - 8px);
}

#main-menu .kec-menu a {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 16px;
}

#main-menu .kec-menu i {
    font-size: 46px;
    display: block;
    padding: 4px;
    margin-bottom: 4px;
}

#report-menu {
    max-width: 880px;
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

#report-menu li:hover{
    color: crimson;
    border-color: mistyrose;
}

#report-menu .menu-title {
    font-size: 0.75em;
}

#report-menu .kec-menu {
    display: inline-block;
    border: 1px solid #dee2e6;
    box-sizing: border-box;
    width: 200px;
}

#report-menu .kec-menu a {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 16px;
}

#report-menu .kec-menu i {
    font-size: 60px;
    display: block;
    padding: 4px;
    margin-bottom: 4px;
}

ul.menu-ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-inline-start: 0;
    list-style: none;
    margin-bottom: 0;
}

ul.menu-ul li {
    margin: 4px;
    line-height: 1;
}

.report-info-table {
    font-size: 0.75em;
}

/****************************** 一覧・検索画面 ******************************/
#search-form {
    max-width: 800px;
}

.list_table th {
    white-space: nowrap;
}

.search-area-header {
    font-size: 0.75em;
    width: 100%;
    cursor: pointer;
}

.search-area-header.collapsed:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d8";
    margin-left: 4px;
}

.search-area-header:not(.collapsed):after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    margin-left: 4px;
}

.table thead th {
    padding: 4px;
}

.sort-column-asc:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d8";
    margin-left: 4px;
}

.sort-column-desc:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    margin-left: 4px;
}

.paginate-text {
    font-size: 0.75em;
}


/****************************** フォーム系 ******************************/
#kec-input-form {
    margin-left: auto;
    margin-right: auto;
}

.kec-input-form-default {
    max-width: 1000px;
    padding: 0 15px;
}

#empty_form {
    display: none;
}

.label-required {
    margin-left: 4px;
}

input[type="number"].form-control {
    text-align: right;
}
/*
input[type="date"] {
    width: 200px;
}
input[type="date"].col-sm-8 {
    width: 200px;
    flex: none;
}
*/
.display-only-date,
.kec-label-date {
    width: 200px;
}

.display-only-date:not([disabled]) {
    background: #fff !important;
}

.white-space-pre {
    white-space: pre;
}

/* 複数チェックボックス */
.multi-choice ul {
    margin-top: 8px;
    list-style: none;
    padding: 0;
}

.multi-choice ul li{
    display: inline-block;
}

.multi-choice ul li label {
    padding-left: 8px;
    padding-right: 8px;
    cursor: pointer;
    font-weight: normal;
    font-size: 1em;
}

.multi-choice ul li label input {
    cursor: pointer;
}

/* グループ複数チェックボックス */
.group-multi-choice ul {
    margin-top: 8px;
    padding-left: 4px;
}

.group-multi-choice ul li {
    font-weight: bold;
}

.group-multi-choice ul li ul {
    list-style: none;
    padding: 0;
}

.group-multi-choice ul li ul li {
    display: inline-block;
}

.group-multi-choice ul li ul li label {
    padding-left: 8px;
    padding-right: 8px;
    cursor: pointer;
    font-weight: normal;
    font-size: 1em;
}

.group-multi-choice ul li ul li label input {
    cursor: pointer;
}

/* error class */
.invalid-feedback {
    display: block;
}

/* input class */
.kec-input-code {
    width: 100px;
}

.kec-input-small-num {
    width: 110px;
}

/* 16文字表示 */
.kec-input-middle {
    width: 180px;
}

/* 10文字表示 */
.kec-input-short-text {
    width: 110px;
}

/* 名前表示+検索ボタン */
.kec-label-user-name-display {
    width: 270px;
}

/*td .kec-input-small-num {*/
/*    max-width: none;*/
/*}*/
/* formset table */
.formset-table th {
    padding: 4px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

.formset-table td {
    padding: 1px;
    vertical-align: middle;
}

.formset-table input,
.formset-table textarea,
.formset-table select{
    border: 0;
}

.formset-table input.is-invalid,
.formset-table textarea.is-invalid,
.formset-table select.is-invalid {
    border-width: 1px;
    border-style: solid;
}

.formset-table input[type="checkbox"] {
    width: 20px;
    margin: auto;
}

.formset-table select {
    width: auto;
    min-width: 100%;
}

.formset-table a.add-row {
    margin: 4px 0;
    font-size: 0.75em;
}

.kec-top-border {
    border-top: 2px solid lightgray;
}

th.work-header {
  padding: 4px;
}

td.work-content {
  padding-left: 16px;
  vertical-align: middle;
}

/****************************** 確認モーダル *******************************/
.kec-confirm-modal {
    height: 90vh !important;
}

.kec-confirm-modal-table {
    height: 90vh;
}

.kec-confirm-modal-table th {
    white-space: nowrap;
}

.kec-confirm-modal-table td {
    width: 100%;
}

.kec-confirm-modal-table tr.table-header th {
    width: 80vw;
}

.kec-confirm-modal .iziModal-content header {
    background-color: #bee5eb;
    padding: 10px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    width: 100%;
}

.kec-confirm-modal .iziModal-content .icon-close {
    background: #FFF;
    margin-bottom: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    color: #a9a9a9;
    cursor: pointer;
}


/****************************** アラート(画面上部のフラッシュメッセージ) ******************************/
.alert {
    padding: 8px 24px;
}

.alert button.close {
    padding: 6px 16px 8px 16px;
}

/* 警告ダイアログ */
.ui-widget-overlay {
    opacity: .5;
}

.ui-widget-header {
    background: white;
    border: 0;
}

/****************************** 削除確認ダイアログ ******************************/
#deleteConfirmDialog .modal-header {
    padding: 0 8px;
}

#deleteConfirmDialog .modal-header .close {
    padding-top: 0.8rem;
}

/****************************** 確認ダイアログ ******************************/
.kec-confirm-dialog-header {
    padding: 0 8px;
}

/****************************** 計上登録画面 *******************************/
.kec-modal-h80 {
    height: calc(80vh - 180px);
    min-height: 200px;
}