/* Medmi AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 86, 120, 91;
    --secondary-color: 201, 82, 47; 

    --accent-green-color: 184, 187, 175;
    --accent-green-light-color: 200, 202, 192;
    --accent-green-dark-color: 169, 173, 159;

    --accent-beige-color: 231, 218, 205;
    --accent-beige-light-color: 238, 230, 221;
    --accent-beige-dark-color: 193, 171, 149;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1200;
    --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-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

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

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

/* Margins */
.mb-2 {
    margin-bottom: 2rem;
}
.mb-4 {
    margin-bottom: 4rem;
}
@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 10rem 3rem;
    }
}

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
    background: rgb(var(--accent-beige-color))
}

/* Rubriker */
.text-label{
    text-transform: uppercase;
    font-weight: 300;
}
.section-title {
    padding-bottom: .2em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.4rem; 
    font-weight: 600; 
    line-height: 1.4;
    color: rgb(var(--black-color));
}

.small-title-small {
    padding-bottom: .3em;
    font-size: 2.1rem; 
    font-weight: 600; 
    line-height: 1.4;
    color: rgb(var(--black-color));
}
.ingress{
    font-size: 1.8rem;
    font-weight: 500;
}
/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
}

.text-small {
    font-size: 1.5rem;
}

/* Listor */
.list-check,
.list-arrow {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-check li::before,
.list-arrow li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color)); 
    font-weight: 700;
    font-size: 8px;
    font-family: 'Font Awesome 5 Pro';
}

.list-arrow li::before {
    content: ' \f061';
    font-size: 12px;
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-pills li {
    display: flex; 
    align-items: flex-start;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 15px;
    color: rgb(var(--black-color));
    background: rgb(var(--white-color));
}

.list-pills li::before {
    content: '\f00c';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
    border-radius: 50%;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .list-pills li {
        width: 100%;
        padding: 1rem;
        font-size: 1.4rem;
    }
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}
.text-block-big {
    max-width: 98rem;
}
.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

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

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

.text-italic {
    font-style: italic; 
}

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

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

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

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

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

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

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

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

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

.btn-secondary-filled {
    color: rgb(var(--white-color));
    border-color: rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    font-weight: 500;
    text-decoration: none;
    border: none;
}

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.3rem;
    height: 3.3rem;
    margin: 0 0 0 1rem;
    font-size: 0;
    border-radius: 50%;
    color: rgb(var(--gray-dark-color));
    border: 1px solid rgb(var(--accent-beige-light-color));
    background-color: rgb(var(--accent-beige-light-color));
    text-decoration: none;
    transition: .3s ease;
}

.circle-icon:hover {
    background-color: transparent;
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.4rem;
}

/* Lank med ikon */
.icon-links {
    padding: .5rem 1rem;
    margin: .3rem .5rem 1rem 0;
    font-size: 1.3rem;
    border-radius: 2rem;
    color: rgb(var(--black-color));
    text-decoration: none;
    background: rgb(var(--accent-beige-color));
    transition: .2s ease;
} 

.icon-links:hover {
    color: rgb(var(--black-color));
    background: rgb(var(--accent-beige-light-color));
}

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

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

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

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

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

.bg-beige-dark {
    background-color: rgb(var(--accent-beige-dark-color), .2);
}

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

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

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}
/* Marquee */
.marquee {
    z-index: 1;
    position: relative;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media only screen and (max-width: 1024px) {
    .marquee {
        animation: marquee 50s linear infinite;
    }
}

/* Pil */
.arrow-beige-right {
    position: relative;
    overflow: visible;
}
 
.arrow-beige-right::after {
    content: '\f061';
    position: absolute;
    top: 50%;
    right: -3rem;
    font-size: 2rem; 
    line-height: 1;
    color: rgb(var(--accent-beige-dark-color));
    font-family: 'Font Awesome 5 Pro';
    transform: translate(-50%, -50%);
}

/* Animationer */
.morph {
    display: inline-block;
    border-radius: 55% 45% 47% 53% / 52% 36% 64% 48%;
    animation: morph 3s linear infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Generellt */
    .cards-wrapper .arrow-beige-right::after {
        top: unset;
        right: calc(50% + -1rem);
        bottom: -3.5rem;
        transform: translateY(-50%) rotate(90deg);
    }
}

/* Card 1-1 */
.card-1-1 .card-header {
    padding: 2rem 4rem;
    border-bottom: 1px solid rgb(var(--accent-beige-dark-color));
}

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

.card-1-1 .card-header .price {
    font-size: 1.8rem; 
}

.card-1-1 .price span {
    margin: 0 5px;
    color: rgb(var(--accent-beige-dark-color)); 
}

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

.card-1-1 .card-item .card-footer.btn {
    width: 100%;
    margin: 0;
    border-radius: 0 0 2rem 2rem;
}

.card-1-1 .card-item .card-footer.btn:hover {
    color: rgb(var(--black-color));
    border-color: rgb(var(--accent-beige-dark-color));
    background: rgb(var(--accent-beige-dark-color));
}

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


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

/* Card 2-1 */
.card-2-1 .card-item {
    padding: 3rem 4rem;
}

.card-2-1 .card-header.morph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    border-radius: 50%; 
}
 
.card-2-1 .card-header i {
    font-size: 5rem; 
}

.card-2-1 p a {
    display: inline;
}

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

    .card-2-1 .card-header.morph {
        width: 7rem;
        height: 7rem;
    }
     
    .card-2-1 .card-header i {
        font-size: 4rem; 
    }
}

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

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

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 9rem;
    height: 11rem;
}

.card-2-4 .card-header i {
    font-size: 5rem;
    color: rgb(var(--gray-dark-color));
}

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

.card-3-1 img{
    max-height: 20rem;
}
.card-3-2 img{
    max-height: 40rem;
}

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

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

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

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

.split-video video,
.split-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

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

    .split-image,
    .split-video {
        width: 100%;
        border-radius: 2rem;
        overflow: hidden;
    }

    .split-video {
        min-height: 30rem;
    }

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

    /* Split med br */
    .split-wrapper.br-2,
    .split-wrapper .br {
        border-radius: 0;
    }
}

/* 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(--secondary-color)); 
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    border: none;
    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(--accent-beige-light-color));
    border-radius: 2rem;
    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 p {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: rgb(var(--primary-color)); 
}

.popup-header img {
    width: 2.5rem;
    margin-right: 1rem;
} 

.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 {
    --base-size: 1.5rem;
    padding: 1rem 2rem 3rem;
    max-height: 30rem;
    overflow: auto;
}

.popup-content .btn {
    min-width: unset;
    padding: 5px 14px;
    margin: 1.5rem 0 0;
    font-size: 13px;
}

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 4rem;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
}
header:not(.scrolled) .top-header p {
    color: rgb(var(--white-color));
}
.top-header p {
    width: 100%;
    padding: 0;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

header {
    border-bottom: 1px solid rgb(var(--accent-beige-light-color));
    background: rgb(var(--accent-beige-light-color));
}

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

/* Logo */
.header-logo {
    flex: 1 1 0;
}

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

header:not(.scrolled, .active-menu) .header-logo img {
    filter: brightness(0) invert(); 
} 

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
} 

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

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

/* Mobilmeny */
header.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu {
    text-align: center;
}

.mobile-menu .TemplateMenu li {
    padding-right: 2rem;
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 5px 1rem;
        font-size: 1.3rem;
    }

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

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

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

.top-section .section-block {
    width: 100%;
}
.top-section .text-label {
   padding-bottom: 2rem;
}
.top-section .section-title {
    font-size: 4rem;
    font-weight: 600;
}
.top-section .small-title {
    font-size: 3rem;
    font-weight: 300;
}

.top-section .text-block {
    max-width: 65rem;
}

span.highlighted {
    display: inline-block;
    padding: 5px 17px;
    font-weight: 600;
    background: rgb(var(--primary-color));
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%); 
}

.top-section .btn:hover {
    color: rgb(var(--white-color));
}
.cirkle-wrapper {
    background-color: rgb(var(--accent-green-light-color));
    position: absolute;
    top: 0;
    right: 0;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    margin-top: 20rem;
    margin-right: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.circle-content p,
.circle-content .arrow-link {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}
/* Bouncing arrow */
.bouncing-arrow-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 20rem;
    height: 6.8rem;
    background-image: url(/assets/images/graphics/arrow-bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transform: translateX(-5rem);
}

.bouncing-arrow {
    position: relative;
    bottom: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgb(var(--accent-beige-dark-color));
    text-decoration: none;
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 2rem;
    font-weight: 300;
    transform: translatex(-50%);
    animation: bounce 2s infinite;
}

.arrow-animate {
    position: absolute;
    left: 50%;
    bottom: -4rem;
    width: 9rem;
    transform: translateX(-50%);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-3px);
    }
}

@media only screen and (max-width: 1200px) {
    .top-section .section-title {
        font-size: 4.5rem;
    }
}
@media only screen and (max-width: 820px) {
.cirkle-wrapper {
   position: relative;
   margin-top: 1rem;
   width: 16rem;
   height: 16rem;
   margin: auto;
}
.circle-content p,
.circle-content .arrow-link {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}
}
@media only screen and (max-width: 680px) {
    .top-section .section-title {
        font-size: 2.7rem;
    }

    .top-section .btn.arrow-link {
        padding-left: 0;
        padding-right: 0;
    }

    span.highlighted {
        padding: 3px 13px;
        font-size: 1.4rem;
    }

    /* Bouncing arrow */
    .bouncing-arrow-wrapper {
        display: none;
    }
}

/* Tre fordelar 
========================================================================== */
.highlights-wrapper .card-item {
    padding: 0 2rem; 
}

@media only screen and (max-width: 750px) {
    .highlights-wrapper .card-item {
        padding: 0;
    }
}

/* CTA
========================================================================== */
.cta-wrapper {
    padding: 10rem 2rem;
    border-radius: 2rem;
/*    background-image: linear-gradient(to right, rgb(var(--black-color), .7), rgb(var(--black-color), .5)), url(/assets/images/lopare-1500px.jpg);*/
background-image: linear-gradient(to right, rgb(var(--black-color), .7), rgb(var(--black-color), .5)), url(/assets/images/vitsippor-2000px.jpg);
    background-size: cover;
    background-position: center 55%; 
}

.cta-wrapper .text-block-center { 
    max-width: 80rem;
}

.cta-wrapper .section-title {
    font-size: 3.5rem;
}

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

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

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

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

/* Hero
========================================================================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 65vh;
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .5);
    background-repeat: no-repeat;
}

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

.hero .section-title {
    font-size: 5.5rem;
    font-weight: 600;
}

.hero .bg-image-wrapper img {
    object-position: 50% 15%;
}

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

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

    .hero .section-title {
        font-size: 3rem;
    }
}
/* ==========================================================================
Undersida: Intyg
========================================================================== */
.intyg-wrapper{
text-align: center;
}

.section-intyg .section-block-wrapper {
    border-radius: 2rem;
    background: rgb(var(--accent-beige-dark-color), .2);
}
.section-intyg  .col-0 {
    background: rgb(var(--accent-beige-light-color));
    padding: 4rem;
    border-bottom-left-radius: 2rem;
    border-top-left-radius: 2rem;
}
.section-intyg  .col-1 {
    padding: 4rem;
}
@media only screen and (max-width: 980px) {
    .section-intyg  .col-0 {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }
}
/* ==========================================================================
Undersida: Fragor & svar
========================================================================== */
.display-none{
    display: none !important;
}
/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
}

.tag {
    padding: .3rem 1rem;
    margin: .4rem;  
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    border: 1px solid rgb(var(--accent-green-dark-color));
    background: rgb(var(--accent-green-dark-color));
    transition: .5s ease;
}

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

/* Accordion */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

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

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

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

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

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

.accordion-header p {
    font-weight: 600;
    color: rgb(var(--black-color)); 
} 

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

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

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

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

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

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

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

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

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

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

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

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

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}

/* ==========================================================================
Undersida: Betalning
========================================================================== */
.stripe-wrapper {
    justify-content: center;
}

.stripe-wrapper .card-item {
    margin: 1rem;
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-contact .section-block-wrapper {
    padding: 4rem;
    border-radius: 2rem;
    background: rgb(var(--accent-beige-dark-color), .2);
}

.section-contact .col-0 .col-wrapper,
.section-contact .col-0 .block-container,
.section-contact .col-0 .block-object {
    height: 100%;
}

.section-contact .col-0 iframe {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
}

.section-contact .col-1 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-contact .col-1 a {
    display: inline;
}

.ContactForm input[type="text"],
.ContactForm textarea,
.ContactForm .file-dropzone {
    border: none;
    border-radius: 1rem;
}

.section-contact .gdpr label {
    font-size: 1.4rem;
    color: rgb(var(--gray-dark-color));
}

@media only screen and (max-width: 980px) {
    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .section-contact .col-0 iframe {
        height: 25rem;
    }

    .section-contact .col-1 {
        padding-top: 0;
        padding-bottom: 3rem;
    }
}

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

/* ==========================================================================
Undersida: Policys 
========================================================================== */
.section-policy {
    --base-size: 1.5rem;
}

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

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

.section-policy .small-title {
    font-size: 1.8rem;
}
/* ==========================================================================
Undersida Blogg
========================================================================== */
.LayoutPage .newspost-section .col-1 {
    width: 40rem;
    padding: 0;
    position: sticky;
    top: 10rem;
}

.LayoutPage .newspost-section .col-0 {
    width: calc(100% - 40rem);
    padding-left: 2rem;
    padding-right: 10rem;
}

.newspost-section .normaltext-type {
    margin: 0;
}

.newspost-section .case-split-info {
    padding-right: 10rem;
}

.newspost-section .case-split-info h2 {
    padding-top: 3rem;
}

@media only screen and (max-width: 1024px) {
    .LayoutPage .newspost-section .col-1 {
        width: 100% !important;
        position: relative;
        top: auto;
        margin-bottom: 3rem;
    }

    .LayoutPage .newspost-section .col-0 {
        width: 100%;
        max-width: 90rem;
        padding: 0;
    }
    .LayoutPage .newspost-section .col-1 {
        order: -1;
    }

    .LayoutPage .newspost-section .col-0 {
        order: 1;
    }
    .newspost-section .case-split-info {
        padding-right: 0;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    position: relative;
    padding: 0 5rem;
    background-color: rgb(var(--accent-beige-dark-color), .1);
}

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

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

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

.footer-menu.socials {
    width: 5rem;
}

.footer .text-label {
    padding: 0 0 .5rem;
    font-weight: 600;
    line-height: 1.5;
}

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

.footer-top li,
.footer-top p:not(.text-label),
.footer-top a:not(.circle-icon, .icon-links) {
    font-size: 1.5rem;
    text-decoration: none;
    transition: .3s ease;
}

.footer a:not(.icon-links):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(--accent-beige-light-color));
}

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

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

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

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

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

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

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

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

    .footer-menu {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 680px) {
    .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;
    }
}