/* Style the body and outer container */

body {
  margin: 0;
  color: #333;
  background-color: #DCDCDC;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.5em;
}

#container {
  width: 1080px;
  background: #fff;
  margin: 20px auto;
  padding: 20px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}


/* The logo and footer */

#logo {
  display: block;
  width: 300px;
  padding: 0 0px 20px 0;
  border: none;
  border-bottom: 1px solid #DCDCDC;
}

#footer {
  border-top: 1px solid #DCDCDC;
  margin-top: 40px;
  padding: 20px 0 0 0;
  font-size: .8em;
}

h1, h2, h3, h4, h5, p {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
}

.shortBlurb {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
}

.moreInfo {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
}

.moreInfoBlurb {
	background-color:  #008CBA;
	font-size: 16px;
	padding: 10px 16px;
	border-radius: 8px;
}

.download {
	background-color: #f44336;
	font-size: 24px;
	padding: 16px;
	border-radius: 8px;
}

.headerButton {
	background-color: #4CAF50;
	font-size: 16px;
	padding: 12px 12px;
	border-radius: 8px;
}

.patreonBanner {
  background-color: #ff7b00;
  font-size: 16px;
  padding: 12px 12px;
  border-radius: 8px;
}

/* Headings */

h1 {
  color: #eb6841;
  margin-top: 16px;
  margin-bottom: 16px;
  line-height: 110%;
}

h2, h2 a {
  color: #edc951;
}

h2 a {
  text-decoration: none;
}


/* "You are logged in..." header on admin pages */

#adminHeader {
  width: 940px;
  padding: 0 10px;
  border-bottom: 1px solid #00a0b0;
  margin: -30px 0 40px 0;
  font-size: 0.8em;
}


/* Style the form with a coloured background, along with curved corners and a drop shadow */

form {
  margin: 20px auto;
  padding: 40px 20px;
  overflow: auto;
  background: #fff4cf;
  border: 1px solid #666;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
}


/* Give form elements consistent margin, padding and line height */

form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

form ul li {
  margin: .9em 0 0 0;
  padding: 0;
}

form * {
  line-height: 1em;
}


/* The field labels */

label {
  display: block;
  float: left;
  clear: left;
  text-align: right;
  width: 15%;
  padding: .4em 0 0 0;
  margin: .15em .5em 0 0;
}


/* The fields */

input, select, textarea {
  display: block;
  margin: 0;
  padding: .4em;
  width: 80%;
}

input, textarea, .date {
  border: 2px solid #666;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
}

input {
  font-size: .9em;
}

select {
  padding: 0;
  margin-bottom: 2.5em;
  position: relative;
  top: .7em;
}

textarea {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: .9em;
  height: 5em;
  line-height: 1.5em;
}

textarea#content {
  font-family: "Courier New", courier, fixed;
}


/* Place a border around focused fields */

form *:focus {
  border: 2px solid #7c412b;
  outline: none;
}


/* Display correctly filled-in fields with a green background */

input:valid, textarea:valid {
  background: #efe;
}


/* Submit buttons */

.buttons {
  text-align: center;
  margin: 40px 0 0 0;
}

input[type="submit"] {
  display: inline;
  margin: 0 20px;
  width: 24em;
  padding: 10px;
  border: 2px solid #7c412b;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  color: #fff;
  background: #ef7d50;
  font-weight: bold;
  -webkit-appearance: none;
}

input[type="submit"]:hover, input[type="submit"]:active {
  cursor: pointer;
  background: #fff;
  color: #ef7d50;
}

input[type="submit"]:active {
  background: #eee;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
}


/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
}

tr, th, td {
  padding: 10px;
  margin: 0;
  text-align: left;
}

table, th {
  border: 1px solid #00a0b0;
}

th {
  border-left: none;
  border-right: none;
  background: #ef7d50;
  color: #fff;
  cursor: default;
}

tr:nth-child(odd) {
  background: #fff4cf;
}

tr:nth-child(even) {
  background: #fff;
}

tr:hover {
  background: #ddd;
  cursor: pointer;
}


/* Status and error boxes */

.statusMessage, .errorMessage {
  font-size: .8em;
  padding: .5em;
  margin: 2em 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
}

.statusMessage {
  background-color: #2b2;
  border: 1px solid #080;
  color: #fff;
}

.errorMessage {
  background-color: #f22;
  border: 1px solid #800;
  color: #fff;
}

.reviewContainer {
  padding: 2em;
}

.review {
  border: 1px solid gray;
  background-color: #eee;
  padding: .5em;
  margin: .5em;
}

.review:nth-child(even) {
  background-color: #ddd;
}

.review-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.review-author {
  display: flex;
  flex: auto;
  flex-direction: row;
  justify-content: space-between;
}

.review-author p {
  padding: 0em .5em;
}

.review-rating {
  display: inline-block;
}

.review-comment {
  display: inline-block;
}

.review-comment img {
  float: right;
  width: 50%;
  margin: 10px 20px;
}

.review-comment p {
  display: block;
  text-align: justify;
}

.report {
  display: block;
  text-decoration: none;
  text-align: right;
  color: brown;
}

.rating-star {
  color: goldenrod;
}
