header .navbar {
    box-shadow: none;
    border-bottom: 1px solid #ddd;
}
header .nav-staff-name {
    min-width: 7rem;
}

/*
@media (min-width: 600px) {
.navbar.scrolling-navbar.top-nav-collapse {
    padding-top: .2rem;
    padding-bottom: .2rem;
}
}
*/

#logout-btn {
    font-size: .9rem;
}

#logo {
    /*
    text-shadow: rgb(8, 39, 90) 0px 0px 0px,
                 rgb(8, 42, 96) 1px 1px 0px,
                 rgb(9, 45, 102) 2px 2px 0px,
                 rgb(10, 53, 122) 3px 3px 0px;
    color: rgb(255, 255, 255);
    background-color: rgb(20, 80, 170);
    */
    font-size: 1.4rem;
    height: 30px;
    /*width: 120px;*/
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 0;
    padding: 0 1rem;
}

#fl-logo {
    padding-left: 4.5rem;
}
#fl-logo::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 23px;
    top: 30%;
    left: 15%;
    background-image: url(data:image/gif;base64,R0lGODlhOwAvAMZiACMfIKzONVpXV6+3inyqM8PagIaIdbDNQy8sKtrpnszPwZCOjJG6NG6YLWZmZsXbYkhGPpe7Srq+p+v0zXx/asvdl6yrq4+Udd3f1azJc6atiIq0NZmZmcHDt57ENczfc3Zzcz06OMHZXLDSNr/HndbkjYqLf52/Y2BgU4+zTc3bs39+d9LTzbzXUrjPipmZmeHrrX6mL7PTPaTINVRTSMvebbm4t9PiguHswIOvNMPVmjMzM8LFv62xm4SBgp7CTNfmlcTdaJrANc7geqbKNY2Nh9fompyhgrfVRnd5YsXKquTr1GxtXL3ArqannKfGWYOHbMzMzO/12s7hgMfMs+HtsqbKNkxJSrW8mLK7kJ6/QdbV1ZOVgN3qpdPipeTttazKTejxwP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEKAH8ALAAAAAA7AC8AAAf+gH+Cg4SFhCUfQyVANx9BIg9DkgkJhpaXmJl/RjciMiMtNY4tnyOmpkREPxlAmq6uJQ83D5+ho0inuQEzM0IMERWvwoU3LTdBuEhBHzUiuLm5RB6+Gzknw8M3SDc1ycvNSKXQprvTDNUp2K4JMkMfLSMyD8wPpOPQ0tQ5BNfqlwlIEsGTIUJUPXH3yM0wt4EAgWD+DCnrJEOGrSD2EuJjuC9diYiDWsiiBUoUxmcadS08t+8hkI8RRRhDNkIZM2cp7+VjSeBJiZ/+kHHzdjNcznHleEaYUuPGDWxDZDQaOK8ZvKM6OW74UKIpTFgyBMYT8eHDQaz3dukj8GBK1xv+XzEZGVFjiCeCBjOiHbezWgsRbmu41SRvlowAB/62QHIggGPHe08F4BhOhKJErS7J0BJhQ4wYDnOkKFABiOnTpiklGDKltevXrwvIdmHKIlfMliI0aADaoe8NIF2dsl3CXeZBBHj7Xu7QS3BMXaCFKsH0a4oGzLNneH4JyDhlJbhlxp59eY4I3C0NuTeRmyDy5XPk2LABYvqQCZG0LWHkD3zz823AAANg3EdISgRNUcl/BMhH34AMCCHEcekVkBNBQ/jnm4MPRiihBy0Y+AdKGlmkYYMBDiihEB54kAqFwXmBlgx/XEefgB6y6AEvAYByn4VYifAejh62yMsMPZr+EhdICKUEUwox5Lgjj9AgwR2QWIUhiA4NfOgiEUmOk2FwSDxmZkKEQHlkmAl1AZKFqcRp5mOmfFBIAx6wqVGIEckQ55EzxAnmY1UUkkEMexUQ1GQtNjoloDNYaUgODOxl3ysVjDDNio526gGMglTQABFYySCpMH7muCKnjRZ4yaEIWlTQFMK0EACEuK66Kg6ZpEAqNBX9FYQiQLjpShAjnNMhrhBKuJ0mGyQZrAjDLtJFFdga0R8mFgpx47fLDvjDKzpsIGu1xWJbBScfyKSoJRXI4IF89AYIroA6CONCBMRem20jMv0FyZiExEsEgPVyuEG+w7jwhLrsBiwCJKJ7DOFUwTJY0VJ89KbAMDYOA9yCwA/MYzFcPwFl8Mbl+ZYOSC5oMXLJFTuV8s3FadqydtzpoAVZJ+OMMy0M7LxcP/c9AYYiQqf8ARJWNGT0Cc+K+IcOSu+X8ixlFr1cCilQnYELH1tNiA4ZgEEEErgE0MITYuvggtl0ixgIADs=);
    background-repeat: no-repeat;
    background-size: cover;
}

#fadein-alert {
    position: fixed;
    top: 95px;
    left: 0;
    width: 50vw;
    margin-left: 180px;
    background-color: transparent;
    z-index: 1028;
}
#fadein-alert > .alert {
    margin-bottom: 3px;
}

#scroll-top {
    position: fixed;
    bottom: 24px;
    right: 15px;
    cursor: pointer;
    z-index: 1500;
}

main {
    border-left: 1px solid #fff;
}
main > .container-fluid {
    margin-bottom: 10rem;
}

#side-menu .nav-item {
    font-size: 1rem;
}

.navbar.scrolling-navbar {
    padding-top: .4rem;
    padding-bottom: .4rem;
    min-height: 3.5rem;
}
.sidebar-fixed .sidebar {
    position: fixed;
    display: flex;
    flex: 0 0 140px;
    flex-direction: column;
    order: -1;
    width: 140px;
    height: calc(100vh - 53px);
    margin-top: 3.4rem;
    margin-left: 0;
    padding-bottom: 16px;
    color: #fff;
    background-color: #f2f2f2;
    z-index: 1019;
    transition: margin-left .25s,margin-right .25s,width .25s,flex .25s,-ms-flex .25s;
}
.sidebar-fixed .sidebar .sidebar-minimizer {
    position: relative;
    flex: 0 0 52px;
    height: 52px;
    background-color: rgba(0,0,0,.2);
    border: 0;
    cursor: ew-resize;
}
.sidebar-fixed .sidebar .sidebar-minimizer:hover {
    background-color: rgba(0,0,0,.3);
}
.sidebar-fixed .sidebar .sidebar-minimizer:focus, .sidebar .sidebar-minimizer.focus {
    outline: 0;
}

.sidebar-fixed .sidebar .sidebar-minimizer::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 52px;
    content: "";
    background-image: url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMSAxNCc+PHBhdGggZmlsbD0nIzczODE4ZicgZD0nTTkuMTQ4IDIuMzUybC00LjE0OCA0LjE0OCA0LjE0OCA0LjE0OHEwLjE0OCAwLjE0OCAwLjE0OCAwLjM1MnQtMC4xNDggMC4zNTJsLTEuMjk3IDEuMjk3cS0wLjE0OCAwLjE0OC0wLjM1MiAwLjE0OHQtMC4zNTItMC4xNDhsLTUuNzk3LTUuNzk3cS0wLjE0OC0wLjE0OC0wLjE0OC0wLjM1MnQwLjE0OC0wLjM1Mmw1Ljc5Ny01Ljc5N3EwLjE0OC0wLjE0OCAwLjM1Mi0wLjE0OHQwLjM1MiAwLjE0OGwxLjI5NyAxLjI5N3EwLjE0OCAwLjE0OCAwLjE0OCAwLjM1MnQtMC4xNDggMC4zNTJ6Jy8+PC9zdmc+);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12.5px;
    transition: .3s;
}

.sidebar-fixed .sidebar .sidebar-nav {
    border-top: 1px solid rgba(221, 221, 221, .5);
}
.sidebar-fixed .sidebar .nav {
    width: 140px;
    flex-direction: column;
    padding: 0;
}
.sidebar-fixed .sidebar .nav-item {
    position: relative;
    margin: 0;
    transition: background .3s ease-in-out;
}
.sidebar-fixed .sidebar .nav-dropdown.open .nav-link {
    color: #fff;
    border-left: 0;
}
.sidebar-fixed .sidebar .nav-link {
    display: block;
    padding: .75rem;
    color: #fff;
    text-decoration: none;
    background: 0 0;
    border-bottom: 1px solid rgba(221, 221, 221, .5);
}
.sidebar-fixed .sidebar .nav-link.active {
    background-color: rgba(0,0,0,.4);
}
.sidebar-fixed .sidebar .nav-link:hover {
    background-color: rgba(0,0,0,.3);
}

.sidebar-minimized #side-menu {
    z-index: 1020;
}

.sidebar-minimized .sidebar .sidebar-nav.ps > .nav,
.sidebar-minimized .sidebar .sidebar-nav.ps {
    overflow: visible !important;
    width: 40px;
}

/*
.sidebar-minimized main {
    margin-left: 40px;
    transition: margin-left .25s;
}
*/

.sidebar-minimized .sidebar .sidebar-minimizer::before {
    width: 100%;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
.sidebar-minimized .sidebar-fixed .sidebar {
    width: 40px;
    flex: 0 0 40px;
}
.sidebar-minimized .sidebar .nav-link {
    position: relative;
    padding-left: 0.3rem;
    margin: 0;
    white-space: nowrap;
    border-left: 0;
}
.sidebar .nav-link .nav-icon {
    display: inline-block;
    margin: 0 .7rem 0 0;
    color: #d3d3d3;
    text-align: center;
}
.sidebar-minimized .sidebar .nav-link .nav-icon {
    display: block;
    float: left;
    width: 28px !important;
    font-size: 1.3rem;
}
.sidebar-minimized .sidebar #link-nav .nav-link:hover {
    background-color: inherit;
}

#link-nav {
    position: fixed;
    bottom: 0;
    min-height: 20px;
    padding-bottom: 27px;
}
.sidebar-minimized .sidebar .nav-item {
    width: 40px;
    overflow: hidden;
}
.sidebar-minimized .sidebar .nav-item:hover {
    width: 180px;
    overflow: visible;
}
.sidebar-minimized .sidebar .nav-link:hover {
    width: 140px;
}

.sidebar-minimized #link-nav, .sidebar-minimized #link-nav .nav-item {
    width: 40px;
}

.sidebar-fixed .sidebar .nav-dropdown-toggle::before,
.btn-outline-primary:not([disabled]):not(.disabled).active, .btn-outline-primary:not([disabled]):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle,
.btn-outline-primary.active, .btn-outline-primary:active, .btn-outline-primary:active:focus, .btn-outline-primary:focus, .btn-outline-primary:hover {
    border-color: #4d566b !important;
    color: #4d566b !important;
}
.sidebar-fixed .sidebar .nav-dropdown.open > .nav-dropdown-toggle::before {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.sidebar-fixed .sidebar .nav-dropdown-toggle {
    position: relative;
}
.sidebar-fixed .sidebar .nav-dropdown-toggle::before {
    position: absolute;
    right: .8rem;
    display: block;
    padding: 0;
    margin-top: -3px;
    content: "\f0d9";
    font-weight: 900;
    font-size: 1.2rem;
    color: #ddd;
    font-family: "Font Awesome 5 Free";
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s,-webkit-transform .3s;
}
.sidebar-minimized .sidebar .nav-dropdown-toggle {
    cursor: default;
}
.sidebar-minimized .sidebar .nav-dropdown-toggle:hover {
    width: 180px;
}
.sidebar-minimized .sidebar .nav-dropdown-toggle:before {
    display:none;
}
.sidebar-minimized .sidebar .nav-dropdown-toggle:hover:before {
    display:block;
}
.sidebar-fixed .sidebar .nav-dropdown-items {
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    transition: max-height .3s ease-in-out;
}
.sidebar-minimized .sidebar .nav>.nav-dropdown>.nav-dropdown-items {
    display: none;
    max-height: 1000px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.sidebar-fixed .sidebar .nav-dropdown.open>.nav-dropdown-items {
    max-height: 1500px;
}
.sidebar-minimized .sidebar .nav>.nav-dropdown:hover>.nav-dropdown-items {
    position: absolute;
    left: 40px;
    display: inline;
}
.sidebar-minimized .sidebar .nav-dropdown-items .nav-item,
.sidebar-minimized .sidebar .nav-dropdown-items .nav-item .nav-link {
    width: 140px;
}

#operation-block {
    position: fixed;
    top: 42px;
    width: calc(100% - 140px);
    min-width: 1090px;
    padding: .75rem 1rem;
    margin-left: -14px;
    margin-right: -15px;
    border-bottom: 1px solid #e6e6e6;
    background-color: #f2f2f2;
    z-index: 1029;
    box-shadow: 0 0 0 0 , 0 2px 8px 0 rgba(0,0,0,.12);
}
#operation-block .btn {
    margin-top: 0;
    margin-bottom: 0;
}
#operation-block + div {
    margin-top: 70px;
}
#page-title {
/*    max-width: 260px;*/
    min-width: 160px;
    margin-right: 2rem;
}
#page-title > h3 {
    margin-bottom: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
#page-title > h3 > .fa-question-circle {
    cursor: help;
}
.sidebar-minimized #operation-block {
    width: calc(100% - 40px);
}

#operation-buttons {
    margin-left: 1rem;
}

#sticky-top {
    position: sticky;
    top: 7.4rem;
    z-index: 1010;
}
#search-box + #sticky-top {
    top: 9rem;
}

/* TEXT */
h4.price:after {
    content: '円';
    padding-left: .3rem;
    padding-right: .3rem;
    font-size: .9rem;
}
.text-muted {
    color: #c8ccce !important;
}
p.postcode, p.kana, span.kana {
    font-size: .6rem;
    margin-bottom: .2rem;
}
.address, p.datetime {
    margin-bottom: 0;
}
.table a.link, a.link {
    color: #5644e2;
}
a.link:hover {
    color: #5644e2 !important;
    text-decoration: underline !important;
}
a.text-white.link:hover {
    color: #dbbee5 !important;
}
.postcode:before {
    content: "\03012";
    font-size: .6rem;
}
.fa-xl {
    font-size: 1.66666em;
}

/* STATUS GROUP */
.category-group, .status-group {
    white-space: nowrap;
}
.category-group-item, .status-group-item {
    position: relative;
    display: inline-block;
    font-size: .9rem;
    padding: .3rem 1.25rem .25rem;
    margin-right: .75rem;
    min-width: 4.8rem;
    text-align: center;
    background-color: #F5F5F5;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}
.category-group-item {
    color: #666;
}
.status-group-item {
    color: #9e9e9e;
}
.category-group-item.active, .status-group-item.active {
    color: #19244f;
    font-weight: bold;
    border-color: #9ca9db;
    background-color: #ced5ed;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
.status-group-item.status-group-btn {
    font-size: .9rem;
    padding: .3rem 1.25rem .25rem;
    margin-right: .7rem;
    margin-left: .25rem;
    cursor: pointer !important;
    box-shadow: none;
}
.status-group-item.status-group-btn.active {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.16), 0 2px 4px 0 rgba(0,0,0,.12);
}
.status-group-item.status-group-btn > input[type=radio], .status-group-item.status-group-btn > input[type=checkbox] {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}
.status-group-item:not(:last-child):after {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    position: absolute;
    top: 20%;
    right: -0.9rem;
    display: inline-block;
    font-weight: bold;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: #5B6BC0;
}
.status-group-item > .status-group-datetime {
    font-size: .6rem;
    font-weight: 400;
    padding-top: .2rem;
    margin-bottom: -1.6rem;
}

/* TABLE */
.modal .table-scroll {
    max-height: 65vh;
    margin-right: -1.5rem;
    overflow-y: scroll;
    overflow-x:hidden;
}
.table {
    color: #323232;
}
.table .thead-light th {
    color: #fff;
    background-color: #989898;
    border-color: #dee2e6;
}
thead > tr.thead-light {
    border: 1px solid #929292;
}
.sticky-table.scroll-x {
    overflow-x: scroll;
}
.sticky-table > .table {
    margin-bottom: 0;
}
.sticky-table > .table.table-bordered {
    border-left: 0 !important;
    border-collapse: collapse;
}
.sticky-table > .table th.sticky {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    border-left: 0 !important;
    border-right: 0 !important;
}
.sticky-table > .table.table-bordered th.sticky:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.sortable > tr {
    cursor: ns-resize;
}
.table-borderless tbody > tr {
    background-color: #f5f5f5;
}
.table-borderless tbody > tr.space-tr > td:hover,
.table-borderless tbody > tr.space-tr {
    background-color: #fff;
}
.table-borderless tbody > tr.space-tr > td {
    padding-top: .35rem;
    padding-bottom: .35rem;
}
table.table-borderless td, table.table-borderless th {
    padding-left: .75rem;
    padding-right: .75rem;
}
table.table-borderless > tbody > tr.middle > td:not(:last-child) {
    position: relative;
}
table.table-borderless > tbody > tr.middle > td:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin-top: 3px;
    margin-bottom: 3px;
    display: inline-block;
    width: 1px;
}

.td-rb-gray{
    border-right:solid 1px #CCCCCC !important;
}
.tr-link{
    cursor:pointer;
}
.tr-active{
    background-color:#ffe57f !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    /*background-color: #e7e7e7;*/
    background-color: #f5f5f5;
}
.table tr.space-tr + tr.clickable > td.clickable:first-child::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5rem;
    font-weight: bold;
    color: #ccc;
    background-color: transparent;
    display: inline-block;
    width: 9px;
    height: 30px;
    position: absolute;
    left: -11px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 1.6;
}
.table tr.clickable[data-toggle=modal] > td,
.table tr > td.clickable {
    cursor: pointer;
}
.table.table-hover tr:hover input, .table.table-hover tr:hover .input-group-text {
    background-color: #ececec !important;
}
.table tr.middle > td, .table tr.middle > th, .table th.middle, .table td.middle {
    vertical-align: middle;
}
.table tr > td.top, .table tr > th.top {
    vertical-align: top;
}

.table.table-input > tbody > tr > td > .form-group {
    height: 100%;
    margin-bottom: 0;
}
.table.table-input > tbody > tr > td > .form-control-date-label {
    height: 100%;
}
.table.table-input > tbody > tr > td  .form-group > .input-group > .form-control:not(:read-only),
.table.table-input > tbody > tr > td > .input-group > .form-control:not(:read-only) {
    /*box-shadow:1px 0px 2px 1px #fff1d1 inset;*/
    /*border: 1px solid #fff1d1;*/
    border: none;
}
.table.table-input td.p-0 > input,
.table.table-input td.p-0 > .input-group {
    height: 100%;
}
.table.table-input .select2-container--bootstrap4 .select2-selection,
.table.table-input .select2-container--default .select2-selection--single,
.table.table-input > tbody > tr > td > .custom-file > .custom-file-label,
.table.table-input > tbody > tr > td > .table-inputs > .form-control,
.table.table-input > tbody > tr > td > select.form-control,
.table.table-input > tbody > tr > td > .form-inline select.form-control,
.table.table-input > tbody > tr > td  .form-group > select.form-control,
.table.table-input > tbody > tr > td > .form-control-date-label > .form-control,
.table.table-input > tbody > tr > td  .form-control.dropdown-toggle,
.table.table-input > tbody > tr > td > .input-group > .form-control:not(:read-only),
.table.table-input > tbody > tr > td > .input-group > div.form-control,
.table.table-input > tbody > tr > td  .form-group > .form-control:not(:read-only),
.table.table-input > tbody > tr > td > .form-control:not(:read-only) {
    box-shadow:0px 0px 2px 1px #fff1d1 inset;
    /*border: 1px solid #fff1d1;*/
    border: none;
}
.table.table-input > tbody > tr > td > .input-group > .form-control {
    border-right: 0;
}
.table.table-input > tbody > tr > td > .input-group > .form-control:focus:not(:read-only),
.table.table-input > tbody > tr > td > .form-control:focus:not(:read-only) {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25) inset;
}
.table.table-input > tbody > tr > td > .custom-file > .custom-file-label::after {
    border: 1px solid #ced4da;
    margin: -2px;
}
.table.table-input > tbody > tr > td > .form-control-sm {
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: .8rem;
}
.table-input .select2-container--default .select2-selection--single,
.table-input .form-control {
    height: inherit;
    border-radius: 0 !important;
}

.table-input input:read-only + .input-group-append > .input-group-text,
.table-input input[type=text]:read-only,
.table-input input[type=number]:read-only,
.table-input input[type=email]:read-only,
.table-input input[type=tel]:read-only,
.table-input input[type=password]:read-only,
.table-input textarea:read-only {
    background-color: #fff;
}
table.table-input .select2-container--bootstrap4 .select2-selection,
.table-input .input-group-text,
.table-input td .form-control {
    border: none;
    border-radius: 0;
}
.table-input .form-control-date-label > input[type=date] {
    border: 1px solid #dee2e6;
    border-radius: 0;
}
.table-input .form-control-date-label > input[type=date] + .date {
    height: 100%;
    top: 0;
    left: 0;
}
.table-input .form-control.percent, .table-input .form-control.price {
    padding-left: .1rem;
    padding-right: .1rem;
}
.table-input .form-control + .input-group-append > .input-group-text {
    font-size: .8rem;
    padding-left: .3rem;
    padding-right: .3rem;
    background-color: #f9f9f4;
    color: #495057;
}
.table-input .form-control:not(:read-only) + .input-group-append > .input-group-text {
    background-color: #fff;
}

.table-input .select2-container--bootstrap4.select2-container--open .select2-selection {
    border: 1px solid #80bdff !important;
}

.table th.border-dark, .table td.border-dark {
    border-color: #999 !important;
}
.table th.border-top-dark, .table td.border-top-dark {
    border-top: 1px solid #999 !important;
}
.table th.border-bottom-dark {
    border-bottom: 2px solid #999 !important;
}
.table td.border-bottom-dark {
    border-bottom: 1px solid #999 !important;
}
.table th.border-left-dark, .table td.border-left-dark {
    border-left: 1px solid #999 !important;
}
.table th.border-right-dark, .table td.border-right-dark {
    border-right: 1px solid #999 !important;
}
.table th.border-right-light, .table td.border-right-light {
    border-right: 1px solid #dee2e6 !important;
}
/*
.table thead > tr:first-child > th {
    border-bottom-width: 1px;
}
*/

.table tr.clickable td > a:not(.btn) {
    display: block;
}
.table.table tr.clickable td > a:not(.btn) {
    margin-top: -1rem;
    margin-bottom: -1rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 1rem .75rem;
}
.table.table-sm tr.clickable td > a:not(.btn) {
    margin-top: -0.6rem;
    margin-bottom: -0.6rem;
    margin-left: -0.3rem;
    margin-right: -0.3rem;
    padding: .6rem .3rem;
}

.table td > p.clock {
    margin: 0 !important;
    font-size: .8rem;
}
.table td > a.percent, .table td.percent,
.table td > a.k-price, .table td.k-price,
.table td > a.price, .table td.price {
    text-align: right;
}
.table td > a.price:after, .table td.price:after {
    content: '円';
    font-size: .8rem;
}
.table td > a.k-price:after, .table td.k-price:after {
    content: '千円';
    font-size: .8rem;
}
.table td > a.percent:after, .table td.percent:after {
    content: '%';
    font-size: .8rem;
}
.table tr.active > td.arrow {
    position: relative;
}
.table tr.active > td.arrow:after {
    font-family: "Font Awesome 5 Free";
    content: "\f04b";
    font-size: 1.5rem;
    font-weight: bold;
    color: #00579B;
    display: inline-block;
    position: absolute;
    top: .8rem;
    right: -1.8rem;
}
.table.table-sm tr.active > td.arrow:after {
    top: .4rem;
}

td.text-truncate > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tr.inactive > td {
    color: #444 !important;
    opacity: 0.5;
}
.table.table-sm td, table.table-sm th {
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.table.table:not(.table-sm) tr.thead-sm > th {
    padding-top: .6rem;
    padding-bottom: .6rem;
}
.table.table-sm tr.thead-sm > th {
    padding-top: .4rem;
    padding-bottom: .4rem;
}

/* NAV TAB */
.table-nav.nav-tabs .nav-link.active {
        color: #fff !important;
}
.nav-tabs .nav-link {
    color: #999 !important;
}
.card-header.nav-tabs {
    padding: .5rem .5rem 0 .5rem !important;
}
.card-header.nav-tabs + .tab-content {
    padding: 0;
}
.card-header.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: .25rem 0.25rem 0 0 !important;
    padding: .5rem 1rem !important;
}
/*
.card-header.nav-tabs .nav-link:not(:hover) {
    border-top-color: #44998f;
    border-left-color: #44998f;
}
*/

/* CARD */
.card > .card-header.bg-primary > .close > .fas {
    color: #fff;
}
.card > .card-header {
    color: #fff;
    background-color: #ababab;
    border: 1px solid #dee2e6; 
}
.card > .card-header .card-title {
    margin-bottom: 0;
    padding-top: .5rem;
}
.card > .nav-tabs.card-header.default-color .nav-link:not(.active) {
    color: #fff !important;
}
.card.card-sm {
    font-size: .9rem;
}
.card.card-sm > .card-header, .card.card-sm > .card-body {
    padding: .3rem;
}
.card.card-sm > .list-group > .list-group-item {
    padding: .3rem .8rem;
}
.card.card-sm > .list-group > .list-group-item > .btn[class*=btn-outline-].btn-sm {
    padding-top: .2rem;
    padding-bottom: .2rem;
}
.card.card-sm > .list-group > .list-group-item > .btn.btn-sm {
    padding: .3rem 1.6rem;
}
.card.card-sm > .list-group > a.list-group-item:hover {
    background-color: #e8ebff;
}

.card {
    box-shadow: none;
}
.card-caption {
    display: inline-block;
    margin-top: -2.2rem;
    padding-top: .25rem;
    padding-bottom: .15rem;
    padding-left: .75rem;
    padding-right: .75rem;
    min-width: 5rem;
    text-align: center;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}

/* LIST GROUP */
.list-group-item.active {
    color: #fff !important;
}

/* ALERT */
.alert.alert-info {
    background-color: #e8f3f5;
}
.alert.alert-success {
    background-color: #eaf7ed;
}
.alert > .hide-message {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 1rem;
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    cursor: pointer;
}

/* MODAL */
.modal-header {
    padding: .8rem 1rem;
}
@media (min-width: 576px){
.modal-dialog-scrollable {
    max-height: calc(100% - 9rem);
}
.modal-dialog {
    margin: calc(1.75rem + 50px) auto;
}
.modal:not(.right) .modal-dialog.modal-lg {
    max-width: 800px;
    margin: 3.75rem auto;
}
}
.modal-dialog.modal-md {
    max-width: 640px;
    margin: 3.75rem auto;
}

/* IMG */
.img-thumbnail {
    min-width: 2rem;
    min-height: calc(1.5em + .7rem);
    background-color: #E9ECEF;
}
.img-thumbnail > img {
    max-height: 100%;
}
.img-zoom-1, .img-zoom-2, .img-zoom-3, .img-zoom-4 {
    transition: transform 0.3s;
    cursor: zoom-in;
}
.img-zoom-1:not(.img-zoom-click):hover {
    position: relative;
    transform: scale(1.5);
    z-index: 1100;
}
.img-zoom-2:not(.img-zoom-click):hover {
    position: relative;
    transform: scale(2.0);
    z-index: 1100;
}
.img-zoom-3:hover {
    position: relative;
    transform: scale(2.8);
    z-index: 1100;
}
.img-zoom-4:hover {
    position: relative;
    transform: scale(3.8);
    z-index: 1100;
}

/* BADGE */
.badge {
    padding-top: .3em;
    padding-bottom: .2em;
    box-shadow: none;
}
.h4 > .badge, h4 > .badge {
    padding-top: .6em;
    padding-bottom: .45em;
}
.h5 > .badge, h5 > .badge {
    padding-top: .4em;
    padding-bottom: .4em;
}
.badge:not(.badge-pill) {
    padding-left: .4em;
    padding-right: .4em;
    border-radius: .2rem;
}

/* BORDER */
.border-dark {
    border-color: #999 !important;
}
.border-side-0 {
    border-left: 0!important;
    border-right: 0!important;
}
.border-top-dashed {
    border-top: 1px;
    border-style: dashed !important;
}
.border-bottom-dashed {
    border-bottom: 1px;
    border-style: dashed !important;
}

/* FORM */
#maxlength-wrap {
    position: absolute;
    display: inline-block;
    text-align: right;
    background-color: rgba(0,0,0,0);
    z-index: 1100;
}
#maxlength-text {
    display: inline-block;
    padding: 0 4px;
    font-size: 8px;
    color: #fff;
    background-color: rgba(41,52,60,.5);
    border-radius: 2px;
}
.custom-control-label {
    padding-left: .4rem;
}
input[type="number"].spin-none::-webkit-outer-spin-button,
input[type="number"].spin-none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* SEARCH BOX */
#search-box-tabs {
    background-color: #F5F5F5;
}
#search-box-tabs > .nav-item > .nav-link {
    padding: .2rem .75rem .1rem;
}
#search-box-tabs > .nav-item > .nav-link:not(.active) {
    color: #999 !important;
}

#search-box-pull-down {
    height: 16px;
    text-align: center;
    background-color: #F5F5F5;
    border-top: 1px solid #dee2e6;
    cursor: n-resize;
}

#search-box {
    margin-top: 52px;
    position: sticky;
    top: 7.75rem;
    border-radius: 0;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    z-index: 1011;
}
#search-box > .tab-content {
    background-color: #fff;
}
#search-form .input-group {
    margin: 0 .5rem .5rem;
}

/* SELECT View Columns */
#select-columns-block .list-inline-group {
    padding: .5rem 1rem;
}
#select-columns-block .list-inline-group > .list-inline-item {
    padding: .2rem .5rem;
    border-radius: .2rem;
}
#select-columns-block .list-inline-group > .list-inline-item .btn {
    margin: 0 !important;
}
#select-columns-block .list-inline-group > .list-inline-item .btn:not(.active) {
    opacity: 0.4;
}

.image-input-group {
    position: relative;
    padding-right: 6.8rem;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 1px;
    min-height: calc(1.5em + .75rem + 2px);
}
.image-input-group::before {
    content: 'ファイル選択';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 6.8rem;
    height: 1rem;
    margin: auto;
    color: #afafaf;
    font-weight: 900;
    text-align: center;
}
.image-input-group > .image-input {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: copy;
}
.image-input-group > .spinner-border {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.file-caption-main .btn {
    margin: 0 !important;
    padding: .5rem 1rem !important;
}
.custom-file-label::after {
    font-family: "Font Awesome 5 Free";
    content: "\f07c" !important;
    font-weight: bold;
    font-size: 1.1rem;
    height: auto;
    line-height: 1.3;
}

th.required, label.required {
    position: relative;
}
th.required{
    padding-right: 1.5rem;
}
label.required {
    padding-right: 1.3rem;
}
th.required:after, label.required:after {
    font-family: "Font Awesome 5 Free";
    content: "\f069";
    position: absolute;
    font-size: 8px;
    font-weight: bold;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: #ffcc00;
    line-height: 1.6;
}
th.required:after {
    margin-left: .5rem;
}
label.required:after {
    right: 0;
    display: inline-block;
}
.select2-dropdown {
    z-index: 1028;
}
.select2-container {
    z-index: 1051;
}
.select2-container--bootstrap4 .select2-selection--single {
    padding: .5rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    padding: 2px .75rem;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder,
.form-control::placeholder {
    color: #bdc0c3;
}
.form-control-sm + .select2 .select2-selection__choice {
    margin-right: 2px;
    margin-top: 1px;
}
.form-control-sm + .select2-container .select2-selection--multiple {
    min-height: 23.75px;
    font-size: .875rem;
    border-radius: .2rem;
}
.form-control-sm + .select2-container .select2-search--inline .select2-search__field {
    margin-top: 0;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-width: .5rem .25rem 0 .25rem;
    margin-left: -.5rem;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #f2f3f4;
}
.dropdown-toggle {
    position: relative;
}
.form-control.dropdown-toggle {
    padding-right: 2rem !important;
}
.form-control.form-control-sm.dropdown-toggle {
    padding-right: 1.5rem !important;
}
.dropdown-toggle:after {
    position: absolute;
    height: .3em;
    margin: auto !important;
    top: 0;
    bottom: 0;
    right: .5rem;
}
.bootstrap-select .btn.dropdown-toggle.form-control-sm {
    padding: .3rem .5rem !important;
}
.dropdown-item.h1, .dropdown-item.h2, .dropdown-item.h3, .dropdown-item.h4, .dropdown-item.h5, .dropdown-item.h6 {
    margin-bottom: 0;
}
.dropdown-menu.w60 {
    min-width: 60px;
}
.form-control-sm {
    padding: .3rem .5rem;
    line-height: 1.6;
}
.form-control.count, .form-control.percent, .form-control.price {
    text-align: right;
}
.form-control.number {
    text-align: center;
}
.form-control.refs + .input-group-append > .input-group-text, .form-control.refs {
    background-color: #E8F5EA !important;
}
.form-control.important + .input-group-append > .input-group-text, .form-control.important {
    font-weight: 600;
    color: #3f51b5!important;
    background-color: #fff;
}

.form-control:disabled, .form-control[readonly] {
    opacity: 1;
}
.form-control[readonly] {
    background-color: #f9f9f4;
}
.form-control:disabled {
    background-color: #e9ecef;
    color: #aaa;
}
.input-group-append > .btn {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    box-shadow: none;
}
.table td > .input-group > .input-group-append > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.custom-control.custom-radio .custom-control-label {
    padding: .21rem;
}
.custom-control-label::before, .custom-control-label::after {
    top: 0;
}
.custom-control-label::before, .custom-control-label:after {
    height: 1.4rem;
    width: 1.4rem;
}
.input-group > .input-group-prepend > .btn[class*=btn-outline-],
.input-group > .input-group-append > .btn[class*=btn-outline-] {
    box-shadow: none;
}
.input-group-sm > .input-group-append > .btn[class*=btn-outline-] {
    padding: 0 .5rem;
    line-height: 1;
}
.input-group-text {
    color: #fff;
    background-color: #6f6f6f;
}
.input-group-text.text-primary {
    background-color: #fff !important;
}
.form-control.bg-info {
    color: #fff;
}

.detail-value {
    padding: .5rem 1rem .25rem;
    min-height: 2.4rem;
    background-color: #f9f9f4;
    border-bottom: 1px solid #dee2e6!important;
    border-radius: 4px 4px 0 0;
}

/* SWITCH */
.switch {
  display: inline-block;
  width: 40px;
  height: 26px;
}

.switch-input {
  display: none;
}

.switch-slider {
  position: relative;
  display: block;
  height: inherit;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #c8ced3;
  transition: .15s ease-out;
  border-radius: 0.25rem;
}

.switch-slider::before {
  position: absolute;
  top: 2px;
  left: 2px;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  content: "";
  background-color: #fff;
  border: 1px solid #c8ced3;
  transition: .15s ease-out;
  border-radius: 0.125rem;
}

.switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(14px);
  transform: translateX(14px);
}

.switch-input:disabled ~ .switch-slider {
  cursor: not-allowed;
  opacity: .5;
}

.switch-lg {
  width: 48px;
  height: 30px;
}

.switch-lg .switch-slider {
  font-size: 12px;
}

.switch-lg .switch-slider::before {
  width: 24px;
  height: 24px;
}

.switch-lg .switch-slider::after {
  font-size: 12px;
}

.switch-lg .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(18px);
  transform: translateX(18px);
}

.switch-sm {
  width: 32px;
  height: 22px;
}

.switch-sm .switch-slider {
  font-size: 8px;
}

.switch-sm .switch-slider::before {
  width: 16px;
  height: 16px;
}

.switch-sm .switch-slider::after {
  font-size: 8px;
}

.switch-sm .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.switch-label {
  width: 48px;
}

.switch-label .switch-slider::before {
  z-index: 2;
  border-radius: .25rem;
  background-color: #efefef;
}

.switch-label .switch-slider::after {
  position: absolute;
  top: 50%;
  right: 1px;
  z-index: 1;
  width: 50%;
  margin-top: -.5em;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #c8ced3;
  text-align: center;
  text-transform: uppercase;
  content: attr(data-unchecked);
  transition: inherit;
}

.switch-label .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(22px);
  transform: translateX(22px);
}

.switch-label .switch-input:checked ~ .switch-slider::after {
  left: 1px;
  color: #fff;
  content: attr(data-checked);
}

.switch-label.switch-lg {
  width: 56px;
  height: 30px;
}

.switch-label.switch-lg .switch-slider {
  font-size: 12px;
}

.switch-label.switch-lg .switch-slider::before {
  width: 24px;
  height: 24px;
}

.switch-label.switch-lg .switch-slider::after {
  font-size: 12px;
}

.switch-label.switch-lg .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(26px);
  transform: translateX(26px);
}


.switch-label.switch-sm {
  width: 40px;
  height: 22px;
}

.switch-label.switch-sm .switch-slider {
  font-size: 8px;
}

.switch-label.switch-sm .switch-slider::before {
  width: 16px;
  height: 16px;
}

.switch-label.switch-sm .switch-slider::after {
  font-size: 8px;
}

.switch-label.switch-sm .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(18px);
  transform: translateX(18px);
}

.switch-3d .switch-slider {
  background-color: #f0f3f5;
  border-radius: 50em;
}

.switch-3d .switch-slider::before {
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.switch-3d.switch-lg {
  width: 48px;
  height: 30px;
}

.switch-3d.switch-lg .switch-slider::before {
  width: 30px;
  height: 30px;
}

.switch-3d.switch-lg .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(18px);
  transform: translateX(18px);
}

.switch-3d.switch-sm {
  width: 32px;
  height: 22px;
}

.switch-3d.switch-sm .switch-slider::before {
  width: 22px;
  height: 22px;
}

.switch-3d.switch-sm .switch-input:checked ~ .switch-slider::before {
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

.switch-primary .switch-input:checked + .switch-slider {
  background-color: #20a8d8;
  border-color: #1985ac;
}

.switch-primary .switch-input:checked + .switch-slider::before {
  border-color: #1985ac;
}

.switch-outline-primary .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #20a8d8;
}

.switch-outline-primary .switch-input:checked + .switch-slider::before {
  border-color: #20a8d8;
}

.switch-outline-primary .switch-input:checked + .switch-slider::after {
  color: #20a8d8;
}

.switch-outline-primary-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #20a8d8;
}

.switch-outline-primary-alt .switch-input:checked + .switch-slider::before {
  background-color: #20a8d8;
  border-color: #20a8d8;
}

.switch-outline-primary-alt .switch-input:checked + .switch-slider::after {
  color: #20a8d8;
}

.switch-secondary .switch-input:checked + .switch-slider {
  background-color: #af82c9;
  border-color: #a6c;
}

.switch-secondary .switch-input:checked + .switch-slider::before {
  border-color: #acb5bc;
}

.switch-outline-secondary .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #c8ced3;
}

.switch-outline-secondary .switch-input:checked + .switch-slider::before {
  border-color: #c8ced3;
}

.switch-outline-secondary .switch-input:checked + .switch-slider::after {
  color: #c8ced3;
}

.switch-outline-secondary-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #c8ced3;
}

.switch-outline-secondary-alt .switch-input:checked + .switch-slider::before {
  background-color: #c8ced3;
  border-color: #c8ced3;
}

.switch-outline-secondary-alt .switch-input:checked + .switch-slider::after {
  color: #c8ced3;
}

.switch-success .switch-input:checked + .switch-slider {
  background-color: #4dbd74;
  border-color: #3a9d5d;
}

.switch-success .switch-input:checked + .switch-slider::before {
  border-color: #3a9d5d;
}

.switch-outline-success .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #4dbd74;
}
.switch-outline-success .switch-input:checked + .switch-slider::before {
  border-color: #4dbd74;
}

.switch-outline-success .switch-input:checked + .switch-slider::after {
  color: #4dbd74;
}

.switch-outline-success-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #4dbd74;
}

.switch-outline-success-alt .switch-input:checked + .switch-slider::before {
  background-color: #4dbd74;
  border-color: #4dbd74;
}

.switch-outline-success-alt .switch-input:checked + .switch-slider::after {
  color: #4dbd74;
}

.switch-info .switch-input:checked + .switch-slider {
  background-color: #63c2de;
  border-color: #39b2d5;
}

.switch-info .switch-input:checked + .switch-slider::before {
  border-color: #39b2d5;
}

.switch-outline-info .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #63c2de;
}

.switch-outline-info .switch-input:checked + .switch-slider::before {
  border-color: #63c2de;
}

.switch-outline-info .switch-input:checked + .switch-slider::after {
  color: #63c2de;
}

.switch-outline-info-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #63c2de;
}

.switch-outline-info-alt .switch-input:checked + .switch-slider::before {
  background-color: #63c2de;
  border-color: #63c2de;
}

.switch-outline-info-alt .switch-input:checked + .switch-slider::after {
  color: #63c2de;
}

.switch-warning .switch-input:checked + .switch-slider {
  background-color: #ffc107;
  border-color: #d39e00;
}

.switch-warning .switch-input:checked + .switch-slider::before {
  border-color: #d39e00;
}

.switch-outline-warning .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #ffc107;
}

.switch-outline-warning .switch-input:checked + .switch-slider::before {
  border-color: #ffc107;
}
.switch-outline-warning .switch-input:checked + .switch-slider::after {
  color: #ffc107;
}

.switch-outline-warning-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #ffc107;
}

.switch-outline-warning-alt .switch-input:checked + .switch-slider::before {
  background-color: #ffc107;
  border-color: #ffc107;
}

.switch-outline-warning-alt .switch-input:checked + .switch-slider::after {
  color: #ffc107;
}

.switch-danger .switch-input:checked + .switch-slider {
  background-color: #f86c6b;
  border-color: #f63c3a;
}

.switch-danger .switch-input:checked + .switch-slider::before {
  border-color: #f63c3a;
}

.switch-outline-danger .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #f86c6b;
}

.switch-outline-danger .switch-input:checked + .switch-slider::before {
  border-color: #f86c6b;
}
.switch-outline-danger .switch-input:checked + .switch-slider::after {
  color: #f86c6b;
}

.switch-outline-danger-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #f86c6b;
}

.switch-outline-danger-alt .switch-input:checked + .switch-slider::before {
  background-color: #f86c6b;
  border-color: #f86c6b;
}

.switch-outline-danger-alt .switch-input:checked + .switch-slider::after {
  color: #f86c6b;
}

.switch-light .switch-input:checked + .switch-slider {
  background-color: #f0f3f5;
  border-color: #d1dbe1;
}

.switch-light .switch-input:checked + .switch-slider::before {
  border-color: #d1dbe1;
}

.switch-outline-light .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #f0f3f5;
}

.switch-outline-light .switch-input:checked + .switch-slider::before {
  border-color: #f0f3f5;
}

.switch-outline-light .switch-input:checked + .switch-slider::after {
  color: #f0f3f5;
}
.switch-outline-light-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #f0f3f5;
}

.switch-outline-light-alt .switch-input:checked + .switch-slider::before {
  background-color: #f0f3f5;
  border-color: #f0f3f5;
}

.switch-outline-light-alt .switch-input:checked + .switch-slider::after {
  color: #f0f3f5;
}

.switch-dark .switch-input:checked + .switch-slider {
  background-color: #2f353a;
  border-color: #181b1e;
}

.switch-dark .switch-input:checked + .switch-slider::before {
  border-color: #181b1e;
}

.switch-outline-dark .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #2f353a;
}

.switch-outline-dark .switch-input:checked + .switch-slider::before {
  border-color: #2f353a;
}

.switch-outline-dark .switch-input:checked + .switch-slider::after {
  color: #2f353a;
}
.switch-outline-dark-alt .switch-input:checked + .switch-slider {
  background-color: #fff;
  border-color: #2f353a;
}

.switch-outline-dark-alt .switch-input:checked + .switch-slider::before {
  background-color: #2f353a;
  border-color: #2f353a;
}

.switch-outline-dark-alt .switch-input:checked + .switch-slider::after {
  color: #2f353a;
}

.switch-pill .switch-slider {
  border-radius: 50em;
}

.switch-pill .switch-slider::before {
  border-radius: 50em;
}

/* BUTTON */
a.question {
    color: #fff;
}
.btn[class*=btn-outline-] {
    padding-top: calc(.6rem - 2px);
    padding-bottom: calc(.6rem - 2px);
}
.btn {
    font-size: .9rem;
    padding: .7rem 2.14rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.16), 0 2px 4px 0 rgba(0,0,0,.12);
    text-transform: none;
}
.btn-group-toggle .btn.btn-sm {
    padding: .4rem 1.6rem .27rem;
    font-size: .8rem;
}
.btn-group-toggle .btn.btn-sm > input {
    height: 1rem;
    width: 1rem;
}
.btn.btn-sm {
    padding: .4rem 1.6rem .35rem;
    font-size: .8rem;
    line-height: 1.4;
}
.btn[class*=btn-outline-].btn-md {
    padding: .55rem 1.6rem .45rem;
    font-size: .9rem;
}
.btn[class*=btn-outline-].btn-sm {
    padding: .26rem 1.6rem .24rem;
    line-height: 1.3;
}
.btn.btn-md {
    font-size: 1rem;
    padding: .46rem 1.6rem;
}
.btn-outline-light {
    color: #ccc !important;
    border: 2px solid #ccc !important;
}
.btn-outline-light:not([disabled]):not(.disabled):hover, .btn-outline-light:not([disabled]):not(.disabled):hover,
.btn-outline-light:not([disabled]):not(.disabled).active, .btn-outline-light:not([disabled]):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {
    background-color: #e0e0e0 !important;
    border-color: #999 !important;
    color: #484848 !important;
}
.input-group-sm >.form-control {
    padding: .45rem;
    line-height: 1.2;
}
.input-group-sm > select.form-control {
    padding: .2rem .45rem;
}
.input-group-sm >.input-group-prepend >.input-group-text, .input-group-sm >.input-group-append >.input-group-text {
    padding: .3rem .5rem .15rem;
    line-height: 1.2;
}
.btn-group.btn-group-toggle > .btn:not(.active) {
    opacity: 0.3;
}

/* FRACTION */
.fraction-group {
    display: inline-flex;
    align-items: center;
    margin-top: -0.25rem;
    margin-bottom: -0.25rem;
}
.fraction-group > .fraction-integer, .fraction-group > .fraction {
    display: inline-block;
    padding-left: .15rem;
    padding-right: .15rem;
}
.fraction-group > .fraction > .numerator, .fraction-group > .fraction > .denominator {
    font-size: .5rem;
    line-height: 1.1;
}
.fraction-group > .fraction > .denominator {
    border-top: 1px solid #333;
}

#save-btn-card {
    position: sticky;
    bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
    z-index: 3;
}
#save-btn-card .btn {
    margin: 0;
}

/* PAGINATION */
.pagination-block {
    display: flex;
    align-items: center;
    margin-bottom: .25rem;
}
@media (max-width: 575.98px) {
.pagination-block {
    display: block;
}
.pagination-page-number {
    font-size: .9rem;
    margin-bottom: .25rem;
}
}
.pagination {
    margin-bottom: 0;
    flex: 1 1 auto!important;
}
.pagination .page-item .page-link {
    color: #666;
}
.page-link {
    padding: .6rem .75rem;
    line-height: 1;
}
.pagination-links,
.pagination-page-number {
    text-align: center;
}
.pagination-page-number {
    margin-top: .25rem;
    margin-right: 1rem;
}
.pagination-datetime {
    font-size: .9rem;
}
.pagination-links {
    margin-left: auto;
}

/* DATE PICKER */
.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 18rem;
}
.bootstrap-datetimepicker-widget table thead th {
    vertical-align: middle;
}
.bootstrap-datetimepicker-widget .picker-switch.accordion-toggle > table {
    table-layout: fixed;
}
.input-group.date .input-group-append[data-toggle=datetimepicker] > .btn-outline-light {
    border-width: 1px !important;
}

.popover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* GOOGLE MAP */
.map-container{
    overflow:hidden;
    position:relative;
    height:384px;
}
.map-container iframe{
    height:100%;
    width:100%;
}

/* Font-Size */
.fs15 {
    font-size: 1.5rem !important;
}
.fs175 {
    font-size: 1.75rem !important;
}


/* WIDTH */
.w0 {
    width: 1px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.w10 {
    width: 10px !important;
}
.w15 {
    width: 15px !important;
}
.w20 {
    width: 20px !important;
}
.w25 {
    width: 25px !important;
}
.w30 {
    width: 30px !important;
}
.w40 {
    width: 40px !important;
}
.w50 {
    width: 50px !important;
}
.w60 {
    width: 60px !important;
}
.w70 {
    min-width: 70px !important;
    width: 70px !important;
}
.w80 {
    min-width: 80px !important;
    width: 80px !important;
}
.w90 {
    min-width: 90px !important;
    width: 90px !important;
}
.w100 {
    min-width: 100px !important;
    width: 100px !important;
}
.w110 {
    width: 110px !important;
}
.w120 {
    width: 120px !important;
}
.w130 {
    width: 130px !important;
}
.w140 {
    width: 140px !important;
}
.w150 {
    width: 150px !important;
}
.w160 {
    width: 160px !important;
}
.w170 {
    width: 170px !important;
}
.w180 {
    width: 180px !important;
}
.w190 {
    width: 190px !important;
}
.w200 {
    width: 200px !important;
}
.w210 {
    width: 210px !important;
}
.w220 {
    width: 220px !important;
}
.w230 {
    width: 230px !important;
}
.w240 {
    width: 240px !important;
}
.w260 {
    width: 260px !important;
}
.w280 {
    width: 280px !important;
}
.w290 {
    width: 290px !important;
}
.w300 {
    width: 300px !important;
}
.w310 {
    width: 310px !important;
}
.w320 {
    width: 320px !important;
}
.w340 {
    width: 340px !important;
}
.w350 {
    width: 350px !important;
}
.w360 {
    width: 360px !important;
}
.w380 {
    width: 380px !important;
}
.w400 {
    width: 400px !important;
}
.w420 {
    width: 420px !important;
}
.w440 {
    width: 440px !important;
}
.w450 {
    width: 450px !important;
}
.w460 {
    width: 460px !important;
}
.w480 {
    width: 480px !important;
}
.w490 {
    width: 490px !important;
}
.w500 {
    width: 500px !important;
}
.w520 {
    width: 520px !important;
}
.w540 {
    width: 540px !important;
}
.w560 {
    width: 560px !important;
}
.w580 {
    width: 580px !important;
}
.w600 {
    width: 600px !important;
}
.w620 {
    width: 620px !important;
}
.w640 {
    width: 640px !important;
}
.w660 {
    width: 660px !important;
}
.w680 {
    width: 680px !important;
}
.w700 {
    width: 700px !important;
}
.w720 {
    width: 720px !important;
}
.w740 {
    width: 740px !important;
}
.w750 {
    width: 750px !important;
}
.w760 {
    width: 760px !important;
}
.w780 {
    width: 780px !important;
}
.w800 {
    width: 800px !important;
}
.w820 {
    width: 820px !important;
}
.w840 {
    width: 840px !important;
}
.w860 {
    width: 860px !important;
}
.w900 {
    width: 900px !important;
}
.w910 {
    width: 910px !important;
}
.w920 {
    width: 920px !important;
}
.w940 {
    width: 940px !important;
}
.w960 {
    width: 960px !important;
}
.w1000 {
    width: 1000px !important;
}
.w1100 {
    width: 100%;
    max-width: 1100px;
}
.w1200 {
    width: 100%;
    max-width: 1200px;
}
.w1260 {
    width: 100%;
    max-width: 1260px;
}
.w1300 {
    width: 100%;
    max-width: 1300px;
}
.w1360 {
    width: 100%;
    max-width: 1360px;
}
.w1400 {
    width: 100%;
    max-width: 1400px;
}
.w1600 {
    width: 100%;
    max-width: 1600px;
}
.w1800 {
    width: 100%;
    max-width: 1800px;
}
.w-1600 {
    width: 1600px;
}
.w-1800 {
    width: 1800px;
}
.w-2000 {
    width: 2000px;
}
.w-2100 {
    width: 2100px;
}
.w-2150 {
    width: 2150px;
}
.w-2200 {
    width: 2200px;
}

/* MAX WIDTH */
.mw-xl {
    max-width: 1163px;
}

/* HEIGHT */
.h30 {
    height: 30px !important;
}
.h40 {
    height: 40px !important;
}
.h50 {
    height: 50px !important;
}
.h60 {
    height: 60px !important;
}
.h70 {
    height: 70px !important;
}
.h80 {
    height: 80px !important;
}
.h100 {
    height: 100px !important;
}
.h200 {
    height: 200px !important;
}
.h220 {
    height: 220px !important;
}
.h300 {
    height: 300px !important;
}
.h400 {
    height: 400px !important;
}
.h500 {
    height: 500px !important;
}
.h600 {
    height: 600px !important;
}

.vh50 {
    height: 50vh;
}
.vh60 {
    height: 60vh;
}
.vh70 {
    height: 70vh;
}
.vh80 {
    height: 80vh;
}

/* MIN-HEIGHT */
.min-h50 {
    min-height: 50vh;
}
.min-h60 {
    min-height: 60vh;
}
.min-h70 {
    min-height: 70vh;
}

.overflow-y-scroll {
    overflow-y: scroll;
    overflow-x: hidden;
    margin-right: -1rem;
}
.overflow-y-scroll::-webkit-scrollbar {
    width: 1rem;
}
.overflow-y-scroll::-webkit-scrollbar-track {
    background: inherit;
    border-radius: 5px;
}
.overflow-y-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 5px;
}

.overflow-x-scroll {
    overflow-y: hidden;
    overflow-x: scroll;
}

#location-href {
    position: fixed;
    left: 0;
    bottom: 0;
    display: inline-block;
    padding: .2rem .75rem;
    font-size: .6rem;
    background-color: rgb(240,240,240);
    border: 1px solid #bcbcbc;
    border-top-right-radius: .25rem;
    z-index: 2000;
}

/* DATE */
.form-control-date-label {
    position: relative;
    display: block;
    height: calc(1.5em + .75rem + 2px);
    min-width: 126px;
    margin: 0;
    padding: 0 !important;
    border: none;
}
.form-control-date-label > input[type=month],
.form-control-date-label > input[type=date] {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    cursor: pointer;
}
.form-control-date-label > input[type=month]:before,
.form-control-date-label > input[type=date]:before {
    font-family: "Font Awesome 5 Free";
    content: "\f073";
    position: absolute;
    right: .75rem;
    font-size: 1.2rem;
    font-weight: bold;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: #999;
    line-height: 1.4;
}
.form-control-date-label > input[type=month] + .date,
.form-control-date-label > input[type=date] + .date {
    position: absolute;
    top: 1px;
    left: 1px;
    text-align: center;
    width: calc(100% - 32px);
    height: calc(100% - 2px);
    /*height: 100%;*/
    border: none;
    border-right: 1px solid #dee2e6;;
    border-radius: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple,
.select2-selection, textarea:not(:read-only),
.form-control.dropdown-toggle, select.form-control,
input[type=text]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=password]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=number]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=tel]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=email]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=address]:not(:read-only):not(:disabled):not(.is-invalid),
input[type=date]:not(:read-only):not(:disabled) :not(.is-invalid){
    /*box-shadow: 0px 0px 2px 1px #c7dbd8 inset;*/
    box-shadow: 0px 0px 4px 1px #e6f2f0 inset;
    border: 1px solid #c7dbd8;
}

/* FILEINPUT */
.file-drop-zone-title {
    font-size: 1rem !important;
}
.file-preview .fileinput-remove.close {
    top: 7px;
    right: 4px;
}

/* COLOR */
.pink-text {
    color: #e288cc !important;
}
.orange-text {
    color: #ff9800 !important;
}
.cyan-text {
    color: #00bcd4 !important;
}
/* DATEPICKER */
.datepicker > .datepicker-days {
    border-bottom: 1px solid #ddd;
    margin-bottom: 4px;
}
.datepicker thead > tr {
    background-color: #fff;
    color: #212529;
    border: 0;
    border-bottom: 1px solid #ddd;
}
.datepicker .datepicker-days thead > tr:nth-child(2) > th:first-child {
    color: #f26964;
}
.datepicker .datepicker-days thead > tr:nth-child(2) > th:last-child {
    color: #3594dc;
}
.bootstrap-datetimepicker-widget table td i:hover,
.bootstrap-datetimepicker-widget table td.day:hover,
.input-group.date .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
    background-color: rgba(168,168,168,0.3) !important;
}
.bootstrap-datetimepicker-widget .picker-switch td {
    padding: 0 6px !important;
}
.bootstrap-datetimepicker-widget .picker-switch a[data-action] {
    border: 1px solid #ddd;
    border-radius: .25rem;
}
