/*
Company:    Sov Grace Church
File:        main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - they make sure that all browsers start with the same default settings
HTML, Body - for the html and body tags
Layout - any style that defines how the site is laid out (position and size of objects)
Nav - navigation bar
Headings - headings like h1, h2, etc
Text Styles - Styles for text
Lists - unordered and ordered lists
Forms - html forms
Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group Global Browser Reset */
* {

padding:0;

margin:0;

}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, fieldset, address { margin:10px 0; }

blockquote { margin-left: 40px; }

fieldset { padding:10px; }

img { border: 0px; }
/* @end */

/* @group HTML, Body */
body {
    background-color: #4E4741; /* old #e1e1e1 */ /* older #bfada0 */
}
/* @end */

/* @group Layout */
div#outer-wrapper {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    background-color: #fff;
}
div#hd {
    background: url(../images/home-hd.jpg) no-repeat;
    height: 210px;
    padding: 1px 0 1px 0;
    border-bottom: 1px solid #6a4a33;
}
body#inside div#hd {
    background: url(../images/inside-hd.jpg) no-repeat;
    height: 130px;
    padding: 1px 0 0 0;
    border-bottom: none;
}
div#logo {
    margin: 80px 0 0 10px;
    float: left;
    display: inline;
}
body#inside div#logo {
    margin: 60px 0 0 20px;
}

div#admin {
    padding: 20px;
}

div#bd {
    color: #666666;
    line-height: 150%;
    font-size: 85%;
}
body#inside div#bd {
    background: url(../images/inside-bkg.gif) repeat-y;
}
body#index div#left {
    width: 250px;
    padding: 0px 10px;
    float: left;
    display: inline;
}
body#inside div#left {
    width: 560px;
    padding: 20px;
    float: left;
    display: inline;
}
body#inside div#onecol {
    background-color: #fff;
    width: 760px;
    padding: 20px;
    float: left;
    display: inline;
}
body#index div#center {
    width: 284px;
    float: left;
    display: inline;
}

body#index div#right {
    width: 220px;
    padding: 0px 10px;
    float: left;
    display: inline;
}
body#index div#right a:link, body#index div#right a:visited {
    color: #c87101;
    font-style: italic;
    text-decoration: none;
}

body#inside div#right {
    width: 160px;
    padding: 20px;
    float: right;
    display: inline;
}

/* Podcasting */
body.podcasting div.blogList ul {
    margin: 0!important;
}
body.podcasting div.blogList ul li {
    background: #ccc!important;
    padding: 10px!important;
    margin-bottom: 1px;
}
body.podcasting div.archive ul li {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    margin-top: 2px!important;
    margin-bottom: 2px!important;
}
body.podcasting div.archive div.rss {
    display: none;
}
body.podcasting div.blogList ul li:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

body.podcasting div.blogList ul li {display: inline-block;}

/* Hides from IE-mac \*/
* html body.podcasting div.blogList ul li {height: 1%;}
body.podcasting div.blogList ul li {display: block;}
/* End hide from IE-mac */

body.podcasting div.blogList ul li h2.postTitle {
    width: 190px;
    padding-right: 20px;
    float: left;
    display: inline;
    clear:left;
}
body.podcasting div.archive ul li h2.postTitle {
    margin-top: 0px;
}
body.podcasting div.blogList ul li div.postBody {
    width: 190px;
    padding-right: 20px;
    float: left;
    display: inline;
}
body.podcasting div.blogList ul li div.postInfo {
    width: 100px;
    float: left;
    display: inline;
}
body.podcasting div.blogList ul li div.postInfo em {
    display: none;
}

body.podcasting div.podcast-heading-row ul li {
    background: none!important;
    font-weight: bold;
}
body.podcasting div.podcast-heading-row ul li h2 {
    margin-top: 0;
    font-weight: bold;
    color: #666666;
    text-transform: none;
}

div#ft {
    text-align: center;
    font-size: 85%;
    padding: 7px 0;
    background-color: #767c72;
    color: #fff;
}
div#ft a:link, div#ft a:visited {
    color: #fff;
    text-decoration: underline;
}
div#ft a:hover {
    text-decoration: none;
}
.searchInput {
    width: 90px;
}
/* @end */

/* @group Nav */
body#inside div#nav {
    margin: 94px 30px 0 0;
}
body#index div#nav {
    margin: 176px 30px 0 0;
}
div#nav ul {
    font-size: 85%;
    border-left: 1px solid #fff;
    float: right;
    display: inline;
}
#nav, #nav ul { /* all lists */
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
}

#nav a {
    display: block;
    width: 10em;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: url(../images/nav-bkg.png) repeat;
}
#nav a:link, #nav a:visited {
    color: #fff;
    text-decoration: none;
}
#nav ul ul a:link, #nav ul ul a:visited {
    color: #fff;
}
#nav ul ul a:hover {
    color: #b75c00;
}
#nav ul ul {
    font-size: 100%;
    margin-left: 0!important;
}
#nav ul ul a {
    /*height: 20px;*/
    line-height: 130%;
    height: auto;
    text-align: left;
    width: 9em;
    background: none;
    background-image: none!important;
    padding: 6px .5em;
}

#nav li { /* all list items */
    float: left;
    width: 10em; /* width needed or else Opera goes nuts */
    margin: 0;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

#nav li ul { /* second-level lists */
    position: absolute;
    background-color: #432512;
    border: none;
    width: 10em;
    left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul li {
    width: 10em;
    margin-left: 0px;
    border: none;
}

#nav li ul ul { /* third-and-above-level lists */
    margin: -1.9em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
    left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
    left: auto;
}


body#inside div#right ul {
    padding: 5px 0 0 0;
}
body#inside div#right ul li {
    margin: 0!important;
    padding-left: 0!important;
    background: none!important;
}
body#inside div#right ul a:link, body#inside div#right ul a:visited {
    text-decoration: none;
    color: #333;
    font-size: 92%;
}
/* @end */

/* @group Headings */
h1 {
    color: #666666;
    font-size: 107%;
    font-weight: normal;
}
body#inside h1 {
    font-weight: bold;
}
h2 {
    color: #783400;
    font-size: 107%;
    font-weight: normal;
    text-transform: uppercase;
    margin: 10px 0 0 0;
}
body#inside div#right h2 {
    color: #333;
    font-weight: bold;
    text-transform: none;
    font-size: 100%;
}
h3 {
    color: #c87101;
    font-size: 107%;
    font-weight: normal;
    margin-bottom: 0;
}
h4 {
    color: #000;
    font-size: 108%;
    font-weight: bold;
}
h5 {
    color: #000;
    font-size: 100%;
    font-weight: bold;
}
h6 {
    font-size: 100%;
    color: #000;
    font-weight: normal;
}
/* @end */

/* @group Text Styles */
#index #right .textElement p {
    margin-top: 0px;
    margin-bottom: 0px;
}
/* @end */

/* @group Lists */
div#outer-wrapper ul {
    margin-left: 5px;
    list-style-type: none;
}
div#outer-wrapper div#bd ul li {
    padding-left: 13px;
    padding-bottom: 3px;
    background: url(../images/bullet.gif) no-repeat 0 3px;
}
div#outer-wrapper ol {
    margin-left: 27px;
}
/* @end */

/* @group Forms */
    
/* @end */

/* @group Links - link visited hover active */
div#bd a:link, div#bd a:visited {
    color: #666666;
    text-decoration: underline;
}
div#bd a:hover {
    text-decoration: none;
}
/* @end */

/* @group Misc */
.clear {
    clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */