/*** TEMPLATE BEDRIFTER ***/
.page-template-template-products {
	background: white !important;
}

.page-template-template-products .site-inner {
	max-width: 1400px;
	overflow: hidden;
	background: white;
    padding: 0 16px;
}

.page-template-template-products .filter-products {
	text-align: center;
}

.page-template-template-products .grid .product_category .product-img {
	height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e5e5e5;	
	transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
}

.page-template-template-products .grid .product_category .product-content {
	clear: both;
	overflow: hidden;
	border-bottom: 2px solid #E4E4E4 !important;
	background: rgb(241, 241, 241);
	position: relative;
	min-height: 60px;
}
.page-template-template-products .grid .product_category .product-img-wrapper .price-wrap {
    width: 88px;
    height: 88px;
    z-index: 10;
    overflow: hidden;
    position: absolute;
    top: -3px;
    right: -3px;
}

.page-template-template-products .grid .product_category .product-img-wrapper .price-wrap .price {
	font-weight: bold;
    color: #333;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    text-transform: uppercase;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 1px 15px;
    left: 15px;
    top: 15px;
    width: 95px;
    background-color: #1e73be;
    color: white;
    -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.page-template-template-products .grid .product_category h4 {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0px;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 400;
    padding: 16px 20px;
}

@media (min-width: 1024px) {
	.page-template-template-products .grid .product_category h4 {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
		right: 0;
    }
}

.page-template-template-products .grid .product_category em {
	display: block;
	font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
}
.page-template-template-products .grid .product_category em.cat {
    float: right;
}
.page-template-template-products .grid .product_category em.loc {
    float: right;
}

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

.sub-cats {
	padding-left: 15px;
}

.filters .button {
    margin: 5px;
    color: black;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px 6px !important;
    border-color: #e5e5e5;
    border: 2px solid #e5e5e5 !important;
    background-color: #e5e5e5;
    width: 100%;
    text-align: left;
    letter-spacing: 1px;
    transition: none !important;
}

.filters .button:last-of-type {
	margin-right: 0 !important;
}

.filters .button:hover {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  color: white;
  background-color: #64a551 !important;
  border-color: #64a551 !important;
}

.filters .button:active,
.filters .button.is-checked,
.filters .button.is-checked:active {
  color: white !important;
  border-color: #64a551 !important;
  background-color: #64a551 !important;
}
.filters .button:focus {
	outline: none !important;
}

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

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

.filters .button-group .button {
  border-radius: 0;
  margin-left: 0;
}


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

.filters {
	max-width: 400px;
}

.grid {
    margin-top: 16px;
    margin-bottom: 72px;
}

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

/* ui group */

.ui-group {
	width: 100%;
	vertical-align: top;
	margin-bottom: 12px;
}

.ui-group h2 {
	display: block;
	vertical-align: top;
	margin-bottom: 0;
	line-height: 32px;
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
}

/* color-shape */

.grid .product_category {
  width: 33.333%;
  margin: 0px;
  float: left;
  padding-right: 15px;
  padding-bottom: 15px;
}

.grid .product_category a {
	color: black;
	border-bottom: 0 !important;
	display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.13);
}

.grid .product_category a .product-img-wrapper {
	overflow: hidden;
	position: relative;
} 

.grid .product_category a:hover .product-img {
	transform: scale(1.04);
}

@media (max-width: 1440px) and (min-width: 1025px) {
	.grid .product_category {
		width: 33.333% !important;
	}
}

@media only screen and (max-width: 1200px) {
	.page-template-template-products.full-width-content .content {
	    padding: 0 10px !important;
	}
}

@media (max-width: 1024px) and (min-width: 641px) {
	.grid .product_category {
		width: 50% !important;
		height: 300px !important;
	}
	.page-template-template-products .grid .product_category .product-img {
		height: 200px !important;
	}
	.grid {
		margin-bottom: 0 !important;
	}
}
@media (max-width: 640px) and (min-width: 0px) {
	.grid .product_category {
		width: 100% !important;
	}
	.page-template-template-products .grid .product_category .product-img {
		height: 200px !important;
	}
	.grid .product_category {
		padding-right: 0 !important;
	}
	.grid {
		margin-bottom: 0 !important;
	}
}



.single-products .products-featured-image {
	height: 400px;
    margin-bottom: 2em;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.single-products .addtoany_share_save_container {
	margin-top: 2em;
}
@media (max-width: 1024px) and (min-width: 641px) {
	.single-products .products-featured-image {
		height: 300px !important;
	}
}
@media (max-width: 640px) and (min-width: 0px) {
	.single-products .products-featured-image {
		height: 200px !important;
	}
}

.single-products .gform_wrapper {
	background-image: url(/wp-content/uploads/sites/5/2016/06/cont_bg.png);
    padding: 20px;
    margin: 32px 0px 49px !important;
}
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
	margin-top: 0 !important;
}