body {
    background: #ece8e0;
}

div.contained {
    margin: 10px auto;
    max-width: 1200px;
}

table thead th {
    background: #ddd !important;
}

nav.bg-primary {
    background: #28221e !important;
}

button.navbar-toggler:focus,
input.form-control,
textarea.form-control,
input.form-check-input {
    box-shadow: none !important;
}

.btn-primary {
    background: #7e7c60 !important;
}
.text-primary {
    color: #7e7c60 !important;
}
.btn-secondary {
    background: #aaa !important;
}

.navbar.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-brand,
.nav-link {
    color: #cecbc8;
}
.navbar-brand:hover,
.navbar-brand:focus,
.nav-link:hover,
.nav-link:focus,
.navbar-nav .nav-link.show
{
    color: #fff;
}

.searchForm input {
    background: #fff;
    color: #28221e;
    border: none;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}
.searchForm input::placeholder {
    color: #28221e;
}
.searchForm input:focus {
    box-shadow: none;
}
.searchForm button {
    background: #cecbc8;
    color: #28221e;
    border: none;
}
.searchForm button:focus-visible {
    border: none;
}

ul.dropdown-menu {
    background: #39332f;
    border-radius: 12px;
}
a.dropdown-item {
    color: #eee;
}
a.dropdown-item:hover {
    background: #4a4440;
    color: #fff;
}

.productCard {
    width: 260px;
    height: 400px;
    background: white;
    border-radius: 8px;
}
.productCard img {
    max-height: 120px;
    width: auto;
    margin: 8px auto;
}
.cardButtons {
    flex: 1;
}
.cardButtonsRow {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.form-control,
.form-select,
.form-check-input {
    border-color: #aaa;
}
.form-check-input:checked {
    border-color: #7e7c60;
    background-color: #7e7c60;
}
p.formError {
    color: #c00;
    font-size: 0.8rem;
}
.bg-input-error {
    border-color: #c00;
}

.accordion-button:not(.collapsed) {
    background-color: #cecbc8;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-item {
    background-color: #f8f8f8;
    margin-bottom: 20px;
}

div.billingAddressBlock,
div.shippingAddressBlock {
    white-space: nowrap;
    min-height: 200px;
}

div.autoComplete_wrapper {
    width: 100%;
}
input#status,
input#countryName,
input#brandName,
input#categoryName {
    width: 100%;
    color: inherit;
    padding: 1.75rem 0.75rem;
    border-radius: 6px;
    border: 0.8px #aaa solid;
}
input#status::placeholder,
input#countryName::placeholder,
input#brandName::placeholder,
input#categoryName::placeholder {
    color: #666;
}

.fade-me-out.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}
.fade-me-in.htmx-added {
    opacity: 0;
}
.fade-me-in {
    opacity: 1;
    transition: opacity 1s ease-out;
}

div.droppable {
    height: 120px;
    color: #aaa;
    background: #eee;
    border: 2px #888 dashed;
    border-radius: 16px;
}
div.droppable.dragOver {
    border: 4px #888 dashed;
    background: #def;
}
div.droppable.uploading {
    background-color: #ddd;
}
div.droppable h1 {
    pointer-events: none;
    color: #d0d0d0;
}

.handle {
    cursor: grab;
}
.blueGhost {
    background: #def;
}

.productThumb {
    height: 80px;
    width: auto;
    border: 2px #ccc solid;
}
.productThumb.active {
    border: 2px #333 solid;
}

.sliderWrapper {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    height: 480px;
    overflow-x: hidden;
    margin-left: 0;
    margin-right: 0;
}
.sliderContainer {
    display: flex;
    position: absolute;
    left: 0px;
    transition: left 500ms;
}

.htmx-indicator {
    color: #888;
    opacity: 0;
    transition: opacity 800ms ease-in;
}
.htmx-indicator.loading {
    opacity: 1;
}
