
* {margin: 0; padding: 0;}/*Remove margin and padding from EVERYTHING*/

body {
     background-color: black;
     
}

#wrap {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size: 90%;
	width: 772px;
	margin: 0 auto;
	position:relative;
     color: black;
     background: black url(images/otherbackground.jpg) no-repeat scroll top left;
     height: 768px;
}/*This would go in the body instead of a wrapper but... some browsers have a bug where the body changes size when scaling the window, instead of keeping the width you gave them, which makes the background un-aligned when scaling the window.*/

#home #wrap {
     background: black url(images/background.jpg) no-repeat scroll top center;
}

h1 {
	width: 346px;
	height: 105px;
     position: absolute;
     left: 10px;
     top: 19px;
	background: transparent url(images/logo.jpg) center center no-repeat;
	text-indent: -50000000px;
}

h3 {
	font-size: 120%;
	text-align: center;
}

p {
	margin: 5px;
	padding: 5px;
}

p#welcometext {
     position: absolute;
     left: 364px;
     top: 44px;
     color: #a67c52;
     font-style: italic;
     font-weight: bold;
     font-family: "Arial Narrow", Arial, sans-serif;
     font-size: 85%;
     width: 340px;
}

#mainnavigation {/*The menu div that contains the links and drop-down buttons*/
	position: absolute;
     left: 96px;
     top: 144px;
	height: 32px;
	z-index: 999;
	margin-bottom: 30px;
}

#mainnavigation a {
	text-decoration: none;
	display: block;
	color: #555;
	font-size: 105%;
	line-height: 32px;
	height: 32px;
}/*Remove underlines from the buttons*/

#mainnavigation ul a {max-width: 5000px;}

#mainnavigation li {float: left; position: relative;}/*Float all buttons (li's) to the left so the line up horizontally. Also position it relatively so that objects can be positioned absolutely inside of the buttons*/
* html #mainnavigation li {width: 1px;}/*Fix IE bug.*/

ul#mainnavigation li {/*Styling for the buttons*/
	float: left;
	height: 32px;
	border-right: none;
	list-style-type: none;
	font-size: small;
	text-align: right;
	font-family: Tahoma, sans-serif;
	font-weight: bold;
}

#home ul#mainnavigation li {float: none;margin-bottom: 20px; padding-right: 5px; width:146px;}

ul#mainnavigation li ul li {
	font-size: 80%; font-weight: normal;
}

#home ul#mainnavigation li ul li {margin-bottom: 0; padding-right: 0;}

li.dropdown {
	/*Add a downward arrow to dropdown menus*/
	/*background: transparent url(images/dropdownarrow.gif) 98% 50% no-repeat;*/
}

ul#mainnavigation li a:hover, ul#mainnavigation li:hover a {
	color: #788;
}/*The color when the link is hovered*/

ul#mainnavigation ul li, ul#mainnavigation ul li a {
	width: 197px !important;
	height:23px;
	line-height:23px;
	padding:0;
	color: #ccc !important;
}/*Settings for links in dropdown menus.*/

ul#mainnavigation ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 23px;
	left: 0; 
	margin: 9px 0 0 2px;
}/*make the dropdown menus hidden by default, so the can be visible when hovered*/

#home ul#mainnavigation ul {
      margin-left: 148px;
      margin-top: -20px;
      border-top: 1px solid black;
}

#mainnavigation a:hover, ul#mainnavigation ul a:hover{background: transparent;}/*Fix glitch in IE6*/
ul#mainnavigation :hover ul{visibility: visible;}/*Make the dropdown menu visible when the button is hovered*/

ul#mainnavigation li ul li {
	display: block;
	border: 1px solid black;
	border-top: none;
	list-style-type: none;
	text-align: center;
}/*Styling for the dropdown menu buttons*/


ul#mainnavigation li a:hover ul li a:hover, ul#mainnavigation li:hover ul li:hover a {
	background-color: #93735c;
     color: white !important;
	
}/*Hover color for the links in dropdown menus*/

ul#mainnavigation li:hover ul li a, ul li a:hover ul li a {
	background-color: #6d4c2d;
     color: #ccc !important;
/*Styling for the links inside drop-down mneu buttons. IMPORTANT, fixes IE bug.*/}

#mainnavigation table {
	position: absolute; 
	top: 0; 
	left: 0; 
	border-collapse: collapse;
}/*Required to work in IE6*/

#mainnavigation #testimony {
     position: absolute;
     top: 599px;
     left: 404px;
}

#mainnavigation #positional {
     position: absolute;
     top: 599px;
     left: 535px;
}

#home #mainnavigation #testimony, #home #mainnavigation #positional {position: static;}


#content {
	/*position: relative; /*So we can absolutely position inside it*/
}

#secondarynavigation form
{
     margin-left: 35px;
}

#secondarynavigation a {
	display: block;
	width: 155px;
	padding: 5px;
	height: auto;
	text-decoration: none;
	color: #ccc;
	font-size: 85%;
     text-align: center;
}

#secondarynavigation a:hover {
	color: #8adbff;
     text-decoration: underline;
}

#maincontent {
     position: absolute;
	left: 99px;
     top: 177px;
     width: 595px;
     height: 500px;
	padding: 5px 5px 5px 5px;
	font-size: 80%;
     overflow: auto;
     background-color: white;
     color: black;
}

#home #maincontent {
     left: 312px;
     top: 167px;
     width: 400px;
     background-color: transparent;
}

#maincontent.mini {
	left: 287px;
     top: 178px;
     width: 407px;
     height: 499px;
}

#twocolumns #maincontent {
	padding: 5px;
     left: 287px;
     top: 178px;
     width: 407px;
     height: 499px;
}

#twocolumns #secondarycontent, #secondarynavigation {
	padding: 5px;
	position: absolute;
	left: 99px;
     top: 178px;
     width: 171px;
     height: 499px;
     overflow: auto;
     color: #ccc;
     font-size: 90%;
     background-color: #42210b;
}

#twocolumns #secondarycontent .bulletless-spaced a:link {
     color: #8adbff;
     text-decoration: underline;
}

#twocolumns #secondarycontent .bulletless-spaced a:visited {
     color: #6ac0e8;
     text-decoration: underline;
}

#twocolumns #secondarycontent .bulletless-spaced a:hover, #twocolumns #secondarycontent a:active {
     color: white;
     text-decoration: none;
}

p#footer {
     position: absolute;
     left: 32px;
     top: 699px;
     color: #8adbff;
     font-style: italic;
     font-weight: bold;
     font-family: "Arial Narrow", Arial, sans-serif;
     font-size: 85%;
     width: 310px;
     padding-left: 170px;
     background: url(images/footer.jpg) no-repeat center left;
}

.frontpagead {
     display: block;
     float: left;
	width: 177px;
     height: 171px;
}

#frontpageadcaption {
	text-align: center;
	margin: 0; padding: 0;
}

h4 {
	padding-left: 10px;
	margin-bottom: -10px;
}

h4.normal {
	margin-bottom: 5px;
	margin-top: 5px;
}

.center {
	margin: 0 auto;
	text-align: center;
}

.floatleft {
	float: left;
}

.floatright {
	float: right;
}

ul.bulletless-spaced {
	list-style-type: none;
}

ul.bulletless-spaced li {
	margin-top: 20px;
}

label { /*Labels for inputs*/
	display: block;
}

.text { /*Text inputs*/
	border: 2px solid #999;
	padding: 2px;
}

fieldset {
	border: 1px dotted gray;
	padding: 20px;
	width: 80%;
	margin: 0 auto;
}

dt {
	font-weight: bold;
	margin-top: 20px;
	text-align: center;
}

dt a:link {
	color: black;
}

dt a:visited {
	color: black;
}

dt a:hover {
	color: blue;
}

h2 {
	text-align: center;
	font-size: 160%;
     margin-bottom: 15px;
}

a img {
	border: 0;
}







ul#albumnames {
	list-style-type: none;
	text-align: center;
}

ul#albumnames li {
	display: inline;
}

ol#videoannouncementslist {
	list-style-type: none;
	text-align: left;
	margin-top: 10px;
	margin-left: 235px;
}

ul#wallpaperslist {
	list-style-type: none;
}

ul#wallpaperslist li {
	display: inline;
}

ul#wallpaperslist li a img {
	border: 4px solid gray;
	margin: 10px;
}

ul#wallpaperslist li a:hover img {
	border: 4px dotted #aaa;
}

.noborderpaddingmargin {
	border: 0; padding: 0; margin: 0;
}

ol#sermonslist {
	list-style-type: none;
	clear: both;
}

ol#sermonslist li {
	padding-top: 8px;
	border-top: 1px solid gray;
	clear: both;
}

ol#sermonslist li img {
	padding-bottom: 8px;
}

ul#photothumbnails li {
	display: inline;
	list-style-type: none;
}

ul#photothumbnails li a img {
	border: 1px solid gray;
}

ul#photothumbnails li a:hover img {
	border: 1px solid black;
}

ul#upcomingeventslist {
	list-style-type: none;
	margin-bottom: 30px;
}

ul#upcomingeventslist h4 {
	text-align: center;
}

ul#upcomingeventslist li {
	text-align: center;
	margin-top: 20px;
}


dl#positionallist, dl#testimonieslist {
     margin: 10px;
}

dl#positionallist dt, dl#testimonieslist dt {
     text-align: left;
     border-top: 1px solid gray;
     padding-top: 10px;
     margin-bottom: 10px;
     padding-left: 10px;
}



/*the every-other different background color speakers list on the SIAL page*/
.everyother1, .everyother2 {
     padding: 10px;
     margin: 0 -5px 0 -5px;
     clear: both;
     text-align: justify;
}

.everyother1 {
     background-color: black;
     color: #ddd;
}

.everyother2 {
     background-color: white;
     color: black;
}

.everyother1 img {
     float: right;
     margin: 3px 0 10px 15px;
}

.everyother2 img {
     float: left;
     margin: 3px 15px 10px 0;
}

#kingdominvasionschedule table {
     width: 90%;
     margin-bottom: 18px;
}

#kingdominvasionschedule caption {
     text-align: left;
     font-weight: bold;
     margin-left: 3px;
}