﻿.button {
    margin: 6px 0 0 0;
}

.PRODUCT_BOARD {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    max-width: 1170px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 0;
    /*background-color: aliceblue;*/
}

/* .PRODUCT_TILE {
    width: 260px;
    height: 360px;
    margin: 0 0 20px;
    border: 1px solid lightgray;
    box-sizing: border-box;
} */

.PRODUCT_TILE {
    width: 260px;
    height: 360px;
    margin: 0 0 20px;
    border: 1px solid lightgray;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 8px;
}

.PRODUCT_TILE_BLANK {
    border: 1px solid white;
    box-sizing: border-box;
}

.PRODUCT_IMG {
    width: 100%;
    max-width: 260px;
    max-height: 221px;
}

.PRODUCT_DESC_BOX {
    height: 90px;
    min-height: 90px;
}

.PRODUCT_TITLE_BOX {
    height: 5rem;
    overflow-y: hidden;
    padding: .5rem 1ch;
}

.PRODUCT_DASHBOARD_BOX {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    /* width: 100%; */
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 8px;
    height: 40px;
    min-height: 40px;
}

#dashDiv_aboveList {
    margin-bottom: 2rem;
}

.PRODUCT_QTY_TEXTBOX {
    width: 6ch;
    margin: 10px 1ch 0;
    text-align: right;
}

SELECT.PRODUCT_QTY_TEXTBOX {
    width: 8ch;
    margin: 10px 1ch 0;
    text-align: right;
}

select.PRODUCT_QTY {
    font-size: small;
}

.online-store-item-tile {
    height: 23px;;
}

.online-store-item-tile.button {
    margin: 0;
}

.QUANTITY_LABEL {
    margin-top: 10px;
}


/*  ** PRODUCT DETAILS PAGE ** */

BODY {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12pt;
}

INPUT {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12pt;
}

.PRODUCT_DETAIL_BOARD {
    display: -webkit-flex;
    display: flex;
    width: 800px;
    max-width: 800px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.PRODUCT_DETAIL_CATEGORY {
    order: 1;
    flex: 0 0 100%;
    max-width: 800px;
}

.PRODUCT_DETAIL_TITLE {
    order: 2;
    flex: 0 0 100%;
    max-width: 800px;
    padding: 0 0 2rem 0;
}

div.ABAI_Product_Title H2 {
    padding: 0;
    margin: 0;
}

.PRODUCT_DETAIL_PRODUCT {
    display: -webkit-flex;
    display: flex;
    order: 3;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: flex-start;
    -webkit-flex-direction: row;
    flex-direction: row;
    max-width: 500px;
    flex: 1 1 500px;
}

.PRODUCT_DETAIL_IMAGE_BOX {
    order: 1;
    /*background-color: #00a9a5;*/
}

.PRODUCT_DETAIL_DESCRIPTION {
    display: -webkit-flex;
    display: flex;
    order: 2;
    padding: 2rem 16px 2rem 0;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: flex-end;
    align-content: flex-end;
    -webkit-flex-grow: 0;
    -webkit-flex-shrink: 1;
    -webkit-flex-basis: 500px;
    flex-basis: 500px;
    flex-grow: 0;
    flex-shrink: 1;
    min-height: 11rem;
}

.PRODUCT_DETAILS_DESCRIPTION_TEXT {
    max-width: 500px;
    text-align: justify;
}

.PRODUCT_DETAIL_PRICE_LIST_BOX {
    max-width: 300px;
    order: 5;
    flex: 1 1 300px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    /*padding-top: 1rem;*/
    background-color: rgba(200, 191, 184, 0.26);
}

.PRODUCT_DETAIL_PRICE_LIST {
    list-style-type: none;
    margin: 0 0 2rem 0;
    padding: 0 0 0 2ch;
    order: 2;
}

.shopping_already_purchased {
		color: blue;
	}

.PRICE_ITEM_BEGIN_GROUP {
    margin-top: .5rem;
}

.PRODUCT_DETAIL_CART_DASH {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    align-content: flex-start;
    /*background-color: #ccffcc;*/
    padding: 16px 3ch 0 16px;
}

.PRODUCT_DETAILS_BACK_BOX {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.PRODUCT_DETAILS_QUANTITY_BOX {
    padding: 0 1ch;
}

.PRODUCT_DETAIL_BUTTON_ROW {
    display: -webkit-flex;
    display: flex;
    order: 99;
    width: 100%;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.SHOPPING_PRODUCT_BOX {
    width: 100%;
    padding-bottom: 10px;
    display: block;
    position: relative;
    float: left;
}

.SHOPPING_WELCOME {
    padding: 1em 0 2em 0;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
}


/* DONATION COMPONENTS */

.DONATION_ITEM_PARENT {
    margin: .5rem 0 0;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    /* Safari */
    flex-direction: row;
    -webkit-justify-content: flex-start;
    /* Safari */
    justify-content: flex-start;
    -webkit-align-content: space-around;
    /* Safari */
    align-content: space-around;
    -webkit-align-items: center;
    /* Safari */
    align-items: center;
    margin-top: .5rem;
}

.DONATION_ITEM_COMPONENT {
    margin: 0 2ch 0 0;
}

.DONATION_ITEM_COMPONENT img {
    height: 3.6rem;
    width: 4rem;
}

.DONATION_ITEM_BUTTON {
    margin: 0;
}

.DONATION_ITEM_NAME {
    width: 80ch;
}

.tooltipParent {
    position: relative;
    z-index: 999;
}

.tooltipParent:hover {
    z-index: 9998;
}

.tooltipParent div .toolTipSpan {
    display: none;
}

.tooltipParent a .toolTipSpan {
    display: none;
}

.tooltipParent div:hover .tips {
    cursor: default;
    display: flex;
    position: absolute;
    z-index: 9999;
    width: 100%;
    background-color: #f4f2f1;
    left: 100px;
    top: -10px;
    color: #2b2522;
    padding: 2ch;
    font-size: smaller;
    border: 1px solid #8f7a70;
    box-shadow: 2px 2px 2px gray;
}

.tooltipParent a:hover .tips {
    cursor: default;
    display: flex;
    position: absolute;
    z-index: 9999;
    width: 100%;
    background-color: #f4f2f1;
    left: 100px;
    top: -10px;
    color: #2b2522;
    padding: 2ch;
    font-size: smaller;
}

.PRODUCT_SEARCH_BAR {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    box-sizing: border-box;
    width: 100%;
    margin: 1rem 0 2rem;
    background-color: azure;
    padding: 8px;
    border: 1px solid lightgray;
}

.PRODUCT_SEARCH_BAR_SEARCH_TEXT {
    margin-left: 8px;
    flex-grow: 1;
}

#itemNameTextBox {
    width: 50ch;
}

.PRODUCT_SEARCH_BAR_TEXTBOX {
    width: 90%;
    box-sizing: border-box;
}

.PRODUCT_SEARCH_BAR_SEARCH_BUTTON {
    margin-left: 8px;
    padding-top: .6rem;
}

.PRODUCT_SEARCH_RESULTS {
    padding: 1rem 1ch 1rem;
    margin-bottom: 2rem;
    background: #EBE0EC;
    background-color: rgba(200, 191, 184, 0.26);
    width: 100%;
    box-sizing: border-box;
}

.PRODUCT_SEARCH_NO_RESULTS {
    color: red;
}

.duplicate-purchase-not-allowed {
    color: red;
    background-color: yellow;
    padding: 1rem 1ch;
    text-align: center;
    border: solid 2px red;
    border-radius: 8px;
}

.duplicate-purchase-not-allowed .product-name {
    font-weight: bold;
    text-decoration: underline;    
}

.duplicate-purchase-not-allowed p {
    margin: 1rem 0;
}

@media only screen and (max-width: 1000px) {
    .PRODUCT_SEARCH_BAR {
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }
    .PRODUCT_BOARD_GRID {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .PRODUCT_BOARD {
        justify-content: center;
        justify-content: space-evenly;
    }
    .PRODUCT_SEARCH_BAR_SEARCH_TEXT {
        margin-left: 0;
    }
    .PRODUCT_SEARCH_BAR_TEXTBOX {
        margin-left: 0;
    }
    .PRODUCT_TILE_BLANK {
        display: none;
    }
    .PRODUCT_SEARCH_BAR {
        flex-wrap: wrap;
    }
    .PRODUCT_DETAIL_BOARD {
        box-sizing: border-box;
        width: 100%;
        padding: 8px;
        justify-content: space-around;
    }
    .PRODUCT_DETAIL_PRODUCT {
        justify-content: space-around;
    }
    .PRODUCT_DETAIL_BUTTON_ROW {
        justify-content: flex-end;
    }
    .DONATION_ITEM_PARENT {
        margin: .5rem 8px 0;
        width: calc(100% - 16px);
    }
}


/* CHECK OUT STUFFS */

#addresses div {
    padding-bottom: 20px;
}

#addresses ul {
    float: left;
    list-style: none;
    margin: 0;
    border: 1px solid #fff;
    width: 255px;
    overflow: hidden;
}

#addressBreak {
    clear: both;
    padding-top: 20px;
}

#cartDisplayParentDiv {
    margin: 1rem 0 0 0;
}

a.action {
    padding: 0 10px 0 0;
}

.ADDRESS_TOGGLE_DIV {
    margin: 1rem 0 0;
}

.ADDRESS_SELECT {
    overflow-x: hidden;
    margin: 0 0 1rem;
    border: thin solid black;
    padding-right: 1ch;
}

.ADDRESS_SELECT_OPEN {
    height: 14rem;
    overflow-y: scroll;
    padding-bottom: 1rem;
}

.ADDRESS_SELECT_CLOSED {
    height: 0;
    overflow-y: hidden;
    display: none;
}

.ADDRESS_UL {
    margin-top: 1em;
}

.CHECK_OUT_BUTTON_PARENT {
    width: 93%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

table#cartTable tr:nth-child(even) {
    background-color: rgba(200, 191, 184, 0.14);
}

.addresses-flexgrid {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    padding: 1ch 0;
}

.address-type-parent {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
}

.address-rows-parent {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    gap: 2px 0;
}

.address-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.address-row .address-label {
    width: 33%;
}

.address-row .address-value {
    width: 66%;
}

.address-row input[type=text] {
    width: 100%;
    margin: 0;
}

.address-row select {
    width: 100%;
    margin: 0;
}

.address-type {
    background-color: rgba(0, 169, 165, 0.25);
    width: 100%;
    font-weight: bold;
    padding: 0.5rem 1ch;
    margin: 0 0 4px 0;
}

.address-type.checkout {
    text-align: right;
}

.address-update {
    background-color: rgba(0, 169, 165, 0.14);
    width: 100%;
    padding: 0.5rem 1ch;
    margin: 4px 0 0 0;
}

.HEADER_DIV {
    background-color: rgba(0, 169, 165, 0.08);
    width: 100%;
    width: calc(100% - 1.5ch);
    min-height: 33px;
    padding: 0 1ch .5rem 4px;
    margin-bottom: 1rem;
    display: -webkit-flex;
    /* Safari */
    display: flex;
    -webkit-flex-direction: row;
    /* Safari */
    flex-direction: row;
    -webkit-justify-content: space-between;
    /* Safari */
    justify-content: space-between;
    -webkit-align-content: center;
    /* Safari */
    align-content: center;
}

.CREDIT_CARD_PANEL {
    width: 100%;
    display: -webkit-flex;
    /* Safari */
    display: flex;
    -webkit-flex-direction: row;
    /* Safari */
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    /* Safari */
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    /* Safari */
    justify-content: space-between;
    -webkit-align-content: center;
    /* Safari */
    align-content: center;
}

.CREDIT_CARD_PROCESSING_PANEL {
    display: none;
}

.CREDIT_CARD_CONTROL_COL {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    gap: 2px 0;
}

.CREDIT_CARD_CONTROL_ROW {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.CREDIT_CARD_LABEL {
    font-size: medium;
    width: 20ch;
}

.CREDIT_CARD_CONTROL {
    font-size: medium;
    width: 60ch;
}

.cc-wide-input {
    width: 96%;
}

.cc-button-div {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 0.5rem;
    padding: 1ch 0 1.5ch;
}

.cc-site-seal {
    margin-top: 5px;
    text-align: center;
}

.cc-terms-of-service {
    margin: 1rem 0 2rem;
}

.CREDIT_CARD_CONTROL_ROW.cc-last-row {
    background-color: rgba(0, 169, 165, 0.25);
}

.CREDIT_CARD_CONTROL.cc-last-row {
    width: 100%;
    padding-right: 1ch;
}

.HIDE_AFQ_PANEL {
    display: none;
    visibility: hidden;
}

.AFQ_PARENT_CONTAINER {
    position: absolute;
    top: 0;
    z-index: 999999;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.AFQ_BEHIND_PARENT_CONTAINER {
    position: absolute;
    top: 0;
    z-index: 999998;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0.5;
    justify-content: center;
    align-items: center;
    background-color: darkgray;
}

.AFQ_HEADING {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .5rem;
    margin-bottom: .5rem;
}

.AFQ_PARENT_DIV {
    width: 585px;
    padding: .75rem .75rem .5rem;
    margin: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
}

#dialogMessageDiv {
    flex-shrink: 0;
}

#dialogCloseDiv {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 1rem;
    width: 100%;
    flex-shrink: 0;
}

.DIALOG_HEADING {
    text-align: center;
    padding-bottom: 1rem;
}

#couponEntryParentDiv {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: rgba(0, 169, 165, 0.25);
    align-items: baseline;
}

.couponEntryElement {
    padding: 8px 4px;
}

.couponEntryElementLabel {
    padding-top: 11px;
}

.error-required-value-missing {
    border-color: red;
    background-color: rgba(64, 0, 0, .1);
}

.checkout-getpayment-address-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.checkout-getpayment-single-address-block {
    width: 49%;
    min-width: 45ch;
}

.getpayment-heading {
    font-weight: bold;
    text-align: center;
    margin: 0.75rem 0 0.5rem;
}

.getpayment-heading h3 {
    text-align: left;
    font-size: medium;
}


/* END CHECKOUT STUFFS */


/* DOMAlert stuff */

.default_okButton {
    margin: 10px;
}

.default_cancelButton {
    margin: 10px;
}

div {
    --border-radius: 4px;
}

.shopping_alertWindow {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: outset 2px lightgray;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 4px lightgray;
}

.shopping_titleBar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    background-color: #fe1a00;
    color: white;
    padding: .5rem 2ch;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.shopping_contentArea {
    border-radius: inherit;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: .5rem 2ch;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.shopping_buttonArea {
    background-color: inherit;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: .5rem 2ch;
    gap: 1ch;
}

.shopping_okButton {
    padding: 0 2ch;
}

.shopping_cancelButton {
    padding: 0 2ch;
}


/* end DOMAlert stuff */