/* 
Theme Name:		Hello Elementor Child
Theme URI:		https://elementor.com/
Description:	Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author:			Elementor Team
Author URI:		https://elementor.com/
Template:		hello-elementor
Version:		1.0.0
Text Domain:	hello-elementor-child
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
Arvostelu täbin muotoilu.
 */

#tab-title-reviews, h2.woocommerce-Reviews-title, .comment_container img {display:none!important;}
.comment-text {margin-left:0px!important;}
ol.commentlist {padding-left:0px!important;}

/*
Reviews shortcoden muotoilut.
*/

li.review img {display:none!important;}
#latestreviews ol.commentlist {list-style-type:none;}
div.comment-text {border:1px solid #000000;padding:10px;}
.woocommerce .star-rating span::before {color:#ffc107;}

/*
Saman korkuiset tuotekortit
*/
.woocommerce-loop-product__title {height: 80px;overflow: hidden;text-overflow: ellipsis;}

/*
Tuoteryhmien tuotemäärät piiloon
*/

h2.woocommerce-loop-category__title mark.count {display:none;}

/* Featured badge tuoteryhmissä */
.featured-badge {background-color:blue;color:white;padding:10px;position:absolute;top:20px;left:10px;}

/* Featured badge tuotesivulla */
.featured1 {background-color:blue;color:white;padding:10px;position:absolute;top:80px;left:10px;}

/* Featured badge tuotesivulla & tuoteryhmissä mobiili */
@media only screen and (max-width: 700px) {
.featured-badge img {height:40px!important;width:40px!important;}
.featured1 img {height:60px!important;width:60px!important;}
.featured1 {top:50px!important;}
}

/* Sale badge tuotesivulla */
.woocommerce span.onsale {background-color: #ba3d41!important;}

/* New badge tuotesivulla */
.woocommerce span.itsnewproductpage.onsale {position: absolute;bottom: 0px;background-color: #0483C6 !important;top: 10px;left: 10px;padding: 0px 10px 10px 10px;font-size: 18px;max-height: 20px!important;}
.woocommerce span.itsnewproductpage.onsale.alennuksessa {position: absolute;bottom: 0px;background-color: #0483C6 !important;top: 30px;left: 10px;padding: 0px 10px 10px 10px;font-size: 18px;max-height: 20px!important;}
/* Sale badge tuoteryhmissä */
ul.products li.product span.onsale, .woocommerce-LoopProduct-link.woocommerce-loop-product__link span.onsale {display: block!important;color: #fff!important;background-color: #ba3d41!important;font-family: open sans,Sans-serif!important;    font-size: 16px!important;font-weight: 400!important;text-transform: uppercase!important;    min-width: 20px!important;font-weight:bold!important;padding: 5px!important;min-height: 20px!important;line-height:40px!important;}

/* New badge tuoteryhmissä */
ul.products li.product span.itsnew.onsale, .woocommerce-LoopProduct-link.woocommerce-loop-product__link span.itsnew.onsale, span.itsnew.onsale {font-weight: bold !important;font-size: 12px !important;padding: 5px !important;background-color: #0483C6 !important;}
ul.products li.product span.itsnew.onsale.alennuksessa, .woocommerce-LoopProduct-link.woocommerce-loop-product__link span.itsnew.onsale.alennuksessa, span.itsnew.onsale.alennuksessa {font-weight: bold !important;font-size: 12px !important;padding: 5px !important;background-color: #0483C6 !important;top:50px}

/* Mobiili */
@media only screen and (max-width: 700px) {
	
/* new badge tuotesivu mobiili */
span.itsnewproductpage.onsale {top:10px!important;left:5px!important;max-height:20px!important;font-size:10px!important;}
span.itsnewproductpage.onsale.alennuksessa {top:10px!important;left:5px!important;max-height:20px!important;font-size:10px!important;}

/* new badge tuoteryhmissä mobiili */
ul.products li.product span.itsnew.onsale, .woocommerce-LoopProduct-link.woocommerce-loop-product__link span.itsnew.onsale, span.itsnew.onsale {line-height: 20px!important;font-size:8px!important;}

}
