body {
	font-family: "Open Sans", sans-serif;
	background-color: rgb(15, 15, 15);
}

a {
	text-decoration: none;
}

/* Class to disable transitions when necessary.  Useful for when we're
   performing a jQuery animation so that they don't interfere with
   each other. */
.no-transition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

#bg {
	position: fixed;
	z-index: -1;
/*	top: 0;*/
	left: 0;
	min-width: 100%;
}

#bg2 {
	position: fixed;
	z-index: -2;
/*	top: 0;*/
	left: 0;
	min-width: 100%;
}

.bgwidth {
	width: 100%;
}

.bgheight {
	height: 100%;
}

/* Our top-left and bottom-right 'bam' (as in Emeril) labels. */
#top {
	top: 2%;
	left: 2%;
}

#bottom {
	right: 2%;
	bottom: 2%;
}

#social-container {
	display: flex;
	flex-direction: row;
	justify-content: right;
	padding-top: 10px;
	padding-right: 10px;
}

#social-links {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	background: rgb(255, 255, 255, 0.9);
	border-radius: 5px;
	padding: 6px 10px 2px 10px;
}

.bam {
	behavior: url(/js/PIE/PIE.htc);
	position: fixed;
	background-color: rgb(0, 0, 0);
	opacity: 0.9;
	padding: 10px 30px 18px 30px;
	border-radius: 10px;
	font-size: 3em;
	color: rgb(255, 255, 255);

}

.bam-small {
	transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	padding: 3px 15px 7px 15px;
	font-size: 2em;
}

/* Main menu.  The entire menu is held within menu-container, which in turn
   contains a menu-title and multiple menu-items. */
#menu-container {
	transition: opacity 0.2s ease-out;
	-moz-transition: opacity 0.2s ease-out;
	-webkit-transition: opacity 0.2s ease-out;
	-o-transition: opacity 0.2s ease-out;
	opacity: 0.25;
	position: fixed;
	right: 2%;
	top: 10%;
	background-color: rgba(30, 62, 87, 1.0);
	padding: 5px 20px 15px 20px;
/*	border: 2px solid rgba(10, 21, 29, 0.8); */
	border-radius: 15px;
}

#menu-container:hover {
	transition: opacity 0.2s ease-in;
	-moz-transition: opacity 0.2s ease-in;
	-webkit-transition: opacity 0.2s ease-in;
	-o-transition: opacity 0.2s ease-in;
	opacity: 0.9;
}

#menu-title {
	color: rgb(100, 135, 185);
	text-align: center;
	font-size: 1.25em;
	font-weight: 600;
	letter-spacing: 3px;
	text-shadow: 0px 1px 1px rgb(15, 15, 15);
}

.menu-item > a > h1:hover {
	opacity: 1.0;
	text-shadow: 0 0 10px rgba(205, 205, 205, 1.0);
}

.menu-item > a > h1 {
	font-size: 1.5em;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	margin: 7px 0px 0px 0px;
}

.menu-item > a > h2 {
	font-size: 0.85em;
	font-weight: normal;
	color: rgba(145, 145, 145, 0.8);
	padding: 0px;
	margin: 0px;
}

/* The image navigation block.  The image-nav contains one image-icon per
   background image. */
 #bg-nav-container {
 	behavior: url(/js/PIE/PIE.htc);
	position: fixed;
	bottom: 2%;
	left: 2%;
	border-radius: 5px;
	font-size: 0.25em;
 }

.image-nav {
 	display: inline-block;
 	margin-right: 10px;
}

.image-nav:hover {
	cursor: pointer;
}

.image-icon {
	behavior: url(/js/PIE/PIE.htc);
	display: inline-block;
	background-color: rgb(0, 0, 0);
	width: 14px;
	height: 14px;
	margin: 4px;
}

.image-icon-hover {
	background-color: rgb(255, 255, 255);	
}

.image-current {
	background-color: rgb(255, 255, 255);	
}

#timer-canvas {
 	display: inline-block;
}

#timer-canvas:hover {
	cursor: pointer;
}

#pause-play {
 	display: inline-block;
 	visibility: hidden;
 	color: rgb(255, 255, 255);
 	background-color: rgb(0, 0, 0);
 	padding: 3px 7px 3px 7px;
 	font-size: 3em;
}

#pause-play:hover {
	cursor: pointer;
}

/* Some background images have a caption. */
#image-caption {
	behavior: url(/js/PIE/PIE.htc);
	position: fixed;
	visibility: hidden;
	font-family: "Courier";
	bottom: 2%;
	left: 50%;
	font-size: 1em;
	color: rgb(255, 255, 255);
	background-color: rgb(30, 62, 87);
	padding: 8px 20px 8px 20px;
	border-radius: 3px;
	text-align: center;
	text-shadow: 1px 1px 1px black;
}

/* The tweet-machine displays tweets related to the currently-show bg
    image.  The tweet-machine contains a tweet-enabler (which enables/
    disables the tweet-machine); and a twweet-container which in turn
    contains tweet-keywords (the keywords displayed in the tweet),
    tweet-body (the tweet itself), and tweet-meta (the username and
    date). */
#tweet-machine {
	position: fixed;
	display: block;
	font-family: "Courier";
	font-size: 1em;
	top: 2%;
	right: 2%;
	max-width: 45%;	
}

.tweet-enabler {
	float: right;
	color: rgb(255, 255, 255);
	background-color: rgba(68, 66, 77, 0.5);
	padding: 5px 10px 5px 10px;
	margin-bottom: 15px;
	font-size: .8em;
	vertical-align: top;
	border-radius: 15px;
	border: 2px solid rgba(0, 0, 0, 0);
}

.tweet-enabler:hover {
	cursor: pointer;
	border: 2px solid rgba(235, 235, 235, 0.7);
}

.tweet-enabler-on {
	color: rgb(0, 0, 0);
	background-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 0 15px rgba(255, 255, 255, 1.0);
	border: 2px solid rgba(235, 235, 235, 1.0);
}

.tweet-enabler-status {
	float: right;
	color: rgb(255, 255, 0);
}

.tweet-enabler-status-on {
	color: rgb(175, 15, 15);
}

#tweet-container {
	clear: both;
	float: right;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 8px 15px 8px 15px;
	border-radius: 10px;
	text-align: center;
	text-shadow: 1px 1px 1px black;
}

#tweet-body {
	color: rgb(255, 255, 255);
}

.tweet-highlight {
	color: rgb(255, 0, 0);
}

#tweet-keywords {
	color: rgb(195, 195, 27);
	font-size: 0.75em;
	text-align: left;
	padding-bottom: 5px;
}

#tweet-meta {
	color: rgb(195, 195, 195);
	font-size: 0.75em;
	text-align: right;
	padding-top: 5px;
}

#see-more-image-container {
	visibility: hidden;
	position: fixed;
	bottom: 15%;
	width: 100%;
	text-align: center;
}

#see-more-image {
	behavior: url(/js/PIE/PIE.htc);
	display: inline-block;
	margin: 0 auto;
	background-color: rgb(255, 255, 255);
	opacity: 0.9;
	padding: 10px 30px 18px 30px;
	font-size: 1em;
	color: rgb(0, 0, 0);
	text-align: center;
}

/* Special-cases for phones and/or small displays. */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { 
	.bam {
		font-size: 4em;
	}

	.bam-small {
		font-size: 1.75em;
	}

	#menu-container {
		opacity: 0.8;
	}

	#menu-title {
		font-size: 3em;
	}

	.menu-item > a > h1 {
		font-size: 3em;
	}

	.menu-item > a > h2 {
		font-size: 2em;
	}

	.image-nav {
		margin-right: 30px;
	}
	
	.image-icon {
		width: 40px;
		height: 40px;
		margin: 11px;
	}

	#timer-canvas {
	}
	
	#image-caption {
		display: none;
	}
	
    #tweet-machine {
		max-width: 67%;
    }

    #tweet-enabler {
    	height: 0%;
    }

    #tweet-container {
		font-size: 2em;
    }

    #tweet-meta {
    }

    .tweet-enabler {
    	display: none;
		font-size: 2em;
	} 
}
	
@media only screen and (max-width : 700px) { 
	#image-caption {
		display: none;
	}
}

#debug-display {
	position: fixed;
	left: 50%;
	top: 50%;
	background-color: black;
	color: white;
	font-size: 1em;
	padding: 5px;
}

