.form-layer-attributes {
  display: none;
}

.layer-edit-feature {
  display: none;
}

.layer-create-feature {
  display: none;
}

.layer-delete-feature {
  display: none;
}

.layer-edit-input-form label {
  display: inline-block;
  width: 100px;
}

.layer-edit-input-length {
  width: 100px;
}

#measurements-form {
  display: none;
}
#create_feature {
  pointer-events: none;
}
#modify_feature {
  pointer-events: none;
}
#delete_feature {
  pointer-events: none;
}

.item1 { 
  grid-area: header;
}
.item2 { 
  grid-area: menu;
}
.item3 { 
  grid-area: main; 
}
.item4 {
   grid-area: right; 
}
.item5 { 
  grid-area: footer;
 }

.grid-container {
  display: grid;
  grid-template-columns: 1fr 13fr;
  grid-template-rows: 1fr 13fr;
  width: 100vw;
  height: 100vh;
  grid-template-areas:
    'header header'
    'menu main';
  background-color: #2196F3;
  /* these are for row, column seperation lines */
  gap: 1px;
  padding: 1px;
}

.sidebar {
  margin-left: 15px;
}

.form-check {
  margin-left: 5px;
  /* background-color: #1f8ae2; */
  border: 1px solid #4c89bb;
  /* padding: 5px; */
  border-radius: 5px;

}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 1px 0;
  font-size: 10px;
}

#map{
  width: 100%;
  height: 100%;
  position: relative;
  /* border: 0.5px solid #4CAF50; */
}

#table_data {
  position: absolute;
  bottom: 0%;
  overflow: scroll;
  /* left: 0%; */
  /* right: 0%; */
  height: 0%;
  border: 1px solid #4CAF50;
}

#table {
  white-space: nowrap;
  grid-template-areas: "head-fixed""body-scrollable";
}


#table th {
  position: -webkit-sticky;
  /* for Safari */
  position: sticky;
  top: 0px;
  background-color: rgb(122, 209, 100);
}
  
  /* Pop up style */
  
  .ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "X";
}
  
  #draggable-header a:link{
    text-decoration: none;
  }
  
  #draggable {
    position: absolute;
    z-index: 9;
    background-color: #f1f1f1;
    border: 1px solid #d3d3d3;
    text-align: left;
    top: 70px;
    left: 70px;
    padding: 3px;
    display: none;
  }
  
  #draggable-header {
    padding: 1px;
    cursor: move;
    z-index: 10;
    background-color: #2196F3;
    color: #fff;
  }
  
  .ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    font-size: 12px;
    cursor: default;
    user-select: none;
  }
  .ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
  }
  .ol-tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
  }
  .ol-tooltip-measure:before,
  .ol-tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
  }
  .ol-tooltip-static:before {
    border-top-color: #ffcc33;
  }



  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: relative; /* Stay in place */
    z-index: 1; /* Sit on top */
    /* left: 0; */
    /* top: 0; */
    /* right: 0; */
    /* width: 50%; Full width */
    /* height: 50%; 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 */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
  }
  
  /* Modal Content */
  .modal-content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
  }
  
  /* The Close Button */
  .close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
  }
  
  .modal-body {padding: 2px 16px;}
  
  .modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
  }
  
  /* Add Animation */
  @-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
  }
  
  @keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
  }
  
  @-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }
  
  @keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
  }