/* ----- Disable text selection ----- */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.calculated-header-height {
    padding-top: calc(var(--header-height) + 8px);
}

.header-height-element {
    min-height: var(--header-height) !important;
    max-height: var(--header-height) !important;
    height: var(--header-height) !important;
}

.main-upper-padding {
    padding-top: calc(var(--header-height) + 1.2rem);
}

@media screen and (min-width: 900px) {
    .main-upper-padding {
        padding-top: calc(var(--header-height) + 6rem);
    }
}

.sticky-navigation-meny {
    position: sticky;
    top: var(--header-height);
}

@media screen and (min-width: 1100px) {
    .sticky-navigation-meny {
        position: sticky;
        top: calc(var(--header-height) + 0.5rem) !important;
    }
}

.hide-scrollbar {
    -ms-overflow-style: none;

    /* IE and Edge */
    scrollbar-width: none;

    /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;

    /* Chrome, Safari and Opera */
}

.container-max-width {
    max-width: 1280px !important;
}

.container {
    max-width: 1280px !important;
}

/* Default styles (applies below the large breakpoint) */
.top-padding {
    padding-top: 52px;
}

/* Media query for the large breakpoint and above */
@media (min-width: 1024px) {
    /* Tailwind's default large breakpoint */
    .top-padding {
        padding-top: 78px;
    }
}

.block-editor__container img {
    height: 400px !important;
    max-width: 100%;
}
