/*
 * Copyright (C) 2017 TypeFox and others.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 */
 svg {
    margin-top: 15px;
    width: 100%;
    height: 500px;
    border-style: solid;
    border-width: 1px;
    border-color: #bbb;
}
.sprotty {
    height: 100%;
}

.sprotty-graph {
    font-size: 15pt;
    height: 100%;
    background: #fff
}

.ecore-node {
    fill: #fffcdb;
    stroke: black;
    stroke-width: 1;
    font-weight: bold;
}

.ecore-node.selected {
    stroke-width: 5;
}

.ecore-node.mouseover:not(.selected) {
    stroke-width: 3;
}

.sprotty-comp {
    line-height: 3px;
    font-weight: normal;
    text-align: left;
    stroke: #000;
    stroke-width: 2px;
}

.sprotty-label {
    stroke-width: 0;
    width: inherit;
    fill: #000;
    font-weight: inherit;
    font-size: 100%;
}

.sprotty-label.heading {
    font-weight: bold;
}

.sprotty-icon {
    fill: #debe5b;
    stroke-width: 0;
}

.sprotty-label.icon {
    fill: black;
}

.sprotty-button {
    fill: #152;
    stroke-width: 0;
}

.ecore-edge {
    fill: none;
    stroke: black;
    stroke-width: 2px;
}


.ecore-edge.mouseover:not(.selected) {
    stroke-width: 3px;
}

.ecore-edge > .sprotty-routing-handle {
    r: 7px;
    fill: #884;
    stroke: none;
    z-index: 1000;
}

.ecore-edge > .sprotty-routing-handle[data-kind='line'] {
    opacity: 0.35;
}

.ecore-edge > .sprotty-routing-handle.selected {
    fill: #66a;
}

.ecore-edge > .sprotty-routing-handle.mouseover {
    stroke: #112;
    stroke-width: 1;
}

.sprotty-missing {
    stroke-width: 1;
    stroke: #f00;
    fill: #f00;
    font-size: 14pt;
    text-anchor: middle;
}

.sprotty-popup-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.sprotty-popup-body > p {
    margin-bottom: 2px;
}
.ecore-edge.inheritance  {
    stroke: #888888;
}
.ecore-edge.aggregation .ecore-edge.composition {
    stroke: black;
}

.ecore-edge > .diamond.aggregation {
    fill: white;
}

.ecore-edge > .diamond.composition {
    fill: black;
}

.ecore-edge.selected {
    stroke: #844;
    stroke-width: 4px;
}
.ecore-node.abstract {
    fill: #ededed;
}

.ecore-node.enum {
    fill: #e7f2da;
}


