/* Core sienatech webmap styles */

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

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0px;
  width: 100%;
  padding: 0;
  margin: 0;
  -webkit-transition: 2s;
  transition: 2s;
}

#searchForm {
  /*position: absolute; */
  position: relative;
  top: -5px;
}

.markerInfoWindow {
  border-radius: 16px;
  background: #454545 !important;
  color: #c7c7c7 !important; 
}

.markerColor {
  background: #454545 !important;
  color: #c7c7c7 !important; 
}

.success {
  color: black;
  background-color: green !important;
}

.layout {
  height: 100%;
}

.center, .east, .north, .south {
  display: inline-block;
}

.east {
  border-left: 3px solid black;
}

.north {
  height: 40px;
  border: 1px solid black;
}

.footer-item {
  border: solid 1px black;
  background: white;
  margin: 10px;
  padding: 3px;
  cursor: pointer;
}

.west {
  display: inline-block;
  width: 260px;
  -moz-box-shadow: inset 0 0 5px 1px #000;
  -webkit-box-shadow: inset 0 0 5px 1px #000;
  box-shadow: inset 0 0 5px 1px #000;
}

.outageDetail {
  /* font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; */
  font-size: 12px;
  width: 350px;
}

.outageDetail b {
  font-size: 14px;
  font-weight: bold;
}

.outageDetail table {
  margin-left: .3em;
  line-height: normal;
  width: 98%;
}

#statusChart {
  display: inline-block;
  width: 100px;
  height: 90px;
  margin: 0;
  padding: 0;
}

#statusChart div { margin: 0 }

.east {
  display: inline-block;
  width: 300px;
}

.west div {
  margin: 10px;
}

.outlay { 
  width: 100%;
}

.outageDetail {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
  font-size: 12px !important;
  background: #454545 !important;
  color: #c7c7c7 !important; 
}

.outageDetail table {
  background: #454545 !important;
  color: #c7c7c7 !important; 
}

.outageDetail tr td:nth-child(2) {
  text-align: right;
}

.modal {
  background: #454545;
}

.modal-footer {
  background: #555555;
}

#mapLegend {
  display: inline-block;
  background: none;
  margin: 15px 10px 20px 30px;
  border-spacing: 0px;
  border-collapse: collapse;
}

#mapLegend td {
  padding-top: 10px;
  padding-bottom: 5px;
}

#mapLegend tr td:nth-child(2) {
  padding-left: 25px;
}

#conductorLegend {
  position: absolute;
  top: 60px;
  left: 230px;
  width: 300px;
  margin: 0;
  padding: 0;
  margin-top: 15px;
}
  
.legendConductorItem {
  text-align: middle;
}

.legendConductorItem.energized     { color: #22AE4B; }
.legendConductorItem.deenergized   { color: #F31A22; }
.legendConductorItem.probableFault { color: #ff9900; }

.energized   > .legendLine { background: #22AE4B; }
.deenergized > .legendLine { background: #F31A22; }
.probableFault > .legendLine { background: #FF9900; }

.legendLine {
  display: inline-block;
  width: 60px;
  height: 4px;
  border-radius: 5px;
  margin-bottom: 3px;
  margin-right: 20px;
  padding: 0;
}

.summaryTable {
  background: #454545;
  margin: 10px 10px 0 0;
  font-size: 12px;
}

.summaryTable tr th:nth-child(1) {
  text-align: left;
}

.summaryTable tr td:nth-child(2) {
  text-align: right;
}

.summaryTable tr {
  border-top: 1px dotted #dbdbdb;
}

.summaryTable tr:nth-child(1) {
  border-top: none;
}

#summaryTableDuration {
  display: none;
}

.reportTable tbody, .reportTable thead, .reportTable tfoot {
  font-size: 12px;
}

#reportTable tbody {
  font-size: 12px;
}

.reportTable th {
  padding-bottom: 4px;
  padding-top: 4px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#reportTable td {
  padding-bottom: 0px;
  padding-top: 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#panelContainer {
  position: absolute;
  top: 140px;
  bottom: 80px;
  left: 1px;
  right: 1px;
}

#reportHeaderScroll {
  position: absolute;
  left: 0;
  top: 0;
  height: 28px;
  width: 300px;
  overflow: hidden;
}

#reportBody {
  position: absolute;
  left: 0;
  top: 28px;
  height: 315px;
  right: 1px;
}

#reportFooterScroll {
  position: absolute;
  left: 0px;
  top: 343px;
  height: 28px;
  width: 300px;
  overflow: hidden;
}

#reportScrollV, #reportScrollH {
  display: none;
}

/* #reportDiv th, #reportDiv td { text-overflow: ellipsis; } */

/* orig 169,77,37,44 ; also all children need padding-left: 0; padding-right: 0; */
#reportDiv th:nth-child(1) { width: 143px; }
#reportDiv th:nth-child(2) { width: 74px;  text-align: right; }
#reportDiv th:nth-child(3) { width: 38px;  text-align: right; }
#reportDiv th:nth-child(4) { width: 42px;  text-align: right; }
#reportDiv th:nth-child(5) { width: 180px;  text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

#reportDiv td:nth-child(1) { width: 143px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
#reportDiv td:nth-child(2) { width: 74px;  text-align: right; }
#reportDiv td:nth-child(3) { width: 38px;  text-align: right; }
#reportDiv td:nth-child(4) { width: 42px;  text-align: right; }
#reportDiv td:nth-child(5) { width: 180px;  }

#reportTable tr td:nth-child(2),
#reportTable tr td:nth-child(3),
#reportTable tr td:nth-child(4) {
  text-align: right;
}

#reportTable thead, #reportTable tfoot {
  position: absolute;
  left: 0;
}

#reportTable thead {
  top: 0;
}

#reportTable tfoot {
  bottom: 0;
}

/* Extra panel styles */
#panel1, #panel2 {
 /* background: #545454; */
}

/* Styles for polygon colors */
div.m0    { background: #999999; border-width: 3px; }  
div.m10   { background: #662c91; }  
div.m50   { background: #0076a3; }    
div.m100  { background: #00a650; }      
div.m200  { background: #fff200; }        
div.m500  { background: #f26522; }          
div.mplus { background: #ed1c24; }

.polyText {
  color: blue;
  font-family: Verdana,Geneva,Arial,Helvetica,sans-serif !important;
  font-size: 10px !important;
  font-weight: bold !important;
  text-align: center;
  padding: 3px !important;
  /*background: #F5F2EE !important;*/
  background: url(/images/Tan_25.png);
  z-index: 1001;
}

#alert {
  display: block:
  z-index: 1000;
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px 130px;
  width: 400px;
}

/* fix a bug with infowindows conflicting with bootstrap */
#map img {
  max-width: none;
}

/* correct some google stlying conflicting with bootstrap */
.gmnoprint, .gmnoprint > div, .gmnoprint label {
  line-height: 11px;
}

.gmnoprint label {
  display: inline;
  margin-bottom: auto;
  font-size: 11px;
}

/* size searchform when it's present */
#searchForm {
  top: auto;
}

#searchForm input {
  height: 24px;
  width: 298px;
}

#searchForm button {
  height: 28px;
}

.headerbar {
  box-shadow:0px 0px 5px #000000;
}

.ui-icon { width: 16px; height: 16px; background-image: url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/images/ui-icons_222222_256x240.png)/*{iconsContent}*/; }
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 15px; left: -5px; top: 0px; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }

.sigil {
  font-size: 9px;
  padding: 0px;
  margin: 0px;
  width: 100%;
  text-align: center;
}

.panelControl {
  height: 20px;
  width: 20px;
  background: #757575;
  border: 1px solid black;
  margin: 0;
  padding: 0 0 0 5px;
  cursor: pointer;
}

#contactNotice {
  position: absolute;
  top: 85px;
  left: 0;
  width: 100%;
  margin: 10px;
  display: none;
}

#dropdownContainer {
  position: absolute;
  top: 85px;
  left: 0;
  width: 100%;
  margin: 10px;
}

#advisory {
  position: absolute;
  bottom: 110px;
  font-size: 12px;
  left: 10px;
  right: 10px;
  line-height: 2.1ex;
  display: none;
}

#reportLink {
  position: absolute;
  bottom: 120px;
  right: 3px;
  left: 5px;
  text-align: center;
  display: none;
  z-index: 100;
}

#toolbar {
  position: absolute;
  bottom: 10px;
  right: 3px;
  left: 5px;
}

#toolbar > div {
  width: 100%;
  text-align: center;
}

/*** history */

#historyChart {
  width: 800px;
  height: 400px;
}

#historyChart .error {
  margin: 30px;
  width: 100%;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

.modal#history {
  width: 800px;
  margin-left: -400px;
}


/** c3 style history */
.x.axis path, .y.path {
  display: none;
}

path, line {
  fill: none;
  stroke-width: 1;
  stroke: #C7C7C7;
}

.x.axis line {
  stroke: lightgrey;
}
.x.axis .minor {
  stroke-opacity: .5;
}

.affected {
  stroke: orange;
  stroke-width: 7px;
  stroke-weight: 1;
}

.point {
  fill: rgba(0,0,0,0);
  stroke: rgba(0,0,0,0);
  stroke-weight: 0px;
}

svg text {
  fill: #C7C7C7;
}

svg .c3-axis-y text {
  color: #ff7f0e;
  fill: #ff7f0e;
}

svg .c3-axis-y2 text {
  color: #1f77b4;
  fill: #1f77b4;
}

.historyTooltip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
  pointer-events: none;
  z-index: 10000;
  text-align: center;
}

.historyTooltip table {
  background: none;
}

.historyTooltip td:nth-child(1) {
  color: red;
}

.historyTooltip td:nth-child(2) {
  font-weight: bold;
  text-align: right;
}

/* Creates a small triangle extender for the tooltip */
.historyTooltip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  position: absolute;
  pointer-events: none;
}

/* Northward tooltips */
.historyTooltip.n:after {
  content: "\25BC";
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}

/* Eastward tooltips */
.historyTooltip.e:after {
  content: "\25C0";
  margin: -4px 0 0 0;
  top: 50%;
  left: -8px;
}

/* Southward tooltips */
.historyTooltip.s:after {
  content: "\25B2";
  margin: 0 0 1px 0;
  top: -8px;
  left: 0;
  text-align: center;
}

/* Westward tooltips */
.historyTooltip.w:after {
  content: "\25B6";
  margin: -4px 0 0 -1px;
  top: 50%;
  left: 100%;
}


/** weather animation toolbar */
#weatherAnimToolbar {
  position: absolute;
  bottom: 125px;
  right: 3px;
  left: 5px;
  text-align: center;
  display: block;
  z-index: 100;
}

#slider-weather-position .slider-handle {
  background-color: #4a944a;
  width: 5px;
  margin-left: -2px;
}
#slider-weather-position .slider-track {
  background-color: #fff;
  background-image: linear-gradient(90deg, rgba(0,0,0,.4) 2px, transparent 1px);
  background-size: 20px 20px;
}

#slider-weather-position .slider.slider-horizontal { width: 196px; }

#weatherAnimToolbar .slider {
  width: 199px;
}

.slider-handle {
  background-color: #4a944a;
  background-image: linear-gradient(to bottom,#74e073 0,#4a944a 100%);
}

#slider-weather-position .slider-selection {
  /* background-color: #4a944a;
  background-image: linear-gradient(to bottom,#74e073 0,#4a944a 100%); */
  background-image: linear-gradient(to bottom,rgba(116,224,115,.6) 0,rgba(74,148,74,.8) 100%);
}
.slider { margin-left: 0 px; }
#opacitySlider { margin-left: 10px; margin-right: 13px; }
#opacitySlider { width: 140px; }
/*.slider.slider-horizontal { width: 150px; }*/

#wanim-speed-outer { margin-top: 37px; } /* was 7px */
#wanim-position-outer { margin-top: 2px; }

.timeIndicator {
  border-radius: 5px;
  padding: 5px 15px 5px 15px;
  text-align: center;
  width: 170px;
  margin: 6px auto auto auto;
  background: #111;
}

.timeIndicatorMapControl {
  border-radius: 5px;
  padding: 5px 15px 5px 15px;
  text-align: center;
  width: 170px;
  margin: auto 10px 25px auto;
  background: #111;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
}

#showPanel { display: none; }

.aeris-weather {
  /*background: rgba(255,0,0,.5);*/
}


