﻿html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;

}

.button:hover span {
  background-color: rgba(255, 255, 255);

}

.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255);
  z-index: 2;
  cursor: pointer;
}

.overlay form {
  background: none;
  margin: 20px auto 0;
  padding: 10px;
  width: 280px;
}

.overlay input {
  display: block;
  font-size: 14px;
  width: 240px;
  margin: 10px auto;
  padding: 10px 8px 10px 8px;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0), 0px 1px 1px rgba(255, 255, 255);
  border: 1px solid #666;
}


.overlay input[type="text"]:focus,
.overlay input[type="password"]:focus {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255), 0px 1px 15px rgba(0, 246, 255);
  border: 1px solid #08c;
  outline: none;
}

table,
th,
td {
  border: 1px solid black;
}

th,
td {
  padding: 3px;
}

/* #reportDiv{
	overflow: hidden;
} */

#tabVesselDiv {
  width: 250px;
  height: 130px;
  overflow-y: auto;
}

#wInfoDiv {
  font-size: 10px;
  position: absolute;
  width: 340px;
  height: 250px;
  border: 1px solid black;
  overflow: auto;
  background-color: #8CB680;
}

#overviewDiv {
  position: absolute;
  width: 300px;
  height: 200px;
  border: 1px solid black;
  overflow: hidden;
}

#extentDiv {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 2;
}

#mapViewDiv {
  bottom: 50px;
  height: calc(100vh - 100px) !important;
}

#fTableDiv {
  position: absolute;
  height: 75%;
  width: 95%;
  overflow: auto;
}

#fTableToolDiv {
  position: absolute;
  cursor: default;
  display: inline-flex;
  padding: 2px;
}

#distanceDiv {
  position: absolute;
  bottom: 0px;
  right: 100px;
  height: 25%;
  width: 40%;
  overflow: auto;
}

#measuretoolsDiv {
  position: fixed;
  cursor: default;
  display: inline-flex;
}

.esri-widget--button.active,
.esri-widget--button.active:hover,
.esri-widget--button.active:focus {
  cursor: default;
  background-color: #999696;
}

.esri-widget--button.active path,
.esri-widget--button.active:hover path,
.esri-widget--button.active:focus path {
  fill: #e4e4e4;
}

.resetbtn {
  color: white;
  padding: 10px 10px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  float: center;
  width: 75px;
  height: 40px;
  border-radius: 8px;
  background-color: #011e41;
  opacity: 0.9;
}

.resetbtn :hover {
  opacity: 1;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 3;
  /* Sit on top */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: #474e5d;

}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto;
  /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 210px;
  /* Could be more or less, depending on screen size */
  height: 210px;
  padding: 5px;
  text-align: center;
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .resetbtn {
    width: 100%;
  }
}

#outWayPoints {
  position: absolute;
  z-index: 70;
  right: 20px;
  bottom: 25px;
  box-sizing: border-box;
  padding: 20px;
  height: 200px;
  width: 250px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  line-height: 30px;
  overflow: auto;
  display: none;
  font-size: 12px;

}

#outWayPoints span {
  color: #f7be81;
  font-weight: bold;
}