﻿/** 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: #666666; }

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 {
  width: 600px;
  margin: 0px 0px 30px 0px;
  padding: 15px;
  float: left;
  position: relative;
  background-color: #FFFFFF;
  color: #333333;
  font-size: 1.3em;
}
.sidebar {
  margin: 0px 0px 30px 30px;
  border-style: none;
  width: 160px;
  padding: 15px;
  float: right;
  background-color: #565656;
  position: relative;
  color: #C0C0C0;
  font-size: 1.1em;
}
#footer {
  border-style: none;
  background-color: #565656;
  margin: 0px 0px 30px 0px;
  padding: 20px;
  clear: both;
  position: relative;
  overflow: auto;
  width: 810px;
  color: #C0C0C0;
}

/** 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 #BF4B00;
	width: 160px;
	background-color: #FF6d00;
	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"], .asp #header a[href="asp.html"], .leaders #header a[href="leaders.html"], .eleuthera #header a[href="eleuthera.html"], .sundayschool #header a[href="sundayschool.html"], .calendar #header a[href="calendar.html"], .graceglory #header a[href="graceglory.html"], .photo-video #header a[href="photo-video.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: #dddddd;
	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; }

/** 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: Impact, sans-serif;
	color: #ff7700;
	padding: 0px 0px 0px 2px;
	margin: .5em 0px .2em 0px;
	font-weight: normal;
	line-height: 100%; }

h1 {
	font-size: 5.6em;
	margin: -6px 0px 0px 0px;
	font-variant: small-caps;
	color: #ffffff; }

h2 {
	font-size: 2.4em;
	letter-spacing: .06em; }

h3 {
	font-size: 1.5em;
	letter-spacing: .08em; }

.sidebar h2, .sidebar h3 {
  color: #ffffff;
  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: #dddddd;
	padding: 20px;
	margin: 0px 15px 30px 15px;
	width: 230px;
	float: left; }

.halfbox p {
	list-style-type: none;
	margin: .5em 0px .5em 0px; }

.quarterbox {
	width: 120px;
	padding: 10px;
	margin: 5px;
	float: left;
	font-size: .8em;
	list-style-type: none;
	background-color: #DDDDDD; }

.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: #dddddd;
	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; }

.cal_tan {
	color: #D2B48C;
	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; }

/** Lightens Link Color in Sidebar and Footer **/
.sidebar a, #footer a {
	color: #44aaFF; }

/** Force Line Break **/
.clearboth {
	clear: both; }

/** Fixes Spacing on H3's Adjacent to Quarter Boxes **/
.photo-video h3 {
	padding-top: 1em;
	margin: 0em; }

/** Fixes Spacing on Lists Adjacent to Headings **/
.topmargin li {
	margin-top: 1em;
	margin-bottom: 1em; }

/** Makes Bookmarked Headings Orange **/
h2 a[name], h3 a[name] {
	color: #FF7700; }

/** Keeps Bookmarks from Underlining When Hovered **/
a:hover[name] {
	text-decoration: none; }

/** CUMC Address on Homepage **/
#footer p.footeraddress {
	border-color: #7f7f7f;
	float: none;
	border-width: 1px;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom-style: solid; }


