/**

Theme Name: Demenscentrum
Theme URI: https://extrude.se/wp/theme/demenscentrum
Author: MatsEx
Description: Childtheme to Hello Elementor
Template:hello-elementor
Version: 1.0.0
Requires PHP: 5.3 or higher
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demenscentrum
Domain Path: /languages

*/

/********************************************************************
MAIN
*********************************************************************/



h1,
h1.entry-title {
    font-size: 1.7rem;
}

h2 {
    font-size: 1.3rem;
}


a {
    color:#669b1a;
}

.title-webbshop h1 a:hover,
.title-webbshop h1  a:active,
.title-webbshop h1 a {
    text-decoration: none;
    font-size: 1.09rem !important;
    padding-left: 10px;
    margin-top: 26px;
    display: block;
    font-weight: 600;

}

footer a,
.elementor-nav-menu--main a {
    text-decoration: none !important;
}

span.quantity-discount {
    font-size: 1rem;
    margin-left: 1rem;
    color:#86bb3a;
    font-weight: 600;
}


header.elementor-location-header {
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
}


body > div.elementor,
div#primary,
main#content {
    padding-top: 120px;
}


li.ex_discount {

}

.eael-product-price .ex_discount {

}


@media (max-width: 1024px) {

    body > div.elementor,
    div#primary,
    main#content {
        padding-top: 193px;
    }

}

@media (max-width: 767px) {
    header.elementor-location-header {
        position: unset;
    }

    body > div.elementor,
    div#primary,
    main#content {
        padding-top: unset;
    }
}

.elementor-nav-menu--toggle .elementor-menu-toggle:not(.elementor-active) + .elementor-nav-menu__container {
    margin: 0px;
    border: 0px;
}


/* @media (min-width: 1140px) { */
    .site-footer .footer-inner, .site-footer:not(.dynamic-footer),
    .site-header .header-inner, .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1140px;
        margin-top: 40px;
        padding: 0 10px;
    }
/* } */

main.type-page {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 768px) {

    .search-results .site-main .page-content,
    body:not([class*=elementor-page-]) .site-main.page .page-content {
        width: 60%;

    }

    .search-results .site-main .page-content img {
        width: 50%;
        margin-bottom: 1rem;
    }

    .single-product .woocommerce-tabs #tab-description {
        width: 60%;
        max-width: 100%;
    }


}


.woocommerce-product-gallery__trigger {
    display: none !important;
}

@media (max-width: 768px) {
    .elementor-18 .elementor-element.elementor-element-1795892 {
        width: 100%;
    }
}



body.page-id-9 .site-main.page .page-content,
body.page-id-8 .site-main.page .page-content {
    width: 100%;
}


.archive #main,
.single-product #main {

}


button {
    color: #fff;
    border-color: unset;
}

.cts-modal-window h2 {
    padding: 1.5rem;
}

/*** MENU ***/
/*
.menu-item-87 {
    position: absolute;
    right: -588px;
}
*/

/********************************************************************
FRONT PAGE
*********************************************************************/

/** Products on frontpage **/
.eael-product-grid .woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-transform: unset !important;
    margin: 15px 0 76px 0 !important;
}

.loop-container .eael-product-price del {
    color: #999;
    margin-left: 0.9rem;
    float: right;
    display: none;
}

.loop-container .eael-product-price ins {
    color: #444 !important;
    text-decoration: none !important ;
}



.loop-container ul.products li.product {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

.loop-container ul.products li.product .eael-product-price{
    display: block !important;
    bottom: 50px;
    align-self: flex-end;
    position: absolute;

}

.loop-container ul.products li.product a.button {
    position: absolute;
    bottom: 15px;
    display: block !important;
    width: calc(100% - 30px);
    align-self: flex-end !important;
    margin: 10px 0 0px 0  !important;
}

.loop-container ul.products li.product a.button.read-more {
    position: absolute;
    bottom: 15px;
    display: block !important;
    width: calc(100% - 30px);
    align-self: flex-end !important;
    margin: 10px 0 0px 0  !important;
}

/*
.home ul.products li.product a.button {
    width: 100%;
    align-self: flex-end !important;
    position: absolute;
    bottom: 10px;
    margin: 10px 0 0 0  !important;

}
*/
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product img {
    width: 75% !important;
}

.loop-container ul.products li.product a.button.add_to_cart_button {
    /* display: none !important; */
}



/** END Products on frontpage **/




/********************************************************************
WOO COMMERCE
*********************************************************************/

.woocommerce form .form-row .optional {
    display: none;
}

.woocommerce-account-fields .dem-message {
    font-style: italic;
}

.woocommerce-product-gallery__image {
    pointer-events: none !important;
}


.eael-woo-checkout .woocommerce .woocommerce-error a, .eael-woo-checkout .woocommerce .woocommerce-info a, .eael-woo-checkout .woocommerce .woocommerce-message a {
    text-transform: none !important;
}


.woocommerce ul#shipping_method .amount {
    font-weight: unset;
}

.select-payment-heading {
    padding: 0.5em;
    margin: unset;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 100%;
}

@media (min-width: 1000px) {

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 55%;
    }
}

.woocommerce-account-fields  {
    margin: 1.7rem 0;
}

.woocommerce-account-fields .create-account .woocommerce-form__label input {
    display: none;
}

.woocommerce-account-fields .create-account .woocommerce-form__label span {
    background-color: #669b1a;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    border-radius: 0px;
    padding: 0.3rem 0.8rem;
}


.woocommerce-account-fields .createaccount .woocommerce-form__label span:hover {
    background-color: #dfdcde;
    color: #515151;
}

.woocommerce table.shop_table .ex-moms {
    font-size: 0.8rem;
}
.woocommerce table.shop_table .order-total .includes_tax {
    text-transform: lowercase !important;
}

.woocommerce-cart .woocommerce table.shop_table .order-total .includes_tax .woocommerce-Price-amount.amount {
    display: none;
}

.woocommerce table.shop_table .order-total {
    background-color: #777;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: normal;
}

.woocommerce table.shop_table .order-total .includes_tax {
    margin-left: 1rem;
    color: #fff;
    text-transform: none;
    font-size: 0.9rem;
}


.woocommerce-shipping-calculator,
.woocommerce-shipping-destination {
    display: none;
}


.woocommerce table.shop_attributes td {
    padding: 8px;
}

.woocommerce span.onsale {

   padding: 0px;
   background-color: #d22;
   font-size: 1.1rem !important;

}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.woocommerce form .form-row.billing-options > label {
    font-size:1.75rem;
    font-weight: 500;
}

.woocommerce form .form-row.billing-options input-radio {
    width: 20px;
}
.woocommerce form .form-row.billing-options label.radio {
    display: inline-block;
    padding-left: 1rem;
    width: calc( 100% - 20px);
}

.woocommerce form .form-row.billing-mail {
    margin-bottom: 2rem;
}

#billing_mail_field,
#billing_refnum_field {
    display: none;
}

/*** Products loop *********************************************************************/

.eael-product-grid.eael-product-simple .woocommerce ul.products li.product {
    overflow: visible !important;
}


.outofstock-badge,
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .outofstock-badge,
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .onsale {


    display: block !important;
    min-height: 3.236em !important;
    min-width: 3.236em !important;
    font-weight: 700 !important;
    position: absolute !important;
    text-align: center !important;
    line-height: 3.236 !important;
    margin: 0  !important;
    border-radius: 100% !important;
    color: #fff  !important;
    z-index: 1099  !important;

    padding: 0px !important;
    background-color: #d22 !important;
    font-size: 1.1rem !important;

    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    margin: -.5em -.5em 0 0 !important;
    width: 57px !important;
    height: 57px !important;
    transform: rotate(0deg) !important;
    overflow: visible;
    align-items: flex-end;
    letter-spacing: 0;
    text-shadow: 0 1px 1px rgb(0 0 0 / 60%);
    text-transform: uppercase;
}

.single-product.woocommerce span.onsale {
    position: relative !important;
    padding: 10px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;


}
@media (max-width: 767px) {
    .single-product.woocommerce span.onsale {
        position: absolute;
        left: 88%;
    }
}

.outofstock-badge,
.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .outofstock-badge {
    top: 0px !important;
    font-weight: 500 !important;
    font-size: .9rem !important;
    line-height: .9rem !important;
    padding-top: 12px !important;

}

.wt-related-products ul.products li.product,
.archive.woocommerce ul.products li.product {
    padding: 15px;
    border: 1px solid #eee;
}

.wt-related-products ul.products li.product .dem-product-container,
.archive.woocommerce ul.products li.product .dem-product-container {

    height:306px;
}

.wt-related-products ul.products li.product .dem-product-image,
.archive.woocommerce ul.products li.product .dem-product-image {
    height:195px;
}

.wt-related-products ul.products li.product .woocommerce-loop-product__title,
.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 8px 10px 8px 0px;
    color:#444;
    position:absolute;
}

.archive ul.products li.product:hover,
.archive ul.products li.product:active,
.archive ul.products li.product:hover,
.archive ul.products li.product:active {
    border: 1px solid #ccc !important;

}

.archive ul.products li.product:hover img,
.archive ul.products li.product:active img,
.archive ul.products li.product:hover .woocommerce-loop-product__title,
.archive ul.products li.product:active .woocommerce-loop-product__title {
    -webkit-filter: brightness(99%) !important;
    filter: brightness(90%) !important;
    color:#669b1a !important;

}


.archive ul.products li.product:hover a.button ,
.archive ul.products li.product:active a.button {
    background-color: #dfdcde !important;
    text-decoration: none !important;
    background-image: none !important;
    color: #515151 !important;

}

.wt-related-products ul.products li.product a img,
.archive.woocommerce ul.products li.product a img {
    width: 130px;
    height: auto;
    display: block;
    margin-left:auto;
    margin-right:auto;
    box-shadow: none;
}



/*
.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
    position:absolute;
    bottom: 1px;
    padding-left: 8px;
    font-size: 1.6rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -webkit-font-smoothing: antialiased;

    content: "\f0da"; /* Caret right */
    /* content: "\f105"; /* Arrow right */ /*

}
*/
.wt-related-products ul.products li.product .woocommerce-loop-product__title:hover,
.wt-related-products ul.products li.product .woocommerce-loop-product__title:active,
.archive.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
.archive.woocommerce ul.products li.product .woocommerce-loop-product__title:active {
    color:#669b1a;
}

.wt-related-products ul.products li.product .price,
 .archive.woocommerce ul.products li.product .price {
    padding: 8px 14px 8px 18px;
 }

.wt-related-products ul.products li.product .woocommerce-Price-amount.amount,
.archive.woocommerce ul.products li.product .woocommerce-Price-amount.amount {
    font-weight: bold;
    color: #444;
    font-size: 1.05rem;
}

.wt-related-products ul.products li.product .woocommerce-price-suffix,
.archive.woocommerce ul.products li.product .woocommerce-price-suffix {
    color: #999;
    font-size: 1.05rem;
}

.wt-related-products ul.products li.product .add_to_cart_button,
.archive.woocommerce ul.products li.product .add_to_cart_button {
    margin-top: 0px;
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 32%;
        float: left;
        clear: both;
        margin: 0 0 2.992em;
    }
}



/*** END Products loop ****/

/*** SINGLE Product *********************************************************************/

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 48%;
    clear: none;
}

.woocommerce-product-gallery {
    width: 24% !important;
    margin-left: 14%;
}


.single-product p.priceinctax {
    font-size: 1rem;
    color: #666;

}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {

    padding: 0.33rem 0.4rem;

}

.single-product .wdp_bulk_table_content .wdp_pricing_table_caption,
.single-product .wdp_bulk_table_content .wdp_pricing_table {

}

.single-product .wdp_bulk_table_content .wdp_pricing_table_footer .header {
    font-weight: 700;

}

.single-product .wdp_bulk_table_content .wdp_pricing_table_footer {
    display: none;

}

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

@media (max-width: 1024px) {

    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 60%;
        clear: none;
    }

    .woocommerce-product-gallery {
        width: 24%;
        min-width: 260px;
        margin-left: 10px;

    }


}

@media (max-width: 767px) {

    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 100%;
        clear: none;
    }

    .woocommerce-product-gallery {
        width: 40% !important;
        margin-left: 30% !important;
    }

}


@media (max-width: 550px) {

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    width: 64%;
    float: left;
    clear: both;
    margin: 0 0 2.992em;
    margin-left: 18% !important;
    }


    .woocommerce-product-gallery {
        width: 64% !important;
        margin-left: 18% !important;
    }

}




/*** END SINGLE Product ****/

.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #888;
    font-size: 1.5rem;
    font-weight: 600;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #669b1a;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    /*
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #ebe9eb;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    */
    color: #fff;
    background-color: #446b25;
    background-color: #446b25;
    background-color: #86bb3a;
    text-transform: uppercase;

    /* background-image: linear-gradient(to bottom, #79c143, #446b25); */
    border-radius: 0px;
}


.eael-product-grid.eael-product-simple .woocommerce ul.products li.product img {
    height: 250px !important;
    object-fit:cover;
    margin-left: auto;
    margin-right: auto;
    display: block;

}



table.variations td.label label{
    padding-left: 10px;

}

.woocommerce table.variations td.value select{
    padding-left: 10px !important;

}


.woocommerce div.woocommerce-variation {
    margin-bottom: 20px;
}

.woocommerce.widget_product_search input[type=search] {
    width: 84%;
}



#button-top-widget {
    display: none;
    position: fixed;
    bottom: 17px;
    right: 17px;
    z-index: 2000;
}


/********************************************************
 * COOKIE
 ********************************************************/



#cookie-law-info-bar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(100,100,100,0.7) !important;
    padding: 20% 25px !important;
}

#cookie-law-info-bar .cli-bar-container {
    flex-direction: column;

}

#cookie-law-info-bar .cli-bar-message {
    width: 100%;
}

#cookie-law-info-bar .cli-bar-btn_container {
    display: block;
    margin-left:auto;
    margin-right:auto;
    margin-top: 24px;
    margin-bottom: 0px;
    width: 100%;
}

#cookie-law-info-bar h5,
#cookie-law-info-bar span {
    margin:  0px !important;
    padding: 30px 35px;
    display: block;
    background-color: #fff;
    max-width: 700px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;

}

#cookie-law-info-bar h5 {
    padding-bottom: 10px;
}

#cookie-law-info-bar span {
    padding-top: 0px;
}

/************/



@media (max-width: 768px) {

    .eael-product-wrap {
        width: 100%;
        text-align: center;
    }
    .eael-product-grid.eael-product-simple .woocommerce ul.products li.product img {
        height: auto !important;
        width: 40% !important;
        max-width: 200px !important;
        object-fit: initial !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
