div.live-grid-filters {
    clear:both;
}

ul.live-grid-link {
    clear: both;
    margin: 0 0;
    border-radius: 20px;
    padding: 2px 5px;
    background-color: #333;
    display: inline-block;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);;
}

ul.live-grid-link li {
    float: left;
    position: relative;
    list-style: none;
    margin: 0;
    line-height: inherit;
}

ul.live-grid-link li a {
    vertical-align: top;
    padding: 5px;
    font-size: 0.9em;
    text-decoration: none;
    color: #ccc;
}

ul.live-grid-link li:after {
    content: "|";
}

ul.live-grid-link li:last-child:after {
    content: "";
}

ul.live-grid-link li a:hover {
    text-decoration: underline;
    color: red;
    font-weight: bold;
}

ul.live-grid-link li a.active {
    color: greenyellow;
    font-weight: bold;
    text-decoration: underline;
}

/* child by filter groups */
ul.live-grid-link.group {
    background-color: lightblue;
}

ul.live-grid-link.group li a {
    color: black;
}

ul.live-grid-link li a:hover {
    text-decoration: underline;
    color: red;
    font-weight: bold;
}

ul.live-grid-link.group li a.active {
    color: red;
    font-weight: bold;
    text-decoration: underline;
}

ul.live-grid-link.group li:after {
    content: "|";
}

ul.live-grid-link.group li:last-child:after {
    content: "";
}


/* sort by filter group */

ul.live-grid-sort-by {
    clear: both;
    margin: 0 0;
    border-radius: 20px;
    padding: 2px 5px;
    background-color: green;
    display: inline-block;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

ul.live-grid-sort-by li {
    float: left;
    position: relative;
    list-style: none;
    line-height: inherit;
    margin-left: 5px;
    margin-bottom: 0;
}

ul.live-grid-sort-by li a.active {
    color: yellow;
    font-weight: bold;
}

ul.live-grid-sort-by li a {
    color: white;
}

ul.live-grid-sort-by li:after {
    content: "|";
    color: white;
}

ul.live-grid-sort-by li:last-child:after {
    content: "";
}

ul.live-grid-sort-by li:first-child:before {
    content: "Sort By:";
    color: white;
    font-style:italic;
}

.live-grid-filter {
    clear: both;
    margin: 10px;
}

.live-grid-filter span {
    vertical-align: top;
}

.filter-label {
    font-style: italic;
    display:inline;
    float:left;
}

.live-grid-filter-group {
    display: none;
}

.live-grid-link-container {
    display:inline;
    float:left;
    clear: both;
}

div.product_grid_display{
    clear: both;
}

.product_grid_display .live_grid_item,
.product_grid_display .live_grid_item .item_image,
.product_grid_display .live_grid_item .grid_product_info,
.product_grid_display .live_grid_item .grid_more_info {
    display:block;
}

.product_grid_display .live_grid_item .item_image {
    /*height: 200px;*/
}

/*.product_grid_display .live_grid_item {*/
    /*max-width: 220px;*/
/*}*/

.product_grid_display .live_grid_item .item_image img {
    max-width: 100%;
    max-height: 100%;
}

/* Live Grid Responsive Layout */

.product_grid_display .live_grid_item {
    -moz-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
    -webkit-box-shadow:1px 1px 8px rgba(0,0,0,0.3);
    border:1px solid #ccc;
    padding: 0px;
    float:left;
    text-align:center;
    position:relative;
    margin-bottom:10px;
}


.product_grid_display .live_grid_item:hover {
    -moz-box-shadow:2px 2px 8px rgba(255,0,0,0.3);
    -webkit-box-shadow:2px 2px 10px rgba(255,0,0,0.3);
    padding: 3px;
    border:10px solid #eee;
    border-radius: 7px;
}

.product_grid_display .live_grid_item {
    width: 25%;
    min-width: 150px;
}

.product_grid_display .live_grid_item .item_image  {
    padding: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.product_grid_display .live_grid_item .item_image:before{
    content: "";
    display: block;
    padding-top: 100%; 	/* initial ratio of 1:1*/
}

.product_grid_display .live_grid_item .grid_product_info {
    margin-right: 1px;
    margin-left: 1px;
    margin-top:2px;
    margin-bottom:2px;
}

.product_grid_display .live_grid_item .item_image a {
    height: 100%;
    width: 100%;
}

.product_grid_display .live_grid_item .item_image a img {
    width: 100%;
    height: auto;
    display: inline;
}

.product_grid_display .live_grid_item .grid_product_info,
.product_grid_display .live_grid_item .grid_product_info {
    text-align:center;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.product_grid_display .live_grid_item a.more_details,
.product_grid_display .live_grid_item a.more_details:link,
.product_grid_display .live_grid_item a.more_details:visited {
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

.product_grid_display h2.prodtitle, #content .product_grid_display h2.prodtitle {
    font-size: 16px;
    margin-bottom: 5px;
    color: #006699;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.0em;
}


/* demo css */
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

/* ---- button ---- */


.grid_product_info .button {
    display: inline-block;
    padding: 0.5em 1.0em;
    border: none;
    border-radius: 7px;
    background: #EEE linear-gradient(to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2));
    color: #222;
    font-family: sans-serif;
    font-size: 16px;
    text-shadow: 0 1px white;
    cursor: pointer;
}

.button:hover {
    background-color: #8CF;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    color: #222;
}

.button:active,
.button.is-checked {
    background-color: #28F;
}

.button.is-checked {
    color: white;
    text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

.button-group .button {
    float: left;
    border-radius: 0;
    margin-left: 0;
    margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

/* ---- isotope ---- */

.isotope {
    border: 1px solid #333;
}

/* clear fix */
.isotope:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .element-item ---- */

.element-item {
    position: relative;
    float: left;
    width: 100px;
    height: 100px;
    margin: 5px;
    padding: 10px;
    background: #888;
    color: #262524;
}

.element-item.width2 { width: 210px; }
.element-item.height2 { height: 210px; }

.element-item > * {
    margin: 0;
    padding: 0;
}

.element-item .symbol {
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 42px;
    font-weight: bold;
    color: white;
}

.rainbowed > *:nth-child(10n+0) { background: hsl(   0, 100%, 50%); }
.rainbowed > *:nth-child(10n+1) { background: hsl(  36, 100%, 50%); }
.rainbowed > *:nth-child(10n+2) { background: hsl(  72, 100%, 50%); }
.rainbowed > *:nth-child(10n+3) { background: hsl( 108, 100%, 50%); }
.rainbowed > *:nth-child(10n+4) { background: hsl( 144, 100%, 50%); }
.rainbowed > *:nth-child(10n+5) { background: hsl( 180, 100%, 50%); }
.rainbowed > *:nth-child(10n+6) { background: hsl( 216, 100%, 50%); }
.rainbowed > *:nth-child(10n+7) { background: hsl( 252, 100%, 50%); }
.rainbowed > *:nth-child(10n+8) { background: hsl( 288, 100%, 50%); }
.rainbowed > *:nth-child(10n+9) { background: hsl( 324, 100%, 50%); }


div.wpsc_loading_animation {
    visibility: hidden;
    display: none;
}

.product_grid_display{
    margin-bottom: 10px;
}

.live_grid_item  .wpsc_buy_button.btn.btn-default {
    display: block;
    clear: both;
    margin-right: auto;
    margin-left: auto;
}

div.for-product {
    font-size:smaller;
    font-style: italic;
    white-space: nowrap;
    display:block;
    opacity: 0.7;

    border-top-width: 1px;
    border-top-style: solid;
}

div.the-product {
    width: 100%;
    font-size: 24px;
    line-height: 25px;
    /* white-space: nowrap; */
    display:block;
}

.product_grid_display h2.product-title,
#content .product_grid_display h2.product-title {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #006699;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.0em;
}

.grid_more_info {
    /*position: absolute;*/
    right: 0;
    left: 0;
    bottom: 5px;
}

.grid_more_info .product-form-wrapper {
    width: 100%;
    bottom: 5px;
    right: 0;
}

.grid_more_info .more-details-wrapper {
    display: block;
    margin-top:5px;
    margin-bottom:5px;
}

.product_grid_display .price_container {
    margin-top:5px;
    margin-bottom:5px;
    font-size: 1.3em;
    font-weight: bold;
    color: darkgray;
    width: 100%;
    text-align:center;
}

.product_grid_display .live_grid_item a.more_details,
.product_grid_display .live_grid_item a.more_details:link,
.product_grid_display .live_grid_item a.more_details:visited {
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

.product_grid_display .live_grid_item a.more_details:link,
.product_grid_display .live_grid_item a.more_details:visited {
    width:90%;
    margin-left:auto;
    margin-right:auto;

    -moz-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    -webkit-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) );
    background:-moz-linear-gradient( top, #9dce2c 5%, #8cb82b 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b');
    background-color:#9dce2c;
    -webkit-border-top-left-radius:20px;
    -moz-border-radius-topleft:20px;
    border-top-left-radius:20px;
    -webkit-border-top-right-radius:20px;
    -moz-border-radius-topright:20px;
    border-top-right-radius:20px;
    -webkit-border-bottom-right-radius:20px;
    -moz-border-radius-bottomright:20px;
    border-bottom-right-radius:20px;
    -webkit-border-bottom-left-radius:20px;
    -moz-border-radius-bottomleft:20px;
    border-bottom-left-radius:20px;
    text-indent:0;
    border:1px solid #83c41a;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    /* font-size:1.2rem; */
    font-weight:bold;
    font-style:italic;

    height: 30px;
    line-height: 30px;
    height:3.0rem;
    line-height:3.0rem;

    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #689324;
}

.product_grid_display .live_grid_item a.more_details:link,
.product_grid_display .live_grid_item a.more_details:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) );
    background:-moz-linear-gradient( top, #8cb82b 5%, #9dce2c 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c');
    background-color:#8cb82b;
}

.product_grid_display h2.prodtitle, #content .product_grid_display h2.prodtitle {
    font-size: 16px;
    margin-bottom: 5px;
    color: #006699;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.0em;
}

.sale-price.price-wrapper .sale-indicator {
    color: red;
    line-height: 18px;
    font-size: 18px;
}

.price-wrapper  {
    font-weight: bold;
    font-size: 32px;
    line-height: 32px;
    color: green;
    width: 100%;
    text-align: center;
}

.sale-price.price-wrapper  {
    font-weight: bold;
    color: red;
    font-size: 28px;
    line-height: 28px;
    opacity: 0.5;
}


.sale-price.price-wrapper .original-price {
    font-weight: bold;
    color: red;
    font-size: 28px;
    line-height: 28px;
    opacity: 0.5;
}

.price-wrapper.on-sale {
    color: green;
    font-size: 48px;
    line-height: 48px;
}

.on-sale {
    color: green;
    font-weight: bold;
}

.price-wrapper.on-sale,
.price-is-free {
    color: green;
    font-weight: 900;
    color: green;
    font-size: 48px;
    line-height: 48px;
}

