/* FRONTEND CSS
*********************************************/

@font-face
{
  font-family: 'a song for jennifer';
  src: url('../fonts/a song for jennifer.ttf');
  font-display: auto;
}

@font-face
{
font-family: 'OpenDyslexic';
src: url('../fonts/OpenDyslexic-Regular.otf');
font-display: auto;
}
	@font-face
	{
	font-family: 'OpenDyslexic-Italic';
	src: url('../fonts/OpenDyslexic-Italic.otf');
	font-display: auto;
	}
	@font-face
	{
	font-family: 'OpenDyslexic-Bold';
	src: url('../fonts/OpenDyslexic-Bold.otf');
	font-display: auto;
	}

html {
	/* scrollbar fix (prevent ugly left pull for lower content sites) */

}

/* MEDIA QUERIES
*********************************************/

/* Extra small devices (phones, less than 768px) */
/* No media query -> mobile first strategy */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* for higher resolutions (android and retina) */
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (max--moz-device-pixel-ratio: 1.5) {

}

body
{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.66+0,0+45 
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* FF3.6-15 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.66) 0%,rgba(0,0,0,0.4) 45%,rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 
	background: linear-gradient(to bottom,  rgba(0,0,0,0.66) 0%,rgba(0,0,0,0.4) 45%,rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	background-image: url('../images/rotbbg.jpg');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	overflow-x: hidden;
	font-family: 'Myriad Pro';
	font-size: 105%;
	color: rgb(140,200,215);
	overflow-scrolling: touch;
	max-width: 100vw;
}

h1, h2, h3, h4, h5
{
	font-family: 'Calibri';
}

a
{
	color: orange;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

a .tablinks
{
	color: rgb(140,200,215);
	text-decoration: none;
}

h1
{
	font-size: 225%;
}

h2
{
	font-size: 205%;
}

h3
{
	font-size: 180%;
}

h4
{
	font-size: 115%;
	opacity: 0.7;
}

.topvidcards
{
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}

#teaservid1 img, #teaservid2 img
{
transition: all 1s ease-in-out;
}

@media screen and (orientation:portrait) {
   /* Portrait styles here */

  .ui-select > .ui-btn span
  {
    font-size: 0;
  }

	.banner
	{
		width: 100%;
		opacity: 0.92;
		margin-top: 0px;
		position: relative;
		z-index: 999;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+55,0.66+100 */
		background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a8000000',GradientType=0 ); /* IE6-9 */

	}

	#mainbanner
	{
		width: 100vw;
		height: 100vh; /* Fallback for browsers that do not support Custom Properties */
  	height: calc(var(--vh, 1vh) * 100);
		background: url('../images/mobiletop2-min.png');
		background-size: 100% 100%;
		position: absolute;
	}
	#taishougeki
	{
		display: none;
	}

	#clockwork
	{
		width: 100%;
		height: 100vh;
	}

	#clockworkrotate img
	{
		width: 80vw;
		right: 0;
		opacity: 0.75;
	}

  #clockworkrotatepaused
	{
    -webkit-animation: none;
	  -moz-animation: none;
	  -ms-animation: none;
	  -o-animation: none;
	  animation: none;
  }

	#clockworkrotate
	{
		position: absolute;
		-webkit-animation: rotatingccw 150s linear infinite;
	  -moz-animation: rotatingccw 150s linear infinite;
	  -ms-animation: rotatingccw 150s linear infinite;
	  -o-animation: rotatingccw 150s linear infinite;
	  animation: rotatingccw 150s linear infinite;
		position: absolute;
		top: 0;
		max-width: 100%;
	}
	@-webkit-keyframes rotatingccw /* Safari and Chrome */
	{
	  from {
	    -webkit-transform: rotate(0deg);
	    -o-transform: rotate(0deg);
	    transform: rotate(0deg);
	  }
	  to {
	    -webkit-transform: rotate(-360deg);
	    -o-transform: rotate(-360deg);
	    transform: rotate(-360deg);
	  }
	}
	@keyframes rotatingccw {
	  from {
	    -ms-transform: rotate(0deg);
	    -moz-transform: rotate(0deg);
	    -webkit-transform: rotate(0deg);
	    -o-transform: rotate(0deg);
	    transform: rotate(0deg);
	  }
	  to {
	    -ms-transform: rotate(-360deg);
	    -moz-transform: rotate(-360deg);
	    -webkit-transform: rotate(-360deg);
	    -o-transform: rotate(-360deg);
	    transform: rotate(-360deg);
	  }
	}
	#teaservid1, #teaservid2
	{
		width: 100%;
		text-align: center;
		transition: all 1s ease-in-out;
	}

	#aquashorts, #aquapedia
	{
		width: 100%;
		text-align: center;
	}

	.banner .custom
	{
		float: left;

	}

	#newsyt
	{
	width: 100%;
	text-align: left;
	}

	#newstw
	{
	width: 100%;
	float: left;
	text-align: right;
	}

	.ptcard
	{
	width: 100%;
	border-radius: 5px;
	background: rgba(180,240,255, 0.5);
	padding: 10px 10px 10px 10px;
	border: 1px solid #424242;
	transition: all 1s ease-in-out;
	}

	.tabmenu
	{
			display: none;
	}

	.dropmenu.topchild
	{
		position: absolute;
		width: 60%;
		top: 5vh;
		right: 5vw;
	}

	.dropmenu select
	{
		display: inline-block;
		font-family: 'a song for jennifer', "Times New Roman";
		font-size: 150%;
			width: 100%;
			right: 5vw;
			position: absolute;
			cursor: pointer;
			padding: 10px 15px;
			outline: 0;
			border: 3px solid #000000;
			border-radius: 0px;
			background: rgba(50,50,50,0.8);
			color: rgba(200,200,200,1);
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
	}

	.dropmenu .select_arrow {
    position: absolute;
    top: 20px;
    right: calc(5vw + 15px);
    width: 0px;
    height: 0px;
    border: solid rgba(200,200,200,1);
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.dropmenu.mainchild
{
	position: relative;
	margin-top: -15px;
	width: calc(100% - 5vw);
	margin-left: 5vw;
	margin-bottom: 70px;
}


.dropmenu select:hover ~ .dropmenu .select_arrow,
.dropmenu select:focus ~ .dropmenu .select_arrow {
    border-color: #000000;
}

}
/* Landscape */
@media screen and (orientation:landscape) {



	.dropmenu
	{
		display: none;
	}


		#mainbanner
		{
			width: 100%;
			max-width: 100%;
			max-height:80%;
			margin: 0px auto;
			content: url('../images/Aqualonwebsiteheader.jpg');
			/*content: url('../images/goagearsmotifbanner.jpg');*/
		}

		#taishougeki
		{
			width: 100%;
			height: 100vh;
			background-image: url('../images/Taishougeki Symbol.png');
			background-size: auto 100%;
			background-repeat: no-repeat;
			background-position: center center;
			box-shadow: 0px 8px 11px 5px rgba(0,0,0,0.7);
			-webkit-box-shadow: 0px 8px 11px 5px rgba(0,0,0,0.7);
			-moz-box-shadow: 0px 8px 11px 5px rgba(0,0,0,0.7);
		}
		#clockwork
		{
		display: none;
		}
    #teaservid1
	{
		width: 49%;
		float: left;
		text-align: center;
		transition: all 1s ease-in-out;
	}

	#teaservid2
	{
		margin-left: 2%;
		float: right;
		width: 49%;
		text-align: center;
		transition: all 1s ease-in-out;
	}

   #aquashorts
	{
		width: 40%;
		float: left;
		margin-left: 10%;
	}

   #aquapedia
	{
		width: 40%;
		float: right;
		text-align: right;
		margin-right: 10%;
	}

	#aquapedia p
	{
		float: right;
	}

	#aquapedia:hover p
	{
		text-decoration: underline;
	}

	.banner
	{
		width: 100%;
		opacity: 0.92;
		margin-top: 0px;
		position: relative;
		z-index: 999;
		display: table;

		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+55,0.66+100 */
		background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a8000000',GradientType=0 ); /* IE6-9 */

	}


	.banner .custom
	{
		display: table-cell;
		padding-right: 15px;
	}

	#newsyt
	{
	width: 49%;
	float: left;
	text-align: left;
	}

	#newstw
	{
	width: 49%;
	float: right;
	margin-right: 0;
	text-align: right;
	}

	.ptcard
	{
	width: 29%;
	margin-left: 1%;
	border-radius: 5px;
	background: rgba(180,240,255, 0.5);
	float: left;
	padding: 10px 10px 10px 10px;
	border: 1px solid #424242;
	transition: all 1s ease-in-out;
	}

}

.ptcard:hover
{
-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

#teaservid1 img:hover, #teaservid2 img:hover
{
-webkit-box-shadow: 10px 10px 5px 0px rgba(255,255,255,0.25);
-moz-box-shadow: 10px 10px 5px 0px rgba(255,255,255,0.25);
box-shadow: 10px 10px 5px 0px rgba(255,255,255,0.25);
}

.article-info.muted
{
display: none;
}

.videobannerbg
{
background-image: url(../images/aqualoncoverconcept6asBackground.jpg);
background-size: 100% auto;
width: 100%;
height: 360px;
min-width: 640px;
text-align: center;
}
.feed
{
	width: calc(100% - 40px);
	position: relative;
	border-radius: 5px;
	padding: 20px 20px 20px 20px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+55,0.66+100 */
		background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/ep_naturalblack.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a8000000',GradientType=0 ); /* IE6-9 */
}

.tweetcontainer
{

	position: relative;
	margin: 0px auto;
	left: -50%;
}

.tweet
{
width: 27%;
height: 150px;
border: 1px solid black;
background-color: rgba(255,255,255,0.4);
float: left;
padding: 8px 8px 8px 8px;
border-radius: 4px;
    -webkit-transition: background-color 800ms linear;
    -ms-transition: background-color 800ms linear;
    transition: background-color 800ms linear;
}

.tweet:hover
{
background-color: rgba(255,255,255,0.8);
}

.tweet a
{
color: #2e4298;
}

.tweet:nth-child(n+2)
{
margin-left: 5px;
}

.tweettext
{
float: left;
border-top: 1px solid black;
max-width: 100%;
padding-bottom: 30px;
}

.footer .e-mailit_toolbox
{
	width: 100%;
	margin-top: -4px;
	margin-bottom: 4px;
}

.topmenu
{
	width: 100%;

}

.topmenu ul
{
	margin: 0px auto;
	text-align: center;
}

.topmenu li
{
	display: inline;
	text-decoration: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.topmenu li:nth-child(n+2)
{
	margin-left: 30px;
}

.topmenu li a:hover
{
	text-shadow: 4px 3px 2px rgba(0, 0, 0, 1);
}

.topmenu li a
{
	text-decoration: none;
	color: white;
	font-weight: 600;
	font-size: 18px;
}

.feed-item
{
	border-bottom: 2px solid rgba(255,124,0,0.35);
	margin-bottom: 10px;
}

.feed-item-title
{
	font-weight: 800;
	color: #ddd;
	font-size: 115%;
	border-bottom: 1px solid #999;
	padding-bottom: 2px;
	font-family: 'Calibri';
}

.sitetitle
{
	position: relative;
	z-index: 1001;
}

.under {
    clear: both;
    display: inline-block;
    width: 100%;
}

.contentarea
{
	width: 100vw;
	max-width: 100%;
}

.content
{
	width: 95vw;
	max-width: 100%;
	margin: 0px auto;
}

.leftcontainer
{
	width: 345px;
	margin-right: 25px;
	margin-top: 8px;
	float: right;
}

.blog .category-desc, .content-wrapper
{
	border: 1px solid black;
	background-image: linear-gradient( rgba(150, 220, 255, 0.41), rgba(150, 220, 255, 0.41) ), url(../images/ep_naturalblack.jpg), url(../images/ep_naturalblack.jpg);
	border-radius: 12px;
	margin-top: 8px;
	padding: 15px 5vw 15px 5vw;
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.83);
	-webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.83);
	-moz-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.83);
}

.blog .item, .blog .items-leading, .blog .items-more, .blog .pagination
{
	border: 1px solid black;
	background-image: linear-gradient( rgba(150, 220, 255, 0.41), rgba(150, 220, 255, 0.41) ), url(../images/ep_naturalblack.jpg), url(../images/ep_naturalblack.jpg);
	width: calc(100% - 280px);
	border-radius: 12px;
	margin-top: 8px;
	padding: 15px 5vw 15px 5vw;

}

.blog .items-more, .blog .pagination
{
	text-align: center;
}

.blog h2
{
	font-size: 250%;
	background: -webkit-linear-gradient(#002c69, #1E5799);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0px black;
	background-size: 100% 100%;
    color: rgba(0,0,0,0);
}

.blog .page-header
{

}


.clearfix
{
	clear:both;
}

.left
{
	width: 20vw;
	height: 20vw;
	border-radius: 12px;
	background: white;
	opacity: 0.92;
	margin: 5px auto;
	padding: 15px 15px 15px 15px;
}

.cright
{

}

.footer
{
	width: 100%;
	margin-top: 10px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	bottom: 0;
	color: white;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.66+0,0+45 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.66) 0%,rgba(0,0,0,0.4) 45%,rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.66) 0%,rgba(0,0,0,0.4) 45%,rgba(0,0,0,0.2) 100%), url(../images/spacetopography2.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	padding: 15px 0 15px 0;
	overflow: auto;
	text-align: center;
}

.footer .custom
{
	background: rgba(255,255,255,0.2);
	border-radius: 15px;
	color: white;

	width: 29vw;
	height: 29vw;
	overflow: scroll-y;
	margin-left: 1vw;
	float: left;
}

.footer .firstbot
{
	margin-left: 4vw;
}

.footer .custom a
{

}

.bannertype1:hover
{
  -webkit-animation: hover 0.7s 2;
  -moz-animation: hover 0.7s 2;
  -o-animation: hover 0.7s 2;
  animation: hover 0.7s 2;
}

/* IN Joomla stuff */
.clearfix
{
	clear: both;
	overflow: auto;
}

.cols-2 .column-1
{
	float: left;
	width: 46%;
}

.cols-2 .column-2
{
	float: right;
	width: 46%;
}

.pagination ul li
{
	display: inline;
}



#bothelp {
  margin: 0;
  opacity: 0.7;
  border: 2px solid #fff;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  position: absolute;
  right: 5%;
  bottom: 5%;
  cursor: pointer;
  width: 5vw;
  height: 5vw;
  margin-left: -50px;
  background: url(../images/questionmark.png);
	background-size: 100% 100%;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#bothelp:hover {
  opacity: 1;
  background: transparent;
}

#bothelpparent {
  display: block;
  opacity: 0;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  line-height: 0;
  font-size: 0;
  color: transparent;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
}

#bothelpparent:hover:before, #bothelpparent:hover:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url("https://jamesmuspratt.com/codepen/img/arrow-down.svg") no-repeat center top;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
}
#bothelpparent:hover:before {
  -webkit-animation: pulse 1.5s 0.25s infinite normal ease forwards;
  -moz-animation: pulse 1.5s 0.25s infinite normal ease forwards;
  -o-animation: pulse 1.5s 0.25s infinite normal ease forwards;
  animation: pulse 1.5s 0.25s infinite normal ease forwards;
}
#bothelpparent:hover:after {
  -webkit-animation: pulse 1.5s 0.5s infinite normal ease forwards;
  -moz-animation: pulse 1.5s 0.5s infinite normal ease forwards;
  -o-animation: pulse 1.5s 0.5s infinite normal ease forwards;
  animation: pulse 1.5s 0.5s infinite normal ease forwards;
}
#bothelpparent:hover {
    -moz-background-size: 0 auto;
  -o-background-size: 0 auto;
  -webkit-background-size: 0 auto;
  background-size: 0 auto;
  -webkit-animation: pulse 1.5s 0s infinite normal ease forwards;
  -moz-animation: pulse 1.5s 0s infinite normal ease forwards;
  -o-animation: pulse 1.5s 0s infinite normal ease forwards;
  animation: pulse 1.5s 0s infinite normal ease forwards;
  background-image: url("https://jamesmuspratt.com/codepen/img/arrow-down.svg");
  background-repeat: no-repeat;
}


@keyframes hover {
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-6px);
  }
}

@-webkit-keyframes pulse {
  0% {
    opacity: 0;
    background-position: center top;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
  10% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    -moz-background-size: 75% auto;
    -o-background-size: 75% auto;
    -webkit-background-size: 75% auto;
    background-size: 75% auto;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position: center bottom;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
}
@-moz-keyframes pulse {
  0% {
    opacity: 0;
    background-position: center top;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
  10% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    -moz-background-size: 75% auto;
    -o-background-size: 75% auto;
    -webkit-background-size: 75% auto;
    background-size: 75% auto;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position: center bottom;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
}
@-ms-keyframes pulse {
  0% {
    opacity: 0;
    background-position: center top;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
  10% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    -moz-background-size: 75% auto;
    -o-background-size: 75% auto;
    -webkit-background-size: 75% auto;
    background-size: 75% auto;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position: center bottom;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
}
@keyframes pulse {
  0% {
    opacity: 0;
    background-position: center top;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
  10% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    -moz-background-size: 75% auto;
    -o-background-size: 75% auto;
    -webkit-background-size: 75% auto;
    background-size: 75% auto;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position: center bottom;
    -moz-background-size: 0 auto;
    -o-background-size: 0 auto;
    -webkit-background-size: 0 auto;
    background-size: 0 auto;
  }
}

.feed .vidthumb
{
	position: relative;
}

.ytcard + .ytcard
{
	margin-top: 5px;
}


/* Style the tab */
.tab {
 overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab button {
 background-color: rgba(0,0,0,0.2);
 border: none;
 outline: none;
 cursor: pointer;
 display: inline;
 padding: 14px 16px;
 transition: 0.3s;
 font-size: 140%;
}

/* Change background color of buttons on hover */
.tab button:hover {
 background-color: #000;
}

/* Create an active/current tablink class */
.tab button.active {
 background-color: #020202;
}

/* Style the tab content */
.tabcontent {
 display: none;
 border-top: none;
}

.tabcontent {
 animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.titlebox {
	margin-top: 5px;
	background-color: rgba(0,0,0,0.2);
	padding: 1px;
	border-radius: 15px 0 15px 0;
	font-size: 90%;
}

.tab.tabmenu
{
	text-align: center;
}
.tab.tabmenu > a, .tab.tabmenu > button
{
	margin-top: 2px;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
 from {opacity: 0;}
 to {opacity: 1;}
}

.videoWrapper {
 position: relative;
 padding-bottom: 56.25%; /* 16:9 */
 padding-top: 25px;
 height: 0;
}
.videoWrapper iframe {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

@media screen and (orientation:landscape)
{
 .left50
 {
	 width: 50%;
 float: left;
 }

 .right50
 {
	 width: 50%;
 float: left;
 }

 .articleblockrow
 {
	 transition: all 0.8s ease;
 }
 .articleblockimg
 {
	 padding: 2px 2px 2px 2px;
	 transition: all 0.8s ease;
	 display: inline-block;
	 width: calc(33.333% - 4px);
	 cursor: zoom-in;
 }

 .articleblockrow.col2 .articleblockimg {
	width: calc(50% - 20px);
 }

 .articleblockimg img
 {
	 width: 100%;
	 height: auto;
	 transition: all 0.8s ease;
 }

 	.ytrow .block30
   {
		 width: 30%;
		 margin-left: 3%;
		 float: left;
	 }
	 .ytrow .block30:first-child
   {
		 margin-left: 2%;
	 }
}

@media screen and (orientation:portrait)
{
 .left50
 {
	 width: 90%;
 }

 .right50
 {
	 width: 90%;
 }
 .articleblockimg
 {
	 max-width: 100%;
	 display: inline;
 }
 .articleblockimg img
 {
	 max-width: 100%;
	 height: auto;
 }
 .block30
	{
		width: 90%;
		margin-left: 5%;
	}
}

.explorelinks .tagcloud a
{
	 /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4096ee+0,4096ee+100&0.5+0,0.5+100;Blue+Flat+%232 */
	 background: -moz-linear-gradient(top,  rgba(64,150,238,0.7) 0%, rgba(64,150,238,0.7) 100%); /* FF3.6-15 */
	 background: -webkit-linear-gradient(top,  rgba(64,150,238,0.7) 0%,rgba(64,150,238,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
	 background: linear-gradient(to bottom,  rgba(64,150,238,0.7) 0%,rgba(64,150,238,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#804096ee', endColorstr='#804096ee',GradientType=0 ); /* IE6-9 */

		 -webkit-border-radius: 7;
		 -moz-border-radius: 7;
		 border-radius: 7px;
		 font-family: Eagle Lake;
		 color: black;
		 padding: 10px 20px 10px 20px;
		 text-decoration: none;
		 text-shadow: 0 0 0;
		 border: 1px solid rgba(0,0,0,0.5);
		 display: inline-block;
		 font-weight: bold;

	 }

	 @media screen and (orientation:portrait)
	 {
		 .explorelinks .tagcloud a
		 {
			 font-size: 100%;
		 }
		 #synopsis
		 {
			font-size: 115%;
		 }
	 }
	 @media screen and (orientation:landscape)
		{
			.explorelinks .tagcloud a
			{
				font-size: 125%;
			}
			#synopsis
 		 {
 			font-size: 140%;
 		 }
		}

	 .explorelinks .tagcloud a:hover
	 {
	 /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4096ee+0,4096ee+100;Blue+Flat+%232 */
	 background: rgb(64,150,238); /* Old browsers */
	 background: -moz-linear-gradient(top,  rgba(64,150,238,1) 0%, rgba(64,150,238,1) 100%); /* FF3.6-15 */
	 background: -webkit-linear-gradient(top,  rgba(64,150,238,1) 0%,rgba(64,150,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
	 background: linear-gradient(to bottom,  rgba(64,150,238,1) 0%,rgba(64,150,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4096ee', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */
	 color: black;
	 text-decoration: none;
}

hr
{
border-color: rgb(140,200,215);
border-style: solid;
color: rgb(140,200,215);
}

#synopsis b
{
 color: rgb(205, 87, 0);
}

div[itemprop="articleBody"] > p:first-child
{
height: 0;
margin: 0 0 0 0;
}

.activebar-container
{
	background-color: rgba(0,0,0,0.3) !important;
	border: 0 0 0 0 !important;
	color: rgb(140,200,215) !important;
	font-size: 160%;
	padding: 30px 30px 30px 30px !important;
}

.activebar-container p
{
 max-width: calc(100% - 60px);
}

.activebar-container ul.links
{
	width: 100%;
	  clear: both !important;
}

.activebar-container .decline
{
	background: #d97934;
 background-image: -webkit-linear-gradient(top, #d97934, #ff8000);
 background-image: -moz-linear-gradient(top, #d97934, #ff8000);
 background-image: -ms-linear-gradient(top, #d97934, #ff8000);
 background-image: -o-linear-gradient(top, #d97934, #ff8000);
 background-image: linear-gradient(to bottom, #d97934, #ff8000);
 -webkit-border-radius: 9;
 -moz-border-radius: 9;
 border-radius: 9px;
 font-family: Arial;
 color: #820e0e;
 font-size: 90%;
 padding: 10px 20px 10px 20px;
 text-decoration: none;
float: none;
 clear: both;
 bottom: 10px;
}

.activebar-container .decline:hover
{
	background: #fc3c3c;
  background-image: -webkit-linear-gradient(top, #fc3c3c, #de5721);
  background-image: -moz-linear-gradient(top, #fc3c3c, #de5721);
  background-image: -ms-linear-gradient(top, #fc3c3c, #de5721);
  background-image: -o-linear-gradient(top, #fc3c3c, #de5721);
  background-image: linear-gradient(to bottom, #fc3c3c, #de5721);
  text-decoration: none;
}

.activebar-container .accept
{
	background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 9;
  -moz-border-radius: 9;
  border-radius: 9px;
  font-family: Arial;
  color: #ffffff;
  font-size: 90%;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  clear: both;
	float: none;
 bottom: 10px;
}

.activebar-container .accept:hover
{
background: #3cb0fd;
background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
text-decoration: none;
}

.cover-article
{
min-height: 150px;
position: relative;
}

.article-panel
{
border: 1px solid rgba(0,0,0,0.8);
box-shadow: 10px 10px 3px -6px rgba(0,0,0,0.41);
transition: box-shadow 0.4s ease-in;
color: black;
}

.article-panel:hover, .article-panel:hover a 
{
	text-decoration: none;
	box-shadow: 15px 15px 3px -6px rgba(0,0,0,0.61);
}

.artrandomtime
{
	width: 100%; border-radius: 0 0 0 0; 
	color: black; 
	background-size: 100% auto; 
	background-position: center center; 
	border-top: 1px ridge black;
}

.artrandomtime:hover .randicon
{
	-webkit-animation: rotatingccw 10s linear infinite;
	  -moz-animation: rotatingccw 10s linear infinite;
	  -ms-animation: rotatingccw 10s linear infinite;
	  -o-animation: rotatingccw 10s linear infinite;
	  animation: rotatingccw 10s linear infinite;
}

.artrandomtime:hover
{
text-decoration: underline;
}

.librarian {
	width: calc(95vw - 1px);
	margin-left: -5vw !important;
	display: none;
}

.api-loaded-article
{
	margin-top: 10px;
	padding: 30px 30px 30px 30px;
}

.librarian .img-responsive
{
	margin: 0 auto;
}

.librarian .map-included.leaflet-container 
{
	height: 90vh !important; 
}

@media screen and (orientation:landscape) {
	.exploreleft 
	{
		width: calc(60% - 45px); 
		margin-top: 5px;  
		float: left;
	}
	.wmthumb
	{
		width: calc(40% - 45px);
		margin-top: 5px;
		float: right;
	}
}
@media screen and (orientation:portrait) {
	.exploreleft 
	{ 
		margin-top: 5px;  
	}
	.wmthumb
	{
		margin-top: 5px;
	}
}

.downround
{
	border-radius: 15px 15px 0 0;
}

.upround
{
	border-radius: 0 0 15px 15px;
}

.library
{
	width: 100%;
}

@media screen and (orientation:landscape) {

	.library .article-panel
	{
		margin-top: 5px;
		width: calc(33% - 4px);
		height: 320px;
		float: left;
	}
	.library .article-panel:nth-child(2n+0)
	{	
		margin-left: 6px;
	}
	.library .article-panel:nth-child(2n+1)
	{
		margin-left: 6px;
	}
}
@media screen and (orientation:portrait) {
	.library .article-panel
	{
		margin-top: 5px;
		width: 100%;
	}
}

@keyframes pulsefont {
	from {font-size: 80%;}
	to {font-size: 145%;}
  }

.searchicon:hover {
	animation: pulsefont 3s ease-in-out infinite;
}

@media screen and (orientation:landscape) {

	.artcatalog
		{
			top: 0;
			margin-top: 5px;
			width: calc(33% - 17px);
			vertical-align: top;
			display: inline-block;
		}
	.artcatalog:nth-child(2n+0)
	{	
		margin-left: 6px;
	}
	.artcatalog:nth-child(2n+1)
	{
		margin-left: 6px;
	}
}
@media screen and (orientation:portrait) {
	.artcatalog
	{
		margin-top: 5px;
		width: 100%;
	}
}

.actpage
{
	cursor: pointer;
	background:linear-gradient(#f0c911, #f2ab1e) !important;
}

.actpage:hover 
{
  	background: linear-gradient(#f2ab1e, #f0c911) !important;
}

.commentary
{
	margin: 20px auto;
	width: 40%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.66) 100%), url(../images/audiowave.png) no-repeat, url(../images/ep_naturalblack.jpg) top left repeat; /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/audiowave.png) no-repeat, url(../images/ep_naturalblack.jpg) top left repeat; /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.66) 100%), url(../images/audiowave.png) no-repeat, url(../images/ep_naturalblack.jpg) top left repeat; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a8000000',GradientType=0 ); /* IE6-9 */
	border-radius: 5px 5px 5px 5px;
	background-size: default, cover, default;
	background-position: top left, bottom left, top left;
	position: relative;
	text-align: center;
	padding: 20px 20px 20px 20px;
}

.librarian .commentary a
{
	text-shadow: 0 0 0;
}

.librarian .commentary a:hover
{
	color: orange;
}

.librarian .commentary .link
{
	color: orange;
	font-weight: bold;
}

.librarian .commentary .ac_title
{
	font-size: 125%;
	font-weight: bold;
	stroke: 0;
	color: orange;
}

.librarian .commentary img
{
	position: absolute;
	bottom: -50px;
	right: -50px;
	max-width: 105px;
}

.commentarysticker
{
	max-width: 30%;
	max-height: calc(100% + 5px);
	position: absolute;
	bottom: 0;
	right: -5px;
}

.secretsticker
{
	max-width: 30%;
	max-height: calc(100% + 5px);
	position: absolute;
	bottom: 0;
	left: -5px;
}

.articlesecrets
{
	max-width: 90%;
	margin: 0 auto;
}

.articlesecrets a
{
	cursor: pointer;
}

.discordtop
{
	max-height:50px; 
	border-radius: 5px 5px 0 0; 
	position:absolute; 
	bottom:0;
	margin-left: 5px;
}

@keyframes grow {
	0% {
		max-height: 50px;
	}
	100% {
		max-height: 60px;
	}
}

@keyframes grow2 {
	0% {
		max-height: 150px;
	}
	50% {
		max-height: 200px;
	}
	100% {
		max-height: 150px;
	}
}

.patreonbanner:hover
{
	animation: grow2 3s linear infinite;
}

.discordtop:hover, .discordtop:hover img
{
	animation: grow 2s linear;
}

.artcatalogwrapper, .articleblockrow tr
{
	text-align: center;
}

.librarian .secretlock button
{
	background:linear-gradient(to bottom, rgba(64,150,238,0.5) 0%,rgba(64,150,238,0.5) 100%); 
	border-top: 1px solid black; 
	border-bottom: 1px solid black; 
	border-right: 1px solid black; 		
	border-left: 0; 
	box-shadow: 0 0; 
	padding: 2px 3px 3px 3px;

}

.librarian .secretlock input
{
	border-top: 1px solid black; 
	border-bottom: 1px solid black; 
	border-right: 0; 		
	border-left: 1px solid black; 		
	padding: 2px 3px 3px 3px;
	color: black;
}

.librarian .secretlock button:hover
{
	box-shadow: 2px 2px 2px black;
}

.librarian .secretlock a:hover, .librarian .secretlock a:focus
{
	color: gold;
}