/*Stuff for every page */
html {

}

body {
	margin-top: auto;
	margin-bottom: auto;
	background-color: #000000;
}

@font-face {
	font-family: "ComicStripFont";
	src: url('../fonts/KICOMIC_.ttf') format('truetype');
}

#stage {
	width: 1131px;
	height: 607px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	overflow: hidden;
}

#text {
	background-color: rgba(0,0,0,0.8);
	position: absolute;
	bottom: -24px;
	font-size: 24px;
	left: 0px;
	color: #ffbf00;
	cursor: pointer;
	border-radius: 3px;
	font-family: ComicStripFont, serif;
	padding: 5px;
	z-index: 90000;
}

#text:hover {
	background-color: rgba(0,0,0,0.7);
}

#bar-outer {
	top: 1px;
	width: 400px;
	height: 20px;
	border: 1px solid blue;
	position: relative;
	z-index: 100;
}
#bar-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 400px;
	height: 20px;
	background-color: red;
	z-index: 100;
}

.one { 
  transform: rotateZ(360deg);
  animation: three 1s infinite;
  animation-direction: alternate;
}

.hintWindow {
	position: absolute;
	width: 600px;
	height: 300px;
	color: white;
	background-color: rgba(0,0,0,0.9);
	border-radius: 3px;
	border: 1px solid blue;
	left: 246px;
	z-index: 10000000;
	padding: 30px;
	top: 100px;
	
}

.instructions {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	font-size: 20px;
}

.dismiss {
	position: absolute;
	left: 284px;
	bottom: 30px;
	border: 1px solid brown;
	padding: 20px;
	font-size: 20px;
	cursor: pointer;
	background-color: #ffbf00;
}

@keyframes three {
  0% {
    transform: rotateZ(0);
  }
  
  100% {
    transform: rotateZ(360deg);
  }
}

.invert {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

/* Page 1: Gordon's Office */
#office_letter {
	position: absolute;
	right: 350px;
	top: 200px;
	cursor: pointer;
}
	
#gordon {
	position: absolute;
	left: 200px;
	bottom: 10px;
}
/* Page 2: Wayne Manor */
#bruce {
	position: absolute;
	left: 380px;
	top: 140px;
}
	
/* Page 3: Rooftop */
#letter {
	position: absolute;
	right: 320px;
	top: 4px;
}

div#letterText {
	position: absolute;
	top: 114px;
	left: 355px;
	width: 445px;
	height: auto;
	color: #000000;
	z-index: 9999;
}
div#letterText p {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
}

.wrongLetter {
	cursor: pointer;
}
.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;           /* Non-prefixed version, currently not supported by any browser */
}

div#letterText p#questionmark {
	color: green;
	font-size: 50px;
	text-align: center;
	margin-top: 15px;
}

ul#sortableLetter {
	position: absolute;
	bottom: 50px;
	left: 450px;
	z-index: 9999;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
ul#sortableLetter li {
	float: left;
	text-transform: uppercase;
	font-size: 16px;
	background-color: #000000;
	color: #ffffff;
	width: 40px;
	height: 30px;
	padding-top: 10px;
	text-align: center;
	margin-right: 5px;
	cursor: move;
}
/* Page 4: Tavern */
#batmanTavern {
	position: absolute;
	left: 0px;
	bottom: 40px;
	z-index: 8888;
}

#wolf {
	position: absolute;
	right: 0px;
	bottom: 40px;
	z-index: 9999;
}

#wolf2 {
	position: absolute;
	left: 360px;
	top: 220px;
	z-index: 7777;
}

#rebus {
	position: absolute;
	left: 370px;
	top: 100px;
	width: 450px;
	
}

#small-rebus {
	position: absolute;
	left: 330px;
	top: 350px;
	z-index: 9000000;
}

#response{
	position: absolute;
	bottom: 110px;
	left: 505px;
}

button{
	position: absolute;
	bottom: 90px;
	left: 565px;
}
/* Page 5: ClockTower */
#batmanTower {
	position: absolute;
	left: 290px;
	bottom: 0px;
}

#riddlerTower{
	position: absolute;
	left: 585px;
	bottom: 197px;
	width: 70px;
	height: 230px;
}

#secguard {
	position: absolute;
	right: 350px;
	top: 0px;
	z-index: 1;
}

#towerrang {
	position: absolute;
	top: 350px;
	left: 370px;
}

#chair {
	position: absolute;
	top: 239px;
	left: 736px;
}

/*Page 6: Ripped Photo */
.ui-sortable#sortablePhoto {
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
	width: 720px; 
	height: 480px; 
	position: absolute;
	left: 255px;
	top: 35px;
}
	
.ui-sortable#sortablePhoto li { 
	margin: 1px 1px 1px 0;
	box-shadow: 0px 0px 2px 2px; 
	padding: 1px; 
	float: left;
	width: 213px; 
	height: 160px; 
	cursor: move;
}
/* Page 7: Catwoman Rooftop */
#batmanCh {
	position: absolute;
	right: 200px;
	bottom: 265px;
	width: 180px;
	height: 322px;
}

#catwomanCh{
	position: absolute;
	left: 380px;
	top: -300px;
	width: 75px;
	height: 274px;
}

a {
	text-decoration: none;
	display: block;
	padding-bottom: 2px;
}

a:link{
/*So that the first link on Catwoman page is of Batman text*/
	color: #7e7e7e;
}

a:hover {
	color: red;
	
}

a:visited {
/*To ensure that the first link on Catwoman page is of Batman text*/
	color: #7e7e7e;
}

/* Page 8: Outside Bloodbank */
#riddlerBank {
	position: absolute;
	width: 30px;
	top: 270px;
	left: 350px;
}
#baby1Bank {
	position: absolute;
	width: 20px;
	left: 385px;
	top: 312px;
}

#bmanBank {
	position: absolute;
	right: 0px;
	width: 90px;
	top: 100px;
}

/* Page 9: Bloodbank */
#freezer {
	position: absolute;
	bottom: 34px;
	left: 156px;
}

#keys {
	position: absolute;
	top: 293px;
	left: 531px;
	cursor: move;
	z-index: 9000;
}

#hammer-small {
	position: absolute;
	top: 382px;
	left: 742px;
	cursor: move;
	z-index: 5;
}

#closed-door {
	position: absolute;
	top: 326px;
	left: 742px;
}

#open-door {
	position: absolute;
	top: 326px;
	left: 753px;
}

#locker-lock {
	position: absolute;
	top: 363px;
	left: 738px;
	cursor: pointer;
}

#sign-fall {
	position: absolute;
	top: 287px;
	left: 491px;
	cursor: pointer;
	z-index: 1;
}

#sign-right {
	position: absolute;
	top: 282px;
	left: 492px;
	cursor: pointer;
	z-index: 2;
}

#combo {
	position: absolute;
	top: 531px;
	left: 777px;
	cursor: pointer;
}

#combo-closeup {
	position: absolute;
	width: 300px;
	height: 400px;
	top: 116px;
	left: 431px;
	cursor: pointer;
	z-index: 50;
}

#combo-response {
	position: absolute;
	bottom: 110px;
	left: 515px;
}

#lock-closeup {
	position: absolute;
	left: 519px;
	top: 204px;
	z-index: 30;
	cursor: pointer;
}
#hammer-big {
	position: absolute;
	width: 180px;
	top: 80px;
	left: 500px;
	cursor: pointer;
}

label {
	position: absolute;
	bottom: 140px;
	left: 435px;
	color: white;
	font-size: 27px;

}

/* Page 10: Freezer */
#freezerbaby {
	position: absolute;
	left: 561px;
	top: 291px;
	cursor: pointer;
}

/* Page 11: Blood Bank Explosion */
#bmanBlood {
	position: absolute;
	width: 200px;
	height: 350px;
	bottom: 30px;
	left: 280px;
	z-index: 400;
}

/* Page 12: Ping Pong */
#riddlersewer {
	position: absolute;
	top: 239px;
	left: 652px;
	width: 55px;
	height: 159px;	
}

#bmansewer {
	position: absolute;
	bottom: -10px;
	left: 140px;
}

#babysewer {
	position: absolute;
	right: 190px;
	bottom: 0px;
	width: 150px;
}

/* Page 13: Tracheotomy */
img#knife {
	position: absolute;
	z-index: 2;
	cursor: move;
	top: 283px;
}
img#trachea {
	position: absolute;
	top: 0px;
	left: 181px;
	z-index: 1;
}

/* Page 14 Broadcast Threat */
#riddler-TV {
	position: absolute;
	right: 113px;
	top: 119px;
	z-index: 12;
	width: 339px;
	height: 192px;
}

#threatVideo{
	position: absolute;
	right: 113px;
	top: 119px;
	z-index: 10;
	width: 339px;
	height: 192px;
}


/* Page 15: Shootout */
#output {
	position: absolute;
	top: 10px;
	left: 55px;
	margin: 0;
	color: white;
}

#bmanicon {
	position: absolute;
	top: 10px;
	left: 5px;
}

#player {
	position: absolute;
	bottom: 0px;
	left: 600px;
	width: 180px; 
	z-index: 10;
}

#gameTimer {
	width: 300px;
	height: 30px;
	background-color: red;
	position: absolute;
	top: 0;
	left: 0;
	
}

#gameTimerContainer {
	width: 300px;
	height: 30px;
	border: 1px solid black;
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ffbf00;
	z-index: 400;
}

#cops {
	position: absolute;
	right: 300px;
	top: 0px;
	width: 170px;
	height: 119px;
}

#rang {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 20px;
	height: 30px;
	z-index: 999999999;
}

/* Page 16: Temple Entrance */
#batmanEntrance {
	position: absolute;
	top: -150px;
	left: 573px;
	width: 80px;
	height: 147px;
}

#riddlerEntrance {
	position: absolute;
	bottom: 88px;
	right: 360px;
	width: 59px;
	height: 152px;
}

#gas {
	position: absolute;
	bottom: 108px;
	right: 395px;
	width: 99px;
	height: 122px;
}

/* Page 17: Master Plan */
#rockbed {
	position: absolute;
	bottom: 30px;
	right: 90px;
	
} 

#bmantied {
	position: absolute;
	bottom: 85px;
	right: 70px;
	width: 350px;
	
} 

#riddlermaster {
	position: absolute;
	bottom: 60px;
	left: 90px;
	width: 130px;
	
} 

#rope {
	position: absolute;
	top: 295px;
	left: 816px;
}

#catwomanTemp {
	position: absolute;
	width: 40px;
	top: 90px;
	left: 530px;
	z-index: 30;
}

#demonEntry {
	position: absolute;
	top: -600px;
	left: -300px;
	

}

/* Page 18 Demon Intro */
#bmandemonintro {
	position: absolute;
	bottom: 10px;
	right: 70px;
	width: 230px;
}

/* Page 19 Batman Escape */
ul#sortableCombo {
	position: absolute;
	bottom: 50px;
	left: 450px;
	z-index: 9999;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
ul#sortableCombo li {
	float: left;
	text-transform: uppercase;
	font-size: 16px;
	background-color: #000000;
	width: 40px;
	height: 30px;
	padding-top: 10px;
	text-align: center;
	margin-right: 5px;
	cursor: move;
}

ul#sortableCombo li#redBlock {
	background-color: red;
}
ul#sortableCombo li#greenBlock {
	background-color: green;
}
ul#sortableCombo li#blueBlock {
	background-color: blue;
}
ul#sortableCombo li#purpleBlock {
	background-color: purple;
}
ul#sortableCombo li#yellowBlock {
	background-color: yellow;
}
/* Page 20: Barbathos Fight */

#demon {
	background-image: url('../img/demon.png');
	position: absolute;
	bottom: 130px;
	width: 507px;
	height: 385px;
}

#target {
	
	position: absolute;
	top: 160px;
	left: 213px;
	width: 100px;
	height: 70px;
}

#weapon {
	position: absolute;
	bottom: 0px;
	right: 0px;
	cursor: move;
}

#lives {
	position: absolute;
	color: white;
	font-size: 30px;
	top: 10px;
	left: 90px;
}

#demonface {
	position: absolute;
	left: 10px;
	top: 10px;
}
/* Page 21: Riddler Fight */
#clickable {
	position: absolute;
	cursor: pointer;
}

#boss {
	position: absolute;
	width: 190px;
	left: 480px;
	top: 100px;
}

#backdrop {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 1131px;
	height: 607px;
}
