/* Expandable Text Box */
/* ####################################################### */

.wrap-collabsible {
    border: 1px solid #006747;
    background: #fefff9;

    margin-bottom: 1rem;
}

.wrap-collabsible input[type="checkbox"] {
    display: none;
}

.collapsible-header {
    display: block;

    padding: 1rem;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    transition: all 0.25s ease-out;
    transition-delay: 0s;

    margin-bottom:0;

    color: #006747;
}

.left-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.collapsible-header .icon {
    filter: brightness(0) saturate(100%) invert(30%) sepia(46%) saturate(816%) hue-rotate(111deg) brightness(92%) contrast(101%);

    max-height: 1.6rem;
}

.collapsible-header .expand-icon {
    position: relative;
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 500;
    background: #EEEFE4;

    height: 1.4rem;
    width: 1.4rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.collapsible-header .expand-icon span {
    position: absolute;
}

.collapsible-header .expand-icon span:first-child {
    background: #006747;
    left: 20%;
    right: 20%;
    height: 10%;
    top: 45%;
}

.collapsible-header .expand-icon span:last-child {
    background: #006747;
    left: 20%;
    right: 20%;
    height: 10%;
    top: 45%;
    transform: rotate(90deg);
    transition: all 0.2s ease;
    transition-delay: 0.3s;
}

.toggle:checked + .collapsible-header .expand-icon span:last-child {
    left: 50%;
    right: 50%;
    transition-delay: 0s;
}

.lbl {
    display: block;

    font-weight: bold;
    font-size: 1rem;
    text-transform: none;

    /*white-space: nowrap;*/
    margin-left: 1rem;
    margin-right: 1.2rem;

    font-family: 'FuturaMedium', sans-serif;
}



.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.toggle:checked + .collapsible-header + .collapsible-content {
    max-height: 1000vh;
}

.toggle:checked + .collapsible-header {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
    color: #342d2c;
    padding: 0 1.2rem 1.1rem 1.2rem;
}

.collapsible-content .content-inner p {
    margin: 0;
}

.collapsible-content .content-inner th,
.collapsible-content .content-inner td {
    border: 1px solid #ccc;
    padding: 0.8em;
    text-align: left;
    vertical-align: top;
}

.collapsible-content .content-inner th {
    background-color: #efefef;
}

/* ####################################################### */

/* Inline Preview Link */
/* ####################################################### */

.unit-inline-preview-link {
    text-decoration: underline;
    color: #006747;
    transition: none;
}

.unit-inline-preview-link:hover {
    color: #006747;
    text-decoration: underline;
    transition: none;
}

.unit-inline-preview-link:after {
    content: none !important;
    background-color: transparent !important;
    display: none !important;
    transition: none !important;
}

/* ####################################################### */

/* Inline Preview Box */
/* ####################################################### */

.inline-preview-box {
    background: #fff;
    width: 90vw;
    height: 500px;
    max-width: 600px;
    max-height: 500px;
    position:absolute;

    border: 1px solid #006747;
}

.inline-preview-content {
    overflow: auto;
    height: calc(100% - 5rem);
    position:relative;
    padding: 1rem;
}

/*
.inline-preview-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;

    display:flex;
    flex-direction: column;
    justify-content: space-between;
}*/

.inline-preview-footer {
    padding: 1rem 2rem 1rem 2rem;
    display: flex;
    justify-content: end;
    gap: 1rem;
}

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* ####################################################### */

/* Dropdown Filter */
/* ####################################################### */

.filter-bar {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}

.dropdown-filter {
    position: relative;
    display: inline-block;
    width: 350px;
    margin-right: 0.5rem;
    color: #006747;
}

.dropdown-filter .dropdown-label {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #006747;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-filter .dropdown-label img {
    width: 16px;
    filter: brightness(0) saturate(100%) invert(29%) sepia(94%) saturate(561%) hue-rotate(116deg) brightness(86%) contrast(101%);
}

.dropdown-filter .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    z-index: 1;
    padding: 10px;
    box-sizing: border-box;
}

.dropdown-content {
    min-width: 200px;
}

.dropdown-filter .dropdown-content label {
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
}

.dropdown-filter .dropdown-content input[type="checkbox"] {
    margin-right: 10px;
}

.dropdown-filter .search-box {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.dropdown-filter.open .dropdown-content {
    display: block;
}

/* ####################################################### */

.filter-breadcrumb a {
    color: #006747;
    font-size: 1rem;
    text-align: left;
    text-decoration: underline;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}