/* 
Theme Name: Lida timber
Description: Tema anpassat för Lida timber.
Author: Creative Works Sweden AB
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: lida-timber
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

.elementor-element-3a1d5023 .e-loop-item {
    order: 0;
}
.elementor-element-3a1d5023 .e-loop-item.is-sticky {
    order: 3;
}

/*sök header*/
.search-container {
    position: relative;
}
#search-input{
    border-radius: 25px;
    padding: 0.2em 2em;
}

i,
li p{
    line-height:1.2;
}

#search-results {
    position: absolute;
    top: calc(100% + 40px);
    right: 0;
    background-color: #717F74;
    padding: 30px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    width:1000px;
    display: none;
    -webkit-box-shadow: 0px 16px 16px 0px rgba(78,63,59,0.07);
    -moz-box-shadow: 0px 16px 16px 0px rgba(78,63,59,0.07);
    box-shadow: 0px 16px 16px 0px rgba(78,63,59,0.07);
}
.search-results-container{
    width:calc(100% - 20px);
    max-width: 1500px;
    display: flex;
    margin-top:80px;
    margin-left:auto;
    margin-right: auto;
}
.search-results-container .search-column *{
    color: #4E3F3B !important;
}
.see-all a{
    position: relative;
    display: inline-block;
    margin-top: 26px !important;
    border: 2px solid #F4F1EF;
    padding: 5px 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
}
.see-all a:hover{
    border: 2px solid #4E3F3B;
}
.see-all a{
    text-decoration: none !important;
}
.elementor-601 #lida-transparent-header.elementor-sticky--effects .elementor-element.elementor-element-8d9d2e1.elementor-view-framed .elementor-icon{
    fill: #4E3F3B;
    border-color: #4E3F3B;
}
.search-column {
    width: 32%;
    padding: 5px;
}
.search-column h3 {
    margin-top: 0;
    font-size: 2em;
    border-bottom: 1px solid #F4F1EF;
    padding-bottom: 5px;
    color:#F4F1EF;
}
.search-column ul {
    list-style: none;
    padding: 0;
}
.search-column li {
    margin: 5px 0;
    color:#F4F1EF;
}
.search-column a{
    color:#F4F1EF;
    text-decoration: underline;
}
.search-column a:hover{
    color:#4E3F3B;
}
.no-results {
    text-align: center;
    font-size: 1.2em;
    color: #888;
}

/* Add your custom styles here */
.hamburger-button-cont button {
    background-color: transparent !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mobile-menu-c nav li.menu-item a{
    justify-content: center;
    background-color: transparent !important;
}
.mobile-menu-c nav li.menu-item a .sub-arrow svg{
    visibility: hidden;
}
.mobile-menu-c nav li.menu-item a .sub-arrow{
    margin: 5px 0px 0px 10px;
    width: 15px;
    height: auto;
    padding: 0px;
    background-image: url('../../uploads/2024/06/arrow.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: transform 200ms;
    rotate:90deg;
    position: relative;
    left: 20px;
}
.mobile-menu-c nav li.menu-item a.highlighted .sub-arrow{
    transform: rotate(-180deg)
}

.mobile-menu-c nav li.menu-item .sub-menu{
    padding: 0px 0px 30px 0px;
}
.mobile-menu-c nav li.menu-item .sub-menu .sub-menu{
    padding: 0px 0px 15px 0px;
}
.mobile-menu-c nav li.menu-item .sub-menu a{
    font-size: 20px !important;
}
.mobile-menu-c nav li.menu-item .sub-menu .sub-menu a{
    font-size: 18px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

body .elementor-nav-menu--dropdown .elementor-item:hover{
    background-color: transparent;
}

.mobile-menu-outer-c .mobile-menu-c{
    height: calc(100dvh - 100px);
    overflow-y: auto;
}
.dialog-type-lightbox{
    z-index:9998;
}
.elementor-widget-breadcrumbs{
    font-size: 16px !important;
}
p{
    font-family: indivisible, sans-serif;
}
.mega-menu-container ul li:first-child a{
    font-weight:600 !important
}
.elementor-57 .elementor-element.elementor-element-a730eed > .elementor-motion-effects-container > .elementor-motion-effects-layer{
    opacity: 0;
}
.elementor-element-a730eed .elementor-motion-effects-layer{
    opacity: 0 !important;
}
.elementor-sticky--effects.elementor-element-a730eed .elementor-motion-effects-layer{
    opacity:1 !important;
}
.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span,
.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span *{
    color: #fff !important;
    fill: #fff !important;
}
.elementor-sticky--effects.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span,
.elementor-sticky--effects.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span *{
    color: #4E3F3B !important;
    fill: #4E3F3B !important;
}
.elementor-sticky--effects.elementor-element-a730eed .e-n-menu-toggle svg{
    fill:#4E3F3B !important;
}
.elementor-element-a730eed .e-n-menu-toggle svg{
    fill:#fff !important;
}
.e-n-menu[data-layout="dropdown"] .e-n-menu-heading > li{
    background-color: #F4F1EF !important;
}
.product-link h3::after,
.tech-spec-title::after,
.product-documents-title::after,
.products-page-cat-title h2::after{
    content:' ';
    display: inline-block;
    height:10px;
    width:5px;
    background-image: url('../../uploads/2024/06/arrow.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    left:10px;
    bottom:1px;
}
.elementor-slide-heading,
.elementor-slide-description,
.elementor-slide-button,
#front-top-section-inner h1,
#front-top-section-inner p,
#front-top-section-inner a{
    color: #fff !important;
}
#front-top-section-inner h1,
.elementor-slide-heading{
    font-size: min(12vw, 120px) !important;
    line-height: 0.96;
    margin-bottom:120px
}
#front-top-section-text,
.swiper-slide-contents{
    max-width: 720px;
}
#front-top-section-inner p,
#front-top-section-inner a,
.elementor-slide-description{
    font-size: 22px !important;
}
.swiper-slide-inner{
    max-width: 1600px;
}
.xs-title h2{
    font-size:20px !important;
}
.xs-title h4{
    margin-top:40px !important;
    margin-bottom:20px !important;
}
.child-item.hidden {
    display: none !important;
}
.child-item.visible {
    display: list-item !important;
}
.parent-item,
.child-item {
    cursor: pointer; /* För att indikera att det går att klicka */
}
.elementor-widget-text-editor a{
    text-decoration: underline;
    text-underline-position: under;
    color:#4E3F3B;
}

.no-transition * {
    transform: none !important;
}
.filter-list{
    display: flex;
    flex-direction: column;
    width: 100% !important;
}
.filter-list li{
    justify-content: flex-start !important;
    padding:20px !important;
    border-bottom:1px solid #4E3F3B !important;
}

/*---- Dokumentsida, start ---*/
.document-container{
    margin-bottom: 20px;
}
.document-container a{
    color:#4E3F3B;
}
.document-container ol>li{
    margin-bottom:20px;
}
.document-container ol{
    padding-inline-start: 0px;
    list-style-position: inside;
}
.document-container ul{
    list-style-type: '–';
    padding-inline-start: 0px;
}
.document-container ul>li{
    margin-bottom:5px;
}
.document-menu li{
    border-bottom:1px solid #707070 !important;
}
.document-menu li a:hover{
    color: #727F74 !important;
}
/*---- Dokumentsida, slut ---*/
.products-page-cat-title h2{
    margin-top: 40px;
    margin-bottom:5px;
}
/*---- Produktsida, start ---*/
#product-title h1,
#product-short-desc p{
    color: #4E3F3B !important;
}
#product-title h1{
    font-size: min(12vw, 67px) !important;
}
#product-short-desc p{
    font-size: min(8vw, 54px) !important;
}
.tech-spec-container,
.product-documents-container{
    display: inline-block;
    border-bottom:1px solid #707070;
    width: 100%;
    max-width:350px;
}
.tech-spec-list,
.product-documents-list{
    list-style: none;
    padding-inline-start: 0px;
}
.tech-spec-title,
.product-documents-title{
    font-size: 18px !important;
    cursor: pointer;
}
.tech-spec-title::after{
    transform: rotate(270deg);
}
.product-documents-title::after{
    transform: rotate(90deg);
}

.product-documents-toggle-content{
    display: none;
}
.tech-spec-title.expanded::after{
    transform: rotate(90deg); /* Roterad pil för expanderade items */
}
.product-documents-title.expanded::after{
    transform: rotate(270deg); /* Roterad pil för expanderade items */
}
.product-documents-list p{
    display: inline-block;
}
.product-documents-list li{
    padding-right:40px;
    position: relative;
}
.product-documents-list a::after{
    content:' ';
    display: inline-block;
    height:13px;
    width:14px;
    background-image: url('../../uploads/2024/08/Ikon-nedladdning.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    right:0px;
}
.single-product .elementor-shortcode{
line-height:1 !important;
}
.woocommerce-product-gallery__wrapper img{
    max-height:800px;
    object-fit: cover;
    aspect-ratio: 1/1;
}
/*---- Produktsida, slut ---*/
/*---- Produktkategori, start ---*/
.elementor-widget-woocommerce-archive-description,
.bulleted-list-title,
.bulleted-list li,
.partner-title{
    font-size: 20px;
}
.bulleted-list{
    list-style-type: '– ';
    padding-inline-start: 20px;
}
.bulleted-list-title,
.partner-title{
    font-weight: 700;
}
.partner-title{
    font-family: richmond-display, sans-serif;
}
.partner-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: row;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
    gap:20px;
    width:100%;
    max-width: 440px;
}
.single-partner{
    width:133px;
    height:75px;
    position: relative;
}
.single-partner img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%); 
}
.partner-container{
    margin-top:60px;
    margin-bottom:60px;
}
.product-category-contact-container{
    margin-top:60px;
}
.product-category-contact-container p,
.product-category-contact-container a{
    font-size: 20px;
}
.product-category-contact-container a{
    border-radius:25px;
}
.product-category-contact-container .elementor-button:hover .elementor-button-text{
    color:#4E3F3B;
}
.elementor-widget-woocommerce-archive-description .term-description h2{
    margin-top:40px;    
}
.elementor-widget-woocommerce-archive-description .term-description ul *{
    font-size: 16px;
}
.elementor-widget-woocommerce-archive-description .term-description ul a{
    text-decoration: underline;
    color:#4E3F3B;
}
#category-toggle,
#news-toggle{
    cursor:pointer;
    background-color: #717F74;
    color:#fff;
    border-radius: 25px;
    padding: 10px 20px;
    text-align: center;
}
/*---- Aktuelltsida, start ---*/
.custom-product-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #717171;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-prev, .carousel-next {
    pointer-events: all;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    padding: 10px;
}
/*---- Aktuelltsida, start ---*/
.page-numbers.current{
    font-weight: 700;
}
/*---- Aktuelltsida, slut ---*/
/*---- Kontaktsida, start ---*/
#contacts-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    margin-left:auto;
    margin-right:auto;
}
.contact-image-container{
    position: relative;
    width: 100%; /* Justera efter behov */
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}
.contact-image,
.invoice-info-container .contact-image-container div{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
.contact-info-container{
    margin-top:40px;
}
.contact-name{
    font-family: richmond-display, sans-serif;
    font-style: normal;
    color:#4E3F3B;
    line-height: 1;
    font-size: 24px;
    font-weight: 400;
    margin: 15px 0px 5px;
}
.contact-title{
    font-family: richmond-display, sans-serif;
    font-weight: 400;
    font-style: italic;
    color:#A8A8A8;
    margin-bottom:15px !important;
    font-size: 20px;

}
.contact-title,
.contact-mail,
.contact-tel{
    margin:0px;
}
.contact-mail,
.contact-tel{
    font-weight: 400;
    font-size: 18px;
}
.invoice-info-container .contact-image-container div{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.invoice-info-container .contact-image-container span,
.invoice-info-container .contact-image-container a{
    font-family: richmond-display, sans-serif;
}
.invoice-info-container .contact-image-container span{
    margin-bottom:20px;
    font-size: 30px;
    color:#4E3F3B;
}
.invoice-info-container .contact-image-container a{
    font-size: 25px;
    font-weight: 300;
}
/*---- Kontaktsida, slut ---*/

.zoomImg{
    max-width:1200px !important;
    max-height:1200px !important;
}

/*---- Footer ---*/
#footer-container a{
    color: #fff !important;
}

#footer-container h3{
    font-size: 30px !important;
}
@media screen and (max-width: 1367px){
    #search-results {
        right: -80px;
        top: calc(100% + 20px);
    }
    #search-container{
        display: none;
        padding:20px;
        right:0px;
        top:80px;
        background-color: #727F74;
        position: absolute;
    }
}
@media screen and (max-width: 1200px){
    #footer-grid{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }   
}
@media screen and (max-width: 1024px){
    .elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span,
    .elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span *{
        color: #4E3F3B !important;
        fill: #4E3F3B !important;
    }
    .elementor-sticky--effects.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span,
    .elementor-sticky--effects.elementor-element-a730eed .e-n-menu .e-n-menu-heading > li span *{
        color: #4E3F3B !important;
        fill: #4E3F3B !important;
    }
    .e-n-menu-title{
        position: relative;
    }
    .e-n-menu-dropdown-icon{
        right:20px !important;
        position:absolute !important;
    }
    h1{
        font-size: 67px !important;
    }
    h2{
        font-size: 54px !important;
    }
    .elementor-1057 .elementor-element h2.elementor-heading-title{
        font-size: 16px !important;
    }
    h3{
        font-size: 25px !important;
    }
    #front-top-section-inner h1{
        margin-bottom:80px
    }
    #front-top-section-inner p,
    #front-top-section-inner a{
        font-size: 18px;
    }
    #contacts-container{
        grid-template-columns: 1fr 1fr;
    }
    #search-results {
        width:500px;
        flex-wrap: wrap;
    }
    #search-results .search-column{
        width: 200px;
        margin-bottom: 60px;
    }
    .search-results-container{
        max-width: 768px;
    }
}
@media screen and (max-width: 768px){
    h1{
        font-size: 50px !important;
    }
    h2{
        font-size: 36px !important;
    }
    .elementor-1057 .elementor-element h2.elementor-heading-title{
        font-size: 16px !important;
    }
    h3{
        font-size: 22px !important;
    }
    .elementor-widget-woocommerce-archive-description,
    .bulleted-list-title,
    .bulleted-list li,
    .partner-title{
        font-size: 18px;
    }
    #front-top-section-inner h1{
        margin-bottom:60px
    }
    #front-top-section-inner p,
    #front-top-section-inner a{
        font-size: 16px;
    }
    #contacts-container{
        grid-template-columns: 1fr;
        height:auto;
    }
    .partner-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    #footer-grid{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    #search-container{
        width:100%;
        right:0px;
    }
    #search-results {
        width:calc(100% + 40px);
        right:-20px;
        overflow-x: scroll;
        max-height:calc(100dvh - 80px);
        padding-bottom:80px;
    }
    #search-results .search-column{
        width: 100%;
    }
    .search-results-container{
        max-width: 768px;
        flex-direction: column;
        margin-top:0px;
    }
    .search-results-container .search-column{
        margin-bottom:40px;
        width:100%;
    }
}