/* common */
body {
    background-color: #F8F7F6;
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
    font-size: 0.9rem;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none;
}

/* loadingview */
#loadingview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    overflow: auto;
    text-align: center;
    z-index: 20010;
}
#loadingview .loading {
    margin-top: 150px;
}

/* dialog */
#dialogview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: auto;
    text-align: center;
    z-index: 20001;
}
#dialog {
    margin: 50px auto;
    background: #fff;
    color: #000;
    width: 90vw;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}
@media (min-width: 992px) {
    #dialog {
        margin: 120px auto;
        width: 400px;
    }
}
#dialog .title {
    text-align: center;
    padding: 7px 0px;
    font-size: 14px;
    border-bottom: 1px solid #e1e1e1;
}
#dialog .message {
    text-align: center;
    padding: 40px 10px;
    font-size: 1.15em;
    font-weight: 700;
    color: #666;
    padding-bottom: 30px;
}
#dialog .footer {
    width: 100%;
    padding: 5px 7px;
}

/* confirmationdialog */
#confirmationdialogview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: auto;
    text-align: center;
    z-index: 10000;
}
#confirmationdialog {
    margin: 80px auto;
    background: #fff;
    color: #000;
    width: 90vw;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}
@media (min-width: 992px) {
    #confirmationdialog {
        margin: 150px auto;
        width: 400px;
    }
}
#confirmationdialog .title {
    text-align: center;
    padding: 7px 0px;
    font-size: 14px;
    border-bottom: 1px solid #e1e1e1;
}
#confirmationdialog .message {
    text-align: left;
    padding: 7px 10px;
    font-size: 14px;
    padding-bottom: 80px;
}
#confirmationdialog .footer {
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-bottom: 7px;
}
#confirmationdialog .footer .col-6 {
    padding-left: 5px;
    padding-right: 5px;
}

/* uploadimagedialog */
#uploadimagedialogview {
    z-index: 20000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    overflow: auto;
    text-align: center;
}
#uploadimagedialog {
    margin: 40px auto;
    background: #fff;
    color: #000;
    width: 600px;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}
@media screen and (max-width: 700px){
    #uploadimagedialog {
        width: 90vw;
    }
}
#uploadimagedialog .dialog_title {
    padding-top: 20px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #666;
}
#uploadimagedialog .dialog_explain {
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 13px;
}
#uploadimagedialog .filetype {
    padding-top: 0px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 13px;
    color: #4e555b;
}
#uploadimagedialog .upload {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}
#uploadimagedialog .footer {
    width: 100%;
    padding: 5px 7px;
}
#uploadimagedialog .footer .close-btn {
    font-size: 0.9em;
    padding: 7px 15px;
}

/* list */
.list_header {
    margin-top: 7px;
    display: flex;
}
#manage_title {
    font-size: 1rem;
    padding-top: 6px;
    color: #888;
}
#manage_title a, #manage_title a:hover {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
}
#registration_button {
    font-weight: 500;
    font-size: 0.85rem !important;
}
#search_switch {
    padding-left: 10px;
    font-size: 0.9rem;
}
#search_switch a, #search_switch a:hover {
    color: #777;
}
#collapseSearch .card {
    padding: 7px 1rem;
    padding-top: 0px;
}
#collapseSearch .card .row div {
    padding-left: 3px;
    padding-right: 3px;
}
#collapseSearch .card .row label {
    padding: 0;
    margin-bottom: 0;
    height: 0.85rem;
    font-size: 0.85rem;
}
#collapseSearch .card .row input, #collapseSearch .card .row select {
    height: auto;
    padding: 0.3em 0.5em;
    font-size: 0.9em;
}
#search_button {
    height: auto;
    padding: 0.3em 0.5em;
    font-size: 0.9rem;
    border: 1px solid #cdcdcd;
}
.list_table {
    margin-top: 7px;
}
.list_table th {
    font-size: 0.9em;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    color: #333 !important;
    background-color: #EDEBE8 !important;
    border-color: #E3E3E3 !important;
    border-bottom: none;
}
.list_table td {
    font-size: 0.9em;
    padding: 0.45rem 0.75rem;
    border: 1px solid #E3E3E3 !important;
    background-color: #fff;
}
.list_table .select {
    width: 70px;
    max-width: 70px !important;
    padding: 4px 5px;
}
.list_table .select a {
    font-size: 0.85rem;
    padding: 3px 1em;
    border: 1px solid #cdcdcd;
}
#no_data {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-top: 50px;
}
.paging .page-link {
    color: #333;
}
.paging .page-item.active .page-link {
    background-color: #acacac;
    border: 1px solid #acacac;
}
#create_button {
    background-color: rgb(211, 27, 73);
    border: 1px solid rgb(211, 27, 73);
    font-size: 0.85em;
    color: #fff;
    height: 35px;
    line-height: 35px;
    padding: 0;
    width: 100px;
    margin-right: 5px;
    margin-left: 5px;
}

/* form */
.form {
    margin-top: 7px;
    margin-bottom: 7px;
    padding: 0.5em 0.75em;
}
.form .form-group {
    margin-bottom: 1.1rem;
}
.form label {
    font-size: 0.8em;
    font-weight: 600;
    color: #777;
    margin-bottom: 0.3em;
}
.form .data {
    font-size: 1em;
    color: #333;
}
.form input {
    font-size: 0.9em;
    color: #333;
}
.form .upload_button {
    background-color: #f8f8f8;
    color: #666;
    font-size: 12px;
    padding: 5px 10px;
    margin-right: 8px;
}
.form .image_preview {
    position: relative;
    background-color: #f1f1f1;
    width: 100%;
    height: 150px;
    align-items: center;
    display: flex;
}
.form .image_preview img {
    object-position: 50% 50%;
    object-fit: contain;
    position: absolute;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.required {
    font-size: 0.5em;
    color: red;
    padding-left: 5px;
}
#back_button {
    background-color: #fff;
    border: 1px solid #cdcdcd;
    font-size: 0.85em;
    color: #666;
    height: 35px;
    line-height: 35px;
    padding: 0;
    width: 100px;
    margin-right: 5px;
    margin-left: 5px;
}
#edit_button {
    background-color: rgb(0, 93, 168);
    border: 1px solid rgb(0, 93, 168);
    font-size: 0.85em;
    color: #fff;
    height: 35px;
    line-height: 35px;
    padding: 0;
    width: 100px;
    margin-right: 5px;
    margin-left: 5px;
}
#save_button {
    background-color: rgb(0, 93, 168);
    border: 1px solid rgb(0, 93, 168);
    font-size: 0.85em;
    color: #fff;
    height: 35px;
    line-height: 35px;
    padding: 0;
    width: 100px;
    margin-right: 5px;
    margin-left: 5px;
}
#delete_button {
    font-size: 0.9em;
    color: rgb(211, 27, 73);
}
#receipt_button, #delivery_slip_button {
    color: #007bff;
    font-size: 13px;
}
.table td, .table th {
    border-top: none;
    padding: 0.4rem;
}
.table .history_tr {
    border-top: 1px solid #dee2e6;
}
.table .history_tr .item{
    width: 300px;
}
.table .history_tr .shipment{
    width: 300px;
}
.history_table .title{
    font-weight: normal;
    font-size: 13px;
}
.history_table .value{
    font-weight: normal;
    font-size: 13px;
}
.order_item_record .store_header_table .title {
    width: 30%;
    text-align: right;
    border:none;
}
.order_item_record .store_header_table .value {
    width: 20%;
    text-align: right;
    border:none;
}
.card-body .store_name {
    font-weight: bold;
    margin: 0 5px 5px 5px;
    font-size: 18px;
}
@media screen and (max-width: 768px) {
    .table .history_tr .item{
        width: 110px;
    }
    .table .history_tr .shipment{
        width: 110px;
    }
}

.showqr .data{
    font-size: 13px;
}
.showqr_label {
    color:#999;
    font-size:11px;
    margin: 0;
}
.showqr .item_name{
    font-size: 1.1rem;
    font-weight: 600;
}
.showqr .item_price{
    font-size: 2rem;
}
.soldout_btn:hover {
    cursor: default;
}
.qr_img_thumbnail{
    height: 260px;
}
.qr_thumbnail img{
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}
