#grid .product,
#grid .category {
    box-sizing: border-box;
    float: left;
    width: 25%;
    padding: 10px;

    height: 380px;
}

#grid .product .module,
#grid .category .module {
    height: 330px;
}




.module {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #E1E1E1;
    padding: 15px 0;
    position:relative;
    min-height:200px;
    width: 100%;
    overflow: hidden;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .module{ overflow: visible; }
}

@media screen and (max-width: 768px) {
    #grid .product .module,
    #grid .category .module {
        margin: 0 auto;
    }
}

@media screen and ( max-width:960px ) and ( min-width:768px ) {
   #grid .product,
   #grid .category {
        width: 33.3333333333%;
        box-sizing: border-box;
        padding: 10px;
        min-height: 200px;
        float: left;
    }
}
@media screen and ( max-width:767px ) and ( min-width:481px ) {
   #grid .product,
   #grid .category {
        width: 50%;
        box-sizing: border-box;
        padding: 10px;
        min-height: 200px;
    }
}
@media screen and ( max-width:480px ) {
    #grid .product,
    #grid .category {
        width:100%;
        box-sizing: border-box;
        padding: 10px;
    }
}

.module .shade {
    min-height:200px;
}


.subCategoryLevel2 .module .details {
    width: auto;
    padding-top: 40px;
}

.module .add {
    position: absolute;
    right: 6%;
    top: 39%;
    width: 85px;
}
@media screen and ( max-width:680px ) {
    .module .add {
        display:none;
    }
}

@media only screen and (max-width: 960px) and (orientation:landscape) {
    .module .add {
        display:none;
    }
}

.module .add a {
    color: #ffffff;
    background-color: rgba(84, 84, 84, 0.75);
    outline:1px solid rgba(255, 255, 255, 0.5);
    font-weight: normal;
    font-size: 13px;
    line-height: normal;
    padding: 3px 8px;
    display: block;
    width: auto;
    border-radius: 2px;
}

.module .add a:hover {
    background-color: #45A0BA;
}

.subCategoryLevel2 {
    position: relative;
}

/*I have no idea what the usage of "subCategoryLevel2" is, but
its too oblique to be used the way we're using it. We need to
phase this out.*/
.subCategoryLevel2 .module img {
    margin-left: 0;
    margin-top: 15px;
    max-width:90%;
}

/* We need to have a more generic nomenclature for these panels/tiles
and then use something more along the lines of this code here*/
#grid .module img,
#grid .category img {
  margin-left:auto;
  margin-right:auto;
  max-width:90%;
  display:block;
}

#grid .module img {
  margin-top: 15px;
}

#grid .category img {
  margin-top: 50px;
}

/* CATALOG TEASER UPDATES */

#grid .category .catalogTeaser img {
    margin-top: 128px;
}

#grid .subCategoryLevel2 .module img {
    margin-top: 4px;
}

@media screen and ( max-width:960px ) {
    #grid .subCategoryLevel2 .module img {
        margin-top: 5px;
    }
}

@media screen and ( max-width:768px ) {
    #grid .subCategoryLevel2 .module img {
        margin-top: 9px;
    }
}


/* END CATALOG TEASER UPDATES */



.subCategoryLevel2 .details {
    color: #717073;
    font-weight: bold;
    text-align: left;
    font-size: 13px;
    padding: 10px 15px;
    margin: 0;
    clear:both;
    min-height:80px;
}

.subCategoryLevel2 .details h4 {
    line-height: 1.3em;
    margin: 2px 0 0 0;
    padding-top: 7px;
    font-size:16px;
    font-weight:normal;
    height: 2.3em;
    overflow: hidden;
    box-sizing: content-box;
}

.subCategoryLevel2 .details h4 a {
    color: #008AB0;
    margin-left: 0;
}

.subCategoryLevel2 .details .price {
    color: #555555;
    padding: 6px 0 2px 0;
    font-size:16px;
    font-weight:normal;
    text-align:left;
}

.subCategoryLevel2 .details div {
    float: none;
}

.subCategoryLevel2 .details ul {
    padding:2px 0;
}

.module ul>:first-child {
    margin-right: 10px;
}

.subCategoryLevel2 .details ul{
    height: 48px;
}
.subCategoryLevel2 .details ul li {
    padding: 3px 0 3px 0;
    font-size: 12px;
}

/*
POPUP QUICK VIEW
--------------*/

div.quick-view {
    position: fixed;
    width: 550px;
    max-height: 510px;
    border-radius: 4px;
    border: 1px solid #E1E1E1;
    text-align: left;
    background-color: #ffffff;
}

div.quick-view .col-1, div.quick-view .col-2 {
    float:left;
    width: 50%;
    padding: 0 1em;
    box-sizing: border-box;
    /*border-right: 1px solid #e1e1e1;*/
}

div.quick-view .col-1 input.qty {
    display: inline-block;
    width: 55px;
    background: transparent;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    height: 30px;
    -webkit-appearance: none;
    text-align: center;
    cursor: pointer;
}
div.quick-view .col-1 button {
    width: 100%;
    margin-bottom: 5px;
}

div.quick-view .col-1 .checkoutButtons button {
    text-indent:0;
}

button.btn-primary.cart {
    position:relative;
}

ul.mod-extra button.btn.width-full {
    position: absolute;
    bottom: 10px;
    width: 87%;
}

a.btn-secondary,
button.btn-secondary,
a.btn-secondary:hover,
button.btn-secondary:hover {
    width: 87%;
}

button.btn-secondary.fav:before{
    content:" ";
    position: relative;
    top: 1px;
    left: 0px;
    width:14px;
    height:13px;
    background: url("clientlib/images/icon-fav-white.svg") no-repeat;
    display: inline-block;
    padding-right: 7px;
}
button.btn-secondary.fav.active:before{
    background:url("clientlib/images/icon-fav.svg") no-repeat;
}
button#topContinueButton {
    margin-bottom:20px;
}
button#bottomContinueButton {
    margin-top: 30px;
}

div.quick-view a.learn_more {
    display:inline-block;
    margin-top:10px;
    font-size:14px;
		text-decoration: underline;
}

div.quick-view .col-1 img {
    padding: 20px 20px 0 20px;
    width: 100%;
    box-sizing: border-box;
}

div.quick-view .col-1 ul {
    margin-top: 10px;
    padding: 0 20px 20px 20px;
}

div.quick-view .col-1 ul li {
    font-size: 13px;
    line-height: 1.4em;
    padding: 0 0 7px;
}

div.quick-view .col-1 ul li.outOfStockError {
    display: none!important;
}

div.quick-view .col-1 ul li a {
    font-size: 18px;
    font-weight: normal;
    color: #008AB0;
    padding: 3px 0;
    margin-top: 17px;
    display: inline-block;
		line-height: 1em;
}

div.quick-view .col-2 p {
    font-size: 13px;
    padding: 10px 0 20px;
    line-height: 1.35em;
}

div.quick-view .col-2 table {
    width: 218px;
}

div.quick-view .col-2 table td {
    font-size: 12px;
    padding: 0 12px 5px 0;
}


/* FULL VIEW CSS */

div.fullView {
    width: 480px;
    position: relative;
    height: 380px;
    background-color: white;
}

div.fullView .col-1 {
    width: 230px;
    position:absolute;
    /*border-right: 1px solid #e1e1e1;*/
}

div.fullView .col-2 {
    width: 220px;
    position: absolute;
    right: 0;
}

div.fullView .col-1 img {
    margin-top: 0px;
    margin-left: 0px;
}

div.fullView .col-1 ul {
    margin-top: 0px;
    padding: 0px;
}

div.fullView .col-1 ul li {
    font-size: 13px;
    line-height: 1.4em;
    padding: 0 0 7px;
}

div.fullView .col-1 ul li a {
    font-size: 14px;
    font-weight: bold;
    color: #008AB0;
    padding: 3px 0;
}

div.fullView .col-2 p {
    font-size: 13px;
    padding: 10px 20px 20px 0;
    line-height: 1.35em;
}

div.fullView .col-2 table {
    width: 218px;
}

div.fullView .col-2 table td {
    font-size: 12px;
    padding: 0 12px 5px 0;
}


.simple_overlay {
    /* must be initially hidden */
    display: none;
    /* place overlay on top of other elements */
    z-index: 10000;
    background-color: white;
    /* CSS3 styling for latest browsers */
    box-shadow: 0 0 10px 5px #000;
    -moz-box-shadow: 0 0 10px 5px #000;
    -webkit-box-shadow: 0 0 10px #000;
}

.orderInfo dl dt {
    float: left;
    width: 130px;
    font-size: 12px;
}

.orderInfo dl dd {
    font-size: 12px;
}

.productDetailButton {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0081A8', endColorstr='#006280'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#0081A8), to(#006280)); /* for webkit browsers */
	background: -moz-linear-gradient(center top , #0081A8 5%, #006280 100%) repeat scroll 0 0 #0081A8;
	background-color:#0081A8;
    border: 1px solid #006280;
    border-radius: 4px 4px 4px 4px;
    color: #FFFFFF;
    display: inline-block;
    font-family: arial;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 15px;
    text-decoration: none;
	cursor: pointer;
}

.productDetailButton:hover {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#006280', endColorstr='#0081A8'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#006280), to(#0081A8)); /* for webkit browsers */
	background: -moz-linear-gradient(center top , #006280 5%, #0081A8 100%) repeat scroll 0 0 #006280;
	background-color:#0081A8;
}

.productDetailButton:active {
    position: relative;
    top: 1px;
}

.productDetails {
    margin-top: 15px;
}

.short-desc {
    max-height: 265px;
    overflow-y: auto;
    margin-bottom: 30px;
    margin-right: 10px;
    margin-top: 10px;
}

.productDetails {
    background: none repeat scroll 0 0 #EDEDED;
    border: 1px solid #DCDCDC;
	border-radius: 4px 4px 4px 4px;
	box-shadow: 0 1px 0 0 #FFFFFF inset;
	color: #777777;
	text-shadow: 1px 1px 0 #FFFFFF;
	display: inline-block;
    font-family: arial;
    font-size: 14px;
    font-weight: bold;
	padding: 3px 15px;
    text-decoration: none;
	cursor: pointer;
}

.productDetails:hover {
    background: none repeat scroll 0 0 #DFDFDF;
}

.productDetails:active {
    position: relative;
    top: 1px;
}

#product-mask {
    position:absolute;
    top:0;
    left:0;
    z-index:9000;
    background-color:#000;
    display:none;
}

.checkoutButtons {
    display:none;
}

.warning-out-of-stock {
    display: none;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.closeButton {
    float:right;
    height:26px;
    width:26px;
    font-size:26px;
    margin-top: 5px;
    margin-right: 5px;
}

.lto {
/*    border:1px solid blue; */
    height:240px;
}
.outsideAdd {
    position:absolute;
    top:135px;
    left:15px;
    color: #ffffff;
    background-color: #333333;
    font-weight: bold;
    font-size: 11px;
    line-height: normal;
    padding: 3px 8px;
    display: block;
    width: auto;
    opacity: 0.75;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

.outsideAdd:hover {
    background-color: #45A0BA;
}


div.lto_look .col-1 img {
    margin-left: 10px;
    margin-top: 0px;
}

.title {
    font-weight: bold;
}

.pricingInfo {
}

.itemnoLabel {
    width:135px;
    display: inline-block;
    font-size: 13px;
}

.itemnoValue {
    display: inline;
    font-size: 13px;
}

.itemnoValue div {
    display: inline;
}

.simple_overlay li label,
.simple_overlay td.label {
    width:130px;
    font-size:12px;
    color:#888;
    display:inline-block;
}
.simple_overlay li div,
.simple_overlay td.detail {
    width:100px;
    font-size:13px;
    line-height:20px;
    display:inline-block;
    vertical-align:top;
}
.simple_overlay li label.qty_label {
    width:auto;
}

.productError {
    color: red;
    font-size: 12px;
    padding-top: 4px;
}

.jqmOverlay {
    background-color: #000;
}

.product_quantity {
    width: 90px;
}

/*
FOR MULTI PRODUCT LISTINGS
------------------------------ */

div.product.section {
  padding: 10px 0;
  margin-bottom: 20px;
}
ul.ltoProduct {
    margin-bottom: 20px;
}
.ltoProduct li {
   display: block;
	 line-height: 1.8em;
   /* padding: 0 10px 0 0;*/
    vertical-align: middle;
    margin-bottom:8px;
}
.ltoProduct li select {
    width: auto;
}
.ltoProduct .productTableHeader {
    border-top: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    color: gray;
    padding: 5px 2px;
    height: 35px;
}
.ltoProduct .productTableHeader .item_price, .productTableRow .item_price {
    float: left;
    width: 25%;
    margin-left: 2px;
}
@media screen and ( max-width:767px ) {
    .ltoProduct .productTableHeader .item_price, .productTableRow .item_price {
        width: 30%;
    }
}

.ltoProduct .productTableHeader .item_pv, .productTableRow .item_pv {
    float:left;
    width:20%;
}
.ltoProduct .productTableHeader .item_qty, .productTableRow .item_qty {
    float: right;
    margin-right: 2px;
}


/*SCREEN OVERRIDE
---------------------*/
.module .details p {
	font-weight: normal;
	font-size: 13px;
	line-height: 1.4em;
    max-height: 7em;
    overflow: hidden;
}

.module .details span.shadeLabel {
	font-weight: normal;
	font-size: 16px;
    bottom: 2em;
}


.author-content-info {
  display:inline-block;
}
