.wrapper-container {
    margin-bottom: 80px;
}

input, select {
    border-radius: 0 !important;
}

.v-spinner {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 100vh;
    z-index: 99999999999;
    background-color: rgba(237, 237, 237, 0.4);
}

.v-pulse {
    background-color: #0070c0 !important;
}

.bg-light {
    padding: 0;
    border-bottom: 3px solid #0070c0;
    background-color: #fff !important
}

.btn {
    border-radius: 0;
    font-weight: 500;
    font-size: 15px;
}

.btn-black {
    background-color: #8C8C8C !important;
    color: #fff !important
}

.btn-black:hover {
    background-color: #8C8C8C !important;
    color: #fff !important
}

.btn-yellow {
    background-color: #ffd966;
    color: #000
}

.btn-yellow:hover {
    background-color: #ffcc6c;
    color: #000
}

.btn-primary {
    background-color: #3F51B5 !important;
}

.btn-submit {
    min-width: 150px;
}

.sub-header {
    background-color: #D2D4DD !important;
    width: 100%;
    min-height: 80px;
    padding: 10px;
}

.sub-header .grid-form {
    margin-top: 0 !important;
    padding: 0 !important;
}

.sub-header-line-two {
    align-items: center;
    text-align: center;
}

.msg-search {
    min-height: 80px;
    padding: 25px 0;
    margin-top: 15px;
    text-align: center;
    line-height: 30px;
}

/*Form*/
.grid-form {
    border: 1px solid #CCC;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 20px;
}

.margin-form-child {
    margin: 10px 0 20px 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.grid-col > label {
    background-color: #E1FFE9;
    color: #000;
    justify-content: flex-start;
    min-height: 38px;
}

.grid-col > label.required:before {
    content: '*';
    position: absolute;
    left: -12px;
    color: red;
    font-weight: bolder;
    font-size: 15px;
}

.grid-col > .wrap-control {
    padding: 0;
}

.grid-col > .wrap-control > input {
    border-radius: 0;
    width: 100%;
}

.grid-col > .wrap-control > select {
    border-radius: 0;
}

.grid-col {
    padding-left: 20px !important;
}

.break-row-form {
    width: 100%;
    clear: both;
    height: 10px;
}

.wrap-control-group {
    position: relative;
    min-height: 38px;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wrap-control-group label:first-child {
    left: 0;
    color: #000;
    justify-content: flex-start;
    margin-bottom: 0;
}

.wrap-control-group > label.required:after {
    content: '必須';
    background-color: red;
    color: white;
    font-weight: bolder;
    font-size: 0.6rem;
    padding: 3px 7px;
    margin: 0 5px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    display: inline-flex;
}

span.required {
    background-color: red;
    color: white;
    font-weight: bolder;
    font-size: 0.6rem;
    padding: 3px 7px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
    display: inline-flex;
}

.wrap-control-group input[type="text"], .wrap-control-group input[type="tel"], .wrap-control-group input[type="password"], .wrap-control-group select, .wrap-control-group textarea {
    width: 100% !important;
    height: 38px;
}

.wrap-control-group input[type="checkbox"] {
    width: auto !important;
    margin-left: 10px;
}

.wrap-control-group-inline {
    position: relative;
    min-height: 38px;
    display: flex;
    height: 100%;
    flex-direction: unset;
    justify-content: space-between;
    flex-wrap: unset;
}

.wrap-control-group-inline > label:first-child {
    position: relative;
    left: 0;
    line-height: 38px;
    color: #000;
    justify-content: flex-end;
    width: 100%;
    max-width: 175px;
    padding-right: 4px;
}

.display-value-as-str {
    font-size: 18px;
    width: 100%;
    padding-left: 5px;
    line-height: 38px;
    white-space: nowrap;
}

.wrap-control-group.textarea textarea {
    height: 84px;
}

.mx-datepicker {
    width: 100% !important;
}

.pd-r-20 {
    padding-left: 0 !important;
    padding-right: 20px !important;
}

.pd-l-20 {
    padding-right: 0 !important;
    padding-left: 20px !important;
}

.pd-r-0 {
    padding-right: 0 !important;
}

.pd-l-10 {
    padding-left: 10px !important;
}

.padding-row-5 {
    padding-left: 5px;
    padding-right: 5px;
}

.p-t-30 {
    padding-top: 30px;
}

.frm-search-list .grid-form-search-label {
    position: absolute;
    top: -20px;
    left: 5px;
    font-size: 0.7rem;
}

.frm-search-list .left-5px {
    left: 5px !important;
}

.frm-search-list .left-75px {
    left: 75px !important;
}

.frm-search-list .input-group-addon {
    display: flex;
    margin-left: -2px;
}

.frm-search-list .dropdown-list {
    border-radius: 0 !important;
}

.col-list-search-f {
    line-height: 38px;
}

.lh-38 {
    line-height: 38px;
}

.wrapper-table {
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.table td, .table th {
    padding: 0.5rem;
}

.td-nl2br {
    white-space: pre;
}

.text-wrap-with-nl2br {
    white-space: break-spaces;
    word-break: break-all;
}

.table-green th {
    background-color: #548235;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fff;
    text-align: center;
    border: #a6a6a6 1px solid;
}

.table-green td {
    vertical-align: middle;
}

.table-blue th {
    background-color: #0070c0;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fff;
    text-align: center;
    border: #a6a6a6 1px solid;
}

.table-blue td {
    vertical-align: middle;
}

.cursor-pointer {
    cursor: pointer;
}

.sort-asc:after {
    content: " \f0d8";
    font-family: FontAwesome;
    display: inline;
    float: right;
}

.sort-desc:after {
    content: " \f0d7";
    font-family: FontAwesome;
    display: inline;
    float: right;
}

.xsmall {
    font-size: 65%;
    font-weight: 300;
    opacity: .78;
}

.cd-link {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    color: #007bff;
}

.wd-50 {
    width: 50px !important;
}

.wd-60 {
    width: 60px !important;
}

.wd-100 {
    width: 100px !important;
}

.wd-120 {
    width: 120px !important;
}

.wd-150 {
    width: 150px !important;
}

.wd-300 {
    width: 300px !important;
}

.wd-250 {
    width: 250px !important;
}

.wd-350 {
    width: 350px !important;
}

.wd-380 {
    width: 380px !important;
}

.min-wd-100 {
    min-width: 100px;
}

.wd-520 {
    width: 520px !important;
}

.pagination-custom {
    padding: 0;
}

.pagination-custom li:last-child {
    border: 0;
}

.pagination-custom li.active a {
    color: #a6a6a6 !important;
}

.pagination-custom li.active a:hover {
    text-decoration: none;
}

.pagination-custom li {
    float: left;
    color: #0070c0 !important;
    border-right: 1px solid #000;
    list-style: none;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 15px;
}

.header-collapse {
    font-size: 20px;
    font-weight: bold;
    display: block;
    text-align: left;
    padding: 5px 25px 5px 25px;
    color: #000;
    text-decoration: none;
    background-color: #E6E6E6;
    border: 1px solid #CCC;
}

.wrapper-collapse {
    padding-right: 50px;
    padding-left: 15px;
    position: relative;
    min-height: 40px;
}

.wrapper-collapse .btn-rows-add {
    position: absolute;
    right: 1px;
    bottom: 0;
    width: 50px;
    height: 50px;
    font-size: 45px;
    line-height: 35px;
}

.wrapper-collapse .btn-rows-remove {
    position: absolute;
    right: -51px;
    top: 0;
    width: 50px;
    height: 50px;
    font-size: 45px;
    line-height: 35px;
}

.items-collapse {
    position: relative;
}

.mx-input {
    height: calc(1.5em + .75rem + 2px) !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    border-radius: 0 !important;
}

span.note {
    font-size: 13px;
}

.inputfile-box {
    position: relative;
}

.input-file {
    display: none;
}

.label-input-file {
    height: calc(1.5em + .75rem + 2px);
}

.message-error {
    color: red;
    font-size: 80%;
    font-weight: bold;
}

#password-error {
    font-size: 100%;
}

.error-form .mx-input {
    border-color: #dc3545;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: 12px !important;
    background-image: none;
    border-radius: 4px !important;
}

input[type=text]::-ms-clear {
    display: none;
}

#autosuggest__input.autosuggest__input-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.autosuggest__results-container {
    position: relative;
    width: 100%;
}

.sales-list .autosuggest__results-container {
    position: unset !important;
}

.autosuggest__results {
    font-weight: 300;
    margin: 0;
    position: absolute;
    z-index: 10000001;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #fff;
    padding: 0;
    overflow-y: auto;
    max-height: 200px;
}


.autosuggest__results ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.autosuggest__results .autosuggest__results_item {
    cursor: pointer;
    padding: 15px;
}

#autosuggest ul:nth-child(1) > .autosuggest__results_title {
    border-top: none;
}

.autosuggest__results .autosuggest__results_title {
    color: gray;
    font-size: 11px;
    margin-left: 0;
    padding: 15px 13px 5px;
    border-top: 1px solid #d3d3d3
}

.autosuggest__results .autosuggest__results_item:active,
.autosuggest__results .autosuggest__results_item:hover,
.autosuggest__results .autosuggest__results_item:focus,
.autosuggest__results .autosuggest__results_item.autosuggest__results_item-highlighted {
    background-color: #ddd;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #D9D9D9 !important;
    opacity: 1;
}

.mx-datepicker.disabled {
    opacity: 1 !important;
}

.inputfile-box span.disabled {
    background-color: #D9D9D9;
    opacity: 1;
}

div.mx-calendar-panel-time div.mx-calendar-header {
    display: none !important;
}

.custom-label {
    background-color: transparent !important;
    position: relative !important;
    color: #000 !important;
    line-height: normal !important;
    left: auto !important;
    display: inline !important;
    padding-right: 20px !important;
    padding-left: 0 !important;
}

input[type="checkbox"]:focus {
    outline: 0;
    box-shadow: none;
}

.disabled-bg {
    background-color: #D9D9D9 !important;
}

.error-label-search {
    position: absolute;
    bottom: -30px;
    left: 5px;
}

.w-90 {
    width: 90% !important;
}

.modal_header_custom {
    background-color: #DFEDFF;
    border: 1px solid #CCC;
}

#footer-modal {
    border-top: unset;
}

.bg-sales-lists {
    background: rgb(244, 176, 132);
}

.w-20 {
    width: 20% !important;
}

.w-15 {
    width: 15% !important;
}

.wd-32 {
    width: 32px !important;
}

.wd-180 {
    width: 180px !important;
}

.w-85 {
    width: 85% !important;
}

.w-80 {
    width: 80% !important;
}

.wd-20 {
    width: 20px !important;
}

.wd-80 {
    width: 80px !important;
}

.wd-140 {
    width: 140px !important;
}

.form-control::placeholder {
    color: #A9A9A9 !important;
}

.ml-1-5 {
    margin-left: 1.5rem !important;
}

.mb-100px {
    margin-bottom: 100px !important;
}

.custom-control-label {
    padding: 3px;
    color: #333;
}

.custom-checkbox {
    background-color: transparent !important;
    font-size: 0.8rem !important;
}

.btn-danger {
    background-color: #E51C23 !important;
}

#msg-success-password {
    display: none;
}

.custom-select.is-invalid {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}

.sticky {
    position: fixed;
    width: 100%;
    background-color: #f8fafc;
    z-index: 1010;
    top: 0;
    padding-top: 15px;
    padding-left: 0;
    padding-right: 0;
}

.stop-scrolling {
    overflow: hidden;
}

.cd-no-link {
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center !important;
}


/**/
.btn-addnew {
    background-color: #FFD966;
}

.btn-clear {
    background-color: #000;
    color: #fff
}

.btn-search {
    background-color: #0070C0;
    color: #fff
}

.btn-delete {
    background-color: #F00;
    color: #fff
}

.btn-handle-empty-info {
    color: #212529;
    background-color: rgb(230, 230, 230);
    border-color: rgb(187, 187, 187);
}

.no-padding {
    padding: 0 !important;
}

.pagination {
    margin-top: 0.5rem;
    margin-left: -0.25rem;
}

.pagination > li > a {
    border-top: 0;
    border-bottom: 0;
    background-color: #fff
}

.pagination-sm > li:first-child > a {
    border-left: 0;
}

.pagination-sm > li:last-child > a {
    border-right: 0;
}

.page-item.active .page-link {
    background-color: #fff;
    color: #CAA6A6;
    border-color: #ddd;
}

.w-39 {
    width: 39% !important;
}

.w-69 {
    width: 69% !important;
}

.font-size-unset {
    font-size: unset !important;
}

.grid-form-label {
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 0.7rem;
}

.pl-200 {
    padding-left: 200px;
}

.pl-150 {
    padding-left: 150px;
}

.bg-color-pink {
    background-color: #FAA !important;
    border: 1px solid #969696 !important;
    border-radius: 4px !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
}

.bg-color-green {
    background-color: #AAD4FF !important;
    border: 1px solid #B1B1B1 !important;
    border-radius: 4px !important;
    color: #204085 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
}

#autosuggest input[type="text"] {
    padding: .375rem .75rem !important;
    border: 1px solid #ced4da !important;
    width: 100%;
    border-radius: 4px !important;
    font-size: 1rem;
    font-weight: 400;
}

.mx-input:disabled, .mx-input.disabled {
    background-color: #ccc;
    color: #000 !important
}

.nav-user-name {
    position: absolute;
    right: 65px;
    top: 7px;
}

.pdfobject-container {
    margin-top: 0 !important;
}

.scroll-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.wrapper {
    margin: auto;
    text-align: center;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 20px !important;
    width: 100%;
    padding-top: 5px;
}

.nav-left .Category-Box li.active {
    text-decoration: none;
    background-color: #ECECEC;
}

.nav-left .Category-Box h2.active {
    text-decoration: none;
    background-color: #ECECEC;
}

.ime-mode-disabled {
    ime-mode: disabled;
}

.search-code-label {
    margin-top: 0;
}

@media only screen and (min-width: 580px) and (max-width: 768px) {
    .search-code-label {
        margin-top: 25px;
    }
}

@media all and (-ms-high-contrast: none) {
    div.mx-time {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    fieldset {
        width: 100%;
    }
}

input::-ms-clear {
    display: none;
}

.w-28 {
    width: 28% !important;
}

.mx-input-append {
    height: 38px !important;
}

.concat-string {
    display: inline-flex;
    line-height: 38px;
    padding-left: 5px;
    padding-right: 5px;
}

.break-row-form-5px {
    width: 100%;
    clear: both;
    height: 5px;
}

.header-collapse a {
    display: block;
    text-align: center;
    padding-bottom: 5px;
    color: #000;
    text-decoration: none;
    background-color: #DFEDFF;
    border: 1px solid #CCC;
}

.header-collapse a[aria-expanded="false"]:before {
    content: " \f0d7";
    font: 25px FontAwesome;
    top: 3px;
    position: relative;
}

.header-collapse a[aria-expanded="true"]::before {
    content: " \f0d8";
    font: 25px FontAwesome;
    top: 3px;
    position: relative;
}

.w-35 {
    width: 35% !important;
}

.wd-450 {
    width: 450px !important;
}

.w-45 {
    width: 45% !important;
}

.w-60 {
    width: 60% !important;
}

.row {
    margin: 0 !important;
    padding: 0 !important;
}

.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.input-img {
    width: 100%;
    object-fit: contain;
    height: 220px;
}

.wrap-img {
    width: 220px;
    height: 220px;
    background: #E8E8E8 url("../images/img.svg") no-repeat center center
}

.extra-text {
    font-size: 10px;
}

.lh14 {
    line-height: 1.4 !important;
}

.mx-calendar {
    font: 14px/1.5 Helvetica Neue, Helvetica, Arial, sans-serif !important;
}

.mx-input:hover, .mx-input:focus {
    border: none !important;
}
