body{
  margin:0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

/* Compensate browsers specificities */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
textarea {
  overflow: auto;
}

/* || GENERAL STYLES */

body {
  /* … */
}

h1,
h2,
h3,
h4 {
  /* … */
}

ul {
  margin-top:0;
}

blockquote {
  /* … */
}

/* || SITEWIDE */

/* HEADER */
.nav-bar{
  position : fixed;
  top : 0;
  height : 56px;
  width: 100vw;
  background-color: white;
  display : flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cdcdcd;
  z-index:20000;
}

.nav-logo{
  margin-left: 10vw;
  display: flex;
}

.nav-menu {
  margin-right: 10vw;
}

.nav-menu a{
  color: black;
    padding: 14px 16px;
    text-decoration: none;
}

.nav-bar .icon {
  display: none;
  margin-right: 5vw;
  padding: 14px 16px;
  color : black;
}

@media screen and (max-width: 800px) {
    .nav-bar .nav-menu {display: none;}
  .nav-bar a.icon {display: block;}

  .nav-bar.responsive .nav-menu {
      display:block;
      position: absolute;
      top : 56px;
      width: 100vw;
      background-color: white;
      border-bottom: 1px solid #cdcdcd;
  }

  .nav-bar.responsive .nav-menu a{
      display: block;
      text-align: right;
      margin-right : 5vw;
  }
}


/* || SKIPPER_ROUTING PAGE */
main{
  padding:56px 0 0 0;
}

.flex-container{
  display: flex;
}

#full-wrapper{
  height:calc(100vh - 56px);
}

#sidebar{
  flex: 1;
  min-width: 190px;
  background-color: #f0f0f0;
  padding: 20px;
  overflow: scroll;
}

#map{
  flex: 3;
}

.searchInput{
  background-color: white;
  padding: 10px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.portInput{
  outline: none;
  border: none;
  padding: 0 10px;
  width: calc(100% - 48px);
}

#form-info{
  align-items: center;
  padding: 10px 10px;
  border: 1px dashed;
  font-size: 0.80em;
}

#form-info p{
  padding: 0 10px;
}

#resultBox{
  background-color: white;
  display:none;
}

#resultBox.active{
  display:block;
}

#resultBox li{
  list-style: none;
  padding: 8px 12px;
  width: 100%;
  cursor: default;
}

#resultBox li:hover{
  background: #efefef;
}

#resultBox li span{
  margin-right: 10px;
}

#boatspeedInput{
  padding: 5px;
  width: 50px;
}

#full-routing{
  justify-content: space-around;
}

#detailed-routing-button{
  background: none;
  border: none;
  color: #0000EE;
  cursor: pointer;
}

#detailed-routing{
  display: none;
  border:solid 1px;
  padding: 5px;
  font-size: 0.85em;
}

.leg_result{
  justify-content: space-around;
}

.fa-circle-xmark{
  cursor: pointer;
}