@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700);

@font-face {
    font-family: Avenir;
    src: url("fonts/AvenirNext_PC/AvenirNext_PC/AvenirNext-Regular.ttf") format("opentype");
}

/*# See "Seafoam":
# https://augustash.com/blog/website-ux-design/25-amazing-website-color-schemes
*/

:root {
    --background: #dde9e9;
    --background_alt: #d3ded6;
    --dark: #426e6f;
    --dark_bold: #263f40;
    --dark_desaturated: #7b9c9d;
    --dark_desaturated_trans: rgba(123, 156, 157,0.9);
    --dark_desaturated_trans_fifty:#a6bdbf;
    --lightest: #fbffff;
    --tablerow_base: #f0f4f1;
    --font_main: Avenir;
    --highlight: #ffffcc;
    --action_link: #d57310;
    --action_link_hover: #a6800c;
    --external_link: #9d59c0;
    --external_link_hover: #9346b9;
    --cancel_soft: #e29c9c;
    --cancel_bold: #cc0000;
    --goforit_soft: #75d78d;
    --goforit_bold: #39c65c;
    --section_label: #9f6070;
}

a,a:link,a:visited {
    color: var(--external_link);
}
a:hover {
    color: var(--external_link_hover);
    
}
body {
    background: var(--background);
    color: var(--dark);
    font-family: Avenir;
    font-size: 0.95rem;
}

div, span, tr, td {
    transition: 0.2s ease;
    -o-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
}
#map div, div.leaflet-draw-tooltip {
    transition: none;
    -o-transition: none;
    -webkit-transition: none;
}
.watershedLayer {
    transition: 0.2s ease;
    -o-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
    
}

h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: normal;
}
table tbody tr {
    color: var(--dark);
}
table tr:nth-child(even) {
    background-color:  var(--tablerow_base);
}
table tbody tr:nth-child(odd) {
    background-color: var(--lightest);
}

table td.label {
    color: var(--dark_desaturated);
}
table td.value {
    text-align: right;
    font-family: monospace;
}

tr.header_row {
    background-color: transparent;
}

table tbody tr:hover {
    background-color: var(--highlight);
}
/*#main #content {
padding: 20px 40px;
    
}*/

#branding h1 a:link, #branding h1 a:visited {
    font-family: Avenir;
    font-weight: 600;
    color: var(--lightest);
}
#header {
    background: var(--dark);
}
div.breadcrumbs {
    background: var(--background_alt);
}

td, th {
    border-bottom: None;
    padding: 4px 6px;
}

.overlay {
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    display: none;
    position: fixed; 
    z-index: 9990;
    background-color: rgba(50,50,50,0.8);
}
.modal {
    position: absolute; 
    width: 80%;
    background-color: var(--background);
    opacity: 0.95;
    border-radius: 3px;
    top:50%;
    left:50%;
    overflow: visible;
    transform: translate(-50%, -50%);
    padding: 10px 0px;
    margin: 0px auto;
}


.button,
form .button {
    width: 160px;
    border-radius: 3px;
    border: 0px solid #000;
    text-align: center;
    background: #888;
    margin: 8px auto 0px auto;
    font-size: 1.2rem;
    line-height: 34px;
    cursor: pointer;
    padding: 12px 12px;
    transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
}
.button:hover {
    background: #444;
}

#content {
/*     padding: 0px; */
}

.flex-container {
    display: flex;
}

.flex-container.main {
    height: 100%;
    width: 100%;
/*     margin: -20px -40px; */
}

.flex-child.control_panel {
    transition: none;
    -o-transition: none;
    -webkit-transition: none;
/*     width: 50%; */
    flex-grow: 1;
/*     flex: 1; */
}  

.flex-child.map {
    flex-basis: 50%;
/*     flex: 1; */
    flex-shrink: 0;
    flex-grow: 0;
    transition: none;
    -webkit-transition: none;
}
.flex-child.dragger {
    width: 10px;
    min-width: 10px;
    background-color: #ccc;
    cursor: col-resize;
    transition: background-color 0.2s;
}
.flex-child.dragger:hover {
  background-color: #888;
}

.flex-child.timeline_controls {
/*     width: 300px; */
    flex: 0;
}
.flex-child.timeline_graph {
    flex: 4;
    
}

#map {
    display: inline-block;
/*     position: fixed; */
    top: 0;
    right: 0;
    height: 800px;
    width: 100%;
    transition: none;
    -webkit-transition: none;
    
/*     width: 60%; */
}
#control_panel {
    display: inline-block;
    width: calc(100% - 40px);
    height: 800px;
    position: relative;
    padding: 12px 20px;
    transition: none;
    -webkit-transition: none;
    
}

/* Section collapse/expand functionality */
.collapse {
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
}
.collapse div {
    width:100%;
}

.collapse .header {
    width: calc(100% - 8px);
    padding: 2px 4px 2px 4px;
    background-color: var(--background_alt);
    cursor: pointer;
    font-weight: 500;
}
    
.collapse .header.topbar {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}
    
.collapse .header div {
/*    padding: 0px 0px 0px 6px;*/
    
    transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

.collapse .header span .plus {
    padding-left: 0px;
    color:#70AA70;
}

.collapse .header span .minus {
    padding-left: 0px;
    color:#C26666;
}
.collapse .header d:hover {
    color: #333; 
}
.collapse .content {
    display: none;
/*     padding: 0px 2px; */
    margin-top: 6px;
}
span.collapse {
    font-weight: 700;
    color: var(--dark);
    font-family: monospace;
}


/*##### start Leaflet custom layer control #####*/

.leaflet-control-layers-table_label th {
    font-size: 11px;
    font-weight: normal;
    text-align: left;
    padding-bottom: 3px;
    height: 46px;
    vertical-align: bottom;
/*    height: 50px;*/
/*    width: 40px;*/
/*    position: relative;
    vertical-align: bottom;
    padding: 0;
    line-height: 0.8;*/

}

.leaflet-control-layers-table_label th div {
    width: 14px;
    height: 6px;
    -ms-transform: rotate(-80deg); /* IE 9 */
    -webkit-transform: rotate(-80deg); /* Chrome, Safari, Opera */
    transform: rotate(-80deg);
    transform-origin: left bottom 0;
    float: right;

}

.customLayerControl_th span {
/*    left: -20px;*/
}

.customLayersTableDiv {
    margin-top: 0px;
    max-height: 600px;;
    overflow: auto;
}

table.customLayersTable {
    border-spacing: 0px;
    width: 100%;
}
.customLayersTable td {
    text-align: right;
    vertical-align: top;
}

.layerLabelAndCheck {
    height: 19px;
    vertical-align: bottom;
    font-size: 12px;
    
}
/*.leaflet-control-layers-overlays {
    font-size: 12px;
    vertical-align: middle;
}*/
.layerCheckbox {
    display: inline;
    height: 19px;
    font-size: 16px;
    vertical-align: top;
    padding: 0.5px;
    margin-left: 10px;

}

.layerLabelAndCheck.footer {
    margin-top: 12px;
    padding-bottom: 4px;
    font-size: 10px;
    vertical-align: top;
}
.layerLabelAndCheck.other {
/*    margin-top: 12px;*/
    text-align: left;
    
}

.leaflet-control-layers-list {
    margin-bottom: 0px;
}

.leaflet-control-layers {
/*    background-color:rgba(256,256,256,0.8);*/
    background-color: transparent;
    padding-top: 34px;
/*    margin-right: 5px;
    margin-bottom: 5px;*/
    border-radius: 2px;
/*    box-shadow: none;*/
}
.leaflet-control-layers td,
.leaflet-control-layers th {
    background-color:var(--background_alt);
}
.leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control {
    margin: 3px 6px 6px 6px;
    padding: 0px 0px 2px 0px;
    border: none;
}

.layerLabelAndCheck.footer input[type='radio'] {
    margin-left: 2px;
}

.layerLabelAndCheck.footer {
    height: auto;
}
.layerLabelAndCheck.footer div {
    padding-right: 5px;
}

/*tr.m-basemap-selector,
tr.m-basemap-selector td {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}*/
tr.m-basemap-filler { 
    height: 4px;
}
tr.m-basemap-filler2 { 
    height: 12px;
    background-color: #333;
}
tr.m-basemap-filler3 { 
    height: 2px;
    background-color: #333;
}

tr.m-basemap-year-divider td,
tr.m-basemap-headeroo td { 
    text-align: left;
    font-size: 13px;
    font-family: monospace, ui-monospace, Arial;
    color: #c2c2c2;
    padding: 4px 4px 2px 4px;
    border-top: 1px dashed #444;
    cursor: pointer;
/*    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;*/
}
tr.m-basemap-year-divider td:hover {
    color: #fff;
    font-weight: bold;
}
tr.m-basemap-year-divider td.year_label {
    width: 130px;
}
tr.m-basemap-selector td {
    font-size: 13px;
    text-align: left;
    vertical-align: top;
    font-family: monospace, ui-monospace, Arial;
}
tr.m-basemap-selector td.control_label {
    cursor: default;
    padding: 1px 6px 0px 8px;
    font-size: 12px;
    border-bottom: None;
}
tr.m-basemap-selector td.control_label.date {
    color: #ffffcc;
    padding-left: 14px;
    width: 50px;
}
tr.m-basemap-selector td.control_label.source {
    color: #8faabc;
/*     font-family: 'PT Sans Narrow'; */
    font-size: 13px;
    cursor: pointer;
}
tr.m-basemap-selector {
    cursor: pointer;
}
tr.m-basemap-selector {
    color: var(--dark);
}
tr.m-basemap-selector td.control_label.product {
    color: #999;
    font-size: 11px;
}
.customLayersTable td.off {
    color: #c2c2c2;
    text-align: left;
    vertical-align: middle;
    font-size: 12px;
    font-family: monospace, ui-monospace;
    padding: 3px 0px 1px 14px;
}
tr.m-basemap-selector td.control_input {
    text-align: right;
    padding: 1px 0px 0px 0px;
    vertical-align: top;
}
tr.m-basemap-selector td.control_input input[type='checkbox'] {
    margin: 0px 3px 0px 0px;
    
}
tr.m-basemap-selector input {
    margin-top:0px;
    cursor: pointer;
    
}
tr.m-basemap-selector.header {
    font-weight: 600;
    text-transform: uppercase;
}
tr.m-basemap-selector.header td {
    background-color: var(--dark_desaturated_trans);
    color: var(--lightest);
    font-size: 0.9rem;
    padding: 4px 2px 2px 6px;
    margin-bottom: 2px;
    font-family: 'Open Sans Condensed';
    cursor: pointer;
}
tr.m-basemap-selector.header td:hover {
    color: #fff;
}
tr.m-basemap-selector.header td.collapse {
    text-align: right;
    vertical-align: middle;
    font-size: 16px;
    font-weight: 500;
    line-height: 10px;
    cursor: pointer;
    padding-top: 2px;
    padding-right: 8px;
    border-radius: 0px;
}
tr.m-basemap-selector.header td.collapse:hover {
    font-weight: 800;
}
tr.m-basemap-selector.header.first td {
    margin-top: 0px;
}
tr.m-basemap-selector.buffer {
    height: 4px;
/*     background-color: transparent; */
}
tr.m-basemap-selector.divider {
    height: 3px;
    background-color: transparent;
}

.leaflet-control-layers-table_cell_1 {
    padding: 0px 0px 0px 3px;
}


.leaflet-popup-tip-container {
    display: none;
    
}
.leaflet-popup-close-button {
    display: none;
    
}
.leaflet-popup-content-wrapper {
    border-radius: 2px;
    background: rgba(68,68,68,0.95);
    color: #777;
    box-shadow: -8px 8px 8px rgba(40,40,40,0.5);
}
.leaflet-popup-content {
    margin: 4px 6px;
    font-size: 0.85rem;
}
.leaflet-popup-content span.label {
    font-size: 0.76rem;
    color: #bfbfbf;
    
}

.item {
    clear:both;
/*    margin:0px -34px 0 0px;*/
    margin:0px 0px 0 0px;
    line-height:14px;
    font-size: 11px;
    color:#777;
    text-align:left;
    vertical-align: bottom;
}
.bin {
    float:left;
    width:12px;
    height:12px;
    margin:0px 5px 1px 0px;
    border:1px solid #999;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

.leaflet-control-layers {
    min-width: 180px;
}

.leaflet-left .leaflet-control {
    margin-left: 6px;
}
.leaflet-top .leaflet-control {
    margin-top: 6px;
}

/*##### end Leaflet custom layer control #####*/

.llcontrol {
    font-family: monospace;  
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}


#footer {
    margin: 40px auto 10px auto;
    width: 740px;
    font-size: 12px;
    text-align: left;
    color: #c2c2c2;
/*     height: 40px; */
/*    border-top: #000 solid 5px;*/
}

.collapse div.add_watershed_instructions {
    text-align: left;
    padding: 16px 4px;
    width: calc(100% - 8px);
    color: var(--dark);
    font-size: 1.0rem;
}


.leaflet-control-layers-table_cell_1 {
    padding: 0px 0px 0px 3px;
}


.leaflet-popup-tip-container {
    display: none;
    
}
.leaflet-popup-close-button {
    display: none;
    
}
.leaflet-popup-content-wrapper {
    border-radius: 2px;
    background: var(--lightest);
/*     color: #fff; */
    box-shadow: -8px 8px 8px rgba(40,40,40,0.5);
}
.leaflet-popup-content {
    margin: 4px 6px;
    font-size: 0.85rem;
}
.leaflet-popup-content span.label {
    font-size: 0.76rem;
    color: #bfbfbf;
    
}



#add_watersheds_extras {
    display: none;
}

#add_watersheds_ui {
    display: none;
}
.add_geometry_ui {
    background-color: var(--background_alt);
    margin-top: 0px;
    padding: 10px 10px 10px 10px;
    border-top: 1px solid #f2f2f2;
    width: calc(100% - 20px);
    text-align: center;
    
}
.add_geometry_ui label {
    font-size: 1.2rem;
}
.add_watershed_featureinfo {
    color: var(--dark_desaturated);
    text-align: left;
    
}

#watershed_featureinfo {
    width: 60%;
    margin: auto;
}

.register_form {
    margin: 12px 0px;
}

#cancel_add_watershed {
    display: inline-block;
    float: right;
    width: auto;
    padding-left: 4px;
    color: #ff3333;
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 4px;
}
#cancel_add_watershed:hover {
    color: #cc0000;

}

#user_watersheds_div {
    margin-bottom: 10px;
    
}

#user_watersheds_table {
    width: 100%;
}

#user_watersheds_table thead tr td {
    position: sticky;
    position: -webkit-sticky;
    background-color: var(--background);
    cursor: pointer;
    top: 0;
}
#user_watersheds_table tbody {
/*    display: block;
    max-height: 400px;
    overflow: auto;*/
    
}
#user_watersheds_table tbody tr {
    cursor: pointer;
}
#user_watersheds_table tbody tr.highlight_row {
    background-color: var(--highlight);
}
#user_watersheds_table td {
    font-size: 0.9rem;
}
.tableWrap {
  max-height: 480px;
  overflow: auto;
    transition: 0.2s ease;
    -o-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
}

.uw_zoomto {
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--action_link);
}
div.uw_zoomto {
    padding: 2px 2px;
    margin-top: 2px;
}
.uw_zoomto:hover {
    color: var(--action_link_hover);
}
span.emphasize {
    font-weight: bold;
    cursor: pointer;
}
.add_geometry_button {
    margin-top: 12px;
}

.add_geometry_button div.button,
.modal_upload div.button,
.modal_remove_userwatershed div.button {
    display: inline-block;
    width: 40%;
    font-size: 1.4rem;
    line-height: 1.3rem;
}


.button.goforit {
    background-color: var(--goforit_soft);
}

.button.goforit:hover {
    background-color: var(--goforit_bold);
}

.goforit_bold {
    color: #66c2a5;
}

.cancel_bold {
    color: #fc8d62;
    
}

div.button.cancel {
    background-color: var(--cancel_soft);
}

div.button.cancel:hover {
    background-color: var(--cancel_bold);    
}

div.button.disabled {
    pointer-events: none;
    background-color: #999;
}


.add_geometry_selected {
    margin-top: 16px;
    color: #008000;
    display: none;
}

.action_link,
a.action_link:link, 
a.action_link:visited {
    color: var(--action_link);
    cursor: pointer;
}
.action_link:hover {
    color: var(--action_link_hover);
}

.modal_upload {
/*     display: block; */
}

.file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.file + label {
    font-size: 1.3rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: var(--lightest);
    text-align: center;
    background-color: var(--dark);
    padding: 8px 22px;
    border-radius: 3px;
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    transition: 0.2s ease;
    -o-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
}

.file + label:hover {
    background-color: var(--dark_bold);
}

.modal_upload .modal,
.modal_remove_userwatershed .modal {
    height: auto;
    width: auto;
}
.modal_upload td {
    padding: 4px 12px;
    vertical-align: middle;
}
.modal_upload td.input {
    text-align: right;
}
.modal_upload table tbody tr {
    background-color: transparent;
    
}
.modal_upload tr.instructions td {
    padding: 10px 40px;
    font-size: 0.9rem;
    color: #666;

    text-align: right;
}
.modal_upload td.main_label {
    font-size: 1.2rem;
    text-align: left;
/*     width: 100px; */
/*     color: #f2f2f2; */
}
.modal_upload .footer_buttons td {
    padding-top: 10px;    
}
.modal_upload span.highlight {
    color: #f45925;
    font-weight: bold;
}

table.register_form  tbody tr {
    background-color: transparent;
}

span.highlight.allgood {
    color: #00b300;
}
span.highlight.notRelevant {
    color: #666;
}

.add_geometry_label {
    color: var(--dark);
    margin-top: 16px;
    text-align: left;
}
.add_geometry_label input {
    width: calc(100% - 16px);
}

#add_watersheds_selected .instructions,
.modal_remove_userwatershed .instructions {
    color: var(--dark);
    text-align: left;
    margin-top: 4px;
}
.modal_remove_userwatershed .instructions {
    font-size: 1.0rem;
    margin: 16px 0px;
    font-style: italic;
    
}
.not_logged_in {
    font-size: 0.8rem;
}
#user_watersheds_table tbody td.last_modified {
    font-size: 0.7rem;
}
#user_watersheds_table tbody td.has_fire {
    font-size: 0.7rem;
    text-align: right;
    padding-right: 16px;
}

#control_panel_watershed_analysis {
    display: none;
}
.back_button {
    padding-top: 4px;
    cursor: pointer;
    color: #999;
    font-size: 0.8rem;
    line-height: 14px;
    vertical-align: top;
}

table.graph_control {
    margin-top: 4px;
/*     margin: auto; */
/*     min-width: 320px; */
    
}

table.graph_control tr:nth-child(even),
table.graph_control tr:nth-child(odd) {
    background-color: transparent;
}
table.graph_control tr:hover {
/*     background-color: var(--highlight); */
    
}
table.graph_control td {
    vertical-align: middle;
    padding: 1px 6px;
    font-size: 0.9rem;
}
table.graph_control td {
    vertical-align: middle;
    padding: 1px 6px;
    font-size: 0.9rem;
}
table.graph_control td.lab.quick {
    font-size: 0.8rem;
    color: var(--dark_desaturated_trans_fifty);
    min-width: 80px;
    
}
table.graph_control td.input {
    text-align: left;
    vertical-align: middle;
}

table.graph_control td.icons {
    width: 100%;
}

table.graph_control td.lab.stretch {
    min-width: 114px;
    
}

/*#content {
    padding: 0px;
    
}*/
#content_main {
    margin: -20px -40px;
}



#userwatershed_analysis_timeline input[type=text],
#userwatershed_analysis_timeline input[type=select],
#userwatershed_analysis_timeline select {
    border: none;
    border-radius: 2px;
    font-family: monospace;
    padding: 1px 6px;
    font-size: 0.85rem;
/*     line-height: 0.8rem; */
/*     background: var(--background); */
    
}

#userwatershed_analysis_timeline select {
    height: 1.35rem;
    font-size: 0.75rem;
/*     margin; */
    
}
input.uw_datepicker {
    text-align: center;
    width: 90px;
    cursor: pointer;
    font-family: monospace;
}

#userwatershed_analysis_timeline {
    display: none;
    position: relative;
    padding: 4px 20px;
/*     height: 90px; */
    border-bottom: 1px solid #d9d9d9;
}
div.inline {
    display: inline-block;
}
#timeline_graph {
    padding: 0px 0px 10px 0px;
    height: auto;
/*     width: 100%; */
    
}

g.x.grid.timeline {
    pointer-events: none;
    
}

g.x.grid.timeline path {
    stroke: var(--dark_desaturated_trans_fifty);
}
g.x.grid.timeline .tick line {
    stroke: var(--dark_desaturated_trans_fifty);
}
g.x.grid.timeline .tick text {
    fill: var(--dark_desaturated);
    pointer-events: none;
    user-select: none;
    font-size: 0.8rem;
}

g.x.grid.timeline.yearlabel .tick text {
    fill: var(--dark);
    font-size: 0.85rem;
    text-shadow: 1.5px 1.5px 0px var(--dark_desaturated_trans_fifty); 
    user-select: none;
}
.timeline_dragger {
    cursor: pointer;
}
.timeline_dragger:hover {
    filter: drop-shadow(0px 0px 4px rgba(0,0,0, 0.7));
}
.timeline_dragger.startend {
    fill: var(--dark);
    rx: 3;
    ry: 3;
    pointer-events: all;
}

/*.leaflet-popup-tip-container {
    display: none;
}*/
.leaflet-popup-close-button {
    display: none;
}
.leaflet-popup-content-wrapper {
    border-radius: 2px;
    background: var(--background);
/*     color: var(--lightest); */
    box-shadow: -8px 8px 8px rgba(40,40,40,0.5);
}
.leaflet-popup-content {
    margin: 4px 6px;
    font-size: 0.85rem;
}
.leaflet-popup-content span.label {
    font-size: 0.76rem;
    color: #bfbfbf;   
}
table.popup_feature_properties {
    margin: 2px auto;
}
table.popup_feature_properties tbody tr:nth-child(even) {
    background-color:  transparent;
}
table.popup_feature_properties tbody tr:nth-child(odd) {
    background-color: transparent;
}
table.popup_feature_properties tbody tr:hover {
    background-color: var(--highlight);
}
table.popup_feature_properties tbody td {
    padding: 2px 6px;
}

div.popup_header {
    color: var(--dark);
    padding: 4px 4px;
}

text.uw_timeline_text {
    font-size: 8px;
    font-weight: bold;
}
rect.mouseover_poly {
    fill: transparent;
}
line.hover_line {
    stroke-width: 0.5px;
    stroke: #c2c2c2;
    pointer-events: none;
}
text.drag_label.hover {
/*     stroke: #c2c2c2; */
    
}
#userwatershed_analysis_header {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
}
#userwatershed_analysis_subheader {
    text-align: center;
    margin-top: 24px;
    font-size: 1.0rem;
}
#userwatershed_n_active_alerts {
    font-weight: bold;
    
}
#userwatershed_analysis_topbody {
    margin-top: 20px;
    
}
circle.today_indicator {
    fill: var(--action_link);
    animation: pulse 4s infinite;
}

text.uw_timeline_label {
    font-size: 0.97rem;
    cursor: pointer;
/*     fill: #888; */
}
text.uw_timeline_label.timeseries {
    font-size: 1.1rem;
}
tspan.uw_timeline_label.timeseries.units {
    font-size: 0.8rem;
    fill: #557755;
/*     font-style: italic; */
    vertical-align: middle;
    
}
text.uw_timeline_label.onhover {
    font-weight: bold;
}
text.uw_timeline_label.group {
    font-size: 0.9rem;
    font-style: italic;
    fill: #888;
    
}


rect.svg_checkbox,
rect.svg_checkbox_numeric {
    fill: #999;
    stroke: #777;
    cursor: pointer;
}
rect.svg_checkbox.unselected,
rect.svg_checkbox_numeric.unselected {
    fill: transparent;
}

line.param_alignment_indicator {
    stroke-width: 0.5px;
    stroke: #c2c2c2;
    fill: none;
    
}

.uw_gjdata {
    transition: 0.2s ease;
    -o-transition: 0.2s ease;
    -webkit-transition: 0.2s ease;
    
}

img.grayscale {
    filter: grayscale(100%);
    
}

#timeline_popup {
    position: fixed;
/*     display: none; */
    background-color: var(--background_alt);
    z-index: 99999;
    padding: 6px 8px;
    border-radius: 2px;
    opacity: 0;
    transition: 0.4s ease;
    -o-transition: 0.4s ease;
    -webkit-transition: 0.4s ease;
    pointer-events: none;
    
}

rect.uw_timeline_data.nifc_wfigs_fire_perimeter {
    fill-opacity: 0;
}
rect.uw_timeline_data.gridmet_daily_accumulated_precipitation {
    /*fill-opacity: 0.9;*/
    stroke-width: 0px;
}

rect.uw_timeline_data.baer_dnbr {
    fill-opacity: 0.4;
}

g.x.grid.asset path {
    fill: var(--background_alt);
    
}

g.x.grid.asset line {

    stroke: var(--background);/*#c2c2c2*/;
}


.grid line {
   stroke: #444;
   stroke-dasharray: 4,2;
/*     stroke-opacity: 0.7; */
     shape-rendering: crispEdges; 
}
.grid path {
    stroke: var(--background);
}
.phototimeline .grid path {
    stroke-width: 0px;
}
.grid.asset line, 
.axis line {
    stroke: #595959;
}
.grid.asset g.tickmajor line {
    stroke: #6b6b61;
    stroke-dasharray:2,2;
    
}
#seasonal_water_temp .axis line, #seasonal_water_temp .axis path {
    stroke: #444 !important;
    fill: none;
}

.axis text {
    fill: var(--dark);/*#c2c2c2;*/
    font-family: monospace;
    font-size: 0.85rem;
}


path.asset_line {
    stroke: #ccffff;
    stroke-width: 2px;
    shape-rendering: crispEdges;
}
path.asset_line.alt {
    shape-rendering: auto;
}
.axis path.domain {
    stroke-width: 0px;
    stroke: #666;
    fill: none;
}
text.xlabel {
    font-size: 12px;
    fill: #777;
}
text.ylabel.asset {
    fill: var(--dark);
    font-family: monospace;
    font-size: 1.0rem;
}
text.ylabel.asset.dataviz {
    font-size: 18px;
    fill: #888;
    
}
text.xlabel:hover,
text.ylabel:hover {
    fill: #fff;
}

g.x.axis path.domain {
    stroke: var(--dark_desaturated);
}
line.alert_level_history_label {
    stroke: transparent;    
}

#graph_zoom_controls {
    display: inline-block;
    float:right;
}

img.zoom_icon {
    margin: 0px 2px 10px 2px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
}
img.zoom_icon:hover {
    opacity: 1.0;
}

.close-top {
    position:relative;
    float:right;
    cursor: pointer;
    top: -36px;
    right: -30px;
}
.close-top-img {
    width: 32px;
    height: 32px;
}

#alert_manage_watershed_label {
    font-weight: bold;
}

#alert_management {
    .message_modal_header {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    .message_modal_content {
        padding: 10px 20px;
        text-align: left;
    }
    #active_alerts_table {
        width: 100%;
        
    }
    td.last_alert_sent {
        text-align: center;
    }
    td.icon_td {
        cursor: pointer;
    }
    div.add_alert {
        margin: 2px 0px;
        padding: 4px 4px;
        background: transparent;
        text-align: left;
        line-height: 1rem;
        width: 76px;
        font-size: 0.85rem;
        cursor: pointer;
        color: var(--action_link);
    }
    div.add_alert:hover {
        color: var(--action_link_hover);
    }
    
}
img.edit {
    opacity: 0.3;
    transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
}

img.edit:hover {
    opacity: 1.0;    
}

#alert_edit {
    .modal {
        width: auto;
        padding: 10px 20px;
    }
    .close-top {
        right: -50px;
    }
    table {
        width: 100%;
        margin: 10px auto;
    }
    td.label {
        text-align: left;
    }
    td.value {
        text-align: right;
    }
    #alertedit__trigger_threshold_value {
        width: 40px;
    }
    select {
        height: auto;
        padding: 3px 4px;
    }
    div.button {
        display: inline-block;
        width: 40%;
    }
    .footer {
        margin-top: 10px;
        opacity: 0.5;
        cursor: pointer;
    }
    .footer:hover {
        opacity: 1;
    }
    div.button.goforit.disabled {
        pointer-events: none;
        background-color: #c2c2c2;
        
    }
    input.warning, select.warning {
        border: 1px solid var(--cancel_bold);
    }
    #alert_edit_message {
        color: var(--cancel_bold);
    }
}

.wb_popup_info {
    table {
        margin-top: 4px;
        width: 100%;
    }
    td {
      vertical-align: middle;  
        
    }
}

#uw_dashboard_label {
    font-weight: bold;
}

#uw_monitoring_configuration.overlay {
    display: none;
}
#uw_monitoring_configuration {    
    .modal {
        padding-top: 0px;
        width: 94%;
        top: 40px; 
        transform: translate(-50%, 0px); 
    }

    .content {
        text-align: left;
        padding: 0px 20px 10px 20px;
        font-size: 1.0rem;
        max-height: 84vh;
        overflow-y: auto;
    }
    .tabs-container {
        margin-top: 10px;
        
    }
    .domain_section {
        margin-bottom: 20px;
        
    }
    .tab-buttons {
        display: block;
        width: 100%;
        height: 40px;
        font-size: 1.5rem;
        
    }
    h2,
    .tablink {
/*         font-weight: bold; */
        margin-bottom: 16px;
        font-size: 1.5rem;
/*         color: var(--dark); */
    }
    .top_desc {
        padding: 0px 6px 10px 6px;
        display: block;
        margin-top: 10px;
        
    }
    table.metrics_table {
        width: 100%;
        
    }
    thead tr {
        background-color: transparent;
        
    }   
    thead td {
        color: #888;
        font-size: 0.85rem;
        
    }
    tr.subsection_title {
        background-color: var(--background);
        
    }
    .subsection_title td {
        padding-top: 20px;
        text-align: left;
        font-style: italic;
        font-size: 1.0rem;
        color: var(--section_label);
        
    }
    /*td {
        font-size: 
        
    }*/
    tbody td {
        font-size: 0.9rem;
        
    }
    td.desc,td.relevance {
        font-size: 0.85rem;
        max-width: 240px;
        
    }
    td.metric {
        font-weight: bold;
    }
    td.monitoring {
        text-align: center;
        
    }
   
    td.alerts {
        font-size: 0.70rem;
        line-height: 0.74rem;
        padding-left: 1em;
        text-indent: -1em;
        font-family: monospace;
    }
    td.alerts img {
        vertical-align: middle;
        margin-right: 3px;
        
    }
    div.add_alert {
        color: var(--action_link);
        
        cursor: pointer;
    }
    div.add_alert:hover {
        color: var(--action_link_hover);
    }
}

.header_notoggle {
    text-align: left;
    font-size: 1.0rem;
    padding: 6px 20px;
    background-color: var(--dark);
    color: var(--lightest);
    position: sticky;
    top: 0;
}

 .close2 {
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
}

.tablink {
  background-color: var(--background);
  display: inline-block;
  color: var(--dark_desaturated_trans_fifty);
  width: auto;
/*   float: left; */
  border: none;
  outline: none;
  cursor: pointer;
  font-family: Avenir;
/*   border: 1px solid #666; */
/*   padding: 0px 0px 0px 10px; */
  transition: 0.3s;
}

/* Change background color of buttons on hover and for the active tab */
.tablink:hover {color: var(--dark);}
.tablink.active {background-color: var(--background);color: var(--dark)}

/* Style the tab content (hidden by default) */
.tabcontent {
  display: none;
  padding: 6px 12px;
/*   border: 1px solid #ccc; */
  border-top: none;
}
.tab-spacer {
    padding: 0px 10px;
    display: inline-block;
    color: #c2c2c2;
    
}

a.more-link,
a.less-link {
    color: var(--action_link);
    
}

.header_divider {
    color: var(--dark_desaturated_trans);
    display: inline-block;
    padding: 0px 2px;
    
}
.clickable {
    cursor: pointer;
    
}

.tablink.ws, #control_panel_watershed_analysis .tab-spacer {
    font-size: 1.3rem;
}

.item.link {
    font-size: 0.8rem;
    margin-top: 10px;
    cursor: pointer;
    color: var(--action_link);
}
.item.link:hover {
    color: var(--action_link_hover);
}

#draw_waterbody_instructions {
    display: none;
}

#waterbody_name_error_message {
    color: var(--cancel_bold);
}

.meanline {
    font-size: 11px;
    shape-rendering: crispEdges; 
    stroke-width: 0.5;
    stroke-dasharray: 2;
}

text.water_temp_label.minmax {
    font-weight: bold;
}

.loading-spinner {
    display: block;
    float: none;
    border: 10px solid #555;
    border-top: 10px solid #b3b3b3;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    margin: 30px auto;
    animation: spin 1s linear infinite;
}
#timeline_spinner.loading-spinner {
    width: 80px;
    height: 80px;
    
}

.modal_remove_userwatershed .modal {
    font-size: 1.5rem;
    padding: 20px;
}
.modal_edit_userwatershed .modal {
    height: auto;
    width: auto;
    min-width: 460px;
    padding: 0px;
}
.modal_edit_userwatershed .modal .content {
    padding: 12px;
    
}
span.userwatershed_label {
    font-weight: bold;
}

#message_modal .modal {
    padding-top: 0px;
    width: auto;
    font-size: 1.2rem;
}
#message_modal .modal .content {
    padding: 16px;
    text-align: left;
    
}
#boundary_size {
    font-weight: bold;
    color: var(--dark);
}

.fire_start_date_line {
    fill: #a82424;
    font-size: 0.7rem;
}
path.uw_timeline_data {
/*     shape-rendering: crispEdges; */
}

@keyframes pulse {
    0% {
        fill: var(--action_link);
    }
    50% {
        fill: #ffa64d;
    }
    100% {
        fill: var(--action_link);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


