* {
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	-o-transition-duration: 0.25s;
	transition-duration: 0.25s;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	font-family: "Noto Sans", sans-serif;
	padding: 0px;
	margin: 0px;
	min-width: 880px;
	background-color: #000000;
	background-image: url(images/Insomnia-preview.jpg);
	background-size: 100%;
	background-repeat: no-repeat;
}

h1 {
	font-style: normal;
	font-weight: normal;
	font-size: 1.4em;
}

h2 {
	font-style: normal;
	font-weight: normal;
	font-size: 1.2em;
}

h3 {
	font-style: normal;
	font-weight: normal;
	font-size: 1.2em;
}

h4 {
	font-style: normal;
	font-weight: normal;
	font-size: 1.2em;
}

p {
	font-size: 0.9em;
}

a {
	text-decoration: none;
}

a:hover {
	color: #0f7ffe;
}

a img {
	-webkit-transform:scale(1);
	-moz-transform:scale(1);
	-o-transform:scale(1);
	transform:scale(1);
}

a img:hover {
	-webkit-transform:scale(1.1);
	-moz-transform:scale(1.1);
	-o-transform:scale(1.1);
	transform:scale(1.1);
}

ul {
	-webkit-column-break-inside: avoid;
    -moz-column-break-inside:avoid;
    -moz-page-break-inside:avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    column-break-inside: avoid;
}

ol {
	-webkit-column-break-inside: avoid;
    -moz-column-break-inside:avoid;
    -moz-page-break-inside:avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    column-break-inside: avoid;
}

li {
	margin-bottom: 10px;
	-webkit-column-break-inside: avoid;
    -moz-column-break-inside:avoid;
    -moz-page-break-inside:avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    column-break-inside: avoid;
}

blockquote {
	clear: both;
	margin: 20px;
	margin-left: 10%;
	margin-right: 10%;
	padding: 20px;
	border: thin solid #bf7900;
	min-height: 180px;
	border-radius: 10px;
}

blockquote img {
	width: 150px;
	border-radius: 100px;
	float: left;
	margin: 10px;
	border: thick solid #999999;
}

fieldset {
	margin-left: 10%;
	margin-right: 10%;
	clear: both;
	border: thin solid #855400;
}

header {
	color: white;
	background-color: #855400;
	background-image: url(images/navbar-gold.gif);
	width: 232px;
	top: 0px;
	margin-left: 50px;
	padding-top: 25px;
	padding-bottom: 25px;
}

header a img {
	margin: 5px;
	width: 90%;
}

nav {
	padding: 0px;
	margin: 0px;
	min-height: 20px;
	width: 232px;
	margin-left: 50px;
	padding-bottom: 150px;
	background-image: url(images/navbar-tip.png);
	background-position: bottom;
}

nav ul {
	padding: 0px;
	padding-bottom: 200px;
	margin: 0px;
	background-color: #855400;
	background-image: url(images/navbar-gold.gif);
}

nav li {
	margin-left: 25px;
	list-style-type: none;
}

nav li a {
	font-size: 2em;
	line-height: 2em;
	color: #f4be3b;
}

nav li a:hover {
	color: #ffffee;
}

.mmenu {  
	display: none;
}

article {
	position: absolute;
	top: 50px;
	left: 350px;
	width: auto;
	margin-right: 50px;
	padding: 20px;
	padding-bottom: 40px;
	background-color: #222211;
	background-color: rgba(39,36,17,0.8);
	border: thin solid #f4be3b;
	border-radius: 20px;
	color: #f4be3b;
}

article h1,h2,h3,h4 {
	margin-left: 5%;
	width: 90%;
	margin-top: 0px;
}

article p {
	margin-left: 5%;
	width: 90%;
}

article a {
	color: #ffffef;
}

article a:hover {
	color: #f4be3b;
}

p.learnmore {
	text-align: center;
	font-size: 1.2em;
	clear: both;
}

#wk {
	width: 180px;
	position: absolute;
	top: 360px;
	left: 5px;
}

article.tales img {
	width: 250px;
	margin-left: 10px;
	margin-bottom: 10px;
}

article.tale img.cover {
	width: 40%;
	float: right;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
}

article.tale ul {
	width: 50%;
	margin-left: 10%;
}

article.tale div {
	clear: both;
	text-align: center;
}

article.tale div.preview a img {
	float: left;
	width: 16%;
	margin-left: 5px;
	margin-right: 0px;
}

article.tale div.mySlides img {
	width: 50%;
	margin-left: 25%;
}

article.myth {
	background-color: rgba(39,36,17,0.9);
}

.myth div {
	clear: both;
	width: 90%;
	margin-left: 5%;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: thin solid #f4be3b;
	color: white;
	min-height: 180px;
}

.myth div img {
	width: 150px;
	border-radius: 100px;
	float: left;
	margin-right: 20px;
}

footer {
	padding-bottom: 2px;
	padding-top: 2px;
	background-color: #855400;
	clear: both;
	float: none;
	text-align: center;
	margin-bottom: 5px;
	margin-top: 20px;
	min-width: 880px;
	width: 98%;
	margin-left: 1%;
	font-size: 0.8em;
	position: fixed;
	bottom: 5px;
}

footer a {
	color: #f4be3b;
}

footer a:hover {
	color: #ffffee;
}

.mainpage img {
	float: right;
	width: 180px;
	margin-left: 20px;
	border: thick solid #b88733;
}

.mainpage a img:hover {
	border: thick solid #f4be3b;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin-left: auto;
  padding: 0;
  width: 100%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

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

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

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



@media screen and (max-width: 900px) {

body {  
	font-size: 1.5em;
	background-size: cover;
	background-position: right;
	background-image: url(images/Insomnia-bw-1.jpg);
}
	
header {
	background-image: url(images/spacer.gif);
	}

nav {  
	min-height: 30px;
	height: auto;
	width: 95%;
	text-align: right;
	background-image: url(images/spacer.gif);
	padding-bottom: 0px;
	margin-left: 10px;
}

nav ul {
	margin-top: 0px;
	width: auto;
	text-align: center;
	display: none;
	background-image: url(images/spacer.gif);
	padding-bottom: 0px;
}

nav ul li {
	border-top-color: #cccccc;
	padding-bottom: 20px;
	padding-top: 20px;
	border-top: thin solid;
	border-left-width: 0px;
	font-size: 2.5em;
	float: none;
	width: auto;
}

nav ul li:first-child {
	border-top-width: 0px;
}
	
nav li a {
	font-size: 1em;
	line-height: 1em;
}
	
article {
	position: static;
	top: 0px;
	left: 0px;
	width: 90%;
	margin-left: 5%;
	margin-right: 0px;
}

.menuItem {
	display: none;
}

.mmenu {  
	display: block;
	width: 80px;
	position: absolute;
	right: 20px;
	top: 20px;
}

.mmenu img {
	width: 80px;
}
	
#wk {
	display: none;	
}

footer {
}
	
.mainpage img {
	width: 360px;
}

}