/* RRC rail */
/* Typsnitt – Openm sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');
/* animation*/
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

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

    /* 	Colors */
    --primary-color: 0, 77, 133;
    --primary-dark-color: 1, 26, 43;
    --secondary-color: 254, 205, 16;
    --black-color: 0, 0, 0;
    --gray-dark-color: 24, 24, 26;
    --gray-light-color: 250, 250, 250;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: var(--white-color);
}

/* Layout
========================================================================== */
.section-block {
    padding: 13rem 4rem;
}

/* Speciella paddings */
.p-0 .section-block {
    padding: 0;
}

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

.pt-20 .section-block {
    padding-top: 20rem;
}

.pb-0 .section-block,
.pb-0 {
    padding-bottom: 0;
}

.pt-0 .section-block {
    padding-top: 0;
}

.pb-3 {
    padding-bottom: 3rem;
}

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

.p-4 .section-block {
    padding: 4rem;
}

.pl-0 .section-block {
    padding-left: 0;
}

.pr-0 .section-block {
    padding-right: 0;
}

.pb-0 {
    padding-bottom: 0rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.pt-2 {
    padding-top: 2rem;
}

/* Speciella margins */
.mt-5 {
    margin-top: 5rem;
}

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

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

/* specifik bredd*/
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

.mw-none .section-block-wrapper {
    max-width: none;
}

/* Ovrgia klasser */
.of-hidden {
    overflow: hidden;
}

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

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

    .pt-20 .section-block {
        padding-top: 10rem;
    }
}

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

/* Rubriker */
.section-title {
    padding-bottom: 1rem;
    font-weight: 700;
    font-size: 5rem;
    line-height: 1.3;
}

.section-title.mb--4 {
    padding-bottom: 0 !important;
    margin-bottom: -4rem !important;
}

.text-label {
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: .2em;
    font-size: 1.3rem;
    padding-bottom: 1rem;
    font-weight: 400;
}

.small-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.5;
    padding-bottom: 1rem;
}

.ingress {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.6;
    padding-bottom: 2rem;
}

.text-title {
    font-family: inherit;
    font-size: 2rem;
    padding-bottom: 1rem;
    font-weight: 600;
}

/* brodtext & lankar */
p {
    font-weight: 300;
    line-height: 1.9;
    padding-bottom: .8em;
    color: rgb(var(--gray-dark-color));
}

li {
    color: rgb(var(--gray-dark-color));
    font-weight: 300;
}

a {
    text-decoration: none;
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 600;
}

.text-link {
    font-family: inherit;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-size: 1.35rem;
    line-height: 1.7;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

/* ovriga klasser */
.text-bold {
    font-weight: 700;
}

.text-block {
    max-width: 100rem;
}

.text-block.center {
    margin: 0 auto;
    text-align: center;
}

/* Listor */
.list-circle {
    list-style: none;
}

.list-circle li {
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 300;
    font-size: 1.6rem;
}

.list-circle li::before {
    content: '\f111';
    position: absolute;
    top: 40%;
    left: -2.5rem;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transform: translateY(-50%);
}

.text-right {
    text-align: right;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Listor */
.list-properties {
    padding: 0;
    margin-top: 0;
    list-style: none;
}

.list-properties li {
    display: flex;
    justify-content: space-between;
    padding-bottom: .3rem;
    margin-bottom: .3rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgb(var(--gray-dark-color));
}

.list-properties li span {
    padding: 0 .5rem;
}

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

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

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

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

    .text-block.center {
        margin: 0;
        text-align: left;
    }
}

@media only screen and (max-width: 430px) {
    p {
        font-size: 1.6rem;
        line-height: 1.7;
    }

    .section-title {
        font-size: 2.7rem;
    }
}

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

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

.btn-wrapper.multiple .btn:not(:last-child) {
    margin-right: 2rem;
}

.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.8rem 3rem;
    font-weight: 400;
    font-size: 1.4rem;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

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

/* primary border */
.btn-primary-border {
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

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

/* secondary filled */
.btn-secondary-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--secondary-light-color));
    background-color: rgb(var(--secondary-light-color));
}

/* secondary border */
.btn-secondary-border {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: transparent;
}

.btn-secondary-border:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

/* Lank med pil */
.arrow-link {
    padding-right: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.4rem;
}

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

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .3s ease;
}

.arrow-link.down:hover::after {
    transform: translateX(1.5rem) rotate(90deg);
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--secondary-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--secondary-color));
}

.circle-icon em:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 580px) {
    .btn {
        display: block;
        width: 100%;
    }

    .btn-wrapper {
        flex-direction: column;
    }

    .btn-wrapper.multiple .btn:not(:last-child) {
        margin: 0 0 2rem;
    }
}

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

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

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

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

.gradient-dark-white {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgba(var(--primary-dark-color)) 50%);
}

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

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

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

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

/* Borders */
.border-primary-dotted {
    border: 3px double rgb(var(--primary-color));
}

/* Parallax
========================================================================== */
.parallax {
    min-height: 60rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

@media only screen and (max-width: 800px) {
    .parallax {
        min-height: 40rem;
    }
}

/* Grafiska element
========================================================================== */
/* Ruta med box-shadow hogst upp */
.cutout-shadow-wrapper {
    position: relative;
}

.cutout-shadow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20rem;
    box-shadow: 0 1rem 2rem rgba(var(--black-color), .1);
}

.cutout-shadow {
    z-index: 1;
    position: relative;
    padding: 5rem;
    background-color: rgb(var(--white-color));
    border-radius: .5rem .5rem 0 0;
}

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

.image-height {
    margin-top: calc(-1 * var(--menu-height));
}

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

.bg-image-wrapper.op-ct img {
    object-position: center top;
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), 0.2) 0%, rgba(var(--black-color), 0.5) 0%, rgba(var(--black-color), 0) 100%);
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

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

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

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

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

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

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

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

@media only screen and (max-width: 850px) {
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 0 0 2rem;
    }
}

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

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

/* Cards 2  - nyheter */
.cards-2 {
    justify-content: center;
    margin-bottom: 5rem;
}

.cards-2 .card-item {
    padding: 4rem 4rem;
    transition: 0.2s ease-in-out;
    background-color: rgb(var(--primary-dark-color));
}

.cards-2 .card-item.link {
    cursor: pointer;
}

.cards-2 .card-item:hover {
    background-color: rgb(var(--primary-color));
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin-bottom: 2rem;
    margin-left: -6rem;
    text-align: left;
    background-color: rgb(var(--primary-color));
}

.cards-2 .icon-wrapper i {
    color: rgb(var(--white-color));
    font-size: 3.5rem;
}

.cards-2 .small-title {
    max-width: 60rem;
}

.cards-2 .text-wrapper p,
.cards-2 .text-wrapper a {
    max-width: 60rem;
    width: 100%;
}

@media only screen and (max-width: 550px) {
    .cards-2 .icon-wrapper {
        margin-left: -2rem;
    }

    .cards-2 .card-item {
        padding: 3rem 2rem;
    }
}

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

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

/* Cards 3  - vision */
.cards-3 .card-item {
    padding: 4rem;
}

.cards-3 .icon-wrapper img {
    width: 15rem;
    max-height: 12rem;
    padding-bottom: 3rem;
    margin-right: auto;
}

.cards-3 .icon-wrapper {
    display: flex;
    justify-content: flex-start;
}

.cards-3 .small-title::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: .1rem;
    width: 4rem;
    margin-bottom: .15em;
    margin-left: 1.3rem;
    border-bottom: .4rem solid rgb(var(--secondary-color));
}

/* Cards-3 alt-2  - projekt */
.cards-3.alt-2 .card-item {
    padding: 0;
    position: relative;
    background-color: rgb(var(--white-color));
}

.cards-3.alt-2 .small-title::before {
    content: none;
}

.cards-3.alt-2 .text-wrapper {
    background-color: rgb(var(--white-color));
    padding: 3rem 2rem;
}

.cards-3.alt-2 .small-title {
    font-size: 2.5rem;
}

.cards-3.alt-2 .image-wrapper {
    z-index: 0;
    position: relative;
}

.cards-3.alt-2 .image-wrapper {
    z-index: 0;
    position: relative;
    height: 30rem;
}

.cards-3.alt-2 .badge {
    z-index: 1;
    position: absolute;
    right: 0;
    width: auto;
    top: 2rem;
    padding: 8px;
    background-color: rgb(var(--secondary-color));
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.cards-3.alt-2 .badge-1 {
    top: 2rem;
}

.cards-3.alt-2 .badge-2 {
    top: 6rem;
    background-color: rgb(var(--primary-color));
}

.cards-3.alt-2 .badge-3 {
    top: 10rem;
    background-color: rgb(var(--primary-dark-color));
}

/* badge till cards-3 */
.badge .text-label {
    padding: 0;
    letter-spacing: 1px;
}

@media only screen and (max-width: 1200px) {
    .cards-3 .card-item {
        padding: 4rem 2rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-3 .card-item {
        padding: 0;
        margin-bottom: 3rem !important;
    }

    .cards-3 .icon-wrapper img {
        width: 7rem;
    }
}

@media only screen and (max-width: 550px) {
    .cards-3.alt-2 .image-wrapper {
        height: 25rem;
    }

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

/* Cards 5  - galleri */
.cards-5 .card-item {
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    -webkit-transform: scale(0.94);
    transform: scale(0.94);
}

.cards-5 .card-item:hover {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

/* Cards 7  - karriar */
.cards-7 .card-item {
    position: relative;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 1.5rem rgb(var(--gray-dark-color), .1);
    overflow: hidden;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.cards-7 .card-item::after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-image: linear-gradient(90deg, rgb(var(--primary-color)) 0%, rgb(var(--primary-light-color)) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
}

.cards-7 .card-item:hover {
    text-decoration: none;
    transform: translateY(-1rem);
}

.cards-7 .card-item .image-wrapper {
    height: 30rem;
    overflow: hidden;
}

.cards-7 .card-item .image-wrapper.logo {
    display: flex;
}

.cards-7 .logo-image {
    display: grid;
    place-items: center;
    background-color: rgb(var(--primary-color));
}

.cards-7 .logo-image img {
    max-width: 25rem;
}

.cards-7 .text-wrapper {
    padding: 2rem;
    flex-grow: 1;
}

.cards-7 .card-item .small-title {
    text-transform: none;
    font-size: 2rem;
    letter-spacing: 0;
    color: rgb(var(--black-color));
    font-weight: 600;
    padding-bottom: .5rem;
}

.cards-7 .card-item p {
    padding: 0;
    color: rgb(var(--gray-dark-color));
    transition: all .3s ease;
    font-size: 1.6rem;
}

.cards-7 .card-link {
    margin: auto 0 0;
    display: block;
    width: 100%;
}

.cards-7 .card-item:hover .btn {
    color: rgb(var(--black-color));
    background-color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
}

.cards-7 .fact-list li {
    font-weight: 300;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    text-align: right;
}

@media only screen and (max-width: 750px) {
    .cards-7 .image-wrapper img {
        object-fit: contain;
    }

    .cards-7 .card-item .image-wrapper {
        height: auto;
        overflow: hidden;
    }
}

/* Cards 8  - startsidan */
.cards-8 .card-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
}

.cards-8 .image-wrapper {
    height: 42rem;
}

.cards-8 .text-wrapper {
    z-index: 1;
    position: relative;
    flex-grow: 1;
    width: 85%;
    margin: -9rem auto 0;
    padding: 3.5rem;
}

@media only screen and (max-width: 750px) {
    .cards-8 .text-wrapper {
        width: 100%;
        margin-top: 0;
        padding: 3rem 2rem;
    }

    .cards-8 .image-wrapper {
        height: 25rem;
    }
}

/* Cards 12 - team */
.cards-12 .card-item {
    position: relative;
    padding: 3rem;
    background-color: rgb(var(--primary-color));
}

.cards-12 .card-item::before {
    position: absolute;
    content: '';
    display: block;
    top: 4.2rem;
    left: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent rgb(var(--primary-dark-color));
}

.cards-12 .image-wrapper {
    position: absolute;
    top: -2rem;
    right: 2rem;
    width: 10rem;
    height: 10rem;
    border-radius: 2rem;
    overflow: hidden;
}

.cards-12 .text-wrapper2 {
    min-width: 30rem;
}

.cards-12 .small-title {
    padding-bottom: .5rem;
    font-size: 2rem;
    color: rgb(var(--white-color));
}

.cards-12 .title {
    font-size: 1.4rem;
    font-weight: 300;
    padding-bottom: 2rem;
}

.cards-12 a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: rgb(var(--white-color));
    font-weight: 300;
}

.cards-12 em {
    margin-right: 1rem;
    color: rgb(var(--secondary-color));
}

.cards-12 a:hover {
    color: rgb(var(--secondary-color));
}

@media only screen and (max-width: 580px) {
    .cards-12 .card-item {
        padding: 3rem 2rem;
    }

    .cards-12 .card-item::before {
        border-width: 7px 0 7px 10px;
    }
}

/* Cards 14  - kontaktsida */
.cards-14 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 2rem;
    transition: all .3s ease;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgb(var(--black-color), 0.1);
    transition: all .3s ease;
}

.cards-14 i {
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: rgb(var(--secondary-color));
    background-color: rgb(var(--primary-color));
    margin-right: 2rem;
    border-radius: 3px;
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
}

.cards-14 .contact-info {
    font-size: 1.6rem;
    font-weight: 400;
}

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

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

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

.split-image {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.split-content {
    width: 50%;
    padding: 8rem;
    transition: all .3s ease;
}

.split-content.space-between {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

.split-wrapper .align-flex-end {
    align-self: flex-end;
}

/* Specifika bredder */
.split-wrapper .w-40 {
    width: 40%;
}

.split-wrapper .w-60 {
    width: 60%;
}

/* Speciella paddings */
.split-wrapper .pb-0 {
    padding: 0;
}

.split-content.pl-0 {
    padding-left: 0;
}

/* Video i split */
.split-video {
    width: 50%;
    display: flex;
    align-items: center;
}

.split-video .fancybox-video {
    display: none;
}

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

@media screen and (max-width: 1100px) {
    .split-wrapper.reverse {
        flex-direction: column-reverse;
    }

    .split-content,
    .split-wrapper .w-40,
    .split-wrapper .w-60 {
        width: 100%;
    }

    .split-image,
    .split-video {
        width: 100%;
    }
}

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

    .split-content.space-between,
    .split-wrapper.bg-primary .split-content,
    .full-width .split-content {
        padding: 5rem 2rem;
    }
}

/* Header / Navigation
========================================================================== */
/* header */
header {
    background-color: rgb(var(--primary-color));
}

header .container {
    max-width: none;
}

/* Nav */
nav.mainmenu {
    flex-grow: 1;
}

.TemplateMenu a {
    font-weight: 400;
    font-size: 1.4rem;
    color: rgb(var(--white-color));
}

.TemplateMenu li.active>a,
.TemplateMenu ul a:hover,
.TemplateMenu a:hover {
    color: rgb(var(--secondary-color));
}

/* dolj Hem */
body:not(.EditMode) nav.mainmenu ul.TemplateMenu>li:first-child {
    display: none;
}

/* dropdown */
.TemplateMenu ul {
    background-color: rgb(var(--primary-color));
    width: auto;
}

.TemplateMenu ul a {
    white-space: nowrap;
}

.TemplateMenu ul a:hover {
    background-color: rgb(var(--primary-dark-color), .2);
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    padding: 1rem 3rem;
    margin: 0 .5rem;
}

/* Mobilmeny */
header.mobile-menu .header-logo {
    flex-grow: 1;
}

@media only screen and (max-width: 510px) {
    .header-cta-wrapper {
        margin-right: 1rem;
    }

    .header-cta-wrapper .circle-icon {
        display: none;
    }

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

    .mobile-menu .TemplateMenu ul {
        background-color: transparent;
    }
}

/* ==========================================================================
Startsida
========================================================================== */
/* Top-section
========================================================================== */
.topsection {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background: linear-gradient(90deg, rgb(var(--primary-color), .6), rgb(var(--primary-color), .2));
    overflow: hidden;
}

.topsection h1 {
    max-width: 18ch;
    font-size: 6rem;
    line-height: 1.4;
}

.topsection p {
    max-width: 70ch;
}

@media only screen and (max-width: 1550px) {
    .topsection h1 {
        font-size: 6.5rem;
    }
}

@media only screen and (max-width: 800px) {
    .topsection h1 {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 580px) {
    .topsection {
        justify-content: center;
    }

    .topsection .section-block {
        padding-top: 15rem;
    }

    .topsection h1 {
        font-size: 3rem;
        padding-bottom: 2rem;
    }

    .topsection h1,
    .topsection p {
        margin: 0 auto;
        text-align: center;
    }
}

/* Om foretaget
========================================================================== */
@media only screen and (max-width: 800px) {
    .section-about .section-block {
        padding: 0;
    }
}

/* Vision
========================================================================== */
@media only screen and (max-width: 750px) {
    .section-vision .section-block {
        padding-top: 10rem;
    }
}

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

/* Parallax start - cta section
========================================================================== */
.parallax-start {
    background-image: url('/assets/images/snabbtag-vinter-2000.jpg');
}

/* ==========================================================================
Undersidor
========================================================================== */
/* Hero
========================================================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.hero .section-block {
    padding: 10rem 4rem 4rem;
}

/* hero solid bakgrundsfarg + text */
.hero.solid {
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

/* hero med bakgrund */
.hero.bg-image {
    background: linear-gradient(46deg, rgb(var(--primary-dark-color), .8) 0%, rgb(var(--black-color), .1) 60%);
}

/* innehall */
.hero .text-block {
    max-width: 90rem;
}

/* hero for nyheter */
.hero.news .text-block {
    max-width: 100rem;
    margin: 0 auto;
}

.hero.big {
    display: block;
}

/* hero split */
.hero.hero-split {
    align-items: center;
}

.hero.hero-split .section-block {
    padding: 4rem;
}

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

    .hero .section-block {
        padding: 10rem 2rem 4rem;
    }

    .hero.hero-split .section-block {
        padding: 4rem 2rem;
    }

    .hero.bg-image {
        background: rgb(var(--black-color), .6);
    }
}

/* ==========================================================================
Undersida: Projekt > Samlingssidan
========================================================================== */
/* Taggar */
.tags-heading {
    display: none;
    margin-bottom: 2rem;
}

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

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgb(var(--secondary-color));
    transition: .5s ease;
    border: 1px solid rgb(var(--secondary-color));
}

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

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

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

    /* Taggar */
    .tag {
        border: 1px solid rgb(var(--primary-color));
        color: rgb(var(--primary-color));
    }

    .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: Projekt > Singelsidor
========================================================================== */
.tags-wrapper .tag-item {
    padding: 1rem;
    text-transform: uppercase;
    border-radius: .2rem;
    margin-right: 1rem;
    font-size: 1.4rem;
}

.tags-wrapper .tag-item.bg-secondary {
    color: rgb(var(--primary-color));
}

.tags-wrapper .tag-item.bg-primary {
    color: rgb(var(--white-color));
}

.tags-wrapper .tag-item:last-child {
    margin-right: 0;
}

.fact-list {
    list-style: none;
    padding-inline-start: initial;
    padding: 2rem;
    border: 1px solid rgb(var(--black-color), .2);
}

/* Galleri
========================================================================== */
.section-gallery .card-item img {
    max-height: 25rem;
}

/* ==========================================================================
Undersida: project
========================================================================== */
@media only screen and (max-width: 580px) {
    .section-projects .section-block {
        padding: 5rem 2rem 0;
    }
}

/* ==========================================================================
Undersida: team
========================================================================== */
@media only screen and (max-width: 580px) {
    .section-team .section-block {
        padding: 10rem 2rem 0;
    }
}

/* ==========================================================================
Undersida: Karriar
========================================================================== */
/* Sok efter yrke m.m
========================================================================== */
/* Sok */
.search-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.search-wrapper em {
    position: absolute;
    left: 2rem;
    top: 50%;
    font-size: 2rem;
    transform: translateY(-50%);
}

.search-wrapper input {
    min-width: 30rem;
    height: 4rem;
    padding: 0 2rem 0 5rem;
    margin: 0 .6rem;
    border: none;
    border-radius: 5rem;
    box-shadow: 1px 1px 5px rgba(var(--black-color), 0.2);
    transition: .5s ease;
}

.search-wrapper input:focus {
    min-width: calc(100% - 1.2rem);
    outline: unset;
}

/* Dolj card */
.card-item.hidden-search-item,
.card-item.hidden-tag-item {
    display: none;
}

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

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

    .fact-list {
        padding: 0;
        border: none;
    }
}

@media only screen and (max-width:405px) {
    .fact-list li {
        flex-direction: column;
        padding-bottom: 1rem;
    }
}

/* ==========================================================================
Undersida: Leverantorer
========================================================================== */
.section-delivery a {
    font-size: inherit;
}

.section-delivery a:hover {
    text-decoration: underline;
}

/* ==========================================================================
Undersida: Nyheter - samlingssida
========================================================================== */
/* Paginering */
.simple-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0rem 0 0;
    list-style: none;
}

.simple-pagination li {
    margin: 0 .5rem !important;
}

.simple-pagination a,
.simple-pagination span {
    font-size: 1.6rem;
    line-height: 20px;
    padding: .2rem 1rem;
    border-radius: 0;
    border: 1px solid rgb(var(--primary-color));
    border-radius: 0 !important;
    color: rgb(var(--primary-color));
}

.simple-pagination li.active span,
.simple-pagination li.active a,
.simple-pagination li.disabled span,
.simple-pagination li.disabled a {
    border: 1px solid rgb(var(--primary-color));
    background: rgb(var(--primary-color));
    border-radius: 0 !important;
    padding: 0.8rem 1.5rem !important;
}

.light-theme a {
    border: 1px solid rgb(var(--primary-color)) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: rgb(var(--primary-color)) !important;
    background: rgb(var(--white-color)) !important;
    padding: 0.8rem 1.5rem !important;
}

.light-theme a:hover {
    border: 1px solid rgb(var(--primary-color)) !important;
    background: rgb(var(--primary-color)) !important;
    color: rgb(var(--white-color)) !important;
}

@media only screen and (max-width: 580px) {
    .simple-pagination li {
        margin: 0rem !important;
    }
}

/* ==========================================================================
Undersida: Nyheter - enskild nyhet
========================================================================== */
.hero.news {
    align-items: center;
    justify-content: center;
}

.hero.news .section-title {
    border-bottom: 1px solid rgb(var(--black-color), .2);
    margin-bottom: 3rem;
}

.date {
    font-size: 1.4rem;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.section-contact .col-1 {
    align-self: center;
}

.ContactForm {
    padding: 4rem;
    box-shadow: 0px 0px 40px 0px rgb(var(--black-color), 0.2);
}

.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
    background-color: rgb(var(--gray-light-color));
}

.grecaptcha-badge {
    display: none;
}

@media only screen and (max-width: 800px) {
    .section-map iframe {
        max-height: 40rem;
    }

    .ContactForm {
        padding: 2rem;
    }
}

/* CTA kontakt
========================================================================== */
.cta-wrapper {
    padding: 5rem 4rem;
    background-color: rgb(var(--white-color));
    max-width: 100rem;
    margin: 0 auto;
    margin-bottom: -2rem;
    border-radius: 2px;
    box-shadow: 0px 0px 40px 0px rgb(var(--black-color), 0.2);
}

.bg-text-wrapper {
    max-width: 80rem;
}

.cta-wrapper .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    margin-top: -3rem;
    margin-bottom: 1rem;
    margin-left: -6rem;
    text-align: left;
    background-color: rgb(var(--primary-color));
}

.cta-wrapper .icon-wrapper i {
    font-size: 4rem;
    color: rgb(var(--white-color));
}

.cta-wrapper .btn-wrapper {
    justify-content: flex-end;
    margin-right: -6rem;
}

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

    .cta-wrapper .icon-wrapper {
        margin-left: -3rem;
        margin-top: -2rem;
    }

    .cta-wrapper .btn-wrapper {
        justify-content: flex-end;
        margin-right: -0rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--primary-dark-color));
}

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 1px solid rgb(var(--white-color), .2);
}

.footer-menu {
    margin: 1.5rem 0;
}

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

.footer p,
.footer a,
.footer li {
    color: rgb(var(--white-color));
    font-size: 1.4rem;
    font-weight: 300;
}

.footer a:hover {
    color: rgb(var(--secondary-color));
}

.footer .small-title {
    font-size: 2rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.footer .circle-icon {
    font-size: 0;
}

.sigill-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
}

.sigill-wrapper img {
    width: 30rem;
}

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

.footer-bottom p {
    font-size: 1.4rem;
}

.footer-top .circle-icon {
    background-color: rgb(var(--white-color));
    color: rgb(var(--primary-color));
}

.footer-top .circle-icon:hover {
    background-color: rgb(var(--secondary-color));
    color: rgb(var(--primary-color));
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
    filter: brightness(0) invert(1);
}

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

    /* 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%;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .footer-bottom .socials {
        margin-bottom: 1.5rem;
    }
}

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

    /* Footer top */
    .footer-top {
        padding: 4rem 0 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}