
/*
 * サイドバー
 */

.sidebar {
    position: fixed;
    top: 54.219px;
    bottom: 0;
    left: 0;
    z-index: 100; /* ナビゲーションバーの背面 */
    padding: 48px 0 0; /* ナビゲーションバーの高さ */
    height: calc(100% - 54.219px);
    background: #265fa9;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}
.sidebar .nav-link{
    font-size: 16px;
    color: #fff;
    padding: 20px;
}
.sidebar .nav-link svg{
    margin-right: 10px;
}
.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}
.sidebar .nav-link.active,
.sidebar .dropdown-menu {
    background: #357cbd;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}
.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}
.sidebar .dropdown:hover .dropdown-menu {
    display: block;
}
.sidebar .dropdown-menu{
    border: 0;
    border-radius: 0;
    padding: 0;
}
.sidebar .dropdown-menu .dropdown-item a{
    font-size: 16px;
    padding: 15px;
    width: 100%;
    color: #FFF;
    display: block;
}

/*
 * 作業伝票明細
 */
#basic-information .table1{
    box-sizing: border-box;
    width: 30%;
    border-left: 1px solid #dee2e6;
}
#basic-information .table2{
    width: 35%;
}
#basic-information .table3{
    box-sizing: border-box;
    width: 35%;
    border-right: 1px solid #dee2e6;
}
.row-del-btn{
    font-size: 20px;
    margin-left: auto;
    cursor: pointer;
}
.row-del-btn:hover{
    color: rgb(246, 15, 15);
}
.need{
    font-size: 12px;
    color: tomato;
}
.product_name{
    width: calc(100% - 60px)!important;
}
.product-serch-btn{
    width: 60px;
}
.searchclear {
    right: 5px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #ababab;
    line-height: 1;
}

/* ラベル*/
.form-check-label {
padding-left: 25px;         /* ラベルの位置 */
font-size: 20px;
line-height: 20px;
margin-top: 10px;
display: inline-block;
cursor: pointer;
position: relative;
}

/* ボックス */
.form-check-label:before {
    content: '';
    width: 20px;            /* ボックスの横幅 */
    height: 20px;           /* ボックスの縦幅 */
    display: inline-block;
    position: absolute;
    left: 0;
    background-color: #fff;
    border: solid 1px #aaa;
    border-radius: 5px;
}
/* 元のチェックボックス非表示 */
.form-check-input[type='checkbox'] {
    display: none;
}
/* チェックした時 */
.form-check-input[type='checkbox']:checked + .form-check-label:before {
    content: '\2713';       /* チェックの文字content CSS */
    font-size: 20px;            /* チェックのサイズ */
    color: #fff;            /* チェックの色 */
    background-color: #06f;         /* チェックした時の色 */
}
.ime-disabled{
    ime-mode: disabled;
}
input[type="text"].inp_error,
input[type="number"].inp_error,
input[type="tel"].inp_error,
input[type="time"].inp_error,
select.inp_error,
textarea.inp_error {
    border: 1px solid #F88A8A;
    background: #F4D4D4;
}
span.error_m {
	font-size: 15px;
	font-weight: normal;
	color: #FF4040;
	display: block;
	margin: 0;
}
table.dataTable tr.tr1,
table.dataTable tr.tr1 td,
table.dataTable tr.tr1 th{
    background: #F4D4D4 !important;
}
/*
 * モーダル
 */
#modal-customer-table thead tr th:nth-child(1),
#modal-customer-table thead tr th:nth-last-child(1),
#modal-customer-table thead tr th:nth-last-child(2),
#modal-customer-table thead tr th:nth-last-child(3),
#modal-customer-table tbody tr td:nth-child(1),
#modal-customer-table tbody tr td:nth-last-child(1),
#modal-customer-table tbody tr td:nth-last-child(2),
#modal-customer-table tbody tr td:nth-last-child(3),
#modal-product-table thead tr th:nth-child(1),
#modal-product-table thead tr th:nth-child(2),
#modal-product-table thead tr th:nth-last-child(1),
#modal-product-table tbody tr td:nth-last-child(1),
#modal-product-table tbody tr td:nth-child(1),
#modal-product-table tbody tr td:nth-child(2){
    display: none;
}

/*
 * スケジュール
 */

.fc-content .fc-time{
   display : none;
}
tr[data-time="00:00:00"],
tr[data-time="00:30:00"],
tr[data-time="01:00:00"],
tr[data-time="01:30:00"],
tr[data-time="02:00:00"],
tr[data-time="02:30:00"],
tr[data-time="03:00:00"],
tr[data-time="03:30:00"],
tr[data-time="04:00:00"],
tr[data-time="04:30:00"],
tr[data-time="05:00:00"],
tr[data-time="05:30:00"],
tr[data-time="06:00:00"],
tr[data-time="06:30:00"],
tr[data-time="07:00:00"],
tr[data-time="07:30:00"],
tr[data-time="20:00:00"],
tr[data-time="20:30:00"],
tr[data-time="21:00:00"],
tr[data-time="21:30:00"],
tr[data-time="22:00:00"],
tr[data-time="22:30:00"],
tr[data-time="23:00:00"],
tr[data-time="23:30:00"]{
    background: #ddd;
}
tr[data-time="00:00:00"] td.fc-time span,
tr[data-time="01:00:00"] td.fc-time span,
tr[data-time="02:00:00"] td.fc-time span,
tr[data-time="03:00:00"] td.fc-time span,
tr[data-time="04:00:00"] td.fc-time span,
tr[data-time="05:00:00"] td.fc-time span,
tr[data-time="06:00:00"] td.fc-time span,
tr[data-time="07:00:00"] td.fc-time span,
tr[data-time="20:00:00"] td.fc-time span,
tr[data-time="21:00:00"] td.fc-time span,
tr[data-time="22:00:00"] td.fc-time span,
tr[data-time="23:00:00"] td.fc-time span{
    display: none;
}

/*
 * サイドバー
 */

.menu-icon{
    width: 100px;
    height: auto;
}
caption,
.table-head {
    background: #2965ae;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    caption-side: top;
    margin: 0;
}

tbody tr th{
    font-size: 13px;
    width: 98px;
    background: #F1f1f1;
}

#basic-information table{
    margin-bottom: 0;
}
.request_form{
    margin-top: 30px;
}
.request_form h3{
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}
.request_form h3::before,
.request_form h3::after{
    content: '';
    height: 2px;
    width: calc(50% - 135px);
    background: #2965ae;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}
.request_form h3::before{
    left: 0;
}
.request_form h3::after{
    right: 0;
}
.dropdown-menu.right {
 right:0;
 left:auto;
 &::before {left:auto !important; right:9px;}
 &::after {left:auto !important; right:10px;}
}
/* スマホ縦以下 */
@media screen and (max-width: 1300px){
    #basic-information .table1,
    #basic-information .table2,
    #basic-information .table3{
        width: 100%;
    }
    #basic-information .table2,
    #basic-information .table3{
        width: 50%;
    }

    .navbar-header {
        position: relative;
    }
    .navbar-toggler {
        display: inline-block;
        width: 30px;
        height: 25px;
        position: relative;
        top: 0;
        right: 0;
        z-index: 100;
        margin: auto;
    }
    .navbar-toggler span {
        display: block;
        height: 2px;
        background: #000;
        position: absolute;
        width: 100%;
        left: 0;
    }

    .navbar-toggler span:nth-child(1) {
        top: 0px;
    }

    .navbar-toggler span:nth-child(2) {
        top: 8px;
    }

    .navbar-toggler span:nth-child(3) {
        top: 16px;
    }


    .search span{
        display: block;
    }
    #product-table{
        table-layout:fixed;
    }
    #product-table thead tr th:nth-child(2),
    #product-table thead tr th:nth-child(3){
        width: 300px;
    }
    .over-box{
        overflow-x: scroll;
    }
    .navbar-toggler-icon{
        background: #000;
    }
}
@media screen and (max-width: 800px){
    #basic-information .table1,
    #basic-information .table2,
    #basic-information .table3{
        width: 100%;
    }
}

