/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

body{background-color:#f4f4f4;}

/* On sale splash */
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link{width:100%;}
.woocommerce span.onsale{background-color:#1f2742 !important; border-radius:0%; padding:0px; line-height:0.9em; min-height:auto;}
.elementor-products-grid ul.products.elementor-grid li.product .onsale{padding:5px 10px;}

/* Sidebar */
.widgetCategory{
    list-style-type: none;
}
.widgetCategory ul{
    list-style-type: none;
    padding-left:15px;
}
.widgetCategory li{
    padding-top:5px;
}
.widgetCategory li a{
    color:black;
    font-size:14px;
}
.widgetCategory li a:hover{
    color:#ff5e2b;
}

/* Header */

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{background-color:#263647;}

/* Arkiv */
.archive .orderby{border:1px solid #eee; background-color:white;}
.archive .orderby:hover, .archive .orderby:focus{border:1px solid #ff5e2b;}
.archiveTop{background-color:#111;}

/* Startsida produktgrid */
.ef-frontpage-grid li.product a img{max-height:160px;width:auto !important;margin:auto !important;}

/* Produktlista Widget */
.current-cat > a{font-weight:bolder;}
.product-categories > .cat-item{display:none;}
.product-categories .cat-parent{display:block!important;}

/** Visning av Produktkatalog **/
#ef-frontpage-gridnet ul.products.elementor-grid li.product, .elementor-products-grid ul.products.elementor-grid li.product{display:flex; flex-direction:column; align-items:center; padding-bottom:30px;}
#ef-frontpage-gridnet ul.products.elementor-grid .add_to_cart_button{}

/** Visning av produkt **/
.single-product .variations td{background-color:white !important;}
.single-product .variations .label{display:none;}
.single-product .variations .value{padding-right:0px; padding-bottom:0px;}
.single-product .variations select{border:1px solid #000; background-color:white;}
.single-product .variations select:hover, .single-product .variations select:focus {border:1px solid #ff5e2b;}
.single-product .quantity input{min-width:110px; min-height:46px;}
.single-product .woocommerce-product-attributes td{vertical-align:middle;}

.single-product .shop_attributes th{text-transform:capitalize; text-align:left !important; border-right:0px solid white; border-left:0px solid white;}
.woocommerce table.shop_attributes td{padding-left:15px; padding-right:15px; font-style:normal; text-align:right; border-right:0px solid white; border-left:0px solid white;}
.woocommerce table.shop_attributes td a{color:black;}
.single-product table tbody tr:nth-child(odd) > td, table tbody tr:nth-child(odd) > th{background-color:#fff;}
.single-product table tbody tr:nth-child(even) > td, table tbody tr:nth-child(even) > th{background-color:#fff !important;}

/* Sökresultat - bilder */
.search .elementor-post__thumbnail{padding-bottom:0px !important;}
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img{
	height:100%;
	width:auto;
	display:block;
	position:relative;
	margin:0 0 1em;
	top:0;
	left:0;
	transform:none;
}
.search .elementor-posts .elementor-post{display:block;}
.search .elementor-post__thumbnail__link{min-height:316px; display:flex; align-items:center;}
.search-results article{justify-content:flex-end;}
.search-results .elementor-posts .elementor-post__text{flex-grow:0;}


/* Sökresultat - knappar */
.categoryContent{padding:10px;}
.ProductNameContainer h3{padding:10px;}
.categoryContent h3, .ProductNameContainer h3{margin-bottom:30px; font-family: var( --e-global-typography-5e1caf5-font-family ), Sans-serif;
font-size: var( --e-global-typography-5e1caf5-font-size );
line-height: var( --e-global-typography-5e1caf5-line-height );
letter-spacing: var( --e-global-typography-5e1caf5-letter-spacing );
word-spacing: var( --e-global-typography-5e1caf5-word-spacing );  color: var( --e-global-color-primary );
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
  font-weight: var( --e-global-typography-primary-font-weight );
}
.category-container{display:flex; flex-wrap:wrap; }
.category-container a{display: block;border: 1px solid black;padding: 13px 25px 13px 25px; border-radius: 16px; margin: 5px; }


/* Varumärken */
.widgetCategory h3{font-size:18px; margin-top:20px;}
.widgetCategory select{background-color:white; border:1px solid #FF5E2B;}


@media screen and (max-width: 1025px)
{
	.elementor-grid-tablet-3 .elementor-grid {grid-template-columns: repeat(1,1fr);}
	.ef-frontpage-grid li.product a img{max-height:240px;width:auto !important;margin:auto !important;}
}

@media only screen and (min-width:768px) {

.heroContainer{
	aspect-ratio: 1200/520;
	gap: 2px;
	max-height:600px;
}
