div.contextElement[data-collapse="true"] {
    border: solid 1px #d9d9d9;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #eee;
}

div.contextElement[data-collapse="true"] div.contentDisplay {
    width: 100%;
}

.context-tab.tab-pane {
    border-right: solid 1px #ccc;
    border-radius: 0 0 5px 5px;
    border-left: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}

ul.three-col {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

ul.three-col li {
    list-style: none;
}

div.context-tab div.row:not(:last-child) div.col.contextContainer {
    border-bottom: solid 1px #ccc;
}

div.contextElement.plotly,
div.contextElement.plotly_code5_heatmap,
div.contextElement.plotly_calendar_year_heatmap,
div.contextElement.plotly_mpw,
div.contextElement.plotly_rag,
div.contextElement.numberCardsContainer,
div.contextElement.aggregateTableContainer,
div.contextElement.live_value_dials {
    padding-top: 30px;
    padding-bottom: 30px;
}

div.contextElements div.row:not(:last-child) div.contextElement.plotly,
div.contextElements div.row:not(:last-child) div.contextElement.plotly_code5_heatmap,
div.contextElements div.row:not(:last-child) div.contextElement.plotly_calendar_year_heatmap,
div.contextElements div.row:not(:last-child) div.contextElement.plotly_mpw,
div.contextElements div.row:not(:last-child) div.contextElement.plotly_rag,
div.contextElements div.row:not(:last-child) div.contextElement.numberCardsContainer,
div.contextElements div.row:not(:last-child) div.contextElement.aggregateTableContainer,
div.contextElements div.row:not(:last-child) div.contextElement.live_value_dials {
    border-bottom: #ccc 1px solid;
}

div.contextElement.plotly[data-collapse="true"] {
    padding: 5px;
}

div.contextContainer div.context_description {
    margin-top: 20px;
    margin-bottom: 25px;
}

div.contextDescriptionToggle + div.context_description {
    margin: 15px 10px 0 50px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    border-radius: 0 0 5px 5px;
    padding: 5px 10px 10px 10px;
}

div.context_description svg.legend-item-interactive {
    cursor: pointer;
    cursor: hand;
}

div.context_description div.no-trace-present {
    opacity: 0.5;
}

div.section_description {
    margin-bottom: 20px;
}


table.propertyResolution tr th:first-child {
    padding-right: 5px;
    width: 250px;
}

div.contextDescriptionToggle {
    text-align: center;
}


/* UI Datepicker mods */

div#ui-datepicker-div.no-calendar .ui-datepicker-calendar {
    display: none;
}

table.ui-datepicker-calendar td a {
    text-align: center;
}

table.ui-datepicker-calendar td a.ui-state-hover,
table.ui-datepicker-calendar td a.ui-state-active
{
    background-color: #d9d9d9;
    font-weight: bold;
    border: solid 1px #d9d9d9;
    border-radius: 2px;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background-color: #eee;
    background-image: none;
    font-weight: bold;
    border: solid 1px #d9d9d9;
    border-radius: 2px;
}

table.ui-datepicker-calendar td a.ui-state-default,
div.ui-datepicker-buttonpane button.ui-state-default
{
    color: rgb(212, 60, 116);
}

.ui-datepicker .ui-datepicker-header {
    background-image: none;
    font-weight: bold;
    background-color: #d9d9d9;
    border-radius: 5px;
    border-color: #ddd;
}

.ui-datepicker-next span, .ui-datepicker-prev span {
    text-indent: -9999px;
}

#ui-datepicker-div {
    background-color: white;
    border: solid 1px black;
    padding: 5px;
    z-index: 2000 !important;
}

.ui-slider .ui-slider-handle {
    cursor: grab !important;
}

div.traceSequence {
    display: inline-block;
}

div.traceSequence span::before {
    font-weight: 400;
}
div.traceSequence span.recipe span.description::before {
    content: ": ";
}
div.traceSequence span.calendar::before {
    content: " - calendar: ";
}
div.traceSequence span.class_constant::before,
div.traceSequence span.object_constant::before {
    content: "Constant: ";
}
div.traceSequence span.bsop_bems_conditioned::before,
div.traceSequence span.bsop_bems::before {
    content: "BEMS: ";
}

div.pageContextControls {
    border-radius: 10px;
    border: solid 1px  #ccc;
    background-color: #eee;
    padding: 10px;
}

div.btn-group.meter-mode-group {
    position: absolute;
    top: 25px;
    left: 45px;
    z-index: 1;
}

div.floating-action-button {
    position: absolute;
    top: 25px;
    left: 5px;
    z-index: 1;
}

.new-action-modal .modal-body {
    background-color: #efefef;
}

.action-saved {
    width: 300px;
    height: 40px;
    overflow: hidden !important;
    padding: 0px !important;
    margin: 0px;

    float: left;
    position: static !important;
}

.action-saved .modal-dialog,
.action-saved .modal-content {
    height: 100%;
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
}

.action-saved .modal-header{
    height: 100%;
    width: 100%;
    margin: 0px !important;
    padding: 3px 5px !important;
}

.action-saved .fa{
    font-size: 14px;
}

.action-saved .menuTab{display: none;}

#action-saved-draft {
    height: 40px;
    bottom: 1px;
    left: 1px;
    position: fixed;
    right: 1px;
    z-index: 9999;
    width: 0; /* so it doesn't affect the cookie banner close/link */
}

.docked-modal-flash .modal-header {
    -webkit-animation-name: flash-animation;
    -webkit-animation-duration: 0.2s;
    -webkit-animation-iteration-count: 3;

    animation-name: flash-animation;
    animation-duration: 0.2s;
    animation-iteration-count: 3;
}

@-webkit-keyframes flash-animation {
    from { background: white; }
    to   { background: default; }
}

@keyframes flash-animation {
    from { background: white; }
    to   { background: default; }
}

.feedback-status {
    display: flex;
    justify-content: flex-end;
    max-height: 1rem;
    align-items: center;
}
.feedback-status > * {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0  0.25rem;
    color: #999;
}

@media (max-width: 767px) {
    .modebar {
        display: none;
    }
}
