.layout-fixed .main-sidebar{
    background: #008b8b;
}

.main-sidebar, .main-sidebar::before{
    width:210px;
}

@media (min-width: 992px){
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        transition: margin-left .3s ease-in-out;
        margin-left: 210px;
    }
}

.layout-fixed .brand-link{
    width:100%;
    padding:7px;
}

.fixed-footer{
    padding:10px;
    position:fixed;
    left:0px;
    bottom:0px;
    width:calc(100% - 210px);
    margin-left:210px;
    background: rgba(0,0,0,0.75);
}

.fixed-footer span{
    color:#fff;
    font-weight:bold;
    line-height:2.2;
}

@media (max-width:992px) {
    .fixed-footer{
        width:calc(100%);
        margin-left:0px;
    }
}

body *{
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.preloader {
    background-color: rgba(255,255,255,0.75) !important;
}

/*
ul.treeview ul.treeview{
    display:none;
    padding-left:25px;
}

ul.treeview ul.nav-treeview{
    display:none;
    padding-left:25px;
}
*/

.sidebar-mini .main-sidebar .nav-link{
    width:auto;
}
.sidebar-mini .main-sidebar .nav-link{
    padding:.5rem 0rem .5rem 1rem;
}
.sidebar-mini .main-sidebar ul.nav-treeview .nav-link{
    padding:.2rem 0rem .2rem 2rem;
}
/*
.nav-sidebar .nav-treeview>.nav-item>.nav-link>.nav-icon{
    width:1rem;
    font-size:1rem;
}
*/
.brand-link .brand-image{
    width:90%;
    max-width:150px;
    height:auto;
    float:none;
    max-height:unset;
    margin:0px;
    box-shadow:none !important;
}

.content-wrapper > .content{
    padding:10px;
    padding-bottom:100px;
}

#fullscreen-toggle{
    border: solid 2px #666;
    color: #666;
    padding: 2px 6px;
    position: absolute;
    right: 11px;
    top: 11px;
}


h3 {
    display: flex;
    font-size: 14px;
    color: #fff;
    background: #343a40;
    padding: 5px;
    justify-content: space-between;
    line-height: 1.5;
}

h3 a.btn{
    line-height:1;
    padding:3px;
}

.table-responsive {
    overflow: scroll;
    max-height: calc(100vh - 150px);
    margin-bottom: 25px;
}

.table-responsive thead th,.table-responsive tbody th{
    background:#343a40;
    color:#fff;
    font-weight:bold;
}

.table-responsive thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
}


.role0{
    color:red;
    font-weight:bold;
}

.inp-list > div.checkbox,.inp-list > label{
    display:inline-block;
}

.inp-list label {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    margin:0px 5px 5px 0px;
    cursor: pointer;
}
.inp-list label:hover {
    background: rgba(200,200,200,0.75);
}

.error-message{
    color:#ff6347;
}

.notes{
    font-size:12px;
    color:#666;
}

/*フォーム***********************/
#edit-form .row .row{
    align-items: baseline;
}

#edit-form label{
    font-weight:bold !important;
}

#edit-form .inp-list label{
    font-weight:normal !important;
}

.tab-pane{
    padding-top:15px;
}

.tab-pane > .row{
    border-bottom:solid 1px #ccc;
    margin-bottom:10px;
}

/*製造フォーム用のスタイル*/
#work-form{

    table.table{
        width:100% !important;
    }

    input:focus,select:focus,textarea:focus{
        border:solid 3px #f08080 !important;
    }

    input[type=checkbox] + label:focus, input[type=radio] + label:focus{
        border:solid 3px #f08080 !important;
    }

    /* チェックボックス01 */
    input[type=checkbox] {
        /*display: none;*/
        width:1px !important;
        height:1px !important;
        opacity:0.1 !important;
    }
    input[type=checkbox]+label{
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        padding: 5px 30px;
        position: relative;
        width: auto;
        margin-bottom:0px;
    }
    input[type=checkbox]+label::before {
        background: #fff;
        border: 1px solid #231815;
        content: '';
        display: block;
        height: 24px;
        left: 2px;
        margin-top: -11px;
        position: absolute;
        top: 50%;
        width: 24px;
    }
    input[type=checkbox]+label::after {
        border-right: 5px solid #2A5ADE;
        border-bottom: 5px solid #2A5ADE;
        content: '';
        display: block;
        height: 20px;
        left: 10px;
        margin-top: -10px;
        opacity: 0;
        position: absolute;
        top: 50%;
        transform: rotate(45deg);
        width: 10px;
    }
    input[type=checkbox]:checked + label::after {
        opacity: 1;
    }

    /* ラジオボタン01 */
    input[type=radio] {
        /*display: none;*/
        width:1px !important;
        height:1px !important;
        opacity:0.1 !important;
    }
    input[type=radio] + label{
        box-sizing: border-box;
        cursor: pointer;
        display: inline-block;
        padding: 5px 5px 5px 30px;
        position: relative;
        width: auto;
        margin-bottom:0px;
    }
    input[type=radio] + label::before {
        background: #fff;
        border: 1px solid #231815;
        border-radius: 50%;
        content: '';
        display: block;
        height: 24px;
        left: 2px;
        margin-top: -12px;
        position: absolute;
        top: 50%;
        width: 24px;
    }
    input[type=radio] + label::after {
        background: #2A5ADE;
        border-radius: 50%;
        content: '';
        display: block;
        height: 14px;
        left: 7px;
        margin-top: -7px;
        opacity: 0;
        position: absolute;
        top: 50%;
        width: 14px;
    }
    input[type=radio]:checked + label::after {
        opacity: 1;
    }

    .form-list > div{
        display:inline-block;
        padding:5px;
        border:solid 1px #ccc;
        border-radius:5px;
        margin-left:5px;
    }

    .form-list > div:first-child {
        margin-left:0px;
    }
}


/*pankuzu*/
#pankuzu{
    margin:5px 0px 15px 0px;
    font-size:14px;
}

/* ページング */
.paginator {
    text-align: center;
    font-size:12px;
}

.paginator a{
    display: inline-block;
    color: #fff !important;
    background-color: #A1A3A6;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    width:30px;
    height: 30px;
    margin: 0px 3px;
    /*
    transition: .2s ease-in-out;
    */
    white-space: nowrap;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.paginator a:hover{
    background-color:#434343;
    color: #fff;
}

.paginator span.current {
    display: inline-block;
    background-color:#434343;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    width:30px;
    height: 30px;
    margin: 0px 3px;
    /*
    transition: .2s ease-in-out;
    */
    white-space: nowrap;
    border-radius: 50%;
}

.paginator span.next a,.paginator span.last a,.paginator span.first a,.paginator span.prev a{
    border-radius:3px;
    width:auto;
    padding:0px 5px;
}

.paginator a:link,.paginator a:active,.paginator a:visited {
    text-decoration : none !important;
}

.paginator a[href]:hover {
    text-decoration : none !important;
}




.fixed-footer .form-control{
    width:100px;
}