/* HOMEPAGE CSS */
body
{
	/*background-image: url(../../archive/art/titlepage/bg/cosmos/blue22.jpg);*/
	background-image: url(../../archive/art/titlepage/bg/cosmos/rotator.php);
	background-position: center center;
	background-color: #000;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

#wrapper
{
	background-image: url(../../archive/art/titlepage/bg/stars.gif);
	background-color: Transparent;
	background-position: center top;
	background-repeat: repeat-y;
	background-attachment: fixed;
}

#logo_box
{
	margin: 0px auto 0px auto;
	padding: 0px;
	background-image: url(../../archive/art/titlepage/logos/world_prayers_logo_600.png);
	width: 600px;
	height: 300px;
	position: relative;
	z-index: 0;
}

h1
{
	color: #C90;
	font-size: 10px;
	position: fixed;
	/*bottom: 36px;*/
	bottom: 98px;
	/*top: 4px;*/
	right: 0px;
	left: 0px;
	z-index: 10000000;
	text-align: center;
}

.buttons
{
	position: absolute;
	z-index: 0;
	width: 186px;
	height: 55px;
	background-repeat: no-repeat;
}

a:link#upper_left, a:visited#upper_left
{
	top: 0px;
	left: 0px;
	background-image: url(../../archive/art/titlepage/buttons/brief_intro.png);
	background-position: left bottom;
}

a:link#upper_right, a:visited#upper_right
{
	top: 0px;
	right: 0px;
	background-image: url(../../archive/art/titlepage/buttons/peace_prayers.png);
	background-position: left bottom;
}

a:link#bottom_left, a:visited#bottom_left
{
	bottom: 0px;
	left: 0px;
	background-image: url(../../archive/art/titlepage/buttons/prayer_wheel.png);
	background-position: left bottom;
}

a:link#bottom_right, a:visited#bottom_right
{
	bottom: 0px;
	right: 0px;
	background-image: url(../../archive/art/titlepage/buttons/social_media.png);
	background-position: left bottom;
}

a:hover#upper_left, a:hover#upper_right, a:hover#bottom_left, a:hover#bottom_right,a:active#upper_left, a:active#upper_right, a:active#bottom_left, a:active#bottom_right,a:focus#upper_left, a:focus#upper_right, a:focus#bottom_left, a:focus#bottom_right { background-position: left top; }

/*the color of logo text = #E9AE30*/
/* color option 1 for "on" state of graphic titiles #FFFFB5 */
/* color option 2 for "on" state of graphic titiles #FECE0C */
.featured_link
{
	margin: 30px 0px 0px 0px;
	padding: 0px;
	text-align: center;
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 12px;
	color: #CC9933;
	font-weight: bold;
	clear: both;
}

.featured_link a
{
	margin: 0px;
	padding: 4px 4px 0px 4px;
	color: #CC9933;
	text-decoration: none;
	font-weight: bold;
	font-family: Verdana, Geneva, Arial, sans-serif;
	font-size: 11px;
	display: inline-block;
	border-bottom: 3px Transparent solid;
}

.featured_link a:hover, .featured_link a:active, .featured_link a:focus
{
	color: #CC9933;
	border-bottom: 3px #900 solid;
}

.announcement
{
	margin: 0px;
	padding: 6px;
	border: 3px #900 solid;
	display: inline-block;
	line-height: 18px;
	background-color: #000;
}

/* ************************************************** */
/* MOBILE DEVICES */
/* LARGE DESKTOP SCREENS */

@media only screen and (max-width:768px)
{
	#logo_box
	{
		background-image: url(../../archive/art/titlepage/logos/world_prayers_logo_400.png);
		width: 400px;
		height: 202px;
	}
}

/* TALL IPHONE SCREENS */

@media only screen and (max-width:580px), only screen and (max-height:480px)
{
	#top-row { border-bottom: 2px #900 solid; }
	#left-col { border-right: 2px #900 solid; }
	#right-col { border-left: 2px #900 solid; }
	#bottom-row { border-top: 2px #900 solid; }
	
	body
	{
		/*background-image: url(../../archive/art/titlepage/bg/cosmos/blue22.jpg);*/
		/*background-image: url(../../archive/art/titlepage/bg/cosmos/rotator.php);*/
		background-image: url(none);
	}
	
	#logo_box
	{
		background-image: url(../../archive/art/titlepage/logos/world_prayers_logo_200.png);
		width: 200px;
		height: 200px;
		background-repeat: no-repeat;
		background-position: center center;
	}
	
	.buttons
	{
		width: 96px;
		height: 42px;
	}
	
	a:link#upper_left, a:visited#upper_left
	{
		top: -40px;
		left: -10px;
		background-image: url(../../archive/art/titlepage/buttons/brief_intro_96.png);
	}
	
	a:link#upper_right, a:visited#upper_right
	{
		top: -40px;
		right: -10px;
		background-image: url(../../archive/art/titlepage/buttons/peace_prayers_96.png);
	}
	
	a:link#bottom_left, a:visited#bottom_left
	{
		bottom: -40px;
		left: -10px;
		background-image: url(../../archive/art/titlepage/buttons/prayer_wheel_96.png);
	}
	
	a:link#bottom_right, a:visited#bottom_right
	{
		bottom: -40px;
		right: -10px;
		background-image: url(../../archive/art/titlepage/buttons/social_media_96.png);
	}
	
	.featured_link
	{
		margin: 50px 0px 0px 0px;
		font-size: 12px;
	}
	
	.featured_link a
	{
		padding: 4px 4px 0px 4px;
		font-size: 10px;
		border-bottom: 2px Transparent solid;
	}
	
	.featured_link a:hover, .featured_link a:active, .featured_link a:focus { border-bottom: 2px #900 solid; }
	
	.announcement
	{
		margin: 0px;
		padding: 4px;
		border: 2px #900 solid;
		line-height: 14px;
	}
	
	h1 { display: none; }
}

/* SHORT IPHONE SCREENS */

@media only screen and (max-height:400px)
{
	a:link#upper_left, a:visited#upper_left { top: -22px; }
	a:link#upper_right, a:visited#upper_right { top: -22px; }
	a:link#bottom_left, a:visited#bottom_left { bottom: -12px; }
	a:link#bottom_right, a:visited#bottom_right { bottom: -12px; }
	.featured_link { display: none; }
}

/* HORIZONTAL IPHONE SCREENS */

@media only screen and (max-height:320px)
{
	a:link#upper_left, a:visited#upper_left
	{
		top: -12px;
		left: -40px;
	}
	
	a:link#upper_right, a:visited#upper_right
	{
		top: -12px;
		right: -40px;
	}
	
	a:link#bottom_left, a:visited#bottom_left
	{
		bottom: -2px;
		left: -40px;
	}
	
	a:link#bottom_right, a:visited#bottom_right
	{
		bottom: -2px;
		right: -40px;
	}
	
	.featured_link { display: none; }
}
