﻿body {
}
:root {
    --main-sidebar-width: 200px;
}

/** LAYOUT ***************************************************** **/
.main-sidebar {
    position: fixed;
    min-height: calc(100vh - 50px);
    height: calc(100vh - 50px);
    overflow:auto;
    width: var(--main-sidebar-width);
    border-right: solid 1px #ccc;
    z-index: 1200;
    background-color: white;
    padding-bottom: 5em;
}
    .main-sidebar .sidebar-menu {
        padding: 0;
        margin: 0;
    }
        .main-sidebar .sidebar-menu li.menu-header {
            margin-top: 2em;
            padding: 3px 15px;
            /* color: #a1a8ae; */
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            font-weight: 600;
        }
        .main-sidebar .sidebar-menu li a {
            position: relative;
            display: flex;
            align-items: center;
            padding: 0 20px;
            width: 100%;
            letter-spacing: 0.3px;
            color: #78828a;
            text-decoration: none;
        }
            .main-sidebar .sidebar-menu li a.active {
                color: blue;
                font-weight: bold;
            }
            .main-sidebar .sidebar-menu li a:hover {
                color: blue;
            }
            .main-sidebar .sidebar-menu li a span {
                margin-top: 1px;
                margin-left: 0.5em;
                width: 100%;
                white-space:nowrap;
            }

.main-content {
    padding-left: calc( var(--main-sidebar-width) + 30px )
}
    .main-content .container {
        margin: 0;
    }

/** 左メニューの折り畳み ****************************************** **/
.mainbody.expand > .main-content {
    padding-left: 30px;
}

.mainbody.expand > .main-sidebar {
    display: none;
}

.mainbody > .main-sidebar-collapse {
    position: fixed;
    top: 50px;
    left: 0;
    width: 180px;
    z-index: 2000
}

.mainbody.expand > .main-sidebar-collapse {
    width: 30px;
}

.mainbody > .main-sidebar-collapse .fas:before {
    content: '\f100';
    font-size:14pt;
}

.mainbody.expand > .main-sidebar-collapse .fas:before {
    content: '\f101';
    font-size: 14pt;
}

/** 右メニュー ****************************************** **/
:root {
    --main-sidebar-width: 200px;
    --sidebar-right-width: 200px;
}

.sidebar-right {
    position: fixed;
    right: 0;
    top: 50px;
    width: var(--sidebar-right-width);
    background-color: #f0f0f0;
    height: 100vh;
    border-left: solid 1px #f0f0f0;
    overflow-y: auto;
    z-index: 1101;
}

.sidebar-right-inner {
    padding: 1em;
    padding-top: 20px;
}

.sidebar-right-collapse {
    position: fixed;
    right: 0px;
    top: 50px;
    font-size: 32px;
    z-index: 1102;
    width: 50px;
    background-color: #f0f0f0;
    border-left: solid 1px #f8f8f8;
    /*            height: calc(100vh - 50px);*/
    padding: 2px;
    text-align: center;
}
/* 幅が 1400px 以下であれば */
@media (max-width:1600px) {

    .sidebar-right {
        display: none;
    }
}
/* 幅が 1600px 以上であれば */
@media (min-width:1601px) {
    .sidebar-right-collapse {
        display: none;
    }
}


/** Nabibar ****************************************** **/
.navbar-subheader {
    position: relative;
    width: 100%;
}

.navbar-subheader__item {
    display: table-cell;
    width: 100px;
    text-align: center;
}

    .navbar-subheader__item.active {
        background-color: #dddddd;
    }

    .navbar-subheader__item > a {
        color: #ddd;
    }

    .navbar-subheader__item.active > a {
        color: black;
    }




/** Nabibarの下のBAR ****************************************** **/
.ledger_navi {
    background-color: #444444;
    height: 26px;
    clear: both;
}

.ledger_navi__list {
}

.ledger_navi__item {
    padding: 4px;
    width: 100px;
    text-align: center;
    float: left;
    display: inline;
}

    .ledger_navi__item > a {
        color: white;
    }

    .ledger_navi__item.active {
        background-color: #E28888;
    }

/** TABLE ****************************************** **/

.table-nowrap > tbody > tr > td{
    white-space:nowrap;
}

.table-tiny {
    margin: 0;
}

    .table-tiny > tbody > tr > th,
    .table-tiny > thead > tr > th,
    .table-tiny > tfoot > tr > th {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 3px !important;
        padding-left: 3px !important;
        text-align: right;
        font-size: 9pt;
    }
    .table-tiny > tbody > tr > td,
    .table-tiny > thead > tr > td,
    .table-tiny > tfoot > tr > td {
        font-size: 9pt;
        padding-left: 3px;
        padding-right: 3px;
        padding-top: 1px;
        padding-bottom: 1px;
    }
    }

table.table-layout_fix {
    table-layout: fixed
}


/** 受注などのマーク **/
span.status {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0.1px;
    border: solid 1px #ccc;
}

span.inquiry {
    background-color: #FCD5B4;
}

span.backorder {
    background-color: #98FFCB;
}

span.done {
    background-color: gray;
}

span.cancel {
    background-color: black;
    color: white;
}
span.new {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0.1px;
    border: solid 1px #ccc;
    background-color: orange;
}

/*--- 調整 ----*/
td.cell-width300, th.cell-width300 {
    max-width: 300px !important;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer
}
td.cell-width200, th.cell-width200 {
    max-width: 200px !important;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

td.cell-width150, th.cell-width150 {
    max-width: 150px !important;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

td.cell-width100, th.cell-width100 {
    max-width: 100px !important;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}


    th.cell-width300 > .table-autofilter {
        max-width: 290px !important;
    }
    th.cell-width200 > .table-autofilter {
        max-width: 190px !important;
    }
    th.cell-width150 > .table-autofilter {
        max-width: 140px !important;
    }
    th.cell-width100 > .table-autofilter {
        max-width: 90px !important;
    }

/*---　小数点以下の調整 ---*/
td.money.offset_1 {
    padding-right: 1em !important;
}


/*--- パンくずリスト----*/
.breadcrumb-item:after {
    content: ' > ';
}
.breadcrumb-item.active:after {
    content: '' !important;
}

/*--- スピナー----*/
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}




/*--- ----*/
#smartwizard.sw-theme-arrows .sw-container {
    min-height: 200px
}

#smartwizard.sw-theme-arrows .step-content {
    padding: 10px 0;
    border: 0 solid #d4d4d4;
    background-color: #FFF;
    text-align: left
}

#smartwizard.sw-theme-arrows .sw-toolbar {
    background: #fff;
    border-radius: 0 !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0 !important
}

#smartwizard.sw-theme-arrows .sw-toolbar-top {
    border-bottom-color: #fff !important
}

#smartwizard.sw-theme-arrows .sw-toolbar-bottom {
    border-top-color: #fff !important;
    border-bottom-color: #ddd !important
}

#smartwizard.sw-theme-arrows > ul.step-anchor {
    display: block;
    border: 0 solid #ccc !important;
    padding: 0;
    background: #f5f5f5;
    border-radius: 5px;
    list-style: none;
    overflow: hidden;
    margin-top: 20px
}

    #smartwizard.sw-theme-arrows > ul.step-anchor li + li:before {
        padding: 0
    }

    #smartwizard.sw-theme-arrows > ul.step-anchor > li {
        float: left
    }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li > a {
            color: #bbb;
            text-decoration: none;
            padding: 10px 0 10px 45px;
            position: relative;
            display: block;
            float: left;
            border-radius: 0;
            outline-style: none;
            background: #ddd
        }

            #smartwizard.sw-theme-arrows > ul.step-anchor > li > a:after {
                content: " ";
                display: block;
                width: 0;
                height: 0;
                border-top: 50px solid transparent;
                border-bottom: 50px solid transparent;
                border-left: 30px solid #ddd;
                position: absolute;
                top: 50%;
                margin-top: -50px;
                left: 100%;
                z-index: 2
            }

            #smartwizard.sw-theme-arrows > ul.step-anchor > li > a:before {
                content: " ";
                display: block;
                width: 0;
                height: 0;
                border-top: 50px solid transparent;
                border-bottom: 50px solid transparent;
                border-left: 30px solid white;
                position: absolute;
                top: 50%;
                margin-top: -50px;
                margin-left: 1px;
                left: 100%;
                z-index: 1
            }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li:first-child > a {
            padding-left: 15px
        }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li > a:hover {
            color: #bbb;
            text-decoration: none;
            outline-style: none;
            background: #ffc107;
            border-color: #ffc107
        }

            #smartwizard.sw-theme-arrows > ul.step-anchor > li > a:hover:after {
                border-left-color: #ffc107
            }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li.clickable > a:hover {
            color: #4285f4 !important;
            background: #46b8da !important
        }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li.active > a {
            border-color: #5bc0de !important;
            color: #fff !important;
            background: #5bc0de !important
        }

            #smartwizard.sw-theme-arrows > ul.step-anchor > li.active > a:after {
                border-left: 30px solid #5bc0de !important
            }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li.done > a {
            border-color: #5cb85c !important;
            color: #fff !important;
            background: #5cb85c !important
        }

            #smartwizard.sw-theme-arrows > ul.step-anchor > li.done > a:after {
                border-left: 30px solid #5cb85c
            }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li.danger > a {
            border-color: #d9534f !important;
            color: #d9534f !important;
            background: #fff !important
        }

        #smartwizard.sw-theme-arrows > ul.step-anchor > li.disabled > a, .sw-theme-arrows > ul.step-anchor > li.disabled > a:hover {
            color: #eee !important
        }
/*--- ----*/

.fixed_row_01 {
    position: sticky;
    top: 0px;
    background-color: #E9EAF6 !important;
    z-index: 1100;
}

/*--- for jQeurty UI----*/
td.ui-datepicker-week-end.ui-datepicker-other-month:first-child a.ui-state-default {
    color: silver !important;
}
td.ui-datepicker-week-end.ui-datepicker-other-month:last-child a.ui-state-default {
    color: silver !important;
}
td.ui-datepicker-other-month > a {
    color: silver !important;
}
.ui-datepicker {
    z-index: 10001 !important;
}
        .ui-dialog {
            z-index: 10000 !important;
        }

select.ui-datepicker-year {
    background-color: transparent;
}
select.ui-datepicker-month {
    background-color: transparent;
}

/**-- bootstrap3拡張  --*/
.panel-ignore > .panel-heading {
    color: #f0f0f0;
    background-color: #999999;
    border-color: #cccccc;
}

.panel-ignore {
    border-color: #cccccc;
}

.bg-ignore {
    color: #f0f0f0;
    background-color: #999999;
    border-color: #cccccc;
}

/**-- bootstrap3拡張  --*/
.text-cancel {
    text-decoration: line-through;
}

.talbe-nowrap > tbody > tr > td {
    white-space:nowrap;
}
/** マウスオーバーでクリップボード  --*/
.text-copyable {
    position: relative;
    cursor: pointer;
}
    .text-copyable:hover {
        color: #0056b3;
        text-decoration:underline;
    }
        .text-copyable:hover:after {
            content: '\f0c5';
            display: inline;
            position: absolute;
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            margin-left:5px;
        }
    
/******/
.markdown-rules {
    display: flex;
    justify-content: end;
    font-size: smaller;
    gap: 2em;
    margin-top: 2px;
    background-color:#f0f0f0;
}
    .markdown-rules ul {
        list-style: none;
        padding: 0;
        gap: 2em;
        list-style: none;
        margin:0;
    }


.cell-ellipsis3 {
    display: -webkit-box; /* ← ブロックボックスに変換 */
    -webkit-box-orient: vertical; /* ← 縦方向に積む */
    -webkit-line-clamp: 3; /* ← 最大3行で省略 */
    overflow: hidden; /* ← 必須 */
}

/*--- ----*/
.stickey-left {
    position: sticky;
    left: 0;
    z-index:1000;
}

.stickey-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}