﻿/*報告一覧グリッドの幅*/

main {
    width: 100%;
}

div.detail-sheet {
    margin: 2% 6% 3% 6%;
}

table#tblList {
    width: 100%;
    table-layout: fixed;
}

tr.pi-header {
    border-bottom: double 4px;
    border-top: 1px solid;
    height: 34px;
}

div.detail-sheet thead, div.detail-sheet tbody {
    display: table;
    width: 100%;
}

    div.detail-sheet tbody tr td {
        word-break: break-all;
        border-bottom: 1px solid;
    }

/*タイトル*/
.titleArea {
    font-size: 12pt;
    text-align: center;
    margin-top: 0px !important;
    margin-bottom: 3px !important;
    padding: 0;
    font-family: "メイリオ", Open Sans;
}

/*件数表示エリア*/
div.cntArea {
    background-color: #555;
    color: #eff3f8;
    /*text-align: center !important;*/
}

table.cnt {
    margin-left: auto;
    margin-right: auto;
}

/*検索条件テキストボックスの幅*/
/*共通*/
td.left {
    text-align: left;
    height: 42px;
    min-width: 269px;
}

td.right {
    text-align: right;
    height: 42px;
    min-width: 100px;
    color: cornflowerblue;
    padding-right: 2px;
}

/*アップロードファイル名*/
.UplFileNm {
    width: 250px;
    min-width: 250px;
}

/*PR ID/SR No.*/
.PRID_SRNo {
    width: 200px;
    min-width: 200px;
}

/*管理番号*/
.IdenNo1 {
    width: 100px;
    min-width: 100px;
}

.IdenNo2 {
    width: 100px;
    min-width: 100px;
}

/*様式番号*/
.FormNoDropDownList {
    width: 170px;
    min-width: 170px;
}

/*提出状況*/
.SubmitStsDropDownList {
    width: 200px;
    min-width: 200px;
}

/*検索条件テキストボックスの幅*/
div#F_RPT010Id {
    text-align: center;
    margin-bottom: 20px;
}

serchform {
    margin-left: 500px;
}

.position {
    text-align: center;
}

input#searchPI {
    width: 370px;
    height: 30px;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    color: black;
    background-color: #fff;
    padding: 6px 4px;
    font-size: 13px;
    font-family: inherit;
    /*box-shadow: none !important;*/
    /*transition-duration: .1s width: 300px;*/
    margin-left: -5px;
    border: 1px solid #ccc;
}

div.detail-sheet table tbody tr td button i {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    font-size: 12px !important;
}

div.detail-sheet table tbody td {
    vertical-align: middle;
}

/*検索条件入力項目*/
.area-wide {
    /*width: -webkit-fill-available;*/
    width: 170px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

label.left {
    margin-bottom: 30px;
}

#upload-pdf-xlsx {
    padding: 15px;
    border: 2px solid black;
    border-radius: 8px;
    width: 680px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

#dropArea {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    border: 2px dashed #808080; 
    border-radius: 8px;
    background-color: #f9f9f9;
    height: 180px;
}

p.up-text {
    margin: 15px 5px 15px 5px;
    font-size: 15px;
}

input#fileInputDrop {
    margin-left: 200px;
    margin-top: 40px;
}

.upload-container {
    display: flex;
    margin-bottom: 20px;
    padding: 10px;
    /*border: 1px solid #ccc;
    border-radius: 4px;*/
    box-sizing: border-box;
    /*background-color: #f9f9f9;*/
    width: 470px;
    margin-left: 92px;
    height: 50px;
}


.custom-file-button {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #B0C4DE;
    /*color: white;*/
    border: 1px solid #555;
    border-radius: 4px;
    text-align: center;
    margin-top: 13px;
    width: 400px;
}

table#fileTable {
    /*display:none;*/
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead#table-head {
    background-color: #B0C4DE;
}

/*#fileTable th {
    #B0C4DE
}*/

#fileTable th, #fileTable td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}


.delete-icon {
    cursor: pointer;
    color: red;
    font-size: 18px;
}

input#upload-pdf-button {
    padding: 5px 40px;
    background-color: cornflowerblue;
    color: black;
    border: 1px solid #555;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 20px;
    height: 56px;
    width: 400px;
}

input#upload-pdf-xlsx-button {
    padding: 5px 5px;
    background-color: #AFEEEE !important;
    color: black !important;
    border: 1px solid #555;
    border-radius: 4px 4px 4px 4px;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 20px;
    margin-left: 77%;
    height: 36px;
    width: 150px;
}

.input-holder {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
}

.file-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.file-name-label {
    flex: 1;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    background-color: #f9f9f9;
    height: 25px;
}

.file-select-button {
    width: 143px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 25px;
    margin-bottom: 5px;
}

#err-message {
    width: 646px;
    height: 120px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
    margin: 0px;
    resize: none;
    overflow-y: auto;
}

.file-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

    .file-list li {
        margin-bottom: 10px;
    }

/*日付指定ログ出力*/
div#dateform {
    display: flex;
    align-items: center;
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

    div#dateform label {
        margin-bottom: 30px;
    }

    div#dateform .between {
        margin-right: 44px;
        margin-left: -38px;
        margin-top: 17px;
        width: 115px;
    }

p#bet {
    margin-top: 21px;
    margin-right: 41px;
    margin-left: -41px;
}

button#log-button {
    width: 110px;
    height: 45px;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #555;
    background-color: #9ACD32;
    margin-left: -28px;
}

button#excel-output {
    width: 110px;
    height: 45px;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #555;
    background-color: #9ACD32;
    margin-left: 54%;
}

button {
    padding: 5px 10px;
    cursor: pointer;
}
/*検索条件行高さ*/
table.single-sheet tbody tr td {
    height: auto;
}
/*検索条件欄の位置*/
table.single-sheet {
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
}

/*検索条件欄*/
th.position.result0, td.result0 {
    width: 6%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result1, td.result1 {
    width: 15%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result2, td.result2 {
    width: 15%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result3, td.result3 {
    width: 25%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result4, td.result4 {
    width: 25%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result5, td.result5 {
    width: 7%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

th.position.result6, td.result6 {
    width: 7%;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

.delete-button {
    background-color: transparent;
    border: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.result7 {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
    .result7 input[type="text"]{
        width: 100%;
    }
/*施設名*/
.result8 {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*返却ステータス*/
.result9 {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*輸送ステータス*/
.result10 {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*製品番号*/
.result11 {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*バージョン(ver)*/
.result12 {
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*ロット/シリアル*/
.result13 {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*AWB#*/
.result14 {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
/*BOX#*/
.result15 {
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

.result15body {
    font-size:20px !important;
}

/*運送会社*/
.result22 {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}
    .result22 input[type="text"] {
        width: 100%;
    }
/*極小*/
.result16 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

td.result16 {
    text-align: center;
}

/*小*/
.result17 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

td.result17 {
    text-align: center;
}

/*中*/
.result18 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

td.result18 {
    text-align: center;
}

/*大*/
.result19 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

td.result19 {
    text-align: center;
}

/*登録者*/
.result20 {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

/*出荷先*/
.result21 {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

.result21val {
    overflow:hidden;
}

/*RMA Status*/
.result22 {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

/*RMA Type*/
.result23 {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

/*CRM連携ステータス*/
.result24 {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
    padding: 2px 8px 2px 8px;
    min-height: 20px;
    height: 20px;
    vertical-align: middle;
}

/*アクション・アップロード・ダウンロード*/
.with-verticalline{
    border-left:1px solid black;
}
.margin-section{
    margin-bottom:70px;
}
.table-aligned1 {
    width: 460px;
    float: left;
}
.table-aligned2 {
    width: 490px;
    float: left;
}
.table-aligned3 {
    width: 370px;
    float: left;
}
.table-aligned4 {
    width: 200px;
    float: left;
}
.bold{
    font-weight: bold;
}

/*ファイルアップロードエリア*/
#F_RPT010-inputArea2 {
    margin-bottom: 0px !important;
}

/*アップロードファイル選択欄*/
.filepath {
    min-width: 450px;
    border: groove;
}

/*様式番号*/
.FormNoDropDownList_UpFile {
    width: 80px;
    min-width: 80px;
}

hr {
    margin-bottom: 0px !important;
}

/*登録日from-to用*/
input[type="date"].from-to {
    width: 45%;
}

div.from-to {
    text-align-last: justify;
}

.checkbox {
    display: -webkit-inline-box;
}

/* モーダルのスタイル */
.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%; /* モーダルの幅を設定 */
	max-width: 800px; /* 最大幅を設定 */
	height: 90%; /* モーダルの高さを設定 */
	max-height: 90vh; /* 最大高さを設定 */
	background: white;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow: auto;
}

/* モーダルのオーバーレイのスタイル */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

/* モーダル内のボタンのスタイル */
.modal button {
    position: absolute;
    bottom: 20px; /* ボタンをモーダルの下部に配置 */
    right: 20px; /* ボタンを右端に配置 */
}

/* PDF表示用のキャンバスのスタイル */
#pdfCanvas {
	width: 100%;
	height: auto;
	flex-shrink: 0;
}

/* モーダルが表示されているときのオーバーレイ表示 */
.overlay.show {
    display: block;
}

/* モーダルが表示されているときのモーダル表示 */
.modal.show {
	display: flex;
}

.modal-content {
	position: relative;
	width: 100%;
	max-width: 800px;
	height: 100%;
}

.hov-drop {
	background-color: #e1e7f0 !important;
}


/*レスポンシブ化*/
@media screen and (max-width:480px) {

    label {
        font-weight: normal
    }

    img.navbar-header-image1 {
        background-repeat: no-repeat;
        width: 100px;
        height: 30px;
        margin-bottom: 20px;
    }

    label#title1 {
        font-size: 16px;
        margin-left: 0px;
    }

    button.help-button {
        height: 30px;
        width: 87px;
        text-align: center;
        padding: 5px;
        background-color: dodgerblue;
        color: #FFF;
        font-size: 11px;
        cursor: default;
        margin-left: 75%;
        border-radius: 4px 4px 4px 4px;
        border: 1px solid #555;
    }

    .area-wide {
        width: 109px;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 3px 4px;
        height: 25px;
        font-size: 11px;
        margin-right: -1px;
    }

    div#F_RPT010Id {
        margin-top: 12px;
    }

    input#searchPI {
        width: 197px;
        height: 25px;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: black;
        background-color: #fff;
        border: 1px solid #9B9B9B;
        padding: 6px 4px;
        font-size: 13px;
        font-family: inherit;
        margin-left: -4px;
        border: 1px solid #ccc;
    }

    button.btn.btn-wide.btn-sm.btn-primary {
        height: 25px;
        width: 38px;
        margin-left: 75%;
        margin-left: -5px;
        margin-top: 0px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        overflow: hidden;
        padding: 0px;
        background-color: #ccc;
    }

    img.search-button {
        height: 19px;
    }

    #upload-pdf-xlsx {
        padding: 20px;
        border: 2px solid black;
        border-radius: 8px;
        width: 340px;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
    }

    #dropArea {
        text-align: center;
        margin-bottom: 20px;
        padding: 10px;
        border: 2px dashed #808080;
        border-radius: 8px;
        background-color: #f9f9f9;
        height: 140px;
    }

    p.up-text {
        margin: 10px 5px 10px 5px;
        font-size: 12px;
    }

    .custom-file-button {
        display: inline-block;
        padding: 6px 12px;
        cursor: pointer;
        background-color: #B0C4DE;
        border: 1px solid #555;
        border-radius: 4px;
        text-align: center;
        margin-top: 15px;
        width: 248px;
    }

    table#fileTable {
        border-collapse: collapse;
        margin-top: 15px;
        margin-bottom: 15px;
        height: 45px;
    }

    .file-container {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .file-name-label {
        flex: 1;
        border: 1px solid #ccc;
        padding: 5px;
        border-radius: 4px;
        background-color: #f9f9f9;
        height: 25px;
    }

    .file-select-button {
        width: 60px;
        border: 1px solid #ccc;
        border-radius: 4px;
        height: 25px;
        margin-bottom: 5px;
        font-size: 11px;
        margin-left: -1px;
    }

    #err-message {
        width: 296px;
        height: 80px;
        box-sizing: border-box;
        border-radius: 4px;
        border: 1px solid #ccc;
        padding: 10px;
        background-color: #f9f9f9;
        margin: 0px;
        resize: none;
        overflow-y: auto;
    }

    input#upload-pdf-xlsx-button {
        padding: 5px 40px;
        background-color: #AFEEEE;
        color: black;
        border: 1px solid #555;
        border-radius: 4px 4px 4px 4px;
        cursor: pointer;
        box-sizing: border-box;
        margin-top: 18px;
        margin-left: 188px;
        height: 30px;
        width: 108px;
        font-size: 11px;
    }

    div#dateform {
        align-items: center;
        margin-bottom: 40px;
    }

    button#log-button {
        width: 80px;
        height: 30px;
        border-radius: 4px 4px 4px 4px;
        border: 1px solid #555;
        background-color: #9ACD32;
        font-size: 11px;
        margin-top: 18px;
    }

    button#excel-output {
        margin-left: -80px;
        margin-bottom: -62px;
        width: 80px;
        height: 30px;
        border-radius: 4px 4px 4px 4px;
        border: 1px solid #555;
        background-color: #9ACD32;
        margin-top: 30px;
    }

    ul.pagination {
        margin-top: 8%;
    }

    div.detail-sheet {
        width: 100%;
        padding: 3px;
        margin: 0 auto 50px auto;
    }

    table#tblList {
        width: 100%;
        table-layout: fixed;
        white-space: normal;
        margin: 0 auto;
    }

    div.detail-sheet2 {
        margin: 0 auto 70px auto;
    }

    table#tblList2 {
        width: 350px;
        max-width: 480px;
        table-layout: fixed;
        white-space: normal;
        margin: 0 auto;
    }

    div.detail-sheet2 thead {
        font-size: 10px;
    }

    div.detail-sheet2 tbody {
        font-size: 10px;
    }

    div.detail-sheet thead {
        font-size: 10px;
    }

    div.detail-sheet tbody {
        font-size: 10px;
    }

    main {
        width: 100%;
        max-width: 480px;
    }

    * {
        float: none;
        position: static;
    }

    /*検索条件欄*/
    th.position.result0, td.result0 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 8%;
    }

    th.position.result1, td.result1 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 15%;
    }

    th.position.result2, td.result2 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 15%;
    }

    th.position.result3, td.result3 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 20%;
    }

    th.position.result4, td.result4 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 20%;
    }

    th.position.result5, td.result5 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 10%;
    }

    th.position.result6, td.result6 {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        width: 12%;
    }

    th.position, td.result {
        word-wrap: break-word;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
    }

    div.detail-sheet table tbody tr td button {
        width: 100%;
        padding: 1px 1px;
    }


        div.detail-sheet table tbody tr td button i {
            width: auto;
            min-width: 5px;
            max-width: 10px;
        }


    .fa {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        color:black;
    }
}
