body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #4c4c4c;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white; 
  box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.2)
}

nav {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  font-weight: 300;
  width: 90%;
  margin: 0 auto;
}

nav a {
  font-size: 1.4em;
  color: #4c4c4c;
  text-decoration: none;

}

nav a:visited {
  color: #4c4c4c;
  text-decoration: none;
}

.new-entry {
  display: block;
  float: right;
}

.container{
  margin-top: 60px;
  margin-bottom: 60px;
}

.filter-container{
  background-color: rgba(230, 230, 230, 0.3);
}

.filter {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.filter p {
  display: inline;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.filter p i{
  font-size: 1.1em;
}

.filter .message {
  font-size: 0.8em;
}

.lost-found-bar {
  display: inline-block;
  width: 50%;
}

.lost-found-bar p{
  color: #4c4c4c;
  display: inline-block;
  width: 33%;
  text-align: center;
  /*border: 1px solid #d0d0d0;*/
  padding: 3%;
  border-radius: 2px;
}

.date-bar {
  display: inline-block;
  width: 25%;
  text-align: center;
}

.search-bar {
  display: inline-block;
  width: 20%;
  text-align: center;
}

.item {
  border-radius: 5px;
  padding: 10px;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 5%;
  border: 1px solid #cccccc;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}

.lost {
  border-top: 2px solid #ff5656;
}

.found {
  border-top: 2px solid #00bf5e;
}

.lost .item-status {
  color: #ff5656;
}

.found .item-status {
  color: #00bf5e;
}

.item:hover {
  box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.2);
}

.item h1{
  margin-bottom: 0;
}

.item img {
  width: 100%;
  display: block;
  margin: auto;
  border-radius: 5px;
}

.item .item-status {
  margin-top: 0;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.item-header {
  font-weight: 400;
  font-size: 1.4em;
}

.item.hide-item {
  display: none;
}

.description {
  font-size: 0.9em;
  height: 60px;
  overflow: hidden;
}

.item-description {
  font-size: 1em;
}

h3 {
  font-size: 1.4em;
  margin: 0;
}

.back-button {
  color: #4c4c4c;
  display: block;
  text-decoration: none;
  padding: 3%;
  border-radius: 3px;
  border: 1px solid #4c4c4c;
  width: 81px;
  margin-top: 15%;
}

.item-image-container {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center; 
  background-repeat:no-repeat;
}

.item1 {
  background-image: url('../img/item1.jpg');
}

.item2 {
  background-image: url('../img/item2.jpg');
}

.item3 {
  background-image: url('../img/item3.jpg');
}

.item4 {
  background-image: url('../img/item4.jpg');
}

.item5 {
  background-image: url('../img/item5.jpg');
}

.item6 {
  background-image: url('../img/item6.jpg');
}

.more-info-image-container {
  width: 100%;
  height: 250px;
  background-size: contain;
  background-position: center; 
  background-repeat:no-repeat;
  background-color: #dadada;
  border-radius: 3px;
}

.main-item {
  border-radius: 5px;
  padding: 10px;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 5%;
}

.main-item h1{
  margin-bottom: 0;
}

.main-item img {
  width: 100%;
  display: block;
  margin: auto;
  border-radius: 5px;
}

.main-item .item-status {
  margin-top: 5px;
}

.date-time {
  margin-top: 0;
  font-size: 0.8em;
  color: gray;
}

.item-button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid black;
  color: black;
  padding: 3%;
}

.click-content {
  text-decoration: none;
  color: black;
  display: block;
}

.more-info {
  float: right;
  color: black;
}

.item-content {
  width: 90%;
  margin: 0 auto;
}

.item-status span{
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}

.new-entry {
  cursor: pointer;
  letter-spacing: 0.05em;
}

.new-entry-form, h2 {
  width: 90%;
  margin: 0 auto;
}

.new-entry-form {
  padding: 5%;
}

.new-entry-form input[type="radio"]{
  display: none;
} 

form input{
  width: 100%;
  border: none;
  font-size: 15px;
  /*background-color: #f1f1f1;*/
  padding: 1%;
  color: #4c4c4c;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
}

form label, form button {
  display: block;
  margin-bottom: 1%;
  margin-top: 5%;
}


form button {
  width: 50%;
  color: white;
  font-size: 15px;
  background-color: #4c4c4c;
  border: 1px solid #4c4c4c;
  border-radius: 3px;
  padding: 1%;
}

#lost-filter {
  margin-right: 7%;
  margin-left: 5%;
}

#lost-filter.active {
  color: #4c4c4c;
  font-weight: 600;
}

#found-filter.active {
  color: #4c4c4c;
  font-weight: 600;
}

#label-lost, #label-found{
  display: inline-block;
  width: 25%;
  text-align: center;
  padding: 1%;
  cursor: pointer;
  border-radius: 5px;
}

input[type=radio] + #label-lost, input[type=radio] + #label-found{
  color: #d0d0d0;
  background-color: white;
  border: 1px solid #d0d0d0;
}

input[type=radio]:checked + #label-lost {
  background-color: white;
  color: #ff5656;
  border: 1px solid #ff5656;
}

input[type=radio]:checked + #label-found {
  background-color: white;
  color: #00bf5e;
  border: 1px solid #00bf5e;
}

.form{
  padding-top: 5%;
  color: #4c4c4c;
}

.form-details {
  margin-top: 0px;
  font-size: 12px;
  color: gray;
}

.reduce-font {
  display: none;
}

.plus-sign {
  display: inline;
}

.hide {
  display: none;
}

.search-error-message {
  text-align: center;
}

@media screen and (min-width: 1024px) {

  .items {
    margin: 0 auto;
    width: 90%;
  }

  .item {
    display: inline-block;
    width: 25%;
    margin: 2% 3%;
  }

  .main-item {
    width: 30%;
  }

  .filter-container {
    margin-bottom: 3%;
    background-color: white;
  }

  .filter {
    width: 50%;
    margin: 0 auto;
    background-color: rgba(230, 230, 230, 0.3);
    padding: 1%;
  }

  .filter li:hover {
    cursor: pointer;
  }

  .filter p {
    margin-top: 0;
  }
  
  #search-input, #date-input {
    width: 90%;
    margin-top: 2%; 
    margin-left: 3%;
  }
  
  .filter .message {
    display: block;
    margin-bottom: 3%;
  }
  
  #lost-filter, #found-filter {
    margin-bottom: 0;
  }

  .reduce-font {
    color: #909090;
    font-size: 0.75em;
    letter-spacing: 0.1em;
    display: inline;
  }

  .reduce-font:hover {
    color: black;
  }

  .plus-sign {
    display: none;
  }
  
  /* report.php */

  .container.report {
    width: 50%;
    margin: 60px auto;
  }

  .new-entry-form {
    padding: 0;
  }
}