/* before product listings / showing xx products and sorting */

.fl-post-module-woo-ordering {
    background-color: #fff;
    margin: 0px 5px 10px 5px;
    padding: 5px 15px !important;
    color: #615d5d;
    font-size: 15px;
}

/* Main card */

.product-list-card .fl-post-grid-post {
	font-size: 14px;
	background-color: #fff;
	position: relative;
	transition: box-shadow 0.5s, transform 0.5s;
	padding-bottom: 10px;
	border: 0;
	border-bottom: 5px solid transparent;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-list-card .fl-post-grid-post:hover {
    border-bottom: 5px solid #fed808;
    box-shadow: 5px 20px 30px rgba(0,0,0,0.2);
    position:relative;
    z-index:2;
}

.product-list-card .upper {
	padding: 15px 15px 0 15px;
}

.product-list-card .lower {
	margin-top: auto;
	padding: 0 15px 0 15px;
}

/* Product image */

.product-list-card .center {
	/* Make product image go center */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: auto;
    margin: auto;
    max-width: 100%;
}

.product-list-card .fl-post-image {
    border: 1px solid #e2e2e2;
    border: 0;
    height: 200px;
    padding: 10px 0;
    position: relative;
}

.product-list-card .fl-post-image img {
    vertical-align: middle;
    max-height: 200px;
}

/* Product category taxonomy */
.product-list-card .tuotekategoriat {
    text-align: left;
    opacity: .45;
}

.product-list-card .tuotekategoriat:hover ~ h2.fl-post-title {
    text-decoration: none !important;
}

/* Product title */

.product-list-card .fl-post-title {
  line-height: 26px;
  margin: 0;
  padding: 0 0 5px;
}

.product-list-card h2.fl-post-title {
	padding-top: 5px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-align: left;
	text-transform: none;
}

.product-list-card .fl-post-grid-post:hover h2.fl-post-title {
    text-decoration: underline;
}

/* review stars */
.product-list-card .star-rating {
	overflow: hidden;
	position: relative;
	height: 1em;
	line-height: 1;
	width: 5.4em;
	font-size: 12px;
	float: left !important;
	margin-top: 5px;
}

.product-list-card .star-rating:before {
    content: "\53\53\53\53\53" !important;
    color: #b3b3b3;
    font-family:star;
  position: absolute;
  left: 0;
}

.product-list-card .star-rating span:before {
  color: white;
  font-family: star;
} 

.product-list-card .star-rating span::before {
  content: "\53\53\53\53\53" !important;
  color: #fbb83b !important;
  font-family: star;
  position: absolute;
  left: 0;
  top: 0;
}

.product-list-card .star-rating span {
  overflow: hidden;
  float: right;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}

/* if no reviews */

.product-list-card .eiarvosanaa {

    text-align: left;
    opacity: .25;
}

.product-list-card .eiarvosanaa:before {
    content: "\53\53\53\53\53" !important;
    color: #b3b3b3;
    font-family:star;
    width: 50px;
    font-size: 12px;
}


/* Product price */

.product-list-card .tuotehinta {
    font-size: 22px;
    font-weight: 500;
    text-align: left;
}

.product-list-card .tuotehinta ins .woocommerce-Price-amount {
	font-size: 22px;
}

/* Lower part of card */


/* product price */

.product-list-card .price del {
    color: #000;
    font-size: 14px !important;
    font-weight: 200;
    padding-bottom: 5px;
}

.product-list-card .tuotehinta del .woocommerce-Price-amount {
	color: #000;
	font-size: 14px !important;
	font-weight: 200;
	padding-bottom: 5px;
	margin-right: 5px;
}

.product-list-card .woocommerce-Price-amount {
	font-size: 22px;
	font-weight: 500;
}

.product-list-card .tuotehinta del .woocommerce-Price-amount bdi {
	font-size: 13px;
	display: block;
	padding: 5px 0;
	text-decoration: line-through;
	opacity: .6;
}

/* discount price */
.product-list-card .price ins bdi {
    background-color: #fed808 !important;
    color: #000;
    padding: 5px 10px;
    border-radius: 2px;
    text-decoration: none;
	font-weight: 400;
}

.woocommerce .product-list-card div.product span.price {
    font-size: 22px !important;
}

.product-list-card .lower .price {
	font-size: 22px !important;
}

.product-list-card .woocommerce-price-suffix {
    font-weight: 200;
    font-size: 12px;
    opacity: 45;
}

/* wc price fixes */
.product-list-card .woocommerce-price-suffix {
	display: none;
}

.woocommerce .product-list-card div.product span.price ins {
	display: block;
}

.woocommerce .product-list-card div.product span.price del {
	display: block;
	height: 20px;
	margin-bottom: 5px;
}

/* Stock status */

.product-list-card .varasto-ok, .varasto-ei {
    font-size: 14px;
    text-align: left;
}

.product-list-card .varasto-ok i {
    color: #02C851;
    display: inline-block;
    opacity: .75;
}

.product-list-card .varasto-ei i {
    color: #c80202;
    display: inline-block;
    opacity: .75;
}

.product-list-card .varasto-ok p, .varasto-ei p {
    display: inline-block;
    padding-left: 6px;
    opacity: .45;
}

/* Product top title */
.product-list-card .huomioteksti {
	background-color: #fed808;
	border-radius: 2px;
	padding: 5px;
	color: #000;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.product-list-card .no-huomioteksti {
	/* if no top title set */
	height: 31px;
}