#table-wrapper {
    position:relative;
}

#table-scroll {
    height:inherit;
    overflow:auto;
    margin-top:20px;
}

#table-wrapper table {
    width:100%;
}

.sun-external-template-filter{
    width: 100%;
    height: 100%;
    background-color: rgba(230,230,230,.75);
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    z-index: 1002;
}

.sun-internal-template-filter{
    width: 40vw;
    position: fixed;
    height: 45vh;
    min-height: 600px;
    max-height: 600px;
    min-width: 650px;
    max-width: 650px;
    margin-top: 10%;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

.sun-template-order-title{
    display: flex;
    width: 100%;
    top: 0;
    position: absolute;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 8%;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 2px 5px #e8e8e8;
}

.sun-template-order-title >div{
    padding: 0 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.sun-template-order-title >div >span{
    width: 24px;
    height: 24px;
    font-size: 23px;
}

.sun-template-order-filter{
    width: 100%;
    position: absolute;
    top: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.sun-template-order-filter >div{
    padding: 10px 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.sun-template-order-filter >div>select{
    width: 50%;
    border: 0;
    border-bottom: 1px solid #626262;
    border-radius: 0;
    color: #626262;
    padding: 0 2px;
}

.sun-template-order-filter >div>select:hover, .sun-template-order-filter >div >select:focus{
    outline: none;
    box-shadow: none;
    color: #626262;
    border-color: #626262;
}

.sun-template-order-elements{
    position: absolute;
    margin: 0;
    padding: 10px;
    width: -webkit-fill-available;
    top: 98px;
    bottom: 50px;
}

#sun-template-sortable{
    list-style-type: none;
    padding: 10px;
    overflow-x: hidden;
    height: -webkit-fill-available;
    margin: 0;
}

#sun-template-sortable::-webkit-scrollbar {
    width: 5px;
}

#sun-template-sortable::-webkit-scrollbar-track {
    background: #dddddd;
}

#sun-template-sortable::-webkit-scrollbar-thumb {
    background: #626262;
}

#sun-template-sortable::-webkit-scrollbar-thumb:hover {
    border-radius: 5px;
    transition: width 2s;
    color: var(--sunDefault);
}

#sun-template-sortable li{
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    background: #ededed;
    border-radius: 3px;
    padding: 7px 0;
}

#sun-template-sortable li:hover{
    cursor: pointer;
    box-shadow: 0px 0px 3px #878787;
}

#sun-template-sortable li >div{
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sun-template-sortable li >div >img{
    width: 100px;
    height: 50px;
    object-fit: contain;
}

#sun-template-sortable li >label{
    padding-right: 10px;
}

.sun-template-order-footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    height: 8%;
    border-top: 1px solid #eee;
}

.sun-template-order-footer >div >input{
    border: 1px solid #626262;
    color: #626262;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    padding: 6px 14px;
    text-align: center;
    font-weight: 500;
    -webkit-transition: background 1s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sun-template-order-footer >div >input:hover{
    border: 1px solid var(--sunDefault);
    color: var(--sunDefault);
    cursor: pointer;
}