/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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
*/

p.iworks-omnibus, p.iworks-omnibus * {
    color: #404040 !important;
    font-size: 14px;
    font-family: 'Inter';
}

#projektituotteet, #outlet-link {
    display: none;
}

/* Mobile menu */
@media only screen and (min-width: 1025px) {
	div#mobilenav-1, div#mobilenav-2, div#mobilenav-3, div#mobilenav-4, div#mobilenav-5, div#mobilenav-6, div#mobilenav-7 {
		display: none;
	}
}

@media only screen and (max-width: 1025px) {
#main-navigation .e-n-menu-title {
    background: #f0f0f0;
}
	
#main-navigation li.e-n-menu-item:nth-child(1) {
    margin-top: 10px;
}
	/*Projektituotteet poistettu #main-navigation li.e-n-menu-item:nth-child(4)*/
#main-navigation li.e-n-menu-item:nth-child(1), #main-navigation li.e-n-menu-item:nth-child(2) {
    border-bottom: 1px solid #000;
}

div#mobilenav-1 {
    margin-top: 20px;
}

div#mobilenav-1 *, div#mobilenav-2 *, div#mobilenav-3 *, div#mobilenav-4 *, div#mobilenav-5 *, div#mobilenav-6 *, div#mobilenav-7 *  {
    font-size: 18px !important;
    font-weight: 400;
}
	
#main-navigation .e-n-menu-dropdown-icon svg {
    height: 27px;
    width: 27px;
}
	
#sidebar {
  display: none!important;
}

#sidebar.active {
  display: block!important;
}	

#cat-list ul.products.elementor-grid.columns-8 {
    padding: 0;
}
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    max-width: 86%;
    margin-left: 100px !important;
}
td.wc-block-cart-item__product a.wc-block-components-product-name {
    font-size: 15px;
}
.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    margin-left: 100px;
    max-width: 87%;
}
	
    .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper h3.wc-block-components-product-name, .wc-block-components-order-summary__content h3.wc-block-components-product-name {
        font-size: 15px;
        font-family: 'Inter';
        font-weight: 400;
    }

.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
	max-width: 95% !important;
	padding: 12px 12px 12px 5px;
}
	
div#shipping-method * {
    font-size: 14px !important;
}
	
}

/* Add your custom styles here */

.search .categories-boxes {
    display: none;
}

.cat-hero-image {
    background-size: cover !important;
}

span.delivery-stock {
    font-size: 13px;
}

p.stock.in-stock > span {
    font-weight: 400;
}
p.stock.in-stock > span strong {
    font-weight: 500;
}

span.stock-green::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #00A61F;
    border-radius: 100%;
    margin-right: 5px;
    margin-bottom: -2px;
}

span.stock-red::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: red;
    border-radius: 100%;
    margin-right: 5px;
    margin-bottom: -2px;
}

p.stock.available-on-backorder::before, .stock-yellow {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #FFEB3B;
    border-radius: 100%;
    margin-right: 5px;
    margin-bottom: -2px;
}

p.stock.out-of-stock::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #F44336;
    border-radius: 100%;
    margin-right: 5px;
    margin-bottom: -2px;
}

ul.stock-list {
    list-style: none;
    padding-left: 0px;
}

input#dgwt-wcas-search-input-1 {
    border-radius: 0px;
    font-family: Inter;
		font-size:15px;
		color:#404040;
		max-width: 280px;
}

input#dgwt-wcas-search-input-1::placeholder {
		color:#404040;
}

button.dgwt-wcas-search-submit {
    left: auto !important;
    right: 15px !important;
    margin-top: 4px !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	padding: 13px 48px 13px 24px;
}

span.dgwt-wcas-st-title {
    font-size: 13px;
}

.dgwt-wcas-meta span.woocommerce-Price-amount.amount {
    font-weight: 600;
}

a.dgwt-wcas-search-icon svg {
    width: 30px;
    height: 30px;
}

/* Slider */

.product-swiper-container {
    width: 100%;
}

.my-product-gallery-main .swiper-slide img {
    width: 100%;
    object-fit: contain;
}

.my-product-gallery-thumbs {
    margin-top: 10px;
}

.my-product-gallery-thumbs .swiper-slide {
    width: 150px;
    height: 150px;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.my-product-gallery-main .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px; /* limit too tall images */
    object-fit: contain;
}

.swiper.my-product-gallery-main {
    border: 1px solid #C5C5C5;
}

.my-product-gallery-main .swiper-slide img {
    padding: 47px;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next, .swiper-button-next, .swiper-rtl .swiper-button-prev {
    color: #000;
    width: 37px;
    height: 37px;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after, .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
	display:none;
}

.glightbox-clean .gdesc-inner {
    display: none; /* hide captions */
}

.glightbox-container .gslide-image img {
    object-fit: contain;
    max-height: 90vh;
}

.swiper-button-next, .swiper-button-prev {
    color: #000;
    background: transparent;
    border-radius: 50%;
    width: 37px!important;
    height: 37px!important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Woo product */

p.price span.tax-rate {
    font-size: 14px;
}

.woocommerce-error, .woocommerce-message {
    max-width: 768px;
    margin: 1em auto 1em auto !important;
    display: block;
    border-top-color: #ee1d23;
}

.bundle_error .woocommerce-info {
    border-top-color: #c20000;
}

.bundle_error .woocommerce-info::before{
	color:#c20000;
}

.bundle_error ul.msg {
    font-size: 13px;
}

.bundle_data .bundle_button button.plus {
    margin-left: 0px !important;
}

.woocommerce-message::before {
    content: "\e015";
    color: #c20000;
}

.woocommerce-message a.button.wc-forward, .woocommerce-error  a.button.wc-forward{
    background-color: #C20000;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #C20000;
    border-radius: 0px 0px 0px 0px;
    padding: 10px 15px 10px 15px;
}

.woocommerce-variation-description .ls-more-stock-available {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
}

/* Woo category loop */

.cta-etusivu  .elementor-cta__content{
    background-image: linear-gradient(180deg, #FFFFFF00 40%, #000000 100%);

}

.cta-etusivu .elementor-bg {
    background-size: cover !important;
    background-position: center center !important;
}

/* Woo loop items */

[data-elementor-type="loop-item"] span.separator-stock {
    display: none;
}

[data-elementor-type="loop-item"] span.delivery-stock {
    width: 100%;
    display: block;
    margin-top: 10px;
}

.image-box .feel-image img {
    /*min-height: 300px;*/
}
.feel-image {
    height: 300px !important;
}

.image-box .feel-image {
    display: none;
	max-height:300px;
	opacity: 0;
    transition: opacity 0.5s ease; /* fade duration */
	overflow:hidden;
}

.image-box:hover .feel-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
    background: #fff;
	opacity:1;
}

@media only screen and (max-width: 1025px) {
	.feel-image, .feel-image img {
		max-height: 128px !important;
	}
}
/* Product files list/grid */

span.facetwp-display-value {
    font-size: 14px;
}

span.facetwp-counter {
    font-size: 12px;
}


.product-files-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.product-file-item {
    flex: 0 0 calc(20% - 20px);
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px;
}

.product-file-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.product-file-item h4 {
    font-size: 16px;
    margin: 0;
}

.product-file-item a {
    text-decoration: none;
    color: #000!important;
}

/* Composite products */

.product-type-composite a.button.product_type_composite.add_to_cart_button {
    width: 100%;
}

h2.step_title_wrapper.component_title {
    font-size: 32px;
}

h3.composited_product_title.component_section_title.product_title {
    font-size: 22px;
    color: #404040;
}

/* Tablet */
@media (max-width: 1024px) {
    .product-file-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-file-item {
        flex: 0 0 calc(50% - 20px);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .product-file-item {
        flex: 0 0 100%;
    }
}

/* Single product */

.main-price span.woocommerce-Price-amount{
	color: #404040;
    font-family: "Barlow Condensed", Sans-serif;
    font-size: 40px;
    font-weight: 600;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 40px;
}
/* Checkout / Cart */

.elementor-menu-cart__product .variation dd p {
    margin-top: 0;
}

.woocommerce-cart h1.entry-title, .woocommerce-checkout h1.entry-title {
    font-weight: 600;
    color: #404040;
}

.wp-block-woocommerce-checkout-order-summary-totals-block, .wc-block-components-totals-item.wc-block-components-totals-footer-item {
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
    font-size: 16px;
}

.wc-block-components-order-summary-item__total-price{
	display:none;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained, a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained{
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    background: #e40614;
	transition: 300ms all !important;
	color:#fff;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover, a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background: #404040;
}

/* Hakupalkki */

.dgwt-wcas-meta span.tax-rate {
    font-size: 11px;
}

/* Account */

.woocommerce-account ul.woocommerce-error, .woocommerce-account .woocommerce-message{
    margin-left: 0 !important;
}