/*=========================General Style==================================*/

body {
  font-family: sans-serif;
  background: white;
  margin: 0px;
  padding: 0px;
}

.buttons {
  background-color: #F57C00;
  color: white;
  border-radius: 10px;
  padding: 5px 10px;
}

.buttons:hover {
  background-color: orange;
  -webkit-transition: 0.15s;
}
/*----------logo & search bar----------*/

.top-1 {
  width: 100%;
  background-color: #FFF3E0;
}

.logobar {
  height: 100%;
  margin: auto;
}

.logobar h1 {
  position: relative;
  color: #F57C00;
  text-shadow: 1px 1px #E65100;
  float: left;
  margin: 40px 0px 0px 15px;
}
/*----------navigation bar----------*/

.top-2 {
  width: 100%;
  height: auto;
  background-color: #F57C00;
  color: white;
}

.navbar {
  margin: auto;
}

.navbar li {
  list-style-type: none;
  text-align: center;
}

.navbar a {
  color: white;
  text-decoration: none;
  border-radius: 15px 15px 0px 0px;
}

.navbar a:hover {
  background-color: #FFF3E0;
  color: #F57C00;
  -webkit-transition: 0.15s;
}
/*----------main body stuff----------*/

main {
  margin: 20px auto;
}

.row1 {
  width: 95%;
}

.row1 select {
  float: left;
  font-size: 90%;
  border-radius: 5px;
}

.row2 {
  width: 95%;
  margin: auto;
  font-size: 95%;
}
  
.row2 input {
  font-size: 95%;
}

#PostingBody {
  width: 99%;
  margin-top: 0px;
}

.row3 {
  width: 95%;
  margin: auto;
  font-size: 95%;
  border: 1px solid #C0C0C0;
}

.row3 li {
  list-style-type: none;
  margin: 15px 0px;
}

.row4 {
  width: 95%;
  margin: auto;
}

.submit_edit form {
  float: left;
  margin-left: 10px;
}

footer {
  clear: both;
  width: 100%;
  height: auto;
  background-color: #FFF3E0;
}

footer a {
  color: #757575;
}

footer p {
  color: #757575;
  font-size: 0.8em;
  text-align: center;
  font-style: italic;
}
/*=========================Desktop Version==================================*/

@media (min-width: 981px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 85px;
  }
  .logobar {
    width: 80%;
  }
  .logobar img {
    float: left;
    height: 100%;
    width: auto;
  }
  .logobar h1 {
    font-size: 2em;
  }
  .logobar form {
    position: relative;
    float: right;
    margin: 48px 8px 0px 0px;
  }
  .navbar {
    width: 80%;
    height: 35px;
  }
  .navbar ul {
    margin: 15px 4px 0px 0px;
    float: right;
  }
  .navbar li {
    float: left;
    margin: 0px 5px 0px 5px;
  }
  .navbar a {
    border-left: 1px solid #FFF3E0;
    border-top: 1px solid #FFF3E0;
    padding: 5px 10px 3px 10px;
  }
  /*----------main body start here----------*/
  
  main {
    max-width: 970px;
  }

  .row1 select {
    width: 48%;
    margin: 1.5% 0% 2% 2%;
    padding: 0.6%;
  }
  .span1 {
    display: none;
  }
  .addImg button {
    display: none;
  }

  .row3 p {
    margin: 10px 0px 10px 10px;
  }
  .row4 {
    font-size: 80%;
  }
  .box {
    width: 100%;
    border: 1px solid #C0C0C0;
  }
  .submit_edit {
    clear: both;
    float: right;
    margin: 5px 0px 10px 0px;
  }
  /*----------footer start here----------*/
  
  footer {
    position: absolute;
    bottom: 0px;
    padding: 1px 0px;
  }
}
/*=========================Tablet Version==================================*/

@media (max-width: 980px) and (min-width:481px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 80px;
  }
  .logobar {
    width: 85%;
  }
  .logobar img {
    float: left;
    height: 100%;
    width: auto;
  }
  .logobar h1 {
    font-size: 1.8em;
  }
  .logobar form {
    position: relative;
    float: right;
    margin: 44px 8px 0px 0px;
  }
  .navbar {
    width: 85%;
    height: 31px;
  }
  .navbar ul {
    margin: 12px 4px 0px 0px;
    float: right;
  }
  .navbar li {
    float: left;
    margin: 0px 5px 0px 5px;
  }
  .navbar a {
    border-left: 1px solid #FFF3E0;
    border-top: 1px solid #FFF3E0;
    padding: 3px 8px 2px 8px;
  }
  /*----------main body start here----------*/
  
  main {
    max-width: 85%;
  }
  .row1 select {
    width: 48%;
    margin: 1.5% 0% 2% 2%;
    padding: 5px 0.6%;
  }

  .span1 {
    display: none;
  }
  .addImg button {
    display: none;
  }

  .row3 p {
    margin: 10px 0px 10px 10px;
  }
  .row4 {
    font-size: 85%;
  }
  .box {
    width: 100%;
    border: 1px solid #C0C0C0;
  }
  .submit_edit {
    clear: both;
    float: right;
    margin: 5px 0px 10px 0px;
  }
  /*----------footer start here----------*/
  
  footer {
    position: absolute;
    bottom: 0px;
    padding: 1px 0px;
  }
}
/*=========================Mobile Version==================================*/

@media (max-width: 480px) {
  /*----------header start here----------*/
  
  .top-1 {
    height: 115px;
  }
  .logobar {
    width: 85%;
  }
  .logobar img {
    max-height: 100%;
    margin: auto 40%;
  }
  .logobar h1 {
    display: none;
  }
  .logobar form {
    position: relative;
    margin: auto 28%;
  }
  .logobar .buttons {
    display: none;
  }
  .top-2 {
    background-color: white;
  }
  .navbar {
    width: 100%;
    height: auto;
  }
  .navbar ul {
    margin: 5px 8px 3px 5px;
    padding: 2px;
    font-size: 120%;
  }
  .navbar li {
    width: 100%;
    height: 32px;
    border-bottom: 1px solid #C0C0C0;
    margin-top: 4px;
  }
  .navbar a {
    display: block;
    width: 100%;
    background-color: #F57C00;
    padding: 4px 0px 2px 0px;
    border-radius: 5px;
  }
  /*----------main body start here----------*/
  
  main {
    width: 100%;
  }
  .row1 select {
    width: 100%;
    margin: 0% 0% 18px 2%;
    padding: 6px 0.6%;
    font-size: 95%;
  }
  .row2 {
    border-bottom: 1px solid #C0C0C0;
  }
  .row2 input {
    width: 100%;
    font-size: 100%;
  }
  #PostingBody {
    font-size: 120%;
  }
  .span2 {
    display: none;
  }
  .addImg button {
    width: 15%;
    height: 30px;
    font-size: 120%;
  }
  .row3 li {
    margin: 15px -15px;
  }
  .row4 {
    font-size: 90%;
  }
  .submit_edit {
    clear: both;
    width: 100%;
  }
  .submit_edit form {
    width: 48%;
    margin: 5px 0px 25px 0px;
  }
  .submit_edit input {
    width: 100%;
    height: 50px;
  }
  /*----------footer start here----------*/
  
  footer {
    padding: 0.5px 0px;
  }
}