﻿:root {
    --element-highlight-border-width: 3px;
    --column-element-padding: .5rem;
    --max-width: 1200px;
    --sidebar-width: 400px;
    --offcanvas-width: 400px;

    --Background-Primary: #fff;
}

.employee-content {
    scrollbar-width: thin;
    scrollbar-gutter: auto;
    overflow-x: hidden !important;
}

.employee-section-wrapper {
    padding: 0 !important;
    height: 100vh;
}

.employee-section-wrapper.employee-section-wrapper--preview {
    height: 100%;
}


/*******************************/
/*        Pages Preview        */
/*******************************/

.element {
    position: relative;
    outline: 3px solid transparent;
    outline-offset: -3px;
}

.page-element-wrapper .page-element {
    max-width: var(--max-width) !important;
}

.columns-container {
    max-width: calc(var(--max-width) + var(--column-element-padding) * 2) !important;
}

.element[data-elementtypeid="7"] {
    padding: 0 calc(1rem - var(--column-element-padding)) !important;
}

    /*.element[data-elementtypeid="7"]:first-child {
        padding-top: 2rem !important;
    }*/

.page-element-container {
    display: flex;
    /* padding: var(--spacing-xl, 1rem) var(--spacing-xl, 1rem) 6.8125rem var(--spacing-xl, 1rem); */
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    width: 100vw !important;
    max-width: 100% !important;
}

    .page-element-container > .element:first-child {
        padding-top: 2rem;
    }


/* Page Element - Highlight */
.element.element-highlight {
    outline: 3px solid var(--Content-Link-Hover, #0463A7);
}

.element .element-highlight-options-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    flex-shrink: 0;
    z-index: 2;
}

.element-highlight-options-wrapper .element-highlight-options {
    display: inline-flex;
    padding: 6px 9px 6px 9px;
    align-items: flex-start;
    gap: 0.625rem;
    background: var(--Content-Link-Hover, #0463A7);
}

.element-highlight-options > a > i {
    font-size: 1rem;
    color: #fff
}


/* Page Element */
.page-element-container .page-element-wrapper {
    display: flex;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.page-element-wrapper .page-element {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: var(--spacing-xl, 1rem);
    background: rgba(255, 255, 255, 0.72);
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    text-decoration: none;
}

    .page-element-wrapper .page-element.page-element--button {
        padding: .5rem 1rem;
        width: fit-content;
    }

        .page-element-wrapper .page-element.page-element--button .page-element__name {
            color: inherit !important;
            display: flex;
            word-break: break-word;
            text-align: center;
        }

        .page-element-wrapper .page-element.page-element--button .page-element__bottom {
            padding: 0;
        }

.page-element-wrapper object[type="application/pdf"] {
    max-width: 750px;
    width: 100%;
    aspect-ratio: 1 / 1.414;
}

.page-element-wrapper .page-element.page-element--image,
.page-element-wrapper .page-element.page-element--file,
.page-element-wrapper .page-element.page-element--video {
    padding: 0;
    width: 100% !important;
}

    .page-element-wrapper .page-element.page-element--video[data-embedded="true"] {
    }

    .page-element-wrapper .page-element.page-element--image[data-fileuploaded="true"] {
        background: transparent;
        cursor: pointer;
    }

    .page-element-wrapper .page-element.page-element--file[data-fileuploaded="true"],
    .upload-control--file[data-fileuploaded="true"] {
        padding: .5rem !important;
        width: 19rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        align-self: stretch;
        border-radius: .25rem;
        position: relative;
        aspect-ratio: 16 / 9;
        max-height: 100%;
    }

    .page-element-wrapper .page-element.page-element--file[data-fileid][data-fileuploaded="true"] {
        cursor: pointer !important;
    }

.page-element.page-element--file[data-fileuploaded="true"] .page-element__file-image-preview,
.upload-control--file[data-fileuploaded="true"] .page-element__file-image-preview {
    max-height: inherit;
    width: fit-content;
}

    .page-element.page-element--file[data-fileuploaded="true"] .page-element__file-image-preview > img,
    .upload-control--file[data-fileuploaded="true"] .page-element__file-image-preview > img {
        max-width: inherit;
        max-height: inherit;
        border: 1px solid var(--Content-Tertiary, #A2A2A2);
    }

.page-element.page-element--file[data-fileuploaded="true"] .page-element__file-name,
.upload-control--file[data-fileuploaded="true"] .page-element__file-name {
    display: flex;
    padding: 0.125rem 0.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    position: absolute;
    left: 0.25rem;
    bottom: 0.26563rem;
    border-radius: 0.125rem;
    background: var(--Content-Primary, #252525);
    color: var(--Content-Primary-Invert, #FFF);
    font-family: Inter;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.page-element.page-element--file[data-fileuploaded="true"] .page-element__open-file {
    display: flex;
    padding: 0.125rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    border-radius: 0.125rem;
    background: var(--Content-Primary, #252525);
}

    .page-element.page-element--file[data-fileuploaded="true"] .page-element__open-file > i {
        display: flex;
        flex-shrink: 1;
        font-size: 1rem;
        color: var(--Content-Primary-Invert, #FFF);
    }

.page-element-wrapper .page-element.page-element--image .page-element__image-placeholder,
.page-element-wrapper .page-element.page-element--file .page-element__image-placeholder,
.page-element-wrapper .page-element.page-element--video .page-element__image-placeholder {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
}

.page-element--image .page-element__image-placeholder > i,
.page-element--file .page-element__image-placeholder > i,
.page-element--video .page-element__image-placeholder > i {
    font-size: 3.5rem;
}

.page-element--image .page-element__image-placeholder > span,
.page-element--file .page-element__image-placeholder > span,
.page-element--video .page-element__image-placeholder > span {
    overflow: hidden;
    color: var(--Content-Primary, #252525);
    text-align: center;
    text-overflow: ellipsis;
    /* Heading M/Strong */
    font-family: Inter;
    font-size: .875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3125rem; /* 150% */
}

    .page-element--image .page-element__image-placeholder > span:first-of-type,
    .page-element--file .page-element__image-placeholder > span:first-of-type,
    .page-element--video .page-element__image-placeholder > span:first-of-type {
        padding: .75rem 0;
        /* Heading M/Strong */
        font-family: "DM Sans";
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.5rem; /* 150% */
    }

.page-element-wrapper.page-element-wrapper-dark .page-element {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
}

.page-element-wrapper.page-element-wrapper-transparent {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

    .page-element-wrapper.page-element-wrapper-transparent .page-element {
        background: none;
    }

    .page-element-wrapper.page-element-wrapper-transparent[data-elementtypeid="2"] .page-element .page-element__bottom,
    .page-element-wrapper.page-element-wrapper-transparent[data-elementtypeid="2"] .page-element .page-element__bottom .page-element__content .mce-content-body {
        margin: 0;
        padding: 0;
    }

.page-element--video-responsive {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    width: 100%;
}


    .page-element--video-responsive iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

.page-element--video > iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.tox .tox-edit-area__iframe {
    background-color: transparent;
}


.page-element > .page-element__top {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.page-element > .page-element__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    align-self: stretch;
    padding: .75rem;
}

.page-element.page-element--border {
    border: 1px solid #DDD;
    /* box-shadow: 0 2px 4px rgba(154,160,185,.05), 0 6px 8px rgba(166,173,201,.2); */
}

.page-element.page-element--icon-only {
    background: none;
    width: auto;
    padding-bottom: 1.4rem;
    backdrop-filter: none !important;
    text-align: center;
    border: none;
}

.page-element--icon-only .page-element__bottom {
    flex-direction: column;
    gap: .25rem;
    padding: .5rem;
}

.page-element--icon-only .page-element__icon-wrapper {
    padding: 0;
    border-radius: .5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #DDD;
}

.page-element--icon-only .page-element__icon {
    width: 3rem !important;
    height: auto !important;
    aspect-ratio: 1/1;
    font-size: 2.125rem !important;
}

.page-element__top .page-element__thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #eee;
    flex: 1 0 100%;
}

.page-element__thumbnail > img {
    width: 100%;
    aspect-ratio: 2 / 1;
    max-height: calc(var(--max-width) / 2);
    object-fit: cover;
}

.page-element .page-element__icon-wrapper {
    display: flex;
    align-items: flex-start;
}


.page-element__icon-wrapper .page-element__icon {
    display: flex;
    width: 2.25rem;
    height: 2.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.3125rem;
    border-radius: 0.5rem;
    border: 1px solid var(--Content-Understated-Inverted, #DDD);
    background: var(--Background-Primary, #FFF);
    font-size: 1.55rem;
}

.page-element__icon:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    overflow: hidden;
}

.page-element__icon > img {
    max-width: 100%;
    width: 100%;
}

.page-element .page-element__content {
    display: flex;
    align-items: center;
    flex: 1 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.page-element__content .page-element__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    color: var(--Content-Primary);
    font-family: "DM Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
    position: relative;
}

.page-element--icon-only .page-element__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    color: var(--Content-Primary);
    font-family: "DM Sans";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem; /* 150% */
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    width: 90%;
    font-size: 1rem;
    position: absolute;
    top: calc(66px + var(--column-element-padding));
}

.page-element__name.page-element__name--icon-only {
    color: white;
    mix-blend-mode: difference;
}

.page-element__name.page-element__name--icon-only-layer-2 {
    color: black;
    mix-blend-mode: hue;
}

.page-element__name.page-element__name--icon-only-layer-3 {
    color: black;
    opacity: .37;
}

.page-element__content .page-element__name a {
    text-decoration: underline !important;
    color: var(--Content-Link-Hover) !important;
    font-weight: 700;
    display: flex;
    word-break: break-word;
}

.page-element__content .page-element__indicator {
    font-size: 1.25rem;
    color: #A2A2A2;
}


/* Text Element */
.page-element__content .pages__editable-text-element {
    outline: none;
    margin: .5rem;
    word-break: break-word;
}

    .page-element__content .pages__editable-text-element > p {
        margin: .5rem 0;
    }


/* Back Button for employee view */
.page-back-button {
    position: absolute;
    display: flex;
    background: rgba(var(--Blue-Paynes-Gray), .4);
    border-radius: .5rem;
    gap: .5rem;
    padding: .5rem 1rem;
    align-items: center;
    top: 1rem;
    left: calc(1rem + var(--desktop-nav-width));
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    font-family: "DM Sans";
}


.pages__wrapper {
    background: #fff;
    border-top-left-radius: 14px;
    height: inherit;
    display: flex;
    flex-direction: column;
}

.pages__wrapper-header, .pages__wrapper-content {
    display: flex;
}

.pages__wrapper-content {
    height: inherit;
    overflow: hidden;
}

.pages__right {
    border-right: 1px solid #cecece;
    width: 25%;
    max-width: var(--sidebar-width);
    min-width: var(--offcanvas-width);
}

.pages__left {
    width: 75%;
    max-width: calc(100% - var(--offcanvas-width));
    min-width: calc(100% - var(--sidebar-width));
}

.pages__full-width {
    width: 100% !important;
    max-width: 100%;
}


.pages__angles {
    border: 1px solid #cecece;
    font-size: 1.25rem;
    padding: 0 6px;
}

    .pages__angles:focus {
        box-shadow: none;
    }

.pages__header {
    padding: 1rem 1rem 0 1rem;
}


    .pages__header .main-action {
        margin-right: .2rem !important;
    }



.pages__search-wrapper {
    border-bottom: 1px solid #cecece;
    padding: 0 0 1rem 0;
}

.pages__search {
    padding: 0 1rem;
}

.pages__page-publish-options-search {
    padding-bottom: 0.5rem;
}

    .pages__search input, .pages__page-publish-options-search input {
        display: flex;
        height: 32px;
        min-height: 32px;
        padding: 5px 5px 5px 7px;
        align-items: center;
        gap: var(--Border-radius-surface-overlay, 8px);
        align-self: stretch;
        border-left-width: 0;
    }

    .pages__search .input-group-text, .pages__page-publish-options-search .input-group-text {
        background-color: #fff;
        color: #777777;
        padding-right: 0rem;
    }

    .pages__search .form-control:focus, .pages__page-publish-options-search .form-control:focus {
        border-color: #ced4da;
        box-shadow: none;
    }

.pages__page-header {
    border-bottom: 1px solid #cecece;
    display: flex;
    padding: 1rem;
    align-items: center;
}

.pages__btn-gray {
    background-color: #f5f5f5;
    color: rgba(var(--Blue-Paynes-Gray), 1);
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
}

.pages__page-name {
    display: flex;
    margin-right: 1rem;
    color: var(--Black-Dark);
    font-family: DM Sans;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.75px;
    align-items: center;
    align-self: stretch;
    width: fit-content;
}

.pages__page-name-input {
    border: none;
    border-bottom: 1px solid var(--bg-container-DK, #D9D9D9);
    outline: none !important;
    width: 12.5rem;
    font-weight: 700;
}


/* Pages - Switch Control */

.pages__switch-control-wrapper {
    display: flex;
    width: fit-content;
    border-radius: .25rem;
    background: var(--bg-container-LT, #F3F3F3);
    overflow: hidden;
    margin-top: .5rem;
}

.pages__switch-control {
    display: flex;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        border-radius: 0.25rem;
        background: inherit;
        width: inherit;
}

    .pages__switch-control .pages__switch-control-option {
        display: flex;
        padding: 0.3125rem 0.25rem;
        justify-content: center;
        align-items: center;
        gap: 0.625rem;
        flex: 1 0 0;
        border-radius: .25rem;
        border: 1px solid transparent;
        background: inherit;
        color: #A2A2A2;
        transition-property: background, border, color;
        transition-duration: .3s;
        transition-timing-function: ease-out;
    }

    .pages__switch-control .pages__switch-control-option.active {
        border: 1px solid var(--bg-container-DK, #D9D9D9);
        background: var(--Content-Primary-Invert, #FFF);
        color: #252525;
    }

/* Offcanvas Image Rounding */
.pages__switch-control.pages__switch-control--image-rounding .pages__switch-control-option > i {
    width: 1.125rem;
    aspect-ratio: 1/1;
    height: auto;
    transition: border-color .3s ease-out;
}

.pages__switch-control.pages__switch-control--image-rounding .pages__switch-control-option > i {
    border-color: #A2A2A2;
}

.pages__switch-control.pages__switch-control--image-rounding.active .pages__switch-control-option > i {
    border-color: #252525;
}

.pages__switch-control.pages__switch-control--image-rounding .pages__switch-control-option[data-rounding="square"] > i {
    border-top: 2px solid;
    border-left: 2px solid;
}

.pages__switch-control.pages__switch-control--image-rounding .pages__switch-control-option[data-rounding="round"] > i {
    border-radius: 0.5rem 0rem 0rem 0rem;
    border-top: 2px solid;
    border-left: 2px solid;
}

/* Offcanvas Columns Alignment */
.pages__switch-control.pages__switch-control--columns-alignment .pages__switch-control-option > i {
    font-size: 1.375rem;
}

/* Pages Builder Device Type */
.pages__switch-control.pages__switch-control--device-type .pages__switch-control-option {
    width: 2.125rem;
    height: auto;
    aspect-ratio: 1/1;
    padding: 0;
}

.pages__switch-control.pages__switch-control--device-type .pages__switch-control-option > i {
    font-size: 1.125rem;
}


/* Pages Preview Container*/

.pages__preview {
    max-height: 100%;
    overflow: hidden;
    transition: margin-right .3s ease-out;
}

.pages__pages {
    padding: .5rem;
    flex-grow: 1;
    position: relative;
    overflow: auto;
    max-height: 100%;
}

    .pages__pages .pages__page {
        display: flex;
        color: var(--Content-Primary);
        /* Heading L/Regular */
        font-family: "DM Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 27px; /* 150% */
        height: 46px;
        align-items: center;
        align-self: stretch;
        border-radius: 8px;
        padding: 8px;
        cursor: pointer;
        align-content: center;
    }

        .pages__pages .pages__page.active {
            background-color: var(--Background-Secondary-Hover);
        }

        .pages__pages .pages__page > div:first-child {
            padding-right: .5rem;
        }

        .pages__pages .pages__page > div:nth-child(2) {
            flex-grow: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .pages__pages .pages__page > div:last-child {
            text-align: center;
            flex-shrink: 0;
            flex-basis: 32px;
        }

            .pages__pages .pages__page > div:last-child .fa-regular {
                font-size: 1.5rem;
            }

            .pages__pages .pages__page > div:last-child > a {
                display: inline-block;
                height: 100%;
                width: 100%;
            }


        .pages__pages .pages__page .collapsible, .pages__pages .pages__page .collapsible-dummy {
            display: inline-block;
            width: 14px;
        }

            .pages__pages .pages__page .collapsible::before {
                font-family: 'Font Awesome 6 Pro';
                font-size: 1em;
                font-weight: 100;
                content: "\f105";
                padding-top: 4px;
                display: inline-block;
            }

            .pages__pages .pages__page .collapsible.show::before {
                font-family: 'Font Awesome 6 Pro';
                font-size: 1em;
                font-weight: 100;
                content: "\f107";
                display: inline-block;
            }


            .pages__pages .pages__page .collapsible:hover {
                cursor: pointer;
            }

    .pages__pages .pages__page-status {
        display: flex;
        padding: 0px 8px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 8px;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px; /* 150% */
        white-space: nowrap;
    }

        .pages__pages .pages__page-status.unpublishededits {
            background: var(--Backdround-Notice, #FFF);
            color: var(--Content-Notice-Bold);
        }

        .pages__pages .pages__page-status.draft {
            background: var(--Background-Container-DK, #FFF);
            color: var(--Content-Secondary);
        }

        .pages__pages .pages__page-status.published {
            background: var(--Background-Positive, #FFF);
            color: var(--Content-Positive);
        }

.pages__page-menu, .pages__page-template-menu {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--Background-Container-DK);
    background: var(--Content-Primary-Invert);
    z-index: 1050;
}

    .pages__page-menu li, .pages__page-template-menu li {
        padding: 8px;
    }

        .pages__page-menu li > a, .pages__page-template-menu li > a {
            color: var(--Content-Primary);
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 21px; /* 150% */
            text-decoration: none;
            height: 100%;
            width: 100%;
            display: inline-block;
        }

            .pages__page-menu li > a > i, .pages__page-template-menu li > a > i {
                color: rgba(var(--Blue-Paynes-Gray), 1);
                font-size: 18px;
                margin-right: 0.5rem;
            }

.pages__add {
    position: relative;
    background-color: var(--Content-Primary);
    height: 4px;
    width: 100%;
}


    .pages__add .pages__add-icon {
        color: var(--Content-Primary);
        font-size: 1.5rem;
    }

        .pages__add .pages__add-icon > a {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            border-radius: 50%;
            display: flex;
        }


.pages__add-toolbar {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    position: absolute;
    bottom: 1rem;
    bottom: -20%;
    transition: bottom .3s ease-out;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

    .pages__add-toolbar .pages__button-container {
        display: flex;
        padding: 1rem;
        justify-content: center;
        align-items: stretch;
        gap: 1rem;
        border-radius: 0.5rem;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.32);
        backdrop-filter: blur(8px);
        margin: 0 auto;
        width: fit-content;
        pointer-events: auto;
        z-index: 2;
    }

.pages__button-container .pages__add-button {
    text-decoration: none;
    display: flex;
    padding: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    background: var(--Content-Link-Alt, #396673);
    backdrop-filter: blur(8px);
    transition: background .3s ease-out;
}

    .pages__button-container .pages__add-button:hover {
        background: #4d7581;
    }

    .pages__button-container .pages__add-button:focus {
        background: #61858f;
    }

.pages__add-button .pages__button-icon--section {
    content: url(../Uploads/truhu/square-dashed-circle-plus-icon.svg);
    width: 32px;
}

.pages__add-button .pages__button-icon--content {
    content: url(../Uploads/truhu/add-content-icon.svg);
    width: 26px;
}

.pages__add-button .pages__button-text {
    color: var(--Content-Primary-Invert, #FFF);
    /* Heading L/Regular */
    font-family: "DM Sans";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.6875rem; /* 150% */
}


.pages__offcanvas-element-add {
    width: var(--offcanvas-width);
}

.pages__elements-close {
    background: var(--Content-Primary);
    color: #fff;
    text-align: center;
}

    .pages__elements-close:hover {
        cursor: pointer;
    }

.pages__add-content-options {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: .5rem;
    margin-left: .4rem;
}

    .pages__add-content-options > div {
        padding: 0 .5rem 0 .5rem;
    }

        .pages__add-content-options > div > a {
            color: var(--Content-Secondary, #656565);
            /* Heading S/Regular */
            font-family: "DM Sans";
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 21px; /* 150% */
            text-decoration: none;
        }

            .pages__add-content-options > div > a.active {
                display: flex;
                padding: 2px 8px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                border-radius: 4px;
                background: var(--Bg-Container-Lt, #F3F3F3);
                color: var(--Content-Primary, #252525);
                font-weight: 700;
            }

.pages__template-header {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-top: 1px solid var(--Blue-Gray, #D0D4E4);
    border-bottom: 1px solid var(--Blue-Gray, #D0D4E4);
    background: var(--Bg-Container-Lt, #F3F3F3);
}

    .pages__template-header .collapsible:hover {
        cursor: pointer;
    }

    .pages__template-header .collapsible::before {
        font-family: 'Font Awesome 6 Pro';
        font-size: 1em;
        font-weight: 100;
        content: "\f105";
        padding-top: 4px;
        display: inline-block;
    }

    .pages__template-header .collapsible.show::before {
        font-family: 'Font Awesome 6 Pro';
        font-size: 1em;
        font-weight: 100;
        content: "\f107";
        display: inline-block;
    }


.pages__elements-search {
    display: flex;
    padding: 0 12px 12px 12px;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid #cecece;
}

    .pages__elements-search input {
        height: 30px;
        min-height: 30px;
        padding: 5px 5px 5px 7px;
        align-items: center;
        gap: 8px;
        align-self: stretch;
        border-radius: 4px;
        border-left: 0;
    }

        .pages__elements-search input:focus {
            border-color: #ced4da;
            box-shadow: none;
        }

    .pages__elements-search .input-group-text {
        background-color: #fff;
        color: #777777;
        padding-right: 0rem;
    }

.pages__elements, .pages__page-templates {
    background: #fff;
    padding-left: 0;
    margin-top: 1rem;
    width: 100%;
}

.pages__elements {
    display: flex;
    padding: 1rem .5rem;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: .5rem;
    margin-top: 0;
}

.pages__elements-element,
.pages__page-templates > li {
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.pages__elements-element {
    padding: .5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--bg-active, #DEEFF5);
    background: var(--bg-default, #F4FBFF);
    margin: 0 .5rem;
}

.pages__elements-element:hover,
.pages__page-templates > li:hover {
    background-color: var(--Background-Secondary-Hover);
    cursor: pointer;
}

.page-element-container .pages__elements-element,
.page-element-container .pages__elements-element:hover,
.pages__elements-element.sortable-ghost {
    background-color: rgba(255, 255, 255, .72);
    border: 1px solid #DDD;
}

.pages__elements-element > i:first-child {
    font-size: 1.625rem;
    padding: 0;
    color: #88A3AB;
}

.pages__elements-element > div:nth-child(2),
.pages__page-templates > li > div:first-child {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    border: 1px solid var(--Content-Understated-Inverted);
    background: var(--Background-Primary);
    font-size: 1.5rem;
    color: rgba(var(--Blue-Paynes-Gray), 1);
}

.pages__elements-element > div:nth-child(2) {
    background-color: #fff;
}

.pages__elements-element > div:last-child,
.pages__page-templates > li > div:nth-child(2) {
    flex-grow: 1;
}

.pages__page-templates > li > div:last-child {
    font-size: 1.5rem;
}

.pages__elements-element > div > h1,
.pages__page-templates > li > div > h1 {
    color: var(--Content-Primary);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 21px;
    text-decoration: none;
    margin-bottom: 0;
}

.pages__elements-element > div > div,
.pages__page-templates > li > div > div {
    color: var(--Content-Tertiary);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}


.pages__offcanvas-element {
    width: var(--offcanvas-width);
}

    .pages__offcanvas-element .offcanvas-header {
        display: flex;
        padding: 16px;
        align-items: center;
        gap: 16px;
        align-self: stretch;
        border-bottom: 1px solid var(--Blue-Gray);
    }

        .pages__offcanvas-element .offcanvas-header h5 {
            color: var(--Black-Dark);
            /* Heading L/Strong */
            font-family: "DM Sans";
            font-size: 18px;
            font-style: normal;
            font-weight: 700;
            line-height: 27px; /* 150% */
        }

    .pages__offcanvas-element .offcanvas-body a {
        color: rgba(var(--Content-Link), 1);
    }

    .pages__offcanvas-element .offcanvas-body .form-group-sm label {
        margin-right: .25rem;
    }


    .pages__offcanvas-element .offcanvas-body .form-group-sm input,
    .pages__offcanvas-element .offcanvas-body .form-group-sm select,
    .pages__offcanvas-element .offcanvas-body .form-group-sm .btn-group,
    .pages__page-settings-modal .form-group-sm .btn-group {
        margin-top: .25rem;
    }


.form-group-sm a:not(.btn-primary) {
    color: rgba(var(--Content-Link), 1) !important;
    text-decoration: underline !important;
}

.form-group-sm a:hover:not(.btn-primary) {
    color: rgba(var(--Content-Link), .75) !important;
    text-decoration: none !important;
}

.pages__offcanvas-element .offcanvas-body .form-group-instructions, .pages__modal .form-group-instructions {
    color: var(--Neutral-Placeholder-Text);
    /* Text S/Regular */
    font-family: Inter;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.pages__page-settings-modal .form-group-instructions {
    color: var(--Neutral-Placeholder-Text);
    /* Text S/Regular */
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px; /* 150% */
}

.pages__page-settings-modal .label-header {
    color: #0D141C;
    /* Heading M/Strong */
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
}

.upload-control {
    margin-top: .25rem;
    border-radius: .25rem;
    border: 1px dashed var(--Neutral-Borders);
    background-color: var(--Bg-Container-Lt);
    color: var(--Content-Secondary);
    /* shadow-sm */
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.02);
    font-size: 2rem;
    min-height: unset !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-control--thumbnail {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2/1;
    height: auto;
}

.upload-control--icon {
    width: 154px;
    aspect-ratio: 1/1;
    height: auto;
}

.upload-control--icon-preview {
    width: 60px;
    aspect-ratio: 1/1;
    height: auto;
    max-width: 60px;
}

.upload-control--icon-preview-large {
    width: 128px;
    aspect-ratio: 1/1;
    height: auto;
    max-width: 128px;
}

.upload-control--file {
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 2/1;
    height: auto;
    padding: 1rem !important;
}

.upload-control .dz-message {
    overflow: hidden;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.upload-control.dz-drag-hover {
    border-color: var(--Content-Link, #0079D0);
    background-color: var(--Background-Secondary-Pressed, #B9DCF5);
    box-shadow: 0px 1px var(--spacing-xxs, 2px) 0px rgba(0, 0, 0, 0.02);
    color: #0079D0;
}


.pages__offcanvas-seperator {
    border-top: 1px solid var(--Blue-Gray);
    padding-top: 1rem;
}

.pages__offcanvas-element .offcanvas-body .btn-group .btn,
.pages__page-settings-modal .btn-group .btn {
    background-color: #fff;
    border-color: rgba(var(--Content-Link), 1);
    color: rgba(var(--Content-Link), 1);
}

    .pages__offcanvas-element .offcanvas-body .btn-group .btn.active,
    .pages__page-settings-modal .btn-group .btn.active {
        background-color: rgba(132, 194, 238, 0.20);
    }

.pages__elements-selected-color {
    align-items: center;
    display: flex;
}

    .pages__elements-selected-color > div:first-child {
        border-radius: 4px;
        background: var(--Content-Tertiary);
        display: flex;
        padding: 4px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-right: 1rem;
    }

.pages__elements-row-bg-selected-color > div:first-child > div.sp-replacer {
    border: 0;
    background-color: inherit;
}



.pages__columns-preview-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
}

    .pages__columns-preview-wrapper > div {
        align-content: center;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 33%;
        margin-top: 1rem;
    }

.pages__columns-preview-description {
    color: #273444;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
}

.pages__columns-preview {
    border-radius: .5rem;
    border: 1px solid var(--Bg-Container-Dk);
    background: var(--Background-Tertiary);
    display: flex;
    justify-content: space-around;
    padding: .5rem;
    height: 4.5REM;
    width: 5.125REM;
    margin-bottom: .25rem;
}

.pages__columns-preview-vertical {
    flex-direction: column;
}

.pages__columns-preview:hover {
    cursor: pointer;
}

.pages__columns-preview.active {
    border-color: #0074BD;
    border-width: 3px;
}

.pages__columns-preview > div {
    border-radius: 4px;
    background: var(--Content-Tertiary);
    flex-grow: 1;
    margin: 0 2px;
}

.pages__columns-preview-vertical > div {
    min-height: 0;
    margin: 2px 0;
}

.pages__columns-preview-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-auto-rows: 1fr; /* Dynamic row heights */
}

.pages__columns-preview-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-auto-rows: 1fr; /* Dynamic row heights */
}

.pages__columns-preview-four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-auto-rows: 1fr; /* Dynamic row heights */
}

    .pages__columns-preview-two-columns > div, .pages__columns-preview-four-columns > div, .pages__columns-preview-three-columns > div {
        display: flex;
        margin: 2px 2px;
        min-height: 0;
    }

.pages__icon-library {
    display: flex;
    flex-wrap: wrap;
    height: 300px;
    overflow-y: scroll;
    scrollbar-color: #cecece;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    margin-top: 1rem;
}

    .pages__icon-library > div, .pages__icon-selected {
        align-content: center;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin: 0 1rem 1.25rem 0;
        border-radius: 8px;
        border: 1px solid var(--Bg-Container-Dk);
        background: var(--Background-Tertiary);
        height: 60px;
        width: 60px;
        overflow: hidden;
    }

        .pages__icon-library > div:hover {
            cursor: pointer;
        }

.pages__icon-library-icon.selected {
    border: 2px solid #0079D0;
}

.pages__icon-library > div > i, .pages__icon-selected > i {
    color: rgba(var(--Blue-Paynes-Gray), 1);
    font-size: 1.5rem;
}

.pages__view-mode-top-navigation {
    align-items: center;
    display: flex;
    justify-content: end;
}

.pages__autosaved {
    color: var(--Content-Secondary, #656565);
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
}

.pages__undo-redo {
    display: flex;
    align-items: center;
    margin: 0 3rem;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0px 3.272px 4.908px -1.636px rgba(16, 24, 40, 0.10);
}

    .pages__undo-redo > div {
        display: flex;
        padding: 4px 16px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        align-self: stretch;
        border-bottom: 1px solid var(--Bg-Container-Dk);
        background: var(--Content-Primary-Invert);
        font-size: 1rem;
        border-radius: 4px;
    }

        .pages__undo-redo > div:first-child {
            border-right: 1px solid var(--Bg-Container-Dk);
        }

        .pages__undo-redo > div > a {
            color: var(--Blue-Paynes-Gray);
            padding: 0;
        }

            .pages__undo-redo > div > a.disabled {
                color: var(--Blacks-Battleship-Gray) !important;
            }

.pages__radio-button-wrapper {
    display: flex;
    align-items: center;
    align-content: center;
}

    .pages__radio-button-wrapper > div {
        height: 1.75rem;
    }

        .pages__radio-button-wrapper > div:first-child {
            padding-right: 0.5rem;
        }

        .pages__radio-button-wrapper > div > input {
            margin-top: 0.15rem;
            height: 18px;
            width: 18px;
        }

.pages__radio-button-horizontal-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding-top: 0.25rem;
}

    .pages__radio-button-horizontal-group > div {
        padding-right: 1.2rem;
    }

        .pages__radio-button-horizontal-group > div > input {
            padding-right: 0.5rem;
        }

.page-element-container .tox-tinymce {
    border: 0px !important;
}

.pages__offcanvas-element .tox-statusbar, .page-element-container .tox-statusbar {
    display: none;
}

.pages__button-colors {
    display: flex;
    justify-content: space-between;
}

    .pages__button-colors > div > label {
        color: var(--Content-Secondary);
    }

        .pages__button-colors > div > label::after {
            content: none !important;
        }

.pages__page-link-page {
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 4px;
    background: var(--Background-Notice, #FBE898);
    color: var(--Content-Notice-Bold, #453906);
    /* Text S/Regular */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
    margin-bottom: 1rem;
}

.pages__page-publish-options {
}

    .pages__page-publish-options .pages__page-publish-option {
        display: flex;
        color: var(--Content-Primary);
        /* Heading L/Regular */
        font-family: "DM Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px; /* 150% */
        align-items: center;
        justify-content: center;
        align-self: stretch;
        border-radius: 8px;
        padding: 8px;
    }

        .pages__page-publish-options .pages__page-publish-option .custom-checkbox {
            margin-bottom: 20px;
        }

        .pages__page-publish-options .pages__page-publish-option > div:first-child {
            padding-right: .5rem;
        }

        .pages__page-publish-options .pages__page-publish-option > div:nth-child(2) {
            padding-right: .25rem;
        }

        .pages__page-publish-options .pages__page-publish-option > div:last-child {
            flex-grow: 1;
        }

        .pages__page-publish-options .pages__page-publish-option .collapsible, .pages__page-publish-options .pages__page-publish-option .collapsible-dummy {
            display: inline-block;
            width: 14px;
        }

            .pages__page-publish-options .pages__page-publish-option .collapsible::before {
                font-family: 'Font Awesome 6 Pro';
                font-size: 1em;
                font-weight: 100;
                content: "\f105";
                padding-top: 4px;
                display: inline-block;
            }

            .pages__page-publish-options .pages__page-publish-option .collapsible.show::before {
                font-family: 'Font Awesome 6 Pro';
                font-size: 1em;
                font-weight: 100;
                content: "\f107";
                display: inline-block;
            }


            .pages__page-publish-options .pages__page-publish-option .collapsible:hover {
                cursor: pointer;
            }

        .pages__page-publish-options .pages__page-publish-option[data-draft="false"] {
            color: var(--Content-Tertiary);
        }


.pages__page-shortcut-options .pages__page-shortcut-option {
    display: flex;
    color: var(--Content-Primary, #252525);
    /* Heading S/Regular */
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-radius: 8px;
    padding: 4px;
}

    .pages__page-shortcut-options .pages__page-shortcut-option.selected {
        background: var(--Background-Secondary, #F2F9FD);
    }

    .pages__page-shortcut-options .pages__page-shortcut-option .custom-checkbox {
        margin-bottom: 20px;
    }

    .pages__page-shortcut-options .pages__page-shortcut-option > div:first-child {
        padding-right: .5rem;
    }

    .pages__page-shortcut-options .pages__page-shortcut-option > div:nth-child(2) {
        flex-grow: 1;
    }

    .pages__page-shortcut-options .pages__page-shortcut-option > div:last-child {
    }

    .pages__page-shortcut-options .pages__page-shortcut-option .collapsible, .pages__page-shortcut-options .pages__page-shortcut-option .collapsible-dummy {
        display: inline-block;
        width: 14px;
    }

        .pages__page-shortcut-options .pages__page-shortcut-option .collapsible::before {
            font-family: 'Font Awesome 6 Pro';
            font-size: 1em;
            font-weight: 100;
            content: "\f105";
            padding-top: 4px;
            display: inline-block;
        }

        .pages__page-shortcut-options .pages__page-shortcut-option .collapsible.show::before {
            font-family: 'Font Awesome 6 Pro';
            font-size: 1em;
            font-weight: 100;
            content: "\f107";
            display: inline-block;
        }


        .pages__page-shortcut-options .pages__page-shortcut-option .collapsible:hover {
            cursor: pointer;
        }

.pages__page-shortcut-instructions {
    display: flex;
    justify-content: space-between;
    color: var(--Neutral-Placeholder-Text, #6C7684);
    /* Text S/Regular */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.pages__validation {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-left: var(--desktop-nav-width);
}

    .pages__validation > .alert {
        margin: 1rem 2rem 1rem 2rem !important;
        max-width: inherit;
        width: fit-content;
    }

.pages__page-qr-code-wrapper {
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid var(--Bg-Container-Dk, #D9D9D9);
    background: #F5F5F5;
}

    .pages__page-qr-code-wrapper img {
        height: 200px;
        width: 200px;
    }

.page-element-wrapper .page-element--embed {
    border-radius: 0 !important;
}

.embed-video-warning i {
    font-size: 1.25rem;
}

.embed-video-warning p {
    padding: .75rem 0 0 0;
}

.embed-video-warning button {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid var(--Content-Notice-Bold, #453906);
    background: rgba(255, 255, 255, 0.30);
    color: #453906;
}


/* Transitions */
nav#sidebarMenu {
    transition: left .3s ease-out;
}

main.main-wrapper {
    transition: width, margin-top, height .3s ease-out;
}

header.navbar-admin {
    transition: top .3s ease-out;
}


/* Column Element */
.page-element-wrapper .columns-container {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    gap: var(--gap);
    flex: 1 1 100%;
    flex-wrap: wrap;
    --gap: 0rem;
    --cols: 1;

    padding: .5rem 0;
}

/* Modifiers for each column type */
.columns-container.columns-container--1 {
    --cols: 2;
}

.columns-container.columns-container--2, .columns-container.columns-container--3, .columns-container.columns-container--4 {
    --cols: 3;
}

.columns-container.columns-container--5 {
    --cols: 4;
}

.columns-container.columns-container--6 {
    --cols: 6;
}

.columns-container.columns-container--7 {
    --cols: 8;
}

.columns-container .column-wrapper {
    display: flex;
    flex-basis: calc(100% / var(--cols) - var(--gap) / var(--cols) * (var(--cols) - 1));
    max-width: calc(100% / var(--cols) - var(--gap) / var(--cols) * (var(--cols) - 1));
    align-self: stretch;

    margin: -.5rem 0;
}

.columns-container .column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
    width: 100%;

    padding: .5rem 0;
}

.element-highlight .columns-container .column-wrapper {
    border-bottom: 2px dashed rgb(var(--Content-Link));
    border-right: 2px dashed rgb(var(--Content-Link));
}

    .element-highlight .columns-container .column-wrapper:first-child {
        border-left: none;
    }

    .element-highlight .columns-container .column-wrapper:last-child {
        border-right: none;
    }

.columns-container.columns-container--3 .column-wrapper:nth-child(odd), 
.columns-container.columns-container--4 .column-wrapper:nth-child(even) {
    flex: 0 1 calc(33.11% - var(--gap) / 2);
    max-width: calc(33.11% - var(--gap) / 2);
}

.columns-container.columns-container--3 .column-wrapper:nth-child(even), 
.columns-container.columns-container--4 .column-wrapper:nth-child(odd) {
    flex: 1 0 calc(66.445% - var(--gap) / 2);
    max-width: calc(66.445% - var(--gap) / 2);
}

.element__add-content {
    display: flex;
    padding: .5rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex: 1 0 0;
    align-self: stretch;
    color: var(--Content-Primary);
    font-size: 1.5rem;
    border-radius: 0.5rem;
    border: 1px dashed var(--Content-Primary, #252525);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    text-decoration: none;
    margin: var(--column-element-padding);
    max-width: var(--max-width);
}

    .element__add-content[data-iscolumnelement="false"] {
        width: 100%;
        margin: 0 auto;
    }

.element__add-content-column-index {
    color: var(--Background-Base-Pressed, #2B4E57);
    text-align: center;
    font-family: "DM Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    bottom: 4px;
    right: 4px;
}

.column .element {
    padding: var(--column-element-padding);
}

.column__add-content > div {
    background: #fff;
    border-radius: 50%;
    display: flex;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.children-backdrop-blur .element:not(.page-element-wrapper-transparent) > .page-element {
    backdrop-filter: blur(8px);
}


.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.page-element--video-responsive {
    position: relative;
}


/*************************************/
/* Column Section Vertical Alignment */
/*************************************/

/* Page Element */
.element.columns-vertical-alignment-top .columns-container .column {
    justify-content: flex-start;
}

.element.columns-vertical-alignment-center .columns-container .column {
    justify-content: center;
}

.element.columns-vertical-alignment-bottom .columns-container .column {
    justify-content: flex-end;
}


/*************************************/
/* Image Element Sizing              */
/*************************************/

/* Offcanvas Size */
.pages__image-size-slider-wrapper {
    display: flex;
    height: 1.375rem;
    padding: 0.125rem;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
}

    .pages__image-size-slider-wrapper .pages__image-size-slider-value-text {
        color: var(--Content-Tertiary, #A2A2A2);
        /* Text S/Italic */
        font-family: Inter;
        font-size: 0.75rem;
        font-style: italic;
        font-weight: 400;
        line-height: 1.125rem; /* 150% */
    }

.pagges__image-size-slider-wrapper input[type="range"] {
    accent-color: #B9DCF5;
}


/* Image Element */
.image-rounding-square {
    border-radius: unset !important;
}

.modal-dialog.modal-dialog--cropper div#divCropperContainer {
    display: flex;
    justify-content: center;
}

.modal-dialog.modal-dialog--cropper div > img#imgImage {
    max-height: 75vh;
    max-width: 100%;
}

.pages__breadcrumbs {
    display: flex;
    padding: 4px 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.50);
    box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    overflow: hidden;
    color: var(--Content-Primary, #252525);
    text-overflow: ellipsis;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
    width: 100% !important;
    max-width: none !important;
}

/*.pages__breadcrumbs-horizontal div:not(:first-child):not(.ellipsis):before {
    content: " > ";
    font-weight: 400;
}*/

.pages__breadcrumbs-horizontal {
    height: 30px;
    min-height: 30px;
}

    .pages__breadcrumbs-horizontal div.seperator:before {
        content: " > ";
        font-weight: 400;
    }

.pages__breadcrumbs-vertical {
    align-items: start;
    flex-direction: column;
}

.pages__breadcrumbs div {
    cursor: pointer;
    max-width: 160px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.pages__breadcrumbs-vertical {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1000;
}

    .pages__breadcrumbs-vertical div {
        max-width: 100%;
    }

        .pages__breadcrumbs-vertical div:not(:first-child):before {
            font-family: 'Font Awesome 6 Pro';
            font-size: 1em;
            font-weight: 400;
            content: "\e3d6";
            padding-right: 0.5rem;
        }

.pages__breadcrumbs div.active {
    cursor: default !important;
    font-weight: 700;
}

.pages__breadcrumbs div.ellipsis > i {
    vertical-align: bottom;
}

.pages__go-to-new-page {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--Background-Secondary-Hover, #E1F0FB);
    width: auto;
    margin-top: 0.5rem;
    overflow: hidden;
    color: rgb(var(--Content-Link));
    text-overflow: ellipsis;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
}

    .pages__go-to-new-page:hover {
        cursor: pointer;
    }

.pages-section-wrapper {
}


.pages__empty-state-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

    .pages__empty-state-wrapper .pages__empty-state-header {
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(8px);
        color: #000;
        /* Heading L/Regular */
        font-family: "DM Sans";
        font-size: 18px;
        font-style: normal;
        line-height: 27px; /* 150% */
        margin-bottom: 16px;
    }

        .pages__empty-state-wrapper .pages__empty-state-header .pages__emptystate-search input {
            color: var(--Content-Secondary, #656565);
            /* Heading L/Regular */
            font-family: "DM Sans";
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: 27px; /* 150% */
            border: 0;
        }

        .pages__empty-state-wrapper .pages__empty-state-header .pages__emptystate-search .form-control:focus {

            box-shadow: none;
        }


        .pages__empty-state-wrapper .pages__empty-state-header .pages__emptystate-search .input-group-text {
            background-color: #fff;
            color: #777777;
            padding-right: 0rem;
            border: 0;
            font-size: 20px;
        }

    .pages__empty-state-wrapper .pages__empty-state-templates {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        align-self: stretch;
        flex-wrap: wrap;
    }

        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template {
            display: flex;
            padding: 16px;
            justify-content: center;
            align-items: flex-end;
            gap: 16px;
            flex: 0 0 calc(25% - 16px); 
            max-width: calc(25% - 16px);
            box-sizing: border-box;
            aspect-ratio: 1/1;
            border-radius: 8px;
            border: 2px solid var(--Content-Primary-Invert, #FFF);
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%); /*not working*/
            background-repeat: no-repeat;
            background-size: 100% 100%;
            backdrop-filter: blur(8px);
        }


        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch {
            display: flex;
            padding: 16px;
            justify-content: center;
            align-items: flex-end;
            gap: 16px;
            flex: 0 0 calc(25% - 16px);
            max-width: calc(25% - 16px);
            box-sizing: border-box;
            aspect-ratio: 1/1;
            border-radius: 8px;
            border: 2px solid var(--Content-Primary-Invert, #FFF);
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%); /*not working*/
            backdrop-filter: blur(8px);
            background-image: url('../uploads/truhu/template_scratch.png');
            background-repeat: no-repeat;
            background-size: 84%;
            background-position-y: 16px;
            background-position-x: center;
        }

            .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template .pages__empty-state-template-name,
            .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch .pages__empty-state-template-name {
                display: flex;
                padding: 6px 16px 6px 8px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                border-radius: 100px;
                border: 1px solid var(--Bg-Container-Dk, #D9D9D9);
                background: rgba(255, 255, 255, 0.90);
                backdrop-filter: blur(8px);
                color: #000;
                /* Heading S/Strong */
                font-family: "DM Sans";
                font-size: 14px;
                font-style: normal;
                font-weight: 700;
                line-height: 21px; /* 150% */
                white-space: nowrap;
            }

                .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template .pages__empty-state-template-name > i {
                    font-size: 1.25rem;
                }

            .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template:hover,
            .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch:hover {
                cursor: pointer;
            }

            .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch:hover {
                background-color: #fff;
            }

                .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template:hover .pages__empty-state-template-name,
                .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch:hover .pages__empty-state-template-name {
                    background: rgba(0, 0, 0, 0.90);
                    backdrop-filter: blur(8px);
                    color: #fff;
                }


/* Container query for mobile preview */
/* Must keep at bottom of file */
.mobile__wrapper {
    container-name: mobile-wrapper;
    container-type: inline-size;
    height: auto;
    width: 350px;
    aspect-ratio: 9 / 19.5;
    padding: 0;
    margin-top: 1rem;
}

.mobile__wrapper--70vh {
    height: auto;
    max-height: 70vh;
}

@container mobile-wrapper (width <= 390px) {
    .page-element-container {
        --column-element-padding: .5rem;
    }
    /* Spacing for desktop nav bar */
    .employee-header-bar--preview,
    .employee-section-wrapper--preview {
        margin-left: 0;
    }

    .page-element-container .page-element-wrapper {
        padding: var(--column-element-padding);
        width: 100%;
    }

    .page-element-container > .element:first-child {
        padding-top: calc(var(--column-element-padding) * 2);
    }

    .column .column__add-content {
        margin: var(--column-element-padding);
    }

    .element[data-elementtypeid="7"] {
        padding: 0 calc(.5rem - var(--column-element-padding)) !important;
    }

    .element__add-content {
        width: auto !important;
        margin-bottom: var(--column-element-padding) !important;
    }

    .pages__empty-state-wrapper .pages__empty-state-templates {
        flex-direction: column;
    }

        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch, 
        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template {
            flex: 0 0 auto;
            max-width: none;
        }

    .pages__empty-state-wrapper .pages__empty-state-header {
        font-size: 14px;
    }

    .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template,
    .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%), lightgray 50%;
        background-position: 50% 15%;
        justify-content: center;
        height: 65px;
        width: 100%;
    }

    .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch {
        background-image: none;
    }

    .pages__footer-ee {
        flex-direction: column;
        justify-content: center;
        max-width: 100vw !important;
    }

        .pages__footer-ee img.logo {
            margin-bottom: 1rem;
            max-width: 100%;
        }

        .pages__footer-ee .pages__footer-ee-truhu-logo-wrapper {
            justify-content: center;
        }
}

@media (max-width: 768px) {
    .page-element-container .column > .page-element-wrapper {
        padding: var(--column-element-padding) 0;
    }

    .page-element--icon-only .page-element__name {
        top: calc(56px + .5rem + var(--column-element-padding));
    }

    .page-element-container .page-element-wrapper:not(.page-element-wrapper[data-elementtypeid="7"]) {
        max-width: 100vw;
        padding: var(--column-element-padding) !important;
    }

    .element .page-element iframe {
        width: 100vw;
    }

    .element .page-element.page-element--video iframe {
        height: auto;
        aspect-ratio: 16/9;
    }

    .pages__footer-ee {
        flex-direction: column;
        justify-content: center;
        max-width: 100vw !important;
    }

        .pages__footer-ee img.logo {
            margin-bottom: 1rem;
        }

        .pages__footer-ee .pages__footer-ee-truhu-logo-wrapper {
            justify-content: center;
        }


    .pages__empty-state-wrapper .pages__empty-state-templates {
        flex-direction: column;
    }

        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template,
        .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch {
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%), lightgray 50%;
            background-position: 50% 15%;
            justify-content: center;
            height: 65px;
            width: 100%;
        }
}

@media (max-width: 1200px) {
    .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template .pages__empty-state-template-name,
    .pages__empty-state-wrapper .pages__empty-state-templates .pages__empty-state-template-scratch .pages__empty-state-template-name {
        
        font-size: 11px;
       
    }
}

    .page-policies .page-policy div, .page-policies .page-policy p {
        text-align: center;
    }

    .page-policies .page-policy .plan-name {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .page-policies .page-policy .carrier-logo-wrapper img {
        max-width: 100%;
    }

    .pages__element-legacy-text {
        border: 1px solid #cecece;
        padding: .5rem;
    }

    .pages__element-legacy-text-wrapper .main-action {
        display: flex;
        padding: 6px 8px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 4px;
        border: 1px solid rgba(var(--Blue-Paynes-Gray), 1);
        background: rgba(var(--Blue-Paynes-Gray), 1);
        color: #FFF !important;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
        text-decoration: none;
    }

    .pages__element-legacy-text-wrapper img {
        max-width: 100%;
    }

    .pages__element-legacy-text-wrapper .footer-text {
        color: var(--Content-Tertiary, #A2A2A2);
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px; /* 150% */
        margin-top: 0.5rem;
    }