div.editStyleDialog .modal-dialog {
    width: 50%;
}

#editStyle-body {
    max-height: 600px;
    overflow-y: auto;
}

#editStyle-body .expressionError {
    color: red;
}

#svgList .selected {
    background-color: #dce2fd;
}

#svgList .dd2-content {
    padding-right: 44px
}

div.libraryDialog .modal-header .adddir-button,
div.libraryDialog .modal-header .back-button {
    position: absolute;
    top: 15px;
    font-size: 25px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    text-align: center;
}

div.libraryDialog .modal-header .adddir-button {
    right: 55px;
    color: #87B87F;
}

div.libraryDialog .modal-header .back-button {
    right: 20px;
    color: #438EB9;
}

#svgList .removebtn {
    width: 38px;
    height: 38px;
    right: 0;
    top: 0;
    font-size: 14pt;
    position: absolute;
    cursor: pointer;
    background: #EBEDF2;
    border: 1px solid #DEE4EA;
}

#svgList .removebtn:hover {
    background: #E3E8ED;
    border-color: #DCE2E8;
}

#svgList .removebtn a {
    padding: 5px;
}

#svg_preview {
    min-height: 185px;
}

#editStyle-body .representations h1, #editStyle-body .parameters h1, #svg_preview h1 {
    padding: 5px;
    font-size: 14pt;
    background: #E3E8ED;
    border-color: #DCE2E8;
    color: #7C9EB2;
    margin-top: 10px;
    margin-bottom: 2px;
}

#editStyle-body .representations h2, #editStyle-body .parameters h2, #svg_preview h2 {
    padding: 5px;
    font-size: 11pt;
    background: #E3E8ED;
    border-color: #DCE2E8;
    color: #7C9EB2;
    margin-top: 0px;
}

#editStyle-body .representations > div > div, #editStyle-body .parameters > div > div {
    height: 290px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#extStyleTree .dd2-content {
    padding-right: 88px
}

#extStyleTree .action-buttons {
    width: 65px;
    height: 38px;
    right: 0;
    top: 0;
    position: absolute;
    cursor: pointer;
    background: #EBEDF2;
    border: 1px solid #DEE4EA;
    text-align: center;
    padding: 8px;
}

#extendedStyleList {
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #e5e5e5;
    padding: 10px;
}

#extendedStyleListHeader {
    position: relative;
    background-color: #F8FAFF;
    border: 1px solid #e5e5e5;
    border-bottom: 0px;
    padding: 10px;
    color: #7C9EB2;
    font-size: 11pt;
    font-weight: bold;
}

#extendedStyleListHeader .buttons {
    position: absolute;
    top: 4px;
    right: 10px;
}

#extStyleTree .dd2-handle {
    background-color: white;
    width: 115px;
    text-align: left;
    border: 0px;
}

#extStyleTree .dd2-content {
    margin-left: 120px;
    padding-left: 5px
}

#extStyleTree svg {
    border: 1px solid #dee4e0;
    display: inline;
}
