a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}


html, body {
    height: 100%;
    /*親要素の高さを最大化*/
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/*サイドバーのスタイル*/
#sidebar {
    z-index: 10 !important;
    background: #7386D5;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
    position: fixed;
    height: 100%;
}

#sidebarCollapse {
    box-shadow: none;
    width: 36px;
    margin-right: auto;
    top: 0;
    display: block;
    box-sizing: content-box;
    padding: 0;
    padding-top: 18px;
    padding-right: .75rem;
    padding-bottom: 30px;
    padding-left: .75rem;
    -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    border: 0;
    outline: 0;
    background-color: transparent;
}

.sidemenu-icon,
.sidemenu-icon:before,
.sidemenu-icon:after {
    background-color: #fff;
}
/*サイドバー非表示状態*/
#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

/*ボディのスタイル*/
#main-view {
    margin-left: 16.6667% !important;
    transition: all 0.6s;
    transition-delay: 0s;
}
    /*サイドバー非表示状態*/
    #main-view.drawer-close {
        margin-left: 0 !important;
        transition-delay: 0.3s;
    }

/*レスポンシブ対応表示*/
@media screen and (Max-width:768px) {
    #sidebar {
        width: 100%;
        height: auto;
        position: fixed;
    }

        #sidebar.active {
            width: 0;
        }

    #sidebarCollapse.active {
        position: relative;
    }

    #main-view {
        margin-left: 0 !important;
    }
}

/* remarks style
-------------------------------------------------- */
textarea.remarks {
    resize: none;
    height: calc( 1.3em * 2 ); /* ２行 */
    line-height: 1.3;
}

textarea.table-row-remarks {
    resize: none;
}

textarea.non-resize {
    resize: none;
}

.qr-read {
    background-color: lightgreen;
    max-width: 180px;
    min-width: 180px;
}

.material-qr-read {
    background-color: lightgreen;
}


.spinner_area input[type="number"] {
    text-align: right;
    min-width: 50px;
    max-width: 60px;
}
    /*WebKit ブラウザで、input type="number" のスピンボタンを非表示にする。*/
    .spinner_area input[type="number"]::-webkit-outer-spin-button,
    .spinner_area input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        appearance: none;
        -moz-appearance: textfield;
        margin: 0;
    }

.spinner_area .btnspinner {
    max-width: 40px;
    min-width: 40px;
}

.spinner_none::-webkit-outer-spin-button,
.spinner_none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

.modal-dialog-fluid {
    max-width: inherit;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

thead input[type="search"] {
    padding-right: 0px;
}

/*データリスト表示Input*/
input.datalist_disp {
    padding-right: 0px;
}

/*入力必須項目ヘッダー,入力必須項目*/
.required-column-header,
.required-item {
    background-color: #17b8a2;
}

.required-item {
    color: white;
}

/*テーブル選択行*/
tr.selected {
    background-color: rgba(255, 100, 100, 0.2);
}
/*テーブル選択行*/
tr.selected-drag {
    background-color: rgba(255, 100, 100, 0.2);
}


/*テーブル削除行*/
tr.delrow {
    display: none;
}

/*テーブルヘッダー*/
.Data-Table-Header {
    z-index: 5;
}

    .Data-Table-Header::after {
        content: "";
        position: absolute;
        background: #dee2e6;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: #dee2e6 2px solid;
        z-index: -1;
        transform: translateY(-1px);
    }

    .Data-Table-Header tr {
        background-color: #17a2b8;
    }


/* Disabledのボタンにツールチップを表示する為の設定*/
.button-wrapper {
    /* wrapper の幅を内包する要素に合わせる。 */
    display: inline-block;
}

    .button-wrapper .btn:disabled {
        /* マウスをホバーした際のイベント伝搬を止めないようにする。 */
        pointer-events: none;
    }

/* 処理中(画面全体)表示 */
.processing-whole {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #EEEEEE;
    opacity: 0.8;
    z-index: 99999999;
}

    .processing-whole .processing-whole-msg {
        padding-top: 5px;
        color: black;
    }

/* divタグをテーブルのように見せる */
.table {
    display: table;
}

/* 上下中央に寄せる */
.vertical-middle {
    display: table-cell;
    vertical-align: middle;
}

/* datepickerの読取専用時の背景色 */
.form-datetimePicker[readonly] {
    background-color: white;
}

/* 入力エラー時のスタイル */
input.inputErr {
    border-color: red;
    background-color: #FFBBBB;
}

    /* 入力エラー時のスタイル
   (フォーカス)
*/
    input.inputErr:focus {
        border-color: red;
        background-color: #FFBBBB;
    }

.material-column button,
.material-column div:last-child {
    padding: 0 0.25em 0 0.25em !important;
    width: 1.5em !important;
}

/* アイコンボタン(アイコンサイズ1.5倍)*/
.icon-button15 {
    padding: 0.2875rem 0.5625rem;
}

    .icon-button15 svg {
        font-size: 1.5rem;
    }

/*注文入力画面一覧タブの明細行*/
.detailrows table {
    /*    background-color: #999;
    color: white;*/
    transition: none;
    table-layout: fixed;
}

    .detailrows table th {
        background-color: rgba(170,170,170,1);
        color: white;
        font-weight: normal;
    }

/*選択時の明細行*/
.selected-detail {
    background-color: rgba(255, 100, 100, 0.2);
}

    /*.selected-detail table {
    background-color: #A99;
}*/

    .selected-detail table th {
        background-color: rgba(185,170,170,1);
    }

.selected-detail-drag {
    background-color: rgba(255, 100, 100, 0.2);
}

    .selected-detail-drag table th {
        background-color: rgba(185,170,170,1);
    }

/**
    チェックボックス未確定(:indeterminate)背景色
*/
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    opacity: 1;
    background-color: gray;
    border-color: darkgray;
}

/*テーブル削除行*/
td .merged-cell {
    display: none;
}

tr.reservedrow {
    background-color: #6c757dad !important;
}

.item-title {
    background-color: #17a2b8 !important;
    color: #FFFFFF !important;
}

td.holidayColor {
    background-color: #007bff1f !important;
}

/* 金型在庫表示用 */
td.green {
    background-color: #14e57b21 !important;
}
td.yellow {
    background-color: #fff4071f !important;
}
td.ocher {
    background-color: #ffc1074a !important;
}
td.blue {
    background-color: #007bff14 !important;
}