:root {
--transparent: transparent;
--grey: grey;
--lightgrey: lightgrey;
--lightgrey1: #efefef;
--lightgrey2: #e6e6e6;
--lightgrey3: #696969;
--lightergrey: #dedede;
--darkgrey: #585858;
--whitesmoke: whitesmoke;
--black: #383838;
--lightergrey: #dedede;
--light-darkgrey: #d8d8d8;
--grey1: #bbbbbb;
--grey-green: #effff1;
--grey2: #ebebeb;
--default-white: white;
--default-darkwhite: #f3f3f3;
--sw-info-color: #3490dc;
--layout-row-shaddow-color-light: rgba(0,0,0,0.1);
--layout-row-shaddow-color-dark: rgba(0,0,0,0.2);
--calendar-selection-background-color: white;
--theme-heading-color: black;
--theme-heading1-color: black;
--theme-heading2-color: black;
--theme-heading3-color: black;
--theme-body-font-color: #424242;
--theme-color-lighten-10: hsl(var(--theme-color),40%);
--theme-color-lighten-20: hsl(var(--theme-color),30%);
--theme-color-darken-10: hsl(var(--theme-color),60%);
--theme-color-darken-20: hsl(var(--theme-color),70%);
--donate-wizard-button-next-color: #585858;
--theme-color: #46629e;
--theme-font-color: #331919;
--theme-color-contrast: #f3f3f3;
--default-black: var(--black);
--default-grey: var(--grey);
--navbar-background-color: var(--theme-nav-backgroundcolor);
--navbar-collapsed-background-color: var(--whitesmoke);
--navbar-font-color: var(--theme-nav-color);
--navbar-collapsed-font-color: var(--default-black);
--page-title-border-color: var(--theme-color);
--footer-background-color: var(--theme-color);
--footer-font-color: var(--theme-color-contrast);
--cta-events-date-border-color: var(--theme-color);
}

    .julekalender .layout__row {
        background: #e41c2d;
        z-index: 1;
    }

    .julekalender .page-title {
        background: #e61e2f;
        color: #fff;
        max-width: 1024px;
        margin-inline: auto;
        padding-inline: 15px;
    }

    .julekalender .layout__row {
        background: #e61e2f;
    }

    .julekalender .layout__row .page-title {
        background: #e61e2f;
    }

    .julekalender .htmlbox {
        overflow-x: clip;
        /*   overflow: hidden;*/
    }

    .julekalender .body-container {
        background: #e61e2f;
    }

    .calendar-grid {
        display: grid;
        width: 94%;
        max-width: 900px;
        margin: 3% auto 2rem auto;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        grid-gap: 1rem;
        background: #e61e2f;
        padding: 20px;

        transform: translate3d(0px, 0px, 0px);

        grid-template-areas:
            "day1  day2   day3"
            "day4   day5  day6"
            "day7   day8  day9"
            "day10  day11  day12"
            "day13  day14   day15"
            "day16   day17  day18"
            "day19  day20  day21"
            "day22  day23  day24"
            "title  title  title";
    }

    /* title */

    .calendar-grid .title {
        grid-area: title;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        background-image: url(https://i.styreweb.com/v1/photoalbum/9353221/Santanissen2.svg);
        background-repeat: no-repeat;
        background-position: 47% 17%;
    }
    
    .calendar-grid .title2 {
        grid-area: title;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        background-image: url(https://i.styreweb.com/v1/photoalbum/9353236/Santanissen3.svg);
        background-repeat: no-repeat;
        background-position: 47% 17%;
    }

    .calendar-grid .title3 {
        grid-area: title;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        background-image: url(https://i.styreweb.com/v1/photoalbum/9358086/Santanissen4.svg);
        background-repeat: no-repeat;
        background-position: 47% 17%;
    }

    .calendar-grid .title img {
        margin-left: 10px;
    }

    /* opening/closing doors */
    .calendar-grid .day {
        transform: translate3d(0px, 0px, 0px);
        position: relative;
    }

    .calendar-grid input {
        display: none;
    }

    .calendar-grid label {
        perspective: 1000px;
        transform-style: preserve-3d;
        cursor: pointer;
        display: flex;
        min-height: 100%;
        width: 100%;
        height: calc(85vw / 3);
        position: relative;
    }


    .calendar-grid .door {
        width: 100%;
        transform-style: preserve-3d;
        transition: all 300ms;
        border: 2px dashed #ffffff30;
        border-radius: 0.4rem;
        transform-origin: 0% 50%;
    }

    .calendar-grid .door div {
        position: absolute;
        height: 100%;
        width: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 0.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 3em;
        font-weight: bold;
        text-shadow: 2px 2px 0 #29832e;
    }

    .calendar-grid .door .back {
        background: rgb(255, 255, 255);
        transform: rotateY(-180deg);
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }



    .calendar-grid :checked+.door {
        transform: rotateY(-180deg);
        background: rgb(255, 255, 255);
    }

    .calendar-grid .title-container {
        opacity: 0;
        transform: translateY(-1rem);
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 1000;
        bottom: -5.41rem;
        left: -10rem;
        right: -10rem;
        transition: all 400ms ease-in-out;
    }

    .calendar-grid :checked~.title-container {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .calendar-grid .title-container a {
        position: relative;
        display: inline-block;
        border-radius: 0.25rem;
        padding: 0.5rem 1rem;
        background-color: #29832e;
        color: #f1faee;
        font-size: 17px;
        white-space: nowrap;
        text-decoration: none;
    }

    .calendar-grid .title-container a::before {
        content: "";
        display: block;
        border-radius: 0.75rem;
        background: repeating-linear-gradient(-45deg,
                #f1faee 0,
                #f1faee 0.5rem,
                #e63946 0.5rem,
                #e63946 1rem);
        background-size: 1.44rem 1.44rem;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
        position: absolute;
        z-index: -1;
        top: -0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
        left: -0.5rem;
        -webkit-animation: calendar-item-link 0.6s infinite linear;
        animation: calendar-item-link 0.6s infinite linear;
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }

    .calendar-grid .title-container a:hover::before {
        -webkit-animation-play-state: running;
        animation-play-state: running;
    }


    .calendar-grid .inside-empty {}

    .calendar-grid :checked~.inside {
        opacity: 1;
    }

    /* Calendar day positions and z-indexes */
    .calendar-grid .day-1 {
        grid-area: day1;
        z-index: 16;
    }

    .calendar-grid .day-2 {
        grid-area: day2;
        z-index: 9;
    }

    .calendar-grid .day-3 {
        grid-area: day3;
        z-index: 1;
    }

    .calendar-grid .day-4 {
        grid-area: day4;
        z-index: 15;
    }

    .calendar-grid .day-5 {
        grid-area: day5;
        z-index: 22;
    }

    .calendar-grid .day-6 {
        grid-area: day6;
        z-index: 10;
    }

    .calendar-grid .day-7 {
        grid-area: day7;
        z-index: 3;
    }

    .calendar-grid .day-8 {
        grid-area: day8;
        z-index: 14;
    }

    .calendar-grid .day-9 {
        grid-area: day9;
        z-index: 2;
    }

    .calendar-grid .day-10 {
        grid-area: day10;
        z-index: 7;
    }

    .calendar-grid .day-11 {
        grid-area: day11;
        z-index: 19;
    }

    .calendar-grid .day-12 {
        grid-area: day12;
        z-index: 18;
    }

    .calendar-grid .day-13 {
        grid-area: day13;
        z-index: 4;
    }

    .calendar-grid .day-14 {
        grid-area: day14;
        z-index: 12;
    }

    .calendar-grid .day-15 {
        grid-area: day15;
        z-index: 24;
    }

    .calendar-grid .day-16 {
        grid-area: day16;
        z-index: 21;
    }

    .calendar-grid .day-17 {
        grid-area: day17;
        z-index: 23;
    }

    .calendar-grid .day-18 {
        grid-area: day18;
        z-index: 17;
    }

    .calendar-grid .day-19 {
        grid-area: day19;
        z-index: 6;
    }

    .calendar-grid .day-20 {
        grid-area: day20;
        z-index: 20;
    }

    .calendar-grid .day-21 {
        grid-area: day21;
        z-index: 8;
    }

    .calendar-grid .day-22 {
        grid-area: day22;
        z-index: 11;
    }

    .calendar-grid .day-23 {
        grid-area: day23;
        z-index: 5;
    }

    .calendar-grid .day-24 {
        grid-area: day24;
        z-index: 13;
    }

    .inside2 {
        display: flex;
        justify-content: center;
        background-color: #ffffff;
        border-radius: 0.4rem;
        align-items: center;
        margin: 1rem;
        height: 80%;

        a {
            text-decoration: none;
            color: #e63946;
        }

    }

    .inside2 img {
        height: 90% !important;
    }

    .lenke {
        height: 10%;
        text-decoration: none;
        color: #ffffff;
    }

    .inside {
        position: absolute;
        cursor: not-allowed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 0.4rem;
        overflow: hidden;
        opacity: 0;
        transition: opacity 300ms ease-in-out;
        background-color: #ffffff;
        /* background: repeating-linear-gradient(-45deg, #f1faee 0, #f1faee 0.5rem, #e63946 0.5rem, #e63946 1rem);
        background-size: 1.44rem 1.44rem; */
        -webkit-animation: calendar-item-link 0.6s infinite linear;
        animation: calendar-item-link 1.7s infinite linear;
        /* -webkit-animation-play-state: paused;
        animation-play-state: paused; */
    }

    /* media query */
    @media only screen and (min-width: 576px) {
        .calendar-grid {
            grid-template-columns: repeat(6, 1fr);
            grid-template-areas:
                "title  title  title  day5   day17  day15"
                "title  title  title  day11  day20  day16"
                "title  title  title  day1   day18  day12"
                "day6   day22  day14  day24  day24  day4"
                "day10  day21  day2   day24  day24  day8"
                "day3   day9   day7   day13  day23  day19";
        }
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: none;
        background-color: rgb(168, 55, 55);
        background-color: rgb(0 0 0 / 48%);
    }

    .modal-content1 {
        background-color: #ffffff;
        color: #000000;
        margin: auto;
        margin-top: 10rem;
        border: 5px solid #29832e;
        width: 80%;
        height: fit-content;
        border-radius: 10px;
        padding: 10px;
    }


    .overskrift1 {
        color: #white;
        font-size: 30px;
        font-weight: 300;
    }


    .modal-contents {
        text-align: center;
        border-radius: 10px;
        padding: 10px;
    }


    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        padding-right: 5px;
    }

    .close:hover,
    .close:focus {
        color: #e6e6e6;
        text-decoration: none;
        cursor: pointer;
    }

    .title69 {
        color: #e61e2f;
        font-size: 20px;
        font-weight: 600;
    }

    .sharp-fold {
        position: relative;
        background: linear-gradient(-150deg, #ffffff40 1.5em, rgb(85 136 170 / 0%) 0);
    }

    .sharp-fold::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        background: linear-gradient(to left bottom, transparent 50%, rgba(255, 255, 255, 0.2) 0, rgba(219, 43, 43, 0.4)) no-repeat 100% 0;
        width: 1.73em;
        height: 3em;
        transform: translateY(-1.3em) rotate(-30deg);
        transform-origin: bottom right;
        border-bottom-left-radius: inherit;
        box-shadow: -.2em .2em .3em -.1em rgba(0, 0, 0, .15);
    }

    .modal1 {
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: none;
        background-color: rgb(168, 55, 55);
        background-color: rgb(0 0 0 / 48%);
    }

    .modal-content2 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        background-color: #ff0000;
        color: #000000;
        margin: auto;
        margin-top: 10rem;
        border: 5px solid #29832e;
        width: 80%;
        border-radius: 10px;
        padding: 10px;
    }

    .modal-content3 {
        display: block;
        background-color: #ff0000;
        margin: 3rem;
        border-radius: 10px;
        padding: 10px;
    }

    .info1 {
        display: flex;
        flex-direction: column;
        color: white;
        font-size: 20px;
    }

    .info1 h7 {
        font-size: 30px;
    }

    .calendar-grid1 {
        display: flex;
        background: inherit;
    }

    /* title */

    .calendar-grid1 .title {
        grid-area: title;
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
    }

    .calendar-grid1 .title img {
        max-width: 70% !important;
    }

    /* opening/closing doors */
    .calendar-grid1 .day {
        transform: translate3d(0px, 0px, 0px);
        position: relative;
    }

    .calendar-grid1 input {
        display: none;
    }

    .calendar-grid1 label {
        perspective: 1000px;
        transform-style: preserve-3d;
        cursor: pointer;
        display: flex;
        width: calc(38vw / 2);
        height: calc(38vw / 2);
        position: relative;
    }


    .calendar-grid1 .door1 {
        width: 100%;
        transform-style: preserve-3d;
        transition: all 300ms;
        border: 2px dashed #ffffffa6;
        border-radius: 0.4rem;
        transform-origin: 0% 50%;
    }

    .calendar-grid1 .door1 div {
        position: absolute;
        height: 100%;
        width: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        border-radius: 0.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 3em;
        font-weight: bold;
        text-shadow: 2px 2px 0 #29832e;
    }

    .calendar-grid1 .door1 .back {
        background: rgb(255, 255, 255);
        transform: rotateY(-180deg);
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }



    .calendar-grid1 :checked+.door1 {
        transform: rotateY(-180deg);
        background: rgb(255, 255, 255);
    }

    .calendar-grid1 .title-container {
        opacity: 0;
        transform: translateY(-1rem);
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 1000;
        bottom: -5.41rem;
        left: -10rem;
        right: -10rem;
        transition: all 400ms ease-in-out;
    }

    .calendar-grid1 :checked~.title-container {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .calendar-grid1 .title-container a {
        position: relative;
        display: inline-block;
        border-radius: 0.25rem;
        padding: 0.5rem 1rem;
        background-color: #29832e;
        color: #f1faee;
        font-size: 17px;
        white-space: nowrap;
        text-decoration: none;
    }

    .calendar-grid1 .title-container a::before {
        content: "";
        display: block;
        border-radius: 0.75rem;
        background: repeating-linear-gradient(-45deg,
                #f1faee 0,
                #f1faee 0.5rem,
                #e63946 0.5rem,
                #e63946 1rem);
        background-size: 1.44rem 1.44rem;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
        position: absolute;
        z-index: -1;
        top: -0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
        left: -0.5rem;
        -webkit-animation: calendar-item-link 0.6s infinite linear;
        animation: calendar-item-link 0.6s infinite linear;
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }

    .calendar-grid1 .title-container a:hover::before {
        -webkit-animation-play-state: running;
        animation-play-state: running;
    }


    .calendar-grid1 .inside-empty {}

    .calendar-grid1 :checked~.inside {
        opacity: 1;
    }

    @media only screen and (min-width: 576px) {
        .calendar-grid label {
            height: 136px;
        }
    }


    @media only screen and (max-width: 576px) {
        .calendar-grid .day-1 {
            z-index: 22;
        }

        .calendar-grid .day-2 {
            z-index: 23;
        }

        .calendar-grid .day-3 {
            z-index: 24;
        }

        .calendar-grid .day-4 {
            z-index: 19;
        }

        .calendar-grid .day-5 {
            z-index: 20;
        }

        .calendar-grid .day-6 {
            z-index: 21;
        }

        .calendar-grid .day-7 {
            z-index: 16;
        }

        .calendar-grid .day-8 {
            z-index: 17;
        }

        .calendar-grid .day-9 {
            z-index: 18;
        }

        .calendar-grid .day-10 {
            z-index: 13;
        }

        .calendar-grid .day-11 {
            z-index: 14;
        }

        .calendar-grid .day-12 {
            z-index: 15;
        }

        .calendar-grid .day-13 {
            z-index: 10;
        }

        .calendar-grid .day-14 {
            z-index: 11;
        }

        .calendar-grid .day-15 {
            z-index: 12;
        }

        .calendar-grid .day-16 {
            z-index: 7;
        }

        .calendar-grid .day-17 {
            z-index: 8;
        }

        .calendar-grid .day-18 {
            z-index: 9;
        }

        .calendar-grid .day-19 {
            z-index: 4;
        }

        .calendar-grid .day-20 {
            z-index: 5;
        }

        .calendar-grid .day-21 {
            z-index: 6;
        }

        .calendar-grid .day-22 {
            z-index: 1;
        }

        .calendar-grid .day-23 {
            z-index: 2;
        }

        .calendar-grid .day-24 {
            z-index: 3;
        }
    }

    @-webkit-keyframes calendar-item-link {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 1.44rem 0;
        }
    }

    @keyframes calendar-item-link {
        0% {
            background-position: 0 0;
        }

        100% {
            background-position: 1.44rem 0;
        }

        .calendar-grid1 label {
            width: calc(38vw / 1);
            height: calc(38vw / 1);
        }
    }

    .calendar-grid .title-container {
        opacity: 0;
        transform: translateY(-1rem);
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 1000;
        bottom: -5.41rem;
        left: -10rem;
        right: -10rem;
        transition: all 400ms ease-in-out;
    }

    .calendar-grid :checked~.title-container {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .calendar-grid .title-container p {
        position: relative;
        display: inline-block;
        border-radius: 0.25rem;
        padding: 0.5rem 1rem;
        background-color: #29832e;
        color: #f1faee;
        font-size: 17px;
        white-space: nowrap;
        text-decoration: none;
    }

    .calendar-grid .title-container p::before {
        content: "";
        display: block;
        border-radius: 0.75rem;
        background: repeating-linear-gradient(-45deg,
                #f1faee 0,
                #f1faee 0.5rem,
                #e63946 0.5rem,
                #e63946 1rem);
        background-size: 1.44rem 1.44rem;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
        position: absolute;
        z-index: -1;
        top: -0.5rem;
        right: -0.5rem;
        bottom: -0.5rem;
        left: -0.5rem;
        -webkit-animation: calendar-item-link 0.6s infinite linear;
        animation: calendar-item-link 0.6s infinite linear;
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
    }

    .calendar-grid .title-container p:hover::before {
        -webkit-animation-play-state: running;
        animation-play-state: running;
    }

    h1#headerNames {
        margin-top: 10%;
        color: #fff;
        font-family: Georgia, serif;
        font-size: 50px;
        text-align: center;
        cursor: pointer;
    }

    .button {
        width: 150px;
        margin: auto;
        padding: 20px;
        background: #ff0404;
        border: 3px solid #fff;
        border-radius: 10px;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: block;
        cursor: pointer;
    }



    #stopButton {
        background: #ff0000;
        display: none;
    }



    @media only screen and (max-width: 600px) {
        h1 {
            font-size: 50px;
        }
    }

    .names69 {

        max-width: 100%;
        font-size: 100%;
    }

    .stop1 {
        display: grid;
    }