﻿.shop-wrapper {
}

.shop-wrapper-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

#preview {
    position: absolute;
    border: 1px solid #ccc;
    background: #333;
    padding: 5px;
    display: none;
    color: #fff;
}

div.user-name {
    position: absolute;
    display: inherit;
    bottom: 75px;
    right: 0;
    line-height: 32px;
    vertical-align: bottom;
    padding-top: 10px;
    height: 32px;
    /*font-family: Arial, Verdana, Sans-Serif;*/
    color: #000000;
    font-size: 12px;
    font-weight: 700;
}

.DetailsDiv p {
    margin-top: 0.2em;
}

#ShippingDetailsContainer {
    display: none;
}

.checkoutAddress {
    width: 380px;
    height: 250px;
    border: solid 1px silver;
    margin: 10px;
    padding: 10px;
    float: left;
    position: relative;
}

.orderDetailsAddress {
    width: 380px;
    border: solid 1px silver;
    margin: 10px;
    padding: 10px;
    float: left;
    position: relative;
}

.checkoutButtons {
    margin-bottom: 1em;
}

.editAddressButton {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.formError {
    color: red;
}

ul.errorlist {
    color: red;
    padding: 20px 0px 0px 0px;
}

ul.errorlist li {
    list-style-type: none;
}

div.page-title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

div.product-group {
    width: 455px;
    float: left;
    min-height: 1px;
    margin: 10px;
}


div.product-group-wrapper {
    padding: 10px;
}

div.group-title {
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    color: black;
    background-color: #d09c51;
}

div.category-item {
    width: 400px;
    display: inline-block;
    vertical-align: top;
}

.category-title {
    font-size: 13px;
    padding-bottom: 6px;
    text-decoration: underline;
    font-weight: 700;
    padding-top: 10px;
    display: block;
    color: #d09c51;
}

.category-subtitle {
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.category-desc {
    margin-top: 6px;
    /*font-size: 11px;*/
    line-height: 20px;
    display: block;
    font-size: 12px;
}


div.shop-categories {
    width: 245px;
    min-height: 300px;
    float: left;
}

div.shop-categories div.category-heading {
    font-size: 16px;
    margin-bottom: 10px;
}

div.shop-categories ul {
    list-style-type: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

div.shop-categories li {
    list-style-image: none;
    padding: 3px 6px 3px 6px;
    border: solid 1px #e0dbc9;
    margin-bottom: 3px;
}

div.shop-categories li:hover {
    background-color: lightgray;
}

div.shop-categories a {
    color: gray;
    text-decoration: none;
    cursor: pointer;
}

div.shop-categories a:hover {
    color: #d09c51;
}

div.Product-Group-Header {
    /*padding-top: 0.5em;*/
    color: #d09c51;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    border: solid 1px #e0dbc9;
    width: 100%;
}

.bunch-header {
    padding: 0.7em;
}

div.productList {
    margin: 10px 0 0 250px;
    min-height: 300px;
    /*min-width: 500px;*/
}

div.productList div.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 10px;
    padding: 5px;
}

div.productList div.product {
    flex-grow: 1;
    border: solid 1px #e0dbc9;
    display: inline-block;
}

div.productList div.product div.product-title {
    max-width: 230px;
    margin: 5px;
    background-color: #d09c51;
    padding: 4px 8px 4px 8px;
    line-height: 20px;
    color: #fff;
    font-size: 15px;
}

div.productList div.product div.single-product-title {
    max-width: 287px;
    margin: 5px;
    background-color: #d09c51;
    padding: 4px 8px 4px 8px;
    line-height: 20px;
    color: #fff;
    font-size: 15px;
}


div.productList div.product div.image {
    width: 220px; /* was 100px; June 2022 */
    min-height: 150px;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding-left: 13px;
    position: relative;
}

div.productList div.product div.image .piece-status {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #cc3333;
    width: 150px;
    transform: translateX(33px) translateY(-26px) rotateZ(-45deg);
    color: white;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 119px 31px, 31px 31px);
}
div.productList div.product div.image .piece-status-small {
    font-size: 10px;
}

div.productList div.product div.image img {
    border: solid 1px #e0dbc9;
}

div.productList div.product div.unconstrained-image {
    min-height: 150px;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
}

div.productList div.product div.image unconstrained-image {
    border: solid 1px #e0dbc9;
}

div.productList div.product .stockless-basket {
    filter: grayscale(75%);
}

div.productList div.product .basket:hover {
    filter: saturate(200%);
}

div.productList div.product div.details {
    display: flex;
    align-items: center;
    margin: 5px;
    gap: 0.5rem;
    min-width: 100px;
}

div.productList div.product div.details ul {
    list-style-image: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.productList div.product div.details li {
    padding: 0;
}

div.productList div.product div.details ul span.label {
    display: inline-block;
    line-height: 15px;
    font-weight: 700;
    font-size: 11px;
    width: 48px;
}

div.productList div.product div.details ul span.price-label {
    display: inline-block;
    line-height: 15px;
    font-weight: 700;
    font-size: 11px;
    width: 30px;
}


div.productList div.product div.details ul span.data {
    display: inline-block;
    line-height: 15px;
    font-size: 11px;
}

div.productList div.product div.details ul span.dataout {
    display: inline-block;
    line-height: 15px;
    font-size: 11px;
    color: red;
    font-weight: bold;
}

div.productList div.accessory {
    width: 157px;
    border: solid 1px #e0dbc9;
    /*float: left;*/
    margin-right: 20px;
    margin-bottom: 10px;
    display: inline-block;
}

div.productList div.accessory div.product-title {
    margin: 5px;
    background-color: #d09c51;
    padding: 4px 8px 4px 8px;
    line-height: 20px;
    color: #fff;
    font-size: 15px;
}

div.productList div.accessory div.image {
    width: 100px;
    min-height: 150px;
    float: left;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
}

div.productList div.accessory div.image img {
    border: solid 1px #e0dbc9;
    margin-left: 20px;
}

div.productList div.accessory div.image input.btn-primary {
    margin: 10px 0 0 20px;
    padding: 0;
    font-size: 12px;
    width: 100px;
}

div.productList div.accessory div.image span.label {
    display: inline-block;
    width: 36px;
    margin-top: 3px;
    margin-left: 20px;
    line-height: 15px;
    font-weight: 700;
    font-size: 11px;
}

div.productList div.accessory div.image span.data {
    display: inline-block;
    margin-top: 3px;
    line-height: 15px;
    font-size: 11px;
}

div.productList div.accessory div.image span.stockLevel {
    display: inline-block;
    margin-top: 3px;
    margin-left: 20px;
    line-height: 15px;
    font-size: 11px;
}


div.productList div.accessory div.details {
    margin-left: 112px;
    min-height: 100px;
    min-width: 100px;
}

div.productList div.accessory div.details ul {
    list-style-image: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.productList div.accessory div.details ul span.label {
    display: inline-block;
    width: 48px;
    margin-top: 3px;
    line-height: 15px;
    font-weight: 700;
    font-size: 11px;
}

div.productList div.accessory div.details ul span.data {
    display: inline-block;
    margin-top: 3px;
    line-height: 15px;
    font-size: 11px;
}

div.form {
    margin-top: 20px;
    margin-bottom: 20px;
}

div.form .form-title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

div.form .form-subtitle {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 10px;
    text-decoration: underline;
    color: #d09c51;
}

div.form p {
    line-height: 20px;
    margin-bottom: 10px;
}

div.form label {
    display: inline-block;
    min-width: 200px;
    line-height: 20px;
    margin-bottom: 3px;
    margin-top: 8px;
    font-weight: 700;
}

div.form input[type=text], div.form input[type=password] {
    line-height: 20px;
    min-width: 200px;
    display: inline-block;
    height: 18px;
}

div.form select, div.form option {
    line-height: 26px;
    width: 210px;
    height: 26px;
}


.btn-delete {
    display: block;
    width: 30px;
    height: 20px;
    border: none;
    background-image: url('/static/images/delete.jpg');
    background-repeat: no-repeat;
}


.btn-primary {
    margin-top: 10px;
    padding: 4px 10px 4px 10px;
    margin-right: 10px;
    font-family: sans-serif;
    background-color: #d09c51;
    color: black;
    border: solid 1px black;
}

.btn-primary:hover {

    background-color: #CEBBA1;
    cursor: pointer;
}


.btn-secondary {
    margin-top: 10px;
    padding: 4px 10px 4px 10px;
    margin-right: 10px;
    font-family: sans-serif;
    background-color: #d09c51;
    color: white;
    border: solid 1px black;
}

.btn-secondary:hover {
    background-color: #CEBBA1;
    cursor: pointer;
}


.alert {
    padding: 10px;
}

.alert p {
    margin-bottom: 3px;
    line-height: 20px;
    font-weight: 700;
}

.warning {
    background-color: #FFF5C6;
    border: solid 1px #FFD86D;
}

.info {
    background-color: rgb(223, 240, 216);
}

.critical {
    background-color: #FFBABA;
    border: solid 1px #FF003F;
}

.alert ul {
    margin: 0;
    padding: 0;
}

.alert li {
    margin-left: 20px;
}


table.shop {
    margin-top: 10px;
    margin-bottom: 10px;
    border: solid 1px #d09c51;
    border-collapse: collapse;
}

table.shop tr {

}

table.shop th {
    background-color: #d09c51;
    line-height: 20px;
    padding: 8px 5px 8px 5px;
    color: white;

}

table.shop td {
    line-height: 20px;
    border-bottom: solid 1px #d09c51;
    padding: 8px 5px 8px 5px;
}

table.shop .right {
    text-align: right;
}

table.shop .left {
    text-align: left;
}

table.noborder, table.noborder tr, table.noborder td {
    border: 0;
    border-collapse: collapse;
}

table.shop .btn-primary {
    margin: 0px;
}


ul.checkout {
    list-style: none;
    list-style-image: none;
    list-style-type: none;
}

ul.checkout li {

}


ul.checkout label {
    width: 268px;
    display: inline-block;
}

ul.checkout option {
    margin-right: 4px;

}

.prices-input-label {
    width: 125px;
    padding: 8px;
    display: inline-block;
}

.shipping-prices-fs {
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
    padding: 0.35em 0.75em 0.625em;
    border: 2px groove;
    width: 40%;
}

.shipping-prices-fs > legend {
    padding: 5px;
}

div.motd {
    font-size: 17px;
    text-align: center;
    color: #0B2D78;
    padding: 1.5em;
}