/* NF Förbundet */

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

    /* 	Colors */
    --primary-color: 34, 140, 165;
    --primary-light-color: 214, 235, 255;
    --primary-dark-color: 7, 42, 64;

    --accent-beige-color: 250, 247, 239;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --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;
}

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

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

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

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

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

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

.py-2{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

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

/* Bredder */
.mw-1000 {
    max-width: 100rem;
    margin: 0 auto;
}

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

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

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

/* Rubriker */
.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

.text-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ingress {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

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

.list-check.primary li::before {
    color: rgb(var(--primary-color));
}

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


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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}
.js-show-more-text{
    width: 15rem;
    margin-bottom: 2.5rem;
    margin-left: 0rem;
}

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

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

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

.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: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

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

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

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

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


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

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

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

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

/* Grafiska element
========================================================================== */
/* Ruta med box-shadow hogst upp */
.EditMode .cutout-shadow-wrapper {
    margin-top: 5rem;
}

.cutout-shadow-wrapper {
    position: relative;
}

.cutout-shadow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20rem;
    box-shadow: 0 1rem 2rem rgba(var(--black-color),.1);
}

.cutout-shadow {
    z-index: 1;
    position: relative;
    padding: 5rem;
    background-color: rgb(var(--white-color));
    border-radius: .5rem .5rem 0 0;
}

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

/* 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: all .3s ease;
}

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

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

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

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

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

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

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

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

@media only screen and (max-width: 480px) {
    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Cards-3-1 */
.cards-3-1 .image-wrapper {
    height: 25rem;
}

.cards-3-1 .text-label {
    font-size: 1.4rem;
}

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

.cards-3-1 .btn-wrapper {
    margin: 0 2rem 2rem;
}

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

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

/* Card 3-4 */
.cards-wrapper.card-3-4 .card-item {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 3rem;
}

.card-3-4 .image-wrapper {
    width: 7rem;
    height: 7rem;
    margin: -2rem 1rem;
    border-radius: 2rem;
}

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

.card-3-4 .contact-item a {
    font-size: 1.5rem;
    word-break: break-all;
    text-decoration: none;
}

.card-3-4 .contact-item i {
    margin-right: 5px;
}

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

@media only screen and (max-width: 750px) {
    .cards-wrapper.card-3-4 .card-item {
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .card-3-4 .contact-item a {
        font-size: 1.3rem;
    }
}

/* 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: 1000px) {
    .split-content {
        width: 100%;
        padding: 3rem;
    }

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

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

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

}

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

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

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

.text-logo {
    display: inline-block;
}

.header-logo img {
    padding: 2rem 0;
    margin: 0 1rem 0 0;
}

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

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
} 

@media only screen and (max-width: 580px) {
    /* Header logo */
    .header-logo a {
        font-size: 1.6rem;
    }

    .header-logo img {
        padding: 5px 0;
    }

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

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

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

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

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

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

.top-section .kotte {
    position: absolute;
    width: 11rem;
    right: 10rem;
    bottom: 0;
}

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

    .top-section .kotte {
        width: 5rem;
        right: 2rem;
    }
}

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

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin: 0 1rem;
    transition: all .3s ease;
}

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

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 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;
}

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

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-wrap: wrap;
    }

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 45rem;
    text-align: center;
    background-color: rgb(var(--black-color), .35);
}

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

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
}

.hero .kotte {
    position: absolute;
    width: 11rem;
    right: 10rem;
    bottom: 0;
}

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

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

    .hero .kotte {
        width: 5rem;
        right: 2rem;
    }
}

/* ==========================================================================
Undersida: Bli medlem 
========================================================================== */
.section-membership .section-block-wrapper {
    max-width: 90rem;
}

.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;
}

.ContactForm div {
    width: 49%;
    margin: 0;
}

.ContactForm>div {
    margin-bottom: 2rem;
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

.ContactForm p,
.ContactForm label {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 5px;
}

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

.ContactForm .radio-btn {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: var(--base-size);
}

.ContactForm .radio-btn div {
    width: auto;
    margin: 5px 1rem 5px 0;
}

.ContactForm input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgb(var(--primary-color));
    border-radius: 50%;
}

input[type="radio"]:checked {
    background-color: rgb(var(--primary-color));
}

.ContactSubmit {
    margin: 0;
}

/* Dolj "Vad"-input */
.section-membership .field-5 {
    display: none;
}

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

/* ==========================================================================
Undersida: Neurofibromatos
========================================================================== */
.symptoms .small-title {
    font-size: 2rem;
}

.symptoms ul {
    margin: 0;
    padding-left: 2rem;
}

.symptoms li,
.symptoms p {
    font-size: 1.4rem;
}

.symptoms ul li:not(:last-of-type) {
    padding-bottom: 1rem;
}

/* ==========================================================================
Undersida: Webbshop
========================================================================== */
.section-shop .section-block {
    padding: 0 5rem 10rem;
}

.section-shop .section-block-wrapper {
    position: relative;
    margin-top: -14rem;
}

@media only screen and (max-width: 650px) {
    .section-shop .section-block-wrapper {
        margin-top: -8rem;
    }

    .section-shop .section-block {
        padding: 0;
    }
}

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

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

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

.footer-menu-large {
    --base-size: 1.3rem;
    width: 30%;
}

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

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

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

.footer a:hover {
    text-decoration: none;
    color: rgb(var(--black-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--base-size);
}

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

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

    /* Footer top */
    .footer-top {
        justify-content: flex-start;
    }

    .footer-menu {
        width: 31%;
        margin-right: 1%;
    }

    .footer-menu.kotte {
        width: auto;
        padding-right: 3rem;
    }

    .footer-menu-large {
        width: auto;
    }

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

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

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

    .footer-menu-large,
    .footer-menu.kotte {
        padding-right: 0;
        width: 100%;
    }
}

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

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

    .footer-menu.kotte img {
        max-width: 10rem;
    }

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