*, ::after, ::before {
    box-sizing: border-box;
}

/* responsive */

html, body {
    font-size: 16px;
}

@media only screen and (max-width: 1500px) {
    body {
        overflow: auto;
    }

    div#app {
        width: 1501px;
    }
}

/* end responsive */

body {
    background-color: #F1F1F1;
    font-weight: normal;
    margin: 0;
}

input:read-only {
    border: 1px solid #CFCFCF;
    background: #EBEBEB;
}

.header {
    width: 100vw;
    background: #FFAA00 0% 0% no-repeat padding-box;
    height: 4rem;
    margin-bottom: 3.75rem;
    padding: 0.75em 5em 0.75em 6.5em;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
    font-family: GenEi Gothic P;
}

.header .title-page {
    display: flex;
}

.header .logo {
    background-image: url("../../images/logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 2.5rem;
    width: 8.5rem;
}

.header .title-page .title {
    font-weight: bolder;
    margin: 0;
}

.header .title-page .title h3 {
    margin: 0;
    font-size: 1.5rem;
}

.container {
    font-family: normal normal bold 1.1rem/1.3rem Meiryo;
    margin: auto auto 4.5rem;
}

.section-body {
    padding: 0 5rem;
}

.description {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #BBBBBB;
}

.description .title {
    color: #707070;
    position: relative;
}

.description .title span {
    color: #707070;
    position: absolute;
    bottom: 0;
    word-break: keep-all;
    white-space: nowrap;
}

.description .note p {
    margin: 0;
}

.card-body {
    margin-top: 2.5rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.card-footer {
    margin-top: 4rem;
}

label {
    font-weight: bolder;
}

label.label-hidden {
    visibility: hidden;
}

.btn {
    height: 2.2rem;
    text-align: center;
    border-radius: 27px;
    color: white;
    opacity: 1;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn:disabled {
    opacity: 0.5;
}

.btn:not(.btn-header) {
    transition: linear 0.2s;
}

.btn:not(.btn-header):hover {
    opacity: 0.75;
}

.btn-lg {
    padding-top: 7px;
    padding-bottom: 11px;
    min-width: 13rem;
}

.btn-md {
    min-width: 10rem;
}

.btn-sm {
    min-width: 8rem;
}

.btn-header {
    background: #E59338 0% 0% no-repeat padding-box;
    min-width: 10.5rem;
    display: flex;
    justify-content: space-evenly;
    padding-top: 0.5em;
    height: 2.5rem;
}

.btn-header img {
    width: 1.1rem;
    height: 1.3rem
}

.btn-sort-table {
    width: 75%;
    position: relative;
    color: #000000;
    border-radius: 9px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
}

.btn-gradient-red {
    background: transparent linear-gradient(90deg, #E71D73 0%, #F39200 100%) 0% 0% no-repeat padding-box;
}

.btn-gradient-yellow {
    background: transparent linear-gradient(90deg, #EDC524 0%, #F7931E 100%) 0% 0% no-repeat padding-box;
}

.btn-gray {
    background: #888888 0% 0% no-repeat padding-box;
}

.btn-light-gray {
    background: #BBBBBB 0% 0% no-repeat padding-box;
}

.btn-light-red {
    background: #F35B5B 0% 0% no-repeat padding-box;
}

.btn-dark-red {
    background: #CE1862 0% 0% no-repeat padding-box;
}

.btn-green {
    background: #86BD8F 0% 0% no-repeat padding-box;
}

.btn-yellow {
    background: #FFA112 0% 0% no-repeat padding-box;
}

.btn-delete {
    background: #B54A4A 0% 0% no-repeat padding-box;
    font-size: 0.8rem;
}

.group-button {
    display: flex;
    align-items: center;
}

.paginate {
    margin-top: 80px;
    text-align: center;
}

ul.pagination {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.page-link{
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    width: 50px;
    height: 50px;
    transition: linear 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0px 5px;
}

.paginate .arrow-link {
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    width: 50px;
    height: 50px;
    transition: linear 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.page-link, .arrow-link {
    background: #FFFFFF;
    color: #92959B
}

.page-item.active .page-link, .paginate a.page-link:hover{
    background: #FFAA00;
    color: #FFFFFF
}

.pagination .arrow-link {
    background: #888888;
    color: #FFFFFF;
}

.arrow-link .previous {
    display: inline-block;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    padding: 6px;
    margin-left: 6px;
    transform: rotate(135deg);
}

.arrow-link .next {
    display: inline-block;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    padding: 6px;
    margin-right: 6px;
    transform: rotate(-45deg);
}

input, select, textarea {
    border: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 10px;
    font-size: 1rem;
    font-family: Arial;
}

textarea {
    padding: 15px;
    resize: none;
}

input[type=number], input[type="date"], input[type=text], input[type=search], input[type=password], select {
    height: 2.75rem;
    padding-left: 15px;
}

input[type=number], input[type="date"], input[type=text], input[type=search], input[type=password] {
    width: 13.5rem;
}

input[type=number]:disabled, input[type=text]:disabled, input[type=search]:disabled, input[type=password]:disabled, select:disabled, textarea:disabled,
input:read-only, textarea:read-only {
    background-color: #EBEBEB;
    border: 1px solid #CFCFCF;
}

label {
    display: block;
    margin-bottom: 12px;
}

.search-box {
    margin-bottom: 95px;
}
.contact-box {
    margin-bottom: 0;
}
.contact-group .input-group {
    display: flex;
    gap: 16px;
    align-items: center;
}
.contact-group .input-group label{
    margin-bottom: 5px;
    min-width: 96px;
    margin-right: -16px;
}
.contact-group .input-group input{
    width: 450px;
}
.search-box input[type=text],
.search-box input[type=search],
.search-box input[type=number] {
    min-width: 10.6rem;
}

.search-box select {
    min-width: 20.5rem;
}

.input-group {
    display: inline-block;
    margin-right: 48px;
    margin-top: 15px;
}

input:disabled, select:disabled, textarea:disabled {
    border: 1px solid #CFCFCF;
    background-color: #EBEBEB;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    background: #E59339 0% 0% no-repeat padding-box;
    z-index: 1;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: #FFFFFF !important;
    text-align: center;
}

.dropdown-content {
    border-bottom-left-radius: 27px;
    border-bottom-right-radius: 27px;
}

.dropdown-content a:last-child {
    border-bottom-left-radius: 27px;
    border-bottom-right-radius: 27px;
}

.dropdown.show-menu button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown.show-menu .dropdown-content {
    display: block;
}

.dropdown-content.long-dropdown {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 380px;
    min-width: 20rem;
}

/*custom select*/
.custom-select {
    display: inline-block;
}

.custom-select select {
    display: none;
}

.custom-select .btn.btn-dropdown {
    transition: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    height: 2.75rem;
    display: flex;
    justify-content: space-between;
    padding: 0.5em 1.1em 0 1.8em;
    color: #000000;
    border-radius: 10px;
}

.custom-select .dropdown.show-menu button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select .btn-dropdown .title {
    padding-top: 3px;
    line-height: 1.5;
    font-size: 1rem;
    text-align: left;
    height: 20px;
}

.custom-select .btn-dropdown .arrow {
    margin-top: 0.4em;
    border: solid #878787;
    border-width: 0 0.1rem 0.1rem 0;
    width: 0.75rem;
    height: 0.75rem;
    transform: rotate(45deg);
}

.custom-select .btn.btn-dropdown, .dropdown-content .element {
    width: 20rem;
}

.custom-select .dropdown.show-menu .btn-dropdown .arrow {
    margin-top: 0.75rem;
    transform: rotate(225deg);
}

.custom-select .dropdown-content {
    display: none;
    position: absolute;
    width: fit-content;
    z-index: 1;
}

.custom-select .dropdown-content .element {
    padding: 0.6em 2em;
    text-decoration: none;
    display: block;
    color: #000000 !important;
    text-align: left;
    background-color: #FFFFFF;
    margin: 0;
    cursor: pointer;
    word-break: keep-all;
    height: 44px;
}

.custom-select .dropdown-content .element:hover {
    background-color: #D3D3D3;
}

.custom-select .dropdown-content .element:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*custom select*/

/* .table-responsive {
    overflow-y: hidden;
    overflow-x: auto;
} */

.box-content {
    width: 400px;
    padding: 10px 0px 10px 10px;
    border: 1px solid #000000;
    border-radius: 10px;
    height: 10rem;
    overflow: hidden;
}

.box-content .content {
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.btn-sort-table .sort-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 0;
    height: 0;
    display: inline-block;
    border: 8px solid transparent;
    border-color: transparent transparent #707070 transparent;
}

.btn-sort-table.desc .sort-icon {
    top: 20px;
    border-color: #707070 transparent transparent transparent;
}

.date-picker {
    background-image: url("../../images/calendar.svg");
    background-repeat: no-repeat;
    background-position: 23px;
    padding-left: 55px !important;
    width: 100%;
}

.date-picker:focus {
    outline: none;
}

#ui-datepicker-div {
    display: none;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
}
.ui-datepicker-calendar {
    border-collapse: collapse;
    border-spacing: 0;
}
.ui-datepicker-calendar tr {
    border: none;
}
.ui-datepicker-calendar thead th {
    padding: 0.25rem 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    color: #78909C;
}

.ui-datepicker-calendar tbody td {
    width: 2.5rem;
    text-align: center;
    padding: 0;
}

.ui-datepicker-calendar tbody td a {
    display: block;
    border-radius: 0.25rem;
    line-height: 2rem;
    transition: 0.3s all;
    color: #546E7A;
    font-size: 0.875rem;
    text-decoration: none;
}

.ui-datepicker-calendar tbody td a:hover {
    background-color: #E0F2F1;
}

.ui-datepicker-calendar tbody td a.ui-state-active {
    background-color: #009688;
    color: white;
}

.ui-datepicker-header a.ui-corner-all {
    cursor: pointer;
    position: absolute;
    top: 0;
    width: 2rem;
    height: 2rem;
    margin: 0.5rem;
    border-radius: 0.25rem;
    transition: 0.3s all;
}

.ui-datepicker-header a.ui-corner-all:hover {
    background-color: #ECEFF1;
}

.ui-datepicker-header a.ui-datepicker-prev {
    left: 0;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-size: 0.5rem;
    background-position: 50%;
    transform: rotate(180deg);
}

.ui-datepicker-header a.ui-datepicker-next {
    right: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDEzIDEzIj48cGF0aCBmaWxsPSIjNDI0NzcwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjI4OCA2LjI5NkwzLjIwMiAyLjIxYS43MS43MSAwIDAgMSAuMDA3LS45OTljLjI4LS4yOC43MjUtLjI4Ljk5OS0uMDA3TDguODAzIDUuOGEuNjk1LjY5NSAwIDAgMSAuMjAyLjQ5Ni42OTUuNjk1IDAgMCAxLS4yMDIuNDk3bC00LjU5NSA0LjU5NWEuNzA0LjcwNCAwIDAgMS0xLS4wMDcuNzEuNzEgMCAwIDEtLjAwNi0uOTk5bDQuMDg2LTQuMDg2eiIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: 50%;
}

.ui-datepicker-header a > span {
    display: none;
}

.ui-datepicker-title {
    text-align: center;
    line-height: 2rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
}

.ui-datepicker-week-col {
    color: #78909C;
    font-weight: 400;
    font-size: 0.75rem;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    transform: translate(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    background: #FFAA00 0% 0% no-repeat padding-box;
    color: white;
    padding: 20px 35px 19px 56px
}

.modal-header .modal-title {
    font-size: 25px;
    display: inline-block;
    margin: 0;
}
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 92px auto auto;
    border: 1px solid #888;
    width: 850px;
}

.modal-body {
    margin-bottom: 92px;
}

.modal-body .message {
    min-width: 600px;
    line-height: 22px;
}

.alert-img {
    margin-right: 58px;
    padding-bottom: 50px;
}

.modal-content .close-modal {
    font-size: 30px;
}

.modal-body img {
    margin-right: 58px;
    padding-bottom: 50px;
}

.modal-footer {
    padding: 0 20px 120px ;
}

.modal-footer div {
    display: flex;
    justify-content: space-between;
    margin: 0px 40px;
}

.modal-footer button {
    padding: 10px 20px 20px 20px;
    width: 320px;
    height: 2.5rem !important;
}

.modal-content .modal-body {
    padding: 98px 0px 0px 0px;
    display: flex;
    justify-content: center;
}

/* The Close Button */
.close-modal {
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
}

.close-modal:hover,
.close-modal:focus {
    opacity: 0.85;
}

/* responsive table made by divs */
.res-tbl {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.res-tbl-header {
    display: table-header-group;
    background-color: transparent;
}

.res-tbl-header-cell {
    display: table-cell;
    padding: 10px;
    text-align: center;
    border-bottom: none;
}

.res-tbl-header-cell .btn-sort-table {
    padding: 10px 0;
    height: auto;
}

.res-tbl-body {
    display: table-row-group;
}

.res-tbl-body input[type="text"] {
    padding: 0;
    text-align: center;
    width: 5rem;
    height: 2.2rem;
    border: 1px solid #707070;
    background: #ffffff 0% 0% no-repeat padding-box;
}

.res-tbl-row {
    display: table-row;
}

.res-tbl-body-cell {
    display: table-cell;
    padding: 10px 5px;
    text-align: center;
    background-color: #fff;
    font-size: 0.8rem;
    border-bottom: 5px solid #F1F1F1;
}

.res-tbl-body-cell.product-name {
    min-width: 250px;
}
/* responsive table made by divs */

.validation-msg, .error-msg, .result-msg {
    font-weight: normal !important;
    margin-top: 10px;
}

.error-msg, .result-msg {
    padding: 0 5rem;
    margin-bottom: 20px;
}

.validation-msg, .error-msg {
    color:red !important;
}

div.no-record {
    text-align: center;
    padding: 15px 0px;
}

div.no-record span {
    width: 500px;
}

.arrival-schedule {
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 110px;
    cursor: auto;
}

.res-tbl .cart-item.not-enough-stock .res-tbl-body-cell {
    background-color: #FFC8C8;
}

.res-tbl .cart-item.stock-status-change .res-tbl-body-cell {
    background-color: #F9E6B0;
}

.input-wrapper {
    position: relative;
}

.input-wrapper img.icon {
    position: absolute;
    top: 50%;
    left: 35px;
    margin-left: auto;
    margin-right: auto;
    transform: translate(-50%, -50%);
}
