/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: "Segoe UI", Arial, Helvetica, sans-serif;
   font-size: .80em;
   line-height: 1em;
   background: url(/uploads/images/design/page_bkgd.jpg) no-repeat #1F1F1F fixed top center;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0 !important;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
   color: #DD7203; 
   font-weight:bold;
}

a:visited {
  color: #DD7203;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #DD7203;
}

/*****************
basic layout 
*****************/
body {
   color: #333;
   margin:0;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 950px;
   background-color: #FEFFF6;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 175px;    /* adjust according your image size */
   background: url(/uploads/images/design/bkgd_header.gif);           
}

div#header h1 {text-indent: -999em;  /* this hides the text */}

div#header h1 a {
   display: inline;
   float:left;
   height: 168px;             /* adjust according your image size */
   width:360px;
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   float: right;
   text-align: right;
   padding: 85px 0 0.2em 0;
   margin: 0 1em;
  color:#fff;
}
div#search p {
   margin-bottom:.5em;
}
input.searchinput {
   background:url(/uploads/images/design/input_mid.gif) repeat-x left top; 
   height:21px; 
   border:0px;
   vertical-align:top;
   padding-top:5px;
   font-style:italic;
   color:#666;
}

div.breadcrumbs {
   padding: 0 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 0em;        
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   padding: 0 0 1.5em 0; 
   background-color: #FEFFF6;
}


div#main {
  position: relative;
  margin-left: 196px; /* this will give room for sidebar to be on the left side */
  padding-right:40px;
  width: 714px;
}
#home div#main { 
   padding-right:0px;
   width: 754px;
}
#mappage div#main {
   padding-right:20px;
   width: 734px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 176px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#sidebar div.leftmodule {
   float:left;
   background-color: #2c3e96;
   color: #ffffff;
   width:161px;
   font-family: Georgia;
   font-size: 1.1em;
   padding-left:15px;
   padding-top:1em;
}
div#sidebar div.leftmodule p { line-height:1.7em; }
div#sidebar div.leftmodule a { font-family:Arial; }

div#sidebar div.leftmodulealt {
   float:left;
   background-color: #FF8B1F;
   color: #ffffff;
   width:166px;
   padding-left:10px;
   text-align:center;
}
div#sidebar div.leftmodulealt p { 
   line-height:1.4em; 
   margin-bottom:.5em;
   font-size:1.2em;
}

input.signupinput, #m4email  {
   background:url(/uploads/images/design/input_alt_mid.gif) repeat-x left top; 
   height:19px; 
   border:0px;
   vertical-align:top;
   padding-top:5px;
   font-style:italic;
   width:130px;
   color:#666;
}

p.logolink {
   text-align:center;
    margin: 2.5em;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #2c3e96; 
   padding:20px;
   width:910px;
   overflow:hidden;
}
div#footer a {
   color:#fff;
   font-weight:bold;
   text-decoration: underline;
}
div#footer a:hover { text-decoration: none; }
div#footer p {
   font-size: 0.9em;
   line-height:1.8em;
   margin-bottom: .7em;
}
div#footer div#address {
   width:400px;
   display:inline;
}
div#footer div#address p { width: 400px; }
div#footer div#footernav {
   float:right;
   text-align:right;
   display:inline;
}
div#footer ul.footermenu {
   margin-bottom: .7em;
}
div#footer ul.footermenu li {
   font-size: 0.9em;
   border-left: 1px solid #fff;
   padding-left:10px;
   margin-left: 10px;
   list-style-type: none;
   display:inline;
}
div#footer ul.footermenu li.first {
   border-left:0px;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   border-bottom: 1px dotted black;
   margin-bottom: 1.5em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

.sermonthumb {
   float:right;
   display:inline;
   border: 1px solid #FF932E;
   margin:10px;
}
.files {
   float:right;
   background: #EFF0E8;
   border-bottom: 1px dotted #EFF0E8;
   padding:10px;
}
div#main .files table { 
   margin-bottom:0;
   font-size: .85em;
   text-align:center;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2.5em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #00194C; 
   font-family: Georgia;
   font-size: 2em; 
   font-weight:normal;
   text-align: left; 
/* some air around the text */
   padding-bottom: 1px;
/* set borders around header */
   background: url(/uploads/images/design/border_doubledot.gif) repeat-x left bottom; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 .7em 0;
}
div#content h3 {
   font-family: Georgia;
   font-weight:normal;
   color: #222222; 
   font-size: 1.3em;
   line-height: 1.4em;
   margin: 0 0 .7em 0;
}
div#content h4 {
   color: #222222; 
   font-size: 1.2em;
   line-height: 1.4em;
   margin: 0 0 .7em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
h6 {
   font-style: italic;
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}
sup { vertical-align:super; font-size: .8em; }

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
/* END LISTS */

/* CONTENT TABLE */
div#main table {
   margin-bottom: 1.5em;
}
div#main table td {
   padding:5px;
   line-height: 1.4em;
}
/* END TABLE */

div.pagination a.current { color: #333; }

div#fancy_content h2 {
   color: #00194C; 
   font-family: Georgia;
   font-size: 2em; 
   font-weight:normal;
   text-align: left; 
/* some air around the text */
   padding-bottom: 1px;
/* set borders around header */
   background: url(/uploads/images/design/border_doubledot.gif) repeat-x left bottom; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 .7em 0;
}

img.pic {
   border: 1px solid #2c3e96;
}
a.exphead { 
   display:block;
   margin-bottom: 1em;
}

#googlemap {
   text-align: center; 
   margin: 0px 1em 1.5em 0px; 
   width: 400px; 
   display: block; 
   height: 300px; 
   border: #2c3e96 1px solid;
}


a.submit-prayer { display: block; width: 265px; margin: 0px auto; height: 32px; background: url(/uploads/images/submit_prayer.gif) no-repeat 0px 0px; text-indent: -99999em }
a.submit-prayer:hover { background-position: -265px 0px }

/* End of 'Layout: Left sidebar + 1 column' */

