
/* Base template */

body{
    position:relative;
        padding-top:5%;
        padding-left: 0%;
        padding-right: 5%;
  }

    a:link {
      color:white;
      text-decoration: none; 
    }
    a:visited {
          color:white;
          text-decoration: none; 
      }

    a:hover {
          color:white;
          text-decoration: none; 
      } 

  .nav {
        background-color: rgb(59, 67, 60); 
        color: white;
        position: fixed;
        width: 50%;
        height: 7%;
        top:0;
        left:0;
        padding-top: 12px;
        padding-left: 20px;    
        z-index:2;    
    }

    .pagetitle {
      font-size: 12px;
      background-color: rgb(59, 67, 60); 
      color: white;
      width: 50%;
      position:fixed;
      height: 7%;
      top:0;
      right:0;
      text-align: right;
      padding-top: 10px;
        padding-right: 1%;    
        z-index:2;    
      }

      /* Button used to open the contact form - fixed at the bottom of the page */
    .open-button {
      background-color: rgb(59, 67, 60);
      color: white;
      padding: 16px 20px;
      border: none;
      cursor: pointer;
      opacity: 0.8;
      position: fixed;
      top: 5px;
      right: 5px;
    }

    .form-popup {
      display: none;
      position: fixed;
      top: 5px;
      right: 5px;
      border: 3px solid #f1f1f1;
      z-index: 3;
      width: 350px;
      padding: 10px;
      background-color: white;
      border-radius: 9px;
    }

    /* Add styles to the form container */
    .form-container {
      width: 100%;
      padding: 5px;
      background-color: white;
    }

    .form-control {
      width:90%;
    }

    .foot {
        background-color: rgb(59, 67, 60); 
        color: white;
        position: fixed;
        width: 100%;
        height: 15%;
        bottom:0;
        left: 0;
        padding-top: 10px;
        padding-left: 10px;
        overflow: hidden;
        
    }

    .footimg {
        width:45%;
        right:0%;
        bottom:-8%;
        position: fixed;
        text-align: right;
    }

    .footlnk {
      width:45%;
      left:0;
      position:fixed;
      text-align: left;
      padding-left:25px;
      padding-top:25px;
    }
    
    @keyframes backmotion {
      0%    { opacity: 1; }
      50%   { opacity: 0; }
      100%   { opacity: 1; }

    }

/* Home Page */
  
  .lpanel {
    color:black;
    position:fixed;
    border: lightgrey;
    width: 30%;
    height: 80%;
    padding:10px;
    padding-top:0px
  }

  #infobox {
    background-color: rgb(94, 107, 97);
    position: fixed;
    color:white;
    height: 10%;
    top: 9%;
    margin-bottom: 15px;
    padding: 10px;
    padding-top: 2px;
    border-radius: 5px;
    width: 30%;
  }

  #search-return {
    width: 30%;
    max-height: 135px;
    position: fixed;
    top: 17%;
    left: 2%;
    overflow-y:auto;
    padding-left: 5px;
    background-color: rgb(234, 242, 237);
    z-index:1;

}

  #statbox{
    position:fixed;
    width:30%;
    height: 35%;
    top: 52%;
  }

  #newsbox{
    position:fixed;
    width:30%;
    height: 40%;
    top: 20%;
    /*overflow: scroll;*/
  }

  #updateitem {
    font: 16px Arial, Helvetica, sans-serif;
    position: relative;
    background-color: white;
    color:black;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    padding: 5px;
    margin:5px;
    box-shadow: gray 2px 2px;
    border-radius: 5px;
    height: 65px;
  }

  .thumb {
    position:absolute;
    height: 100%;
    width: 20%;
  }

  .uptxt {
    position:absolute;
    height: 100%;
    width: 80%;
    left: 18%;
    top:0;
    padding-top:5px;
  }

  .lpanel a {
    color: black
  }
  
  #map {
    width:65%;
    position: fixed;
    left:32%;
    padding:10px;
    height: 70%;
    border-radius: 15px;
  }

  .maptitle {
    font: 20px Arial, Helvetica, sans-serif;
  }

  .mapinfo {
    padding: 6px 8px;
    width: 300px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
  }

  .resetzoom {
    font:20px bold Arial, Helvetica, sans-serif;
    background-color: white;
    width:26px;
    height: 27px;
    border-radius: 3px;
    padding: 4px;
    box-shadow: rgb(211, 209, 209) 2px 2px 2px;
  }

  .legend {
    padding: 6px 8px;
    font: 14px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    line-height: 24px;
    color: #555;
  }

  .legend span {
    position: relative;
    bottom: 3px;
    text-align: left  ;
  }

  .legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 8px 0 0;
    opacity: 0.7;
  }

  /* Stats page */

  .bigbox {
    position:fixed;
    width: 30%;
    height: 65%;
    margin:10px;
    padding: 10px;
  }

  .hoodsort {
    position: fixed;
    text-align:right;
    width:200px;
    right:0%;
    top: 8%;
    background-color: white;
    z-index:1;
  }

  .flex-grid-box {
    position: relative;
    top: 10%;
    left: 32%;
    width: 68%;
    margin:10px;
  }

  .flex-grid {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
  }

  .col {
    flex: 0 0 auto;
    height: 100%;
  }

  #rnk {
    background-color:#fff000;
    border-radius: 9px;
    padding-left: 5px;
    padding-right: 5px;
  }

  #az {
    border-radius: 9px;
    padding-left: 5px;
    padding-right: 5px;
  }

  /* News Page */

  .newsmo {
    color:white;
    position: relative;
    height: 35px;
    width: 500px;
    background-color:rgb(59, 67, 60);
    padding: 5px;
    margin: 5px 10px 5px 5px;
    border-radius: 5px;
}

.newsitem {
    position: relative;
    background-color: #bfcad1;
    border-radius: 5px;
    padding: 5px;
    height: 125px;
    width: 600px;
    margin: 5px 10px 5px 5px;
}

.newspic {
    position: absolute;
    top:5px;
    left:5px;
    height: 90px;
    width: 90px;
    background-color: black;
}

.newspic img {
   /* object-fit: cover; */
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.newstxt {
    position: absolute;
    color: black;
    top:5px;
    left:100px;
    right:5px;
    height: 90px;
    /*background-color: rgb(185, 185, 185);*/
    padding: 5px;
}

.newsdt {
  position: absolute;
  color: black;
  top:90px;
  right:5px;
  height: 10px;
  /*background-color: rgb(185, 185, 185);*/
  padding: 5px;
}

.newsnb {
  position: absolute;
  top:100px;
  left:100px;
  height: 10px;
  /*background-color: rgb(185, 185, 185);*/
  padding: 5px;
  display: flex;
  flex-direction: row;
}

.newsnb_ {
  text-align: center;
  font:13px  Arial, Helvetica, sans-serif;
  color: white;
}

/* Neighborhood pages */

.nbbox {
  padding: 20px;
  padding-left:30px;
  padding-top: 0px;
  text-align: center;
}

.stattl {
  font-size: 20px;
  font-weight: bold;
  position:fixed;
  top: 15%;
  width: 22%;
  height: 22%;
  left: 1%;
  text-align: left;
}

.statbl {
  position:fixed;
  top: 37%;
  width:22%;
  height: 40%;
  left: 1%
}

#mapn {
  position:fixed;
  top: 15%;
  width: 45%;
  height: 67%;
  left: 26%;
  text-align: left;
}

.stattr {
  position:fixed;
  top: 15%;
  width: 22%;
  height: 35%;
  left: 74%;
}

.statbr {
  background-color: lightgray;
  font: 12px Arial, Helvetica, sans-serif;
  position:fixed;
  padding: 10px;
  border: 1px solid black;
  overflow: auto;  
  text-align: left;
  top: 40%;
  width: 22%;
  height: 40%;
  left: 74%;
  border-radius: 9px;
}

.allcats {
  border-radius: 9px;
  padding-left: 10px;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

#RESTAURANTS {
  
  background-color:#fff000;
}

/*Contact form*/

.contact {
  position: fixed;
  left:5%;
  width:50%;
}
