
/*header#site-header {
    height: 120px !important;
    position: fixed!important;
}*/

.custom-navbar {
    background-color: #f8f9fa; /* Anpassa efter behov */
}

    .custom-navbar .dropdown-menu {
        position: absolute;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        box-shadow: 0 0.5rem 10px 2px rgba(0, 0, 0, 0.15);
        background-color: #ffffff; /* Vit bakgrund */
        padding: 1rem;
    }

.custom-mega-menu-column {
    padding: 0.5rem 105px !important;
}

.custom-navbar .collapse {
    height: 90px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.custom-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.custom-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 10px;
    padding-left: 10px;
}

.custom-col-3 {
    flex: 0 0 auto;
    width: 25%;
    padding-right: 10px;
    padding-left: 10px;
}

.custom-col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
    padding-right: 10px;
    padding-left: 10px;
}

.custom-level2-list {
    list-style-type: none;
    padding-left: 0;
}

.custom-level2-item {
    margin-bottom: 10px;
}

.custom-level3-container {
    display: none;
    margin-top: 10px;
    padding-left: 20px;
}

    .custom-level3-container.show {
        display: flex;
        flex-wrap: wrap;
    }

.custom-level3-item {
    margin-right: 15px;
    margin-bottom: 5px;
}

.custom-dropdown-item {
    cursor: pointer;
    position: relative;
    text-decoration:none;
}

    .custom-dropdown-item .ion-icon {
        margin-left: 5px;
        font-size: 12px;
        vertical-align: middle;
        position: absolute;
        right: 10px;
    }

.custom-level3-item {
    text-decoration: none;
    display: table; /* Ny för radbrytning*/
}

.all-link {
    flex: 0 0 auto;
    margin-right: 0; /* Justera detta värde för önskat avstånd */
    margin-top: -1px;
    font-size: 14px;
}

.other-links {
    /*flex: 1;*/
    /* display: flex;*/
    /*flex-wrap: wrap;*/
    display: table;
    font-size: 14px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    /*margin-top: 20px;*/
}

#logo {
    z-index: 1001;
}

.nav-link.dropdown-toggle {
    padding: 10px 15px; /* Lägg till padding runt varje länk */
    margin-right: 10px; /* Lägg till marginaler mellan länkarna */
    margin-left: 10px; /* Lägg till marginaler mellan länkarna */
    font-size: 15px; /* Justera efter behov */
    color: #fff; /* Justera färg efter behov */
    text-decoration: none;
    letter-spacing: .09em;
}

    .nav-link.dropdown-toggle:hover, .nav-link.dropdown-toggle:focus {
        text-decoration: none;
        color: #fff; /* Anpassa efter behov */
    }

html.windows body.modal-open, html.windows body.modal-open .modal {
    padding-right: 15px!important;
}

.modal {
    overflow-y: scroll; /* Behåll rullningsmöjligheten */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    /* För WebKit-baserade webbläsare (Chrome, Safari) */
    .modal::-webkit-scrollbar {
        display: none;
    }


.lightbox-caption {
    position: fixed !important;
    /*bottom: 0 !important;*/
    top: 0 !important;
    /*background: #000;*/
    margin-left: -50px !important;
}

    .lightbox-caption .text {
        font-size: 16px;
        /*font-family: "Playfair Display", serif!important;*/
    }

@media (max-width: 767.98px) {
    .lightbox-caption {
        margin-left: 0 !important;
    }
}

.lightbox-title{
    display:none;
}
/* Article module*/
.article-image {
    padding: 0 0 0 0;
}
@media (max-width: 767.98px) {
    .article-image {
        padding: 10px;
    }
}

/* Article gallery*/
@media (max-width: 768px) {
    .image-gallery {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px;
    }

        .image-gallery .col-md-2 {
            flex: 0 0 auto;
            max-width: 80px; /* Minska storleken på bilderna på mindre skärmar */
        }

        .image-gallery img.thumbImage {
            width: 100%; /* Gör att bilderna fyller kolumnen */
            height: auto; /* Bibehåll bildens proportioner */
        }
}


.article-name {
    margin-top: 0;
    text-align: center;
}

.article-text{
    padding-bottom:10px;
}

.article-properties {
    padding-bottom: 25px
}
    .article-properties img {
        /*max-height: 60px;*/
        max-height: 45px;
        width: unset;
        margin-top: 10px;
    }

.article-data {
}

    .article-data table {
        width: 100%;
        border-collapse: collapse;
    }

    .article-data td:first-child {
        padding-right: 10px;
        width: 30%;
    }
        @media (max-width: 768px) {
            .article-data td:first-child {
                width: 40%;
            }
        }

    .article-data td:nth-child(2) {
        text-align: left;
    }

.article-text-column {
    padding-left: 85px;
    padding-right: 130px;
    margin-top: -15px;
}

    @media (max-width: 768px) {
        .article-text-column {
            margin-top: 5px;
            padding-left: 25px;
            padding-right: 25px;
        }
    }


    /* End article*/

    @media screen and (min-width: 0) and (max-width: 991px) {
        #logo {
            align-self: unset !important;
        }
    }

    header#site-header #logo-m {
        position: relative;
        top: 0;
        padding: 10px;
        height: 60px;
        z-index: 1001;
    }

        header#site-header #logo-m img {
            width: auto;
            max-width: 100%;
            height: auto;
            height: calc(60px - 10px - 10px);
            max-height: calc(60px - 10px - 10px);
            border-radius: 0;
        }

        header#site-header #logo-m:not(.no-image) span {
            display: none;
        }

    @media (max-width: 768px) {
        header#site-header {
            background: rgba(var(--header-bg-color1), 1) !important;
        }

        #logo {
            display: none;
        }
    }

    @media (min-width: 769px) {
        #logo-m {
            display: none;
        }
    }

header#site-header .container-fluid, header#site-header .container {
    left: -10px;
}

.col-md-4.inspiration-item {
    overflow: hidden;
    padding-bottom: 25px;
}

.inspiration-item a {
    display: block;
    overflow: hidden;  /* Detta är nyckeln */
}

.inspiration-item img {
    width: 100%;
    transition: transform 0.6s ease;
}

.inspiration-item img:hover {
    transform: scale(1.07);
}
