.selbach-widget {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.selbach-widget-content {
    height: 100%; 
    width: 100%; 
    padding: 16px;
    overflow: auto;
}

.selbach-widget-content form.full-width .fieldSection {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    margin: 8px 0;
}
.selbach-widget-content form.full-width label {
    margin-right: 4px;
}
.selbach-widget-content form.full-width input.text {
    /* border: 0;
    background: transparent;
    border-bottom: 1px solid currentColor; */
    width: 100%;
    min-width: 192px;
    margin: 6px 0px;
    /* min-height: 32px; */
    padding: 6px;
}
.selbach-widget-content form.full-width input.checkbox {
    margin: 4px 0 4px 4px;
    height: 20px;
    width: 20px;
}
.selbach-widget-content form.full-width input[type=submit] {
    width: 100%;
    /* min-height: 32px; */
    padding: 6px;
}
.selbach-widget-content form.full-width select {
    min-height: 32px;
    font-size: 14px;
    padding: 4px;
    margin: 6px 0;
    flex-grow: 1;
}
.selbach-widget-content form .items-container {
    width: 100%;
    min-width: 192px;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
}
.selbach-widget-content form .items-container .item {
    display: flex;
    flex: 1 1 auto;
    margin: 4px;
    max-width: 100%;
}
.selbach-widget-content form .items-container .item > div {
    flex: 1 0 auto;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid currentColor;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.selbach-widget-content form .items-container .item > button {
    width: 42px;
    font-size: 22px;
}

.selbach-widget-group {
    max-width: 100%;
    max-height: 100%;
    overflow: visible;
    display: block;
}

.selbach-widget-group input[type=text],
.selbach-widget-group input[type=email],
.selbach-widget-group input[type=password],
.selbach-widget-group input[type=url],
.selbach-widget-group input[type=search] {
    width: 100%;
    min-width: 192px;
    margin: 6px 0px 12px 0px;
    min-height: 32px;
    padding: 6px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: 14px;
}
.selbach-widget-group label {
    font-size: 15px;
}
.selbach-widget-group button {
    width: 100%;
    min-height: 32px;
    font-size: 14px;
    padding: 6px 16px;
    margin: 6px 0px 12px 0px;
    border: 1px solid currentColor;
    border-radius: 3px;
    background: #7ec3d8;
    color: #fff;
    cursor: pointer;
}
.selbach-widget-group button:hover {
    filter: brightness(1.06);
}

/* -- overlays -- */

.selbach-login-overlay,
.selbach-settings-overlay,
.selbach-load-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    margin: 0;
    background: #333;
    color: #eee;
    overflow: auto;
}

.selbach-settings-overlay {
    z-index: 3;
}

.selbach-load-overlay {
    background: #f7f7f7;
    color: #000;
    font-size: 21px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.sbos-theme-dark .selbach-load-overlay {
    background: #333;
    color: #eee;
}
.selbach-load-spinner {
    min-height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* credits for loader animation: https://loading.io/css/ */
.selbach-load-animation.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 62px;
    height: 12px;
}
.selbach-load-animation.lds-ellipsis div {
    position: absolute;
    top: 13%;
    width: 14%;
    height: 74%;
    border-radius: 50%;
    background: currentColor;
}
.selbach-load-animation.lds-ellipsis div:nth-child(1) {
    left: 12%;
    animation: lds-ellipsis1 0.6s infinite;
}
.selbach-load-animation.lds-ellipsis div:nth-child(2) {
    left: 12%;
    animation: lds-ellipsis2 0.6s infinite;
}
.selbach-load-animation.lds-ellipsis div:nth-child(3) {
    left: 42%;
    animation: lds-ellipsis2 0.6s infinite;
}
.selbach-load-animation.lds-ellipsis div:nth-child(4) {
    left: 72%;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% { transform: scale(1); }
    5% { transform: scale(1); }
    6% { transform: scale(0); }
    100% { transform: scale(1); }
}
@keyframes lds-ellipsis3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}
@keyframes lds-ellipsis2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200%, 0); }
}

.selbach-login-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.selbach-login-inlay {
    display: flex;
    justify-content: center;
}
.selbach-login-overlay .selbach-login-box,
.selbach-login-inlay .selbach-login-box {
    width: 100%;
    height: 100%;
    max-width: 308px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.selbach-login-box h3 {
    text-align: center;
}