/* Facil Consult AB */

/* 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: 128, 0, 128;
    --primary-light-color: 159, 101, 165;

    --purple-accent-color: 180, 159, 179;
    --green-gray-accent-color: 205, 217, 215;
    --blue-gray-accent-color: 175, 178, 185;

    --black-color: 17, 17, 17;
    --gray-dark-color: 51, 51, 51;
    --gray-color: 130, 130, 130;
    --gray-light-color: 237, 235, 231;
    --white-color: 255, 255, 255;

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

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

    /* Mobile nav */
    --activate-mobile-menu: 980;
    --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.4rem;
    }
}

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

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

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

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

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

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

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

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

/* Margins */
.mb-1 {
    margin-bottom: 1rem;
}

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

/* Specifika bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

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

@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: 'Manrope', sans-serif;
}

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

.section-title {
    padding-bottom: .3em;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Cormorant Garamond', serif;
}

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

p a {
    color: rgb(var(--primary-color));
    text-decoration: none;
    cursor: pointer;
}

p a:hover {
    color: inherit;
}

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

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

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

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

/* List-check */
.list-check {
    list-style: none;
    padding-left: 4rem;
}

.list-check li {
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.list-check li::before {
    content: '\f00c';
    position: absolute;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border-radius: 50%;
    display: flex;
    top: 0;
    left: -4rem;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 1.4rem;
    font-family: 'Font Awesome 5 Pro';
}

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

    /* Rubriker */
    .section-title {
        font-size: 3.8rem;
    }

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

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

    /* Rubriker */
    .text-label {
        font-size: 1.3rem;
    }

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 3.5rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 300;
    border-radius: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    transition: all .4s ease;
    cursor: pointer;
}

.btn::after,
.ContactSubmit::after {
    display: inline-block;
    content: ' \f0da';
    margin-left: .5rem;
    transition: all .4s ease;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}

.btn:hover:not(.dropdown-wrapper)::after {
    transform: translateX(1rem);
}

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

.btn-primary-light-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-light-color));
}

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

    .btn-wrapper,
    .btn {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}

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

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

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

/* 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(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

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

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

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

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

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-solid-black {
    border: 1px solid rgb(var(--black-color));
}

.border-bottom-solid-black {
    border-bottom: 1px solid rgb(var(--black-color));
}

/* Border radius */
.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}

/* Bilder */
img.image-grayscale,
.image-grayscale img {
    filter: grayscale();
}

/* Box shadow */
.box-shadow {
    box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
}

/* Object position */
.LayoutPage .op-50-20 {
    object-position: center 20%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Paddings */
    .cards-wrapper.p-3,
    .cards-wrapper .p-3 {
        padding: 2rem;
    }

    .cards-wrapper .p-3.pb-0 {
        padding: 2rem 2rem 0 2rem;
    }
}

/* Card-1-1 */
.card-1-1 .card-body .contact-info {
    display: flex;
}

.card-1-1 .card-body .logo-wrapper {
    width: 3rem;
    margin-right: 2rem;
    text-align: center;
}

.card-1-1 .card-body .logo-wrapper i {
    font-size: 2.5rem;
}

/* Card 2-1 */
.card-2-1 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

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

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

@media only screen and (max-width: 580px) {
    .card-2-1 .card-header {
        width: 6rem;
        height: 6rem;
    }

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

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

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

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

.card-2-5 a.card-item:hover .card-header {
    border-color: rgb(var(--white-color));
}

.card-2-5 .card-header i {
    font-size: 3rem;
    transition: .3s ease;
}

.card-2-5 a.card-item:hover .card-header i {
    color: rgb(var(--white-color));
}

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

.card-2-5 .card-item p {
    transition: .3s ease;
}

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

@media only screen and (max-width: 480px) {
    .card-2-5 .card-body .small-title {
        font-size: 1.9rem;
    }
}

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

.card-3-4 .image-wrapper {
    width: 14rem;
    height: 14rem;
    margin: 0 1rem 0 0;
    border-radius: 50%;
}

.card-3-4 .contact-item i {
    margin-right: 1rem;
}

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

    .card-3-4 .image-wrapper {
        margin: 0 0 1rem 0;
    }
}

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

.card-3-6 .image-wrapper {
    width: 100%;
    display: block;
}

.card-3-6 .card-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--white-color), .8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-3-6 .card-item:hover .card-body {
    opacity: 1;
}

.card-3-6 .card-body i {
    margin-right: 1rem;
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.scrolled) {
    border: transparent;
}

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

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

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

/* Dolj hem */
body:not(.EditMode) .TemplateMenu>li:nth-child(1) {
    display: none;
}

/* Mobilmeny */
.mobile-menu .header-logo img {
    padding: 1rem 0;
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(70vh - var(--menu-height));
}

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

.top-section .text-block {
    max-width: 70rem;
    margin: 0 auto;
}

.top-section .section-title {
    font-size: 6.5rem;
    padding-bottom: 1.5rem;
}

.top-section .btn-wrapper {
    text-align: right;
}

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

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

    .top-section .text-block,
    .top-section .btn-wrapper {
        text-align: center;
    }

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

/* Intro
========================================================================== */
.section-intro .col-1 {
    background-color: rgb(var(--purple-accent-color));
    padding: 10rem 1rem 10rem 6rem;
}

@media only screen and (max-width: 980px) {
    .section-intro .col-0 {
        width: 33%;
    }

    .section-intro .col-1 {
        width: 67%;
    }
}

@media only screen and (max-width: 580px) {
    .section-intro .col-0 {
        display: none;
    }

    .section-intro .col-1 {
        width: 100%;
        padding: 5rem 2rem;
    }
}

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

/* Hero - toppborder
========================================================================== */
.hero-top-border .section-block {
    padding-top: 5rem;
}

.hero-top-border .text-block-center {
    border-top: 1px solid rgb(var(--black-color));
    padding-top: 2rem;
    max-width: 90rem;
}

.hero-top-border .section-title {
    font-size: 4.5rem;
}

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

@media only screen and (max-width: 580px) {
    .hero-top-border .text-block-center {
        border: none;
        padding-top: 0;
    }

    .hero-top-border .section-title {
        font-size: 3.3rem;
    }
}

/* ==========================================================================
Undersida: Tjanster
========================================================================== */

/* Processen (.section-process)
========================================================================== */
.section-process .section-block-wrapper {
    padding-top: 3rem;
}

.section-process .line-label {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 1rem;
    font-weight: 400;
    font-size: var(--base-size);
}

.section-process .cards-wrapper {
    position: relative;
}

.section-process .cards-wrapper.card-2-1::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: calc((100% / 6) + 0.25rem);
    width: calc((100% / 6 * 4) - 0.5rem);
    height: 1px;
    background: rgb(var(--primary-light-color));
}

.section-process .cards-wrapper.card-2-1::after {
    content: "";
    position: absolute;
    top: -2rem;
    left: calc((100% / 6) + 0.25rem);
    width: calc((100% / 6 * 4) - 0.5rem);
    height: 1rem;
    border-left: 1px solid rgb(var(--primary-light-color));
    border-right: 1px solid rgb(var(--primary-light-color));
}

.section-process .card-2-1 .text-label {
    font-size: 1.3rem;
}

.section-process .card-2-1 .small-title {
    font-size: 2rem;
}

@media only screen and (max-width: 810px) {
    .section-process .section-block-wrapper {
        padding-top: 0;
    }

    .cards-wrapper.card-2-1::before {
        display: none;
    }

    .cards-wrapper.card-2-1::after {
        display: none;
    }

    .line-label {
        display: none;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 50rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    box-shadow: none;
    overflow: auto;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
}

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

    .blocker {
        padding: 1rem;
    }
}

/* ==========================================================================
Undersida: Tjanster > tjansteundersidor
========================================================================== */

/* Hero - bild
========================================================================== */
.hero-image {
    display: flex;
    align-items: center;
    min-height: 31rem;
}

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

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

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

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

/* Tjanst information (.section-service-info)
========================================================================== */
.section-service-info .section-block {
    position: relative;
    margin-bottom: 10rem;
}

/* Bakgrunder */
.section-service-info .section-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(75% - var(--col-padding));
    height: 100%;
    z-index: 0;
}

.section-service-info.green-gray .section-block::before {
    background-color: rgb(var(--green-gray-accent-color));
}

.section-service-info.blue-gray .section-block::before {
    background-color: rgb(var(--blue-gray-accent-color));
}

.section-service-info .section-block-wrapper {
    position: relative;
    z-index: 1;
}

/* Col bredder */
.section-service-info .col-0 {
    width: 45%;
}

.section-service-info .col-1 {
    width: 30%;
}

.section-service-info .col-2 {
    width: 25%;
}

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

    /* Bakgrunder */
    .section-service-info .section-block::before {
        width: calc(80% - var(--col-padding));
    }

    /* Col bredder */
    .section-service-info .col-1 {
        width: 35%;
    }

    .section-service-info .col-2 {
        width: 20%;
    }
}

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

    /* Bakgrunder */
    .section-service-info .section-block::before {
        width: 100%;
        height: 100%;
    }

    /* Col bredder */
    .section-service-info .col-0,
    .section-service-info .col-1 {
        width: 50%;
    }

    .section-service-info .col-1 {
        padding-right: 0;
    }

    .section-service-info .col-2 {
        width: 100%;
        background-color: rgb(var(--white-color));
        padding: 4rem;
        margin-top: 3rem;
    }
}

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

    /* Col bredder */
    .section-service-info .col-0 {
        width: 100%;
    }

    .section-service-info .col-1 {
        width: 100%;
        margin-top: 3rem;
    }
}

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

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

/* Teamet (.section-filters)
========================================================================== */
.tabs-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.tabs-list {
    justify-self: start;
}

.tabs-wrapper .btn-wrapper {
    justify-self: center;
}

.search-wrapper {
    justify-self: end;
}

/* Visa lista/bild */
.tabs-list .btn {
    display: inline-block;
    padding: .4rem 1.5rem;
    margin: .6rem .5rem;
    text-transform: none;
    min-width: unset;
}

.tabs-list .btn::after {
    display: none;
}

.tabs-list .btn.btn-primary-light-filled:hover {
    background-color: rgb(var(--primary-color));
}

/* Dropdown-knapp */
.btn-wrapper:has(.dropdown-wrapper) {
    margin: 0;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-wrapper::after {
    display: inline-block;
    content: ' \f0d7';
    margin-left: .5rem;
    transition: all .4s ease;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}

.dropdown-wrapper .dropdown {
    display: none;
    z-index: 2;
    position: absolute;
    top: 4.8rem;
    left: -1px;
    width: 100%;
    max-height: 50vh;
    overflow: auto;
    text-align: left;
}

@media (hover: hover) {
    .dropdown-wrapper:hover::after {
        transform: rotate(180deg);
    }

    .dropdown-wrapper:hover .dropdown {
        display: block;
    }
}

@media (hover: none) {
    .dropdown-wrapper.open::after {
        transform: rotate(180deg);
    }

    .dropdown-wrapper.open .dropdown {
        display: block;
    }
}

.dropdown a {
    padding: 1.2rem 2rem;
    text-decoration: none;
    transition: .3s ease;
    cursor: pointer;
    width: 100%;
    font-size: 1.3rem;
    text-transform: none;
    font-weight: 500;
}

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

.dropdown .tag.clicked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    line-height: 2rem;
    float: right;
}

/* Sok */
.search-wrapper {
    position: relative;
    min-width: 26rem;
}

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

.search-wrapper input {
    width: 29rem;
    height: 3rem;
    padding: 0 0 0 4rem;
    margin: 0;
    border: none;
    font-size: 1.6rem;
    transition: .5s ease;
}

/* Cards - listvy */
.list-view .image-wrapper {
    display: none;
}

.card-3-6.list-view .card-body {
    opacity: 1;
    justify-content: flex-start;
    position: static;
    padding: 1rem;
}

@media only screen and (max-width: 850px) {
    .tabs-wrapper {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 1rem;
        align-items: center;
    }

    /* Visa lista/bild */
    .tabs-list {
        grid-column: 1 / 2;
        grid-row: 1;
        justify-self: start;
    }

    /* Dropdown knapp */
    .tabs-wrapper .btn-wrapper:has(.dropdown-wrapper) {
        grid-column: 2 / 3;
        grid-row: 1;
        justify-self: end;
    }

    /* Sok */
    .search-wrapper {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-self: stretch;
        width: 100%;
        margin: 0;
    }

    .search-wrapper input {
        width: 100%;
        margin: 0;
    }
}

@media only screen and (max-width: 580px) {
    /* Visa lista/bild */
    /*.tabs-wrapper .btn {
    min-width: unset;
    padding-top: 1rem;
    padding-right: 2rem;
  }*/
}

@media only screen and (max-width: 580px) {
    .tabs-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Visa lista/bild */
    .tabs-list {
        order: 1;
    }

    /* Dropdown knapp */
    .tabs-wrapper .btn-wrapper:has(.dropdown-wrapper) {
        order: 2;
    }

    /* Sok */
    .search-wrapper {
        order: 3;
    }
}

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

    /* Visa lista/bild */
    .tabs-list .btn {
        width: unset;
    }
}

/* ==========================================================================
Undersida: Styrelse
========================================================================== */
@media only screen and (max-width: 1050px) {

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

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

    /* Bredder */
    .section-board .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--gray-light-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: 10rem 0 5rem;
}

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

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

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

.footer-top li,
.footer-top p:not(.text-label),
.footer-top a:not(.arrow-link, .circle-icon) {
    text-decoration: none;
    color: rgb(var(--gray-dark-color));
}

.footer a:not(.circle-icon):hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}

/* 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(--primary-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-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;
}

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

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

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

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

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

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

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

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