/*----CSS Reset----*/
*{margin:0;padding:0}iframe,a img,fieldset,form,table{border:0}h6,h5,h4,h3,h2,h1,caption,th,td{font-size:100%;font-weight:normal}dd,dt,dl,ol,ul{list-style:none}legend{color:#000}button,select,textarea,input{font-size:100%}table{border-collapse:collapse}caption,th,td{text-align:left}
/*----End CSS Reset----*/
/*---------------------------------------------------------------------*/
/*----Elements----*/
#sermon-detail {padding-left:10px; float:left; width:35%}
#middle .c1 #sermon-detail h4, #middle .c1 #audio-detail h4 {margin-bottom:.2em;}
#middle .c1 #sermon-detail h4 p, #middle .c1 #audio-detail h4 p{font-size:1em; margin-bottom:0px; line-height:normal}
#sermon-detail small, #audio-detail small {color:#888888; font-size:1.2em; font-style:italic; line-height:1.8em;}
.video {float:left;}
#audio-detail {border-bottom:1px solid #DDDDDD; margin-bottom:12px; padding-bottom:20px; width:100%;}
#audio {margin-bottom:12px}
.video-entry {border-bottom:1px solid #DDDDDD; margin-bottom:12px; padding-bottom:20px;}

body {
  background: #fff url(http://www.st-andrew-umc.com/images/site/background-top.gif) left top repeat-x;
  font: normal 62.5% FreeSerif, Cambria, "Times New Roman", Times, serif;
  color: #353535;
  text-align: center;
}


a {
  text-decoration: none;
  outline: none;
  color: #3ab4ef;
}

a:hover {
  text-decoration: underline;
}
/*----End Elements----*/
/*---------------------------------------------------------------------*/
/*----Framework----*/

.clear {
  clear: both;
  height: 1px;
  line-height: 1px;
  font-size: 1px;
}

.noshow {
  display: none;
}


body#home {
  background: #fff url(http://www.st-andrew-umc.com/images/site/background-top-home.gif) left top repeat-x;
}


#bottom {
  background: url(http://www.st-andrew-umc.com/images/site/background-bottom.gif) left bottom repeat-x;
}


#container {
  width: 1024px;
  margin: 0 auto;
  text-align: left;
  background: url(http://www.st-andrew-umc.com/images/site/container-background.gif) left top repeat-y;
}

#containertop {
  background: url(http://www.st-andrew-umc.com/images/site/container-top.gif) left top no-repeat;
}

#containerbottom {
  background: url(http://www.st-andrew-umc.com/images/site/container-bottom.gif) left bottom no-repeat;
  padding: 0 9px 0 8px;
}

#home #containertop {
  background: url(http://www.st-andrew-umc.com/images/site/container-top-home.gif) left top no-repeat;
}


/*----End Framework----*/
/*---------------------------------------------------------------------*/
/*----Header----*/

#header {
  height: 144px;
  padding: 0 15px;
}

#topnav {
  float: right;
}

#topnav li {
  float: left;
  background: url(http://www.st-andrew-umc.com/images/site/topnav-divider.gif) right top no-repeat;
}

#topnav li.last {
  background: none;
}

#topnav li a {
  display: block;
  float: left;
  line-height: 41px;
  padding: 0 17px 0 15px;
  font-size: 1.3em;
  font-weight: bold;
  color: #3c9692;
}

#topnav li.last a {
  padding: 0 0 0 15px;
}

#search {
  float: right;
  clear: right;
  padding-top: 14px;
}

#search label {
  float: left;
  font-size: 1.8em;
  color: #0079b3;
  padding-right: 5px;
}

#search input#keywords {
  height: 14px;
  float: left;
  padding: 3px 5px;
  border: 1px solid #cbcbcb;
  background: fff;
  width: 204px;
  margin-right: 5px;
}

#logo {
  margin-right: 520px;
}


#logo img {
  display: block;
}


/*----End Header----*/
/*---------------------------------------------------------------------*/
/*----Nav----*/
#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
z-index:100;
}
#nav li ul {
	position: absolute;
	background: #0668A6;
	margin-top: 46px;
	left: -999em;
	border-top:1px solid #035689;
	border-left:1px solid #035689;
	border-right:1px solid #035689;
	border-bottom:1px solid #0678C1;
    width: 200px;

}
#nav li:hover ul {
	left: auto;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: 0px;


}
#nav li ul li a{
	text-indent: 0px;
}
#nav li.ministries ul li a {
  background-image: none;
  padding: 5px 10px;
  height:auto;
  color: #fff;
  font-size: 12px;
  border-top: 1px #0678C1 solid;
  border-bottom: 1px #035689 solid;
  width: 180px;
}
#nav li.library ul li a {
  background-image: none;
  padding: 5px 10px;
  height:auto;
  color: #fff;
  font-size: 12px;
  border-top: 1px #0678C1 solid;
  border-bottom: 1px #035689 solid;
  width: 180px;
}
#nav li.about ul li a, #nav li.calendar ul li a {
  background-image: none;
  padding: 5px 10px;
  height:auto;
  color: #fff;
  font-size: 12px;
  border-top: 1px #0678C1 solid;
  border-bottom: 1px #035689 solid;
  width: 180px;
}



#nav {
  height: 46px;
  clear: both;
}

#nav li {
  float: left;
position:relative;
z-index:100;
}

#nav ul li {
  float: none;
position:static; 
}

#nav li a {
  display: block;
  float: left;
  background-position: left top;
  background-repeat: no-repeat;
  text-indent: -9999px;
  height: 46px;
}

#nav li a:hover {
  background-position: left bottom;
}

#nav li.home a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-home.gif);
  width: 85px;
}

#nav li.about a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-about.gif);
  width: 105px;
}

#nav li.library a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-library.gif);
  width: 93px;
}

#nav li.ministries a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-ministries.gif);
  width: 114px;
}

#nav li.classes a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-classes.gif);
  width: 138px;
}

#nav li.newsletters a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-newsletters.gif);
  width: 138px;
}

#nav li.pray a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-pray.gif);
  width: 70px;
}

#nav li.give a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-give.gif);
  width: 67px;
}

#nav li.serve a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-serve.gif);
  width: 77px;
}

#nav li.calendar a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-calendar.gif);
  width: 105px;
}

#nav li.preschool a {
  background-image: url(http://www.st-andrew-umc.com/images/site/nav-preschool.gif);
  width: 123px;
}


/*----End Nav----*/
/*---------------------------------------------------------------------*/
/*----Home Middle----*/

#hometest {
  padding: 15px;
}

#hometest .c1 {
  width: 207px;
  float: left;
  margin-right: 9px;
}

#hometest .c1 a {
  display: block;
  width: 207px;
  height: 82px;
  margin-bottom: 11px;
}
#hometest .c2 {
  width: 534px;
  height: 268px;
  background: #fff;
  float: left;
  margin-right: 9px;
}

#hometest .c3 {
  width: 207px;
  height: 268px;
  background: #ccc;
  float: left;
}

#homemiddle {
  padding: 15px;
}

#homemiddle .c1 {
  width: 207px;
  float: left;
  margin-right: 10px;
  padding-top: 3px;
}

#homemiddle .c2 {
  width: 534px;
  float: left;
  margin-right: 8px;
}

#homemiddle .c3 {
  width: 207px;
  float: left;
  padding-top: 3px;
}

#homemiddle .box, #middle .box {
  border: 1px solid #a4a5a7;
  padding: 1px;
  background: #f9fafc;
  margin-bottom: 15px;
}

#middle .box {
  margin: 15px 0;
}

#homemiddle .newsletter h2, #middle .newsletter h2 {
  background: #3c9692;
  font-size: 1.8em;
  color: #fff;
  padding: 0 5px;
  line-height: 34px;
  font-weight: bold;
}

#homemiddle .newsletter form, #middle .newsletter form {
  padding: 10px 5px 5px;
}

#homemiddle .newsletter label, #middle .newsletter label {
  font-weight: bold;
  color: #353535;
  font-size: 1.3em;
  padding-right: 5px;
  line-height: 21px;
  float: left;
}

#homemiddle .newsletter input.textbox, #middle .newsletter input.textbox {
  border: 1px solid #dbdbdb;
  background: #fff;
  padding: 2px;
  width: 140px;
  margin-bottom: 5px;
}

#homemiddle .newsletter input.submit, #middle .newsletter input.submit {
  margin-left: 68px;
  width: 54px;
}

#homemiddle .newsletter a, #middle .newsletter a {
  color: #6030af;
  font-family: FreeSans, Helvetica, Arial, sans-serif;
  display: block;
  padding: 9px 0 0;
  float: right;
}

#homemiddle #homepage-flash {
  width: 515px;
  height: 245px;
  background: url(http://www.st-andrew-umc.com/images/site/home-block-background.gif) left top no-repeat;
  padding: 13px 15px 15px 13px;
}

#homemiddle .event-banner {
  background: #f9fafc;
  border: 3px solid #d6e8f2;
  text-align: center;
  margin-bottom: 10px;
}

#homemiddle .pastor {
  margin-bottom: 10px;
  width: 203px;
  height: 160px;
  overflow: hidden;
}

#homemiddle .pastor img {
  display: block;
  float: left;
  width: 100px;
}

#homemiddle .pastor div.slide {
  padding: 1px;
  background: #f9fafc;
}

#homemiddle .pastor div.details {
  float: left;
  padding: 3px;
  height: 154px;
  background: transparent;
  width: 97px;
}

#homemiddle .pastor div dl {
  font-size: 1.2em;
  color: #292929;
}

#homemiddle .pastor div dt {
  font-weight: bold;
}

#homemiddle .pastor div dt span {
  display: block;
  color: #2e7eb3;
}

#homemiddle .pastor div p {
  font-size: 1.1em;
  color: #6334b0;
}

#homemiddle .pastor div p a {
  color: #3c9692;
}

#homemiddle .ministries {
  background: url(http://www.st-andrew-umc.com/images/site/ministries-border.gif) left top repeat-x;
  padding-top: 14px;
}

#homemiddle .ministries h2 {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 5px;
}

#homemiddle .ministries select {
  width: 100%;
  padding: 2px 0;
}


/*----End Home Middle----*/
/*---------------------------------------------------------------------*/
/*----Middle----*/

#middle {
  padding: 13px 8px;
}

#middle .block {
  width: 325px;
  float: left;
  background: url(http://www.st-andrew-umc.com/images/site/middle-block-background.gif) left top repeat-y;
  margin-left: 4px;
}

#middle .block .top {
  background: url(http://www.st-andrew-umc.com/images/site/middle-block-top.gif) left top no-repeat;
}

#middle .block .bottom {
   background: url(http://www.st-andrew-umc.com/images/site/middle-block-bottom.gif) left bottom no-repeat;
   padding: 4px 6px 7px 5px;
  position: relative;
  height: 280px;
}

#middle .block h2 {
  font-size: 2em;
  color: #fff;
  line-height: 47px;
  font-weight: bold;
  padding-left: 55px;
}

#middle .block .icon {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 69px;
  height: 71px;
}

#middle .block h3 {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  color: #0079b3;
}

#middle .block dl {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
}

#middle .block dt {
  font-size: 1.1em;
  font-weight: bold;
}

#middle .block dt a, #middle .block dd a {
  color: #000;
}


#middle .block dd {
  font-size: 1.1em;
  border-bottom: 1px solid #e6def3;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

#middle .block dd.last {
  border-bottom: 0 none;
  padding-bottom: 0;
}

#middle .block dd span {
  color: #429895;
  font-weight: bold;
}

#middle .block .bottom div {
  padding: 11px;
}

#middle .block p {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
  text-align: right;
  font-size: 1.1em;
}

#middle .block dd p {
  text-align: left;
  font-size: 1em;
}

#middle .block p a {
  font-weight: bold;
  color: #fca511;
}


/*----End Middle----*/
/*---------------------------------------------------------------------*/
/*----Footer----*/

#footer {
  height: 132px;
  padding: 6px 3px;
}

#footertop {
  padding: 19px 0;
}


#footerlinks {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
}

#footerlinks ul li {
  float: left;
  border-right: 1px solid #a6a6a6;
  padding: 0 18px;
}

#footerlinks ul li.first {
  border-left: 0 none;
}

#footerlinks ul li.last {
  border-right: 0 none;
}

#footerlinks li {
  font-size: 1.3em;
  color: #000;
}

#footerlinks li a {
  color: #3d9692;
}


#footer p {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
  color: #393a3a;
  padding: 10px;
  font-size: 1.1em;
}

#footer p a {
  color: #393a3a;
}


/*----End Footer----*/
/*---------------------------------------------------------------------*/
/*----Top----*/

#top {
  height: 156px;
  padding: 14px 15px 0 12px;
}

#top #sectionhead {
  width: 733px;
  height: 38px;
  padding: 81px 16px 16px 14px;
  float: left;
  margin-right: 10px;
}

#top .about {
  background: url(http://www.st-andrew-umc.com/images/site/top-about.jpg) left top no-repeat;
}

#top #sectionhead h2 {
  font-size: 3em;
  line-height: 38px;
  font-weight: bold;
  color: #505050;
  padding: 0 10px;
}

#top .event-banner {
  background: #f9fafc;
  border: 3px solid #d6e8f2;
  line-height: 123px;
  text-align: center;
  margin-bottom: 10px;
  width: 200px;
  margin-top: 3px;
  float: left;
}


/*----End Top----*/
/*---------------------------------------------------------------------*/
/*----Content----*/

#middle .c1 {
  padding: 0 6px;
  width: 746px;
  float: left;
  margin-right: 20px;
}

#middle .c2 {
  width: 205px;
  float: left;
}


#middle .c1 p#breadcrumbs {
  font-family: FreeSans, Helvetica, Arial, sans-serif;
  color: #424242;
  text-transform: lowercase;
  font-size: 1.1em;
}

p#breadcrumbs a {
  color: #3c9692;
}

#middle .c1 h3 {
  font-size: 2.4em;
  font-weight: bold;
  color: #0079b3;
  border-bottom: 1px solid #b6afb1;
  padding-bottom: 5px;
  margin-bottom: 1em;
}

#middle .c1 h4 {
  font-size: 2.3em;
  font-weight: bold;
  color: #0079b3;
  margin-bottom: 1em;
}

#middle .c1 h5, #middle .c1 dt {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: .75em;
}

#middle .c1 dl {
  margin-left: 20px;
}


#middle .c1 p {
  font-size: 1.4em;
  line-height: 1.4em;
  margin-bottom: 1em;
}

#middle .c1 li p {
}

#middle .c1 ul, #middle .c1 ol {
  margin-left: 40px;
  font-size: 1.4em;
}

#middle .c1 ul li {
  list-style: disc;
  margin-bottom: 1em;
  line-height: 1.4em;
}

#middle .c1 ol li {
  list-style: decimal;
  margin-bottom: 1em;
  line-height: 1.4em;
}

#middle .c1 li p {
  font-size: 1em;
}


#middle .c1 p img, #middle .c1 h5 img {
  float: right;
  margin: 0 0 10px 10px;
}

#middle .c1 ul ul {
  margin-left: 20px;
  margin-top: 1em;
  font-size: 1em;
}


#middle .c1 a:link, #middle .c1 a:visited {
  color: #3c9692;
  border-bottom: 1px dotted #3c9692;
}

#middle .c1 a:hover {
  text-decoration: none;
  border-bottom: 1px solid #3c9692;
}

#middle .c1 .gallery {
  margin-bottom: 2em;
}


#middle .c1 .gallery a:link {
  color: #963d5b;
  border-bottom: 0 none;
  border: 4px solid #fff;
}

#middle .c1 .gallery a:hover {
  text-decoration: none;
  border-bottom: 0 none;
  border: 4px solid #0079B3;
}

#middle .c1 .gallery a, #middle .c1 .gallery img {
  display: block;
  float: left;
}

#middle .c1 .gallery img {
  border: 1px solid #353535;
}

#middle .c1 .gallery a:hover img {
  border: 1px solid #fff;
}


#middle .c1 a.toggle {
  color: #963d5b;
  font-weight: bold;
}

#middle .c1 a.toggle:hover {
  border: 0 none;
  cursor: pointer;
}

#middle .staff {
  margin-bottom: 1em;
}


#middle .toolbox {
  background: #f9fafc;
  border: 3px solid #d6e8f2;
  padding: 10px;
}

#middle .toolbox h3 {
  font-size: 2em;
  font-weight: bold;
  border-bottom: 1px solid #b6afb1;
  color: #0079b3;
  padding-bottom: 2px;
  margin-bottom: 10px;
}

#middle .toolbox ul#tools {
  margin-left: 10px;
}

#middle .toolbox ul#subnav li {
  padding-left: 10px;
  font-size: 1.2em;
  margin-bottom: 5px;
  background: url(http://www.st-andrew-umc.com/images/site/bullet.gif) left 4px no-repeat;
}

#middle .toolbox ul#tools li {
  padding-left: 25px;
  line-height: 16px;
  font-size: 1.2em;
  margin-bottom: 5px;
}

#middle .toolbox ul#tools li.save {
  background: url(http://www.st-andrew-umc.com/images/site/icon-save.gif) left top no-repeat;
}

#middle .toolbox ul#tools li.print {
  background: url(http://www.st-andrew-umc.com/images/site/icon-print.gif) left top no-repeat;
}

#middle .toolbox ul#tools li.email {
  background: url(http://www.st-andrew-umc.com/images/site/icon-email.gif) left top no-repeat;
}

#middle .toolbox li a {
  color: #3c9692;
}

#middle blockquote {
  padding: 20px;
  border: 1px solid #B6AFB1;
  border-left-width: 3px;
  background: #f9f9f9;
  margin-bottom: 1em;
}


#middle cite {
  margin-bottom: 1em;
  display: block;
  font-size: 1.6em;
}

#middle .c1 form label {
  width: 150px;
  text-align: right;
  margin-right: 10px;
  display: block;
  float: left;
  font-size: 1.3em;
  padding: 3px;
}

#middle .c1 form input.textbox {
  background: #fff;
  border: 1px solid #b6afb1;
  padding: 2px;
  font-size: 1.3em;
  margin-bottom: 1em;
  width: 300px;
}

#middle .c1 form select {
  background: #fff;
  border: 1px solid #b6afb1;
  padding: 2px;
  font-size: 1.3em;
  margin-bottom: 1em;
  width: 306px;
}

#middle .c1 form textarea {
  background: #fff;
  border: 1px solid #b6afb1;
  padding: 2px;
  font-size: 1.3em;
  margin-bottom: 1em;
  width: 500px;
  height: 250px;
}

#middle .c1 form input#submit {
  margin-left: 165px;
  font-size: 1.3em;
  padding: 3px;
}


/*----End Content----*/
/*---------------------------------------------------------------------*/
/*----Calendar----*/

#middle #eventscalendar td a {
  color: #3c9692;
  display: block;
  border: 0 none;
}

#middle #eventscalendar td a:hover {
  text-decoration: underline;
  border-bottom: 0 none;
}

#eventscalendar {
  margin-bottom: 20px;
}


#eventscalendar th {
  padding: 10px 5px;
  font-size: 2em;
  text-align: center;
}


#eventscalendar td {
  width: 96px;
  padding: 5px;
  vertical-align: top;
  background: #fff;
  border: 1px solid #0079b3;
  font-family: FreeSans, Helvetica, Arial, sans-serif;
}


#eventscalendar td.calendarToday {
  background: #D6E8F2;
}

#eventscalendar td.calendarDayHeading {
  background: #0079b3;
  font-weight: bold;
  color: #fff;
  font-size: 1.6em;
}

#eventscalendar td.calendarBlank {
  background: #F9FAFC;
  color: #D6E8F2;
}

#eventscalendar td div {
  margin-bottom: 1em;
}


/*----End Calendar----*/
/*---------------------------------------------------------------------*/
/*----Tooltips----*/
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 5px;
	opacity: 0.85;
    text-align: left;
    font-family: FreeSans, Helvetica, Arial, sans-serif;
    width: 250px;
}
#tooltip h3, #tooltip div { margin: 0; }
#tooltip h3 {
  font-size: 1.6em;
  font-weight: bold;
  border-bottom: 1px solid #353535;
  margin-bottom: 5px;
  padding-bottom: 3px;
}
#tooltip div {
  font-size: 1.1em;
}


/*----End Tooltips----*/