/** Screen Style Content
--------------------------------------------------------------------------------

  Div Layout and Style
  Navigation: Header, Footer, and Second Level
  Page Links and Link Types
  Headings
  Boxes: Half, Quarter, and Scroll
  Paragraphs and Lists
  Images and Image Alignment
  Forms
  Text Colors and Styles
  Layout Tweaks

**/
/** Div Layout and Style
-------------------------------------------------------------------------------- **/
html {
	background-image: url('../images/common_images/bg_speckle.jpg');
	background-color: #808080;
}
body {
	background-position: top;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 62.5%;
	margin: 0px;
	padding: 0px;
	color: #FFFFFF;
	background-image: url('../images/common_images/bg_head.jpg');
	background-repeat: repeat-x;
}
#container {
	width: 850px;
	margin: 0px auto 0px auto;
}
#header {
	height: 180px;
	position: relative;
	margin: 0px;
	font-size: 1.2em;
}
#photobar {
	padding: 20px 0px 20px 0px;
	margin: 0px 0px 30px 0px;
	height: 60px;
}
#content {
	border: 4px solid #1570F8;
	width: 592px;
	margin: 0px 0px 30px 0px;
	padding: 15px;
	float: left;
	position: relative;
	background-color: #FFFFFF;
	color: #333333;
	font-size: 1.3em;
}
.sidebar {
	border-style: none;
	margin: 0px 0px 30px 30px;
	width: 160px;
	padding: 15px;
	float: right;
	background-color: #FFFF99;
	position: relative;
	color: #333333;
	font-size: 1.1em;
}
#footer {
	background-color: #999999;
	margin: 0px 0px 30px 0px;
	padding: 20px;
	clear: both;
	position: relative;
	overflow: auto;
	width: 810px;
	color: #333333;
}
/** Defines Rounded Corners **/
#content, .sidebar, #footer {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
/** Defines Rounded Corners **/
.nav2nd, .halfbox, .quarterbox, form {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
/** Navigation: Header, Footer, and Second Level
-------------------------------------------------------------------------------- **/
#header .nav {
	list-style-type: none;
	position: absolute;
	bottom: 0px;
	right: 0px;
	line-height: 1em;
	height: 32px;
}
#footer .nav {
	margin: 0px;
	list-style-type: none;
	float: right;
}
.nav li {
	float: left;
	margin: 0px;
	position: relative;
}
#header .nav li a {
	margin: 0px 0px 0px 12px;
	padding: 2px 2px 18px 2px;
	color: #ffffff;
	display: block;
}
#footer .nav li a {
	margin: 0px 0px 0px 8px;
	padding: 2px;
}
/** Dropdown Navigation **/
.nav li ul {
	padding: 6px 6px 0px 6px;
	border: 2px solid #1940AF;
	width: 160px;
	background-color: #2360DE;
	position: absolute;
	top: 30px;
	list-style-type: none;
	left: 10px;
	display: none;
}
/** Dropdown Navigation **/
.nav li:hover ul {
	display: block;
}
#footer .nav li ul {
	display: none;
}
/** Dropdown Navigation **/
.nav li li {
	float: none;
}
/** Dropdown Navigation **/
#header .nav li li a {
	padding: 2px;
	margin: 0px 0px 6px 0px;
}

/** Defines Notch Under Header Navigation **/
.index #header ul a[href="index.html"], .leaders #header a[href="leaders.html"], .sundayschool #header a[href="sundayschool.html"], .calendar #header a[href="calendar.html"], .photo-video #header a[href="photo-video.html"], .confirmation #header a[href="confirmation.html"] {
	background-image: url('../images/common_images/current_page.gif');
	background-repeat: no-repeat;
	background-position: center bottom;
	font-weight: bold; }

.breadcrumb {
	margin: 0px 0px 15px 0px;
}
.nav2nd {
	background-color: #FFFF99;
	list-style-type: none;
	padding: 20px;
	margin: 0px;
}
.nav2nd ul {
	margin: 0px 0px 0px 1em;
	list-style-type: none;
}
.nav2nd li {
	padding: 0px;
	margin: 0px;
}
/** Page Links and Link Types
-------------------------------------------------------------------------------- **/
a {
	color: #0066FF;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/** Word Document Icon **/
a[href$=".doc"], a[href$=".docx"] {
	padding: 0 15px 0 0;
	background: url('../images/common_images/word_icon.gif') no-repeat right center;
}
/** Excel Spreadsheet Icon **/
a[href$=".xls"], a[href$=".xlsx"] {
	padding: 0 15px 0 0;
	background: url('../images/common_images/excel_icon.gif') no-repeat right center;
}
/** New Window Icon **/
a[target="_blank"] {
	padding: 0 15px 0 0;
	background: url('../images/common_images/new_window_icon.gif') no-repeat right center;
}
/** PDF Icon **/
a[href$=".pdf"] {
	padding: 0 15px 0 0;
	background: url('../images/common_images/pdf_icon.gif') no-repeat right center;
}
/** Headings
-------------------------------------------------------------------------------- **/
h1, h2, h3 {
	font-family: "Stencil Std", Stencil, Impact, sans-serif;
	color: #669900;
	padding: 0px 0px 0px 2px;
	margin: .5em 0px .2em 0px;
	font-weight: normal;
	line-height: 100%;
}
h1 {
	font-size: 5.6em;
	margin: 5px 0px 0px 0px;
	font-variant: small-caps;
	color: #FFFFFF;
	letter-spacing: -.05em;
	text-shadow: #222 0px 1px 1px;
}
h2 {
	font-size: 2.4em;
	font-variant: small-caps;
}
h3 {
	font-size: 1.5em;
	letter-spacing: .08em;
}
.sidebar h2, .sidebar h3 {
	color: #0164F8;
	font-weight: normal;
}
.sidebar h2 {
	font-size: 1.8em;
	padding: 0px;
	margin: 0px 0px .5em 0px;
}
/** Underlined Headings in nav2nd and Boxes **/
.nav2nd h2, .halfbox h2, .halfbox h3, .quarterbox h3, .sidebar h3 {
	border-width: 1px;
	margin-bottom: .5em;
	margin-top: 0px;
	font-size: 1.5em;
	border-bottom-style: solid;
	padding-bottom: .2em;
}
/** Boxes: Half, Quarter, and Scroll
-------------------------------------------------------------------------------- **/
.box_wrap {
	overflow: auto;
	clear: both;
}
.halfbox {
	background-color: #FFFF99;
	padding: 20px;
	margin: 0px 15px 30px 15px;
	width: 225px;
	float: left;
}
.halfbox p {
	list-style-type: none;
	margin: .5em 0px .5em 0px;
}
.quarterbox {
	margin: 0px 5px 5px 5px;
	width: 120px;
	padding: 10px;
	float: left;
	font-size: .8em;
	list-style-type: none;
	background-color: #FFFF99;
}
.quarterbox li {
	margin: 0px;
	text-align: center;
}
.scrollbox {
	border-width: 1px;
	border-color: #999999;
	overflow: auto;
	height: 190px;
	padding: 10px 20px 10px 10px;
	border-top-style: solid;
	border-bottom-style: solid;
	width: 570px;
}
/** Paragraphs and Lists
-------------------------------------------------------------------------------- **/
p {
	margin: 0px 0px 2em 0px;
	line-height: 150%;
}
.sidebar p {
	margin: 1em 0px 1em 0px;
}
#footer p {
	margin: 0px;
	float: left;
}
.endnote {
	padding: 0px;
	font-size: .8em;
	margin-bottom: 0px;
}
ul, ol {
	padding: 0px;
	margin: 0px;
}
li {
	margin: -1em 0em 2em 3em;
}
/** Images and Image Alignment
-------------------------------------------------------------------------------- **/
img {
	border: none;
}
#header img {
	margin-top: 14px;
}
#photobar img {
	margin: 16px auto 0px auto;
	display: block;
}
.imgleft {
	float: left;
	margin: 0px 15px 10px 0px;
}
.imgcenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.imgright {
	margin: 0px 0px 10px 15px;
	float: right;
}
.imgbottommargin {
	margin-bottom: 15px;
}
/** Forms
-------------------------------------------------------------------------------- **/
form {
	margin: -1.5em 0px 0px 0px;
	background-color: #FFFF99;
	padding: 20px;
}
form ul {
	list-style-type: none;
	margin-left: 0px;
}
form ul li {
	margin: 0px;
	padding: 0px 0px 10px 0px;
}
label {
	display: block;
}
/** Text Colors and Styles
-------------------------------------------------------------------------------- **/
.bold {
	font-weight: bold;
}
.small {
	font-size: .8em;
}
.red {
	color: #FF0000;
}
.announcement {
	color: #FF7700;
	font-weight: bold;
	text-transform: uppercase;
}
.cal_teal {
	color: #59BFB3;
	font-weight: bold;
}
.cal_blue {
	color: #668cd9;
	font-weight: bold;
}
.cal_orange {
	color: #E6804D;
	font-weight: bold;
}
.center {
	text-align: center;
}
/** Layout Tweaks
-------------------------------------------------------------------------------- **/
/** Homepage Background **/
body.index {
	background-image:  url('../images/index/homebg.jpg');
}
/** Homepage Photobar **/
.index #photobar {
	height: 330px;
}
/** Force Line Break **/
.clearboth {
	clear: both;
}
/** Fixes Spacing on Lists Adjacent to Headings **/
.topmargin li {
	margin-top: 1em;
	margin-bottom: 1em;
}
/** Makes Bookmarked Headings Green **/
h2 a[name], h3 a[name] {
	color: #669900;
}
/** Keeps Bookmarks from Underlining When Hovered **/
a:hover[name] {
	text-decoration: none;
}
/** CUMC Address on Homepage **/
#footer p.footeraddress {
	border-color: #666666;
	float: none;
	border-width: 1px;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom-style: solid;
}

