/* This is the "tilmeld" CSS document */


/* =============== Block: banner - mobile =============== */

.banner {
    display: flex;
    justify-content: center;
    overflow: hidden;

    .banner__image {
        height: 350px;
        object-fit: contain;
        align-self: flex-start;
    }
}

.banner-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 205px;


    .banner-overlay__text {
        line-height: 64px;
    }
}


/* =============== Block: banner - desktop =============== */

.banner-desktop {
    display: none;
    justify-content: center;
    overflow: hidden;

    .banner-desktop__image {
        height: 400px;
        object-fit: contain;
        align-self: flex-start;
    }
}

.banner-overlay-desktop {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 244px;


    .banner-overlay-desktop__text {
        line-height: 92px;
    }
}


/* =============== Block: introduction =============== */

.introduction {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -10px;
}

.introduction__content {
    display: flex;
    margin: 20px;
    padding: 40px 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 540px;
}

.introduction .p .bold {
    color: var(--color-blue);
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.introduction-desktop {
    display: none;
}


/* =============== Block: drop-down =============== */

.dropdown-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dropdown-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    max-width: 540px;
    margin-bottom: 15px;
}

.dropdown-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-blue);
    padding: 10px 20px;
    width: 90%; 
    box-sizing: border-box;
}


.dropdown-box-text {
    display: block; 
    color: var(--color-light-blue);
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 150%;
}

.dropdown-box-bodytext {
    display: none; 
    background-color: var(--color-light-blue);
    width: 90%; 
    padding: 10px 20px;
    box-sizing: border-box; 
    overflow: hidden;
}

.dropdown-box-bodytext.open {
    display: block;
    max-height: 1000px; 
}

.content-dropdown {
    padding-right: 10px;
}

.dropdown-box-bodytext li {
    margin-bottom: 10px;
}

.dropdown-arrow img {
    transition: transform 0.3s ease;
}

.forventning-og-praktisk {
    display: none;
}

/* =============== Block: Tilmelding mobile =============== */

.tilmelding {
    display: flex;
    padding: 20px 0px;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    background-color: var(--color-pastel-pink);
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.tilmelding-input {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 540px;
    width: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
}

.tilmelding-input__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tilmelding-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.calender-frame{
  position: relative;
  display: inline-block;
}

.october-calender{
    display: block;
    width: 100%;
}

.calender-arrows{
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 8%;
    right: 5%;
    justify-content: space-between;
    align-items: center;
 
}

.calender-arrow-back__icon{
position: absolute;
right: 60px;
cursor: pointer;

}

.calender-arrow-next__icon{
    position: absolute;
    right: 0;
    cursor: pointer;
   
}

.vælg-internat-box {
    display: flex;
    flex-direction: row;
    position: relative;
}

.internat-box {
    display: flex;
    height: 20px;
    padding: 10px 0px;
    align-items: center;
    background-color: var(--color-white);
    border-radius: 2px 0px 0px 2px;
    width: 100%;
}

.internat-box__text {
    color: var(--color-grey);
    padding: 10px;
}

.button-arrow-small {
    background-color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 0px 2px 2px 0px;

}

.button-arrow-small__icon {
    width: 20px;
    height: 25px;
}


.info-boks {
    display: flex;
    border: none;
    border-radius: 2px;
    background-color: var(--color-white);
    color: var(--color-grey);
    height: 40px;
    padding: 0px 10px 0px 10px;
}

.tilmeld {
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.spørgsmål-text {
    text-align: center;
}


/* =============== Style for HTML JS drop down animalhome list =============== */

.drop-down-animalhome-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 40px;
    z-index: 100;
}

.drop-down-animalhome-list p {
    padding: 15px;
    border-bottom: 2px solid var(--color-light-blue);
    background-color: var(--color-blue);
    color: var(--color-light-blue);
}

.drop-down-animalhome-list p:last-child {
    border-bottom: none;
    border-radius: 0px 0px 8px 8px;
}

.drop-down-animalhome-list p:hover {
    color: var(--color-blue);
    background-color: var(--color-light-coral-red);
}

/* Hvis der ikke er mellemrum mellem classes så skal den have begge classes på samme element */
.internat-box.internat-box--selected .internat-box__text {
    color: var(--color-blue);
}



/* =============== Block: Tilmeld - desktop =============== */

.tilmeld-desktop {
    display: none;
    padding: 48px 24px;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    box-sizing: border-box;

    background: var(--color-pastel-pink);

    .tilmeld-desktop__formular {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
        max-width: 1200px;
        width: 100%;
    }

    .tilmeld-desktop__text-mail {
        text-align: center;
    }
}

/* ===== inputs-calendar-desktop (input felterne og tom kalender) */

.inputs-calendar-desktop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;

    .input-fields-desktop {
        display: flex;
        max-width: 640px;
        height: 334px;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
        margin-right: 40px;

        p {
            text-wrap: nowrap;
        }
    }

    .calendar-empty-box-desktop {
        display: flex;
        width: 386px;
        height: 334px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;

        border-radius: 2px;
        background: #F5F5F5;
    }
}


.vælg-internat-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;

    p {
        width: 115px;
    }
}


.vælg-internat-input-desktop {
    display: flex;
    align-items: center;
    max-width: 500px;
    flex: 1 1 auto;

    .vælg-internat-input-desktop__input {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 0px;
        max-width: 450px;
        flex: 1 1 auto;

        border-radius: 2px 0px 0px 2px;
        background: #F5F5F5;
    }

    .vælg-internat-input-desktop__input p {
        padding-left: 24px;
    }

    .vælg-internat-input-desktop__arrow-button {
        border-radius: 0px 2px 2px 0px;
        background: var(--color-blue);
        padding: 16px 19px;
    }
}


.text-input-field-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;

    p {
        width: 115px;
    }

    .text-input-field-desktop__input-box {
        display: flex;
        align-items: center;
        padding: 17px 0px;
        gap: 10px;

        border-radius: 2px;
        background: #F5F5F5;
        max-width: 500px;
        flex: 1 1 auto;
    }
}


/* =============== Block: støt og læs mere mobile =============== */
.støt-anden-måde {
    display: none;
}

.støt-og-læs {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white)
}

.støt-box {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.støt-box__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 540px;
}

.støt-box__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.støt-btn {
    display: flex;
    width: 180px;
    padding: 10px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.find-info-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.læs-mere {
    display: flex;
    width: 180px;
    padding: 10px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.læs-mere-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    text-decoration: none;

    /* Button style */
    display: flex;
    width: 100%;
    max-width: 125px;
    padding: 10px;
    justify-content: center;
    align-items: center;

    border-radius: 22px;
    background-color: var(--color-light-blue);
}


/* ========================================================================================== */

/* =======================MEDIA QUERIES======================= */

@media only screen and (min-width: 901px) {

    .header {
        display: none;
    }

    .dropdown-boxes {
        display: none;
    }

    /* =============== section | banner =============== */

    .banner {
        display: none;
    }

    .banner-desktop {
        display: flex;
    }

    /* =============== section | Introduction =============== */

    .introduction__content {
        display: none;
    }

    .introduction-desktop {
        display: flex;
        padding: 48px 0px;
        flex-direction: column;
        gap: 72px;
    }

    .introduction-desktop__header {
        display: flex;
        text-align: center;
        font-size: 25px;
    }

    .introduction-desktop__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* =============== section | forventning og praktisk =============== */

    .forventning-og-praktisk {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 48px;
    }

    .forventning-og-praktisk-boks {
        display: flex;
        background-color: var(--color-light-blue);
        max-width: 1200px;
        border-radius: 2px;
        margin-bottom: 48px;
    }

    .forventning-og-praktisk__content {
        display: flex;
        padding: 24px 48px;
    }

    .forventning__content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .forventning__text {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .praktisk__content {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-left: 50px;
    }

    .praktisk__text {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .points {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .point-dot {
        display: flex;
        padding: 7px 0px;
    }

    /* =============== section | Tilmelding =============== */

    .tilmelding {
        display: none;
    }

    .tilmeld-desktop {
        display: flex;
    }

    /* =============== section | støt og læs =============== */

    .støt-og-læs {
        padding: 48px 24px;
    }

    .læs-mere-button {
        max-width: 180px;
    }

    .støt-anden-måde {
        display: flex;
        padding-bottom: 30px;
        flex-direction: column;
        align-items: center;
    }

    .støt-box__text {
        display: flex;
        align-items: center;
        text-align: center;
    }
}