/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0.1
*/


/* Child theme CSS
--------------------------------------------------------------- */
a[href="#filter"] {
    background-color: #00ba95;
    border-radius: 50px;
    padding: 2px 28px;
    color: #ffffff !important;
}
span.nm-menu-cart-count.count.nm-count-zero {
	display: none !important;
}

select#wcj-currency-select {
	border-radius: 5px;
    color: #aaaaaa;
    background-color: #282828;
    margin: -2px 15px 0 0;
}

.home-menu a:before {
   font-family: FontAwesome;
   content: "\f015";
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
}

.gift-menu a:before {
   font-family: FontAwesome;
   content: "\f06b";
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
}

.categories-menu a:before {
   font-family: FontAwesome;
   content: "\f02c";
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
}

.occasion-menu a:before {
   font-family: FontAwesome;
   content: "\f274";
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
}

.wishlist-menu a:before {
   font-family: FontAwesome;
   content: "\f004";
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
}

.nm-blog-grid [class*="block-grid-"] > li {
    padding: 0 1.6% 26px;
}
.nm-blog-grid .nm-post-content,.nm-related-posts-excerpt,.nm-post-meta {
    display: none;
}

.nm-image-overlay {
    background: rgba(0, 0, 0, 0.27);
}

.nm-image-overlay:after {
	width: 0px;
}
.nm-image-overlay:before {
	width: 0px;
}

.nm-related-posts-content {
    margin-top: 19px;
}

article img {
	width: 100%;
}

.wp-caption-text {
    position: absolute;
    bottom: inherit;
    left: inherit;
    font-size: 12px;
    line-height: 1.6;
    color: #a5a5a5;
    max-width: 180px;
    margin: 0;
    padding: 7px 19px;
    background: inherit;
}
@media (max-width: 991px) {
div#rpwe_widget-2 {
	display: none;
}
}
.rpwe-title a {
	color: #282828 !important;
}
.nm-related-posts-content h3 {
    font-size: 22px;
}
@media (max-width: 550px) {
.nm-related-posts {
    padding: 10px 0 25px;
}
.nm-related-posts-content h3 {
    font-size: 17px;
}
.nm-related-posts-content {
    margin-top: 0px;
}
 }

 div#text-6 {
 	    text-align: center;
 }
 .displayad img {
 	width: inherit;
 	margin-top: 10px;
 	margin-bottom: 30px;
 }
 @media (min-width: 992px) {
 article .displayad {
    display: none;
}
}
@media (max-width: 992px) {
.nm-post .nm-sidebar {
    text-align: center;
}
}

.amazondisclaimer {
background-color: #282828;
}
.amazondisclaimer p {
    margin: 0;
    font-size: 10px;
    padding: 10px;
}
.amazondisclaimer a {
	    color: #afafaf;
}
.wp-caption-text {
    max-width: 100%;
}
.nm-post-header h1,article h2 {
  font-weight: 700;
}
.nm-post-header h1 {
    font-size: 36px;
}
@media (max-width: 550px) {
.nm-post-header h1 {
    font-size: 26px;
} }
article h2 {
    font-size: 26px;
}
.nm-blog-grid .nm-post-title {
    font-weight: 600;
}
.rpwe-block h3 {
    font-size: 19px !important;
}
.nm-single-product-bg {
    background: #ffffff !important;
}
.nm-page-wrap {
    background-color: #f3f3f3 !important;
}
/*
figure.woocommerce-product-gallery__wrapper {
    height: auto !important;
}
.woocommerce-product-gallery__image a img {
    width: auto;
}
#nm-quickview-slider img {
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
#nm-quickview {
    background: #fbfbfb !important;
}
#nm-quickview-slider {
    background: #fff !important;
}
*/
.nm-shop-loop-thumbnail {
    height: 347px;
    width: 100%;
    background: #fff !important;
    box-shadow: 0px 3px 10px -4px rgba(0, 0, 0, 0.4);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.nm-shop-loop-thumbnail img {
    display: block;
    width: 60%;
    height: 347px !important;
    object-fit: contain;
    margin: 0 20% 0;
}
#nm-quickview-slider img {
    width: 100%;
    height: 800px;
    object-fit: cover;

}
#nm-quickview-slider .woocommerce-product-gallery__image {
    height: 800px;
    width: 100%;
}
#nm-quickview-slider {
    background: #fff;
}
#nm-quickview {
    background: #f9f9f9;
}
.woocommerce-product-gallery__image a img {
    object-fit: contain;
    max-height: 500px;
}
@media (max-width: 550px) {
.nm-shop-loop-thumbnail img, .nm-shop-loop-thumbnail {
    height: 200px !important;
} }
.nm-shop-loop-thumbnail:hover, .nm-product-category-inner:hover {
    box-shadow: 0 22px 43px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 22px 43px rgba(0,0,0,0.15);
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    -moz-transform: none;
}
.nm-shop-loop-thumbnail img:nth-of-type(2) {
width: 100%;
    margin: 0;
    object-fit: cover;
}
.nm-product-category-inner {
      box-shadow: 0px 3px 10px -4px rgba(0, 0, 0, 0.4);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
@media (max-width: 1100px) {
#nm-quickview-slider .woocommerce-product-gallery__image {
    max-height: 680px;
    object-fit: contain;
}
#nm-quickview-slider img {
    max-height: 680px;
    object-fit: contain;
}
}