.center { text-align: center; }

.header-container .form-search button { margin-top: 1px; }

.products-grid .ratings {display:none;}
.products-grid .add-to-links {display:none !important;}
.products-grid .price-box {/*min-height:4em;*/ width:100%; margin-left:-6px; text-align:center; font-size: 1.1em; }
.products-grid .product-name {min-height:3em; text-overflow:ellipsis; font-size:1.1em; height:4.5em; overflow:hidden; text-align:center; position:relative; margin-top:1em;}
.products-grid .actions {clear:both; float:none; text-align:center; padding-right:5px;}
.products-list button.btn-cart {float:right;}

.products-home {margin:4em 0;}
.products-grid .product-image img {display:block; margin:0 auto;}

.products-grid li.item {width:23%;}

.products-grid .product-name a:after {position:absolute; content:""; left:0px; top:0px; height:100%; width:100%; /*background:linear-gradient(to bottom, transparent 0%,transparent 60%,white 100%);*/background: url("/skin/frontend/argento/argento/images/text-fade.png"); background-position: bottom; background-repeat: repeat-x;}

.downloads-item .item-info { overflow: visible; }

@media all and (max-width:480px) {
	.products-grid .product-name {height:1.5em; min-height:1.5em;}
}

ul.easycatalog-grid li {margin-top:1em; margin-bottom:2em;}
ul.easycatalog-grid .category-name {text-align:center;}

/* Product Page Endorsement Container Styling */
.std p.endorsement {margin:1.5em 1em .5em;}
.std p.endorser {margin:.5em 2.5em 2em;}
.endorser:before {content:" ~ ";display:inline-block;margin:0 .5em 0 2.5em;width:auto;line-height:.9;}

/* Product Page Pinterest Container Styling */
.pin-container {
	position: absolute;
	top: 1em;
	left: 1em;
  filter: drop-shadow(0px 1px 1px #222);
}

/* Product Page Ratings / Reviews Container Styling */
.ratings-table {width: fit-content; }
.ratings-table colgroup col { width: auto; }


/* Image Banner on top of page: margin below picture */

.placeholder-content-top .easybanner-banner img {margin-bottom: 2em;}

/*CSS Fixes for "Scroll to Top" button on right side*/

p#scroll-up:before {display: none;} /*Override the generic :before minimum paragraph width pseudoclass*/

@media screen and (max-width: 1200px) {
	p#scroll-up {display: none !important;} /* Hide the scroll-up button if it would overlay on top of page content*/
}

/*Overrides for Easy Tabs related product styling*/
#product_tabs_related_tabbed_contents ul { clear: none; }
#product_tabs_related_tabbed_contents li { float:left; margin: 0 1% 7px; width: 23%; text-align: center; }
#product_tabs_related_tabbed_contents li:nth-child(1n) { width: 23%; }
#product_tabs_related_tabbed_contents li:nth-child(3n) { margin-right: 1%; }
#product_tabs_related_tabbed_contents li:nth-child(3n+1) { clear: none; }
#product_tabs_related_tabbed_contents .product-images { float: none; }
#product_tabs_related_tabbed_contents .product-images a { margin: 0; }
#product_tabs_related_tabbed_contents .product-details { margin: 0;}
#product_tabs_related_tabbed_contents .price-box { margin: 5px 0 5px -6px; }

/*CSS Fixes for Add-to-cart (Both under "highlight" and product grids)*/
.products-grid .actions .btn-cart {display:none;}

div.block h1, div.block h2, div.block h1 a, div.block h2 a {font-weight:bold; color:#0A263C;}
.block-highlight .block-title {font-size:18px;}

.header {padding-bottom:5px;}

.product-shop-inner .highlight {color:#EF6E00;}

a {text-decoration:none;}
a:hover {text-decoration:underline;}

.product-shop-inner .short-description table td, .product-shop-inner .short-description table th {padding:2px 5px;}
.product-shop-inner .short-description table th {font-weight:bold;}
.product-shop-inner .short-description table th {font-weight:bold;}

/*.product-shop-inner p.no-rating {display:none;}*/

.footer a[title="Search Terms"] {display:none;}

.highslide img, .highslide:hover img {border:none;}

.free-downloads-container .category-title {display:none;}

#navigationpro-left {overflow-x:hidden;}

.easycatalogimg a + h5.category-name {margin-top:8px;}

.easycatalogimg ul.easycatalog-list img.catalog-thumbnail {float:left; max-width:33%; min-width:125px; margin:0 1em 1em 0;}
.easycatalogimg ul.easycatalog-list li {clear:left; margin:1em; border-bottom:solid 1px #ccc;}
.easycatalogimg ul.easycatalog-list li:last-child {border-bottom:none;}
.easycatalogimg ul.easycatalog-list li h5 {margin-top:2em; display:inline-block;}
@media screen and (max-width:350px) {
	.easycatalogimg ul.easycatalog-list img.catalog-thumbnail {float:none; max-width:100%; min-width:initial; margin:0 auto 1em; display:block;}
}

/* NLPG Responsive Video Embeds*/


div.nlpg-videoWrapper {
	position:relative;
	padding-bottom:56.25%; /* 16:9 */
	padding-top:25px;
	height:0;
}
div.nlpg-videoWrapper iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	max-height:80vh;
}


/* override for FishPig Attribute Splash Pages default styling */
.splash-description-full {padding-top:0 !important;}

/* responsive columns for FishPig Attribute Splash Group Pages */
@media (max-width:480px) {
 .splash-group-grid-4 li.item {width:50% !important;}
}

/*dl#narrow-by-list dt:last-of-type, dl#narrow-by-list dd:last-of-type {display:none;}*/

/* customization for ManaDev Layered Navigation*/
dl.narrow-by-list dd {
 padding-left:7px;
 margin:3px 0 9px;
 color:#757578;
}

/* Navigation fix for the bottom float bar (visibility) */
@media (max-width:480px) {
.floatbar {text-shadow:none; color:#fff; background:#023761;}
}

/* General Formatting - background color */
body {background:rgba(0, 0, 0, 0.04);}
.header {box-shadow:0 0px 15px #ccc;}
.nav-container {max-width:970px; margin:0 -5px; background:transparent url(../images/nav_container.png) no-repeat 50% 100%; box-shadow:0 10px 15px #ccc;}
.nav-container .navpro::before, .nav-container .navpro::after { display: none; }
.nav-container .block-highlight .block-title {margin-top: 1em;}
.main {box-shadow:0 10px 15px #ccc;}
/*.products-grid .main-info {padding: 0; height: fit-content;}*/ /* OPTIONAL - TRADEOFF FOR COLOR VS WHITESPACE */
.collateral-info .actions p:before {display: none;}
.products-grid .collateral-info .actions .btn-cart {display: block; }

@media (min-width:480px) {
.col2-left-layout .col-main {width:74%; padding-right:5px;}
}

.firecheckout-index-index .checkout-title h1 {color:#008752 !important;}

@media only screen and (max-width:1300px) {
	.slide-main-catalog {display:none;}
	.slide-main {display:none;}
}

/* Aheadworks Blog icon fix (right-hand menu) on small screen */
@media (max-width:480px) {
	.main-container .sidebar .block-title span, .main-container .sidebar .block-title strong {background-image:none;}
}

/* AheadWorks Blog content image floats and minimum paragraph width fixes */	
p:before {
	content:"";
	width:12em;
	display:block;
	overflow:hidden;
}
.toolbar p.view-mode:before { display: none; } /* fix for toolbar */
@media (min-width:481px) {
.postContent img[align="left"],
.postContent img[style*="float:left"],
.postContent img[style*="float:left"]{
	margin:5px 10px 5px 0px !important;
	max-width:50% !important;
}

.postContent img[align="right"],
.postContent img[style*="float:right"],
.postContent img[style*="float:right"]{
	margin:5px 0px 5px 10px !important;
	max-width:50% !important;
}
}

@media (max-width:480px) {
	.postContent img[align="left"],
	.postContent img[style*="float:left"],
	.postContent img[style*="float:left"],
	.postContent img[align="right"],
	.postContent img[style*="float:right"],
	.postContent img[style*="float:right"]{
		margin:5px auto !important;
		float:none !important;
		display:block !important;
	}
}

/* AheadWorks Blog Post Clear (fixes comments after floated images) */
.postWrapper .postDetails:after, .widget-latest .postContent:after {
	content:"";
	display:table;
	clear:both;
}
		
/* Custom Tweak for Centered Advertisement Banner on Suggest Page & Checkout */

.box-easybanner-placeholder .nlpg-centered-banner img {margin:0 auto; display:block;}
.firecheckout-index-index .box-easybanner-placeholder .nlpg-centered-banner img {margin-top:2em;}

/* Fix for product grid not wrapping evenly into 2 columns on small screens */

@media (max-width:480px) {
	.products-grid:not(.cols-3) li.item:nth-of-type(3) {
		clear:both;
	}
}

/* Drop Shadows behind products */
.product-image img {
	/*border:1px solid gray; box-shadow:gray 0px 0px 3px;*/
	-webkit-filter:drop-shadow(0px 0px 1px rgba(0,0,0,.8)) drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
	filter:drop-shadow(0px 0px 1px rgba(0,0,0,.8)) drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
}

.product-img-box {text-align:center;}
.product-img-box img {/* REQUIRES keepFrame(false) on resizing, or core override on catalog/image helper */
	/*border:1px solid gray; box-shadow:gray 0px 0px 3px;*/
	-webkit-filter:drop-shadow(0px 0px 1px rgba(0,0,0,.8)) drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
	filter:drop-shadow(0px 0px 1px rgba(0,0,0,.8)) drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
	max-height:50vh;
}

/***************************** Cover Drops (flush on bottom, with Amasty Labels) */

.products-grid .grid-flex-outer, .products-list .grid-flex-outer, .soldtogether-block .grid-flex-outer {
	position:relative;
	width:100%;
	padding-bottom:135%;
	height:0;
	display: table;
}

.products-list .grid-flex-outer {
	max-width: 200px;
	padding-bottom: 225px;
	float:left;
}

.products-grid .grid-flex-inner, .products-list .grid-flex-inner, .soldtogether-block .grid-flex-inner  {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	/*max-height:225px;*/
	margin-top:auto;
	display: table-cell;
  text-align: center;
}

.products-grid .product-image {margin-bottom:0;}

.products-grid .product-image, .products-grid .product-image img { max-height: 100%; }
.products-grid .product-image img { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }
.products-grid a.product-image { height: 100%; }

.soldtogether-block .amazonstyle-images {display: flex; align-items:center; flex-wrap:wrap;}
.soldtogether-block .amazonstyle-images li {min-width:100px;width:16%; margin:2em 0;}

.products-grid .grid-flex-inner .prolabel-wrapper { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }

.prolabel-wrapper {display: inline-block; max-width: 100%; max-height: 100%;}

.prolabel-wrapper .prolabels-image {
	background-size: contain !important;
	display: inline-block;
	width: 100% !important;
	height: 100% !important;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

.prolabel-wrapper .top-left span {background-position: top left !important;}
.prolabel-wrapper .top-center span {background-position: top center !important;}
.prolabel-wrapper .top-right span {background-position: top right !important;}
.prolabel-wrapper .middle-left span {background-position: middle left !important;}
.prolabel-wrapper .middle-center span {background-position: middle center !important;}
.prolabel-wrapper .middle-right span {background-position: middle right !important;}
.prolabel-wrapper .bottom-left span {background-position: bottom left !important;}
.prolabel-wrapper .bottom-center span {background-position: bottom center !important;}
.prolabel-wrapper .bottom-right span {background-position: bottom right !important;}

@media (max-width: 768px) {
	.products-list .grid-flex-outer {
		max-width: 100px;
	}
}

@media all and (max-width:480px) {
	.products-grid .grid-flex-outer { padding-bottom:135%;}
	.products-grid li.item { padding-top: 7px; width: 48%; }

	.products-list .grid-flex-outer, .products-list .grid-flex-inner { display: block; width: auto; height: auto; position: relative; margin: 0; padding: 0; float: none;}
	
	.products-list .grid-flex-outer {
	max-width: 200px;
	margin: 1em auto;
	}

	.products-list .prolabel-wrapper { float: none; }
	.products-list .prolabel-wrapper:after {
			display: block;
			content: ".";
			clear: both;
			font-size: 0;
			line-height: 0;
			height: 0;
			overflow: hidden;
	}
	.products-list .product-image, .products-list .product-image img { width: 100%; }

	.products-list .product-shop { margin-left: 0; }

}
/*************File Download Description CSS for Lesson Planners***********/

table.lesson-planner-detail {border:none; border-collapse:collapse; margin-top:1em; margin-bottom:2em;}
table.lesson-planner-detail td {padding:5px 15px; vertical-align:middle; text-align:center; border:solid 1px;}

/*************Returns Page Form Custom CSS***********/

#returns-terms-block {padding:2em;}
#returns-terms-block h3 {margin-top:3em;}
#returns-terms-block p {margin:2em;}
#returns-terms-block ul {margin-left:4em; list-style-type:disc;}
#returns-terms-block li {margin:0px;}

.nav-dropdown .block-highlight .products-grid .grid-flex-outer { padding-bottom: 100%; }

/*************Products Page Descriptions Custom CSS***********/

#product_tabs_description_tabbed_contents h4.attribute-title { margin-bottom: 1em; }

/*************General Media Query Overrides***********/

@media (max-width: 768px) and (min-width: 481px) {
    /* OVERRIDE two columns instead of four  */
    .block-highlight .products-grid.cols-4 li.item,
    .products-grid.cols-4 li.item  { width: 23%; } /* 4 columns */
    .products-grid.cols-4 li.item:nth-of-type(2n+1) { clear: inherit; } /* don't override rows */
}

@media (max-width: 768px) {
		/* OVERRIDE JS Scrollposition margin when on mobile */
		.header-container { margin-bottom: 0px !important; }
}

@media (max-width: 1200px) {
	.products-grid.cols-5 li.item:nth-of-type(4n), .products-grid.cols-6 li.item:nth-of-type(4n) {
		clear: none;
	}
}

@media (max-width:480px) {
	.footer-cms .footer-links li { width: 100%; text-align: center; }
}

/*Hide default newsletter subscription in footer */
.footer-toolbar .block-subscribe {display: none;}


/* Replace base layout with a content frame */
.window-pane {border-bottom: 1px solid #dadcdd;}
.content-frame {position:relative;z-index:2;margin:0 auto -1px;max-width:970px;box-shadow:0 0px 15px #ccc;border-bottom:1px solid #dadcdd;}
.content-frame .main-container {border-bottom: none;}
.content-frame .main, .content-frame .header, .content-frame .nav-container {box-shadow: none;}
.footer-toolbar-container, .footer-cms-container, .footer-container {position: relative; z-index: 1; border-bottom: none; }
.footer-toolbar-container { box-shadow: none; border-top: none; }

/* Re-centering of the Ajax Pro Notice Form after adding page wrapping */
@media (min-width: 970px) {
#ajaxpro-notice-form {left: calc(((100vw - 970px) / 2) + 7%) !important;}
.content-frame #ajaxpro-notice-form {width: 740px !important; left: 115px !important;}
}

@media (min-width: 768px) {
.nav-container-fixed {position: fixed; width: 100%; top: 0; z-index: 999; margin: 0 auto !important; left: 0; right: 0; box-shadow: 0 0px 15px #ccc !important; background-position: 50% -17px; height: 46px; border-bottom: 1px solid #aaa; padding-top: 0; }
}

/* Hide Mobile ClickDesk Window */
.cd-mob-chat-widget {display: none;}


/* Customizations for Mirasvit Rewards */
.rewards-social-buttons > div {
    vertical-align: middle;
    height: 24px;
    padding-top: 2px !important;
    box-sizing: border-box;
    position: relative;
    top: 0 !important;
    margin-top: 0 !important;
}
.rewards-social-buttons > div.gp {
       padding-top: 0 !important;
}

.rewardssocial-buttons { display: none; } /* Hide on Frontend Catalog & Product Pages */

.box-account div.fieldset div.rewards-social-buttons { display: block; } /* Display on account pages */

.sp-methods select.month { width: 100%; } /* fix for checkout page */

/* Catalog List Customization */
p.cat-text-link { font-size: 1.2em; white-space: nowrap; }
p.cat-text-link i.fa-caret-right { margin-left: .35em; top: .1em; position: relative; }

/* Blog Customization */
.blog-index-list .col-main > .postWrapper { margin-top: 2em; }
.col-main > .postWrapper ~ .postWrapper { margin-top: 0; }
.postWrapper, .commentWrapper { margin: 1em; }
.postTitle h2 {margin-bottom: .2em; }
.tags h4 {float: left; margin-right: .25em; }

/* Mirasvit Rewards Block on Checkout */
#mirasvit-rewards #coupon-discount label {
    display: block;
}

#mirasvit-rewards div.input-box {
    margin: 1em 0;
}

/* Hide the Cross-Sell container on /checkout/cart */
@media (min-width: 481px) {
.cart .shippping-crossell .col-2 {
    display: none;
}

.cart .shipping-crosssell .col-1 {
    width: 100%;
}

.cart .shipping-crosssell {
    width: 49%;
}

.cart .totals {
    width: 49%;
    box-sizing: border-box;
}
}

/* TemplatesMaster FireCheckout smoothing of transition between desktop & phone modes */

@media (max-width: 800px) and (min-width: 640px) {
	.firecheckout-set .col2-set .col-1, .firecheckout-set .col2-set .col-2 {
		float: left;
	}
}

/* TemplatesMaster Checkout Success Modifications */
.tm-checkoutsuccess-middleright { margin-top: 35px; }

@media (max-width: 480px) {
	.quick-account-create #quick-register .field { width: 100%; clear: both; }
}

/* FME Advanced Frequently Asked Questions overrides for lists in the answers */
.theme5 ol.answer-content {
    list-style: decimal;
    margin: .5em 0;
}
.theme5 ol.answer-content li {
    list-style-type: decimal;
    line-height: 1.8;
    margin: 0 0 0 4em;
    padding: 0;
    border-bottom: none;
}

.theme5 ul.answer-content {
    list-style: disc;
    margin: .5em 0;
}
.theme5 ul.answer-content li {
    list-style-type: disc;
    line-height: 1.8;
    margin: 0 0 0 4em;
    padding: 0;
    border-bottom: none;
}

/* TemplatesMaster Argento smoothing of footer transition between desktop & phone modes */
@media (min-width: 640px) {
    .footer-cms .col-md-9 {width:60%;}
    .footer-cms .footer-links {width: 100%;}
}

/* This CSS Snippet will hide product images with "Marketing Banner" in the label */

a.highslide.lightbox-image[title="Marketing Banner"], .lightbox-image img[alt="Marketing Banner"] { 
    display: none;
}
.product-img-box .more-views h2 {
    display: none;
}

/* Update for Aheadworks Blog Posts */

.postWrapper .postContent a {text-decoration: underline;}
.postWrapper .postContent {font-size: 1.3em; line-height: 1.8;}
.postWrapper .postContent .block-highlight .block-title { font-size: 24px; margin-top: 2em; text-align: center; }
.postWrapper .postContent .block-highlight .products-grid .product-name { font-size: .8em; }

@media (min-width: 480px) {
	.postWrapper .postContent { margin: 2em 2em 10px 2em; }
}