/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Colors
   ========================================================================== */
:root {
    --main-05: #f6f6f8;
    --main-10: #eceef2;
    --main-20: #d9dde5;
    --main-30: #c6cbd8;
    --main-40: #b3bacb;
    --main-50: #a0a9be;
    --main-60: #8d98b0;
    --main-70: #7a87a3;
    --main-80: #677596;
    --main-90: #546489;
    --main-100: #41537C;
    --main-110: #3b4b70;
    --main-120: #344263;
    --main-130: #2e3a57;
    --main-140: #27324a;
    --main-150: #212a3e;
    --main-160: #1a2132;
    --main-170: #141925;
    --main-180: #0d1119;
    --main: var(--main-100);

    --highlight-10: #eaf8fa;
    --highlight-20: #d5f1f5;
    --highlight-30: #c0eaf1;
    --highlight-40: #abe3ec;
    --highlight-50: #96dce7;
    --highlight-60: #81d5e2;
    --highlight-70: #6ccedd;
    --highlight-80: #57c7d9;
    --highlight-90: #42c0d4;
    --highlight-100: #2db9cf;
    --highlight-110: #29a7ba;
    --highlight-115: #269db0;
    --highlight-120: #2494a6;
    --highlight-125: #228b9b;
    --highlight-130: #208291;
    --highlight-140: #1b6f7c;
    --highlight-150: #175d68;
    --highlight-160: #124a53;
    --highlight-170: #0e383e;
    --highlight-180: #092529;
    --highlight: var(--highlight-100);

    --danger-10: #fbeeed;
    --danger-20: #f7dcdc;
    --danger-30: #f3cbca;
    --danger-40: #efb9b8;
    --danger-50: #eca8a7;
    --danger-60: #e89795;
    --danger-70: #e48583;
    --danger-80: #e07471;
    --danger-90: #dc6260;
    --danger-100: #c24946;
    --danger-110: #c24946;
    --danger-120: #ad413e;
    --danger-130: #973937;
    --danger-140: #82312f;
    --danger-150: #6c2927;
    --danger-160: #56201f;
    --danger-170: #411817;
    --danger-180: #2b1010;
    --danger: var(--danger-100)
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {
    height: 100%;
    margin: 0px;
    overflow: hidden;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.map-templates {
    display: none;
}

/* New Shoreline colours */

.input-group-addon {
    background-color: #eff0f2;
    border-color: #888f9e;

    font-size: 1.6rem;
}

.bootstrap-select .dropdown-toggle,
#process_details input,
.form-control {
    background: #fff;
    border-color: #888f9e;
    color: #30353f;

    font-size: 1.6rem;

    border-radius: 0;
    box-shadow: none;
}

.bootstrap-select .dropdown-toggle:hover {
    background: #fff;
}

.bootstrap-select .dropdown-toggle:hover,
#process_details input:hover,
.form-control:hover ~ .input-group-addon,
.form-control:hover {
    border-color: #2e3a57;
}

.btn-group.open .dropdown-toggle,
.open > .dropdown-toggle.btn-default:hover,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select .dropdown-toggle:focus,
#process_details input:focus,
.form-control:focus ~ .input-group-addon,
.form-control:focus {
    border-color: #269db0;
    box-shadow: none;
}

.open > .dropdown-toggle.btn-default,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select .dropdown-toggle:focus,
#process_details input:focus,
.form-control:focus {
    background: #eaf8fa;
    color: #30353f;
}

.bootstrap-select .btn.dropdown-toggle[disabled]:focus,
.bootstrap-select .btn.dropdown-toggle[disabled]:hover,
.bootstrap-select .btn.dropdown-toggle[disabled],
#process_details input[disabled]:focus,
#process_details input[disabled]:hover,
#process_details input[disabled],
.form-control[disabled]:focus ~ .input-group-addon,
.form-control[disabled]:focus,
.form-control[disabled]:hover,
.form-control[disabled] {
    background: #dfe1e5;
    border-color: #888f9e;
    color: #565f71;
}

.bootstrap-select .btn.dropdown-toggle[disabled] {
    opacity: 1;
}

.datepicker,
#process_details [data-type="Integer"],
#process_details [data-type="Double"],
.form-control[data-type="Integer"],
.form-control[data-type="Double"] {
    font-variant-numeric: tabular-nums;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle[disabled],
.toggle .btn {
    border-radius: 0;
}

.toggle .toggle-handle {
    background: #fff;
    border-color: transparent;
    border-radius: 50%;
    transform: translateX(-1.6rem) scaleX(1) scaleY(0.81);
}

.toggle.off .toggle-handle {
    background: #41537c;
    transform: translateX(1.6rem) scaleX(1) scaleY(0.81);
}


.btn-group-sm > .btn {
    border-radius: 4rem;
}

.btn.active,
.btn:active,
.btn[disabled],
.btn {
    text-shadow: none;
    font-weight: normal;
    box-shadow: none;
    border-radius: 4rem;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, color ease-in-out .15s, background-color ease-in-out .15s;
}

.btn:focus {
    outline: 0;
}

.input-group-addon {
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, color ease-in-out .15s, background-color ease-in-out .15s;
}

.btn-primary.active,
.btn-primary {
    background: #41537c;
    color: #fff;
    border-color: #41537c;
    font-weight: bold;
}

.btn-primary.active:hover,
.btn-primary:hover {
    background: #2e3a57;
    color: #fff;
    border-color: #2e3a57;
}

.btn-default.active.toggle-off,
.btn-default {
    background: #fff;
    color: #41537c;
    border-color: #41537c;
}

.btn-primary.active:focus,
.btn-default.active:focus,
.btn-default.active {
    background: #228b9b;
    color: #fff;
    border-color: #228b9b;
}

/*.btn-group .btn-default:hover,*/
.btn-default.active:hover,
.btn-default:hover {
    background: #eceef2;
    color: #2e3a57;
    border-color: #2e3a57;
}

/*.btn-group .btn-default:focus,*/
.btn-primary.active:active,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary:focus,
.btn-default.active:active,
.btn-default:active:focus,
.btn-default:active,
.btn-default:focus {
    background: #abe3ec;
    color: #0e383e;
    border-color: #228b9b;
    outline: none;
}

.btn-danger {
    background: #fff;
    color: #c24946;
    border-color: #c24946;
}

.btn-danger:hover {
    background: #fbeeed;
    color: #973937;
    border-color: #973937;
}

.btn-danger.active,
.btn-danger:active:focus,
.btn-danger:active,
.btn-danger:focus {
    background: #f3cbca;
    color: #411817;
    border-color: #411817;
}

.btn.disabled,
.btn.disabled:active,
.btn.disabled:hover,
.btn.disabled:focus,
.btn-danger[disabled],
.btn-danger[disabled].active,
.btn-danger[disabled]:active,
.btn-danger[disabled]:hover,
.btn-danger[disabled]:focus,
.btn-default[disabled],
.btn-default[disabled].active,
.btn-default[disabled]:active,
.btn-default[disabled]:hover,
.btn-group .btn-default[disabled]:hover,
.btn-default[disabled]:focus,
.btn-primary[disabled].active,
.btn-primary[disabled]:active,
.btn-primary[disabled]:hover,
.btn-group .btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled] {
    background: #dfe1e5;
    color: #565f71;
    border-color: #dfe1e5;
    cursor: not-allowed;
}

.btn-group .btn-primary[disabled],
.btn-primary[disabled] {
    font-weight: bold;
}


.btn-group .btn-primary[disabled].active:focus,
.btn-group .btn-primary[disabled].active:hover,
.btn-group .btn-primary[disabled].active {
    background: #606a7d;
    color: #fff;
    border-color: #606a7d;
}


/* Make border width inside of button group even */
.btn-group .btn:nth-of-type(1n+2) {
    border-left-width: 1px;
}


.dropdown-menu {
    border: 1px solid #cfd2d8;
    border-radius: 0;
    font-size: 1.6rem;
}

.dropdown-menu > li > a {
    text-shadow: none;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .selected > a,
.dropdown-menu > li:not(.disabled) > a:hover {
    background: #41537c;
    color: #fff;
    border-color: #41537c;
}

.dropdown-menu > .active > a:focus,
.dropdown-menu > li:not(.disabled) > a:focus {
    background: #175d68;
    color: #fff;
    border-color: #175d68;
}

.btn-group .btn-primary {
    font-weight: bold;
}


.dropdown-menu > .selected > a .text-muted,
.dropdown-menu > li:not(.disabled) > a:focus .text-muted,
.dropdown-menu > li:not(.disabled) > a:hover .text-muted {
    color: #fff;
    opacity: 0.6;
}

.dropdown-menu .popover-title {
    background: #d9dde5;
    border-bottom: 1px solid #cfd2d8;
    color: #30353f;

    border-radius: 0;

    margin-bottom: 1rem;

    font-size: 1.8rem;
    font-weight: bold;
}

.dropdown-menu .close {
    color: #30353f;
    opacity: 1;
    padding: 8px 14px;
    margin: -8px -14px;
    font-size: 24px;
}

.dropdown-menu .close:focus,
.dropdown-menu .close:hover {
    color: #41537c;
    opacity: 1;
}


.nav-pills > li > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li > a {
    background: transparent;
}

.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a {
    background-color: #238f9b;
}


.labelColour,
.infrastructure_info,
.control-label {
    color: #595959;
}

.progress-bar {
    background-color: #41537c;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #41537c;
    border-color: #41537c;
    color: #fff;
}

#export {
    margin: 0 auto;
    text-align: center;
}

.export__run,
.export__all {
    display: inline-block;
    vertical-align: top;
    width: 33.5em;
    padding: 0 2em;
    margin: 0 auto;
    text-align: left;
}

#active_experiment div {
    background-color: #132e5e;
}

.app--simstall #active_experiment div {
    background-color: #238f9b;
}


.btn-link,
a {
    color: #41537c;
}

.btn-link:focus,
.btn-link:active,
a:focus,
a:active {
    color: #0e383e;
}

.btn-link:hover,
a:hover {
    color: #2e3a57;
}

.nav-tabs {
    background: #fff;
    border-color: #dfe1e7;
}

.nav-tabs > li > a {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 1.8rem;
    color: #30353f;

    padding: 0.7rem 1.2rem;

    border-radius: 0;
    border-color: #dfe1e7;
}

.nav-tabs > li > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    border-top: 3px solid transparent;
}

.nav-tabs > li > a:hover {
    background: #eceef2;
    border-color: #bfc3cb;
    border-bottom-color: #fff;
}

.nav-tabs > li > a:focus {
    background: #eaf8fa;
    color: #0e383e;
    border-color: #228b9b;
    border-bottom-color: #fff;
    outline: 0;
}

.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a {
    color: #228b9b;
    font-weight: bold;
}

.nav-tabs > li.active > a:focus {
    border-color: #228b9b;
    border-bottom-color: #fff;
}

.nav-tabs > li.active > a:before {
    border-top-color: #2db9cf;
}

.alert {
    box-shadow: none;
    text-shadow: none;
}

.alert-info {
    background: #d1daec;
    color: #1f2839;
    border-color: #6684bf;
}

.alert-danger,
.alert-error {
    background: #f3cbca;
    color: #411817;
    border-color: #d8514e;
}

.alert-warning {
    background: #faf1cc;
    color: #473e1a;
    border-color: #edd056;
}

.alert-success {
    background: #c0f0e2;
    color: #0e3e2f;
    border-color: #2ece9d;
}

.alert a {
    text-decoration: underline;
}

/* region COLLAPSABLE ALERTS */

.alert-collapsable {
    padding-right: 60px;
    position: relative;
}

.alert_toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
}

.alert_toggle:hover {
    background: #212a3e;
    color: #fff;
}

.alert-collapsed .alert_content,
.alert_contentInline-collapsed,
.alert_content-collapsed {
    display: none;
}

.alert-collapsed .alert_content-collapsed {
    display: block;
}

.alert-collapsed .alert_contentInline-collapsed {
    display: inline;
}

.alert_item-collapsed + .alert_item-collapsed:before {
    content: ", ";
}

.alert-collapsed .alert_headline {
    max-height: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* endregion COLLAPSABLE ALERTS */

.checklist_warning {
    display: inline-block;
    background: #faf1cc;
    color: #473e1a;
    font-weight: bold;
    padding: 0 5px;
    border: 1px solid #edd056;
    margin: -1px 3px -1px 0;
    text-decoration: none;
}

.checklist_red {
    border-color: #d8514e;
    border-width: 1.5px;
    border-radius: 15%;
    color: #411817;
}

.jumpToError {
    cursor: pointer;
}

.checklist_warning.jumpToError:hover {
    background: #edd056;
}

#loading,
.spinner > div,
.modal-backdrop {
    background-color: #212a3e;
}

.modal-backdrop ~ .modal-backdrop {
    z-index: 1051;
}

#modal2 .modal {
    z-index: 1055;
}

#modal3 .modal {
    z-index: 1056;
}

.app--simstall #loading,
.app--simstall .spinner > div,
.app--simstall ~ .modal-backdrop {
    background-color: #228b9b;
}

.app--portal ~ #loading,
.app--portal ~ .spinner > div,
.app--portal ~ .modal-backdrop {
    background-color: #606a7d;
}

#loading {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1100;
    opacity: 0.2;
    cursor: progress;
    pointer-events: all !important;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101;
    pointer-events: none;
}

.spinner > div {
    height: 100px;
    width: 12px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }
    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.modal-backdrop.in {
    opacity: 0.8;
}


.modal-dialog {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .modal-dialog {
        margin: 0 auto;
    }
}

.modal-body {
    overflow: auto;
}

.modal-content {
    box-shadow: none;
    border-radius: 0;
    border: 0;
}

.modal-footer {
    padding: 1rem 15px;
    background: #fff;
}

.case-edit-footer .btn,
.modal-footer .btn {
    font-size: 1.8rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.modal-hidden {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1051;
    margin: 10px auto;

    background: #fff;
    text-align: center;
}

.modal-hidden h3 {
    margin: 10px 0 15px;
}

.modal-errorjump {
    position: absolute;
    left: 15px;
}

@media (min-height: 300px) {
    .modal-body {
        height: calc(100vh - 65px);
    }

    .modal-content {
        padding-bottom: 65px;
        max-height: calc(100vh);
    }

    .modal-footer {
        height: 65px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 20;
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Shoreline (from here?) */
/*scrolling*/
#main_window {
    max-height: 100%;
}

#portal_pane {
    position: relative;
    height: calc(100vh - 152px);
    overflow-y: scroll;
    padding-bottom: 80px;
}

.tooltip,
h1,
h2,
h3,
h4,
html,
p,
th,
body,
.popover,
svg text,
svg {
    font-family: 'Fira Sans', sans-serif;
}

.dropdown-menu .popover-title,
.input-group-addon,
input,
select,
textarea {
    font-family: 'Fira Sans Condensed', sans-serif;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    font-style: italic;
}

h1 .material-icons,
h2 .material-icons,
h3 .material-icons,
h4 .material-icons {
    font-style: normal;
}

#logo {
    padding: 2px 4px;
}

.full-height {
    height: 100%;
}

#main_window {
    position: relative;
    clear: both;
    background-color: #fff;
}

.addConfigurationModal .modal-body {
    background-color: #eff0f2;
}

#main_window > .container-fluid {
    border-bottom: 1px solid #aaa;
}

#toolbar {
    background-color: #eee;
}

#overview a {
    white-space: nowrap;
}

#sidebar {
    background: #fff;
    padding: 0px;
}

#sidebar .sidebar-item {
    border-radius: 0px;
}

#sidebar .sidebar-heading {
    cursor: pointer;
}

.field_error {
    display: block;
    color: #973937;
}

.bootstrap-select.requiredfield {
    background: transparent;
    border: none;
}

.bootstrap-select.requiredfield .dropdown-toggle,
.requiredfield {
    background: #fbeeed;
    border-color: #d8514e;
}

.bootstrap-select.requiredfield:hover .dropdown-toggle,
.requiredfield:hover {
    border-color: #973937;
}

/* Library items: */


/* bootstrap custom navbar color: */
.navbar {
    background-image: none;
}

/*
      .navbar-custom {
      background-color:#3c7ca0;
      color:#ecf0f1;
      border-radius:0;
      }

      .navbar-custom .navbar-nav > li > a {
      color:#ecf0f1;
      }
      .navbar-custom .navbar-nav > .active > a, .navbar-nav > .active > a:hover, .navbar-nav > .active > a:focus {
      color: #ecf0f1;
      background-color:transparent;
      }
      .navbar-custom .navbar-brand {
      color:#eeeeee;
      }*/
.navbar-custom {
    background-color: #41537c;
    border-color: #fff;
}

.app--simstall .navbar-custom {
    background-color: #228b9b;
}

.app--portal .navbar-custom {
    background-color: #606a7d;
}

.navbar-custom .navbar-brand {
    color: #ffffff;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
    color: #333333;
}

.navbar-custom .navbar-text {
    color: #ffffff;
}

.navbar-custom .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    background-color: #fff;
    color: #333333;
}

.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
    color: #333333;
    background-color: #fff;
}

.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
    color: #333333;
    background-color: #fff;
}

.navbar-custom .navbar-toggle {
    border-color: #fff;
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #fff;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
    border-color: #ffffff;
}

.navbar-custom .navbar-link {
    color: #ffffff;
    font-family: 'Fira Sans', sans-serif;
}

.navbar-custom .navbar-link:hover {
    color: #333333;
}

/*top nav */
.navbar-current-label,
.navbar-top {
    background-color: #212a3e;
    border: 0;
}

.app--simstall .navbar-current-label,
.app--simstall .navbar-top {
    background-color: #175d68;
    border-color: #175d68;
}

.app--portal .navbar-top {
    background-color: #434a58;
    border-color: #434a58;
}

.navbar-top .navbar-brand {
    color: #ffffff;
}

.navbar-top .navbar-brand:hover,
.navbar-top .navbar-brand:focus {
    color: #ffffff;
}

.navbar-top .navbar-text {
    color: #ffffff;
}

.navbar-top .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-top .navbar-nav > li > a:hover,
.navbar-top .navbar-nav > li > a:focus {
    background: #fff;
    color: #333333;
}

.navbar-top .navbar-nav > .active > a,
.navbar-top .navbar-nav > .active > a:hover,
.navbar-top .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #41537c;
}

.app--simstall .navbar-top .navbar-nav > .active > a,
.app--simstall .navbar-top .navbar-nav > .active > a:hover,
.app--simstall .navbar-top .navbar-nav > .active > a:focus {
    background-color: #228b9b;
}

.app--portal .navbar-top .navbar-nav > .active > a,
.app--portal .navbar-top .navbar-nav > .active > a:hover,
.app--portal .navbar-top .navbar-nav > .active > a:focus {
    background-color: #606a7d;
}

.navbar-top .navbar-nav > .open > a,
.navbar-top .navbar-nav > .open > a:hover,
.navbar-top .navbar-nav > .open > a:focus {
    color: #333333;
    background-color: #3c7ca0;
}

.navbar-top .navbar-toggle {
    border-color: #3c7ca0;
}

.navbar-top .navbar-toggle:hover,
.navbar-top .navbar-toggle:focus {
    background-color: #3c7ca0;
}

.navbar-top .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-top .navbar-collapse,
.navbar-top .navbar-form {
    border-color: #ffffff;
}

.navbar-top .navbar-link {
    color: #ffffff;
}

.navbar-top .navbar-link:hover {
    color: #333333;
}

.navbar-fixed-top .navbar-nav > li > a {
    padding-top: 1.2rem;
    padding-bottom: 0.8rem;
}

#notification_button,
.navbar-nav > li.nav-logout > a {
    padding-left: 25px;
    padding-right: 25px;
}

.navbar_label {
    display: none;

    vertical-align: 20%;
    margin-right: 0.5rem;
    max-width: 10rem;
    white-space: nowrap;
    max-height: 1.8rem;

    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 890px) {
    .navbar_label {
        display: inline-block;
    }
}

@media screen and (min-width: 1100px) {
    .navbar_label {
        max-width: 30rem;
    }
}

/* Fix mobile navigation margin */
.navbar-nav {
    margin: 0;
}

@media screen and (max-width: 767px) {
    .navbar-nav > li > a {
        padding: 15px 5px;
    }
}

/* (end) custom bootstrap navbar color */

#map .instance.selected,
#map .instance:hover {
    -webkit-filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.5));
}

/* Wind turbine state */
#map .wind_farm_asset svg .state-indicator {
    fill: none;
}

/* Service */
#map .wind_farm_asset[data-state-1="6"] svg .state-indicator {
    fill: #fffc30;
}

/* Failed but not broken down */
#map .wind_farm_asset[data-state-0="2"] svg .state-indicator {
    fill: #FDA428;
}

/* Failed */
#map .wind_farm_asset[data-state-0="0"] svg .state-indicator {
    fill: #f00;
}

/* Being repaired/serviced */
#map .wind_farm_asset[data-state-0="4"] svg .state-indicator,
#map .wind_farm_asset[data-state-1="7"] svg .state-indicator {
    fill: #00f;
}

#map .port svg {
    width: 50px;
}

/* Specify how clicks on map/instances are delivered */
#map svg {
    pointer-events: none;
}

#map svg * {
    pointer-events: painted;
    cursor: pointer;
}


.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 350px;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

.fade_hide {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 1s 1s linear;
}

.fade_hide_now {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 1s 0s linear;
}

.checklist_alert {
    margin: auto;
    width: 50%;
    min-width: 300px;
    font-weight: bold;
}

div.weather_item,
div.configuration_item {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: calc(50% - 20px);
    height: 184px;
    max-height: 184px;
    margin: 8px 8px;
    cursor: pointer;
}

div.weather_item,
div.configuration_item {
    overflow: auto;
}

@media (min-width: 960px) {
    div.weather_item,
    div.configuration_item {
        width: calc(33% - 20px);
        min-width: 260px;
    }
}

@media screen and (min-width: 1260px) {
    div.weather_item,
    div.configuration_item {
        width: calc(25% - 20px);
    }
}

@media screen and (min-width: 1760px) {
    div.weather_item,
    div.configuration_item {
        width: calc(20% - 20px);
    }
}


@media screen and (min-width: 2040px) {
    #personnel-item [data-is="fte-item"],
    div.weather_item,
    div.configuration_item {
        width: 350px;
    }
}

#configModal div.weather_item {
    width: 330px;
}


div.weather_item,
div.configuration_item {
    background-color: white;
    padding: 0 5px 0 10px;
    box-shadow: 1px 1px 2px #bbb;
}


div.weather_item--active,
div.configuration_item--active {
    background: #fff;
}

div.weather_item--disabled.weather_item--active,
div.configuration_item--disabled.configuration_item--active {
    background: #d7d7d7;
}

div.weather_item:hover .item_button,
div.configuration_item:hover .item_button {
    text-decoration: underline;
}

div.weather_item .configuration_image,
div.configuration_item .configuration_image {
    float: right;
    margin-top: -6px;
    margin-bottom: 6px;
    margin-right: -5px;
    max-width: 100px;
    max-height: 100px;
}

div.weather_item h4,
div.configuration_item h4 {
    background-color: #595959;
    color: white;
    font-size: 17px;
    padding: 5px 5px 5px 10px;
    margin: 0 -5px 6px -10px;
    min-height: 28.7px;
    word-wrap: break-word;
    display: block;
}

.weather_item .action,
.configuration_item .action {
    position: absolute;
    color: #41537c;
    top: auto; /* reset */
    bottom: 6px;
    cursor: pointer;
    display: none !important;
}

.weather_item:hover .action,
.configuration_item:hover .action {
    display: inherit !important;
}

.weather_item .action:hover,
.configuration_item .action:hover {
    color: #2db9cf;
}

.weather_item div.item_button,
.weather_item div.additional,
.configuration_item div.item_button,
.configuration_item div.additional {
    position: absolute;
    padding: 10px;
    bottom: 0;
    /* width: 100%; */
    text-align: right;
}


#mount_main_view {
    position: relative;
}

#mount_main_view[data-is="build-personnel"],
#mount_main_view[data-is="build-configurations"] {
    padding-left: 55px;
}

.addConfiguration {
    position: fixed;
    top: calc(51px + 51px + 50px);
    bottom: 0;
    left: 0;
    background: #2494a6;
    border: 1px solid #1b6f7c;
    color: #fff;
    text-align: center;
    cursor: pointer;
    height: calc(100% - 50px - 51px - 51px);
}

.addConfiguration__icon {
    left: 0;
    width: 60px;
    margin-top: 15px;
    text-align: center;
}

.addConfiguration .material-icons {
    font-size: 40px;
    line-height: 150px;
}

.addConfiguration:focus,
.addConfiguration:hover {
    background: #1b6f7c;
}

.addConfiguration.locked {
    cursor: not-allowed;
}

.addConfiguration.locked,
.addConfiguration.locked:focus,
.addConfiguration.locked:hover {
    background: #dfe1e5;
    color: #565f71;
}

.addConfiguration__label {
    font-size: 14px;
    line-height: 1em;
    text-align: center;
    margin-top: -40px;
}

.addConfiguration:hover .addConfiguration__label {
    opacity: 1;
}

.ui-datepicker {
    z-index: 1500 !important;
}

.no-year .ui-datepicker-year, .no-year .ui-datepicker-calendar thead {
    display: none;
}


#saveMessage {
    display: block;
    position: fixed;
    top: 0.9rem;
    left: 20rem;
    width: 22rem;
    height: 3.2rem;
    z-index: 9999;
    background-color: #20906e;
    color: white;
    font-size: 2rem;
    font-style: italic;
    text-align: center;
    padding: 0.2rem;
    border-radius: 2rem;
}

#saveMessage.saveMessage-error {
    background-color: #ad413e;
}

#saveMessage .material-icons {
    display: inline-block;
    vertical-align: -25%;
}

div#lockedMessage {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 1.5em;
    background-color: #089CC4;
    z-index: 9999;
    color: white;
    text-align: center;
    padding: 1px;
}

.modal {
    /* fixing scroll not working after closing second modal */
    overflow: auto !important;
}


.emptyNotice {
    margin: 0 auto;
    padding: 60px 0 100px 60px;

    text-align: center;
    font-size: 20px;
    color: #595959;
}

.emptyNotice--notRoot {
    padding: 20px 0 40px;
}

.emptyNotice h1 {
    font-size: 36px;
    margin-bottom: 40px;
}

.emptyNotice .material-icons {
    vertical-align: middle;
}

.emptySection {
    margin: 20px 0;
}

.emptyFootnote {
    font-size: 16px;
}

.hidden_feeder_step {
    opacity: .4;
    filter: blur(1px);
    pointer-events: none;
    border: none;
}

.tooltip-import-modal .tooltip-inner {
    text-align: left;
    padding: 10px 15px;
    font-size: 14px;
}

.tooltip-import-modal .tooltip-inner ul,
.tooltip-import-modal .tooltip-inner li {
    margin: 0;
    padding: 0;
}

.tooltip-import-modal .tooltip-inner li {
    margin-left: 13px;
}

.popover {
    max-width: 100%;
}


.section-headline {
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;

    text-align: left;

    background: #e3efcf;
    border-bottom: 1px solid #c7df9f;
    color: #415026;

    font-style: italic;
    font-size: 2rem;
    line-height: 2.6rem;
}


.card-nav {
    margin: 0.5rem 0.5rem 1.5rem;
}

.cardlist {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    align-items: stretch;
}

.cardlist-navigation {
    justify-content: center;
}

.cardlist-templates .card {
    height: 100%;
}

.cardlist-templates .card-templateWrapper {
    padding: 0.5rem;
    min-width: 25rem;
    max-width: 50rem;
    flex: 2 1 50%;
}

.cardlist-navigation .card-templateWrapper {
    min-height: 20.8rem;
}

@media (min-width: 960px) {
    .cardlist-templates .card-templateWrapper {
        flex-basis: 33%;
    }
}

@media (min-width: 1340px) {
    .cardlist-templates .card-templateWrapper {
        flex-basis: 25%;
    }
}

@media (min-width: 1760px) {
    .cardlist-templates .card-templateWrapper {
        flex-basis: 20%;
    }
}

@media (min-width: 2040px) {
    .cardlist-templates .card-templateWrapper {
        flex-basis: 35rem;
    }
}

.cardlist-templates .card-templateSmall {
    flex-grow: 1;
    flex-shrink: 2;
    min-width: 15rem;
    max-width: 30rem;
}


/* region DRAG & DROP */

.draglist {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.draglist li {
    position: relative;

    margin: 0 3px 3px 3px;
    padding: 0.4rem 0.4rem 0.4rem 1rem;

    border: 1px solid #cfd2d8;
    color: #30353f;

    font-size: 1.4em;

    transition: background-color 0.25s;
}

.draglist-text li {
    padding-left: 2.5rem;
    font-size: 1.7rem;
}

.draglist li:before {
    content: 'drag_indicator';

    position: absolute;
    display: inline-flex;
    left: 0;
    top: 0;
    bottom: 0;

    padding-top: 0.5rem;

    width: 1.6rem;
    font-size: 1.6rem;

    font-family: 'Material Icons';
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;

    text-align: center;

    background: #d9dde5;
}

.draglist li {
    background: #fff;
    cursor: ns-resize;
}

.draglist li:hover {
    background: #eceef2;
}

.draglist-disabled li {
    background: transparent;
    cursor: default;
}

.draglist-disabled li:hover {
    background: transparent;
}

/* endregion Drag & Drop */
/* region POPUP MENU */

.popup {
    position: absolute;
    z-index: 100;

    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 15rem;
    max-width: 35rem;

    background: #41537c;
    color: #fff;

    text-align: left;
}

.popup::before {
    content: '';

    position: absolute;

    width: 0;
    height: 0;

    top: -1.6rem;
    left: calc(50% - 0.8rem);

    border: 0.8rem solid transparent;
    border-bottom-color: #41537c;

    pointer-events: none;
}

.popup_item {
    display: block;

    width: 100%;
    min-height: 3.4rem;

    margin: 0.1rem 0;
    padding: 0.7rem 1.5rem 0.7rem 4.5rem;

    border: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;

    font-weight: normal;
    text-align: left;

    outline: 0.2rem solid transparent;
    outline-offset: -0.2rem;

    box-sizing: border-box;
}

.popup_item:hover {
    background: #2e3a57;
    color: currentColor;
    text-decoration: none;
}

.popup_item:focus {
    background: #a9e3ed;
    color: #0e383e;

    outline-color: #188b9c;
}

.popup_icon {
    position: absolute;

    left: 1rem;
    width: 3rem;
    margin-top: -0.1rem;
    padding: 0;

    text-align: center;
}

.popup_headline {
    margin: 0 1.5rem 1rem;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid #fff;
}

/* endregion Popup Menu */

.sl-input {
    height: 34px;
    padding: 6px 12px;
    font-size: 1.6rem;
    border-radius: 0;
    border: 1px solid #888f9e;
    background-color: white;
}

.sl-input:focus {
    outline: none;
    border-color: #269db0;
    background-color: #eaf8fa;
}

.sl-input:disabled {
    color: #565f71;
    background-color: #f5f5f5;
}

.navbar-header {
    display: flex;
}

.nfe-toggle-container {
    display: flex;
    align-items: center;
}

.nfe-toggle {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    margin-bottom: 0;
}

.nfe-toggle input {
    display: none;
}

.nfe-toggle-text {
    display: flex;
    align-items: center;
    margin-left: 4px;
    color: #212a3e;
}

.nfe-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 20px;
}

.nfe-toggle-slider:before {
    position: absolute;
    content: '';
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .nfe-toggle-slider {
    background-color: #2ECE9D;
}

input:focus + .nfe-toggle-slider {
    box-shadow: 0 0 1px #2ECE9D;
}

input:checked + .nfe-toggle-slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

.label-primary {
    background-color: #3B82F6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.25rem 0.4rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
