body {
    font-size: 14px;
}

.invalid-feedback {
    font-size: 14px;
}

.form-control {
    font-size: 14px;
}

.has-error .select2-selection {
    border-color: rgb(185, 74, 72) !important;
}

select.erase-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.nav-tabs {
    border-bottom: none;
}
.nav-tabs .nav-link{
    color: #777;
    text-decoration: none;
    background-color: transparent;
    font-size: 1.25rem;
    padding: 0.5rem 1.25rem;
}
@media screen and (max-width: 768px) {
    .nav-tabs .nav-link{
        padding: 0.5rem 0.7rem;
    }
}
.main-footer {
    padding: 0.5rem 1rem;
}
footer .left-col {
    float: left;
    text-align: left;
}
footer .right-col {
    float: right;
    text-align: right;
}

.text-error {
    color: #dc3545!important;
}
.text-link {
    color: #343a40;
    text-decoration: underline;
}
.text-underline {
    text-decoration: underline;
}
.text-15rem {
    font-size: 1.5rem;
}

.row-disabled {
    background-color: #d2d2d2;
}
.row-error {
    background-color: #ffc5cb;
}
.row-warning {
    background-color: #f9f5aa;
}
.row-success {
    background-color: #caf3d0;
}

.custom-file-input {
    height: 100%;
}
.custom-file-input.form-control:disabled {
    opacity: 0;
}

.approval-list th {
    width: 20%;
}
.approval-list th.type,
.approval-list th.state
{
    width: 10%;
}

/* ie対応 */
select.erase-arrow::-ms-expand {
  display: none;
}

/* 書類一覧 */
.document-index .form-group.row span{
    line-height: 30px;
}
.document-index .form-control.amount-from,
.document-index .form-control.amount-to{
    display: inline-block;
    width: 94%;
    margin-bottom: 10px
}

/* 書類登録 */
.document-edit .small-container {
    margin-right: -30px;
}
.document-edit .small-box {
    margin-right: 30px;
    text-align: center;
}
.document-edit .small-box h3{
    font-size: 1.2rem;
    margin: 10px 0;
}
.document-edit .small-box .icon > i {
    top: 6px;
    right: -36px;
    font-size: 50px;
}
.document-edit .form-check {
    display: inline-block;
    margin-right: 30px;
}
.document-edit .custom-file {
    height: calc(4.25rem + 2px);
    margin-bottom: 3px;
}
.document-edit .custom-file-label {
    height: calc(4.25rem + 2px);
    line-height: 3.5rem;
}
.document-edit .custom-file-label::after {
    content: "ファイル選択";
    height: 4.25rem;
    line-height: 3.5rem;
}
@media (max-width: 992px) {
    .document-edit .small-box {
        margin-bottom: 30px;
    }
    .document-edit .small-box > .inner {
        padding: 4px;
    }
    .document-edit .small-box .icon{
        display: block;
    }
    .document-edit .small-box .icon > i {
        top: 41px;
        right: calc(50% - 12px);
        font-size: 50px;
    }
    .document-edit .small-box .icon > i.fa-angle-right:before {
        content: "\f107";
    }
}

/* PDFプレビュー */
.img_preview{
    max-height: 800px;
    overflow: scroll;
}
.document_preview{
    max-height: 1024px;
    overflow: scroll;
}

/* 書類CSV一括登録 */
.temp-document-index table td.preview-col {
    text-align: center;
    vertical-align: middle;
}
.temp-document-index .fa-info-circle {
    color: #ffffff;
    font-size: 0.8rem;
    opacity: 0.8;
}
.temp-document-index table td.preview-col i {
    font-size: 1.5rem;
}
.temp-document .custom-file,
.csv-upload .custom-file {
    height: calc(4.25rem + 2px);
    margin-bottom: 3px;
}
.temp-document .custom-file-label,
.csv-upload .custom-file-label {
    height: calc(4.25rem + 2px);
    line-height: 3.5rem;
}
.temp-document .custom-file-label::after,
.csv-upload .custom-file-label::after {
    content: "ファイル選択";
    height: 4.25rem;
    line-height: 3.5rem;
}

/* bootstrap tooltip */
.bs-tooltip-top .arrow::before {
    border-top-color: #dc3545;
}
.tooltip-inner {
    background-color: #dc3545;
}

/* csvアップロード注意事項 */
.task-alert-area {
    background-color: #ffbec1;
    border:1px solid #dc3545;
}
.task-alert-area h6 {
    font-weight: bold;
}
.task-alert-area .task-alert-detail ul {
    margin-bottom: 0;
    list-style: none;
    margin-block-start: 0.25em;
    padding-inline-start: 10px;
}
.task-alert-area .task-alert-detail ul li{
    margin-right: 20px;
}

/* タスクキュー結果表示用 */
.task-result-area {
    background-color: #fff6de;
    border:1px solid #ffc107;
}
.task-result-area h6 {
    font-weight: bold;
}
.task-result-area .task-process-time span {
    font-size: 0.9rem;
    margin-right: 20px;
}
.task-result-area .task-result-detail p {
    margin-bottom: 0.25rem;
}
.task-result-area .task-result-detail span {
    font-size: 1rem;
    margin-right: 20px;
}
.task-result-area .task-result-detail ul {
    margin-bottom: 0;
    list-style: none;
    margin-block-start: 0.25em;
    padding-inline-start: 10px;
}
.task-result-area .task-result-detail ul li{
    margin-right: 20px;
}
.task-result-area .task-result-detail .error-message{
    font-size: 0.9rem;
}
.task-result-area .task-result-detail .error-message span{
    font-size: 0.9rem;
    text-decoration: underline;
}

/* 電子契約詳細用 */
.econtract-detail h4,
.econtract-detail h5,
.econtract-detail h6{
    font-weight: bold;
}
.econtract-detail table{
    border: 1px solid rgba(0,0,0,.1);
}
.econtract-detail table tr{
    border: 1px solid rgba(0,0,0,.1);
}
.econtract-detail table tr th,
.econtract-detail table tr td{
    border-right: 1px solid rgba(0,0,0,.1);
    padding: 10px 10px;
}
.econtract-detail table tr th{
    background-color: #f4f6f9;
}
.econtract-detail table tr td{
    text-align: left;
}
.econtract-detail {
    padding: 15px;
}
.econtract-detail h4{
    text-align: left;
}
.econtract-detail .btn-download{
    position: absolute;
    top: 0;
    right: 0;
}
.econtract-detail ul.preview-attributes {
    padding-right: 20px;
    padding-left: 0;
}
.econtract-detail ul.preview-attributes li{
    padding: 15px 0 30px 0;
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-inline-start: 0;
    list-style-type: none;
    line-height: 1rem;
}
.econtract-detail ul.preview-attributes li:first-child{
    border-top: 1px solid rgba(0,0,0,.1);
}
.econtract-detail .md-pdf-view{
    min-height: 606px;
}
.econtract-detail .action-buttons form{
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .econtract-detail {
        padding: 0;
    }
    .econtract-detail ul.preview-attributes {
        padding-right: 0;
        padding-left: 0;
    }
    .econtract-detail .btn-download{
        position: relative;
        float: right;
    }
    .econtract-detail .md-pdf-view{
        height: 500px;
    }
}

/* remodal用 */
.remodal-container h4,
.remodal-container h5,
.remodal-container h6{
    font-weight: bold;
}
.remodal-container table{
    border: 1px solid rgba(0,0,0,.1);
}
.remodal-container table tr{
    border: 1px solid rgba(0,0,0,.1);
}
.remodal-container table tr th,
.remodal-container table tr td{
    border-right: 1px solid rgba(0,0,0,.1);
    padding: 10px 10px;
}
.remodal-container table tr th{
    background-color: #f4f6f9;
}
.remodal-container table tr td{
    text-align: left;
}
.remodal-container {
    padding: 15px;
}
.remodal-container h4{
    text-align: left;
}
.remodal-container .btn-download{
    position: absolute;
    top: 0;
    right: 0;
}
.remodal-container ul.preview-attributes {
    padding-right: 20px;
    padding-left: 0;
 }
.remodal-container ul.preview-attributes li{
    padding: 15px 0 30px 0;
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-inline-start: 0;
    list-style-type: none;
    line-height: 1rem;
}
.remodal-container ul.preview-attributes li:first-child{
    border-top: 1px solid rgba(0,0,0,.1);
}
.remodal-container .md-pdf-view{
    min-height: 606px;
}
.remodal-container .action-buttons form{
    display: inline-block;
}
.remodal-container .download-area {
    position: absolute;
    right: 0;
    top: -60px;
}
@media screen and (max-width: 768px) {
    .remodal {
        padding: 35px 20px 35px 20px;
    }
    .remodal-container {
        padding: 0;
    }
    .remodal-container ul.preview-attributes {
        padding-right: 0;
        padding-left: 0;
    }
    .remodal-container .btn-download{
        position: relative;
        float: right;
    }
    .remodal-container .md-pdf-view{
        height: 500px;
    }
    .remodal-container .download-area {
        position: initial;
    }
}

/* フォルダツリー用 */
.tree-area ul, .folder_tree_area ul {
  list-style-type: none;
  padding-inline-start: 15px;
}

.button-area .edit-button, li.reaf > li, li.contract > ul {
    display: none;
}
li.expand > ul {
    display: block;
}

.tree {
    position: relative;
    background: white;
    padding: 10px 10px;

    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

.folder_tree_area .tree {
    font-size: 1rem;
}

.tree .fa-folder-plus, .tree .fa-folder-minus,
.tree .fa-folder, .tree .fa-folder-open,
.tree .fa-minus-square, .tree .fa-plus-square, .tree .fa-square,
.tree ul a, .folder_name, .tree .organizer_name
{
    cursor: pointer;
}

.tree .fa-folder-plus, .tree .fa-folder-minus,
.tree .fa-folder, .tree .fa-folder-open
{
    color: #007bff;
}

.tree-area .tree ul {
    padding-left: 10px;
    list-style: none;
}
.tree-area .tree ul li {
    position: relative;
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 22px;
    box-sizing: border-box;
}
.tree-area .tree ul li i{
    color: #343a40;
    margin-right: 3px;
}
.tree-area .tree ul li:before {
    position: absolute;
    top: 22px;
    left: 0px;
    width: 17px;
    height: 1px;
    margin: auto;
    content: '';
    background-color: #666;
}
.tree-area .tree ul li:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0px;
    width: 1px;
    height: 100%;
    content: '';
    background-color: #666;
}
.tree-area .tree ul li:last-child:after {
    height: 22px;
}

.folder_tree_area .tree ul {
    padding-left: 10px;
    list-style: none;
}
.folder_tree_area .tree ul li {
    position: relative;
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 22px;
    box-sizing: border-box;
}
.folder_tree_area .tree ul li:before {
    position: absolute;
    top: 20px;
    left: -3px;
    width: 20px;
    height: 1px;
    margin: auto;
    content: '';
    background-color: #666;
}
.folder_tree_area .tree ul li:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -3px;
    width: 1px;
    height: 100%;
    content: '';
    background-color: #666;
}
.folder_tree_area .tree ul li:last-child:after {
    height: 20px;
}

.tree ul a:hover {
    text-decoration: none;
}

.tree-area, .folder_tree_area {
    white-space:nowrap;
    overflow-x:scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.edit-eria {
    padding: 0;
}

.input-area .all-disabled, .input-area .input-data, .edit-eria .disabled {
    pointer-events: none;
}

.input-area, .input-area .all-disabled, .input-area .input-data, .edit-eria .parent-folder,
.edit-eria .parent-organizer {
    background: #f2f2f2;
}

select.js-parent-folder-name{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.folder_tree_area .folder_name {
    color: #000;
}

.policy-unit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    font-size: 24px;
}

.folder_tree_area .cannot-access {
    cursor: not-allowed;
}

.list-editor .invalid-feedback {
    font-size: 12px;
}
.list-editor .disabled {
    background-color: #e9ecef;
}

#pdf-canvas {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.2);
    box-sizing: border-box;
}
#fabric-canvas {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.2);
    box-sizing: border-box;
    overflow: hidden;
    margin-top:1px;
    margin-left:1px;
}
#canvas-div {
    position: relative;
}
#ajax_upload_multi_files .custom-file {
    margin-bottom: 10px;
}
#ajax_upload_multi_files .custom-file-input {
    width: 80%;
    float: left;
    display: inline-block;
}
#ajax_upload_multi_files .custom-file-label {
    width: 82%;
    display: inline-block;
}
#ajax_upload_multi_files .custom-file .btn-delete-file {
    margin-left: 10px;
    display: inline-block;
}
