/* Avans Linjärteknik AB (Avans Group) */

/* Typsnitt */
@font-face {
    font-family: "FunkisB";
    src: url("/assets/fonts/funkisb-bold.otf");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "FunkisB";
    src: url("/assets/fonts/funkisb-semibold.otf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "FunkisB";
    src: url("/assets/fonts/funkisb-medium.otf");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "FunkisB";
    src: url("/assets/fonts/funkisb-regular.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "FunkisB";
    src: url("/assets/fonts/funkisb-light.otf");
    font-weight: 200;
    font-style: normal;
}

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */

:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 9rem;
    --menu-height-scrolled: 9rem;
    --section-width: 150rem;

    /* 	Colors */
    /* --primary-color: 33, 92, 79; */
    /* --secondary-color: 68, 131, 160;
    --secondary-dark-color: 0, 42, 150; */

    --accent-purple-color: 160, 140, 207;
    --accent-yellow-color: 222, 211, 85;
    --accent-green-color: 33, 92, 79;
    --accent-blue-color: 68, 131, 160;

    --black-color: 29, 29, 27;
    --gray-dark-color: 58, 58, 58;
    --gray-semi-light-color: 231, 231, 231;
    --gray-color: 218, 218, 218;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

    /* 	Typography */
    --base-size: 1.6rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1370;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: rgb(var(--black-color));
}

/* Primary satts beroende på sidklassnamn */
.sub-linjarteknik {
    --primary-color: 33, 92, 79;
}

.sub-maskintillbehor {
    --primary-color: 68, 131, 160;
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

.section-block-wrapper {
    max-width: var(--section-width);
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.p-4 .section-block,
.p-4:not(.section-wrapper) {
    padding: 4rem;
}

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}

.pt-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pt-4 .section-block,
.pt-4:not(.section-wrapper) {
    padding-top: 4rem;
}
.pt-8 .section-block,
.pt-8:not(.section-wrapper) {
    padding-top: 8rem;
}

.py-3 .section-block,
.py-3:not(.section-wrapper) {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Margins */
.mt-1 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-6 {
    margin-top: 6rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.ml-auto {
    margin-left: auto;
}

.ml-0 {
    margin-left: 0;
}

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}
.mw-1000{
    max-width: 100rem;
    margin: auto;
}
.mw-1400 .section-block-wrapper,
.mw-1400:not(.section-wrapper) {
    max-width: 140rem;
}
.mw-1500{
    max-width: 120rem !important;
}
/* Ovriga klasser */
.display-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

@media only screen and (max-width: 1200px) {
    /* Layouts */
    /* .layout-13 .col-1 {
        width: calc(100% / 2);
        padding-right: var(--col-padding);
    }
    
    .layout-13 .col-2 {
        width: calc(100% / 2);
        padding-left: var(--col-padding);
        padding-right: 0;
    }
    
    .layout-13 .col-3 {
        width: calc(100% / 2);
        padding: 0;
    } */
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 8rem 3rem;
    }
}

@media only screen and (max-width: 850px) {
    /* Layouts */
    /* .layout-13 .col-1,
    .layout-13 .col-2,
    .layout-13 .col-3 {
        width: 100%;
        padding: 0;
    } */
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'FunkisB', sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding-bottom: 1em;
    color: rgb(var(--black-color));
}

.section-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
}

.small-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    padding-bottom: .7em;
    color: rgb(var(--black-color));
    font-family: 'FunkisB', sans-serif;
}

/* .ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
} */
.ingresses {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
}

/* Brodtext och lankar */
p {
    font-weight: 600;
    color: rgb(var(--gray-dark-color));

}

li {
    font-weight: 200;
    color: rgb(var(--gray-dark-color));
    font-family: 'FunkisB', sans-serif;
}

a {
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Listor */
ul {
    margin-top: 0;
}

.dots-align {
    list-style-position: inside;
}

/* .arrow-list {
    padding: 0;
    list-style: none;
}

ul.text-white li,
ul.text-white a {
    color: rgb(var(--white-color));
} */

/* Ovriga klasser */
.text-block {
    max-width: 75rem;
}

.text-block-center {
    max-width: 79rem;
    margin-left: auto;
    margin-right: auto;
}

.text-bold {
    font-weight: 800;
}

.text-center {
    text-align: center !important;
}

.text-uppercase {
    text-transform: uppercase;
}
/* .text-flex {
    display: flex;
} */

@media only screen and (max-width: 1200px) {
    .section-title {
        font-size: 3.8rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.5rem;
    }

    .small-title {
        font-size: 2rem;
    }

    .text-label {
        font-size: 1.2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}
.btn-wrapper.column {
    display: flex;
    flex-direction: column;
}
.btn-wrapper.column a {
 margin-bottom: 1rem;
}

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-small {
    min-width: unset;
    padding: 6px 1.2rem;
    border-radius: 3px;
    font-size: 1.3rem;
}

.btn-primary-filled,
.btn-primary-border:hover {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.btn-primary-border {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-color));
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--primary-color));
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}
/* Dropdown-knapp */
.dropdown-wrapper {
    position: relative;
}

.dropdown-wrapper.opened {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.dropdown {
    display: none;
    z-index: 1;
    position: absolute;
    top: 4rem;
    left: -0.1rem;
    width: calc(100% + 1px);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    overflow: auto;
}

.dropdown-wrapper.opened .dropdown {
    display: grid;
}

.dropdown a:hover {
    background: rgb(var(--primary-color));
}

.dropdown-wrapper.opened .dropdown,
.dropdown-wrapper:hover .dropdown {
    display: grid;
    background: rgb(var(--white-color));
}

.dropdown a,
.dropdown-wrapper a {
    padding: 1rem;
    text-decoration: none;
    transition: .3s ease;

}

.flag-dropdown img {
    max-height: 2rem;
}
@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-secondary {
    background-color: rgb(var(--secondary-color));
}

.bg-accent-yellow {
    background-color: rgb(var(--accent-yellow-color));
}

.bg-accent-purple {
    background-color: rgb(var(--accent-purple-color));
}

.bg-gray {
    background-color: rgb(var(--gray-color));
}
.bg-gray-dark {
    background-color: rgb(var(--gray-dark-color));
}

.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}
.bg-gray-semi-dark{
    background-color: rgb(231, 231, 231)
}
.bg-gray-dark-dark{
    background-color: rgb(75, 82, 89)
}
.bg-gray-semi-light-color {
    background-color: rgb(var(--gray-semi-light-color));
}    

.bg-white {
    background-color: rgb(var(--white-color));
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-secondary {
    color: rgb(var(--secondary-color));
}

.text-purple {
    color: rgb(var(--accent-purple-color));
}

.text-green {
    color: rgb(var(--accent-green-color));
}

.text-blue {
    color: rgb(var(--accent-blue-color));
}

.text-white {
    color: rgb(var(--white-color));
}
.text-gray{
    color: rgb(var(--gray-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grafiska element
========================================================================== */
/* Object position */
.of-wrapper .op-100-50 {
    object-position: 100% 50%;
}

.of-wrapper .op-50-0 {
    object-position: 50% 0%;
}

.of-wrapper .op-0-100 {
    object-position: 0% 100%;
}

.of-wrapper .op-50-100 {
    object-position: 50% 100%;
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

/* Cards grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

/* Specifika bredder */

.cards-wrapper.w-16 .card-item {
    width: calc((100% / 6) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-20 .card-item {
    width: calc((100% / 5) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-25 .card-item {
    width: calc((100% / 4) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-25-0 .card-item {
    width: calc((100% / 4));
}

.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}


@media only screen and (max-width: 1250px) {
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }

    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 4) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }

    .cards-wrapper.w-25-0 .card-item {
        width: calc((100% / 2));
    }

    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }


}

@media only screen and (max-width: 800px) {
    .cards-wrapper.w-16 .card-item {
        width: calc((100% / 3) - 2rem);
    }

    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
    }

    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }

    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 1) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .cards-wrapper.w-25-0 .card-item {
        width: 100%;
    }
}

/* Card 1-1 */
.card-1-1 a.card-item.bg-accent-purple:hover {
    background-color: rgb(var(--accent-yellow-color));
}

.card-1-1 .date {
    font-size: 1.4rem;
}

/* Card 2-1 */
.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 7rem;
}

@media only screen and (max-width: 580px) {
    .card-2-1 .card-header {
        margin-bottom: 1rem;
        font-size: 5rem;
    }
}

/* Card 2-2 */
/* .card-2-2 .card-item {
    border-radius: 2rem;
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.card-2-2 .card-header i {
    font-size: 2.5rem;
}

.card-2-2 .card-footer {
    padding-top: 2rem;
} */

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.card-2-4 .card-header i {
    font-size: 3rem;
}

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

@media only screen and (max-width: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-2-4 .card-body {
        padding: 1rem;
    }
}

/* Card 3-1 */
.card-3-1.border .card-item {
    border: 1px solid rgb(var(--gray-light-color));
}

.card-3-1.border .card-item .card-body {
    border-top: 1px solid rgb(var(--gray-light-color));
}

.card-3-1 .small-title {
    font-weight: 600;
}

.card-3-1 .card-body:hover {
    background: rgb(var(--gray-light-color));
}

/* Card 3-4 */
/* .card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 a.card-item:hover {
    background-color: rgb(var(--gray-dark-color));
}

.card-3-4 a.card-item:hover p {
    color: rgb(var(--white-color));
}

.card-3-4 .image-wrapper {
    width: 16rem;
    height: 100%;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
}

@media only screen and (max-width: 480px) {
    .card-3-4 .image-wrapper {
        width: 7rem;
        height: auto;
    }

    .card-3-4 .card-body {
        padding: 1rem;
    }
} */

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    padding: 35rem 2rem 2rem 2rem;
}

/* Logos 1 */
.logos-1 {
    justify-content: center;
    align-items: center;
}

.logos-1 .card-item {
    text-align: center;
}

.logos-1 img {
    width: auto;
    max-height: 12rem;
    filter: opacity(.7);
    transition: .2s ease-in-out;
}

.logos-1 img:hover {
    opacity: 1;
}

@media only screen and (max-width: 868px) {
    .logos-1 img {
        max-height: 8rem;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image {
    width: 50%;
}

.contain img{
    object-fit: contain;
}
/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

@media screen and (max-width: 1200px) {
    .split-content {
        padding: 3rem;
    }
}

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
        padding: 0 0 3rem;
    }

    .full-width .split-content {
        padding: 8rem 3rem 5rem;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .full-width .split-content {
        padding: 5rem 2rem 3rem;
    }

}

/* Modal som öppnas automatiskt
========================================================================== */
  body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color),.7);
  }

  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }

  @media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    padding: .5rem 0;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header p {
    padding: 0 5px 0 0;
    font-size: 1.4rem;
}

.top-header a {
    display: flex;
    align-items: center;
    margin: 0 8px;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
}

.top-header a:hover {
    color: rgb(var(--primary-color));
}

.top-header div {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-right: 4px;
    border-radius: 50%;
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 0.2rem !important;
    border-radius: 1rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    max-width: 10rem;
}



@media only screen and (max-width: 580px) {
    /* CTA */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}





header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
    padding: 0 5rem;
}

header .container {
    max-width: var(--section-width);
    padding: 0;
    margin: 0 auto;
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.header-logo img {
    padding: 1.5rem 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: rgb(var(--black-color));
}
.TemplateMenu li.active>a,
.TemplateMenu>li>a:hover,
.TemplateMenu ul a:hover {
    color: rgb(var(--accent-purple-color));
}

/* Dropdown */
header:not(.mobile-menu) .TemplateMenu ul {
    border-left: 1px solid rgb(var(--white-color));
    border-bottom: 1px solid rgb(var(--white-color));
}

header:not(.mobile-menu) .TemplateMenu ul a {
    line-height: 6rem;
}

/* Forsta dropdown */
header:not(.mobile-menu) .TemplateMenu>li>ul {
    width: 25rem;
}

/* Andra dropdown */
header:not(.mobile-menu) .TemplateMenu>li>ul>li>ul {
    z-index: -1;
    right: -30.9rem;
    width: 31rem;
}

header:not(.mobile-menu) .TemplateMenu>li>ul>li>ul>li:hover>ul {
    display: block;
}

/* Tredje dropdown */
header:not(.mobile-menu) .TemplateMenu>li>ul>li>ul>li>ul {
    top: 0;
    left: 30.9rem;
    width: 30rem;
    border-left: none;
    border-right: 1px solid rgb(var(--white-color));
}

/* Nav for Avans Linjartekning */
header:not(.mobile-menu) .TemplateMenu li a[href$="/17/6/linjarteknik/"]:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"]).active>a,
header:not(.mobile-menu) .TemplateMenu li a[href$="/en/17/6/linear-technology//"]:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/6/linear-technology/"]).active>a {
    color: rgb(var(--accent-green-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"]) ul,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/6/linear-technology/"]) ul {
    background-color: rgb(var(--accent-green-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"]) ul a,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/6/linear-technology/"]) ul a {
    color: rgb(var(--white-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"]) ul a:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"]) ul li.active>a,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/6/linear-technology/"]) ul a:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/6/linear-technology/"]) ul li.active>a {
    color: rgb(var(--accent-yellow-color));
}

/* Nav for Maskintillbehor */
header:not(.mobile-menu) .TemplateMenu li a[href$="/17/2/maskintillbehor/"]:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"]).active>a,
header:not(.mobile-menu) .TemplateMenu li a[href$="/en/17/2/machine-components/"]:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/2/machine-components/"]).active>a {
    color: rgb(var(--accent-blue-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"]) ul,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/2/machine-components/"]) ul {
    background-color: rgb(var(--accent-blue-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"]) ul a,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/2/machine-components/"]) ul a {
    color: rgb(var(--white-color));
}

header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"]) ul a:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"]) ul li.active>a,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/2/machine-components/"]) ul a:hover,
header:not(.mobile-menu) .TemplateMenu li:has(a[href$="/en/17/2/machine-components/"]) ul li.active>a {
    color: rgb(var(--accent-yellow-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}
.mobile-menu{
    height: auto;
} 
.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

.mobile-menu .TemplateMenu a,
.mobile-menu .TemplateMenu ul a {
    line-height: 4.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.3rem;
}

.mobile-menu .TemplateMenu li:has(a[href$="/17/2/maskintillbehor/"])>ul>li>ul,
.mobile-menu .TemplateMenu li:has(a[href$="/17/6/linjarteknik/"])>ul>li>ul {
    display: none;
}

/* EditMode */
.EditMode.WebbEssDIY header {
    position: relative;
    top: 20px !important;
}

.EditMode .header-logo {
    margin: 0 2rem 0 0;
}

.EditMode .TemplateMenu a {
    letter-spacing: normal;
    text-transform: none;
}

.EditMode .TemplateMenu>li>ul>li>ul span {
    display: inline-block;
    width: 100%;
    height: 4rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@media only screen and (max-width: 1024px) {
    header {
        padding: 0 3rem;
    }
}

@media only screen and (max-width: 580px) {
    header {
        padding: 0 2rem;
    }

    .header-logo a {
        font-size: 1.6rem;
    }

    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section .text-block {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-items: center;
    min-height: 60vh;
    max-width: 35vw;
    padding: 5rem 17rem 5rem 5rem;
    margin: 5rem 0;
    background-color: rgb(var(--accent-yellow-color));
    border-radius: 0 30vh 30vh 0;
}

.top-section .section-title {
    padding: 0;
    font-size: 11rem;
    margin-left: 3rem;
    margin-bottom: 3rem;
    font-weight: 800;
    color: rgb(var(--accent-green-color));
}

.top-section .smiley {
    width: 40rem;
}
.top-section .smiley-2 {
    width: 60rem;
}


/* Slick */
.top-section .bg-image-wrapper {
    position: absolute;
}

.top-section .slick-list {
    width: 100%;
    height: 100%;
}

.top-section .slick-track {
    height: 100%;
}

@media only screen and (max-width: 1600px) {
    .top-section .text-block {
        min-height: 50vh;
        padding: 2rem 5rem 2rem 3rem;
        margin: 15rem 0;
        border-radius: 0 25vh 25vh 0;
    }

    .top-section .section-title {
        font-size: 8rem;
    }
}

@media only screen and (max-width: 1050px) {
    .top-section {
        display: flex;
        align-items: flex-end;
        min-height: 85vh;
    }

    .top-section .text-block {
        max-width: 85vw;
        margin: 0 0 5rem 0;
    }

    .top-section .section-title {
        font-size: 6.5rem
    }
}

@media only screen and (max-width: 680px) {
    .top-section {
        display: flex;
        align-items: flex-end;
        min-height: 85vh;
    }

    .top-section .text-block {
        max-width: 90vw;
        min-height: unset;
        padding: 5rem 5rem 5rem 2rem;
    }

    .top-section .smiley {
        width: 20rem;
    }

    .top-section .section-title {
        font-size: 5.5rem
    }
}

/* Tjanster
========================================================================== */
.section-services .section-block {
    background-image: linear-gradient(to right, rgb(var(--accent-blue-color)) 50%, rgb(var(--accent-green-color)) 50%);
}

.section-services .text-block-center {
    max-width: 50rem;
}

.split-cols .section-block {
    --col-padding: 5rem;
}

.split-cols .col-0 {
    padding: 5rem;
    padding-left: 0;
}

.split-cols .col-1 {
    padding: 5rem;
    padding-right: 0;
}

@media only screen and (max-width: 1000px) {
    .split-cols .section-block {
        --col-padding: 5rem;
        padding: 0;
        background-image: none;
    }

    .split-cols .col-0 {
        padding: 5rem 3rem;
        background-color: rgb(var(--accent-blue-color));
    }

    .split-cols .col-1 {
        padding: 5rem 3rem;
        background-color: rgb(var(--accent-green-color));
    }
}

@media only screen and (max-width: 580px) {
    .split-cols .col-0 {
        padding: 5rem 2rem;
    }

    .split-cols .col-1 {
        padding: 5rem 2rem;
    }
}

.intro-smiley{
    max-height: 3rem;
    margin-left: 1rem;
}

/* Artikel
========================================================================== */
.section-article .text-block {
    max-width: 50rem;
}

.section-article .quote-wrapper .text-block {
    max-width: 46rem;
}

.section-article .quote {
    font-size: 3.3rem;
}

@media only screen and (max-width: 1000px) {
    .section-article .split-content {
        padding: 3rem;
    }

    .section-article .text-block {
        max-width: 75rem;
        margin-left: 0;
    }

    .section-article .quote {
        font-size: 2.8rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-article .split-content {
        padding: 3rem 2rem;
    }

    .section-article .quote {
        font-size: 2rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    /* background-color: rgb(var(--black-color), .6); */
}

.hero .section-block-wrapper {
    width: 100%;
}

.hero .section-title {
    font-size: 6rem;
}

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 30rem;
    }

    .hero .section-title {
        font-size: 4rem;
    }
}

/* Hero - Stor
========================================================================== */
.hero.hero-large .section-block {
    min-height: 70vh;
    background-color: transparent;
}

.hero.hero-large .text-block-center {
    max-width: 90rem;
}

@media only screen and (max-width: 580px) {
    .hero.hero-large .section-block {
        min-height: 50vh;
    }

    .hero-large .section-title {
        font-size: 3rem;
    }
}

/* Hero - Split
========================================================================== */
.hero-split .arrow-link {
    color: rgb(var(--gray-dark-color));
}

/* Bildspel i split'en */
.hero-split .slick-list {
    width: 100%;
}

.hero-split .card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 10rem;
    height: 10rem;
    border-radius: 50%;
}

.hero-split .cards-wrapper.w-25 .card-item {
    width: calc((100% / 1) - 2rem);
    display: flex;
    align-items: center;
}

.card-3-2 a{
    color: black;
}
.card-3-2 a:hover{
    text-decoration: underline;
}

@media only screen and (max-width: 580px) {
    .hero-split .cards-wrapper.w-25 .card-item {
        display: block;
    }

    .hero-split .card-3-2 .image-wrapper {
        margin-top: 3rem;
    }
}


/* ==========================================================================
Undersidor: FAQ
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.accordion-wrapper.w-50 .accordion-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.accordion-item.bg-white {
    background-color: rgb(var(--white-color));
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--white-color));
    transition: .5s ease;
}

.accordion-header.black-arrow::after {
    color: rgb(var(--black-color));
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 800px) {
    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

    .accordion-header::after {
        right: 1rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}

/* ==========================================================================
Undersida: Tabell
========================================================================== */
.table {
    width: 100%;
    max-width: 110rem;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.row:nth-child(odd):not(.table-heading) {
    background-color: rgb(var(--gray-light-color));
}

.cell {
    width: calc(100% / 3);
    padding: 1rem;
}

@media only screen and (max-width: 750px) {
    .table-heading {
        display: none;
    }

    .cell {
        width: 100%;
    }

    .cell:before {
        content: attr(data-title);
        display: block;
        font-size: 1.3rem;
        color: #666;
        text-transform: uppercase;
        margin-bottom: 13px;
    }
}



/* ==========================================================================
Undersida: Produkter > Produktsamlingssida
========================================================================== */

/* Full-width med bara en rubrik
========================================================================== */
.section-products-title {
    padding: 4rem 2rem;
}

/* Produktkort
========================================================================== */
.section-products {
    background-size: cover;
    background-repeat: no-repeat;
}

.section-products .p-8{
padding: 8rem;
}
.section-products .px-8{
    padding-right: 8rem;
    padding-left: 8rem;
    padding-bottom: 0;
    padding-top: 2rem;
    }
.sub-linjarteknik .section-products {
    background-image: url(/assets/images/graphics/bg-linjarteknik-trianglar.svg);
}
.sub-linjarteknik .section-products1 {
    background-image: url(/assets/images/graphics/bg-linjarteknik-trianglar-1.svg);
}
.sub-maskintillbehor .section-products {
    background-image: url(/assets/images/graphics/bg-maskintillbehor-trianglar.svg);
}

.section-products .cards-wrapper {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
}

.card-3-1.squares .card-item {
    position: relative;
}

.card-3-1.squares .card-body {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 2rem;
    transition: .3s ease;
}

.card-3-1.squares .card-body:hover {
    background: rgb(var(--black-color), .2);
}

/* Text om produkten
========================================================================== */
.section-products-info .section-title {
    font-size: 3.5rem;
}

@media only screen and (max-width: 1200px) {
    .section-products-info .section-title {
        font-size: 2.9rem;
    }
}
@media only screen and (max-width: 1050px) {
.section-products .p-8{
    padding: 2rem;
    }
}
@media only screen and (max-width: 580px) {
    .section-products-info .section-title {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
Undersida: Produkter > Produktsamlingssida > Produktundersida
========================================================================== */

/* Hero
========================================================================== */
/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    font-size: 1.3rem;
    margin: 0 5px 0 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 0 0 5px;
}

.breadcrumbs li:last-of-type a {
    font-weight: 300;
    text-decoration: none;
}

/* Subnav
========================================================================== */
body:not(.EditMode) .section-subnav {
    position: sticky;
    z-index: 3;
    top: var(--menu-height);
}

.section-subnav .section-block {
    padding: 1rem 0;
}

.section-subnav ul {
    display: flex;
    margin: 0;
    padding: 0 2rem;
    overflow: auto;
    list-style: none;
}

.section-subnav a {
    margin: 0 2rem 0 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

.section-subnav a:hover {
    color: rgb(var(--primary-color));
}

.section-subnav li.active a {
    color: rgb(var(--primary-color));
}

@media screen and (max-width: 1000px) {
    body:not(.EditMode) .section-subnav {
        top: var(--mobile-menu-height);
    }

    .section-subnav a {
        font-size: 1.2rem;
    }
}

/* Beskrivning / produktdatablad
========================================================================== */
.section-product-info {
    background-image: linear-gradient(to right, rgb(var(--white-color)) 50%, rgb(var(--primary-color)) 50%);
}

.section-product-info .section-block {
    background-size: cover;
    background-size: 50%;
    background-position: 100% 50%;
    background-repeat: no-repeat;
}

.sub-linjarteknik .section-product-info .section-block {
    background-image: url(/assets/images/graphics/bg-linjarteknik-reversed.svg);
}
.reverse-background .section-block {
    background-image: url(/assets/images/graphics/bg-maskintillbehor-reversed.svg);
}

.sub-maskintillbehor .section-product-info .section-block {
    background-image: url(/assets/images/graphics/bg-maskintillbehor-reversed.svg);
}

.product-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-list li:not(:last-child) {
    margin: 0 0 5px;
}

.product-list a {
    text-decoration: none;
}

.product-list i {
    margin: 0 1rem 0 0;
}

@media only screen and (max-width: 980px) {
    .section-product-info {
        background-image: none;
    }

    .section-product-info .section-block {
        padding: 0;
        background-image: none;
    }

    .section-product-info .col-0 {
        padding: 8rem 3rem;
        background: rgb(var(--white-color));
    }

    .section-product-info .col-1 {
        padding: 8rem 3rem;
        background: rgb(var(--primary-color));
    }
}

@media only screen and (max-width: 580px) {

    .section-product-info .col-0,
    .section-product-info .col-1 {
        padding: 5rem 2rem;
    }
}

/* Produkter
========================================================================== */
.section-product-products .card-item .btn {
    margin: 5px 10px 0 0;
}


/* ==========================================================================
Undersida: Blogg
========================================================================== */
.section-blog {
    background-image: url(/assets/images/graphics/bg-avansgroup.svg);
    background-size: cover;
}

.section-blog .section-block-wrapper {
    max-width: 100rem;
    padding: 9rem 7rem;
    background: rgb(var(--white-color), .95);
}

.section-blog img {
    display: block;
    margin: 2rem auto;
}

.section-blog a {
    display: inline;
    color: rgb(var(--accent-purple-color));
}

.section-blog video {
    width: 100%;
}

@media only screen and (max-width: 680px) {
    .section-blog .section-block-wrapper {
        padding: 3rem 2rem;
    }
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */

/* Kontaktuppgifter med karta
========================================================================== */
.section-contact .col-wrapper,
.section-contact .code-part,
.section-contact .block-object,
.section-contact iframe {
    height: 100%;
}

.section-contact .col-2 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Medarbetare
========================================================================== */
.section-contacts .card-item .image-wrapper {
    max-width: 60%;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(var(--black-color), .2);
}

.section-contacts .card-item .small-title {
    padding-bottom: 1rem;
}

.contact-info a {
    text-decoration: none;
    word-break: break-all;
}

.contact-info a:hover {
    color: rgb(var(--gray-dark-color));
}

.contact-info em {
    margin-right: 5px;
}

/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    line-height: 1.8;
    text-decoration: none;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .2);
    border-radius: 2rem;
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--accent-purple-color));
}

.tag.tag-linjarteknik:hover,
.tag.tag-linjarteknik.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--accent-green-color));
}

[data-tags='linjarteknik-sverige'] .text-primary,
[data-tags='linjarteknik-italien'] .text-primary {
    color: rgb(var(--accent-green-color)) !important;
}

.tag.tag-maskintillbehor:hover,
.tag.tag-maskintillbehor.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--accent-blue-color));
}

[data-tags='maskintillbehor'] .text-primary {
    color: rgb(var(--accent-blue-color));
}

@media only screen and (max-width:580px) {

    /* Sok */
    .search-wrapper input {
        width: 100%;
    }

    /* Taggar */
    .tags-wrapper {
        position: relative;
        max-width: 25rem;
        background: rgb(var(--primary-color));
        cursor: pointer;
    }

    .tags-heading {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
    }

    .tags-heading p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        color: rgb(var(--white-color));
    }

    .tags-heading i {
        margin-left: 2rem;
    }

    .tags-list {
        display: none;
        z-index: 1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: left;
        background: rgb(var(--white-color));
        box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
    }

    .tags-wrapper.opened .tags-list {
        display: block;
    }

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}
/* ==========================================================================
Undersida: Italienska
========================================================================== */
.italian-logo{
    max-width: 50rem;
    margin-bottom: 5rem;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--gray-color));
    padding: 0 5rem;
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 10rem;
}

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-label:not(.text-blue, .text-green) {
    color: rgb(var(--black-color));
}

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p:not(.text-label),
.footer-top a {
    color: rgb(var(--black-color), .6);
    text-decoration: none;

}

.footer-top a {
    font-weight: 500;
}

.footer a:hover {
    text-decoration: none;
    color: rgb(var(--black-color));
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgb(var(--black-color), .5);
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

.social-menu a {
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    padding: 5px 10px;
    border-radius: 2rem;
    line-height: 1;
    text-decoration: none;
    transition: all .3s ease;
}

.social-menu a:hover {
    background-color: rgb(var(--black-color));
    color: rgb(var(--gray-light-color));
    transition: all .3s ease;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--black-color), .6);
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .footer {
        padding: 0 2rem;
    }

    .footer-top {
        padding: 5rem 0;
    }
}