/* JFP Group AB (Tournament Player)*/
/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');
/* Typsnitt – Source Sans pro + Source serif pro */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;1,300&display=swap');
/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --black-color: 17, 19, 25;
    --gray-dark-color: 37, 38, 45;
    --gray-color: 180, 180, 190;
    --gray-light-color: 227, 227, 229;
    --gray-dark-color: 53, 54, 61;
    --white-color: 237, 240, 244;

    --blue-color: 0, 79, 181;

    --accent-green-color: 88, 160, 125;
    --accent-green-light-color: 95, 183, 163;

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

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

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

@media screen and (max-width: 1000px) {
    :root {
        /* 	Typography */
        --base-size: 1.6rem;
    }
}

/* Layout
========================================================================== */
.section-block {
    padding: 15rem 6rem;
}

/* 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 {
    padding: 3rem;
}

.p-3 {
    margin-right: 1rem;
}

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

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

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

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

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

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

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

.pl-0:not(.section-wrapper),
.pl-0 .section-block {
    padding-left: 0rem;
}

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

/* Margins*/
.mt-2 {
    margin-top: 2rem;
}

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

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

.mb-0 {
    margin-bottom: 0 !important;
}

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

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

.mr-2 {
    margin-right: 2rem;
}

/* Speciella hojder */
.full-height {
    position: relative;
    z-index: 1;
}

.full-height .section-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
}

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

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

.width-1300 .section-block-wrapper,
.mw-1300 .section-block-wrapper {
    max-width: 130rem;
}

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

.mw-60 {
    max-width: 60rem;
    margin: auto;
}

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

.mw-30 {
    max-width: 30rem;
}

/* Fadebakgrunder */
body {
    background-color: rgb(var(--black-color));
}

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

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgb(var(--gray-light-color));
}

/* rubriker */
.section-title {
    font-size: 5.5rem;
    line-height: 1.1;
    font-weight: 600;
    padding-bottom: 2rem;
    color: rgb(var(--white-color));
}

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

.text-label {
    font-size: 1.8rem;
    line-height: 1.3;
    padding-bottom: .5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.text-title {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.4rem;
}

/* Text */
p {
    font-weight: 300;
}

a {
    font-size: inherit;
    font-weight: 300;
    text-decoration: underline;
    color: inherit;
}

em {
    font-size: 1.2rem;
}

a:hover {
    text-decoration: none;
}

.a-no-line {
    text-decoration: none;
}

/* Listor*/
.unstyled-li {
    list-style: none;
    font-weight: 300;
    font-size: 1.6rem;
}

/* Ovriga klasser */
.ingress {
    font-size: calc(var(--base-size) * 1.2);
    line-height: 1.5;
}

.db {
    display: block;
}

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

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

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

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

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

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

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

.text-smaller {
    font-size: calc(var(--base-size) * 0.8);
}

/* Textavkortning */
.truncate-wrapper {
    overflow: hidden;
}

.truncate-text-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate-wrapper p {
    padding-bottom: 0;
}

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

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

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

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

    .text-label {
        font-size: 1.2rem;
    }

    ol {
        padding-left: 2rem;
    }

    .unstyled-li {
        padding: 0;
    }
}

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

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

.btn-wrapper.flex-end {
    justify-content: flex-end;
}

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

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.5rem 2.2rem;
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.ContactSubmit {
    border-radius: 4px;
}

.btn-accent-green-border,
.ContactSubmit {
    color: rgb(var(--accent-green-color));
    border: 1px solid rgb(var(--accent-green-color));
    background-color: transparent;
}

.btn-accent-green-border:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--accent-green-light-color));
    background-color: rgb(var(--accent-green-light-color));
}

.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(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-white-border {
    color: rgb(var(--white-color)) !important;
    border: 1px solid rgb(var(--white-color));
    background-color: transparent !important;
}

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

/* line effect button */
.btn-line-effect {
    position: relative;
    color: rgb(var(--white-color));
    z-index: 2;
}

.btn-line-effect:hover {
    border: none;
}

.btn-line-effect:before,
.btn-line-effect:after {
    position: absolute;
    content: "";
    width: 0%;
    height: 0%;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-line-effect:before {
    top: 0;
    left: 0;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: rgb(var(--accent-green-color));
    border-left-color: rgb(var(--accent-green-color));
}

.btn-line-effect:after {
    bottom: 0;
    right: 0;
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: rgb(var(--accent-green-light-color));
    border-right-color: rgb(var(--accent-green-light-color));
}

.btn-line-effect:hover:before,
.btn-line-effect:hover:after {
    border-color: rgb(var(--accent-green-light-color));
    height: 100%;
    width: 100%;
}

/* Pulse btn */
.pulse-btn {
    animation: pulsing 4s infinite cubic-bezier(0.66, 0, 0, 1);
    animation-delay: 2s;
}

@keyframes pulsing {
    0% {
        box-shadow: 0 0 0 0 rgb(var(--accent-green-light-color));
    }

    20% {
        box-shadow: 0 0 0 3rem rgba(var(--accent-green-light-color), 0);
    }
}

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

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

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

    .btn-line-effect:before,
    .btn-line-effect:after {
        border: none;
    }

    .btn-line-effect {
        border: solid 2px rgb(var(--accent-green-color));
    }
}

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

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

/* Farger
========================================================================== */
/* Bakgrundsfarger*/
.bg-black {
    background-color: rgba(var(--black-color));
}

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

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

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

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

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

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

.text-white,
.bg-black h1,
.bg-black h2,
.bg-black h3,
.bg-black p {
    color: rgb(var(--white-color));
}

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

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

/* Grafiska element
==========================================================================*/
.icon {
    color: rgb(var(--accent-green-color));
    font-size: 3rem;
    padding-right: 1.5rem;
}

.border-white {
    border: solid 1px rgb(var(--accent-green-color));
}

.border-green {
    border: solid 1px rgb(var(--accent-green-color));
}

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* Borders */
.border-bottom-gray-dark {
    border-bottom: 1px solid rgb(var(--gray-dark-color));
}

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

.border-top-primary {
    border-top: 1px solid rgb(var(--accent-green-color));
}

.border-white {
    border: 2px solid rgb(var(--primary-color));
}

.white-border {
    border: 2px solid rgb(var(--white-color));
}

.br-2 {
    border-radius: 1rem !important;
}

/* Badge */
.badge-wrapper {
    position: relative;
    padding-right: 8rem !important;
}

.badge {
    position: absolute;
    top: 2.5rem;
    right: -4.5rem;
    width: 19rem;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
}

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

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

.cards-wrapper.align-center {
    align-items: center;
}

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

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

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

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

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

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

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

.cards-justify-center {
    justify-content: center;
}

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

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

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

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

@media only screen and (max-width: 1350px) {
    .cards-wrapper.w-15 .card-item {
        width: calc((100% / 3) - 4rem);
    }

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

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

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

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

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

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

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

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

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

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

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

.news-card .card-item {
    display: flex;
}

.news-card .news-img-wrapper {
    padding: 2rem;
    width: 30%;
}

.news-card .card-body {
    padding: 2rem;
    width: 70%;
}

@media screen and (max-width: 1100px) {
    .news-card .card-item {
        flex-direction: column;
    }

    .news-card .card-body {
        width: 100%;
        padding: 1rem;
        padding-left: 0;
        padding-right: 0;
    }

    .news-card .news-img-wrapper {
        width: 100%;
        margin: auto;
        text-align: center;
    }
}

/* Cards-logo */
.cards-logo .card-item:hover {
    transform: scale(1.1);
    transition: .3s ease-in-out;
}

.cards-logo img {
    padding: 2rem;
}

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

.card-1-1 .btn {
    margin: 0;
    border-radius: 0;
    background: rgb(var(--white-color));
    color: rgb(var(--black-color));
}

.card-1-1 .btn:hover {
    background: rgb(var(--accent-green-color));
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 750px) {
    .card-1-1 .card-body.p-3 {
        padding-top: 0;
    }
}

/* Card 2-1 */
.card-2-1 .card-item {
    border-radius: 1rem;
}

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

.card-2-1 .border-bottom-gray-dark {
    padding-bottom: 1rem;
}

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

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

/* Card 3-2 */
.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 20rem;
    height: 20rem;
    border-radius: 50%;
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20rem;
    border: 1px solid rgb(var(--black-color));
    margin-bottom: 2rem !important;
}

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

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

.card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .6);
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 1rem;
    color: rgb(var(--white-color));
}

.card-3-5 .card-body.border {
    margin: 5rem;
    border: 1px solid rgb(var(--white-color));
}

.card-3-5 h2 {
    font-size: 2rem;
}

.card-3-5 a {
    text-decoration: none;
}

@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}

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

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

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

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

.split-image {
    width: 50%;
    border-radius: 3px;
}

.split-content.pl-9 {
    padding-left: 9rem;
}

.split-image .contain img {
    object-fit: contain;
}

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

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

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

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

@media screen and (max-width: 1150px) {
    .split-tall .split-content {
        width: 100%;
        padding: 0 0 4rem 0;
    }

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

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

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

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

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 0 0 3rem 0;
    }
}

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

.section-advisory.modal {
    max-width: 130rem !important;
}

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

    .blocker {
        padding: 1rem;
    }
}

/* Accordion
========================================================================== */
.accordion-item {
    padding-bottom: 2rem;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 0 0rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: .3rem;
    right: 0rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

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

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 0 3rem 1rem .5rem;
    }

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

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

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

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

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
}

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

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

.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 120rem;
    max-height: 85vh;
    padding: 2rem;
    border-radius: 0;
    outline: 1px solid rgb(var(--white-color));
    outline-offset: -11px;
    background: rgb(var(--black-color));
    transform: translate(-50%, -50%);
    overflow: auto;
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}

.section-auto-modal .contain img {
    object-fit: contain !important;
}

@media only screen and (max-width: 650px) {
    body:not(.EditMode) .section-auto-modal .section-block {
        padding: 3rem 3rem;
        outline: 1px solid rgb(var(--black-color)) !important;
    }

    .section-auto-modal .split-content {
        text-align: center;
    }

    .section-auto-modal .btn-wrapper {
        text-align: center;
        margin: auto;
        justify-content: center;
    }
}

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

header .container {
    max-width: none;
}

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/124/news/"] {
    pointer-events: none;
}

/* Header logo */
.header-logo {
    flex-basis: 0;
    flex: 1 1 0px;
    transition: .3s ease;
}

/* Nav */
.TemplateMenu a {
    /* padding: 0 1.5rem; */
    color: rgb(var(--white-color), 0.9);
    font-weight: 400;
    font-size: 1.6rem;
}

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

/* nav - dropdown */
.TemplateMenu ul a {
    font-size: 1.3rem;
    text-align: left;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.EditMode nav.mainmenu ul.TemplateMenu>li:first-child {
    display: inline-block;
}

.TemplateMenu .expandable-li ul li {
    background-color: rgb(var(--black-color));
    width: 22rem;
}

/* Menylaternativ som knapp (for investors > members only) 
nav.mainmenu ul.TemplateMenu>li:nth-child(5)>ul>li:first-child {
    padding: 12px;
}nav.mainmenu ul.TemplateMenu>li:nth-child(5)>ul>li:first-child a {
    background-color: rgb(var(--accent-green-color));
    line-height: 4rem;
    padding: 0 15px;
}*/
/* mobilmenyn */
.mobile-menu .mainmenu {
    background-color: rgb(var(--black-color), .95);
}

.mobile-menu .TemplateMenu {
    padding-bottom: 10rem;
}

/* flikarna */
.mobile-menu .TemplateMenu>li>a,
.mobile-menu.scrolled .TemplateMenu>li>a {
    line-height: 10rem;
}

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

.mobile-menu .TemplateMenu a {
    font-size: 4rem;
    color: rgb(var(--gray-color));
}

.mobile-menu .TemplateMenu ul a {
    font-size: 2rem;
}

.mobile-menu .TemplateMenu a:hover,
.mobile-menu .TemplateMenu li.active>a,
.mobile-menu .TemplateMenu ul a:hover {
    color: rgb(var(--accent-green-color));
}

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

.header-cta-wrapper li {
    margin: 0 0 0 1rem;
}

.header-cta-wrapper .btn {
    padding: 0.7rem 1rem;
    min-width: 18rem;
    margin: 0 0.5rem;
}

.mobile-menu .header-logo {
    flex: none;
    flex-basis: unset;
}

.mobile-menu .hamburger {
    margin: 0 0 0 1rem;
}

.mobile-menu .header-cta-wrapper {
    flex-grow: 1;
}

.mobile-menu .header-cta-wrapper .btn {
    letter-spacing: 0;
    width: 10rem;
    line-height: 1.2;
}

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/54/legal/"] {
    pointer-events: none;
}

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

    .mobile-menu .TemplateMenu>li>a,
    .mobile-menu.scrolled .TemplateMenu>li>a {
        line-height: 5rem;
    }

    .mobile-menu .TemplateMenu a {
        font-size: 2rem;
    }

    .mobile-menu .TemplateMenu ul a {
        font-size: 1.4rem;
    }

    .header-cta-wrapper .btn {
        min-width: unset;
        font-size: 1.2rem;
    }
}

/* Kontaktformular
========================================================================== */
/* Generellt */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100rem;
    margin: 0 auto;
}

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

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

.ContactForm .select-wrapper,
div.file-upload-container,
.ContactFormField.file-field,
.ContactForm .file-dropzone:not(.illegal) {
    width: 100%;
}

.ContactForm .file-dropzone span {
    display: none;
}

.ContactForm .select-wrapper select {
    width: 100%;
    height: 4.5rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm select,
.ContactForm textarea {
    border: 1px solid rgb(var(--gray-color));
    border-radius: 4px;
    color: rgb(var(--white-color));
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--gray-dark-color));
}

.ContactForm input[type="text"].illegal,
.ContactForm input[type="email"].illegal,
.ContactForm input[type="tel"].illegal,
.ContactForm select.illegal,
.ContactForm textarea.illegal {
    border: 1px solid rgb(255, 0, 0);
}

.ContactForm input[type="text"]:hover,
.ContactForm input[type="email"]:hover,
.ContactForm input[type="tel"]:hover,
.ContactForm select:hover,
.ContactForm textarea:hover {
    border: 1px solid rgb(var(--blue-color));
}

/* ==========================================================================
Start / Form
========================================================================== */
.start-form {
    margin: 0;
}

.start-form .section-block {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.start-form .section-block-wrapper {
    width: 100%;
}

.image-item {
    display: block;
    width: 100%;
    max-width: 55rem;
    text-align: center;
    margin: 0 auto 4rem;
    /* position: absolute;
    top: 50%;
    left: 50%; */
    /* width: 100%;
    max-width: 75%;
    text-align: center; */
    /* transform: translate(-50%, -50%);
    transition: .2s ease; */
}

.start-form .col-0 {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    background-color: rgb(var(--gray-dark-color));
    padding: 3rem;
}

.start-form .ContactForm input[type="email"]:not(.illegal) {
    width: 100%;
}

.start-form .submit-button-container,
.start-form div.ContactFormEmail {
    width: 100%;
}

.form-container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    background-color: rgb(var(--gray-dark-color));
    padding: 3rem;
}

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

    .image-item {
        max-width: 100%;
    }

    .form-container {
        padding: 1rem;
    }
}

/*.request-join .field-1,
.request-join .field-2,
.request-join .field-3,
.request-join .field-4,
.request-join .field-5 {
    display: none;
}/* ==========================================================================
Startsida
==========================================================================*/
/* Startsida/Tack för ditt meddelande-sida
========================================================================== */
/*.construction header,
.construction .footer {
    display: none;
}*/
.EditMode.construction header,
.EditMode.construction .footer {
    display: block;
}

.construction .top-section {
    min-height: 100vh;
    margin-top: 0;
}

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

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

.top-section .section-block-wrapper {
    max-width: 86rem;
    text-align: center;
}

.top-section .section-title {
    padding-bottom: .4em;
    line-height: 1.1;
    font-size: 6rem;
    font-weight: 400;
    color: rgb(var(--white-color));
}

.top-section .btn {
    margin-bottom: 2rem;
}

.logo-wrapper {
    max-width: 30rem;
    position: relative;
    right: 0;
    left: 0;
    top: 0;
    padding-top: 2rem;
}

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

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

    .top-section .section-block {
        padding: 6rem 2rem;
    }

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

    .ingress {
        font-size: calc(var(--base-size));
    }
}

@media only screen and (max-width: 375px) {
    .top-section {
        min-height: 140vh;
    }
}

/* Slideshow
========================================================================== */
.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;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

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

/* Slick Arrow */
.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 {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* Sektion CTA
========================================================================== */
.cta-wrapper {
    background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url(https://media.gettyimages.com/id/532715702/photo/teeing-off.jpg?s=2048x2048&w=gi&k=20&c=HayZM95t4lPLeauNDsu6c0Zbr81SEaXcDVJI1DpD1dw=);
    background-size: cover;
    background-position: center 60%;
    padding: 10rem 4rem 4rem;
    border-radius: 2rem;
}

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

/* Inledning
========================================================================== */
.section-text .section-block-wrapper {
    align-items: center;
}

/* Intresseanmalan (.section-interest)
========================================================================== */
.grecaptcha-badge {
    display: none;
}

.no-contactform-message .ContactForm .ContactFormMessage,
.section-interest .ContactForm .ContactFormMessage {
    width: 100%;
    display: none;
}

.ContactForm p {
    color: rgb(var(--gray-light-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: .05em;
}

/*.ContactForm input[type="text"],
.ContactForm textarea {
    border: 1px solid rgb(var(--gray-color));
    background-color: rgb(54, 54, 54);
    color: rgb(var(--gray-light-color));
}.asterisk p:after {
    content: "*";
    font-size: 1.5rem;
    margin-left: 6px;
    color: red;
}*/
@media only screen and (max-width: 600px) {
    .ContactForm div {
        width: 100%;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */
/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 65vh;
    padding-bottom: 5rem;
    background-color: rgb(var(--black-color), .3);
}

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

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

.hero.opct img {
    object-position: center top;
}

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

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

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

/* Iframe formular - testsida */
.section-iframe iframe {
    border: none !important;
}

/* ==========================================================================
Undersida: About us
========================================================================== */
.image-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.image-wrap .image-wrapper {
    position: relative;
}

.image-wrap .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), 0.2);
    transition: 0.3s ease-in-out;
}

.image-wrap:hover .image-wrapper::after {
    background: rgba(var(--black-color), 0.6);
}

.image-wrap .text-wrapper {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 5rem 2rem;
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 980px) {
    .image-wrap {
        margin-top: 3rem;
    }

    .image-wrap .text-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: > Investor
========================================================================== */
.section-invest a {
    text-align: left;
    color: rgb(var(--white-color), 0.9);
    padding-bottom: 1rem;
    font-weight: 400;
    font-size: 1.6rem;
    font-family: inherit;
    transition: .3s ease;
}

.section-invest a:hover {
    color: rgb(var(--accent-green-light-color));
}

.section-invest .text-wrapper {
    max-width: 20rem;
    margin: auto;
    text-align: center;
}

.section-invest .cards-wrapper.w-15 .card-item {
    width: calc(100% / 3 - 2rem);
    margin: 1rem;
    padding: 2rem;
    border: 1px solid rgb(var(--accent-green-color));
    background-color: transparent;
}

@media only screen and (max-width: 1650px) {
    .section-invest .cards-wrapper.w-15 .card-item {
        width: calc(100% / 3 - 2rem);
        padding: 2rem;
        margin: 1rem;
    }
}

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

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

/* ==========================================================================
Undersida: Global advisory board
========================================================================== */
.section-advisory .card-1-1 .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.js-more-text {
    width: 120rem !important;
}

.section-advisory .js-more-text p,
.section-advisory .card-body a {
    font-size: 1.6rem;
}

@media only screen and (max-width: 580px) {
    .section-advisory .card-body {
        margin: 0 auto;
    }

    .section-advisory .cards-wrapper {
        padding-bottom: 3rem;
    }
}

/* ==========================================================================
Undersida: > Members > Regioner
========================================================================== */
.chairmans .card-item {
    padding: 3rem;
    border: 1px solid rgb(var(--accent-green-color));
    background-color: transparent;
}

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

/* ==========================================================================
Undersida: > Travel
========================================================================== */
.section-travels-form .col-wrapper {
    background-color: rgb(var(--gray-dark-color));
}

.section-travels-form .text-block,
.section-travels-form .ContactForm,
.section-travels-form .ContactSentMessage {
    padding: 0 2rem 2rem;
}

.section-travels-form .ContactForm .ContactFormMessage {
    display: none;
}

.section-travels-form .ContactForm div {
    margin-bottom: .5rem;
}

@media only screen and (max-width: 980px) {
    .section-travels-form .col-0 {
        margin-bottom: 3rem;
    }
}

/*
.travel-form {
    max-width: 80rem;
}.travel-form .ContactForm div {
    width: 100%;
}.travel-form .field-1 {
    display: none;
}.travel-form .ContactForm select {
    width: 100%;
    height: 4rem;
}*/
/* ==========================================================================
Undersida: FAQ
========================================================================== */
/* Accordion*/
.accordion-wrapper.w-50 {
    display: flex;
    flex-wrap: wrap;
}

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

.accordion-item {
    padding-bottom: 1rem;
}

.mw-60.accordion-item {
    max-width: 60rem;
}

.accordion-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid rgb(var(--accent-green-color));
    cursor: pointer;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

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

.accordion-header p {
    padding: 0 2.5rem 0 0;
}

.accordion-body {
    padding: 1rem;
}

.accordion-body p {
    font-size: 1.8rem;
}

/* ==========================================================================
Undersida: Solna Minigolf Headquarters
========================================================================== */
.subpage-solna-minigolf-headquarters header {
    display: none;
}

.subpage-solna-minigolf-headquarters .top-section .section-title {
    line-height: 1.5;
}

.subpage-solna-minigolf-headquarters .top-section .section-title span {
    font-size: 4rem;
}

@media only screen and (max-width: 750px) {
    .subpage-solna-minigolf-headquarters .top-section .section-title span {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 550px) {
    .subpage-solna-minigolf-headquarters .section-block {
        padding: 5rem 1rem;
    }

    .subpage-solna-minigolf-headquarters .top-section .section-title span {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 360px) {
    .subpage-solna-minigolf-headquarters .top-section .section-title span {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
Undersida: Become a member
========================================================================== */
.section-join-us .card-1-1 .small-title {
    font-size: 1.6rem;
}

.section-join-us .card-1-1 a {
    font-size: 1.3rem;
}

.section-join-us .layout-2 .col-0 {
    width: 43%;
}

.section-join-us .layout-2 .col-1 {
    width: 57%;
}

.section-register .col-0 {
    width: 65%;
}

.section-register .col-1 {
    width: 35%;
}

.section-register .ContactFormMessage {
    width: 100%;
}

@media only screen and (max-width: 980px) {
    .section-join-us .layout-2 .col-0 {
        width: 100%;
    }

    .section-join-us .layout-2 .col-1 {
        width: 100%;
        padding-top: 4rem;
    }

    .section-register .col-0,
    .section-register .col-1 {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Terms of service
========================================================================== */
.section-terms .unstyled-li {
    margin: 0;
    padding-left: 2.4rem;
}

.section-terms .unstyled-li li {
    font-weight: 500;
}

.section-terms ol {
    margin-top: 0;
}

@media only screen and (max-width: 580px) {
    .section-terms .unstyled-li {
        padding-left: .6rem;
    }
}

/* ==========================================================================
Undersida: Shop
========================================================================== */
.shopify-buy-frame {
    margin: 0 auto;
}

/* ==========================================================================
Undersida: WTPO -Business Solutions: samtliga sidor
========================================================================== */
.section-business .logo-wrapper {
    max-width: 25rem;
    margin: auto;
    margin-top: -10rem;
}

/*
.section-business-form .ContactForm div {
    width: 49%;
}.section-business-form .ContactForm select {
    width: 100%;
    height: 4rem;
}.section-business-form .ContactForm .ContactFormMessage {
    width: 100%;
}.section-business-form .field-2 {
    display: none;
}.section-business-form .field-6 {
    display: none;
}.ContactForm select {
    width: 100%;
    height: 4rem;
}@media only screen and (max-width: 680px) {
    .section-business-form .ContactForm div {
        width: 100%;
    }
}*/
@media only screen and (max-width: 580px) {
    .section-business .logo-wrapper {
        margin-top: 0rem;
    }
}

/* ==========================================================================
Undersida: Investment Oppertunities: samtliga sidor
==========================================================================*/
.section-investment-oppertunities .ContactForm div {
    width: 49%;
}

/*.section-investment-oppertunities .ContactForm select {
    width: 100%;
    height: 4rem;
}*/
.section-investment-oppertunities .ContactForm .ContactFormMessage {
    width: 100%;
}

.section-investment-oppertunities .ContactFormMessage {
    display: none;
}

.section-golf .ContactForm div {
    width: 100%;
}

.section-golf .ContactFormMessage {
    display: none;
}

/*.ContactForm select {
    width: 100%;
    height: 4rem;
}*/
.member-club .section-block {
    padding: 5rem 6rem;
}

.partner-logo img {
    max-width: 20rem;
    padding: 5rem;
}

@media only screen and (max-width: 680px) {
    .section-investment-oppertunities .ContactForm div {
        width: 100%;
    }

    .partner-logo img {
        padding: 0;
    }
}

/* ==========================================================================
Contact
========================================================================== */
.section-contact a {
    text-align: left;
    color: rgb(var(--white-color), 0.9);
    padding-bottom: 1rem;
    font-weight: 400;
    font-size: 1.6rem;
    font-family: inherit;
    transition: .3s ease;
}

.section-contact a:hover {
    color: rgb(var(--accent-green-light-color));
}

.section-contact .text-wrapper {
    max-width: 30rem;
    margin: auto;
}

.section-contact .cards-wrapper.w-15 .card-item {
    width: calc(100% / 4 - 2rem);
    margin: 1rem;
    padding: 3rem;
    border: 1px solid rgb(var(--accent-green-color));
    background-color: transparent;
}

@media only screen and (max-width: 1650px) {
    .section-contact .cards-wrapper.w-15 .card-item {
        width: calc(100% / 3 - 2rem);
        padding: 2rem;
        margin: 1rem;
    }
}

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

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--black-color));
    color: rgb(var(--white-color), .6);
}

.footer-container {
    padding: 0 5rem;
    margin: 0 auto;
}

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

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

.footer-bottom p {
    font-size: 1.2rem;
    padding: 0;
}

/* WebbEss Stamp – borttaget pga kund */
.webbess-stamp {
    padding: 0;
    font-size: 1.2rem;
    font-weight: 400;
    vertical-align: middle;
    display: none;
    align-items: center;
    justify-content: flex-end;
    opacity: .6;
    min-width: 14rem;
}

.webbess-stamp img {
    max-width: 2rem;
    margin-left: 1rem;
    filter: invert(1);
}

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

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

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

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