﻿/* Overschrijf de standaard bootstrap classes om ervoor te zorgen dat de form-inputs binnen de group blijven. */
.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}

.page-header {
    margin-top: 0;
}

.page-selector {
    margin-bottom: 15px;
    background-color: #f5f5f5;
    background-image: linear-gradient(#f5f5f5, #e5e5e5);
}

.region {    
    overflow-y: scroll;
    border: 1px solid #D7D7D7;
    background-color: #f9f9f9;
    padding: 15px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);

    height: calc(100vh - 260px);
}

.region-title {
    text-align: center;
    width: 100%;
}

.save-button {
    margin-bottom: 15px;
    color: white;
    background-color: #F9690E;
}

.btn-default > i {
    color: black;
}

.elements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    position: relative;
    margin-bottom: 10px;
}

.drag {
    position: absolute;
    cursor: move;
    right: 0;
    padding: 2px 4px 4px 4px;
}

.element-preview {
    height: 60px;
}

.preview-image {
    width: 100%;
    height: 100%;
}

#workflow-editor-region {
    border: 1px solid #D7D7D7;
    background-color: #f9f9f9;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);

    height: calc(100vh - 210px);
}

#workflow-editor {
    overflow: scroll;
    position: relative;
    width:100%;
    height: 100%;
}

#workflow-editor-content {
    width: 3000px;
    height: 3000px;
}

.workflow-canvas {
    width: 3000px;
    height: 3000px;
}

::-webkit-scrollbar {
    height: 12px; /* TODO: Verplaatsen naar robot-main.css regelnummer: 11405? */
}

#properties-region {
    position: relative;
    height: 100%;
}

.properties-content-row {
    margin-bottom: 10px;
}

.properties-actions {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.property-text {

}

.property-description {
    resize: vertical;
}

#save-properties-button {
    float: right;
    background-color: #F9690E;
}

/*  Used to prevent the phase element lines from scaling. */
.phase-element {
    vector-effect: non-scaling-stroke;
}

.invalid-transition {
    stroke: red;
}

.required-property-error {
    width: 100%;
    color: red;
}

.invalid-property:focus,
.invalid-property {
    border: 1px solid red;
}