﻿html, body {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0px;
    touch-action: pan-y;
}

    body.printing {
        /*height: 100%;
    width: 100%;
    overflow: visible;*/
    }

h4 {
    font-style: italic;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

.button:hover {
    cursor: pointer;
    box-shadow: inset blue 4px;
    border-radius: 10px;
    box-shadow: inset 0 0 8px #c4d2f1;
}

.wm-content {
    flex: 1;
    display: flex;
    font-size: large;
    font-weight: normal;
    flex-direction: row;
    width: 100%;
    flex-flow: row wrap;
    background-color: #f3f3f3;
}

    .wm-content label {
        margin-top: 15px;
    }

    .wm-content input[type=text] {
        padding: 4px 4px 4px 15px;
        border: 1px solid #d1d1d1;
        border-radius: 5px;
    }

    .wm-content form {
        width: 100%;
    }

.bookcase-render {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    border: 1px #403f3c solid;
    border-radius: 1rem;
    margin: 1rem;
    touch-action: pinch-zoom pan-y;
    background-color: #ffffff;
}

    .bookcase-render.stop-pan {
        touch-action: pinch-zoom;
    }

smart-button-container > div {
    text-align: center;
}

img-thumbnail {
    height: 150px;
}

.title-bar-icon {
    float: right;
    padding: 0px 5px;
}

.title-bar {
    flex: 0 1 auto;
    display: flex;
    background-color: #403f3c;
    padding: 5px 20px;
    min-width: 100%;
}

    .title-bar.row {
        background-color: #403f3c;
        font-size: x-large;
        color: white;
        padding: 10px 10px 10px 10px;
    }

.title-bar-seller {
    flex: 0 1 auto;
    display: flex;
    background-color: #c0c0c0;
    padding: 5px 20px;
    align-items: center;
}

div#product-app {
    display: flex;
    flex: 1;
    height: 100%;
}

.wm-product-tab > div {
    flex: 1;
    display: flex;
    /* flex-direction: column; */
    max-width: 100px;
    padding: 10px;
    justify-content: center;
}

.wm-product-tab {
    flex: 0;
    display: flex;
    border-radius: 10px;
    background-color: #262626;
    color: #e7e5e5;
}


.seller-logo {
    flex: 1;
    display: flex;
    font-size: x-large;
    padding: 2px 10px;
    min-width: 100%;
}

.seller-actions {
    flex: 1;
    display: flex;
}

    .seller-actions div {
        flex: 0 0 auto;
        display: flex;
        border: 1px solid black;
        border-radius: 5px;
        padding: 2px 10px;
        background-color: #dadada;
        color: black;
    }

.content-title {
    padding: .75rem .75rem 0rem 1rem;
    width: 100%;
    display: flex;
    flex: 0 1 auto;
}

    .content-title > h2 {
        margin-bottom: 0;
    }

.seller-actions div > a {
    color: black;
}

.seller-actions div:hover {
    background-color: white;
}

.seller-actions div > a:hover {
    text-decoration: none;
}

.card-product-text {
    margin-top: -30px;
    font-size: 1rem;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}

.product-tile {
    width: 350px;
}

.wm-modal-close {
    margin-top: -2rem;
}

    .wm-modal-close a {
        margin-left: 100%;
        margin-top: -5px;
        position: relative;
        font-size: x-large;
    }

.wm-modal {
    width: 100%;
    background-color: rgb(0 0 0 / 34%);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: absolute;
}

.wm-modal-frame {
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
}

    .wm-modal-frame input {
        width: 100%;
        border-radius: 5px;
        border: 1px black solid;
    }

    .wm-modal-frame button {
        width: 50%;
        margin: 1rem 25%;
        border-radius: 5px;
        border: 1px solid black;
        background-color: #20201e;
        color: #f4f4f4;
    }

.customize-panel {
    padding: 1rem;
    background-color: #dddddd;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    width: 400px;
}

    .customize-panel > div {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
    }

    .customize-panel div.option {
        margin-top: 15px;
    }

    .customize-panel div.label {
        padding: 5px 20px 5px 20px;
    }

#_Instructions img {
    max-width: 100%;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#_Instruction button {
    border: none;
    background-color: inherit;
    display: flex;
    align-self: flex-end;
    font-size: large;
}

label.instruction-section-title {
    font-weight: bold;
    padding: 1rem 0;
}

div.left-half {
    flex: 1;
    max-width: 50%;
    flex-direction: column;
    display: flex;
    justify-content: center;
}

div.right-half {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
}

.instruction-row {
    flex: 1;
    flex-direction: row;
    display: flex;
}

.instruction-column {
    flex: 1;
    flex-direction: column;
    display: flex;
}

    .instruction-column p {
        display: flex;
        min-width: 100%;
        flex: 1;
    }

.add-to-cart {
    float: right;
    margin-top: 40px;
    padding: 5px 10px;
}

.scanningSpinner {
    margin: 100px auto;
    height: 40px;
    text-align: center;
}

    .scanningSpinner label {
        display: block;
        color: #333;
        font-size: 200%;
    }

    .scanningSpinner > div {
        background-color: #333;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .scanningSpinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .scanningSpinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

.wm-ar-icon {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 1rem;
}

.option div.label {
    padding-left: 0px;
}
/*Home Section*/
div#WM-Search {
    flex: 1;
    display: flex;
    min-width: 100%;
}

.wm-orders {
    flex: 1;
    display: flex;
    padding: 1rem;
}

    .wm-orders > div {
        flex: 1;
        display: flex;
        flex-direction: column;
    }



.work-orders-section > label {
    font-size: x-large;
    font-weight: 500;
}

.section-row-item {
    flex: 1;
    display: flex;
    flex-direction: row;
}

    .section-row-item button {
        padding: .5rem;
        border-radius: 5px;
        margin: .25rem;
        border: none;
    }

.section-row-s1 {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.section-row-s2 {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
}

.row-item-details {
    flex: 1;
    display: flex;
    font-size: small;
    flex-wrap: wrap;
}

.work-orders-section h3 {
    background-color: #403f3c;
    color: #dbdbdb;
    font-size: x-large;
    padding: .5rem 1rem;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    margin-bottom: 0px;
}

.section-row-item > div {
    /* padding-left: 1rem; */
    /* padding-right: 1rem; */
    /* padding-bottom: 1rem; */
    padding: .5rem 1rem;
}

.work-orders-section {
}

div#_Orders > div {
    border: 1px solid #bbbbbb;
    border-radius: 25px;
    margin-bottom: 1rem;
    padding-bottom: 25px;
}

div#_Orders {
    padding-right: .5rem;
}

div#_Instruction {
    padding-left: .5rem;
}

.row-item-details > div {
    padding: 0px 6px;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

div.wm-tile {
    min-width: 200px;
}

.row.title-bar {
    margin-left: 0px;
    margin-right: 0px;
}

.wm-container {
    width: 100%;
    padding: 7px 20px;
}

.box {
    display: flex;
    flex-flow: column;
    min-height: 100%;
    min-width: 100%;
    align-items: center;
}

.wm-row {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: space-between;
}

.wm-row-narrow {
    display: flex;
    flex: 1;
    max-height: 35px;
    width: 100%;
}

.wm-logo {
    flex: 0 1 auto;
    display: flex;
    min-width: 85px;
}

    .wm-logo a {
        flex: 1;
        display: flex;
    }

    .wm-logo img {
        flex: 0 0 auto;
        display: flex;
        max-height: 55px;
    }

.wm-account-controls {
    display: flex;
    flex: 0 0 auto;
    max-height: 55px;
    position: fixed;
    top: 5px;
    right: 15px;
    justify-content: center;
    align-items: center;
}

    .wm-account-controls > div {
        flex: 1;
        display: flex;
        flex-direction: row;
        padding: 6px 2px;
    }

    .wm-account-controls a {
        flex: 1;
        display: flex;
    }

.box > form {
    flex: 1;
    display: flex;
}

div#ProductForm {
    flex: 1;
    display: flex;
    min-width: 100%;
}

.box .row.header {
    flex: 0 1 auto;
    /* The above is shorthand for:
              flex-grow: 0,
              flex-shrink: 1,
              flex-basis: auto
            */
}

.box .row.content {
    flex: 1 1 auto;
}

.box .row.footer {
    flex: 0 1 40px;
}

.wm-title-and-rendering {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 50%;
}

.wm-desc-image {
    flex: 0;
    display: flex;
    max-height: 165px;
}

    .wm-desc-image img {
        flex: 1;
        width: 100%;
        height: 165px;
        display: flex;
    }

.wm-product-desc {
    margin: 10px 5px 0px 5px;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 10px;
}


.wm-desc-text {
    flex: 0;
    display: flex;
    min-width: 100%;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    flex-direction: column;
}

.wm-desc-image > a {
    height: 175px;
    width: 200px;
    /* flex: 0; */
    object-fit: cover;
}

.wm-footer {
    flex: 1;
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    background-color: #403f3c;
    color: #ddd;
    max-height: 60px;
    min-width: 100%;
}

    .wm-footer > div {
        flex: 1;
        display: flex;
    }

.wm-ar-icon {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 1rem;
}

.wm-section > div {
    flex: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
}

.wm-section {
    justify-content: center;
    /* align-items: center; */
    flex: 1;
    display: flex;
}

.wm-product-section {
    background-color: #f7f7f7;
}

.wm-filter-results {
    flex: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

    .wm-filter-results > div {
        min-width: 255px;
        display: flex;
        flex: 1;
        flex-direction: column;
        max-height: 255px;
        padding: 10px;
    }

span.wm-average-cost {
    padding: 10px;
    font-size: x-large;
    color: black;
}

.wm-desc-text > h6 {
    color: #504e4e;
    font-weight: 300;
}

.wm-search-section {
    max-height: 100px;
    background-color: #d1d0d0;
}

.wm-product-tab > div.selected {
    background-color: #706f6f;
    border-radius: 10px;
}

.wm-error-icon {
    width: 200px;
}

    .wm-error-icon > div {
        font-size: 7rem;
        padding-bottom: 20px;
    }

.wm-home {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    min-width: 100%;
}

    .wm-home > div {
        min-width: 100%;
        padding: 15px;
    }

.container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

    .container.error {
        display: flex;
        flex: 1;
        min-height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.notification {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

div#product-app {
    display: flex;
    flex: 1;
    height: 100%;
}

.wm-product-search {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 100px;
}

input#txtSearch {
    flex: 1;
    display: flex;
    width: 100%;
    border-radius: 0 0 0 0;
}

div#WM-SearchBar {
    flex: 1;
    display: flex;
    min-width: 250px;
}

.wm-product-search > strong {
    color: #e1e1e1;
    padding: 7px;
    background-color: lightgray;
    border-radius: .25rem 0 0 .25rem;
}

.wm-search-button.button {
    background-color: lightgrey;
    padding: 7px;
    border-radius: 0 .25rem .25rem 0;
}

.wm-logo-search {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wm-checkout {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    align-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wm-banner {
    width: 100%;
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e7e7e7;
}

#submit-payment > input {
    height: 50px;
}

.wm-checkout > div {
    max-width: 90%;
    width: 800px;
    flex: 1;
    display: flex;
}

div#checkout-shippingAddress > div {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

div#paypal-button-container {
    width: 100%;
}

.wm-tile {
    margin: 1.5rem 0 0 0;
    border: 1px #858585 solid;
    border-radius: 10px;
    flex-wrap: wrap;
    flex-direction: column;
}

    .wm-tile > div {
        /* flex-direction:  column; */
        padding: .5rem 2rem 1rem 2rem;
        flex-direction: row;
        display: flex;
    }

    .wm-tile .header h4 {
        /* margin-top: .5rem; */
        margin-bottom: -.4rem;
        font-style: normal;
    }

    .wm-tile .header {
        background-color: #ebebeb;
        border-radius: 10px 10px 0 0;
    }

    .wm-tile > h4 {
        width: 100%;
        font-style: normal;
        margin-bottom: 1rem;
    }

    .wm-tile .info {
        width: 70%;
        flex: 2;
    }

        .wm-tile .info td:nth-child(2) {
            padding: 1rem;
        }

        .wm-tile .info td:nth-child(3) {
            text-align: right;
        }

    .wm-tile div.actions {
        flex: 1;
        display: flex;
        justify-content: end;
        align-items: flex-start;
    }

.actions > button {
    min-height: 45px;
    border-radius: 5px;
    border: 1px solid black;
}

div#checkout-purchaseTotal {
    justify-content: flex-end;
    display: flex;
    background-color: #d4e1d8;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    font-size: large;
    padding-bottom: .5rem;
    align-items: center;
}

div#checkout-shippingMethod {
    margin-bottom: 1.5rem;
}

.info table div {
    color: #838383;
    flex-wrap: wrap;
    display: flex;
}

    .info table div span {
        margin-right: 1rem;
        white-space: nowrap;
        font-size: x-small;
    }

.actions a,
.col-actions a {
    font-size: large;
}

    .actions a:hover,
    .col-actions a:hover {
        cursor: pointer;
        font-weight: 700;
    }

span.tooltip {
    visibility: collapse;
}

.actions a:hover span.tooltip,
.col-actions a:hover span.tooltip {
    visibility: visible;
    opacity: 1;
    overflow: visible;
    white-space: nowrap;
    margin-top: -2rem;
    margin-left: -4rem;
    background-color: #303030;
    color: white;
    border-radius: 5px;
    padding: .5rem;
    display: inline;
}

.wm-shoppingCartContent {
    flex: 1;
}

    .wm-shoppingCartContent .wm-tile {
        max-width: 800px;
        display: flex;
    }

td.col-image > div {
    /*height: 200px;
    width: 200px;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.wm-shoppingCartItems div {
    flex: 1;
}

tr.wm-shoppingCartItem {
    display: flex;
}

img.img-thumbnail {
    border: none;
}

.wm-shoppingCartItem div {
    color: #323232;
    align-content: center;
    align-items: center;
}

.wm-shoppingCartItem h5 {
    width: 100%;
}

.wm-shoppingCartItem td {
    /* align-content: center; */
    display: flex;
    flex: 1;
    /*width: 20%;*/
}

.wm-shoppingCartContent div.col-image {
    min-width: 150px;
    min-height: 150px;
    display: flex;
    flex: 1;
}

.wm-shoppingCartContent div.col-description {
    flex: 2;
    flex: 2;
    flex-wrap: wrap;
    display: flex;
}

.wm-shoppingCartContent div.col-qty {
    flex: 1;
}

    .wm-shoppingCartContent div.col-qty input.form-control {
        width: 70px;
        margin-left: .5rem;
    }

.wm-shoppingCartContent div.col-remove {
    flex: 1;
}

.wm-shoppingCartContent div.col-itemCost {
    flex: 1;
}

.wm-tile div.wm-shoppingCartItem {
    padding: .5rem 1.5rem 1rem .5rem;
    flex: 1;
    display: flex;
}

.col-description span {
    margin-right: 1rem;
    white-space: nowrap;
    font-size: x-small;
}

.wm-shoppingCartItem > div {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}


#checkout-purchaseTotal input[type="button"] {
    margin-left: 1rem;
    font-weight: 600;
    padding: .5rem 1rem;
}
.wm-shoppingCartContent .content-title {
    flex-direction: row;
    justify-content: space-between;
}

    .wm-shoppingCartContent .content-title > div {
        align-self: flex-end;
        font-style: italic;
    }

@media only screen and (max-width: 800px) {
    .wm-title-and-rendering {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 100%;
        justify-content: center;
    }

    .customize-panel {
        padding: 20px;
        background-color: #dddddd;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 100%;
    }
}
