:root {
    --bst-eforms-header-font-size: 1.125rem;
    --bst-eforms-common-font-size: 1rem;
}

.bst-eforms {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #0d0d0d;
}

@media only screen and (min-width: 768px) {
    .bst-eforms {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/**
 * SECTION MENU
 * 
 */
.bst-eforms__menu {
    margin: 24px;
    border-radius: 4px;
    background-color: var(--ast-global-color-3, var(--wp--preset--color--secondary, #f1f5fb));
}

.bst-eforms__list-title {
    font-size: var(--bst-eforms-header-font-size) !important;
    font-weight: 500 !important;
    margin: 24px;
}

.bst-eforms__list-navigation {
    list-style: none;
    margin: 24px;
    padding: 0px;
}

.bst-eforms__list-item {
    font-size: var(--bst-eforms-common-font-size);
    font-weight: 400;
    display: flex;
    align-items: center;
}

.bst-eforms__list-item:hover,
.bst-eforms__list-item:focus {
    font-weight: 500;
    text-decoration: underline;
}

.bst-eforms__list-active-mark {
    display: none;
    background-color: var(--ast-global-color-2, var(--wp--preset--color--primary, #394a80));
    border-radius: 8px;
    margin-right: 8px;
    width: 4px;
    height: 22px;
    pointer-events: none;
}

.bst-eforms__list-item--active .bst-eforms__list-active-mark {
    display: block;
}

.bst-eforms__list-text {
    pointer-events: none;
}

@media only screen and (min-width: 768px) {
    .bst-eforms__menu {
        margin: 24px;
        background-color: var(--ast-global-color-3, var(--wp--preset--color--secondary, #f1f5fb));
        min-width: 230px;
        width: 25%;
        max-height: fit-content;
        height: fit-content;
    }
}

/* !SECTION */

/** 
 * Content
 */
.bst-eforms__content {
    width: 100%;
}

.bst-eforms__section {
    max-width: 100%;
    margin: 24px;
}

.bst-eforms__section--hidden {
    display: none;
}

@media only screen and (min-width: 768px) {
    .bst-eforms__section {
        margin-left: 0px;
    }
}

/**
 * SECTION POST
 * 
 */
.bst-eforms__post {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/**
 * SECTION POST HEADER
 * 
 */
.bst-eforms__post-header {
    display: flex;
    justify-content: space-between;
    padding: 17px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    column-gap: 10px;
}

.bst-eforms__post-title {
    font-size: var(--bst-eforms-common-font-size);
    pointer-events: none;
}

.bst-eforms__post-arrow {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 12px 6px;
    pointer-events: none;
}

.bst-eforms__post-header[aria-expanded="true"] .bst-eforms__post-arrow {
    background-image: url("../../images/arrowUp.svg");
}

.bst-eforms__post-header[aria-expanded="false"] .bst-eforms__post-arrow {
    background-image: url("../../images/arrowDown.svg");
}

/* !SECTION */

/**
 * SECTION POST CONTENT
 * 
 */
.bst-eforms__post-content {
    background-color: var(--ast-global-color-3, var(--wp--preset--color--secondary, #f1f5fb));
    height: fit-content;
    transition: 1s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    margin-top: 0px;
}

.bst-eforms__post-content--collapsed {
    height: 0px;
    overflow: hidden;
}

.bst-eforms__post-field {
    width: 100%;
}

.bst-eforms__post-field--last {
    padding-bottom: 16px;
}

.bst-eforms__post-label {
    margin-top: 16px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: var(--bst-eforms-common-font-size);
    color: #0d0d0d;
    font-weight: 500;
}

.bst-eforms__post-field a.bst-eforms__post-link {
    font-size: var(--bst-eforms-common-font-size);
    margin-left: 20px;
    margin-right: 20px;
    color: var(--wp--preset--color--contrast, black);
    margin-bottom: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    max-width: 80%;
}

.bst-eforms__post-desc {
    font-size: var(--bst-eforms-common-font-size);
    margin-left: 20px;
    margin-right: 20px;
}

/* !SECTION */
/* !SECTION */
