/*
 *  @author     Timo Wilhelm <timo.wilhelm@erf.de>
 */
.wrapper {
    position: relative;
    box-shadow: inset 0 0 10px #eee;
    padding-bottom: 130px;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
}

.loading > .spinner-border {
    height: 300px;
    width: 300px;
    border-width: 20px;
}

#filesWrapper {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 125px;
}

div {
    box-sizing: border-box;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}

#foreground, #background {
    position: relative;
    z-index: 2;
}

#slides {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% + 16px);
    z-index: 1;
}

video {
    position: relative;
    z-index: 1;
}

.slide-elem {
    position: relative;
    width: 100%;
    padding-bottom: 32px;
    overflow: hidden;
    background: #f4f4f4;
    z-index: 1;
    /*noinspection CssUnresolvedCustomProperty*/
    margin-top: var(--bs-gutter-x);

}

.slide-elem input[type=checkbox] {
    position: absolute;
    top: 10px;
    left: 12px;
    background: transparent;
    color: #000;
    border: none;
    font-style: italic;
}

.slide-elem input[type=text] {
    position: absolute;
    top: 4px;
    left: 30px;
    background: transparent;
    color: #000;
    border: none;
    width: 100px;
    font-style: italic;
}

.slide-elem select, .slide-elem input[type=number] {
    background: transparent;
    color: #000;
    border: none;
    width: 100px;
    font-style: italic;
}
.slide-elem input[type=number]{
    width: 50px;
}
.slide-elem select {
    flex-grow: 1;
    width: 160px;
    flex-shrink: 0;
}

.slide-elem-settings-wrapper {
    position: absolute;
    top: 0;
    align-items: center;
    display: flex;
    / right: 12px;
    left: 190px;
    width: auto;
}
.slide-elem-green{
    color: #000;
    padding: 0 0 0 12px;
}
.slide-elem-green input[type=checkbox]{
    position:relative;
    left:auto;
    right:auto;
    top:auto;
    margin: 0 0 0 6px;
}
.slide-elem-settings-wrapper > span {
    color: #000;
}

.slide-elem .edit {
    position: absolute;
    top: 4px;
    left: 135px;
    cursor: pointer;
}

#submit {
    background: transparent;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    overflow: hidden;
    justify-content: space-between;
}

#submitWrapper {
    background: #212529 !important;
    padding: 16px;
    display: none;
    overflow: hidden;
}

.img-elem {
    display: inline-block;
    position: relative;
    margin-top: 40px;
    transition: opacity 0.25s ease-in-out;
    pointer-events: all;
    z-index: 3;
}

.img-elem img {
    max-height: 260px;
}

.img-elem.fadeOut {
    opacity: 0;
}

.img-elem:after {
    content: attr(data-name);
    display: block;
    color: #000;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
}

.img-elem .controls {
    position: absolute;
    top: 8px;
    right: 16px;
    background: #fff;
    box-shadow: inset 0 0 10px #eee;
    pointer-events: all;
    z-index: 2;
}

.img-elem .controls svg {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.img-elem .controls svg:hover {
    /*noinspection CssUnresolvedCustomProperty*/
    fill: var(--bs-primary) !important;
}

.img-elem-placeholder {

}

.img-elem-placeholder:before {
    content: ' ';
    display: block;
    padding-bottom: 260px;
    border: 1px dashed #959595;
}

.img-elem-placeholder:after {
    display: block;
    content: ' ';
    height: 27px;
}


.img-elem.empty:before {
    content: ' ';
    display: block;
    border: 1px solid #959595;
    width: 462px;
    padding-bottom: 260px;
    overflow: hidden;
    background: repeating-linear-gradient(
        45deg,
        #959595,
        #959595 10px,
        #fff 10px,
        #fff 20px
    );
}

.img-elem.empty.ui-sortable-helper {
    padding: 0;
}

#downloadXml {
    display: none;
}

.modal-content{
    background-color: #333;
}

body{
    color: #fff!important;
}
.btn-success{
    background-color: #5250ef;
    border-color: #5250ef;
}
.btn-success:hover,.btn-success:focus,.btn-success:visited {
    color: #fff;
    background-color: #2c49fd;
    border-color: #2c49fd;
}

.btn-warning {
    color: #fff;
    background-color: #b465c1;
    border-color: #b465c1;
}

.btn-warning:hover,.btn-warning:focus ,.btn-warning:visited  {
    color: #fff;
    background-color: #e66ea8;
    border-color: #e66ea8;
}

.btn-info {
    color: #fff;
    background-color: #ff739b;
    border-color: #ff739b;
}

.btn-info:hover,.btn-info:focus ,.btn-info:visited  {
    color: #fff;
    background-color: #f06fa2;
    border-color: #f06fa2;
}


