/* Hallestrand Semesterby */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 54, 133, 157;
    --primary-light-color: 228, 240, 243;

    --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: 5rem;
    --menu-height: 8.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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: 11rem 5rem;
}

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

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

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 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;
}

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

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

/* Ovriga klasser */
.of-hidden {
    overflow: hidden;
}
 
.block {
    display: block;
}

.inline {
    display: inline;
}

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

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.2;
}

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

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

.text-smaller {
    font-size: 1.4rem;
    line-height: 1.3;
}

p a,
.link {
    font-weight: 500;
    color: rgb(var(--primary-color));
}

/* 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: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

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

.text-uppercase {
    text-transform: uppercase;
}

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    padding: .8rem 1.9rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    border-radius: 3rem;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: all .4s ease;
}

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

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

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

.btn-white-border:hover {
    background-color: rgb(var(--white-color), .5);
} 

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    margin: .5rem;
    font-size: 0;
    border-radius: 50%;
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color), .2);
    text-decoration: none;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: .3s ease;
}

.circle-icon:hover {
    background-color: rgb(var(--white-color), .5);
}

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

.circle-icon.arrow::before {
    content: ' \f061';
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
}

@media only screen and (max-width: 420px) {
    .btn {
        margin: 5px;
    }
}

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

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

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-1 {
    border-radius: 1rem;
    overflow: hidden;
}

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

/* Border */
.border-1-primary {
    border: 1px solid rgb(var(--primary-color));
}

/* Bdage */
.badge {
    z-index: 1;
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 3px 1rem;
    font-size: 1.3rem;
    font-weight: 400;
    border-radius: 2rem;
    background: rgb(var(--primary-light-color));
    border: 1px solid rgb(var(--primary-color));
}

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

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

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

/* 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-wrapper {
    max-width: 100rem;
    padding: 5rem;
    border-radius: 2rem;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgb(var(--white-color));
    background: rgb(var(--white-color), .5)
}

/* Bilder */
.parallax-pool {
    background-image: url('/assets/images/poolomrade-2000px.jpg');
}

.parallax-festlokal {
    background-image: url('/assets/images/festlokal-1800px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

@media only screen and (max-width: 480px) {
    .parallax .btn {
        display: block;
        margin: 1rem auto;
        max-width: 20rem;
    }
}

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

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

a.card-item {
    text-decoration: none;
}

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

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

/* Bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 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: 1rem 0;
}

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

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

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

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

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

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

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

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

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

.card-2-4 .text-small {
    font-size: 1.4rem;
}

/* Card 3-6 */
.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--black-color), 0);
    transition: .3s ease;
}

.card-3-6 .card-item:hover .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--black-color), .5);
}

.card-3-6 .image-wrapper .text-wrapper {
    opacity: 0;
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    transition: .3s ease;
}

.card-3-6 .card-item:hover .image-wrapper .text-wrapper {
    opacity: 1;
}

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

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

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

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

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

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

.split-wrapper .flex-end {
    align-self: flex-end;
}

/* Border bakom split */
.split-image.border-primary-light,
.split-video.border-primary-light {
    overflow: visible;
}

.split-image.border-primary-light::after,
.split-video.border-primary-light::after {
    content: '';
    z-index: -1;
    position: absolute;
    left: -2rem;
    bottom: -2rem;
    width: 100%;
    height: 100%;
    background: rgb(var(--primary-light-color));
    border-radius: 2rem;
}

/* Smabilder i split */
.split-image.gallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.split-image.gallery .image-wrapper {
    width: calc(100% / 3);
}

.split-image.gallery .image-wrapper:nth-child(1) {
    border-radius: 2rem 0 0 0;
}

.split-image.gallery .image-wrapper:nth-child(3) {
    border-radius: 0 2rem 0 0;
}

.split-image.gallery .image-wrapper:nth-child(4) {
    border-radius: 0 0 0 2rem;
}

.split-image.gallery .image-wrapper:nth-child(6) {
    border-radius: 0 0 2rem 0;
}

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

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

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

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

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

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

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

    /* Border bakom split */
    .split-image.border-primary-light::after,
    .split-video.border-primary-light::after {
        left: -1rem;
        bottom: -1rem;
    }
}

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

header .container {
    max-width: none;
}

/* Top header */
.top-header {
    width: 100%;
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.scrolled .top-header {
    height: 0;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
}

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

.top-header i {
    margin-right: 5px;
    color: rgb(var(--primary-color));
}
.top-header div {
    display: inline-block;
    width: 2.3rem;
    height: 2.3rem;
    margin-right: 4px;
    border-radius: 50%;
    margin-bottom: -0.2rem;
}
.top-header img{
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

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

.header-logo img {
    filter: invert();
}

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

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

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    margin: 0 2rem;
    border-radius: 2rem;
    background-color: rgb(var(--black-color), .35);
}

.top-section .section-block {
    padding-top: 15rem;
    padding-bottom: 5rem;
}

.top-section .block-object {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - var(--menu-height) - 2rem - 4rem - 20rem);
}

.top-section .section-title {
    font-size: 6.5rem;
    font-weight: 500;
    font-family: 'Prata', sans-serif;
}

/* Botten-delen */
.top-section .bottom-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 5rem;
}

/* Vader-widget */
.weather-widget {
    padding: 1rem;
    border-radius: 1rem;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
   /* background: rgb(var(--white-color), .5); */
    border: 1px solid rgb(var(--white-color));
}

/* Erbjudande-ruta */
.offer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 40rem;
    min-height: 23rem;
    padding: 2rem;
    text-align: right;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgb(var(--white-color));
    border-radius: 5rem 2rem 2rem 2rem;
    text-decoration: none;
}

.offer-wrapper .circle-icon {
    margin-bottom: 1.5rem;
}

.offer-wrapper .small-title {
    font-size: 2.9rem;
}

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

    .top-section .block-object {
        min-height: calc(100vh - var(--menu-height) - 2rem - 15rem);
    }

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

    /* Erbjudande-ruta */
    .offer-wrapper {
        width: 33rem;
        min-height: 19rem;
    }

    .offer-wrapper .small-title {
        font-size: 2.3rem;
    }
}

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

    .top-section .block-object {
        min-height: calc(100vh - var(--menu-height) - 2rem - 10rem);
    }

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

    /* Botten-delen */
    .top-section .bottom-wrapper {
        justify-content: center;
    }

    /* Vader */
    .weather-widget {
        display: none;
    }
}

@media only screen and (max-width: 580px) {
    .top-section {
        margin: 0 1rem;
    }

    .top-section .block-object {
        min-height: calc(100vh - var(--mobile-menu-height) - 10rem - 4rem - 8rem);
    }

    .top-section .btn {
        display: block;
        margin: 1rem auto;
        max-width: 20rem;
    }

    /* Erbjudande-ruta */
    .offer-wrapper {
        min-height: unset;
        padding: 1.5rem;
    }

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

    .offer-wrapper .circle-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Om oss
========================================================================== */
.section-about .nobreak {
    white-space: nowrap;
}

@media only screen and (max-width: 1500px) {
    .section-about .nobreak {
        display: block;
        white-space: break-spaces;
    }
}

@media only screen and (max-width: 980px) {
    .section-about .nobreak {
        display: inline;
    }
}

/* Aktiviteter
========================================================================== */
.section-text .col-2 {
    align-self: flex-end;
    text-align: right;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-top: 7rem;
}

.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 {
    opacity: .6;
    display: flex;
    flex-direction: column;
    margin: 3rem 4rem 0 0;
    transition: .3s ease;
}

.scroll-wrapper .card-item.slick-active {
    opacity: 1;
    margin-top: 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    top: -5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--black-color));
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: .3s ease;
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--black-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-next::after {
    content: '\f061';
    font-size: 1.8rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
}

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

.scroll-wrapper .slick-prev::after {
    content: '\f060';
    font-size: 1.8rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
}

.scroll-wrapper .slick-arrow:hover {
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color), .2);
}

@media only screen and (max-width: 980px) {
    .section-text .col-2 {
        align-self: flex-start;
        text-align: left;
    }
}

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

    /* Card item */
    .scroll-wrapper .card-item {
        margin: 3rem 2rem 0 0;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 45vh;
    margin: 0 2rem;
    border-radius: 2rem;
    background-color: rgb(var(--black-color), .35);
}

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

.hero .section-title {
    font-size: 5.5rem;
    font-weight: 500;
    font-family: 'Prata', sans-serif;
}

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 25rem;
        margin: 0 1rem;
    }

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

/* ==========================================================================
Undersida: Fest och Events
========================================================================== */
/* Logotyp */
.fest-event-logo {
    height: 6rem;
}

/* Paket
========================================================================== */
.title-badge {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.price-badge {
    padding: 5px 1.2rem;
    font-size: 1.4rem;
    font-weight: 400;
    border-radius: 2rem;
    background: rgb(var(--primary-light-color));
    border: 1px solid rgb(var(--primary-color));
}

/* Boka
========================================================================== */
.section-form .ContactForm {
    max-width: 80rem;
    margin: 2rem auto 0;
}

.section-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-form .ContactForm>div {
    width: 49%;
}

.section-form .ContactForm div.textarea-field,
.section-form .ContactForm div.submit-button-container {
    width: 100%;
}

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

/* ==========================================================================
Undersida: Kontakt 
========================================================================== */
.section-contact .section-block-wrapper {
    padding: 5rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}

.section-contact .col-1 {
    border-right: 1px solid rgb(var(--primary-color));
}

.ContactForm p {
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm textarea,
.ContactForm .file-item,
.ContactForm .file-dropzone {
    border: none;
}

.ContactForm>div.submit-button-container {
    margin-bottom: 0;
}

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

    .section-contact .card-2-4 .card-header {
        width: 4rem;
    }
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-bottom: 3rem;
        border-right: none;
    }
}

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

    .section-contact .card-2-4 p {
        word-break: break-all;
    }
}

/* ==========================================================================
Undersida: Medlemssida
========================================================================== */
.section-member .col-0 {
    position: sticky;
    top: calc(var(--menu-height) + 2rem);
    align-self: flex-start;
    width: 35rem;
}

.section-member .col-1 {
    width: calc(100% - 35rem);
    padding-left: 10rem;
    border-left: 1px solid rgb(var(--gray-light-color));
}

/* Nav */
.categories-wrapper {
    display: none;
}

.subnav,
.subnav ul {
    padding: 0;
    list-style: none;
}

.subnav a {
    padding: .5rem 0 .5rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2;
    text-decoration: none;
    color: rgb(var(--black-color));
    border-left: 2px solid rgb(var(--gray-light-color));
    transition: .3s ease;
}

.subnav a:hover,
.subnav a.active {
    border-left: 2px solid rgb(var(--primary-color));
}

.subnav a.active {
    color: rgb(var(--primary-color));
}


@media only screen and (max-width: 1300px) {
    .section-member .col-0 {
        width: 25rem;
    }

    .section-member .col-1 {
        width: calc(100% - 25rem);
        padding-left: var(--col-padding);
    }
}

@media only screen and (max-width: 1024px) {
    .section-member .col-0 {
        position: static;
        width: 100%;
        padding: 0;
        margin-bottom: 3rem;
    }

    .section-member .col-1 {
        width: 100%;
        padding: 0;
        border-left: none;
    }

    /* Nav */
    .dropdown-wrapper {
        position: relative;
        cursor: pointer
    }

    .categories-wrapper {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        background-color: rgb(var(--primary-color));
    }

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

    .categories-wrapper i {
        margin-left: 2rem;
    }

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

    .subnav.opened {
        display: block;
    }

    .subnav a {
        display: block;
        padding: 1rem 2rem;
        border-left: none;
    }

    .subnav a:hover {
        color: rgb(var(--black-color));
        border-left: none;
    }

    .subnav a.active {
        color: rgb(var(--white-color));
        border-left: none;
        background-color: rgb(var(--primary-color));
    }
}

/* Popup-notis
========================================================================== */
/* Visa popup */
body.page-member .popup-wrapper.member,
body.page-member-start .popup-wrapper.member,
body.fest-event .popup-wrapper.event,
body.hem .popup-wrapper.hem {
    display: block;
}

/* Dolj popup pa alla andra sidor */
.popup-wrapper {
    display: none;
}

/* Generellt */
.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%;
    cursor: pointer;
    color: rgb(var(--white-color));
}

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

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 45rem;
    max-height: calc(100vh - 12rem); 
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.popup-wrapper .text-label {
    color: rgb(var(--primary-color));
    padding-bottom: 2rem;
}

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

/* ==========================================================================
Undersida: Medlemssida > Dokument
========================================================================== */
.documents-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 1rem);
    padding: 1rem 1.5rem;
    margin: 5px;
    border: 1px solid rgb(var(--gray-light-color));
}

.documents-wrapper .card-header {
    width: auto;
    height: auto;
}

.documents-wrapper .card-header i {
    font-size: 2.5rem;
}

@media only screen and (max-width: 750px) {
    .documents-wrapper.w-50 .card-item {
        width: 100%;
        margin: 5px 0;
    }
}

/* ==========================================================================
Undersida: Medlemssida > Kalendarium
========================================================================== */
/* Taggar */
.tag {
    display: inline-block;
    padding: 0.3rem 1.5rem .1rem;
    border-radius: 0.8rem 0.8rem 0 0;
    background: rgb(var(--primary-light-color));
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

/* Content */
.content-wrapper {
    padding: 3rem;
    border-top: 2px solid rgb(var(--primary-color));
}

.content-wrapper p.calendar {
    display: flex;
    margin: 1rem 0;
}

.content-wrapper span.date {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--white-color));
    border-radius: 50%;
    background: rgb(var(--primary-color));
}

.content-wrapper span.text {
    position: relative;
    margin-top: 3px;
}

@media only screen and (max-width: 480px) {
    .content-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: Medlemssida > Kodforfragan
========================================================================== */
.code-form .Contact {
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}

.code-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.code-form .ContactForm>div {
    width: calc(100% / 2 - 1rem);
}

.code-form .ContactForm>div.submit-button-container {
    width: 100%;
    margin-bottom: 0;
}

.code-form .ContactSubmit {
    display: block;
    max-width: 30rem;
    margin: 0 auto;
}

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    border-top: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--gray-light-color));
}

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

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

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

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

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

.footer-top p,
.footer-top li,
.footer-top a {
    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(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

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

.footer .circle-icon:hover {
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color), .2);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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