/* KEY 
#018CCF - zone 7 blue
#013E71 - zone 7 dark blue
#70B191 - green threshold level
#EEBF4B -  yellow threshold level
#EE9D19 - orange threshold level
#FF5757 - red threshold level

/************** General **********/
html {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
body {
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    width: 100%;
    height: 100%;
    letter-spacing: -.005em;
    line-height: 130%;
}
.hide, .mobile-hide { /*still visible to screenreaders*/
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.hide-important {
    display:none !important;
}
.clear {
    clear: both;
}
.alignleft {
    text-align: left;
}
.alignright {
    text-align: right;
}
.tooltip {
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px !important;
}
.modal .search {
    margin: 0px 0 10px 0;
}
.clear {
    clear: both;
}
hr {
    border: 0;
    height: 0;
    border-top: 1px solid #DDD;
    margin: 20px 0;
}
a {
    color: #000;
    transition: color 0.5s ease;
}
    a:hover {
        color: #018CCF;
        text-decoration: none;
    }
@media (min-width: 768px) {
    body {
        font-size: 14px;
    }
    .mobile-hide {
        position: relative !important;
        height: auto;
        width: auto;
        clip: auto;
        white-space: normal;
    }
    .desktop-hide {
        display:none !important;
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap;
    }
    .tooltip {
        font-size: 13px !important;
    }
}

/************** Heading Levels **********/
h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 130%;
    margin: 10px 0;
}
h1 {
    font-size: 9px;
    line-height: 100%;
    font-weight: 400;
    letter-spacing: -.02em;
}
h2 {
    font-weight: 400;
    font-size: 16px;
}
    h2 span {
        color: #666;
    }
h3 {
    font-size: 15px;
}
h4 {
    font-size: 14px;
}
h5 {
    font-size: 13px;
}
h6 {
    font-size: 12px;
}
small {
    font-size: 9px;
}
@media (min-width: 768px) {
    h1 {
        font-size: 14px;
        font-weight: 500;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
        h3.h2 {
            font-size: 20px;
        }
    h4 {
        font-size: 16px;
    }
       h4.h3 {
            font-size: 18px;
        }
    h5 {
        font-size: 15px;
    }
    h6 {
        font-size: 14px;
    }
    small {
        font-size: 13px;
    }
}

/************** Header **********/
.header {
    background-color: #FFF;
    position: fixed;
    overflow: hidden;
    top: 0;
    height: 75px;
    width: 100%;
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.2);
    z-index: 600 !important;
}
.sidebar-toggle {
    display: none !important;
}
.logo-container {
    float: left;
    height: 75px;
}
.logo {
    /*background-image: url(../images/mpwmd-logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 160px;
    height: 48px;
    position: relative;*/
}
.logo-container img {
    /*width: auto !important;
    height: 48px !important;*/
}
.search-icon, .search-icon a {
    margin-left: 10px;
    font-size: 15px;
    color: #4A4A4A;
}
.toggle-dash .btn {
    background: #FFF;
    border: 1px solid #DDD;
    color: #000;
}
.toggle-dash .btn.active, .toggle-dash .btn:hover {
    border: 1px solid #018CCF;
    background: #018CCF;
    color: #FFF;
}
.toggle-pages {
    height: 75px;
}
.toggle-pages .btn {
    background: #FFF;
    border: 1px solid #DDD;
    color: #000;
    font-size: 15px;
}
.toggle-pages .btn.active, .toggle-pages .btn:hover {
    border: 1px solid #018CCF;
    background: #018CCF;
    color: #FFF;
}
.toggle-pages .btn.first:hover, .toggle-pages .btn.first.active {
    border-right: 1px solid #FFF;
}
.toggle-pages .btn.last:hover, .toggle-pages .btn.last.active {
    border-left: 1px solid #FFF;
}
.header .timestamp {
    display: none !important;
}
.timestamp-tab {
    background-color: #FFF;
    border-radius: 0 0 5px 5px;
    color: #666;
    font-size: 10px;
    padding: 5px 5px 3px 5px;
    position: absolute;
    top: 75px;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    text-align: center;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    z-index: 30 !important;
}
@media (min-width: 768px) {
    .header {
        height: 100px;
    }
    .sidebar-toggle {
        display: flex !important;
        margin-right: 15px;
        height: 100px;
        cursor: pointer;
    }
    .sensor .sidebar-toggle { /*hide sidebar toggle on sensor tab screens */
        display: none;
    }
   .sidebar-toggle .fas {
        color: #4A4A4A;
        font-size: 23px;
        transition: color 0.1s ease;
    }
        .sidebar-toggle .fas:hover, .sidebar-toggle .fas.active {
            color: #018CCF;
        }
    .logo-container {
        height: 100px;
    }
    /*.logo {
        width: 240px;
        height: 68px;
    }
    .logo-container img {
        width: 160px !important;
        height: auto !important;
    }*/
    .search-icon {
        display: none !important;
    }
    .toggle-pages {
        height: 100px;
        margin-left: 15px;
    }
        .toggle-pages .btn {
            padding: 20px 0;
            width: 100px !important;
        }
    .header .timestamp {
        display: flex !important;
        color: #666;
        font-size: 15px;
    }
    .timestamp-tab {
        display: none;
    }
}

/************** Sidebar **********/
.sidebar {
    position: absolute;
    background: #FFF;
    bottom: 0px;
    border-radius: 10px 10px 0 0;
    max-height: 365px;
    overflow: auto;
    width: 100%;
    -webkit-box-shadow: 0px -2px 2px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px -2px 2px 0px rgba(0,0,0,0.2);
    box-shadow: 0px -2px 2px 0px rgba(0,0,0,0.2);
    z-index: 500;
}
@media (min-width: 768px) {
    .sidebar {
        border-right: 1px solid #DDD;
        border-radius: 0;
        left: 0;
        width: 415px;
        transition: all 0.5s ease;
        min-height: calc(100% - 100px);
        top: 100px;
        z-index: 250 !important;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
        .sidebar.closed {
            left: -415px;
        }
}

/************** Search **********/
.search {
    width: 100%;
    margin-top: 20px;
}
    .search .form-control {
        box-shadow: none !important;
        border-radius: 5px 0 0 5px;
        font-family: 'Montserrat', sans-serif;
        font-size: 17px;
        height: 45px;
        padding: 0 15px !important;
        border: 1px solid #DDD;
        border-right: none;
    }
.form-control::placeholder {
    color: #999 !important;
}
.search .input-group-text {
    border: 1px solid #DDD;
    border-left: none;
    background-color: #FFF;
    color: #4A4A4A;
    font-size: 15px;
    height: 45px;
    transition: all 0.5s ease;
}
.ui-autocomplete {
    z-index: 2002; /* Above mobile modal */
    max-height: 300px;
    overflow-y: auto;
    font-size: 13px;
}
    .ui-autocomplete > li {
        border-bottom: 1px solid #DDD;
    }
        .ui-autocomplete > li > a {
            padding: 10px 5px !important;
            width: 100%;
            display: inline-block;
        }
            .ui-autocomplete > li > a.ui-state-active {
                color: #fff;
                background-color: #008CCF;
            }
.autocompleteMenuOdd {
    background-color: #eee;
}

/************** Sensor list **********/
.sensor-circle {
    width: 17px;
    height: 17px;
    border-radius: 17px;
}
    .sensor-circle.stream {
        background-color: #1B98CC;
        border: 1px solid #006A8E;
    }
    /*.sensor-circle.reservoir {
        background-color: #018CCF;
        border: 2px solid #176E10;
    }
    .sensor-circle.rainfall {
        background-color: #FECC2F;
        border: 2px solid #917418;
    }*/
.water-toggle .btn {
    background: #FFF;
    border: 1px solid #DDD;
    color: #4A4A4A;
    font-size: 10px !important;
    padding: 6px 5px !important;
    width: 55px;
}
    .water-toggle .btn.active, .water-toggle .btn:hover {
        border: 1px solid #40A4D8;
        background: #40A4D8;
        color: #FFF;
    }
    .water-toggle .btn.first:hover, .water-toggle .btn.first.active {
        border-right: 1px solid #FFF;
    }
    .water-toggle .btn.last:hover, .water-toggle .btn.last.active {
        border-left: 1px solid #FFF;
    }

    .sensorToggleRainfall.water-toggle .btn.last {
        min-width: 45px !important;
    }

.periodBtns .btn {
    width:100px;
}

@media (min-width: 768px) {
    .sensor-list {
        border-top: 1px solid #DDD;
        margin-bottom: 25px;
    }
        .sensor-list .sensor-item {
            border-bottom: 1px solid #DDD;
            height: 50px;
        }
    .sensor-item .form-check {
        margin-left: 10px;
        margin-right: 15px;
    }
    .sensor-item .sensor-icon {
        height: 50px;
        margin-right: 10px;
    }
    .sensor-label {
        font-size: 15px;
        height: 50px;
    }
    .water-toggle {
        height: 50px;
    }
        .water-toggle .btn {
            font-size: 11px !important;
        }
}

/************** Larger Checkboxes and Radio Buttons **********/
.checkbox label, .radio label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0px;
}

    .checkbox label::before {
        content: "";
        display: inline-block;
        position: absolute;
        left: 0;
        margin-left: -20px;
        border: 1px solid #cccccc;
        border-radius: 3px;
        background-color: #fff;
        -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
        width: 20px;
        height: 20px;
        top: 0;
    }

    .checkbox label::after {
        display: inline-block;
        position: absolute;
        margin-left: -20px;
        color: #FFF;
        border-radius: 3px;
        width: 11px;
        height: 11px;
        font-size: 12px;
        line-height: 12px;
        left: 4px;
        top: 4px;
    }

.checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: 1;
}

    .checkbox input[type="checkbox"]:focus + label::before {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .checkbox input[type="checkbox"]:checked + label::after {
        font-family: "Font Awesome 5 Free"; /* This is the correct font-family*/
        font-weight: 900;
        content: '\f00c';
    }

    .checkbox input[type="checkbox"]:disabled + label {
        opacity: 0.65;
    }

    .checkbox input[type="checkbox"]:checked + label::before {
        background-color: #018CCF;
        border-color: #013E71;
    }

.radio label::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out;
    transition: border 0.15s ease-in-out;
    width: 20px;
    height: 20px;
    top: 0;
}
.radio label::after {
    display: inline-block;
    position: absolute;
    content: "";
    margin-left: -15px;
    border-radius: 50%;
    background-color: #FFF;
    -webkit-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    width: 14px;
    height: 14px;
    font-size: 12px;
    left: -2px;
    top: 3px;
    padding: 0;
}
.radio input[type="radio"] {
    opacity: 0;
    z-index: 1;
}
    .radio input[type="radio"]:focus + label::before {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }
    .radio input[type="radio"]:checked + label::after {
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    .radio input[type="radio"]:disabled + label {
        opacity: 0.65;
    }
        .radio input[type="radio"]:disabled + label::before {
            cursor: not-allowed;
        }
    .radio input[type="radio"] + label::after {
        background-color: #018CCF;
    }
    .radio input[type="radio"]:checked + label::before {
        border-color: #013E71;
    }
    .radio input[type="radio"]:checked + label::after {
        background-color: #018CCF;
    }
input[type="checkbox"].styled:checked + label:after,
input[type="radio"].styled:checked + label:after {
    font-family: 'FontAwesome';
    content: "\f00c";
}
input[type="checkbox"] .styled:checked + label::before,
input[type="radio"] .styled:checked + label::before {
    color: #fff;
}
input[type="checkbox"] .styled:checked + label::after,
input[type="radio"] .styled:checked + label::after {
    color: #fff;
}

/************** Mobile Sidebar Checkboxes **********/
#mobileSidebarHandle {
    cursor: pointer;
}
.mobile-sidebar-closed {
    display: none;
    border-radius: 0;
    max-height: 43px;
    bottom: -43px;
    cursor: pointer;
}
    .mobile-sidebar-closed.up {
        display: block;
        bottom: 0;
    }
    .mobile-sidebar-closed h2 .fas {
        font-size: 13px !important;
        margin-right: 5px;
    }
.mobile-sidebar {
    display: none;
}
    .mobile-sidebar.up {
        display: block;
        bottom: 0;
    }
    .mobile-sidebar hr {
        margin: 15px 0;
    }
    .mobile-sidebar .handle {
        background-color: #DDD;
        border-radius: 4px;
        position: absolute;
        left: 50%;
        margin-left: -25px;
        height: 5px;
        width: 50px;
        top: 7px;
    }
    .mobile-sidebar .sensor-list {
        padding-top: 20px;
    }
    .mobile-sidebar .sensor-item {
        display: inline-block !important;
        float: left !important;
        position: relative;
        text-align: center;
        width: 48%;
    }
        .mobile-sidebar .sensor-item.first, .mobile-sidebar .sensor-item.second {
            margin-right: 4%;
        }
    .mobile-sidebar .sensor-icon {
        position: absolute;
        text-align: center;
        top: 15px;
        width: 100%;
        z-index: 1;
    }
        .mobile-sidebar .sensor-icon .sensor-circle {
            margin: 0 auto;
        }
    .mobile-sidebar .sensor-checkbox {
        height: 60px;
    }
    .mobile-sidebar .checkbox label {
        position: absolute;
        left: 0;
        top: 40px;
        width: 100%;
        z-index: 10;
    }
        .mobile-sidebar .checkbox label::before {
            content: "";
            display: inline-block;
            position: absolute;
            left: 0;
            top: 0;
            margin-left: 0px;
            margin-top: -35px;
            border: 1px solid #cccccc;
            border-radius: 8px;
            background-color: transparent;
            -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            width: 100%;
            height: 60px;
        }
        .mobile-sidebar .checkbox label::after {
            position: absolute;
            color: #008CCF;
            width: 100%;
            height: 60px;
            font-size: 15px;
            top: -35px;
            left: 20px;
            padding: 8px 8px 0 0;
            text-align: right;
        }
    .mobile-sidebar .checkbox input[type="checkbox"] {
        opacity: 0;
        z-index: 1;
    }
        .mobile-sidebar .checkbox input[type="checkbox"]:focus + label::before {
            outline: thin dotted;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }
        .mobile-sidebar .checkbox input[type="checkbox"]:checked + label::after {
            font-family: "Font Awesome 5 Free"; /* This is the correct font-family*/
            font-weight: 900;
            content: '\f00c';
        }
        .mobile-sidebar .checkbox input[type="checkbox"]:disabled + label {
            opacity: 0.65;
        }
        .mobile-sidebar .checkbox input[type="checkbox"]:checked + label::before {
            background-color: transparent;
            border-color: #008CCF;
        }

    .mobile-sidebar input[type="checkbox"].styled:checked + label:after {
        font-family: 'FontAwesome';
        content: "\f00c";
    }

    .mobile-sidebar input[type="checkbox"] .styled:checked + label::before {
        color: #018CCF;
    }
    .mobile-sidebar input[type="checkbox"] .styled:checked + label::after {
        color: #018CCF;
    }
    .mobile-sidebar .water-toggle {
        margin-top: 15px;
    }
        .mobile-sidebar .water-toggle .btn-group {
            width: 100%;
        }
        .mobile-sidebar .water-toggle .btn {
            width: 50%;
        }
    .mobile-sidebar .thresholds-info {
        padding: 10px 0;
        margin-top: 8px;
    }
    .mobile-sidebar .thresholds-title {
        height: 35px;
        margin-top: 5px;
        padding-top: 3px;
    }
        .mobile-sidebar .thresholds-title .fas {
            font-size: 15px;
        }
    .mobile-sidebar .flood-watch .toggle {
        margin-left: 5px !important;
    }
    .mobile-sidebar h2 .fas {
        font-size: 14px !important;
        margin: 0 10px 0 5px;
    }
    .mobile-sidebar h2.additional-info {
        border-top: 1px solid #DDD;
        padding: 10px 0 0 0;
    }
    .mobile-sidebar .sidebar-footer {
        margin-top: -5px;
    }
    .mobile-sidebar .flood-watch .toggle.btn {
        font-size: 11px !important;
        padding: 4px !important;
        height: 15px !important;
    }
h2 a .fa-caret-down {
    display: none !important;
}
h2 a .fa-caret-up {
    display: inline-block !important;
}
h2 a.collapsed .fa-caret-down {
    display: inline-block !important;
}
h2 a.collapsed .fa-caret-up {
    display: none !important;
}

/********** sensor title *********/
.sensors-title .fa-info-circle {
    color: #999;
    font-size: 17px;
    margin-left: 5px;
}
    .sensors-title .fa-info-circle:hover {
        color: #018CCF;
    }

/************** Thresholds **********/
.toggle.btn {
    min-width: 140px;
    min-height: 34px;
}

.thresholds {
    background: #f6f6f4;
}
.thresholds-title .fa-info-circle {
    color: #999;
    font-size: 17px;
    margin-left: 5px;
}
    .thresholds-title .fa-info-circle:hover {
        color: #018CCF;
    }
.flood-watch {
    padding-top: 8px;
}
    .flood-watch .toggle, .sensor-threshold .toggle {
        border: 1px solid #DDD;
        margin-left: 10px !important;
    }
        .flood-watch .toggle .btn, .sensor-threshold .toggle .btn {
            font-size: 12px !important;
            padding-top: 8px !important;
            text-align: center;
            -webkit-box-shadow: inset 2px 2px 2px 1px rgba(0,0,0,0.2);
            -moz-box-shadow: inset 2px 2px 2px 1px rgba(0,0,0,0.2);
            box-shadow: inset 2px 2px 2px 1px rgba(0,0,0,0.2);
        }
    .flood-watch .btn.toggle-off, .sensor-threshold .btn.toggle-off {
        background-color: #FFF;
        color: #4A4A4A;
    }
    .flood-watch .btn.toggle-on:hover, .sensor-threshold .btn.toggle-on:hover {
        background-color: #40A4D8;
    }
    .flood-watch .btn.toggle-handle, .sensor-threshold .btn.toggle-handle {
        background-color: #FFF;
        border-right: 1px solid #DDD;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        width: 20px;
        box-shadow: none;
    }
.thresholds-info {
    color: #4A4A4A;
    background-color: #F6F6F4;
    padding: 15px 0;
    text-align: center;
}
    .thresholds-info .thresholds-icon {
        display: block;
        height: 45px;
        width: 100%;
        margin-bottom: 5px;
    }
    .thresholds-info .btn {
        width: 100%;
        margin-top: 10px;
    }
.severity-icon {
    padding-top: 15px;
}
.severity.progress {
    border-radius: 20px;
    height: 13px;
    max-width: 120px;
    margin: 0 auto;
}
.progress-bar.green {
    background-color: #70B191;
}

.progress-bar.yellow {
    background-color: #EEBF4B;
}
.progress-bar.orange {
    background-color: #EE9D19;
}
.progress-bar.red {
    background-color: #FF5757;
}
.progress-bar.purple {
    background-color: #8533AD;
}
.progress-bar.blue {
    background-color: #40A4D8;
}
/************** Sidebar Footer **********/
.sidebar-footer nav {
    font-size: 13px;
}
    .sidebar-footer nav ul {
        list-style: none;
        padding: 0;
    }
    .sidebar-footer nav li {
        margin: 7px 0;
    }
    .sidebar-footer nav a {
        color: #0167A6;
    }
        .sidebar-footer nav a:hover {
            color: #013E71;
        }
.sidebar-footer .terms {
    color: #999;
    font-size: 13px;
}
    .sidebar-footer .terms a {
        color: #000;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
        .sidebar-footer .terms a:hover {
            color: #176E10;
        }
.sidebar-footer p {
    margin: 3px 0;
}
@media (min-width: 768px) {
    .sidebar-footer {
        margin-bottom: 20px;
    }
        .sidebar-footer nav {
            font-size: 15px;
        }
}


/************** Map Pins **********/
.sensor-pin {
    cursor: pointer;
    overflow: visible;
    transition: all 0.3s ease;
}
    .sensor-pin a {
        display: block;
    }
    .sensor-pin svg {
        overflow: visible;
    }
.stream .center-circle {
    fill: #1B98CC;
    stroke: #006A8E;
}

/* .sensor-pin.example1 {
        position: absolute;
        right: 200px;
        top: 100px;
        margin-left: -22.5px;
        margin-top: -22.5px;
    }
    .sensor-pin.example2 {
        position: absolute;
        right: 400px;
        top: 200px;
        margin-left: -22.5px;
        margin-top: -22.5px;
    }
    .sensor-pin.example3 {
        position: absolute;
        right: 300px;
        top: 300px;
        margin-left: -22.5px;
        margin-top: -22.5px;
    }
    .sensor-pin.example4 {
        position: absolute;
        right: 200px;
        top: 400px;
        margin-left: -22.5px;
        margin-top: -22.5px;
    }*/
.center-circle {
    fill: #018CCF;
    stroke-width: 1;
    stroke: #9B9B9B;
}
/*
.f-circle {
    fill: #818181;
    stroke-width: 1;
    stroke: #818181;
}
.f-letter {
    fill: #FFF;
}

.reservoir .center-circle {
    fill: #018CCF;
    stroke: #176E10;
}
.rainfall .center-circle {
    fill: #FECC2F;
    stroke: #917418;
}*/
.outer-circle1, .outer-circle2 {
    stroke-width: 3;
    stroke: #818181;
    opacity: .8;
    transition: all 0.5s ease;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: center;
    transform-box: fill-box;
}
    /* new styles for rings: */
.outer-circle1.white, .outer-circle2.white, .outer-circle1-thin.white, .outer-circle2-thin.white, .outer-circle1-thinner.white, .outer-circle2-thinner.white {
        stroke: #FFF;
    }
.outer-circle1-thin, .outer-circle2-thin {
    stroke-width: 2;
    stroke: #B2B2B2;
    opacity: .8;
    transition: all 0.5s ease;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: center;
}
.outer-circle1-thinner, .outer-circle2-thinner {
    stroke-width: 1;
    stroke: #B2B2B2;
    opacity: .8;
    transition: all 0.5s ease;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: center;
}
.outer-circle1.yellow, .outer-circle2.yellow,
.outer-circle1-thin.yellow, .outer-circle2-thin.yellow {
    stroke: #FFD633;
}
/*.f-circle.yellow {
    fill: #FFD633;
    stroke: #B29523;
}*/
.outer-circle1.orange, .outer-circle2.orange,
.outer-circle1-thin.orange, .outer-circle2-thin.orange {
    stroke: #FF8533;
}
/*.f-circle.orange {
    fill: #FF8533;
    stroke: #B25C23;
}*/
.outer-circle1.red, .outer-circle2.red,
.outer-circle1-thin.red, .outer-circle2-thin.red {
    stroke: #D63333;
}
/*.f-circle.red {
    fill: #D63333;
    stroke: #952323;
}*/
.outer-circle1.purple, .outer-circle2.purple,
.outer-circle1-thin.purple, .outer-circle2-thin.purple {
    stroke: #8533AD;
}
.f-circle.purple {
    fill: #8533AD;
    stroke: #5C2378;
}

.f-circle.gray {
    /*fill: #F7F8F9; too light - use default circle gray*/
    /*stroke: #9B9B9B;*/
}
.maintenance {
    fill: #000;
}
.sensor-pin .outer-circle1.grow, .sensor-pin .outer-circle1.grow, .sensor-pin .outer-circle1-thin {
    animation-name: grow1;
}
@keyframes grow1 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    0% {
        transform: scale(1);
    }
}
.sensor-pin .outer-circle2.grow, .sensor-pin .outer-circle2.grow, .sensor-pin .outer-circle2-thin {
    animation-name: grow2;
}

@keyframes grow2 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    0% {
        transform: scale(1);
    }
}

.sensor-pin .outer-circle1-thinner {
    animation-name: grow3;
}

@keyframes grow3 {
    0% {
        r: 7;
    }

    50% {
        r: 10;
    }

    100% {
        r: 7;
    }
}

.sensor-pin .outer-circle2-thinner {
    animation-name: grow4;
}

@keyframes grow4 {
    0% {
        r: 9;
    }

    50% {
        r: 12;
    }

    0% {
        r: 9;
    }
}

/************** Forms **********/
/*button: focus {
    outline: 0;
}*/

input.form-control, textarea.form-control, select.form-control {
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    padding: 10px;
}

label, legend {
    font-weight: normal;
}

.btn {
    border: none;
    background-color: #018CCF;
    color: #FFF;
    font-size: 13px;
    font-weight: 400;
    text-shadow: none !important;
    transition: color 0.1s ease;
    border-radius: 3px;
}
    .btn:hover, .btn:active {
        color: #FFF;
        background-color: #013E71;
    }
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-link {
    background-color: transparent;
    color: #018CCF;
}
    .btn-link:hover {
        color: #013E71;
        background-color: transparent;
        text-decoration: none;
    }
@media (min-width: 768px) {
    .btn {
        font-size: 15px;
    }
}

/************** Map **********/
.map {
    display: block;
    background-color: #C8EBF7 !important; /*remove when map placed*/
    width: 100%;
    height: 100%;
    height: calc(100% - 283px);
    position: absolute;
    top: 75px;
    z-index: 1;
    overflow: hidden;
}
    .map.noSidebar {
        height: calc(100% - 115px);
    }
@media (min-width: 768px) {
    .map, .map.noSidebar {
        top: 100px;
        height: calc(100% - 100px); /*subtract header height*/
        width: calc(100% - 415px);
        right: 0;
    }
        .map.full-width {
            width: 100%;
        }
}
#mapDiv {
    height: 100%;
    width: 100%;
    z-index: 1;
}
.zoom-buttons {
    display: none;
}
.map-buttons {
    position: absolute;
    top: 15px;
    right: 10px;
    width: 45px;
    z-index: 2;
}
.map-btn {
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    color: #4A4A4A;
    font-weight: 400;
    clear: both;
    font-size: 15px;
    width: 45px;
    height: 45px;
    padding: 0 !important;
    transition: all 0.5s ease;
    margin-bottom: 10px;
}
    .map-btn:hover, .map-btn.active {
        background-color: #FFF;
        color: #018CCF;
    }
@media (min-width: 768px) {
    .map-buttons {
        top: 20px;
        right: 20px;
    }
    .zoom-buttons {
        display: block;
        bottom: 20px;
        right: 20px;
        width: 45px;
        position: absolute;
    }
        .zoom-buttons .btn {
            background-color: #FFF;
            border: 1px solid #DDD;
            border-radius: 4px;
            color: #4A4A4A;
            font-weight: 400;
            clear: both;
            font-size: 15px;
            width: 45px;
            height: 45px;
            padding: 0 !important;
            transition: all 0.5s ease;
        }
            .zoom-buttons .btn:hover {
                background-color: #FFF;
                color: #018CCF;
            }
}

/************** Modals **********/
.modal .form-check {
    margin: 5px 0;
}
.modal-backdrop.show {
    background-color: white;
    opacity: .8;
    z-index: 2000;
}
.modal {
    z-index: 2001;
}
.modal-content {
    border-radius: 0px;
    border-color: #DDD;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
.modal-body {
    padding-top: 0;
    padding-bottom: 0;
}
    .modal-body a {
        text-decoration: underline;
    }
#disclaimerModal .modal-body {
    line-height: 140%;
}
#disclaimerModal h2 {
    margin-bottom: 10px;
}
.modal-header, show.modal-footer {
    border: none !important;
}
.modal-header {
    padding: 5px 10px 5px 16px;
}
    .modal-header img {
        margin-top: 5px;
    }
.modal-footer {
    padding-top: 0;
    text-align: center;
    border-top: none !important;
}
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}
.modal.static .modal-dialog {
    margin-top: 80px;
}
.modal-header .modal-title {
    display: inline-block;
}
.modal.static {
    position: absolute !important;
}
    .modal.static.show {
        display: block !important;
    }
    .modal.static .modal-content {
        max-width: 300px;
        left: 50%;
        margin-left: -150px;
    }
.modal.concerns, .modal.concerns .modal-backdrop {
    z-index: 2050 !important;
}
.modal-footer .btn {
    margin: 0 auto !important;
}
#layerModal {
    position: relative;
}
    #layerModal .modal-dialog {
        position: fixed;
        width: 260px;
        margin: 0;
        padding: 5px;
        right: 65px;
        top: 115px;
    }
.maplayers {
    border-top: 1px solid #DDD;
}
.layer {
    border-bottom: 1px solid #DDD;
    padding: 7px 0;
}
    .layer.alt {
        background-color: #F7F8F9;
    }
    .layer label span {
        margin-left: 5px;
        font-size: 14px !important;
    }
.basemaps {
    font-size: 12px;
    margin-bottom: 15px;
}
    .basemaps img {
        max-width: 100%;
        height: auto;
        display: block;
        transition: border-width 0.5s ease;
    }
        .basemaps img.active, .basemaps img:hover {
            border: 2px solid #006A8E;
        }
    .basemaps .no-gutters .col {
        padding-right: 10px !important;
        padding-bottom: 5px !important;
    }
@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
    .modal.static .modal-dialog {
        margin-top: 100px;
    }
}

/************** Mobile Layer Sidebar **********/
.layer-sidebar {
    background: #FFF;
    padding-top: 20px;
    position: absolute;
    border-right: 1px solid #DDD;
    border-radius: 0;
    left: 0;
    width: 250px;
    transition: all 0.5s ease;
    min-height: calc(100% - 75px);
    top: 75px;
    z-index: 500 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
    .layer-sidebar.closed {
        margin-left: -250px;
    }
    .layer-sidebar .closeDiv {
        width: 100%;
        text-align: right;
    }
    .layer-sidebar .close {
        float: none;
    }

/************** Sensor Tabs **********/
#sensorTabs {
    margin-top: 15px;
}
.sensor .sidebar-toggle {
    display: none !important;
}
.breadcrumbs {
    font-size: 15px;
    margin-bottom: 15px;
}
    .breadcrumbs .btn-link {
        padding: 0;
    }
    .breadcrumbs .fas {
        font-size: 12px;
        margin-right: 5px;
    }
    .breadcrumbs a {
        color: #018CCF;
    }
        .breadcrumbs a:hover {
            color: #013E71;
        }
.nav-tabs {
    font-size: 12px;
}
.nav-link {
    padding: 5px;
}
.sensor .main, .dash .main {
    margin-top: 100px;
}
.sensor-pickers {
    border-bottom: 1px solid #DDD;
    font-size: 13px;
    padding: 5px !important;
}
    .sensor-pickers .fas {
        line-height: 30px;
    }
.calendar-pickers span.label {
    float: left;
    font-weight: 700;
    margin-right: 5px;
    line-height: 30px;
}
.calendar-pickers span.to {
    float: left;
    margin: 0 5px 0 47px;
    line-height: 30px;
}
.calendar-pickers .input-group {
    display: inline !important;
    float: left;
    font-size: 13px;
    max-width: 205px;
}
.calendar-pickers .form-control {
    display: inline !important;
    float: left;
    font-size: 14px;
    width: 160px;
    height: 30px !important;
}
.calendar-pickers .input-group-append {
    float: left;
    display: inline;
}
.calendar-pickers #start-date {
    margin-bottom: 5px;
}
.calendar-pickers .break {
    display: block;
    clear: both;
}
#sensor-graph {
    position: relative;
}
.sensor-threshold {
    margin-top: 10px;
}
.sensor-table, .list-table {
    font-size: 14px;
    margin-top: 25px;
}
    .sensor-table th, .list-table th {
        background-color: #E7E7E7 !important;
        font-weight: 500;
    }
        .sensor-table th .fas, .list-table th .fas {
            margin-left: 10px;
        }
.threshold-graph-container {
    width: 100%;
    margin: 25px 0;
}
.threshold-graph {
    width: 90%;
    float: left;
}
.threshold-index {
    overflow: visible;
    width: 30px;
    margin-top: 11px;
}
    .threshold-index.first {
        padding: 0 10px 0 0;
        width: 5%;
    }
        .threshold-index.first .progress-bar-vertical {
            height: 100%;
        }
.thresholdBar {
    z-index: 1;
    position: absolute;
    padding-left: 10px;
}
.progress-bar-vertical {
    background-color: #D6D6D6;
    width: 12px;
    height: 310px;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 12px;
}
    .progress-bar-vertical .progress-bar {
        width: 100%;
        height: 0;
        -webkit-transition: height 0.6s ease;
        -o-transition: height 0.6s ease;
        transition: height 0.6s ease;
    }
.progress-bar.blank {
    background-color: #D6D6D6;
}
.progress-bar-vertical .progress-bar.first {
    border-radius: 12px 12px 0 0;
}
.progress-bar-vertical .progress-bar.last {
    border-radius: 0 0 12px 12px;
}
.progress-bar-vertical .progress-bar.full {
    border-radius: 12px;
}
.threshold-description {
    font-size: 17px;
    float: left;
    width: 95%;
}
    .threshold-description p {
        font-size: 14px;
        line-height: 140%;
    }
.info-container {
    margin: 10px 0;
}
@media (min-width: 768px) {
    .breadcrumbs {
        font-size: 15px;
    }
    .nav-tabs {
        font-size: 14px;
    }
   .nav-link {
        padding: 8px 15px;
    }
    .sensor .main {
        margin: 120px 0 50px 0;
    }
    .sensor-pickers {
        font-size: 14px;
    }
    .calendar-pickers .start-date {
        margin-bottom: 0px;
    }
    .calendar-pickers .break {
        display: none;
    }
    .calendar-pickers span.to {
        margin-left: 0;
    }
}

/************** List View **********/
/* Override bootstrap container max width*/
@media (min-width:1200px) {
    .container {
        max-width: none;
    }
}
@media (min-width:992px) {
    .container {
        max-width: none;
    }
}
@media (min-width:768px) {
    .container {
        max-width: none;
    }
}
@media (min-width:576px) {
    .container {
        max-width: none;
    }
}
.list-container {
    position: absolute;
    top: 100px;
    height: 100%;
    height: calc(100% - 140px);
    width: 100%;
    overflow-y: auto;
}
    .list-container.mobile-sidebar-open {
        height: calc(100% - 312px);
    }
.list-table {
    margin-top: 10px;
}
    .list-table tbody {
        border-bottom: 1px solid #DDD;
    }
    .list-table caption {
        caption-side: top;
        color: #000;
        font-size: 18px;
        font-weight: bold;
    }
.list-buttons {
    margin-top: 20px;
}
.list-table th, .list-table td {
    vertical-align: middle;
}
.list-table .sensorNameCell {
    line-height: 20px;
}
.list-table th .fas {
    font-size: 11px;
}
.list-table a {
    color: #018CCF;
}
    .list-table a:hover {
        color: #013E71;
    }
.list-table .checkbox {
    margin-bottom: 20px;
}
.btn-group-sm > .btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius:.2rem
}
.btn-light {
    border: none;
    background-color: #FFF;
    color: #000;
    border: 1px solid #DDD;
    padding: 10px;
}
.list-container .btn-light {
    font-size: 14px;
    padding: 10px;
}

.btn-light:hover, .btn-light:active {
    color: #000;
    background-color: #DDD;
}
.bulk-export {
    margin-right: 10px;
}
.list-table .form-check {
    margin-left: 10px;
}
.list-table .collapse-open {
    float: right;
    padding: 12px 20px 20px 20px;
    font-size: 20px;
    cursor: pointer;
}
.list-table .collapse .row {
    font-size: 13px;
    margin: 5px 0 !important;
}
@media (min-width: 768px) {
    .list-container, .list-container.mobile-sidebar-open {
        width: 100%;
        height: calc(100% - 100px);
        transition: all 0.3s ease;
    }
        .list-container.sidebar-open {
            width: calc(100% - 420px);
            right: 0;
        }
}
.sensorListRow {
    cursor: pointer;
}
.leaflet-popup {
    cursor: pointer;
}
.leaflet-popup-content-wrapper {
    border-radius: 3px !important;
    text-align: center !important;
}
.leaflet-popup-content {
    width: auto !important;
    min-width: 45px;
    margin: 4px !important;
    white-space: nowrap;
}
.leaflet-container a.leaflet-popup-close-button {
    display: none;
}
.sensor-popup-value-stream, .sensor-popup-rating-rainfall, 
    .sensor-popup-value-reservoir {
    display: none;
}
.retrievingDataDiv, .processingDataDiv, .sensorErrMsg {
    margin: 50px;
    font-size: 24px;
    line-height: 36px;
    display: none;
}
    .sensorErrMsg > a {
        color: #917418;
    }
.sensorListSort {
    cursor: pointer;
}

#sensorPanel {
    /*margin-top:110px;*/
    position:absolute;
    top:110px;
    z-index:250;
    background-color:#fff;
}
#dashboardPanel {
    position:absolute;
    top:85px;
    background-color:#fff;
    height: calc(100% - 110px);
    z-index:250;
    overflow:auto;
}
#dashboardPanel > div:first-child {
    margin-top:10px;
}
#dashFilter {
    height:45px;
}
#dashFilter .btn {
    line-height:3px;
}
#dashTitle {
    margin:20px 0 10px 0;
    font-size:18px;
    font-weight:bold;
}
#dashCharts > div {
    display:none;
}
.dashChart {
    /*max-width:500px;*/
    width:100%;
    display:inline-block;
    margin-top: 20px;
}
#dashCharts .highcharts-legend-checkbox {
    display:none !important;
}
/*#dashCharts .highcharts-title {
    cursor:pointer;
}*/

.hidden-startup {
    display: none;
}
#mapDataLoadingImg {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5000;
}
.chartContainer {
    width: calc(100% - 15px);
    display: none;
    height: 400px;
    margin-left: 15px;
}
#thresholdBar {
    width: 30px;
    position: absolute;
    top: 123px;
}
@media (min-width:768px) {
    .dashChart {
        width: 50%;
    }
    #dashboardPanel {
        top:100px;
    }
    #thresholdBar {
        top: 110px;
    }
}
.externalSensorInfoDiv, .usgsInfoLinkDiv {
    display: none;
    font-weight: bold;
    margin-top: 15px;
}
    .externalSensorInfoDiv a, .usgsInfoLinkDiv a {
        color: #518D39;
    }
/* Temporarily disable notification button hover */
.thresholds-info .btn:hover {
    background-color: #40A4D8 !important;
    cursor: default;
}
.sensorphoto {
    max-width: 320px;
    height: auto;
}
@media (min-width: 768px) {
    .sensorphoto {
        max-width: 500px;
        height: auto;
    }
}
.watersheds {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    color: #555555;
    opacity: 1;
    padding: 0;
}
.toTopLink {
    display: block;
    margin-bottom: 20px;
    background: transparent !important;
    border: none !important;
}
.toTopLink .fas {
    font-size: 12px;
    margin-right: 5px;
}

.toTopLink:hover, .toTopLink:active {
    border: none !important;
}

#jumpToLabel {
    font-size: 0.8rem;
    margin-right: 5px;
}
#noRainWithFloodwatch {
    margin-top: 25px;
    font-style: italic;
    font-weight: bold;
}
.sensorToggleRainfall .btn {
    width: 40px;
}
.forecastBusyDiv {
    margin: 50px 0 0 100px;
}
.sensorExportMenu {
    position: relative;
    z-index: 1;
}
    .sensorExportMenu > i {
        cursor: pointer;
    }
.sensorExportDropdown {
    display: none;
    position: absolute;
    top: 32px;
    right: 8px;
    background-color: #fff;
    border: 2px solid #ccc;
    box-shadow: 3px 3px 10px rgb(136, 136, 136);
    border-radius: 4px;
    padding: 10px;
    width: 200px;
    text-align: left;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
}
    .sensorExportDropdown > div {
        cursor: pointer;
    }
        .sensorExportDropdown > div:hover {
            color: #518D39;
        }
.datepicker {
    z-index: 700 !important;
    margin-top:175px;
}
/* Tour */
.popover {
    max-width: 300px;
}
h3.popover-header {
    margin-top: 0 !important;
}
.sensorExample {
    width: 100%;
    height: auto;
    max-width: 250px
}
.minOpacity {
    opacity: 0.01
}
.tour-backdrop, #tour-background {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1000;
}
    .tour-backdrop.sensor-details {
        background-image: url(../images/tour/sensor-details.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

@media (min-width: 500px) {
    .tour-backdrop.sensor-details {
        background-size: 400px;
    }
}
.tour-show {
    position: relative;
    display: block;
    z-index: 1050;
    background: #FFF;
    border: 1px solid #FFF;
}
.tour-prev-step-btn {
    margin-right:6px;
}
.tour-popover, .tour-modal .modal-content {
    border-radius: 6px;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.2);
}
.tour-modal p {
    margin: 7px 0;
}
.tour-steps {
    color: #ADADAD;
    font-size: 13px;
    text-align: left;
}
h2.tour-title {
    line-height: 120%;
    margin-bottom: 0;
}
.tour-modal .fas {
    color: #999;
}
.tour-on .timestamp-tab {
    display: none;
}
.tour-on #desktop-sidebar-container {
    border: 1px solid #BABABA;
}
.desktop-sidebar {
    border: none;
    height: 100%;
    height: calc(100% - 100px);
}
#desktop-sidebar-container {
    position: relative;
    height: 100%;
    height: calc(100% - 30px);
}
.search-icon, .search-icon a {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}
.close.tour-close {
    color: #ADADAD;
}
.modal-footer {
    display: block !important;
}
.floatleft {
    display: inline-block;
    float: left;
}
.floatright {
    display: inline-block;
    float: right;
}
.btn.white {
    border: 1px solid #DDD;
    background-color: #FFF;
    color: #000;
}
    .btn.white:hover, .btn.white:active {
        color: #000;
        background-color: #DDD;
    }
hr.hr-sidebar {
    border: 0;
    height: 0;
    border-top: 1px solid #DDD;
    margin: 0 auto;
    padding: 0;
}
.sidebar h2 a {
    color: #000;
    display: block;
 /*   background-image: url(../images/double-arrow.png);*/
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
}
    .sidebar h2 a:hover {
        color: #018CCF;
    }
.mobile-sidebar h2.additional-info {
    border: none;
    padding: 0;
}
.mobile-sidebar .container-api {
    border-top: 1px solid #DDD;
    padding-bottom: 5px;
}
.mobile-sidebar .sidebar-footer {
    border-top: 1px solid #DDD;
}
.mobile-sidebar .thresholds {
    padding-bottom: 10px;
}
.container-search {
    padding-bottom: 20px !important;
}
.desktop-sidebar .sidebar-footer {
    padding-top: 15px;
    margin-bottom: 0px;
    padding-bottom: 20px;
}
.sidebar-footer .terms a {
    letter-spacing: 0px;
    font-size: 12px;
}
.toggle-pages {
    padding-left: 10px;
    padding-right: 10px;
}
/************** Dashboard **********/
.dash-chart {
    width: 100%;
    padding: 15px;
    border: 1px solid #D7D7D6;
    margin-bottom: 20px;
}
.list-buttons .btn-group a.btn {
    background: #FFF;
    color: #000;
    border: 1px solid #DDD;
}
.list-buttons .btn-group a.btn:hover, .list-buttons .btn-group a.btn.active {
    background: #018CCF;
    color: #FFF;
}
.ui-widget-content:hover {
    background: #018CCF !important;
}
.basemaps img.active, .basemaps img:hover {
    border: 2px solid #018CCF;
}
.map-btn:hover, .map-btn.active {
    background-color: #FFF;
    color: #018CCF;
}

#comboDataToggle .btn {
    background-color:#fff;
    color:#4a4a4a;
    border: 1px solid #ddd;
}
    #comboDataToggle .btn.active {
        background-color: #40a4d8;
        color: #fff;
        border: 1px solid #40a4d8;
    }