.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

th[class^="sort"] {
    cursor: pointer;
}
th[class^="sort"] > .label-th {
    position:relative;
    cursor:pointer;
}
th[class^="sort"] > .label-th:before {
    content: '';
    position: absolute;
    z-index: auto;
    right: -10px;
    width: 0;
    height: 0;
    border: 4px dashed;
    border-color: #333 transparent;
    pointer-events: none;
    border-bottom-style: solid;
    border-top: none;
    top: 30%;
}
th[class^="sort"] > .label-th:after {
    content: '';
    position: absolute;
    z-index: auto;
    right: -10px;
    width: 0;
    height: 0;
    border: 4px dashed;
    border-color: #333 transparent;
    pointer-events: none;
    border-top-style: solid;
    border-bottom: none;
    bottom: 30%;
}
th[class^="sort"] > .order-asc:after{
    border: none;
}
th[class^="sort"] > .order-asc:before{
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
th[class^="sort"] > .order-desc:before{
    border: none;
}
th[class^="sort"] > .order-desc:after{
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.table-sm th.sort .label-th {
    margin-right: 0.7rem;
}
    
.fade:not(.show){
    display: none;
}

.badge {
    border-radius: 0;
}

.mw-300px {
    max-width: 300px;
}
@media (min-width: 768px) {
    .mw-md-300px {
        max-width: 300px;
    }
    .mw-md-150px {
        max-width: 150px;
    }
}

.loading-bg {
    background: #000;
    opacity: 0.4;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
}
.loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 70px;
    height: 70px;
    margin: auto;
    border: 10px solid rgba(255,255,255,0.4);
    border-top-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    animation: spin 0.7s linear 0s infinite;
}
.loading-dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 70px;
    height: 70px;
    margin: auto;
    border: 10px solid rgba(2, 2, 2, 0.38);
    border-top-color: rgba(0, 0, 0);
    border-radius: 50%;
    animation: spin 0.7s linear 0s infinite;
}

.loading_area-bg {
//    background: #000;
    opacity: 0.4;
    height: 100px;
    width: 100%;
    z-index: 10;
}
.loading_area {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-top: 25px;
    border: 10px solid rgba(0,0,0,0.4);
    border-top-color: rgba(0,0,0,0.9);
    border-radius: 50%;
    animation: spin 0.7s linear 0s infinite;
}

.loading_replace-bg *{
    display: none !important;
}
.loading_replace-bg .loading_replace {
    display: block !important;
    width: 30px;
    height: 30px;
    margin: auto;
    border: 4px solid rgba(0,0,0,0.4);
    border-top-color: rgba(0,0,0,0.9);
    border-radius: 50%;
    animation: spin 0.7s linear 0s infinite;
}
.table-success, .table-success>td, .table-success>th {
    background-color: #c3e6cb!important;
}
.alert-success {
    color: #155724;
    background-color: #d4edda!important;
    border-color: #c3e6cb!important;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da!important;
    border-color: #f5c6cb!important;
}
@media (min-width: 768px) {
    .product-image-box {
        max-width: 260px;
    }
    .product-image-box-min {
        max-width: 110px;
    }
}
.product-image {
    max-width: 250px;
    max-height: 250px
}
.product-image-min {
    max-width: 100px;
    max-height: 72px;
}

.bg-lightred {
    background: #fdeaea;
}
.bg-lightyellow {
    background: #fff8d5;
}

.mw-250px {
    
}
/*
.pdf-bg {
    background: #000;
    opacity: 1;
    height: 10%;
    width: 100%;
    margin: 2%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
}
.pdf-panel {
    position: absolute;
    top: 8px;
    right: 20px;
}
.pdf-panel #pdf-panel-close {
    border-radius: 15px;
}
.pdf-main {
    height: 100%;
    -webkit-overflow-scrolling: auto;
    overflow-scrolling: auto;
    overflow-y: scroll;
}
*/
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}

@media screen and (min-width: 768px) {   
    .border-md-0 {
        border: 0 !important;
    }
}

.input-ym {
    max-width: 90px !important;
}

.pnl_proc{
    display: inline-block;
    min-width: 160px;
    min-height: 5em;
    margin-left: 5px;
    padding: 4px;
    border: 1px solid white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}


.w-auto {
    width: auto;
}
@media (min-width: 768px){
    .w-md-auto {
        width: auto !important;
    }
}
@media (min-width: 576px){
    .w-sm-auto {
        width: auto !important;
    }
}

table.table-border-none ,
table.table-border-none tr,
table.table-border-none th,
table.table-border-none td,
table.table-border-none tbody,
table.table-border-none thead {
    border: 0;
}

.form-control-lg {
    height: 60px;
    text-align: center;
    line-height: 2.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    background: #fff;
}

.ui-datepicker-trigger {
    margin-bottom: 0px !important;
}

.balloon {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid #ccc;
  background-color: #fff;
  text-align: center;
  /*font-size: 20px;*/
    font-size: 1.25rem;
}
.balloon:before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 60%;
  margin-left: -10px;
  width: 0;
  height: 0;
  border-top: 15px solid #ccc;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}
.balloon:after {
  
  content: "";
  position: absolute;
  bottom: -14px;
  left: 60%;
  margin-left: -10px;
  width: 0;
  height: 0;
  border-top: 15px solid #fff;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}

table#searchlist tr {
    border-top: 1px solid #777;
}
table#searchlist td {
    padding-top: 2px;
    padding-bottom: 2px;
}
#searchlist tbody > tr:nth-child(2n) {
    background-color: rgba(0,0,0,.05);;
}
#prevpage,
#nextpage{
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

img.parts-img {
    max-height: 300px;
    max-width: 100%;
}

.font-size-25 {
    /*font-size: 25px;*/
    font-size: 1.5625rem;
}

.modal_image {
    cursor: pointer;
}

.complete-check-icon{
  display: none;
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
  color: #009a9a;
}
.complete-check-icon::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 3px solid #ff8888;
  border-radius: 20px;
}

.complete-check-icon::after{
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    left: 12px;
    width: 15px;
    height: 30px;
    transform: rotate(40deg);
    border-bottom: 5px solid #ff8888;
    border-right: 5px solid #ff8888;
}

tr.gyo-complete,li.gyo-complete{
    background: #ffdddd !important;
}
tr.gyo-complete .gyo-complete-button,
li.gyo-complete .gyo-complete-button {
    display: none;
}
tr.gyo-complete .complete-check-icon,
li.gyo-complete .complete-check-icon {
    display: inline;
}
.loc_target {
    background-color: #ffcc2a !important;
}

.modal_link {
    cursor: pointer !important; /* iso対策：pointerに指定していないとonclickが反応しない */
}

.link_style{
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.link_style:hover{
        color: #0056b3;
        text-decoration: underline;
}

@media (min-width: 1200px) {
    .modal-lg-custom {
        max-width: 85%;
    }
}

.modal-procp {
    height: 95%;
}
@media (max-width: 768px) {
    .modal-procp {
        height: 100%;
        padding: 0px !important;
    }
    .modal-procp .modal-dialog {
        margin: 0;
        max-width: 100% !important;
        widows: 100% !important;
    }
}

.title-header-sticky {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}


.border-box {
    position: relative;
    margin: 0.5rem;
    padding: 1em;
    border: solid 3px #000;
    border-radius: 8px;
}
.border-box .border-box-title {
    position: absolute;
    display: inline-block;
    top: -8px;
    left: 10px;
    background: #fff;
    padding: 0 9px;
    line-height: 1;
    /*font-size: 14px;*/
    font-size: 0.875rem;
    font-weight: bold;
}
.border-box-top {
    position: relative;
    margin: 0.5rem;
    padding: 1em;
    border-top: solid 3px #000;
    border-radius: 0;
}
.border-box-top .border-box-title {
    position: absolute;
    display: inline-block;
    top: -10px;
    left: 10px;
    background: #fff;
    padding: 0 9px;
    line-height: 1;
    /*font-size: 16px;*/
    font-size: 1rem;
    font-weight: bold;
}

.border-box-table {
    position: relative;
    margin: 0.5rem 0;
    padding: 1em;
    border: solid 1px #000;
    border-radius: 8px;
    background: #fff;
}
.border-box-table .border-box-title {
    position: absolute;
    display: inline-block;
    top: -8px;
    left: 10px;
    background: #fff;
    padding: 0 9px;
    line-height: 1;
    /*font-size: 14px;*/
    /*font-size: 1rem;*/
    /*font-weight: bold;*/
}
.border-box-table-body.assy-detail{
    max-height: 666px;
    overflow-y: auto;
}
.border-box-table .box-row {
    border-top: 1px dashed #333;
    padding-top: 0.5rem;
}
.border-box-table .box-row:first-of-type {
    padding-top: 0;
    border-top: none;
}

@media screen and (max-width: 575px) {
    .assy-row {
        flex-wrap: wrap;
    }
    .assy-row-checkno {
        width: 100%;
    }
    .border-box-table-body.assy-detail{
        max-height: 900px;
        overflow-y: auto;
    }
}

/*タブレット表示非表示設定*/
@media (min-width: 1281px) {
    .d-tablet-visible {
        display: none;
    }
}
@media (max-width: 1280px) {
    .d-tablet-none {
        display: none;   
    }
}

img.thumbnail {
    cursor: pointer;
}

div.scanner-add {
    position: relative;
}
div.scanner-add .scanner_btn_custom {
    position: absolute;
    width: 3em;
    background-image: url(../../../images/scanner/cam.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2em 2em;
    position: absolute;
    top: 0;
    right: 0;
}

.comment {
    display: block;
    border: 1px solid #999;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 5px;
}

@media screen and (max-width: 575px) {
    .small-sp {
        font-size: 80%;
        font-weight: 400;
    }
}

#rfid-scanner-btn {
    position: fixed; 
    bottom: 2em; 
    right: 2em;
    width: 4em;
    height: 4em;
    border-radius: 4em;
    background-image: url('../../../images/scanner/RFID.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2em 2em;
}

#rfid-scanner-btn-custom {
    background-image: url('../../../images/scanner/RFID.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2em 2em;
    width: 3rem;
}

.form-kno {
    width: 80px;
}
.form-control-sm.form-piece {
    width: 75px;
    text-align: right;
}
.form-control.form-piece {
    width: 85px;
    text-align: right;
}

@media print{
    body {
        -webkit-print-color-adjust: exact !important;
    }
}

/* 検索条件のボタン */
@media (max-width: 576px) {
    /* ラベルの後で改行 */
    #search-group .form-group label {
        display: block;
        width: fit-content;
    }
    /* 幅を設定 */
    #search-group .form-group .form-control.datepicker {
        display: inline-block;
        width: 6.7rem;
    }
    /* 検索条件とボタンで幅一杯 */
    #search-group .form-group .form-control.seccd_pulldown_modal {
        display: inline-block;
        width: calc(100% - 26.41px);
    }
}


/* コメント機能 */

/* コメント一覧の幅 */
.cmt_info_list {
    width: 20rem;
}

/* ダイアログのコメントの高さ */
#cmt-dialog .modal-body {
    max-height: 100%;
    overflow-y: auto;
}

/* ダイアログの高さ */
#cmt-dialog .modal-content {
    height: calc(100vh - 1.0rem);
}
@media (min-width: 576px) {
    #cmt-dialog .modal-content {
        height: calc(100vh - 3.5rem);
    }
}


/* ヘッダのメニュー */

/* ホバー */
#header-dropdown .dropdown-item:hover {
    color: inherit;
    background: inherit;
}

/* フォーカス */
#header-dropdown .dropdown-item:focus {
    color: #ffffff;
    background-color: #6c757d;
}


/* テーブルのスティッキーヘッダ */

/* ヘッダ */
.sticky table thead tr th {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

/* ボーダー */
.sticky table {
    border-collapse: separate;
    border-spacing: 0;
}

.number_of_data{
    position: relative;
    display: inline-block;
}

.number_of_data .number_badge{
    position: absolute;
    border-radius: 6px;
    top: -5px;
    right: -5px;
}

.form_check_item {
    padding: 0.5rem;
    list-style: none;
    position: relative;
    z-index: 1;
    margin: 0;
}
.form_checkbox_item {
    display: inline-block;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    top: 0;
    position: absolute;
    left: 0;
    opacity: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
.form_check_item_label{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
/*    min-height: 6.23529rem;*/
    padding: 0;
    text-align: center;
    border: 1px solid #d6d6d6;
    box-sizing: border-box;
    border-spacing: 0;
    overflow: hidden;
    cursor: pointer;
    background-color: hsla(0,0%,100%,.8);
    flex-direction: column;
    border-radius: 4px;
}
.form_label{
    padding: 10px 12px;
}
.form_checkbox_item:checked ~ .form_check_item_label{
    border: 3px solid #0070c9 !important;
}
.form_checkbox_item:checked ~ .form_check_item_label .form_label{
    padding: 8px 10px;
}
.form_check_item_label .form_label {
    cursor: pointer;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
    text-indent: 0;
    display: block;
    position: relative;
    vertical-align: top;
}

.form_check_item:hover .form_check_item_label {
    border-color: #888;
}
.form_check_thmbnail {
    width: 100%;
    height: 60px;
}
.form_check_thmbnail_label {
    font-weight: 400;
}
 
.form-group-row .form-group-label {
    font-weight: 900;
}
@media screen and (max-width: 575px) {
    .form-group-row .form-group-label {
        margin-bottom: 0;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .form-group-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .form-group-row .form-group-label,
    .form-group-row .form-group-input {
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .form-group-row {
        display: inline-block;
        margin-right: .5rem!important;
    }
    .form-group-row .form-group-label,
    .form-group-row .form-group-input {
        display: inline-block;
        vertical-align: top;
	line-height: 36px;
    }
    .form-group-row .form-group-label {
     
    }
    
    .modal-tablet .form-group-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .modal-tablet .form-group-row .form-group-label,
    .modal-tablet .form-group-row .form-group-input {
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
    .modal-tablet .form-group-row .form-group-label,
    .modal-tablet .form-group-row .form-group-input {
        display: inline-block;
        vertical-align: top;
        line-height: normal;
    }
}

.partsset_img {
    text-align: center;
    max-width: 80px;
    height: 50px;
    padding: 2px;
    display: flex;
    border: 1px solid #999;
}
.partsset_img img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}
.partsset_label {
    overflow: hidden;
}
.partsset_label .partsset_partsname {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 992px) {

    .partsset_img {
        height: 21px;
    }
    .partsset_label div{
        display: inline-block;
    }
    .partsset_img.detail {
        height: 50px;
    }
    .partsset_label.detail div{
        display: block;
    }
}

/* ヘッダ */
ul.sticky li.li-head {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

@media (min-width: 321px) {
    .ip5-viwe {
        display: none !important;
    }
}
@media (max-width: 320px) {
    .ip5-none {
        display: none !important;
    }
}

#qrcode_btn {
    position: fixed; 
    bottom: 2em; 
    right: 2em;
    width: 4em;
    height: 4em;
    border-radius: 4em;
    background-image: url('../../../images/qrcode/qrcode.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2.5rem;
    z-index: 2;
    cursor: pointer;
}

.qrcode_btn_custom {
    background-image: url('../../../images/qrcode/qrcode.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center, center;
    width: 3rem;
}

/* ページ内検索 */
.search-highlight {
    background-color: yellow;
}
.search-curt-highlight {
    background-color: orange;
}

.file_photo_preview {
    height: 180px;
    width: 100%;
}