body {
    margin:10px;
    min-width: 900px;
}

#headlines span {
    font-weight: bold;
}

header {
    margin-top:00px;
    margin-bottom: 5px;
    background-color: #005a00;
    color:#fff;
    padding:5px;
    border-radius: 5px;
    vertical-align: bottom;
    border-bottom:3px solid #000; 
}
.title{
    line-height: 1em;
    font-size: 1.2em;
    margin-left:10px;
    margin-top:5px;
    font-weight: normal;
}
header a{
    float:left;
}


h1 {
    font-size: 1em;
    margin-top:5px;
    margin-bottom: 0px;
    background-color: #005a00;
    color:#fff;
    padding:10px;
    border-radius: 5px;
    height:35px;
    border-bottom:3px solid #000;
}

h2 {
    font-size: 1em;
    margin-top:5px;
    margin-bottom: 5px;
    background-color: #fff;
    color:#005a00;
    padding:10px;
    border-radius: 5px;
    height:35px;
    border-bottom:1px solid #000;

}

#map {
    background-color: black;
    text-align: center;
    margin:auto;
    padding:10px;
    position: relative;
    height:630px;
    z-index:1;
    border:1px solid #000;
    border-bottom:3px solid #000;
    border-radius: 5px;;

}

#graph{
    position:relative;
    right:0px;
    top:415px;
    z-index:8000;

    
}
.main-svg{
    border:0px;
    border-radius:5px; 
    border: 0px solid #000;
}

#inmap{
    margin:auto;
    margin-top:-5px;
    position: relative;
    z-index:7000;
    float:left;
    left: 0px;
    top: 372px;
    background-color: #fff;
    padding:10px;
    border-radius: 5px;
}

#inmap .displaytxt {
    clear: none;
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-weight:bold;
    padding: 2px;
    
}


#legend {
    width:200;
    background-color: #000;
    float:right;
    padding:10px;
    margin: 20px;
    z-index: 500;
    position: absolute;
    right: 30px;
    top:400px;
    border: 1px solid #fff;
    border-radius:5px;
}

.legenditem {
    color: #fff;
}

.legendbox {
    width:15px;
    height:15px;
    margin-top:5px;
    float:left;
    margin-right:5px;
}

.table td{
    font-size: 12px
}

#navigator {
    float:right;
    border-radius: 5px;
    font-size: .7em;;
}

.headline_fig {
    font-size: 25px;
    font-weight: bold;
    display: inline;
}

.compliance {
    display:inline;
    margin-left:10px;
}

.displaytxt {
    clear: none;
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-weight:bold;
    padding: 2px;
    margin:2px;
    min-width: 160px;
}
.displaytext {
    clear: none;
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-weight:bold;
    padding: 2px;
    margin:2px;
    min-width: 120px;
}

.display {
    min-width: 160px;
    display: inline-block;
    text-align: right;
}

#google_translate_element{
    float:right;
    border-radius: 4px;
    margin-top:-2px;
    padding:5px;
    height:35px;
    background-color: #fff;
}

.leaflet-popup-content {
    font-size:1em;
}

.btn {
    display: inline;
    margin:5px;
    padding:5px;
    padding:0px;
    padding-left:10px;
    padding-right:10px;
}

.form-select-sm {
    margin-top:-20px;
    padding:0px;
}

/*Legend specific*/
.legend {
    padding: 6px 8px;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 24px;
    color: #555;
    border-radius:5px;
  }
  .legend h4 {
    text-align: center;
    font-size: 16px;
    margin: 2px 12px 8px;
    color: #777;
  }
  
  .legend span {
    position: relative;
    bottom: 3px;
    float:left;
  }
  
  .legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 8px 0 0;
    opacity: 0.7;
  }
  
  .legend i.icon {
    background-size: 18px;
    background-color: rgba(255, 255, 255, 1);
  }

  hr {
      margin-top:5px;
      margin-bottom:5px;
  }

.half {
    width:50%;
    float:left;
    padding:5px;
}
.full {
    width:100%;
    float:left;
    padding:5px;
}

.graphtext{
    width:50%;
    float:left;
    margin-top:10px;
    padding-left:10px;
    padding-right:10px;
}

.conformity{
    width:50%;
    float:right;
}

#area_conformity, #area_oversize {
    margin: 5px, 5px;
    padding: 5px;
    background-color: #eee;
    width: 100%;
    height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: justify;
    font-size:1em;
    border: 1px solid #000;
    float:left;
    text-decoration: underline;
    font-family: cursive;
}

.xaxislayer-above {
    cursor: pointer;
    pointer-events: all;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top:-10px;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }




