/*
*	THIS IS WHERE YOUR CUSTOM CSS FOR EACH PROJECT WILL BE WRITTEN.
*	THE CONTENTS OF THIS FILE WILL BE MERGED WITH MAIN.CSS & MINIMIZED DURING PUBLICATION
*
*	REMEMBER Styles should be scoped by assigning an ID to the article. e.g.:
*	#my-article-id .some-class {
*   	...
*	}
*
*/
#container {
  width: 800px;
  clear: both;
  height: 600px;
  margin: auto;
  margin-bottom: 50px;
}
.mapbox,
.nav {
  float: left;
  display: block;
}
.mapbox {
  width: 580px;
  height: 500px;
  margin: 0;
}
.mapbox img {
  max-height: none;
}
.nav {
  width: 200px;
  height: 500px;
  margin: 0;
  padding-right: 10px;
  overflow-y: scroll;
  background-color: white;
}
div#search,
div#switch {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 1000;
}
div#switch button.active {
  background-color: #333333;
  color: white;
}
#search {
  margin-top: 20px;
  float: right;
}

/* style mobile header */
#mobile-nav {
  width: 35px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #e7e2d8;
  display: none;
  background-color: white;
  z-index: 1000 !important;
}
#mobile-nav i {
  height: 20px;
  width: 20px;
  color: #e7e2d8;
  margin: 4px 7px 7px 7px;
  font-size: 1.4em;
}
#mobile-nav:hover {
  background-color: #e7e2d8;
}

/* style search box */
input[type="text"] {
  font-family: "AP";
  font-size: 0.8em;
  margin-right: 10px;
  width: 200px;
}

#search-list {
  display: none;
  position: absolute;
  height: 100px;
  width: 200px;
  border: 3px solid black;
  padding: 3.2px;
  top: 90%;
  right: 0px;
  margin-right: 10px;
  background-color: white;
  overflow-y: scroll;
  text-align: left;
  font-size: 10px;
  cursor: pointer;
}
#search-list .land-location {
  background-color: white;
}
#search-list .land-location:hover {
  background-color: #cccccc;
}

/* Navigation panel styling */
h5.nav-header {
  font-family: "AP";
  font-size: 1.4em;
  margin-bottom: 20px;
}

/*** active hurricane nav styling ***/
div.storm {
  background: white;
  /* margin: 5px 0px 5px 0px; */
  border-radius: 4px;
  padding: 10px 10px 5px 10px;
  border: 1px solid #e7e2d8;
  margin-bottom: 8px;
}
div.storm:hover {
  background: #e7e2d8;
  cursor: pointer;
}
div.selected {
  background: #e7e2d8;
}
div.storm h5 {
  font-family: "AP";
  font-weight: 600;
}
div.storm h4 {
  font-family: "AP";
  font-size: 0.9em;
  margin-top: 0px !important;
  font-weight: 300;
}
div.storm h3 {
  display: none;
  font-family: "AP";
  font-size: 0.9em;
  margin: 0px !important;
  color: #b6b6ab;
}
div#historical-nav {
  display: none;
}

/* Hurricane styling */
.hurricane-paths {
  stroke: white;
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 1 3;
  /* pointer-events: none; */
}
.hurricane-lines.current {
  stroke: white;
  fill: none;
  stroke-width: 2;
  /* pointer-events: none; */
}
#map .cone {
  pointer-events: none;
}

/* historical view styling */
h6.top-subtitle {
  font-family: "AP";
  font-size: 1.2em;
  margin-bottom: 10px;
  margin-bottom: 20px;
}
h6.top-subtitle:hover {
  text-decoration: underline solid black;
  cursor: pointer;
}
h6.top-subtitle-no-click {
  font-family: "AP";
  font-size: 1.2em;
  margin-bottom: 20px;
}
h6.basin-nav:hover {
  text-decoration: underline solid black;
  cursor: pointer;
}

/* tooltip styling */
.leaflet-popup-content {
  font-size: 1.2em;
  font-family: "AP" !important;
}
.storm-name {
  font-family: "AP";
}
.storm-type {
  font-family: "AP";
  color: #b6b6ab;
  font-size: 0.9em !important;
}

/* legend styling*/
.legend {
  color: #555;
  width: 140px;
}

.legend i {
  width: 13px;
  height: 13px;
  float: left;
  margin-right: 8px;
}

p.legend-title {
  font-family: "AP";
  font-size: 13px;
  margin-bottom: 5px;
  line-height: 18px;
}

.legend-content {
  font-family: "AP";
  line-height: 18px;
  font-size: 13px;
}

.info {
  padding: 10px;
  background: white;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.updated {
  color: #b6b6ab !important;
  font-family: "AP", "Arial Narrow", Arial, sans-serif !important;
  font-size: 0.8125rem !important;
  line-height: 1.2em !important;
  margin: 10px 0 0 0 !important;
  text-align: right;
  float: right;
}

.hurricane-legend {
  color: #555;
  width: 220px;
}

.hurricane-legend i {
  width: 13px;
  height: 13px;
  float: left;
  margin-right: 8px;
}

.hurricane-legend-toggle {
  color: #555;
  width: 20px;
  text-align: center;
}

.hurricane-legend-toggle {
  color: #555;
  width: 20px;
  text-align: center;
  cursor: pointer;
}

.forecast-div-icon {
  pointer-events: none !important;
}

.forecast-div-icon p {
  font-family: "AP";
  font-size: 14px;
  text-align: center;
  color: white;
}

.leaflet-cone-pane {
  z-index: 400;
}
.leaflet-active-hurricanes-pane {
  z-index: 450;
}
.leaflet-labeling-pane {
  z-index: 500;
}
.leaflet-precipitation-pane {
  z-index: 350;
}

/* mobile styling */
@media only screen and (max-width: 800px) {
  #container {
    width: 100%;
    clear: both;
    height: 600px;
    margin: auto;
    margin-bottom: 50px;
  }
  #mobile-nav {
    display: inline-block;
    float: left;
    margin: 0px 0px 5px 0px;
  }
  .mapbox {
    width: 100%;
  }
  input[type="text"] {
    margin-right: 0px;
  }
  .nav {
    width: 200px;
    position: absolute;
    left: -220px;
    z-index: 10000 !important;
    margin-top: 66px;
  }
  .top-subtitle-no-click,
  .top-subtitle {
    margin-top: 20px !important;
  }
}

.ap-interactive footer {
  margin: 0 auto 0 auto;
}
.ap-interactive footer .byline {
  text-align: center;
}
