﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
  font-size: 16px;
}
@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: 100vh;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/

    font-family: "Roboto", sans-serif;
    background-color: #f8fafb;
    /*height: 100%;*/
}
.main-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

p {
    color: #b3b3b3;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Roboto", sans-serif;
}

h1 {
    color: #5853A3;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    text-decoration: none !important;
}

    a:hover {
        text-decoration: none !important;
    }

label{
    font-weight: 600;
}

.w-2{
    width: 200px;
}

.w-2r {
    width: 2rem !important;
}

.w-4r {
    width: 4rem !important;
}

.w-6r {
    width: 6rem !important;
}

.w-8r {
    width: 8rem !important;
}

.w-10r {
    width: 10rem !important;
}

.w-12r {
    width: 12rem !important;
}

.w-14r {
    width: 14rem !important;
}

.w-16r {
    width: 16rem !important;
}

.w-18r {
    width: 18rem !important;
}

.w-20r {
    width: 20rem !important;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #5853A3;
}

table.table {
    padding: 1rem 0;
}

table.table-cell-width-custom {
    padding: 1rem 0;
    width: 100%;
    table-layout: fixed;
}
    table.table-cell-width-custom .table-w-5 {
        width: 5%;
    }
    table.table-cell-width-custom .table-w-10 {
        width: 10%;
    }
    table.table-cell-width-custom .table-w-15 {
        width: 15%;
    }
    table.table-cell-width-custom .table-w-20 {
        width: 20%;
    }
    table.table-cell-width-custom .table-w-25 {
        width: 25%;
    }
    table.table-cell-width-custom .table-w-30 {
        width: 30%;
    }
    table.table-cell-width-custom .table-w-35 {
        width: 35%;
    }
    table.table-cell-width-custom .table-w-40 {
        width: 40%;
    }
    table.table-cell-width-custom .table-w-45 {
        width: 45%;
    }
    table.table-cell-width-custom .table-w-50 {
        width: 50%;
    }

table.dataTable thead th {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    position: sticky !important;
    top: 0;
    background: #fff;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

table tbody tr td{
    vertical-align: middle;
}

/* Format when text so long in table */
.format-long-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*MENU BAR*/
.sidebar .nav li .no-link-custom:hover {
    background: none !important;
}
.sidebar .nav li.active .no-link-custom {
    background: none !important;
}

/* BACK TO TOP BTN */
#bttop {
    display: inline-block;
    background-color: #5853A3;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
    #bttop::after {
        content: "\f106";
        font-family: 'Font Awesome\ 5 Free';
        font-weight: bold;
        font-style: normal;
        font-size: 3em;
        line-height: 55px;
        color: #fff;
    }
    #bttop:hover {
        cursor: pointer;
        background-color: #333;
    }
    #bttop:active {
        background-color: #555;
    }
    #bttop.show {
        opacity: 1;
        visibility: visible;
    }


/* LOGIN FORM CSS */
.login-content {
    padding: 7rem 0;
    transform: translate(-50%, -50%);
    top: 45%;
    left: 50%;
    position: absolute;
    width: 100%;
    margin: 0 auto;
}

h2 {
    font-size: 20px;
}

@media (max-width: 991.98px) {
    .login-content .bg {
        height: 500px;
    }
}

.login-content .contents, .login-content .bg {
    width: 50%;
}

@media (max-width: 1199.98px) {
    .login-content .contents, .login-content .bg {
        width: 100%;
    }
}

.login-content .contents .form-group, .login-content .bg .form-group {
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 15px 15px;
    position: relative;
    border: 1px solid #d6e1e8;
}

    .login-content .contents .form-group label, .login-content .bg .form-group label {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
    }

    .login-content .contents .form-group input, .login-content .bg .form-group input {
        background: transparent;
        padding-left: 3rem;
        font-weight: 600;
    }

    .login-content .contents .form-group.first, .login-content .bg .form-group.first {
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
        margin-top: 1rem;
    }

    .login-content .contents .form-group.last, .login-content .bg .form-group.last {
        border-bottom-left-radius: 7px;
        border-bottom-right-radius: 7px;
        margin-top: 1rem;
    }

    .login-content .contents .form-group label, .login-content .bg .form-group label {
        display: block;
        margin-bottom: 0;
        color: #b3b3b3;
        padding-top: 1rem;
    }

    .login-content .contents .form-group.focus, .login-content .bg .form-group.focus {
        background: #fff;
    }

    .login-content .contents .form-group.field--not-empty label, .login-content .bg .form-group.field--not-empty label {
        margin-top: -25px;
        padding-top: 1rem;
    }

.login-content .contents .form-control, .login-content .bg .form-control {
    border: none;
    padding: 0;
    font-size: 18px;
    border-radius: 0;
}

    .login-content .contents .form-control:active, .login-content .contents .form-control:focus, .login-content .bg .form-control:active, .login-content .bg .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.login-content .bg {
    background-size: cover;
    background-position: center;
}

.login-content a {
    color: #888;
    text-decoration: underline;
}

.login-content .btn {
    height: 54px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.login-content .forgot-pass {
    position: relative;
    top: 2px;
}


.floating-label .icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 55px;
    width: 45px;
    display: flex;
    border-right: 1px solid #d6e1e8;
}

    .floating-label .icon svg {
        margin: auto;
        transition: all 0.3s ease;
    }
    .floating-label .icon .svg-icon {
        height: 25px;
        width: 25px;
    }

        .floating-label .icon .svg-icon path,
        .floating-label .icon .svg-icon polygon,
        .floating-label .icon .svg-icon rect {
            fill: #5853A3;
        }

        .floating-label .icon .svg-icon circle {
            stroke: #5853A3;
            stroke-width: 2;
        }

        .floating-label .icon svg path {
            transition: all 0.3s ease;
        }
.floating-label input:valid:not(:placeholder-shown) + label + .icon svg {
    opacity: 1;
}


/* end LOGIN FORM CSS */


.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
}

    .control .caption {
        position: relative;
        top: .2rem;
        color: #888;
    }

    .control input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #6c63ff;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #847dff;
}

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.9;
    pointer-events: none;
}

.control__indicator:after {
    font-family: 'Material Icons';
    content: '\E876';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff;
}

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #7e0cf5;
    opacity: .2;
}

.main-dashboard {
    box-shadow: rgba(50, 50, 93, 0.1) 2px 2px 2px -1px, rgba(50, 50, 93, 0.1) -2px -2px 2px -1px;
    background-color: #f8fafb;
    padding:1rem 2rem;
    margin:1rem auto;
}


/* BUTTON CSS */
/*.btn-common {
    border: none;
    border-radius: .2rem;
    padding: 8px 16px;
    margin:.2rem;
    outline: none;
    font-weight: 600;
    box-shadow: 2px 2px 2px rgb(0 0 0 / 20%), -2px -2px 2px rgb(255 255 255 / 40%);
}
    .btn-common.btn-green {
        background: #049F0C;
        color:#fff;
    }
        .btn-common.btn-green:hover {
            background: #05d110;
            color: #fff;
        }
    .btn-common.btn-blue {
        background: #3472F7;
        color: #fff;
    }
        .btn-common.btn-blue:hover {
            background: #6594f9;
            color: #fff;
        }
        .btn-common.btn-blue:active {
            background: #6594f9;
            color: #fff;
        }
    .btn-common.btn-red {
        background: #FF4A55;
        color: #fff;
    }
        .btn-common.btn-red:hover {
            background: #ff7d85;
            color: #fff;
        }
        .btn-common.btn-red:active {
            background: #ff7d85;
            color: #fff;
        }
    .btn-common.btn-grey {
        background: #7e7e7e;
        color: #fff;
    }
        .btn-common.btn-grey:hover {
            background: #a4a4a4;
            color: #fff;
        }
        .btn-common.btn-grey:active {
            background: #a4a4a4;
            color: #fff;
        }
*/

.btn-outline-purple {
    color: #5853A3;
    border-color: #5853A3;
}

    .btn-outline-purple:hover {
        color: #fff;
        background-color: #464282;
        border-color: #464282;
    }

    .btn-check:focus + .btn-outline-purple, .btn-outline-purple:focus {
        box-shadow: 0 0 0 0.25rem rgba(79, 74, 146, 0.5);
    }

    .btn-check:checked + .btn-outline-purple, .btn-check:active + .btn-outline-purple, .btn-outline-purple:active, .btn-outline-purple.active, .btn-outline-purple.dropdown-toggle.show {
        color: #fff;
        background-color: #464282;
        border-color: #464282;
    }

        .btn-check:checked + .btn-outline-purple:focus, .btn-check:active + .btn-outline-purple:focus, .btn-outline-purple:active:focus, .btn-outline-purple.active:focus, .btn-outline-purple.dropdown-toggle.show:focus {
            box-shadow: 0 0 0 0.25rem rgba(79, 74, 146, 0.5);
        }

    .btn-outline-purple:disabled, .btn-outline-purple.disabled {
        color: #464282;
        background-color: transparent;
    }

.btn-outline-purple-op {
    color: #fff;
    border-color: #373366;
    background-color: #5853A3;
}

    .btn-outline-purple-op:hover {
        color: #5853A3;
        background-color: #fff;
        border-color: #464282;
    }

    .btn-check:focus + .btn-outline-purple-op, .btn-outline-purple-op:focus {
        color: #5853A3;
        background-color: #fff;
    }

    .btn-check:checked + .btn-outline-purple-op, .btn-check:active + .btn-outline-purple-op, .btn-outline-purple-op:active, .btn-outline-purple-op.active, .btn-outline-purple-op.dropdown-toggle.show {
        color: #5853A3;
        background-color: #fff;
        border-color: #464282;
    }

        .btn-check:checked + .btn-outline-purple-op:focus, .btn-check:active + .btn-outline-purple-op:focus, .btn-outline-purple-op:active:focus, .btn-outline-purple-op.active:focus, .btn-outline-purple-op.dropdown-toggle.show:focus {
            color: #5853A3;
            background-color: #fff;
        }

    .btn-outline-purple-op:disabled, .btn-outline-purple-op.disabled {
        color: #fff;
        background-color: #5853A3;
    }

.btn-outline-fire {
    color: #b22222;
    border-color: #b22222;
}

    .btn-outline-fire:hover {
        color: #fff;
        background-color: #8e1b1b;
        border-color: #8e1b1b;
    }

    .btn-check:focus + .btn-outline-fire, .btn-outline-fire:focus {
        box-shadow: 0 0 0 0.25rem rgba(79, 74, 146, 0.5);
    }

    .btn-check:checked + .btn-outline-fire, .btn-check:active + .btn-outline-fire, .btn-outline-fire:active, .btn-outline-fire.active, .btn-outline-fire.dropdown-toggle.show {
        color: #fff;
        background-color: #8e1b1b;
        border-color: #8e1b1b;
    }

        .btn-check:checked + .btn-outline-fire:focus, .btn-check:active + .btn-outline-fire:focus, .btn-outline-fire:active:focus, .btn-outline-fire.active:focus, .btn-outline-fire.dropdown-toggle.show:focus {
            box-shadow: 0 0 0 0.25rem rgba(79, 74, 146, 0.5);
        }

    .btn-outline-fire:disabled, .btn-outline-fire.disabled {
        color: #8e1b1b;
        background-color: transparent;
    }

.btn-outline-fire-op {
    color: #fff;
    border-color: #6a1414;
    background-color: #b22222;
}

    .btn-outline-fire-op:hover {
        color: #b22222;
        background-color: #fff;
        border-color: #8e1b1b;
    }

    .btn-check:focus + .btn-outline-fire-op, .btn-outline-fire-op:focus {
        color: #b22222;
        background-color: #fff;
    }

    .btn-check:checked + .btn-outline-fire-op, .btn-check:active + .btn-outline-fire-op, .btn-outline-fire-op:active, .btn-outline-fire-op.active, .btn-outline-fire-op.dropdown-toggle.show {
        color: #b22222;
        background-color: #fff;
        border-color: #8e1b1b;
    }

        .btn-check:checked + .btn-outline-fire-op:focus, .btn-check:active + .btn-outline-fire-op:focus, .btn-outline-fire-op:active:focus, .btn-outline-fire-op.active:focus, .btn-outline-fire-op.dropdown-toggle.show:focus {
            color: #b22222;
            background-color: #fff;
        }

    .btn-outline-fire-op:disabled, .btn-outline-fire-op.disabled {
        color: #fff;
        background-color: #b22222;
    }


/*make input likes input disabled*/
.input-disabled{
    background: #f0f0f0;
    opacity: 1;
}
    .input-disabled:focus {
        border-color: #ced4da !important;
        box-shadow: none !important;
        background-color: #f0f0f0 !important;
    }


/*checkbox css for actions in 売上確認*/
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    padding: 0 10px;
}

.checkbox-label {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 0 10px;
    cursor: pointer;
    width:100%;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    margin-right: 10px;
}

    .checkbox-custom:before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background-color: #fff;
        border: none;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

.checkbox-input:checked ~ .checkbox-custom:before {
    background-color: #337ab7;
}

.checkbox-label:hover .checkbox-custom:before {
    background-color: #ccc;
}

/* Dropdown list for Action in 売上確認画面 */
.accordion-button {
    padding: .375rem .75rem !important;
}
.accordion-body {
    position: absolute;
    background-color: #fafafa;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #ccc, -1px -1px 2px #ccc;
    z-index: 99;
    width: 46%;
}
.accordion-header {
    padding: 0.375rem 0.75rem;
}
.accordion-item:first-of-type .accordion-button{
    color: unset !important;
    background-color: unset !important;
    box-shadow: unset !important;
}

/* Checkbox for ファミリー商品 */
.slideCheckBox {
    width: 80px;
    height: 26px;
    background: #fff;
    position: relative;
    border-radius: 50px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.3), inset 0px -1px 1px rgba(0, 0, 0, 0.3);
}

    .slideCheckBox:after {
        content: 'OFF';
        color: red;
        position: absolute;
        right: 10px;
        z-index: 0;
        font: 12px/26px Arial, sans-serif;
        font-weight: bold;
        text-shadow: 1px 1px 0px rgba(255, 255, 255, .15);
    }

    .slideCheckBox:before {
        content: 'ON';
        color: green;
        position: absolute;
        left: 10px;
        z-index: 0;
        font: 12px/26px Arial, sans-serif;
        font-weight: bold;
    }

    .slideCheckBox label {
        display: block;
        width: 34px;
        height: 20px;
        cursor: pointer;
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: 1;
        background: #5853A3;
        border-radius: 50px;
        transition: all 0.4s ease;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    }

    .slideCheckBox input[type=checkbox] {
        visibility: hidden;
    }

        .slideCheckBox input[type=checkbox]:checked + label {
            left: 43px;
        }
 


/* CSS for page loading */
.page-loader {
    overflow:unset;
    width: 100%;
    height: 100vh;
    position: absolute;
    /*background: rgba(0,0,0,0.1);*/
    background: #272727;
    opacity: 0.9;
    z-index: 1100;
}

    .page-loader .txt {
        color: #939393;
        text-align: center;
        top: 45%;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.3rem;
        font-weight: bold;
        line-height: 1.5;
    }

.spinner {
    position: relative;
    top: 42%;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    /*background-color: #fff;*/
    /*border-radius: 100%;*/
    /*-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;*/
    /*animation: sk-scaleout 1.0s infinite ease-in-out;*/

    border: 30px solid;
    border-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.5);
    /*display: inline-block;*/
    animation: animloader 1s linear infinite;
}

@keyframes animloader {
    0% {
        border-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.75);
    }

    33% {
        border-color: rgba(255, 255, 255, 0.75) rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35);
    }

    66% {
        border-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.75) rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.25);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.75) rgba(255, 255, 255, 0.15);
    }
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}


.news-list {
    list-style: none outside;
    margin: 0;
    padding: 0;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
}

.news-list .item:first-child a {
    border-top: 1px solid #CCC;
}

.news-list .item .date {
    margin: 0;
    min-width: 20%;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
}

.news-list .item .title {
    margin: 0;
    width: 20%;
    text-align: left;
}

    .news-list .item a:hover .title {
        color: #5853A3;
    }

.news-list .item .contents {
    margin: 0;
    width: 60%;
    text-align: left;
}
    .news-list .item a:hover .contents {
        color: #5853A3;
    }

@media screen and (max-width: 767px) {
    .news-list .item a {
        flex-wrap: wrap;
    }

    .news-list .item .date {
        min-width: 100px;
    }

    .news-list .item .title {
        margin-top: 10px;
    }
}

/* 装飾 */

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/* MultiSelect */
.multiselect-dropdown {
    width: 100% !important;
    padding: .375rem .75rem !important;
}
    .multiselect-dropdown span.optext, .multiselect-dropdown span.placeholder{
        margin-bottom: 0 !important;
    }

/* Select2 library, dropdown with search */
.select2 .selection .select2-selection.select2-selection--single {
    height: auto !important;
    padding: 0.25rem 0.75rem !important;
    display: flex !important;
    justify-content: left !important;
    align-items: center !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top:auto !important;
    width: 40px !important;
}
.select2-results__option{
    padding: 6px 20px !important;
}

/* Set animation for show/hide div at login */
#login-form-container, #hansha-container {
    animation: fadeIn 1s;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* AI-YLT商品連携 */
.img-container--table-cell {
 width: 200px;
 height: 200px;
}
.img-container--table-cell img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.select2-dropdown {
    z-index: 9001;
}
.modal .select2.select2-container.select2-container--default{
    width: 100% !important;
}

.modal-xl .modal-body {
    max-height: 80vh; 
    overflow-y: auto;
}