/* Welcome Screen Style */

body.welcome #content {
	padding-left: 15px;	
}
body.welcome h2 {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	position: absolute;
	left: 0px;
	top: 50%;
	width: 100%;
	margin-top: 160px;
	text-align: center;
	color: #333333;	
}
body.welcome h2 a {
	color: #00A8FF;
	text-decoration: none;
}
body.welcome h2 a:hover {
	color: #46C0FF;	
	text-decoration: none;
}

/* Magiscroll Style */

body.magiscroll {
	overflow: hidden;
  	-moz-user-select: -moz-none;
  	-khtml-user-select: none;	
}
body.magiscroll #content,
body.magiscroll.searchbottomcenter #content,
body.magiscroll.searchtopright #content {
	width: 100%;
	height: 100%;
	margin: 0px;
	left: 0px;
	top: 0px;
	overflow: hidden;	
}
body.magiscroll#home #content.dynamic {
}
body.magiscroll#home #content.static {
	overflow: visible;
}
body.magiscroll#home #content.static ul {
	width: auto;	
	margin-left: 87px;
	margin-right: 87px;
}
body.magiscroll #content ul {
	position: relative;
	top: 50%;
	left: 0px;	
	width: 10000px;
	margin: -95px 100px 0px;
	z-index: 100;
}
body.magiscroll #horizon-left, 
body.magiscroll #horizon-right {
	background-image: url(../images/horizon-bg.png);
	background-repeat: no-repeat;
	width: 100px;
	height: 100%;
	position: fixed;
	z-index: 500;
}
body.magiscroll.lightsout #horizon-left, 
body.magiscroll.lightsout #horizon-right {
	background-image: url(../images/horizon-dark-bg.png);	
}
body.magiscroll #horizon-left {
	background-position: 0px center;
	left: 0px;	
}
body.magiscroll #horizon-right {
	background-position: -100px center;	
	right: 0px;
}


body.magiscroll.searchbottomcenter #content ul {
	top: 48%;
}

body.magiscroll.searchtopright #content ul {
	top: 51%;	
}


#home.bg1 {
	background-image:url(../images/idk/bg1.jpg) !important;	
}
#home.bg2 {
	background-image:url(../images/idk/bg2.jpg) !important;	
}
#home.bg3 {
	background-image:url(../images/idk/bg3.jpg) !important;	
}

/* PAGE VIEW STYLE */
body.pages {
	overflow: hidden;	
}
body.pages #content {
  	-moz-user-select: -moz-none;
  	-khtml-user-select: none;
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	top: 0px;
	left: 0px;
}
body.pages #pages {
	position: relative;
	width: 10000px;
	height: 100%;
	overflow: hidden;
	margin: 0px;
	padding: 0px;	
}
body.pages #content .page {
	float: left;
	width: 100%;
	height: 100%;
	overflow: auto;
}
body.pages #content .page.hidden {
	overflow: hidden;	
}
body.pages #content .page ul {
	position: relative;
	top: 50%;
	margin: -90px auto;	
}

/* Polgyon style */
body.polygon #content {
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	margin: 0px;
	-webkit-perspective: 800; /* For compatibility with iPhone 3.0, we leave off the units here */
	-webkit-perspective-origin: 50% 50%;
	z-index: 100;
}
body.polygon #content ul {
	position: relative;
	width: 176px;
	height: 190px;
	top: 50%;
	margin: -95px auto 0px;
	-webkit-transform-style: preserve-3d;
}
body.polygon #content ul li {
	opacity: 1;
	position: absolute;
	top: 0px;
	left: 0px;
	-webkit-transition: opacity 0.15s;
	-webkit-backface-visibility: visible;
}
body.polygon #content ul li:hover, 
body.polygon #content ul li.selected {
	opacity: 1;	
}
body.polygon #content li.hover a.link, 
body.polygon #content li.hover a.bg {
	opacity: 1;	
}
/*
body.polygon #content .icon .front {
	display: block;
    -webkit-transform: rotateY(0deg);
	-webkit-backface-visibility: hidden;
	z-index: 10;
}
body.polygon #content .icon .back {
	display: block;
	opacity: 0.75;
    -webkit-transform: rotateY(180deg);
	-webkit-backface-visibility: visible;
	z-index: 9;
}
*/

body.polygon h2 {
	display: block;
	width: 100%;
	position: absolute;
	top: 50%;
	margin-top: 100px;
	text-align: center;	
	font-size: 58px;
	color:#FFFFFF;
	text-decoration: none;
	padding: 0px;
	text-shadow: 
		1px 1px 0px #CCCCCC, 
		2px 2px 0px #BBBBBB, 
		3px 3px 3px #999999
	;
	padding: 20px 0px 30px;
	z-index: 10;
}

#arrows .arrow {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: 44px;
	height: 123px;
	background-image: url(../images/arrows-sprite.png);
	background-repeat: no-repeat;
	margin-top: -70px;
	z-index: 2000;
	 -webkit-tap-highlight-color:rgba(0,0,0,0);
}
#arrow-left {
	left: 0px;
	background-position: 0px 0px;	
}
#arrow-left.hover {
	background-position: 0px -123px;	
}
#arrow-left.down {
	background-position: 0px -246px;	
}
#arrow-left.special {
	background-position: 0px -369px;	
}

#arrow-right {
	right: 0px;
	background-position: -44px 0px;	
}
#arrow-right.hover {
	background-position: -44px -123px;	
}
#arrow-right.down {
	background-position: -44px -246px;	
}
#arrow-right.special {
	background-position: -44px -369px;	
}

#arrows.small .arrow {
	background-image: url(../images/arrows-small-sprite.png);	
	width: 33px;
	height: 92px;
	margin-top: -52px;
}
#arrows.small #arrow-left {
	background-position: 0px 0px;	
}
#arrows.small #arrow-left.hover {
	background-position: 0px -92px;	
}
#arrows.small #arrow-left.down {
	background-position: 0px -184px;	
}
#arrows.small #arrow-left.special {
	background-position: 0px -276px;	
}

#arrows.small #arrow-right {
	background-position: -33px 0px;	
}
#arrows.small #arrow-right.hover {
	background-position: -33px -92px;	
}
#arrows.small #arrow-right.down {
	background-position: -33px -184px;	
}
#arrows.small #arrow-right.special {
	background-position: 0px -276px;	
}

/*lightsout arrows*/

body.lightsout #arrow-left {
	left: 0px;
	background-position: 0px -492px;	
}
body.lightsout #arrow-left.hover {
	background-position: 0px -615px;	
}
body.lightsout #arrow-left.down {
	background-position: 0px -738px;	
}


body.lightsout #arrow-right {
	right: 0px;
	background-position: -44px -492px;	
}
body.lightsout #arrow-right.hover {
	background-position: -44px -615px;	
}
body.lightsout #arrow-right.down {
	background-position: -44px -738px;	
}
