

/* Outer wrappers */

body {
	background-color: #CCCCCC;
	border: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}

body.facebook {
	background-color: #fff;
}

body.facebook.ipad {
	-webkit-transform: scale(0.75);
	-webkit-transform-origin: 0px 0px;
	-webkit-transition: all 1s linear;
	margin-left: 20px;
}

h2 {
	color: #990000;
	font-size: 20px;
	text-align: center;
}

.wrapper {
	background-color: #CCCCCC;
	width: 100%;
	height: 100%;
}

body.facebook div.wrapper {
	background-color: #fff;
}

.page {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	width: 960px;
	background-color: transparent;
	-webkit-box-shadow: 20px 20px 40px #888888;
	-moz-box-shadow: 20px 20px 40px #888888;
	box-shadow: 20px 20px 40px #888888;
	border-radius: 30px;
}

body.facebook div.page {
	-webkit-box-shadow: 10px 20px 40px #888888;
	-moz-box-shadow: 10px 20px 40px #888888;
	box-shadow: 10px 20px 40px #888888;
}

.contentBody {
	font-size: 14px;
	padding: 20px 20px 20px 100px;
	position: static;
	width: 840px;
	height: 750px;
	background-color: white;
}

.contentBody a {
	color: #990000;
}

.contentBody a:hover {
	color: #FF3333;
}

img { border: 0;	/* IE */ }

/* Widget */

.widget {    
	position: relative;
    left: 550px;
    top: -650px;
	padding: 0;
	width: 310px;
	height: 450px;
	overflow: hidden;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.widgetFrame {
/*	z-index: 10;*/
	border: medium none;
	background-color: transparent;
	overflow: hidden; 
/*
	filter: progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand',M11=1.364, M12=0, M21=0, M22=1.364);
	-webkit-transform: scale(1.364);
	-ms-transform: scale(1.364);
	transform: scale(1.364);
	-webkit-transform-origin: 50px 50px;
	-ms-transform-origin: 0px 0px;
	transform-origin: 0px 0px 0px;
*/
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
	width: 240px;
	height: 362px;
}

.largeContent .widget {
    left: 620px;
	width: 225px;
	height: 320px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.largeContent .widgetFrame {
/*
	FILTER: progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand',M11=0.8, M12=0, M21=0, M22=0.8);
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
*/
	width: 180px;
	height: 272px;
}

/* Colors and Fonts */

.header, .footer, .button {
	background-color: #990000;
	color: #FFFFFF;
}

.header, .menubar, .footer {
	font-size: 18px;
}

/* Menubar */

.menubar {
	background-color: #880000;
	color: #FFFFFF;
}

.menubar {
	padding-top: 5px;
	height: 42px;
	width: 100%;
	text-align: center;
}

.menubar div {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 960px;
}

.menubar div img {
	vertical-align: middle;
	height: 30px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.menubar div a:hover img {
	height: 36px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* Buttons */

.button {
	float: left;
	padding: 10px;
	margin: 10px;
	border-radius: 12px;
}

.button.2line {
	height: 60px;
}

table.buttons2 {
	width: 100%;
	height: 110px;
	vertical-align: middle;
	text-align: center;
	border-spacing:0;
    border-collapse:collapse;
}

a.button2 {
	display: inline-block;
	border-radius: 12px;
	background-color: #990000;
	padding: 5px;
	margin: 0;
	width: 150px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button2 img {
	width: 150px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button2:hover, a.button2:hover img {
	width: 200px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button2lg {
	display: inline-block;
	border-radius: 12px;
	background-color: #990000;
	padding: 5px;
	margin: 0;
	width: 300px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button2lg img {
	width: 300px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button2lg:hover, a.button2lg:hover img {
	width: 400px;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.button.text {
	height: 18px;
	font-size: 18px;
	text-align: center;
	line-height: 18px;
	vertical-align: middle;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.button.text {
	display: inline-block;
	width: 140px;
}

.button.text a, a.button.text {
	text-decoration: none;
	color: #fff;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.button.text a:hover, a.button.text:hover {
	font-size: 20px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.button.text.back {
	border: 1px solid #aaa;
	color: #999;
	background-color: transparent;
	width: 140px;
}

.button.text.back a {
	color: #999;
}

.buttons {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin: 0;
	padding: 0;
	min-height: 60px; /* For some reason, this is not gaining the height of hte embedded objects, and this affects fadeout/bottomPadding */
}

a.grow-button img {
	width: 150px;	
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.grow-button:hover img {
	width: 200px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

/* Image Zoom */

#imageZoom {
	background-color: #fff;
	border: 10px solid #888;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	padding: 40px;
	z-index: -1;
/*	visibility: hidden;*/
	opacity: 0;
	filter: alpha(opacity = 0); /* IE */
	position: absolute;
	left: 200px;
	top: 200px;
	width: 0;
	height: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

#imageZoom #zoomImage {
	width: 360px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

#imageZoom.shown {
	z-index: 2;
	opacity: 1;
	filter: alpha(opacity = 100); /* IE */
	left: 0;
	top:  50px;
	width: 700px;
	height: auto;
	visibility: visible;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

#imageZoom.shown #zoomImage {
	width: 100%;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

#imageZoom #zoomClose {
	position: absolute;
	right: 0px;
	top: 0px;
}

.magnify {
	position: relative;
	width: 0;
	height: 0;
}

.magnify  div {
	position: absolute;
	left: 250px;
	top: -150px;
	width: 100px;
	height: 100px;
	opacity: 0;
	filter: alpha(opacity = 0); /* IE */
	background: url(../images/transparent/magnify.png) no-repeat;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

a:hover .magnify div {
	opacity: 0.7;
	filter: alpha(opacity = 70); /* IE */
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

/* Footer */

.footer {
	height: 40px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border-radius: 0 0 30px 30px;
}

.footer ul
{
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
	padding-top: 10px;
}

.footer ul li { display: inline-block; width: 150px; }

.footer ul li a
{
	text-decoration: none;
	padding: .2em 1em;
	color: #fff;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.footer ul li a:hover
{
/*	color: #f44;*/
	font-size: 20px;
}

/* Header */

.header {
	height: 200px;
	width: 100%;
	position: relative;
	border-radius: 30px 30px 0 0;
}

/* Header Image Animation -- Initial state */

.header img {
	opacity: 0;
	filter: alpha(opacity = 0); /* IE */
}

img.i1 {	/* Global Warming at */
	height: 64px;
	position: absolute;
	top: 30px;
	left: 220px;
	-webkit-transition: all 1s ease 1s;
	-moz-transition: all 1s ease 1s;
	-o-transition: all 1s ease 1s;
	transition: all 1s ease 1s;
}

img.i2 {	/* 4 */
	height: 128px;
	position: absolute;
	top: 80px;
	left: 200px;
	opacity: 0.2;
	filter: alpha(opacity = 20); /* IE */
	-webkit-transition: all 1.5s ease 2s;
	-moz-transition: all 1.5s ease 2s;
	-o-transition: all 1.5s ease 2s;
	transition: all 1.5s ease 2s;
}

img.i3 {	/* Hiroshima */
	height: 80px;
	position: absolute;
	top: 90px;
	left: 240px;
	-webkit-transition: all 1.5s ease 3s;
	-moz-transition: all 1.5s ease 3s;
	-o-transition: all 1.5s ease 3s;
	transition: all 1.5s ease 3s;
}

img.i4 {	/* Atomic */
	height: 80px;
	position: absolute;
	top: 60px;
	left: 310px;
	-webkit-transition: all 1.5s ease 3.5s;
	-moz-transition: all 1.5s ease 3.5s;
	-o-transition: all 1.5s ease 3.5s;
	transition: all 1.5s ease 3.5s;
}

img.i5 {	/* Bombs */
	height: 80px;
	position: absolute;
	top: 80px;
	left: 620px;
	-webkit-transition: all 1.5s ease 4s;
	-moz-transition: all 1.5s ease 4s;
	-o-transition: all 1.5s ease 4s;
	transition: all 1.5s ease 4s;
}

img.i6 {	/* per second */
	height: 64px;
	position: absolute;
	top: 140px;
	left: 600px;
	-webkit-transition: all 1.5s ease 5s;
	-moz-transition: all 1.5s ease 5s;
	-o-transition: all 1.5s ease 5s;
	transition: all 1s ease 5s;
}

/* Header Image Animation -- Final state */

.shown img {
	opacity: 1;
	filter: alpha(opacity = 100); /* IE */
}

.shown img.i1 {	/* Global Warming at */
	top: 10px;
	left: 180px;
}

.shown img.i2 {
	height: 200px;
	top: 10px;
	left: 50px;
}

.shown img.i3 {	/* Hiroshima */
	top: 70px;
	left: 200px;
}

.shown img.i4 {	/* Atomic */
	height: 80px;
	position: absolute;
	top: 70px;
	left: 510px;
}

.shown img.i5 {	/* Bombs */
	top: 70px;
	left: 720px;
}

.shown img.i6 {	/* per second */
	top: 140px;
	left: 600px;
}

/* Content */

.contentStorage {
	display: none;
	width: 600px;
}

.content {
	position: relative;
	left: 0px;
	top: 0px;
	height: 750px;
	width: 460px;
	overflow: none;
	padding-top: 10px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.largeContent .content {
	width: 600px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.contentBox {
	position: static;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: none;
}

.contentAnchor {
	position: relative;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: none;
}

.contentArea {
	width: 440px;
	height: 750px;
	padding-right: 32px;
	position: absolute;
	overflow: hidden;
}

.largeContent .contentArea {
	width: 580px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.contentArea.hidden {
	opacity: 0;
	filter: alpha(opacity = 0); /* IE */
	left: 80%;
	top: -30%;
	-webkit-transform: scale(0.2);
	-ms-transform: scale(0.2);
	transform: scale(0.2);
	overflow: hidden;
	-webkit-transition: all 1.5s ease-in-out;
	-moz-transition: all 1.5s ease-in-out;
	-o-transition: all 1.5s ease-in-out;
	transition: all 1.5s ease-in-out;
}

.contentArea.shown {
	opacity: 1.0;
	filter: alpha(opacity = 100); /* IE */
	left: 0;
	top:  0;
	-webkit-transition: all 1.5s ease-in-out;
	-moz-transition: all 1.5s ease-in-out;
	-o-transition: all 1.5s ease-in-out;
	transition: all 1.5s ease-in-out;
	overflow-x: hidden;
	overflow-y: auto;
}

.contentArea.leaving {
	opacity: 0;
	filter: alpha(opacity = 0); /* IE */
	left: -100%;
	top: 30%;
	overflow: hidden;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.contentIcon {
	height: 24px;
	vertical-align: middle; 
}

a.reference {
	font-family: "Lucida Console", Monaco, monospace; 
	color: #990000;
	vertical-align: super;
	font-size: 11px;
	text-decoration: none;
	border: 1px solid #990000;
	border-radius: 8px;
	padding: 1px 2px 0 2px;
	margin: 2px;
}

a.reference:hover {
	color: #f00;
}

ol.references li {
	padding-bottom: 10px;
}

ol.references li ul li {
	font-size: 0.9em;
	padding: 4px;
}

div.task {
	display: inline-block;
	width: 180px;
	text-align: right;
	font-weight: bold;
	padding-right: 20px;
}

.fadeout {
    position: absolute; 
    bottom: 0;
    height: 100px;
	width: 100%;
    background: -webkit-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    ); 
    background-image: -moz-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -o-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -ms-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
} 

.bottomPadding {
	height: 100px;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Social buttons */

.socialbox {
	background-color: #fff;
	text-align: right;
	width: 100%;
	height: 60px;
}

.socialbox.vertical {
	background-color: transparent;
	text-align: right;
	width: 50px;
	height: auto;
/*
	position: fixed;
	top: 400px;
*/

	position: absolute;
	top: 400px;

/*
	position: relative;
	top: -600px;
*/
/*
	position: relative;
	bottom: 600px;
*/
	padding-left: 10px;
}

.social {
	display: inline-block;
	padding-right: 0;
	padding-bottom: 0;
	vertical-align: top;
}

/*  Old way with transparent buttons that change color, but FireFox has an annoying flicker so do it the boring way

a.sharebuttonbg {
	text-decoration: none;
	color: #990000;
}

a.sharebuttonbg div {
	display: inline-block;
	background-color: #990000; 
	border-radius: 12px; 
	padding: 6px 0 0 0; 
	margin: 0 6px 6px 0; 
	text-align: center; 
	width: 48px; 
	height: 40px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;}

a.sharebuttonbg:hover div {
	padding: 4px 0 2px 0;
}

a.sharebuttonbg div div {
	background-color: #990000; 
	width: 32px; 
	height: 32px; 
	padding: 0; 
	margin: auto;
	vertical-align: middle;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

a.sharebuttonbg:hover div div {
	padding: 0;
	width: 36px;
	height: 36px;
}

a.sharebuttonbg div div img {
	padding: 0;
	background-color: #fff; 
	width: 32px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

a.sharebuttonbg:hover div div img {
	padding: 0;
	background-color: #ddd; 
	width: 36px;
}
*/

a.sharebutton div {
	display: inline-block;
	background-color: #990000; 
	border-radius: 12px; 
	padding: 0; 
	margin: 0 6px 6px 0; 
	text-align: center; 
	width: 44px; 
	height: 44px;
}

a.sharebutton img {
	width: 32px;
	padding-top: 5px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

a.sharebutton:hover img {
	width: 36px;
	padding-top: 3px;
}