
#step {
    right: 420px;
}

#runButtons {
    right: 370px;
}

#stop {
    right: 320px;
}

#new {
    right: 270px;
}

#loadButtons {
    right: 220px;
}

#load {
    right: 220px;
}

#saveButtons {
    right: 170px;
}

#save {
    right: 170px;
}

#tools {
    right: 70px;
}

#config {
    right: 20px;
}

#tasks {
    right: 120px;
}


#header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
}

.tabPane {
    overflow: none;
    background-color: white;    
}

.tabButtons {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 0px;
    width: 100%;
    height: 35px;
}

/* Style the buttons that are used to open the tab content */
.tabButton {
    background-color: #blue;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px 15px;
    transition: 0.3s;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-right: 5px;
    height: 35px;
    z-index : 20;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: bold;
}

/* Change background color of buttons on hover */
.tabButton:hover {
    background-color: #eee;
}

/* Create an active/current tablink class */
.tabButton.active {
    background-color: white;
}

/* Style the tab content */
.tabContent {
    position: absolute;
    display: none;
    padding: 10px 10px;
    border: 1px solid #ccc;
    top: 34px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: white;
    z-index : 10;
}

.desktopblock {
    border: 2px lightgray solid;
    border-radius: 5px;
    margin: 10px;
}


#desktopworld {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width : 50%;
    display: none;
    padding: 10px;
    overflow-x : hidden;
    overflow-y : auto;
}



.abz-source-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    align-items: stretch;
    width: 100%;
    height: 100%;        
}


.abz-source-buttons {
    height : 36px;
    flex-grow : 0;    
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;    
}

.abz-source-button {
    flex-grow : 0px;
    border: none;
    border-radius: 5px;
    padding: 0px;
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.abz-source-button:hover {
    transform: scale(1.3);
}



.abz-source-editor-wrapper {
    flex-grow :  1;
    border: 1px black ridge;
    border-left : none;
    border-right: none;
    overflow: auto;
    background-color: lightgray;
    position: relative;
}

.abz-source-editor {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}


.abz-source-editor .cm-light {
    height: 100%;
    width: 100%;
}

.abz-source-status {
    flex-grow: 0;
    height: 26px;
    vertical-align: "middle";
    line-height: 26px;
    padding-left: 5px;
    padding-right: 5px;    
}

sourcewrapper {
    position: absolute;
    left: 5px;
    top: 40px;
    bottom: 26px;
    right: 5px;
    border: 1px black ridge;
}

#sourcewrapper .cm-light {
    height: 100%;
}

.sourceeditor {
    position: absolute;
    resize: none;
    left: 0px;
    width: -webkit-fill-available;
    top:0px;
    bottom:26px;
}

.sourcestatus {
    position: absolute;
    left: 5px;
    right: 15px;
    bottom: 0px;
    height: 26px;
    vertical-align: "middle";
    line-height: 26px;
    padding-left: 5px;
    padding-right: 5px;
}


.sourcebuttons {
    position: absolute;
    left: 5px;
    right:0px;
    top: 5px;
    height: 30px;

}

.sourcebutton {
    border: none;
    border-radis: 5px;
    background-color: #e0e0e0;
    padding: 0px;
    width: 30px;
    height: 30px;
}

.sourcebutton:hover {
    background:#d0d0d0;
}

.sourceMarker {
    background-color: #d0d0ff;
}

.sourceErrorMarker {
    background-color: #ffd0d0;
}


.CodeMirror {
    height: auto;
}


#debug_addWatch {
    float: right;
    border: 1px solid black;
    font-size : 16px;
    height: 20px;
    width: 20px;
    background-color: #e0e0e0;
    font-weight: bold;
    text-align: center;
}

#debug_addWatch:hover {
    background-color: #d0d0d0;
}


#debugViews {
    position: absolute;
    top: 40px;
    left: 5px;
    right: 5px;
    bottom: 10px;
    overflow: auto;
    height: auto;
    border: 1px #d0d0d0 solid;
}

.debugView {
    border: 1px #d0d0d0 solid;
    height: 26px;
}

.debugViewName {
    height: 20px;
}

.debugViewValue {    
    padding-left: 5px;
}

.debugViewButton {
    float: right;
    border: 1px black solid;
    background-color: #e0e0e0;
    width: 24px;
    height: 24px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.debugViewButton:hover {
    background-color: #d0d0d0;
}

#infoBody {
    padding: 5px;
}

.abz-world {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.abz-world-view {
    flex-grow : 1;
    position: relative;
    overflow: auto;
}


.abz-world-control {
    display: flex;
    align-items: center;
    height: 48px;
    border-top: black 1px solid;
    flex-grow : 0;
    padding: 5px;    
}


.abz-calls {
    height: calc( 100% - 10px );
    width: calc( 100% - 10px );
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    align-items: stretch;
    justify-content: center;
}

.abz-calls-view {
    border: 2px solid lightgray;
    overflow : auto;
    flex-grow : 1;
}

.abz-calls-footer {
    flex-grow: 0;
    height : 24px;
}

/*********************
 ****** Console ******
 *********************/


.abz-console-parent {
    height: calc( 100% - 20px );
    padding: 10px;
}

.abz-console-text {
    position: relative;
    resize      : none;
    overflow-x  : hidden;
    overflow-y  : auto;
    font-family : monospaced;
    font-size   : 14px;
    background-color : lightgoldenrodyellow;    
    border: 2px solid lightgray;
    padding: 3px;
    width: calc( 100% - 10px );
    height: calc( 100% - 10px );
}

.abzWorldSpeed { 
    position: absolute;
    bottom: 0px;
    left:   0px;
    width:  500px;
    height: 48px;
    background-color: white;
    border-top: black 1px solid;
    display: flex;
    align-items: center;
}


.abzWorldControl DIV.control {
    display: flex;
    align-items: center;
    margin-left: 20px;
    overflow: hidden;
    flex-shrink:0;
}

#speedslider {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink:0;
    margin-right: 10px;
    height: 100%;
}

#abzlogo {
    margin-left: 10px;
}

#abzlogo img {
    height: 45px;
    width: auto;
}

.levelButton {
    border-radius: 5px;
    border : 2pt solid darkgray;
    height : 36px;
    font-weight: bold;
}

.levelMsg {
    font-weight: bold;
    font-size: 200%;
}

.levelLink {
    display: flex;
    align-items: center;
}

.levelStars {
    margin-right: 5px;
}

.levelDisabled {
    pointer-events: none;
    text-decoration: none;
    color: black;
}

.inputNumber {
    width: 3em;
    margin-left: 5px;
    text-align: center;
}

.CodeMirror-cursor {
  border-left: 2px solid black;
  border-right: none;
  width: 1em;
}


/**
 ** DataView
 **/

.binTreeViewContainer {
    display         : flex;
    flex-direction  : row;
    flex-wrap       : wrap;
    justify-content : flex-start;
    align-items     : flex-start;
    align-content   : stretch;
    overflow-x      : hidden;
    overflow-y      : auto;
    background-color:lightgoldenrodyellow;
}

.dataViewContainer {
    display         : flex;
    flex-direction  : row;
    flex-wrap       : wrap;
    justify-content : flex-start;
    align-items     : flex-start;
    align-content   : stretch;
    overflow-x      : hidden;
    overflow-y      : auto;
    width           : 100%;
    height          : 100%;
}

.dataView {
    border              : 1px solid lightgray;
    background-color    : lightgoldenrodyellow;
    padding             : 5px;
    margin              : 5px;
    border-radius       : 5px;
    flex-basis          : auto;
    flex-grow           : 0;
    flex-shrink         : 0;
    position            : relative;
}


.dataView .header {
    position    : absolute;
    padding     : 0px;
    top         : 5px;
    left        : 5px;
    right       : 25px;
    height      : 20px;
    font-size : 16px;
    font-weight: bold;
    font-family: sans-serif;
}

.dataView .toggleButton {
    position    : absolute;
    padding     : 0px;
    top         : 5px;
    right       : 5px;
    width       : 20px;
    height      : 20px;
    border      : 1px lightgray solid;
    border-radius : 5px;
    background-color: white;
    text-align: center;
    vertical-align: middle;
    color:  darkgray;
    font-size: 16px;
    line-height: 20px;
}

.dataView .toggleButton:hover {
    color: black
}

.dataView .drawing {
    position: absolute;
    top: 25px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    margin-top: 10px;
}

.dataViewContainer .iconbar {
    display : flex;
    width: 100%;
    flex-grow: 1;
    align-self: flex-start;
    padding:5px;
}

.listview {
    overflow-x : hidden;
    overflow-y : visible;
    height: 100%;
    width: 100%;
}

.listview table {
    border-collapse: collapse;
}

.listview table tr{
    height: 30px;
}

.listview TABLE TR TD {
    border: 1px solid black;
    vertical-align: middle;
    padding: 3px;
    background-color: white;
}



.errGutter {
    width: 20px;
}


#abz-level-overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width : max-content;
    margin-left: auto;
    margin-right : auto;
}

#abz-level-overview div:nth-child(2n+1) {
    background-color: white;    
}

#abz-level-overview div:nth-child(2n) {
    background-color: white;    
}

#abz-level-overview DIV.level {
    font-weight: bold;
    padding: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#abz-level-overview DIV.level IMG {    
    height : 20px;
    width  : 20px;
    margin-right: 2px;
}

#abz-level-overview DIV.level SPAN {    
    margin-left: 5px;
}

.abz-connect-button-label {
    position:relative;
    left: 0px;
    top: -40px;
}