html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: "";
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

[class*="col-"] {
	width: 100%;
}

@media only screen and (min-width: 600px) {
	.col-s-1 {
		width: 8.33%;
	}

	.col-s-2 {
		width: 16.66%;
	}

	.col-s-3 {
		width: 25%;
	}

	.col-s-4 {
		width: 33.33%;
	}

	.col-s-5 {
		width: 41.66%;
	}

	.col-s-6 {
		width: 50%;
	}

	.col-s-7 {
		width: 58.33%;
	}

	.col-s-8 {
		width: 66.66%;
	}

	.col-s-9 {
		width: 75%;
	}

	.col-s-10 {
		width: 83.33%;
	}

	.col-s-11 {
		width: 91.66%;
	}

	.col-s-12 {
		width: 100%;
	}
}

@media only screen and (min-width: 768px) {
	.col-1 {
		width: 8.33%;
	}

	.col-2 {
		width: 16.66%;
	}

	.col-3 {
		width: 25%;
	}

	.col-4 {
		width: 33.33%;
	}

	.col-5 {
		width: 41.66%;
	}

	.col-6 {
		width: 50%;
	}

	.col-7 {
		width: 58.33%;
	}

	.col-8 {
		width: 66.66%;
	}

	.col-9 {
		width: 75%;
	}

	.col-10 {
		width: 83.33%;
	}

	.col-11 {
		width: 91.66%;
	}

	.col-12 {
		width: 100%;
	}
}

html {
	box-sizing: border-box;
}

*, *::before {
	box-sizing: inherit;
}

.row::after {
	content: "";
	clear: both;
	display: table;
}

body {
	background-image: url(../images/backgrounds/rwb.jpg);
	background-repeat: repeat;
	font: 100% Arial, Helvetica, sans-serif;
	text-align: left;
}

label {
	vertical-align: top;
	margin-right: 1em;
}

p {
	text-align: justify;
	margin: 1rem 0;
	line-height: 125%;
}

b {
	font-weight: bold;
}

i {
	font-style: italic;
}

u {
	text-decoration: underline;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 125%;
	font-weight: bold;
	margin: 1rem 0;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: bold;
	margin: 1rem 0;
}

input:required {
	border-color: red;
}

input:required::after {
	color: red;
	content: "*";
	font-weight: bold;
}

ul.reddot {
	list-style-image: url("../images/backgrounds/dot01.gif");
	margin: 0 3rem;
}

ul.reddot li {
	margin-bottom: 0.5rem;
}

ul.menu {
	list-style: none;
	margin: 0;
	padding: 5px;
	border: inset 2px #008080;
	background-color: #fff;
}

ul.menu li {
	background: url("../images/icons/greenlight_on.png") no-repeat 5px 3px;
	border: outset 1px #000;
	margin: 2px 0;
	min-height: 1.5em;
	padding: 5px 0 1px 32px;
	text-align: left;
}

ul.menu li:active {
	background: url("../images/icons/greenlight_on.png") no-repeat no-repeat 5px 3px;
	border: outset 1px #000;
	margin: 2px 0;
	min-height: 1.5em;
	padding: 5px 0 1px 32px;
}

ul.menu li:hover {
	background: url("../images/icons/greenlight_on.png") no-repeat no-repeat 5px 3px;
	border: outset 1px #000;
	margin: 2px 0;
	min-height: 24px;
	padding: 5px 0 1px 32px;
}

ul.menu li a {
	font: normal 500 1em Verdana,Arial,sans-serif;
	text-decoration: none;
}

ul.menu li ul {
	margin-left: 5px;
	border: none;
	background: transparent;
	display: block;
}



ul.menu li:hover ul li {
	border: outset 1px #000;
	margin: 2px 0;
	min-height: 24px;
	padding: 5px 0 1px 32px;
	color: red;
}

ul.menu li ul.level2 li {
	background: url("../images/icons/square_btn.png") no-repeat 5px 3px;
	border: outset 1px #000;
	margin: 2px 0;
	min-height: 24px;
	padding: 5px 0 1px 32px;
	color: #00a;
}

ul.menu li ul.level2 li:hover {
	background: url("../images/bullets/triangle_red.jpg") no-repeat 5px 3px;
	background-color: #fffad1;
	color: red;
}

ul.menu li ul.level2 li a {
	color: #00a;
}

ul.menu li ul.level2 li a:visited {
	color: #00a;
}

ul.menu li ul.level2 li a:hover {
	color: red;
}

#canvas {
	width: 975px;
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
	background-color: #000;
	color: white;
}

header {
	width: 975px;
	max-width: 100%;
	position: relative;
	left: 0;
	margin-bottom: 0;
	padding: 0;
}

@media only screen and (min-width: 600px) {
	header {
		background-position: left center;
		background-size: 11% auto;
	}
}

@media only screen and (min-width: 768px) {
	header {
		background-position: left center;
		background-size: 14% auto;
	}
}

#logged {
	width: 100%;
	background-color: black;
	font: normal 100%/150% arial, san-serif;
	color: orange;
	padding: 4px;
}

.nightmare-branding {
	position: relative;
	max-width: 975px;
	margin: 0 auto;
	background-image: -webkit-linear-gradient(top, #c00, #600);
	background-image:         linear-gradient(to bottom, #c00, #600);
}

.nightmare-branding h1 {
	position: absolute;
	left: 0;
	top: 0%;
	width: 100%;
	text-align: center;
	font-family: "Comic Sans MS", cursive, sans-serif;
	font-weight: bold;
	font-size: 200%;
	font-style: italic;
	/*border-top: solid 1px black;
	border-bottom: solid 1px black;*/
	margin: 0;
	color: #8cff1a;
	text-shadow: 0 1px 9px #fc6;
}

img {
	max-width: 100%;
	height: auto;
}

nav {
	padding: 0 0.25rem;
	text-align: center;
	font-size: 100%;
	width: 975px;
	max-width: 100%;
	margin: 0 auto;
	border-bottom: 2px solid #8CFF1A;
}

.navtab, .navtab2 {
	display: inline-table;
}

.navtab2 {
	border-radius: 4px;
	border: transparent;
	background-color: #0b0f8c;
	border: none;
	color: white;
	padding: 1%;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 100%;
	margin: 4px 2px;
	cursor: pointer;
}

.navtab2:hover {
	background-color: #0d76ff;
}

.navtab2 a {
	color: white;
	font-weight: bold;
	text-decoration: none;
}

nav ul {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	color: #fff;
	line-height: 30px;
	white-space: nowrap;
}

nav ul li, nav .navtab {
	margin: 0.25rem 0.15rem;
	line-height: 125%;
	display: block;
	float: left;
	font-size: 100%;
	text-align: center;
	background-image: url(../images/icons/tombstone-glowing.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 72px;
}

nav ul li::after, nav .navtab::after {
	content: " |";
}

nav ul li a, nav .navtab a {
	text-decoration: none;
	padding: 7px 10px;
	color: #8cff1a;
	/*text-shadow: 0 1px 9px #fc6;*/
	font-family: "Comic Sans MS", cursive, sans-serif;
	font-size: 100%;
	font-weight: bold;
	vertical-align: -200%;
}

nav ul li a:hover, nav ul li a:focus, nav .navtab a:hover, nav .navtab a:focus {
	font-size: 125%;
	color: #ff0;
	font-variant: small-caps;
}

nav #tab7 a:hover, nav #tab7 a:focus {
	font-size: 125%;
	color: #ff0;
}



nav ul li ul {
	padding: 0;
	margin: 0;
	display: none;
}

nav ul li:hover ul {
	display: block;
	list-style-type: disc;
	margin-left: 36px;
}

nav ul li ul li {
	float: none;
	background: gold;
	font-size: 75%;
}

#home nav ul li#tab1 a, #about nav ul li#tab2 a, #gallery nav ul li#tab3 a, #news nav ul li#tab4 a, #contact nav ul li#tab5 a, #home nav #tab1 a, #about nav #tab2 a, #gallery nav #tab3 a, #news nav #tab4 a, #contact nav #tab5 a {
	color: white;
	font-weight: bold;
	text-transform: uppercase;
}

.topnav .icon {
	display: none;
}

.navtab.manager {
	box-shadow:2px 10px 20px orange;
	border-radius: 25px;
}

.navtab.manager a {
	font-style: italic;
	background-color: #FF0;
	color: black;
	border-radius: 25px;
	padding: 0 10px;
}

.navtab.manager a:hover, .navtab.manager a:focus {
	font-size: 125%;
	color: navy;
}

#users .navtab.manager a {
	font-weight: bold;
	text-transform: uppercase;
}

#mainNav {
	background-image: -webkit-linear-gradient(top, #8c8c8c, #000);
	background-image:         linear-gradient(to bottom, #8c8c8c, #000);
}

#update_link {
	text-align: right;
	margin: 1em 0;
	font-size: 100%;
}

#update_link a {
	background-color: yellow;
	text-decoration: none;
	font: normal bold 100% Verdana,Arial,sans-serif;
	border: 4px outset black;
	border-radius: 12px;
	padding: 0.25em;;
}

.topnav .navtab img {
	display: block;
}

@media screen and (max-width: 600px) {
	.topnav .navtab {
		display: none;
	}

	.topnav a.icon {
		float: left;
		display: block;
	}
}

@media screen and (max-width: 600px) {
	.topnav.responsive {
		position: relative;
	}

	.topnav.responsive .icon {
		position: absolute;
		left: 0;
		top: 0;
		display: none;
	}

	.topnav.responsive a, .topnav.responsive .navtab a {
		float: none;
		display: block;
		text-align: left;
		padding: 0 !important;
	}

	.topnav.responsive .navtab {
		float: none;
		display: block;
		text-align: left;
		margin: 0;
		padding: 0;
		background-image: none;
		height: auto;
	}

	.topnav.responsive .navtab::after {
		content: "";
	}

	.topnav.responsive .navtab img {
		display: none;
	}
}

footer {
	max-width: 975px;
	width: 100%;
	margin: 0 auto;
	background-image: -webkit-linear-gradient(top, #972626, #f03);
	background-image:         linear-gradient(to bottom, #972626, #f03);
	color: white;
}

.colophon {
	text-align: center;
	font-style: italic;
	font-size: small;
	margin: 0 auto 1rem;
	padding: 0.5rem 0;
	border-top: solid black 1px;
	border-bottom: solid black 1px;
	background-image: url("../images/backgrounds/filler01.gif");
}

#admin_menu {
	border: 4px double #676a25;
	padding: 0.25em;
	margin: 1em auto;
}

#administration table {
	margin: 1em auto;
	border: 4px outset black;
	font-size: 100%;
	width: auto;
}

#administration th {
	border: 1px solid white;
	background-color: black;
	color: white;
	font-weight: bold;
	text-align: center;
	vertical-align: bottom;
	padding: 0.25em;
}

#administration td {
	border: 1px solid black;
	text-align: left;
	vertical-align: bottom;
	padding: 0.25em;
	margin: 0.5em;
}

#administration td input[type="text"] {
	border: 2px black inset;
}

#administration td input:required {
	border: 2px red inset;
}

#administration td.labeller {
	vertical-align: top;
	text-align: right;
}

#administration table.simple {
	display: table;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px gray solid;
}

#administration table.simple tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

#administration table.simple th {
	display: table-cell;
	vertical-align: inherit;
	font-weight: bold;
	vertical-align: bottom;
	text-align: center;
	border: inherit;
}

#administration table.simple td {
	display: table-cell;
	vertical-align: inherit;
}

.full_img {
	/* The image used */
	background-image: url(../images/porch.png);

	/* Control the height of the image */
	min-height: 400px;

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;

}

.logger {
	position: absolute;
	right: 0;
	margin: 10px 10px;
	max-width: 50%;
	padding: 16px;
	background-color: white;
}

.logger label {
	color: black;
}

/* Full-width input fields */
.logger input[type=text], input[type=password] {
	width: 80%;
	padding: 15px;
	margin: 5px 0 22px 0;
	border: none;
	background: #f1f1f1;
}

.logger input[type=text]:focus, input[type=password]:focus {
	background-color: #ddd;
	outline: none;
}

/* Set a style for the submit button */
.logger .btn {
	background-color: #4CAF50;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	width: 100%;
	opacity: 0.9;
}

.logger .btn:hover {
	opacity: 1;
}

.formblock {
	font-size: 100%;
}

.formblock div {
	display: inline-block;
	border: 2px white solid;
	line-height: 150%;
	width: 33%;
}

#gallery table {
	margin: 1em auto;
	border: 1px solid black;
	font-size: small;
	width: auto;
}

#gallery th {
	border: 1px solid white;
	background-image: url("../images/backgrounds/filler01.gif");
	color: black;
	font-weight: bold;
	text-align: center;
	vertical-align: bottom;
	padding: 0.25em;
}

#gallery td {
	border: 1px solid black;
	text-align: center;
	vertical-align: top;
	padding: 0.25em;
}

#gallery .tabler {
	display: inline-block;
	width: 100%;
	text-align: center;
	vertical-align: top;
	margin: 0.25rem;
}

#gallery .tabler p {
	text-align: center;
}

div.gallery {
	margin: 5px;
	border: 1px solid #ccc;
	float: left;
	width: 20%;
}

div.gallery:hover {
	border: 1px solid #777;
}

div.gallery img {
	width: 100%;
	height: auto;
}

div.desc {
	padding: 1em;
	text-align: center;
	font-size: 100%;
}

#screen {
	max-width: 100%;
}

#screen .container {
	position: relative;
	border: 4px groove black;
}

#screen .imgSlides, .video-container {
	display: none;
}

#screen .cursor {
	cursor: pointer;
}

.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 40%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: black;
	font-weight: bold;
	font-size: 20px;
	border-radius: 0 3px 3px 0;
	        user-select: none;
	-webkit-user-select: none;
}

.prev {
	left: 0;
	border-radius: 3px 0 0 3px;
}

.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
}

.numbertext {
	color: #f2f2f2;
	background-color: #000;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

.caption-container, .vidCaption-container {
	text-align: center;
	background-color: #222;
	padding: 2px 16px;
	color: white;
}

#screen .row:after {
	content: "";
	display: table;
	clear: both;
}

#screen .column {
	float: left;
	width: 16.66%;
}

.demo, .vidDemo {
	opacity: 0.6;
	margin: 2% 0;
}

#screen .active, .demo:hover, .vidDemo:hover {
	opacity: 1;
}

#theatre {
	width: 100%;
	border: 2px inset black;
	margin: 1em 0;
}

#users {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 100%;
	border-collapse: collapse;
	width: 100%;
}

#users td, #users th {
	border: 1px solid #ddd;
	padding: 8px;
	font-size: 100%;
}

#users tr:nth-child(even) {
	background-color: #f2f2f2;
}

#users tr:hover {
	background-color: #cef8f8;
}

#users th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: navy;
	color: white;
	font-weight: bold;
}

#news article {
	margin: 2% 0 0 0;
	border-bottom: 1px dashed #ccc;
	padding: 2%;
	background-color: #eee;
	font-size: 100%;
	border-radius: 25px;
}

#news article h1 {
	color: navy;
	margin-top: 0.25em;
}

#news td, #news th {
	border: 1px solid #ddd;
	padding: 8px;
	font-size: 100%;
}

#news tr:nth-child(even) {
	background-color: #f2f2f2;
}

#news tr:hover {
	background-color: #cef8f8;
}

#news th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: center;
	vertical-align: bottom;
	background-color: navy;
	color: white;
	font-weight: bold;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	background-color: #ff0;
	color: #000;
	text-align: center;
	border-radius: 6px;
	padding: 5px 2px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -10px;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #880 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.popup {
	position: relative;
	display: inline-block;
	cursor: pointer;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.popup .popupimg {
	visibility: hidden;
	width: 160px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 8px 0;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -80px;
}

.popup .popupimg::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.popup .show {
	visibility: visible;
	-webkit-animation: fadeIn 1s;
	        animation: fadeIn 1s;
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1 ;
	}
}
