/* all */
.message_box {
    margin-bottom: 10px;
}
h1 {
    position: relative;
}
div#shopAnker {
    display: hidden;
    height: 0 !important;
    position: absolute;
    top: -80px;
}
/* search */
input#search-items {
    margin-top: 8px;
}
ul#item-list img.listImg {
    width: 30px;
    margin-left: -10px;
}
li em {
    color: #721c24;
    background-color: #f8d7da;
    font-weight: bold;
    font-style: normal;
}

h1 a.activecart {
    float: right;
    text-decoration: none;
}
h1 a.activecart:hover {
    text-decoration: none;
}
h1 a span.badge {
    font-size: 10px;
    font-weight: bold;
    background: #f0ad4e;
    border: 1px solid #eea236;
    color: #fff;
    margin-top: -20px;
    margin-left: -5px;
}
.countItems {
    color: #aaa;
    float: right;
}

/* items show */
.shop-card-index:hover {
    text-decoration: none;
    border: 1px solid #eea236 !important;
    -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 4px 0 rgba(0,0,0,0.3);
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.3);
}
.card > a > img {
    max-height: 150px !important;
    width: auto !important;
    margin: 10px;
}
.card .caption,
.card .caption h4,
.card .caption p,
.card .caption form {
    text-align: center;
}
.card .caption h4,
.card .caption p {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* show */
.show table {
    border-collapse: collapse;
}
.show td.big {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    position: relative;
}
.show .big {
    text-align: center;
}
.show .big .carousel-control.left,
.show .big .carousel-control.right {
    opacity: .3 !important;
}
.show .big .carousel-control:focus,
.show .big .carousel-control:hover {
    opacity: .6 !important;
}
.carousel-inner .item img {
    margin: 0 auto;
}
.show .thumb a.thumbimg {
    margin: 0 3px 0 3px;
    cursor: pointer;
}
.show .thumb a.thumbimg img {
    height: 50px !important;
    width: auto !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 3px;
    padding: 3px;
}
.show .thumb a.thumbimg img.selected {
    border: 1px solid #F68B1E;
}
.show .big img.productimage {
    padding: 5px;
    cursor: pointer;
}
.show .table.border {
    border: 1px solid #ddd;
}
.show .table.noborder > tbody > tr > td {
    border: none;
}
.show .desc {
    border-top: var(--bs-border-width) solid var(--bs-border-color);
    margin-top: 5px;
    padding-top: 20px;
}
.show .input-group.quantity {
    max-width: 150px;
    margin: 0 auto;
}
.show input.item-quantity {
    margin-top: 5px;
    min-width: 40px !important;
    text-align: center;
    font-weight: bold;
}
.show form,
.show button {
    margin-top: 5px;
}

/* cart */
.cart table {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}
.cart table tr {
    background: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.cart table th,
.cart table td {
    padding: 10px;
}
.cart table th {
    font-style: bold;
}
.cart img {
    height: 56px !important;
    width: auto !important;
    min-width: 50px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 3px;
    padding: 2px;
}
.cart a > img:hover {
    border: 1px solid #F68B1E;
}
.cart form.quantity {
    width: 100px;
    display: inline-block
}
.cart input.item-quantity {
    text-align: center;
    font-weight: bold;
}
.cart .remove:hover {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}
.cart table.sum {
    margin: 10px 0 30px 0;
}
.cart table.sum tr:last-child {
    border-top: 3px double var(--bs-border-color);
    border-bottom: 2px solid var(--bs-border-color);
    margin-bottom: 10px;
}

@media screen and (max-width: 900px) {
    .cart table {
        border: 0;
    }
    .cart table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .cart table.sum th {
        display:none;
    }
    .cart table tr {
        border-bottom: 2px solid #bbb;
        display: block;
        margin-bottom: 10px;
    }
    .cart table.sum tr {
        border-bottom: none;
        display: block;
        margin-bottom: 0;
    }
    .cart table td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
    }
    .cart table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
    .cart table td:last-child {
        border-bottom: 0;
    }
}

/* order */
.order input[type=checkbox].acceptcheckbox {
    position: absolute;
    left: 16px;
    top: 2px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.order textarea.accepttext {
    padding-left: 30px;
    background-color: #fff;
    text-align: justify;
    white-space: normal;
}
.order h4 {
    padding-top: 20px;
    border-top: var(--bs-border-width) solid var(--bs-border-color);
}
.mt1 {
    margin-top: 5px;
}
.space20 {
    height: 20px;
}

/* ribbon */
.cordon-wrapper {
    width: 85px;
    height: 88px;
    overflow: hidden;
    position: absolute;
    top: -1px;
    left: 0px;
}
.cordon-wrapper .cordon {
    font-size: 15px;
    color: #383d41;
    background-color: #e2e3e5;
    text-align: center;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: relative;
    padding: 5px 0;
    top: 15px;
    left: -30px;
    width: 120px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.75);
    -moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.75);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.75);
}
.cordon-wrapper .cordon.green {
    color: #155724;
    background-color: #d4edda;
}
.cordon-wrapper .cordon.yellow {
    color: #856404;
    background-color: #fff3cd;
}
.cordon-wrapper .cordon.red {
    color: #721c24;
    background-color: #f8d7da;
}
.cordon-wrapper .cordon.blue {
    color: #004085;
    background-color: #cce5ff;
}
.cordon-wrapper .cordon.grey {
    color: #383d41;
    background-color: #e2e3e5;
}

.plus-btn {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}
