* {margin: 0; padding: 0;}

body {
    background: #666;
    font-size: 16px;
    line-height: 20px;
    font-family: "helvetica neue", verdana, sansbo;
    text-align: center;
    margin: 0 auto;
    color: #313131;
}

.overlay {
    background: url(../i/overlay.png);
}

.wrap {
    background: #fff;
    width: 800px;
    margin: 0 auto;
    text-align: left;
}

#header {
    margin: 0 auto;
    width: 850px;
    height: 120px;
    padding: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
    }

#header li {display: inline;}
h1#logo a {
    display: inline-block;
    float: left;
    background:  url(../img/h1_background.png) no-repeat;
    width: 236px;
    height: 117px;
    text-indent: -9999px;
    margin-left: -80px;
    cursor: pointer;
}

#header li a {font-size: 18px; color: #fff; font-weight: normal; letter-spacing: 2px; padding-top: 100px; padding-left: 15px; padding-right: 15px; padding-bottom: 15px; margin-right: 0; margin-left: 0;}
#header li {margin:0; padding: 0;}
#header a {text-decoration: none;}
#header ul {float: right; margin-right: -50px; margin-top: 81px;}
#header h1#logo {margin-left: 30px; }

body.home #header h1#logo a, body.teaching #header li.teaching a, body.blog #header li.blog a, body.About #header li.about a, body.Location #header li.location a {
}

li.about a {border-top: 5px solid #0f7f8f;}
body.About li.about a, li.about a:hover {background: #0f7f8f; text-shadow: none;}
body.About .content_wrap {border-top: 20px solid #0f7f8f; border-bottom: 20px solid #0f7f8f;}
body.About h1, body.About a {color: #0f7f8f;}

li.blog a {border-top: 5px solid #8f0f54;}
body.blog li.blog a, li.blog a:hover {background: #8f0f54; text-shadow: none;}
body.blog .content_wrap {border-top: 20px solid #8f0f54; border-bottom: 20px solid #8f0f54;}
body.blog h1, body.blog a {color: #8f0f54;}

li.teaching a {border-top: 5px solid #0f2d8f;}
body.teaching li.teaching a, li.teaching a:hover {background: #0f2d8f; text-shadow: none;}
body.teaching .content_wrap {border-top: solid 20px #0f2d8f; border-bottom: solid 20px #0f2d8f;}
body.teaching h1, body.teaching a {color: #0f2d8f;}

li.contact a {border-top: 5px solid #8f570f;}
body.contact li.contact a, li.contact a:hover {background: #8f570f; text-shadow: none;}
body.contact .content_wrap {border-top: 20px solid #8f570f; border-bottom: 20px solid #8f570f;}
body.contact h1, body.contact a {color: #8f570f;}

li.location a {border-top: 5px solid #8f0f0f;}
body.Location li.location a, li.location a:hover {background: #8f0f0f; text-shadow: none;}
body.Location .content_wrap {border-bottom: 20px solid #8f0f0f; border-top: 20px solid #8f0f0f;}
body.Location h1, body.Location a {color: #8f0f0f;}

.content {
    padding: 40px;
    width: 710px;
    overflow: auto;
    text-align: left;
}

.content h1, .content h2, .content h3  {
    line-height: 35px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.content h2 {font-size: 20px;}
.content h1 {font-size: 25px;}
.content h2, .content h3 {
    line-height: 20px;
    margin-bottom: 10px;
    padding-bottom: 0;
    margin-top: 30px;
}

body.blog .content h1 a {text-decoration: none;}

p {margin-bottom: 10px;}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    padding: 5px;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
    width: 540px;
    }

form button {padding: 5px; font-size: 14px; margin-top: -10px;}

form .errorlist li {list-style-type: none; float: right; margin-right: 10px;color: red;}

h2.el-is-a-church {
    width: 814px;
    margin: 0 auto;
    height: 89px;
    display: block;
    text-indent: -9999px;
    background: url(../img/h2.png) no-repeat;
    margin-bottom: 20px;
    }

h3.sunday a {
    width: 830px;
    margin: 0 auto;
    height: 250px;
    display: block;
    text-indent: -9999px;
    background: url(../img/sunday.png) no-repeat;
    margin-bottom: 20px;
}

h3.sunday a:hover {background: #3ba486 url(../img/sunday.png) no-repeat;}


/* A few homepage specific styles */

body.home .content {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 850px;
    margin: 0 auto;
    text-align: left;
}

.content .boxes {
    float: left;
    width: 217px;
}

body.home h2 {padding-bottom: 0; line-height: 20px;}
.elsewhere {float: left; width: 490px; margin-left: -10px;}
img {border: none;}
.elsewhere .follow {float: left;}
.elsewhere .follow p {text-align: center;}
.elsewhere .twitter {padding-top: 18px; margin-left: 20px;}
.elsewhere h2 {margin-bottom: 20px;}

.meta {font-size: 12px;}
body.home .meta {margin-top: 0; margin-bottom: 0;}
.content .not {border-right: 1px solid #ccc; padding-right: 10px;}
.content .true {margin-left: 10px;}

li {margin-bottom: 10px;}


/* I love being redundant apparently */

ul.teaching_list li {list-style-type: none;}

.each-post {margin-bottom: 30px;}

blockquote {
    padding-left: 20px;
    padding-right: 20px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    margin-top: 20px;
    margin-bottom: 20px;
    }

.lifegroup {
    border-bottom: 1px dashed #0F8F7F;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

a#merger {
    display: block;
    text-indent: -9999px;
    background: url(../img/merger.png) no-repeat 0 0px;
    width: 831px;
    height: 105px;
    margin: 0 auto;
    margin-top: 10px;
}

a#merger:hover {
    background: url(../img/merger.png) no-repeat 0 -140px ;
}

.content_wrap {background: #fff; width: 900px; margin: 0 auto; padding-top: 10px;}

.footer {width: 900px; margin: 0 auto; color: white; font-size: 13px; margin-top: 20px; margin-bottom: 20px; overflow: auto; padding-top: 14px;}
.footer ul li {display: inline; border-top: 0; color: white;}
.footer ul li a {color: white; text-decoration: none; padding: 12px; font-weight: normal}
.footer ul {float: right;}
.footer p {float: left; width: 500px; text-align: left; font-weight: bold;}
.footer p a {color: white;}

#header li a,
h1, h2, h3, h4, h5 {
  font-family: "p22-underground-sc-1","p22-underground-sc-2";
}

.nav li a, .footer li a, .footer p {
text-shadow: 2px 2px 1px rgba(0, 0, 0, .5);
}

ul.elders {display: block; margin-bottom: 30px; overflow: auto;}
ul.elders li {
    float: left;
    list-style-type: none;
    margin-right: 12px;
}

ul.elders li span.all {float: left; position: absolute; margin-top: 200px; width: 130px; font-size: 14px; font-weight: bold;}
ul.elders li img {width: 130px;}
ul.elders li span.title {display: block; font-weight: normal;}
ul.elders a {text-decoration: none;}
img.large_bio {float: right; width: 250px; margin-left: 20px; margin-bottom: 20px; border: 1px solid #0F7F8F}
body.About .content {width: 810px;}

@media only screen and (max-width: 480px) {
h1#logo a {margin-left: 0; display: block;}
#header ul.nav {float: none; padding: 0; margin: 0; width: 400px; margin-left: 20px;; display: block; clear: both;}
#header ul.nav li a {float: none; display: block; padding-top: 10px; background: white;}
.wrap {width: 480px; margin: 0; padding: 0; margin-left: 0; background: none;}
.content_wrap {width: 480px; margin: 0; padding: 0; }
#header {width: 480px; padding: 0; margin:0; height: 100%;}
.content {width: 300px;; margin: 0; padding: 0;}

ul.elders {width: 480px; height: 500px;}
ul.elders {height: 200px;
}

body .content h1 {margin-bottom: 0px; padding-bottom: 0px;}
}

body.blog .content {margin: 0 auto;}

