/* stylelint-disable  no-descending-specificity */

.form-group.is-hidden,
.lulububu-field > .form-group > span.float-right
{
    display: none;
}

.multiselect-bolt-wrapper
{
    position: relative;
}

.multiselect-bolt-wrapper > .require-select
{
    position:       absolute;
    top:            0;
    left:           0;
    width:          100%;
    height:         100%;
    border:         0;
    margin:         0;
    padding:        0;
    color:          transparent;
    background:     transparent;
    pointer-events: none;
}

.lulububu-input-group,
.lulububu-input-subgroup
{
    display:   flex;
    flex-flow: row wrap;
    gap:       15px;
}

.lulububu-input-group.lulububu-input-group-column
{
    flex-direction: column;
}

.lulububu-input-group label
{
    flex:  1;
    width: 100%;
}

.lulububu-input-group label.lulububu-input-large
{
    flex: 2.5;
}

.lulububu-input-group label.lulububu-input-social
{
    min-width: calc(50% - 15px);
}

@media (min-width: 768px)
{
    .lulububu-input-group label.lulububu-input-social
    {
        min-width: calc(25% - 15px);
    }
}

/* stylelint-disable selector-class-pattern */
.lulububu-input-group label .form--helper
{
    font-size:   12px;
    font-weight: normal;
}

.lulububu-input-group label.lulububu-input-large input,
.lulububu-input-group .lulububu-field .multiselect__tags
{
    height: 38px;
}

.lulububu-input-group .lulububu-field .multiselect__select::before
{
    top: 50%;
}

.lulububu-input-group .lulububu-field .multiselect__tags .multiselect__placeholder
{
    padding-top: 0;
}

/* stylelint-enable selector-class-pattern */

.lulububu-input-group > label > span,
.lulububu-input-group .lulububu-select label
{
    display:       inline-block;
    color:         #999999;
    font-size:     12px;
    margin-bottom: 0.5rem;
}

.lulububu-input-group .lulububu-select > div > span
{
    display: none;
}

/* Mailer Extension */

/* stylelint-disable selector-class-pattern */
.mailer-log .listing__row
{
    width: 100%;
}

.mailer-log .listing--container
{
    flex-direction: column;
}

.mailer-log .listing--container .html-body
{
    position:         relative;
    background-color: #ffffff;
}

.mailer-log .listing--container .html-body span
{
    position: relative;
    width:    100%;
    height:   900px;
    display:  inline-block;
    padding:  .4rem 1rem .5rem .625rem;
}

.mailer-log .listing--container .html-body span iframe
{
    position: absolute;
    top:      0;
    left:     0;
    bottom:   0;
    right:    0;
    width:    100%;
    height:   100%;
}

.collection-item-title > span
{
    display:   block;
    font-size: 11px;
}

.dropdown-menu[aria-labelledby='content-dropdownMenuButton'],
.dropdown-menu[aria-labelledby='default_blocks_bottom-dropdownMenuButton'],
.dropdown-menu[aria-labelledby='default_blocks_top-dropdownMenuButton']
{
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 90vh;
    margin-top: 5vh;
}

.dropdown-menu[aria-labelledby='content-dropdownMenuButton'] > input,
.dropdown-menu[aria-labelledby='default_blocks_bottom-dropdownMenuButton'] > input,
.dropdown-menu[aria-labelledby='default_blocks_top-dropdownMenuButton'] > input
{
    position:      sticky;
    top:           0;
    width:         calc(100% - 20px);
    margin-left:   10px;
    margin-right:  10px;
    margin-bottom: 20px;
}

.dropdown-menu[aria-labelledby='content-dropdownMenuButton'] > .dropdown-item,
.dropdown-menu[aria-labelledby='default_blocks_bottom-dropdownMenuButton'] > .dropdown-item,
.dropdown-menu[aria-labelledby='default_blocks_top-dropdownMenuButton'] > .dropdown-item
{
    padding-bottom: 30px;
}

.dropdown-menu[aria-labelledby='content-dropdownMenuButton'] > .dropdown-item.hide,
.dropdown-menu[aria-labelledby='default_blocks_bottom-dropdownMenuButton'] > .dropdown-item.hide,
.dropdown-menu[aria-labelledby='default_blocks_top-dropdownMenuButton'] > .dropdown-item.hide
{
    display: none;
}

.dropdown-menu[aria-labelledby='content-dropdownMenuButton'] > .dropdown-item:not(:last-child),
.dropdown-menu[aria-labelledby='default_blocks_bottom-dropdownMenuButton'] > .dropdown-item:not(:last-child),
.dropdown-menu[aria-labelledby='default_blocks_top-dropdownMenuButton'] > .dropdown-item:not(:last-child)
{
    border-bottom: 1px solid #808080;
}

/* Video Extension */

.lulububu-input-group .editor--label
{
    display: none;
}

/* admin sidebar whitespace fix */
body > div.admin > div.admin__sidebar
{
    height:     fit-content;
    min-height: 100%;
}

body > div.admin > div.admin__sidebar::after
{
    content:    '';
    position:   fixed;
    z-index:    -1;
    height:     100vh;
    top:        0;
    width:      inherit;
    background: #2e3e4d;
}

/* stylelint-enable selector-class-pattern */

/* Make the save card fixed */
#metadata,
#metadata .ui
{
    height: 100%;
}

#metadata .ui .card:first-child
{
    position: sticky;
    z-index:  5;
    top:      60px;
}
