/* Backa VVS */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css'); 

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 124, 124;
    --primary-light-color: 234, 241, 241;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

    --accent-red-color: 198, 6, 6;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

.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;
}

/* Margins */
.m-auto {
    margin: auto;
}

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

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

/* Bredder */
.mw-1100 {
    max-width: 110rem;
}

/* Ovrigt */
.display-flex {
    display: flex;
}

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
}

/* Listor */
.list-bg-primary {
    list-style: none;
    padding: 0;
}

.list-bg-primary li:nth-child(odd) {
    background: rgb(var(--primary-light-color));
}

.list-bg-primary li {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-bg-primary a {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(var(--primary-color));
    text-decoration: none;
}

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

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

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

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

@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;
}

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

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

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

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

.btn.arrow-link {
    font-size: 1.4rem;
}

.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;
}

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

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

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

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

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

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

}

/* Grafiska element
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    z-index: 3;
    position: absolute;
    top: 1rem;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.5rem;
    background-color: rgb(var(--accent-red-color), .7);
    color: rgb(var(--white-color));
}

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

.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;
}

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

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

/* 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) - 2rem);
    margin: 1rem;
}

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

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

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

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

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
}

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

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

.card-2-5 .card-body {
    padding: 0 2rem;
}

.card-2-5 .card-item .small-title {
    font-size: 2rem;
    transition: .3s ease;
}

.card-2-5 .card-item:hover .small-title {
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 680px) {
    .card-2-5 .card-header {
        width: 3rem;
        height: 3rem;
    }

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

    .card-2-5 .card-item .small-title {
        font-size: 1.8rem;
    }

}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 2px;
    overflow: hidden;
}

.card-3-1 .image-wrapper {
    height: 30rem;
}

/* Card 3-6 */
.card-3-6 {
    width: 100%;
}

.card-3-6 .card-item {
    display: flex;
    position: relative;
    min-height: 70rem;
    padding: 2rem;
}

.card-3-6.w-25 .card-item {
    min-height: 35rem;
}

.card-3-6.w-33 .card-item {
    min-height: 45rem;
}

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

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(var(--black-color), .9), rgba(var(--black-color), .3));
    transition: .3s ease-in-out;
}

.card-3-6 a.card-item:hover .image-wrapper::after {
    background: linear-gradient(to top, rgba(var(--black-color), .9), rgba(var(--black-color), .5));
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    pointer-events: none;
    align-content: end;
}

@media only screen and (max-width: 750px) {
    .card-3-6.w-25 .card-item {
        min-height: 45rem;
    }
}

@media only screen and (max-width: 580px) {
    .card-3-6 .card-item {
        min-height: 45rem;
    }
}

/* 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%;
    border-radius: 2px;
}

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

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

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

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

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

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

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    appearance: none;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    color: rgb(var(--white-color));
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* Innehall */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    width: 350px;
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 12rem);
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2px;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.popup-header .text-title {
    font-size: 1.8rem;
    padding: 0;
    line-height: 1;
}

.icon-close-popup {
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
}

.icon-close-popup:hover {
    background-color: rgb(var(--gray-light-color));
}

.popup-content {
    padding: 1rem 2rem 3rem;
    max-height: 30rem;
    overflow: auto;
}

.popup-content .small-title {
    font-size: 1.9rem;
}

.popup-content p,
.popup-content .arrow-link {
    font-size: 1.4rem;
    text-decoration: none;
}

.popup-content .arrow-link {
    font-weight: 600;
}

/* Modal
========================================================================== */
.modal {
    width: fit-content;
    max-height: 75vh;
    padding: 4rem ;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    background-color: rgb(var(--white-color));
}

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

.blocker {
    z-index: 100;
}

.modal a.close-modal{
    right: 0;
    top: 0;
    margin: 1rem;
}
.modal .custom-close-modal {
    position: absolute;
    top: .2rem;
    right: 1rem;
    font-size: 2rem;
    color: rgb(var(--white-color));
}

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

    .blocker {
        padding: 1rem;
    }
}


/* 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
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.IndexPage header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

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

.header-logo a {
    font-size: 2.5rem;
    color: rgb(var(--primary-color));
    text-decoration: none;
}

.IndexPage header:not(.scrolled, .mobile-menu) .header-logo a {
    color: rgb(var(--white-color));
}

/* Nav */
.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

.IndexPage header:not(.scrolled, .mobile-menu) .TemplateMenu a:not(:hover) {
    color: rgb(var(--white-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 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

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

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
}

.top-section .section-block {
    width: 100%;
}

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

.top-section p {
    max-width: 65rem;
    margin: 0 auto;
}

.top-section .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

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

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

/* Sociala medier */
.EditMode .social-wrapper {
    display: none;
}

.social-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    left: 3rem;
}

.social-button {
    position: relative;
    appearance: none;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin-right: .5rem;
}

.social-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    color: rgb(var(--white-color));
}

/* Utbud
========================================================================== */
.section-services .card-item .arrow-link {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: unset;
}

/* Samarbeten
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.section-scroll .section-block {
    padding: 10rem 0 5rem;
}

.section-scroll .text-block-center {
    padding: 1.5rem;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin: 4rem 0;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin-bottom: 2rem;
}

.scroll-wrapper.cards-wrapper .image-wrapper {
    height: 10rem;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0;
}

.scroll-wrapper .slick-dots {
    padding: 0;
}

@media screen and (max-width: 580px) {
    .scroll-wrapper.cards-wrapper {
        margin: 2rem 0;
    }

    .scroll-wrapper.cards-wrapper .image-wrapper {
        height: 6rem;
    }

    .section-scroll .section-block {
        padding: 5rem 0;
    }
}

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    padding: 10rem 4rem 8rem;
    border-radius: 2px;
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url('/assets/draft/images/contact.jpg');
    background-size: cover;
    background-position: center;
}

.cta-wrapper .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    background: linear-gradient(to left, rgba(var(--white-color), .85) 70%, rgb(var(--white-color)) 0);
}

.hero .section-block-wrapper {
    max-width: unset;
}

.hero-split .split-wrapper {
    min-height: 45vh;
}

.hero-split .section-title {
    padding-bottom: 2rem;
    font-size: 4.8rem;
}

@media only screen and (max-width: 1100px) {
    .hero-split .section-block {
        background: rgb(var(--white-color), .85);
    }

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

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

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

}

/* ==========================================================================
Undersida: Om oss
========================================================================== */
/* Timeline */
.timeline-wrapper {
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgb(var(--primary-light-color));
}

.timeline-item {
    position: relative;
    width: 45%;
    background: rgb(234 241 241);
    border-radius: 5rem 0;
}

.timeline-text {
    padding: 8rem;
}

.timeline-item.item-left {
    margin: 0 0 0 auto;
    flex-direction: row-reverse;
}

.timeline-item:before {
    content: '\f041';
    z-index: 1;
    position: absolute;
    top: 44%;
    left: 109%;
    width: 3rem;
    height: 3rem;
    font-size: 4rem;
    font-weight: 600;
    color: rgb(var(--primary-color));
    font-family: 'Font Awesome 5 Pro';
    transform: rotate(90deg);
}

.item-left.timeline-item:before {
    left: -13.6%;
    transform: rotate(270deg);
}

@media only screen and (max-width: 1200px) {
    .timeline-wrapper::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 5rem;
    }

    .timeline-item:before,
    .item-left.timeline-item:before {
        display: none;
    }
}

@media only screen and (max-width: 900px) {
    .timeline-item.item-left {
        flex-direction: column;
    }
}

@media only screen and (max-width: 590px) {
    .timeline-text {
        padding: 3.5rem;
    }
}

/* ==========================================================================
Undersida: Vara produkter
========================================================================== */
.section-products .cards-heading {
    width: 30rem;
}

.section-products .cards-heading.mt-10 .section-title {
    margin-top: 10rem;
}

.section-products .cards-heading.mt-15 .section-title {
    margin-top: 15rem;
}

.section-products .cards-heading.mt-30 .section-title {
    margin-top: 30rem;
}

.section-products .cards-heading .section-title {
    transform: rotate(-90deg);
    color: rgb(var(--primary-color), .3);
    font-size: 7rem;
}

.section-products .cards-heading .section-title.text-red {
    color: rgb(var(--accent-red-color), .2);
}

@media only screen and (max-width: 1280px) {
    .section-products .cards-heading {
        width: 18rem;
    }

    .section-products .cards-heading .section-title {
        font-size: 5rem;
    }
}

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

@media only screen and (max-width: 680px) {
    .section-products .display-flex {
        flex-direction: column;
    }

    .section-products .cards-heading.mt-10 .section-title,
    .section-products .cards-heading.mt-15 .section-title,
    .section-products .cards-heading.mt-30 .section-title {
        margin-top: 0;
    }

    .section-products .cards-heading .section-title,
    .section-products .cards-heading .section-title.text-red {
        transform: rotate(0deg);
        font-size: 3rem;
        color: rgb(var(--primary-color));
    }
}

/* ==========================================================================
Undersida: Vara samarbeten
========================================================================== */
.partner-wrapper .card-item {
    border: 1px solid rgb(var(--gray-dark-color), .3);  
    transition: .3s ease;
}

.partner-wrapper .card-item:hover {
    transform: scale(1.05);    
    box-shadow: 0 0 3rem rgba(var(--gray-dark-color), .1);
}

.partner-wrapper .card-body {
    height: 100%;
    display: flex;
    align-items: center;
}

.partner-wrapper .card-body img {
    max-height: 7rem;
    max-width: 20rem;
}

.partner-wrapper .card-body .small-title {
    padding: 0;
}

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

/* Formular
========================================================================== */
.ContactForm p,
.ContactForm select {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal),
.ContactForm select,
.ContactForm input[type="email"]:not(.illegal),
.ContactForm select:not(.illegal) {
    background-color: #f3f5f5;
       border: none;
}

.ContactFormName {
    margin-top: 3rem;
}

.ContactForm .ContactFormMessage {
    margin-bottom: 4rem;
}


.ContactForm select {
    width: 100%;
    height: 4rem;
    border: 4px solid #f3f5f5;
    padding: .5rem;
}

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

.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%;
}

.footer-menu-large {
    width: 40%;
    padding-right: 5rem;
}

.footer .text-label {
    padding: 0 0 1rem;
    font-size: 1.6rem;
    line-height: 1;
    color: rgb(var(--white-color));
}

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

.footer-submenu.icons li {
    display: flex;
    align-items: center;
}

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--white-color));
    text-decoration: none;

}

.footer-top a {
    transition: .2s ease;
}

.footer a:hover:not(.social-menu a) {
    text-decoration: underline;
}

.footer-top em {
    width: 2rem;
    margin-right: 7px;
    font-size: 1.4rem;
    text-align: center;
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

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

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

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

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

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

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

    /* Footer top */
    .footer-menu {
        width: 48%;
        margin: 0 0 5rem;
    }

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

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

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

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

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

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

    /* Footer top */
    .footer-menu {
        margin: 0 0 3rem;
    }

    /* Social Menu */
    .social-menu {
        justify-content: center;
    }

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

    .social-menu a {
        font-size: 1.2rem;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    .footer-bottom p,
    .footer-bottom a {
        font-size: 1.3rem;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}