body {
      background-image: linear-gradient(#2E8B57, #20B2AA);
      margin: 0px;
      min-width: 850px;
}
form
{
    text-align: center;   /*Centers all the forms*/

}
  /*The bottom border is at tge very bottom of the page*/
#bottomphoto
{
  width: 100%;
  bottom: 0px;
  right: 0px;
  height: auto;
}
  /*The character counter is positioned below the text box*/
#charcount
{
    position: relative;
    margin-left: 80%;
    color: white;
}
  /*The following three sections are all for the top header which formats the home button (as logo) and the page title*/
.left {
    width: 10%;
    height: 10%;
    float: left;
}
.right {
    margin-left: 10%;
    height: 12%;
}
.header 
{
  position: relative;
  left: 0;
  top: 0;
  padding: 2px;
  background-image: linear-gradient(#2E8B57, #20B2AA);
 }
 
h1
{
  position: relative;
  top: 0%;
  right: 0%;
  width: 100%;
  font-family: "Courier New", Courier, monospace;
  color: white;
  text-align: center;
}

h4
{
    text-align: center;
}

* {
  box-sizing: border-box;
}
#description {
  height: 200px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}
#date
{
    margin-left: 0px;
}
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}
input[type = file]
{
    width: 160px;
}
input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: middle;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
/*  border-radius: 5px;
  background-color: #f2f2f2;*/
  padding: 20px;
}

.col-25 {
  float: left;
  width: 15%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}
.row{
    width: 100%;
    padding-left: 20%;
    padding-right: 25%;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
.rate {
    height: 5%;
    padding: 0 10px;
}
.rate:not(:checked) > input {
    position:relative;
    top:-9999px;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate
{
    position: relative;
    right: 44.15%;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}

  /*The Following is all CSS for the navbar which I got from https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_dropdown_navbar_click*/
.navbar {
  margin-top: 0%;
  margin-left: 0%;
  overflow: hidden;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
  z-index: 999;
}

.navbar a {
  float: left;
  left: 0;
  font-size: 20px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 20px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: green;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}
