/* 60plus Massan */

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css'); 

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 245, 177, 50;
    --secondary-color: 11, 41, 91;

    --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;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

    /* 	Typography */
    --base-size: 1.7rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 980;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

.pt-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

/* Margins */
.mb-2 {
    margin-bottom: 2rem;
}

/* Ovriga klasser */
.of-hidden {
    overflow: hidden;
}

.justify-center {
    justify-content: center;
}

@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: 'Outfit', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-dark-color));
}

.ingress {
    font-size: 2rem;
}

.text-smaller,
.text-smaller li {
    font-size: 1.6rem;
}

/* Listor */
.list-icon {
    padding: 0;
    list-style: none;
}

.list-icon em {
    width: 2.3rem;
}

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

.list-check>li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Font Awesome 5 Pro';
}

/* Ovriga klasser */
.text-block {
    max-width: 75rem;
}

.text-block-center {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 600;
}

.text-italic {
    font-style: italic;
}

.text-uppercase{
    text-transform: uppercase;
}

.text-underline {
    text-decoration: underline;
}

@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) {
    .text-center {
        text-align: left;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .small-title {
        font-size: 2rem;
    }

    .text-label {
        font-size: 1.2rem;
    }

    .ingress {
        font-size: 1.8rem; 
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    line-height: initial;
    font-family: inherit;
    cursor: pointer;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-secondary-filled {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    color: rgb(var(--secondary-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: transparent;
}

.btn-white-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    background-color: transparent;
}

.btn-black-filled {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--black-color));
    background-color: rgb(var(--black-color));
}

.btn-black-filled:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--black-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    color: rgb(var(--black-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;
}

.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(--black-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--black-color));
    background-color: rgb(var(--white-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 580px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-black {
    background-color: rgb(var(--black-color));
}

.bg-gray-light {
    background-color: rgb(var(--gray-light-color));
}

.bg-white {
    background-color: rgb(var(--white-color));
}

.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-secondary {
    background-color: rgb(var(--secondary-color));
}

/* Text */
.text-white,
.text-white li {
    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;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video,
.bg-crossfade {
    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;
}

/* Crossfade */
.fade-slider {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-slider div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fade-slider.slick-slider {
    position: absolute;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .7)
}

/* Bilder */
.parallax-pensionarer {
    background-image: url('/assets/images/pensionarer-2000px.jpg');
}

.parallax-leende {
    background-image: url('/assets/images/leende-2000px.jpg');
}

.parallax-glasogon {
    background-image: url('/assets/images/glasogon-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

.card-item {
    text-decoration: none;
    transition: .3s ease;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-item:not(.highlighted) .card-body {
    flex-grow: 1;
}

.card-item.highlighted {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 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: 1.5rem 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:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item {
        width: 100%;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    position: relative;
    padding: 3rem 2rem;
    border-radius: 2rem;
    overflow: hidden;
}

.card-1-1 .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 2px 7px 4px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: rgb(var(--black-color));
    background: rgb(var(--primary-color));
    border-radius: 3px;
}

/* Card 2-1 */
.card-2-1 .card-item {
    padding: 4rem 2rem;
    border-radius: 2rem;
}

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 6rem;
}

.card-2-1 .small-title {
    font-size: 2rem;
    font-weight: 600;
}

.card-2-1 p {
    font-size: 1.5rem;
}

/* Card 2-3 */
.card-2-3 .card-header {
    display: flex;
    align-items: center;
}

.card-2-3 .card-header i {
    width: 3rem;
    font-size: 2.5rem;
    margin-right: 1rem;
}

.card-2-3 .card-body {
    padding-top: 1rem;
}

.card-2-3 .small-title {
    font-size: 2rem;
    font-weight: 600;
}

/* 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%;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

@media screen and (max-width: 1300px) {
    .split-content {
        padding: 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;
    }

    /* Centrera content */
    .split-wrapper .align-center {
        align-self: flex-start;
    }
}

/* Popup-notis (anvands pa Jag vill stalla ut)
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.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;
    max-width: 60rem;
    max-height: calc(100vh - 12rem);
    padding: 2rem 4rem 1rem 3rem;
    margin: 0 2rem;
    text-align: left;
    background: rgb(var(--white-color));
    border-radius: 2rem 2rem 0;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

/* Logo */
.header-logo {
    flex: 1 1 0px;
}

.header-logo img {
    padding: 0.5rem 0;
}

/* Nav */
.TemplateMenu ul{
    width: 22rem;
}
.TemplateMenu a {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    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 .Padding {
    padding-bottom: 12rem;
}
.mobile-menu .header-logo img {
    padding: 0;
    }
/* EditMode */
.EditMode.WebbEssDIY header {
    position: relative;
    top: 10px !important;
}

.EditMode .header-logo {
    flex: unset;
}

.EditMode .TemplateMenu ul a {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
} 

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

.top-section .section-block {
    width: 100%;
}

.top-section .text-block {
    max-width: 85rem;
}

.top-section .section-title {
    font-size: 6rem;
    font-weight: 600;
}

.top-section p {
    max-width: 60rem;
    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: 4.5rem;
    }
}

@media only screen and (max-width: 580px) {
    .top-section .section-title {
        font-size: 3rem;
    }
}

/* Massor
========================================================================== */
.massor-wrapper .image-wrapper {
    height: 17rem;
}

.massor-wrapper .small-title {
    font-size: 2rem;
}

/* Logo slider
========================================================================== */
.section-logo-slider {
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

.section-logo-slider .slick-list {
    width: 100%;
}

.logos-wrapper .image-wrapper {
    height: 5rem;
    margin: 0 1.5rem;
}

.logos-wrapper .image-wrapper img {
    object-fit: contain;
}

@media only screen and (max-width: 680px) {
    .IndexPage .section-logo-slider {
        display: none;
    }
}

/* Nyhetsbrev
========================================================================== */
.section-newsletter {
    background: linear-gradient(to top, rgb(var(--secondary-color)) 50%, rgb(var(--white-color)) 50%);
}

.section-newsletter .section-block {
    padding-bottom: 0;
}

.section-newsletter .section-block-wrapper {
    padding: 5rem;
    justify-content: space-between;
    background: rgb(var(--white-color));
    box-shadow: 0 0 4rem 0 rgba(var(--black-color), .07);
}

.section-newsletter .col-0 {
    width: calc(100% - 60rem);
}

.section-newsletter .col-1 {
    width: 50rem;
}

/* Formular */
.ContactForm div {
    margin-bottom: 1rem;
}

.ContactForm p {
    font-size: 1.5rem;
    color: rgb(var(--black-color));
}



.ContactForm select {
    width: 100%;
    height: 4rem;
}

.section-newsletter .ContactFormMessage {
    display: none;
}

.ContactForm .ContactSubmit {
    margin-top: 1rem;
}

@media only screen and (max-width: 1400px) {
    .section-newsletter .col-0 {
        width: calc(100% - 35rem);
        padding-right: 5rem;
    }

    .section-newsletter .col-1 {
        width: 35rem;
    }
}

@media only screen and (max-width: 860px) {
    .section-newsletter .col-0 {
        width: 100%;
        padding-right: 0;
    }

    .section-newsletter .col-1 {
        width: 45rem;
        max-width: 100%;
        margin: 5rem auto 0;
    }
}

@media only screen and (max-width: 580px) {
    .section-newsletter .section-block-wrapper {
        padding: 3rem 2rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
    text-align: center;
    background-color: rgb(var(--secondary-color));
}

.hero .section-block {
    width: 100%;
}

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 30rem;
    }

    .hero .section-title {
        font-size: 4rem;
    }
}

/* ==========================================================================
Undersida: Massor > Massundersida
========================================================================== */

/* Intro
========================================================================== */
/* Lika stora knappar */
.buttons {
    display: flex;
    flex-wrap: wrap;
}

.buttons .btn {
    width: calc(100% / 3 - 6px);
    margin: 1rem 3px;
}
.buttons-2 .btn {
    width: calc(100% / 2 - 6px);
    margin: 1rem 3px;
}

/* Modal */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 6rem 4rem;
    border-radius: 0;
    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: 680px) {
    /* Lika stora knappar */
    .buttons-2 .btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media only screen and (max-width: 480px) {
    /* Lika stora knappar */
    .buttons .btn {
        width: 100%;
        margin: 5px 0;
    }

    /* Modal */
    .modal {
        padding: 1rem 3.5rem 1rem 2rem;
    }

    .blocker {
        padding: 1rem;
    }

    .modal .custom-close-modal {
        top: .5rem;
        right: 1rem;
        font-size: 2.3rem;
    }
}

/* Massprogram
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.accordion-wrapper.w-50 .accordion-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.bg-gray-light .accordion-item {
    background: rgb(var(--white-color));
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 3rem;
    right: 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--black-color));
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.program-item:not(:last-of-type) {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dotted rgb(var(--secondary-color));
}

.accordion-body .time {
    font-size: 2rem;
    font-weight: 600;
    color: rgb(var(--black-color));
}

.accordion-body .time i {
    margin-right: 1rem;
    color: rgb(var(--primary-color));
}

.accordion-body .name {
    padding: 0;
    font-size: 1.7rem;
    font-weight: 600;
}

.accordion-body .by {
    font-style: italic;
}

.accordion-body .by::before {
    content: '- ';
}

@media only screen and (max-width: 800px) {
    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
        text-align: left;
    }

    .accordion-header::after {
        top: 1.7rem;
        right: 1.5rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Utstallarlista
========================================================================== */
.utstallar-wrapper {
    max-width: 100rem;
    margin: 5rem auto 0;
}

/* Sok */
.search-wrapper {
    position: relative;
}

.search-wrapper em {
    position: absolute;
    left: 1rem;
    top: 50%;
    font-size: 2rem;
    color: rgb(var(--secondary-color));
    transform: translateY(-50%);
}

.search-wrapper input {
    width: 30rem;
    max-width: 100%;
    height: 3.5rem;
    padding: 0 1rem 0 4rem;
    border: 1px solid rgb(var(--gray-dark-color));
    border-radius: 3px;
}

/* Utstallarlista */
.utstallar-wrapper ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.utstallar-wrapper li.divider p {
    padding: 2rem 1rem 0;
    font-weight: 600;
    color: rgb(var(--primary-color));
}

.utstallar-wrapper li:not(.divider) li,
.utstallar-wrapper li:not(.divider) p,
.utstallar-wrapper li:not(.divider) a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 1rem;
    text-decoration: none;
    transition: .3s ease;
}

.utstallar-wrapper li:not(.divider) li:hover,
.utstallar-wrapper li:not(.divider) p:hover,
.utstallar-wrapper li:not(.divider) a:hover {
    background: rgb(var(--white-color));
}

.utstallar-wrapper img {
    height: 3.2rem;
    margin-left: 1rem;
}

@media only screen and (max-width: 580px) {
    .utstallar-wrapper img {
        height: unset;
        max-height: 2.2rem;
        max-width: 40vw;
    }
}

/* Nyheter
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
    margin: 0;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    left: calc(50% + 2rem);
}

.scroll-wrapper .slick-prev {
    left: calc(50% - 2rem);
}

/* Cards */
.news-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

.news-wrapper .small-title {
    font-size: 2rem;
    font-weight: 600;
}

.news-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-wrapper ul li {
    margin-right: 2rem;
    font-size: 1.6rem;
}

.news-wrapper ul i {
    margin-right: 5px;
    color: rgb(var(--primary-color));
}

/* Bra att veta
========================================================================== */
.section-info .section-block-wrapper {
    max-width: calc(var(--section-width) + 8rem);
    padding: 4rem;
    background: rgb(var(--white-color), .85);
}

.section-info .col-1,
.section-info .col-2 {
    width: calc((100% / 2) - (42rem / 2));
}

.section-info .col-3 {
    width: 42rem;
}

@media only screen and (max-width: 1250px) {
    .section-info .col-1 {
        width: calc(100% / 2);
    }

    .section-info .col-2 {
        width: calc(100% / 2);
        padding-right: 0;
    }

    .section-info .col-3 {
        width: 100%;
        padding: 0;
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 680px) {
    .section-info .section-block-wrapper {
        padding: 2rem;
    }

    .section-info .col-1,
    .section-info .col-2 {
        width: 100%;
        padding: 0;
    }

    .section-info .col-3 {
        width: 100%;
        padding: 0;
        margin-top: 3rem;
    }
}

/* Samarbetspartners
========================================================================== */
.section-partners .card-item {
    align-content: center;
    max-width: calc((100% / 4) - 4rem);
    margin: 2rem;
}

.section-partners .card-item:hover {
    transform: scale(107%);
}

@media only screen and (max-width: 750px) {
    .section-partners .card-item {
        max-width: calc((100% / 2) - 4rem);
    }
}

@media only screen and (max-width: 580px) {
    .section-partners .text-center {
        text-align: center;
    }

    .section-partners .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .section-partners .card-item {
        max-width: 60%;
    }
}

/* ==========================================================================
Undersida: Utstallarinformation
========================================================================== */
@media print {
    header,
    footer,
    .no-print,
    .no-print * {
        display: none;
    }

    .layout-12 .col-0, 
    .layout-12 .col-1,
    .layout-12 .col-2 {
        width: 100%;
        padding: 0; 
    }

    .small-title {
        font-size: 2rem;
        font-weight: 600;
    }
}

/* ==========================================================================
Undersida: Jag vill stalla ut
========================================================================== */
/* Popup */
.utstallare-popup .icon-close-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    background: rgb(var(--gray-light-color));
    border-radius: 50%;
    transition: .3s ease;
}

.utstallare-popup .icon-close-popup:hover {
    background: rgb(var(--secondary-color), .3);
}

.utstallare-popup .popup-window {
    bottom: -2rem;
    max-width: 46rem;
    padding: 2rem 5rem 1rem 3rem;
    text-align: center;
    background: rgb(var(--white-color));
    border-radius: 2rem 2rem;
    transition: opacity .3s ease, bottom .5s ease, right .5s ease;
}

.utstallare-popup.opened .popup-window {
    left: 2rem;
    bottom: 4rem;
}

@media only screen and (max-width: 580px) {
    .utstallare-popup .popup-window {
        padding: 2rem 4.5rem 1rem 2rem; 
        text-align: left;
    }
}

/* Slider
========================================================================== */
.categories-wrapper .slick-list {
    overflow: visible;
}

.categories-wrapper .card-item {
    margin: 0 1rem;
}

.categories-wrapper p {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 0px 12px;
    color: rgb(var(--black-color));
    background: rgb(var(--primary-color), .8);
}

/* Boka monter-formular
========================================================================== */
.section-form .section-block-wrapper {
    max-width: 95rem;
    padding: 5rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}
.section-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.section-form .textarea-field{
    width: 100% !important;
}
.ContactFormField .select-wrapper,
.ContactFormField.checkbox-field,
.section-form .submit-button-container  {
    width: 100% !important;
}
.section-form .group-wrapper{
    width: 100% !important;
}

.section-form .ContactForm div{
width: 49%;
}

@media only screen and (max-width: 580px) {
    .section-form .section-block-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: Nyheter
========================================================================== */
.section-news .split-wrapper {
    margin-bottom: 3rem;
}

.section-news .split-content {
    width: 65%;
}

.section-news .split-image {
    width: 35%;
}

.section-news ul {
    display: flex;
    padding: 0;
    margin: 1rem 0;
    list-style: none;
}

.section-news ul li {
    margin-right: 2rem;
    font-size: 1.6rem;
}

.section-news ul i {
    margin-right: 5px;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 1000px) {
    .section-news .block-object {
        display: flex;
        flex-wrap: wrap;
    }

    .section-news .split-wrapper {
        flex-direction: column-reverse;
        width: calc(100% / 2 - 2rem);
        margin: 1rem;
        background: rgb(var(--gray-light-color));
    }

    .section-news .split-content {
        flex-grow: 1;
        width: 100%;
        padding: 3rem 2rem;
    }

    .section-news .split-image {
        width: 100%;
    }
}

@media only screen and (max-width: 750px) {
    .section-news .split-wrapper {
        width: 100%;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Undersida: Nyheter > Nyhetsundersida 
========================================================================== */
.section-news-item .section-block {
    padding: 0;
}

.section-news-item .section-block-wrapper {
    max-width: none;
}

.section-news-item .split-content {
    max-width: 75rem;
    margin: 0 auto;
}

/*.section-news-item .split-image {
    max-height: calc(100vh - var(--menu-height));
}*/

.section-news-item ul {
    display: flex;
    padding: 0;
    margin: 1rem 0;
    list-style: none;
}

.section-news-item ul li {
    margin-right: 2rem;
    font-size: 1.6rem;
}

.section-news-item ul i {
    margin-right: 5px;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 1000px) {
    .section-news-item .split-content {
        padding: 5rem 2rem;
    }

    .section-news-item .split-image {
        max-height: unset;
    }
}
/* ==========================================================================
Undersida: Page Error (404)
========================================================================== */
body:not(.EditMode) .page-error header,
body:not(.EditMode) .page-error footer {
    display: none;
}

.section-error .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
    padding-bottom: 0;
    background-image: linear-gradient(to right top, rgb(var(--white-color), 0.1), rgb(var(--black-color), 0.2));
}

.section-error .section-block-wrapper {
    width: 100%;
}

.section-error .text-block-center {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto -10.1rem;
    border-radius: 1rem;
    border: 1px solid rgb(var(--black-color), 0.1);
    overflow: hidden;
}

.section-error .error-header {
    padding: 3rem;
    text-align: center;
    background-color: rgba(var(--white-color), .2);
}

.section-error h1 {
    padding: 0;
    font-size: clamp(10rem, 15vw, 35rem);
    font-weight: 700;
    line-height: 1;
    color: rgb(var(--white-color));
}

.section-error .error-footer {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--primary-color), 0.1);
    text-align: center;
    padding: 2rem;
}

.section-error .error-footer p,
.section-error .error-footer a {
    color: rgb(var(--primary-color));
    font-size: 1.8rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-error .error-footer a {
    text-decoration: underline;
}


/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 8rem 5rem 0 5rem;
    background: rgb(var(--secondary-color));
}

/* Footer logos */
.footer-logos {
    display: flex;
    flex-wrap: wrap;
}

.footer-logos .logo-item {
    height: 11rem;
    border-radius: 6px;
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
    padding: 1rem;
    margin: 0 1rem 1rem 0;
}

.footer-logos .logo-item img {
    height: 100%;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4rem 0 5rem;
}

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-label {
    padding: 0 0 1rem;
    color: rgb(var(--primary-color));
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    text-decoration: none;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--white-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    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 top */
    .footer-menu {
        width: 33.333%;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .footer {
        padding: 5rem 2rem 0 2rem;
    }

    /* Footer logos */
    .footer-logos .logo-item {
        height: 10rem;
    }

    /* Footer top */
    .footer-top {
        padding: 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}