body {
	background-color: #CCCC99;
	color: #000000;
	font: normal 1em Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: center;
	margin: 0em auto auto auto;
}

#content {  /* main page, galleries page content */
	max-width: 100%;
	height: auto;
	text-align: center;
	box-sizing: border-box;
}

#content img {
	display: inline-block;
	max-width: 90%;
	min-width: 13.7em;
	height: auto;
	margin: 1.875em 0em 0em 0em;
}

#content2 {  /* gallery pages content */
	max-width: 90%;
	height: auto;
	text-align: center;
	margin: .25em auto 2.5em auto;
	box-sizing: border-box;
}

.posters {  /* thumbnail display containers on gallery pages */
	display: inline-block;
	max-width: 13.7em;
	height: auto;
	text-align: center;
	margin: 1.875em 1.25em 1.875em 1.25em;
}

.categorycells {  /* containers for category page */
	display: inline-block;
	max-width: 100%;
	height: auto;
	font-size: .85em;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
}

.categorycells a:hover {
	color: black;
}

#header {  /* positions logo */
	max-width: 100%;
	text-align: left;
	margin: 0em auto 0em auto;
}

#header img {
	max-width: 100%;
	height: auto;
	margin: .3em 0em 0em 3.125em;
}

#footer {
	text-align: left;
	height: auto;
	max-width: 80%;
	box-sizing: border-box;
	font-size: .8em;
	font-style: italic;
	margin: .875em auto .875em auto;
	border-top: 1px solid #707070;
	clear: both;
}

#navmenu ul {  /* horizontal navigation menu styling */
	list-style-type: none;
	margin: 0em auto 0em auto;
	padding: 0em 0em 0em 0em;
	font-size: .8em;
	text-align: center;
}

#navmenu ul li {  /* horizontal navigation menu styling */
	margin: .5em .9em 0em 0em;
	padding: 0em 0em 0em 0em;
	display: inline;
	font-style: italic;
}

#navmenu ul li a {  /* horizontal navigation menu styling */
	text-decoration: none;
	padding: 0em .4em 0em .4em;
	color: black;
}

#navmenu ul li a:hover {  /* horizontal navigation menu styling */
	color: #83ab05;
}

#navmenu li#active a {  /* horizontal navigation menu styling */
	color: red;
}

img { /* basic image format */
	border: none;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
}

.imgthumb {
	border: none;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	cursor: pointer;	
}

.imgthumb:hover {
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
   transition: 0.3s ease;
}

.modal { /*overlay background*/
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 3.5em;
	left: 0;
  	top: 0;
  	width: 100%;
  	height: 100%;
  	overflow: auto; /*scroll if needed*/
 	background-color: rgba(70,70,70,0.95); /*grey w/opacity*/
}

.modal-content { /*content image*/
  margin: auto;
  display: block;
  width: 100%;
  max-width: 800px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 2.5em;
  font-weight: normal;
  transition: 0.3s;
}

.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.cursor {
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Previous button */
.prev {
  position: absolute;
  top: 20px;
  right: 120px;
  color: white;
  font-weight: normal;
  font-size: 2em;
  transition: 0.3s ease;
}

/* Next button */
.next {
  position: absolute;
  top: 20px;
  right: 90px;
  color: white;
  font-weight: normal;
  font-size: 2em;
  transition: 0.3s ease;
}

.prev:hover,
.next:hover {
  cursor: pointer;
  color: #bbb;
  text-decoration: none;
}

p {  /* basic paragraph format */
	margin: 0em 0em 1em 0em;
	padding: 0em .5em 0em .5em;
}

p.textual {  /* special paragraph format for text pages */
	text-align: left;
	margin: 0em 0em 1em 0em;
	padding: 0em 10% 0em 10%;
}

p.title {  /* special paragraph format for title on text pages */
	text-align: left;
	margin: 1.25em 0em 1em 0em;
	padding: 0em 10% 0em 10%;
	font-size: 1.2em;
	font-style: italic;
}

.catid { /* special formatting for category header */
	font-size: 1em;
	padding: 1.2em 0em 0em 0em;
	margin: 0em 0em 0em 0em;
}

a {
	background-color: transparent;
	text-decoration: none;
	color: #000000;
}

a:hover {
	color: #83ab05;
}

/* formatting elements for devices with screens less than 600px wide */
@media screen and (max-width: 600px) {

#header {text-align: center;}

#header img {margin: .3em auto 0em auto;}

}