.hidden,
.pum {
  display: none !important;
}

#expand-tool {
  position: absolute;
  width: auto;
  font-size: 14px !important;
  padding: 0 10px;
  height: 40px;
  left: 5px;
  background: white;
  bottom: 5px;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
}
#expand-tool i {
  padding-right: 5px;
}
.data-layer-name {
  white-space: break-spaces;
}
.no-margin p {
  margin-bottom: 0;
}

#map-error div {
  padding: 20px;
  line-height: 1;
  font-size: 16px;
  text-align: center;
  color: white;
  background: #ff3f3f;
}
#header {
  height: 70px;
  background: rgba(34, 34, 34, 0.8);
  max-height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-image {
  display: flex;
  align-items: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.header-image img {
  height: 70px;
  padding: 10px 20px 10px 40px;
}
.uppco-link {
  padding: 0 40px;
}
.uppco-link a {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: white;
}
.outage-page-content {
  height: calc(100vh - 70px);
  display: flex;
}
.has-map-error {
  height: calc(100vh - 126px) !important;
}
.map-container {
  position: relative;
}
.map-container .map-key {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99999;
}
.map-container,
#map {
  height: calc(100vh - 70px);
  width: calc(100vw - 375px);
}
.has-map-error #map {
  height: calc(100vh - 126px) !important;
}

#tool-content {
  left: 20px;
  width: 375px;
  z-index: 10;
  /*height: calc(100% - 40px);*/
  height: 100%;
  background: #f7f7f7;
  padding: 20px;
  padding-top:40px;
  top: calc(50% + 35px);
}
#tool-content .minimize {
  padding-bottom: 10px;
  display: none;
}
#tool-content #lastUpdated,
#tool-content #refreshNote {
  text-align: left;
  font-size: 14px;
  margin-bottom: 15px;
}
#tool-content select {
  width: 140px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 3px;
}

#tool-content option:hover {
  cursor: pointer;
}

.fl-builder-content-14,
.fl-builder-content-59 {
  display: none;
}
.table-head {
  font-weight: bold;
  font-size: 15px;
  letter-spacing: -0.5px;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}
.table-head > div {
  display: flex;
  font-size: 15px;
  justify-content: space-around;
  width: 100%;
  text-align: center;
}
.table-body {
  height: calc(100% - 230px);
  background: #f7f7f7;
  padding: 0 10px;
  font-size: 14px;
  overflow-y: auto;
}
.table-body > div,
.table-foot > div {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: center;
}
.table-foot {
  background: #f7f7f7;
  font-size: 15px;
  padding: 0 10px 10px;
  text-align: center;
}
.table-foot > div {
  border-top: 1px solid black;
}
.table-foot .map-key {
  display: none;
}

.table-head > div > div:first-of-type,
.table-head > div > div:nth-of-type(3),
.table-body > div > div:first-of-type,
.table-body > div > div:nth-of-type(3),
.table-foot > div > div:first-of-type,
.table-foot > div > div:nth-of-type(3) {
  width: 30%;
}

.table-head > div > div:nth-of-type(2),
.table-head > div > div:nth-of-type(4),
.table-body > div > div:nth-of-type(2),
.table-body > div > div:nth-of-type(4),
.table-foot > div > div:nth-of-type(2),
.table-foot > div > div:nth-of-type(4) {
  width: 20%;
}
.data-layer-name,
.data-layer-number-of-outages,
.data-layer-percent-out,
.data-layer-total-customers {
  cursor: pointer;
}

@media (max-width: 1200px) {
  .map-container {
    width: calc(100% - 260px);
  }
 /* #tool-content {
    font-size: 14px;
    width: 260px;
  }*/
  #map {
    height: 100%;
    width: 100% !important;
  }
}

@media (min-width: 851px) {
  #expand-tool {
    display: none;
  }
}
@media (max-width: 850px) {
  .minimize {
    display: block !important;
  }
  #tool-content {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 80px) !important;
    z-index: 222;
    height: 200px;
    top: auto;
    overflow-y: auto;
    transform: translate(0, 0);
  }
  .map-container,
  #map {
    height: 100%;
    width: 100%;
  }
  .map-key {
    display: none;
    margin: 30px auto 0;
  }
  .table-foot .map-key {
    display: block;
  }
}
@media (max-width: 768px) {
  #header img {
    padding: 10px 20px;
  }
  .uppco-link {
    display: none;
  }
}
