svg {
    width: 100%;
    height: 100%;
    min-width: 640px;
    min-height: 480px;
    overflow: hidden;
}

.live.map {
    width: 100%;
    height: 100%;
}

.live.map text {
    font-weight: 300;
    font-size: 14px;
}

.live.map .node rect {
    stroke-width: 2px;
    stroke: #bbb;
    fill: #666;
}

.live.map .action_status {
    width: 15px;
    height: 100%;
    display: block;
    float: left;
    margin-right: 2px;
}

.live.map .pre_actions {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.live.map .node g div {
    width: 220px;
    height: 75px;
    color: #fff;
}

.live.map .edgeLabel text {
    width: 50px;
    fill: #fff;
}

.live.map .edgePath path {
    stroke: #999;
    stroke-width: 2px;
    fill: #999;
}

/* visual container for a single step */
.step_container {
    display: inline;
}

/* vertical section, hosting either action statuses or step details*/
.step_section {
    height: 100%;
    float: left;
    display: block;
}

/* style for a single step detail row */
.step_detail {
    height: 30% !important;
}

.width_30pct {
    width: 30% !important;
}

.width_70pct {
    width: 70% !important;
}

.right_margin {
    margin-left: 10px;
}

/* actionset runtime states */
.actionset_failed {
    background-color: #ff0000;
}

.actionset_complete {
    background-color: #00ff00;
}

.actionset_running {
    background-color: #7f7;
}

.actionset_pending {
    background-color: #747cff;
}

/* execution step persistent states */
.state_embryo {
    background-color: #D5F5FF;
}

.state_in_progress {
    background-color: #C3FDB8;
}

.state_processed {
    background-color: #15C200;
}

.state_canceled {
    background-color: #f77;
}

.state_invalid {
    background-color: #FF4500;
}

.state_noop {
    background-color: #FFFFAA;
}

.action_mini_button {
    display: inline-block;
    width: 30px;
    padding: 1px;
}

.user_message {
    display: none;
    margin-top: 150px;
    text-align: center;
    float: none;
}

/* This styles the title of the tooltip */
.tipsy .name {
    font-size: 1.2em;
    font-weight: bold;
    color: #60b1fc;
    margin: 0;
}

/* This styles the body of the tooltip */
.tipsy .description {
    font-size: 1.2em;
}

/* run_mode and other UI elements */
.header_layout {
    display: table;
}

.header_layout_element {
    display: table-cell;
    vertical-align: middle;
}

/* tabs menu for manages/freerun flows */
div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

div.tab button:hover {
    background-color: #ddd;
}

div.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}
