/*version=1.00*/
/* Log here
//2020/09/11   
// CSV設定画面のスタイル */

.table-container {
    position: relative;
    table-layout: fixed;
    height: calc(100vh - 310px);
    min-height: 245px;
    width: 100%;
}

.scroll-table {
    /* width: 300px; */
    overflow-x: auto;
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
}

.scroll-table>thead,
.scroll-table>tbody {
    display: block;
    width: 100%;
}

.scroll-table>tbody {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 353px);
    min-height: 130px;
}

.scroll-table-autoshow>tbody {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 600px);
    min-height: 130px;
}

.scroll-table>tbody>tr>td {
    padding: 5px;
    width: 100%;
    /* text-align: center; */
}

.scroll-table>tbody>tr {
    display: table !important;
    width: 100%;
}

.scroll-table>thead>tr {
    display: table !important;
    width: 100%;
}

.scroll-table-autoshow>tbody>tr>td:nth-child(1),
.scroll-table-autoshow>thead>tr>th:nth-child(1) {
    width: 5%;
    text-align: center;
}

.scroll-table-autoshow>tbody>tr>td:nth-child(2),
.scroll-table-autoshow>thead>tr>th:nth-child(2) {
    width: 10%;
    text-align: center;
}

.scroll-table-autoshow>tbody>tr>td:nth-child(3),
.scroll-table-autoshow>thead>tr>th:nth-child(3) {
    width: 85%;
}


.scroll-table-default>tbody>tr>td:nth-child(1),
.scroll-table-default>thead>tr>th:nth-child(1) {
    width: 5%;
    text-align: center;
}

.scroll-table-default>tbody>tr>td:nth-child(2),
.scroll-table-default>thead>tr>th:nth-child(2) {
    width: 15%;
    text-align: center;
}

.scroll-table-default>tbody>tr>td:nth-child(3),
.scroll-table-default>thead>tr>th:nth-child(3) {
    width: 50%;
}

.scroll-table-default>tbody>tr>td:nth-child(4),
.scroll-table-default>thead>tr>th:nth-child(4) {
    width: 30%;
    text-align: center;
}

.scroll-table>thead>tr>th {
    text-align: center;
    background: #399cb4;
    color: white;
    height: 2.5em;
    font-size: 16px;

}

.scroll-table>tbody>tr:nth-child(even) {
    background: gainsboro;
}

.lastcol {
    padding-right: 15px;
}

select {
    width: 100%;
}

.scroll-table>tbody>tr:hover {
    background-color: #c4effa;
}

/* Style tab links */
.tablink {
    background-color: #ddd;
    /* color: blue; */
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
}

.tablink:hover {
    background-color: #777;
}

/* Style the tab */
.tab {
    display: flex;
    flex-wrap: wrap;
    margin: 5px 0;
    /* padding-bottom: 1px; */
}

/* Style the buttons inside the tab */
.tab button {
    color: White;
    background: rgba(0,0,0,.65);
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    white-space: nowrap;
    text-align: center;
    padding: 10px .5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
    border-radius: 5px 5px 0 0;
    outline: none;
    flex: 1;
}

.tab button:not(:last-of-type) {
    margin-right: 5px;
  }

/* Change background color of buttons on hover */
.tab button:hover {
    background: #999;
    color: #007bff;
}

/* Create an active/current tablink class */
.tab button.active {
    background: #ccc;
    color: #007bff;
}

/* Style the tab content */
.tabcontent {
    display: none;
    /* padding: 6px 12px; */
    border: 1px solid #ccc;
    border-top: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}


#UploadImg:disabled, #clearImg:disabled{
    background-color: #ccc;
    border: 1px solid #999;
    cursor: not-allowed;
}

#picture__input {
    display: none;
}

#idUpload {
    overflow-y: hidden;
}

.picture {
position: relative;
width: 200px;
height: 95px;
background: #ddd;
display: flex;
align-items: center;
justify-content: center;
color: #aaa;
border: 2px dashed currentcolor;
cursor: pointer;
font-family: sans-serif;
transition: color 300ms ease-in-out, background 300ms ease-in-out;
outline: none;
overflow: hidden;
}

.picture:active {
border-color: turquoise;
color: turquoise;
background: #eee;
}

.picture:focus {
color: #777;
background: #ccc;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.picture__img {
max-width: 100%;
}

.picture:hover .picture__img {
opacity: 0.8; /* Apply opacity to the image on picture hover */
}

.hidden-icon {
position: absolute;
display: none;
opacity: 1; /* Initially fully visible */
}

.picture:hover .hidden-icon {
display: flex;
align-items: center;
justify-content: center;
color: #aaa;
cursor: pointer;
}

/* .image-container {
    position: relative;
    margin-top: 10px; 
}

.delete-icon {
    position: absolute;
    top: -10px;
    right: 0;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
} */

@media only screen and (min-width: 990px) and (max-width: 1060px) {
    .table-container {
        position: relative;
        table-layout: fixed;
        height: calc(100vh - 350px);
        min-height: 245px;
        width: 100%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1750px){
    .col-pickupsetting-custom {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .table-container {
        position: relative;
        table-layout: fixed;
        height: calc(100vh - 350px);
        min-height: 245px;
        width: 100%;
    }
}