#tablebox {
    position:absolute;
    display:inline-block;
    height:336px;
    bottom:6px;
    left:3%;
    right:3%;
    background:white;
    z-index:100;
    border:3px outset #835C3B;
}

#tablebox .tableview {
    display:table-column-group;
    width:500px;
    width:calc(50% - 8px);
    width:50%;
    height:calc(100% - 30px);
    float:right;
    background:#D9CCB9;
}
#tablebox .edit_mode .spacer1 { width:40px;float:left;height:calc(100% - 2px); }
#tablebox .edit_mode .spacer2 { width:520px;float:left;height:calc(100% - 2px);}

#tablebox .edit_mode .spacer4 { 
    margin-left:40px;
    width:calc(100% - 260px);
    float:left;
    height:calc(100% - 2px);
    display:flex;
}
#tablebox .edit_mode .spacer4 .label { margin-top:5px; }
#tablebox .tabledetails {
    display:inline-block;
    width:580px;
    width:50%;
    height:calc(100% - 30px);
    float:left;
    background:#D9CCB9;
    font-size:.9em;
    font-weight:bold;
    color:#5C3B1A;
}

#tablebox button {
    background:#835C3B;
    color:white;
    width:100px;
    height:32px;
    font-size:1em;
    margin-top:3px;
    font-weight:bold;
    margin-left:auto;
}

#tablebox .tablelisting {
    display:table;
    height:calc(100% - 30px);
    width:100%;
    background:white;
}
#tablebox .edit_mode {
    display:block;
    height:30px;
    float:left;
    width:100%;
    background:#670a0a;
}
#tablebox .editmode_parts {
    display:inline-block;
    float:left;
    color:white;
    height:30px;
}

#tablebox .tablelisting .wrapper{
    display:block;
    padding-top:14px;
    padding-left:14px;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    width:calc(100% - 16px);
}
#tablebox .tabledetails .tableedit{
    display:inline-block;
    margin-left:6px;
    height:calc(100% - 36px);
    width:100%;
}
#tablebox .tablelisting .menu{
    display:inline-block;
    vertical-align:baseline;
    width:100%;
    height:30px;
    float:left;
    background:#D9CCB9;
    color:#835C3B;
}
#tablebox .tablelisting .menu div{
    display:inline-block;
    text-align:center;
    font-size:1.8em;
    margin-bottom:3px;
    width:calc(100% - 4px);
}
#tablebox .tabledetails .tableeditbuttonwrapper { width:100%;text-align:center;}
#tablebox .tabledetails .tableeditbuttonwrapper button { margin-left:.7em;margin-right:.7em;}
#tablebox .tabledetails input { margin-left:.8em;}
#tablebox .tabledetails div .joinmembers .joinmember {
    display:inline-block;
    margin-left:2em;
    width:100%;
    float:none;
}
#tablebox .tabledetails div .joinsinfo {
    height:calc(100% - 6.2em);
}
#tablebox .tabledetails div .joinmembers {
    height:calc(100% - 24px);
    width:100%;
    overflow-y:auto;
    overflow-x:hidden;
}
#tablebox .tabledetails div .whereinfo {
    margin-top:6px;
    height:24px;
}
#tablebox .tabledetails div .joinmembers .onmember {
    display:inline-block;
    margin-left:4em;
    float:left;
    margin-bottom:1px;
    width:calc(100% - 6em);
}
#tablebox .tabledetails div .joinmembers .onmember .inputs {
    width:calc(100% - 3em);
    margin-left:3em;
}
#tablebox .tabledetails div .joinmembers .onmember label {
    vertical-align:baseline;
    margin-right:1em;
}
#tablebox .tabledetails div .whereinfo input {
    width:calc(100% - 6em);
}

#tablebox .tabledetails .tableedit fieldset input{ margin-left:.4em;margin-right:.7em; }

#tablebox .tabledetails .tableedit fieldset{
    display:inline-block;
    -webkit-margin-start: 2px;
    -webkit-margin-end: 2px;
    -webkit-padding-before: 0.35em;
    -webkit-padding-start: 0.75em;
    -webkit-padding-end: 0.75em;
    -webkit-padding-after: 0.625em;
    min-width: -webkit-min-content;
    border-width: 2px;
    border-style: double;
    border-color: white;
    border-image: initial;
    width:calc(100% - 4em);
    float:left;
    text-align:left;
    margin-right:1em;
    ckground:#D9CCB9;
}
#tablebox .select2-container { min-width:40px; }
#tablebox .tabledetails select[name=plugin] { width:120px; }
#tablebox .tabledetails select[name=panelselect] { width:120px; }
#tablebox .tabledetails select[name=sliderselect] { width:120px; }
#tablebox .tabledetails legend {
    font-weight:bold;
    font-style:italic;
    font-size:1.1em;
    text-align:center;
    padding-left:1em;
    padding-right:1em;
}
.tablelisting .cell {
    float:left;
    margin-right:1.2em;
    height:23px;
    width:210px;
    overflow:hidden;
    color:#835C3B;
    font-size:105%;
}
.tablelisting .cell i {padding:0;}
.tablelisting .cell i {vertical-align:baseline;margin-right:2px;color:#835C3B}

#tablebox .tableedit .required input  {
    background:#F9A7B0;
    background:#FFFCCC;
}
#tablebox .tableedit .error input {
    color:#F9A7B0;
}

#tablebox .edit_mode .selector i {
    float:right;
    color:white;
    margin-right:.5em;
    margin-top:5px;
}

#tablebox .edit_mode {
    display:inline-block;
    vertical-align:middle;
    font-weight:bold;
    font-style:italic;
    height:30px;
    width:100%;
    color:white;
    background:#670a0a;
}

#tablebox .spacer4 .sliderlabels{
    width:calc(100% - 290px);  
    height:100%;
    margin-left:.6em;
    overflow-y:hidden;
    overflow-x:auto;
}
#tablebox .spacer4 .slideoption{
    float:left;
    min-width:60px;
    text-align:center;
    border-radius:4px;
    height:20px;
    vertical-align:middle;
    margin:  0;
    padding:0px 8px 0px 8px;
    font-weight:bold;
    border:4px double;
    margin-left:1em;
}

#tablebox  .edit_mode  .dataset { float:left;margin-right:.8em;padding-top:5px;}
#tablebox  .edit_mode .dataset:nth-of-type(4) { float:right;margin-right:1.2em;}
#tablebox  .edit_mode   input { margin-left:.4em;margin-top:4px;}
#tablebox  .edit_mode   span { float:left;}
#tablebox  .edit_mode   .dataset div { float:left;}
#tablebox  .edit_mode  .dataset:nth-of-type(4) { padding-top:5px;margin-right:.5em;}
#tablebox  .edit_mode  select {position:absolute;top:-7px; background:blue;}
#tablebox  .properties label:nth-of-type(3) {margin-left:.8em;}

#tablebox .tableedit .args span {
    max-height:43px;
    overflow-y:auto;
    overflow-x:hidden;
    display:inline-block;
}
/*
#tablebox .tabledetails .edit_mode  span
{
    padding-top:4px;
    margin-left:.8em;
}
#tablebox .tabledetails .edit_mode  input
{
    margin-top:9px;
}
*/
