.flexible-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
}

.flexible-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--container-max-width, 100%);

}

/* Flexible box */
.flexible-box {
    position: relative;
    margin: 20px 0;
    padding: 20px;
    flex: 0 1 calc(var(--column-width, 1) * 100%);
    width: calc(var(--column-width, 1) * 100%);
    /*margin: 1em;*/
}

.superadmin-user .flexible-box {
    /*box-shadow: inset 0 0 0 3px #a7ffff80;*/
    /*border: 1px dashed #61d1d6;*/
    transition: all 0.2s;
}

.superadmin-user .flexible-box:hover {
    /*box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9), inset 0 0 0 6px #61d1d6;*/
}

.flexible-box-content {
    overflow: hidden;
}

.flexible-section {
    overflow-x: hidden;
}

.flexible-box.flexible-section {
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 0 1 100%;
}

.elementor-edit-button {
    opacity: 0.5;
    font-weight: bold;
    color: black !important;
    background: #a7ffff;
    font-size: 0.75em;
    padding: 0.75em 1em;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.2s;

    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1000;
}

.elementor-edit-button:hover {
    opacity: 1;
}

.flexible-box:hover .elementor-edit-button {
    /*opacity: 1;*/
}

.ess-block {
    /* Separate blocks via background-color and spacing */
    margin: 1em 0;

}

.ess-cell {
    display: flex;
    border-bottom: 1px solid #cfcfcf;
    border-left: 1px solid #cfcfcf;
    border-right: 1px solid #cfcfcf;
    padding: 0.5em 1em;
}

.ess-cell:nth-child(odd) {
    background-color: hsla(0, 0%, 50.2%, .0705882353);
}

.ess-cell:first-child {
    background-color: #dfdfdf;
}

.ess-cell>div {
    flex: 1;
}

.ess-cell>div:not(:last-child) {
    margin-right: 1em;
    flex: 0.5;
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .flexible-content {
        display: block;
    }

    .flexible-box {
        flex: 0 1 100%;
        /*width: calc(100% - 2em - 2px);*/
        width: 100%;
    }

    .elementor-edit-button {
        position: static;
        display: block;
        margin-top: 1em;
    }

    .elementor-edit-button:hover {
        background: #7fffd4;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    }

    .flexible-box:hover {
        /*box-shadow: inset 0 0 0 3px #a7ffff;*/
    }
}



.info-list-item {
    display: flex;
    align-items: center;
}

.info-list-item strong {
    margin-right: 0.5em;
}

.info-list-item * {
    margin-bottom: 0;
}




.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}



/* Slick */
.slick-dots li button {
    background: var(--e-global-color-primary) !important;
    border-radius: 50% !important;
    transform: scale(0.5);
    opacity: 0.5;
    transition: all 0.2s;
}

.slick-dots li.slick-active button {
    transform: scale(0.75);
    opacity: 1;
}





/* CTA Section mix-blend-mode */
.template-cta-sektion.colored img,
.template-cta-sektion.colored video {
    mix-blend-mode: multiply;
}




/* Shine effect */
/* Basic styling for the wrapper */
.shimmer-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust height as needed */
    background: #f0f0f0;
    /* Background color for the shimmer effect */
    overflow: hidden;
    border-radius: 4px;
    /* Optional: rounded corners */
    z-index: 1000;
    transition: opacity 0.2s;
}

/* Shimmer effect */
.shimmer-wrapper:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #f0f0f0 0%,
            #e0e0e0 50%,
            #f0f0f0 100%);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
    z-index: 2;

    animation-delay: var(--delay, 0s);
}

.shimmer-wrapper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    z-index: 1;
}

/* Animation for shimmer effect */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}





/* Very hacky, but i cant edit cta sektions for some reason */
.flexible-box.template-cta-sektion>*>*>*>.elementor-element.e-con-boxed.e-con.e-child {
    padding-top: 4rem;
    padding-bottom: 4rem;
}