body{
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font: 10pt Verdana, Arial, sans-serif;
}

#main{
    flex-grow: 1;
    display: flex;
}
/*Toolbar*/
#toolbar{
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    border-bottom: 1px #dadce0 solid;
}
.toolbarLine{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.toolbarTextButton{
    cursor: default;
}
.toolbarTextButton > div {
    color: rgba(0,0,0, 0.8);
    margin: 8px 0;
    padding: 0 8px;
    border-left: solid 1px rgba(0,0,0, 0.8);
}
.toolbarTextButton:first-child div {
    border-left: none;
}
.toolbarDivider + .toolbarTextButton div {
    border-left: none;
}
.toolbarTextButton:hover {
    background-color: rgba(0,0,0, 0.05);
}
.toolbarImageButton{
    cursor: default;
}
.toolbarImageButton{
    width: 25px;
    height: 25px;
    display: flex;
    align-content: center;
    justify-content: center;
}
.toolbarImageButton > img {
    margin: auto;
}
.toolbarImageButton:hover {
    background-color: rgba(0,0,0, 0.05);
}
.toolbarSeparator{
    width: 19px;
    height: 25px;
    display: flex;
    align-content: center;
    justify-content: center;
}
.toolbarSeparator div{
    /*border-left: solid 1px rgba(0,0,0, 0.8);*/
    height: 19px;
    width: 1px;
    background-color: rgba(0,0,0, 0.8);
    margin: auto;
}

/*Sidebar*/
#sidebar {
    padding: 8px 8px 25px 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fbfbfb;
    border-right: 1px #dadce0 solid;
}

.sidebar-icon{
    display: block;
    width: 80px;
}

.active-icon:hover{
    background-color: #dfdfdf;
    cursor: pointer;
}
.highlighted-icon{
    background-color: #dfdfdf;
}
.grab{
    cursor: grab;
}
.grab:hover{
    cursor: grab;
}

/*Canvas*/
#canvas {
    flex-grow: 1;
    overflow: hidden;
}

/*Statusbar*/
#statusbar{
    display: flex;
    align-items: center;
    justify-content: left;
    height: 20px;
    background: #f2f2f2;
    border-top: 2px #dadce0 solid;
    padding-left: 15px;
    font-size: 11px;
}

/*Properties bar*/
#propertiesBar {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    background: #fbfbfb;
    border-left: 1px #dadce0 solid;
}

.propHeader {
    color: cornflowerblue;
    margin:0;
    padding: 10px;
    font-size: 18px;
    border-bottom: 1px #dadce0 solid;
    display: flex;
    justify-content: center;
}
.propSection{
    margin:0;
    padding: 10px;
    border-bottom: 1px #dadce0 solid;
}

.propSection * {
    margin: 6px 0;
    font-size: 14px;
}

.propSection h3 {
    color: rgba(0,0,0, 0.8);
}

.propSection .inputLong {
    width: 250px;
    padding: 3px;
}

.propSection .selectHierarchy {
    width: 120px;
}

.propSection .cardinality {
    width: 50px;
}

.propSection span {
    margin: 5px;
    font-size: 16px;
}

.alignmentIcon{
    border: rgba(0,0,0, 0.8) 1px solid;
    padding: 2px;
    margin: 2px;
    border-radius: 2px;
    background-color: white;
}
.propSection .toggleButton{
    display: inline-block;
    border: rgba(0,0,0, 0.8) 1px solid;
    padding: 4px;
    margin: 8px 0;
    border-radius: 2px;
    background-color: white;
}


/*Windows*/
.settingsWindow h3, .saveWindow h3, .loadWindow h3, .exportWindow h3 {
    color: cornflowerblue;
    margin: 6px;
}
.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.row * {
    margin: 6px
}
.row div {
    font-weight: bolder;
}
.row input[type=number], .row input[type=text] {
    width: 80px;
}
.windowButton{
    background: white none !important;
    font-size: 12px !important;
    padding: 4px !important;
}





