/*
Theme Name: NHOPC
Theme URI: http://nhopc.com
Description: 
Version: 1.1
Author: Tim Kadlec
Author URI: http://timkadlec.com
*/

/* RESET */
/* ----------------------------------------- */

/* Global reset */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
ol, ul, li { list-style:none }
caption, th { text-align:left }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
q:before, q:after { content:''}

/* Global reset-RESET */
/* The below restores some sensible defaults */
strong { font-weight: bold }
em { font-style: italic }
a img { border:none } /* Gets rid of IE's blue borders */

article, header, nav, footer, section, aside{
    display: block;
}

/* Generated by WordPress */
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }


/* GENERAL */
/* ----------------------------------------- */
body {
    font: 15px/1.5em Georgia, serif;
    color: #434242;
    text-shadow: 0px 1px 0px #ffffff;
    background: top left #fff;
}
h1{

    margin: .5em auto;
    
}
h1 a{
    background: url(style/images/logo2.png) top left no-repeat;
    height: 150px;
    width: 283px;
    display:block;
    text-indent: -9999px;
    
}
.inner{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}
h2{
    font-size: 1.5em;
    margin: 1em 10px;
}
h3{
    font-size: 1.2em;
    margin: 1.5em 10px 0em 10px;
    border-bottom: 1px dotted #434242;
    line-height: 1.3em;
    padding-bottom: .1em;
}
h3 a{
    text-decoration: none;
}
h2.tagline {
    display: inline;
}
#wrap{
    width: 90%;
    margin: auto;
}
p, blockquote, cite, #main ul {
    font-family: Helvetica, Arial, sans-serif;
    margin: 1.5em 10px;
}

cite{
    display: block;
    margin-top: -1.5em;
    text-align: right;
}
/* HEADER */
/* ----------------------------------------- */
header{
    margin: 10px auto 0 auto;
    overflow: hidden;
    padding: 0 0 10px 0;
}
.titleBar{
    background-color: #9ccaca;
    background-image: -moz-linear-gradient(top, #9ccaca, #7ab8b8); /* FF3.6 */
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #9ccaca),color-stop(1, #7ab8b8)); /* Saf4+, Chrome */
              filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#9ccaca', EndColorStr='#7ab8b8'); /* IE6,IE7 */
          -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#9ccaca', EndColorStr='#7ab8b8')"; /* IE8 */
   border-top: 1px solid #d2e9e9;
    border-bottom: 1px solid #d2e9e9;
    color: #fff;
    -moz-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
        -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
        text-shadow: -1px 0 2px rgba(0, 0, 0, 0.5);
        margin-bottom: 1em;
}
.titleBar h2{
    font-size: 1.7em;
    margin: .5em 10px;
}
.meta{
    background: #00b274;
    color: #fff;
    padding: .2em 0;
    border-bottom: 1px solid #fff;
    -moz-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        text-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}
.meta ul{
    margin: 0 auto;
    font-family: Helvetica, Arial, sans-serif;
    
}

aside div{
    padding: .1em 0 .5em 0;
    background: rgb(156,202,202);
    background: rgba(156,202,202,.5);
       -moz-border-radius: 8px; /* FF1+ */
    -webkit-border-radius: 8px; /* Saf3-4 */
            border-radius: 8px; /* Opera 10.5, IE 9, Saf5, Chrome */
}
aside #ccb{
    margin-top: 2em;
}
aside #ccb form{
    margin-left: 10px;
}
.youthSched{
    margin-top: 2em;
    background: none;
}
.youthSched a{
    display: block;
    background: #00b274;
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
       -moz-border-radius: 8px; /* FF1+ */
    -webkit-border-radius: 8px; /* Saf3-4 */
            border-radius: 8px; /* Opera 10.5, IE 9, Saf5, Chrome */
    -moz-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        text-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}
#main .youthSched h2{
    margin: 0;
    padding: .5em 0 .4em 0;
    font-weight: bold;
}
#main .youthSched a{
    color: #fff;
    text-decoration:none;
}
#main .youthSched a:hover{
    background: #009052;
    -moz-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        -webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
        text-shadow: -1px 0 2px rgba(0, 0, 0, 0.3);
}
#main{
    width: 100%;
    overflow: hidden;
    clear: both;
}
#main ul, #main ul li{
    list-style-type: disc;
}
#main .contacts ul, #main .contacts li{
    list-style-type: none;
}
#main .contacts label{
    padding-left: 5px;
}
#main ol, #main ol li{
    list-style-type: decimal;
}
#main ul, #main ol{
    margin-left: 40px;
}
#main h3{
    margin-bottom: .5em;
    padding: 2px;
}
#main iframe{
    width: 95%;
}
#main a{
    color: #02452d;
    
}
#main a:hover{
    background: #02452d;
    color: #fff;
    text-shadow: none;
    text-decoration: none;
    -webkit-transition-property:color, background;  
     -webkit-transition-duration: .3s, .3s;  
     -webkit-transition-timing-function: linear,
}
#main img{

    margin-right: 10px;
}
time{
    margin-left: 10px;
}
#main table{
    width: 80%;
    margin-left: 10px;
    margin-top: 1em;
}
#main table td, #main table th{
    padding: 5px 10px;
    border: 0px solid #333;
    border-collapse:collapse;
    background: rgba(255,255,255,.3);
}
#main #ff td, #main #ff th{
    background: none;
    border: none;
}
.worshipTimes td{
    text-align: right;
    
}
.worshipTimes th{
    padding: 5px 10px;
    background: #fff;
    color:#333;
    text-align: left;
}
#links td{
    text-align: center;
    width: 32%;
}
#links a{
    display: block;
    margin-bottom: .5em;
}
#links a:hover{
    background: none;
    color: #02452d;
    text-decoration:underline;
}
/* NAV */
/* ----------------------------------------- */
nav{
    display:none;
}
    .postNav{
        display: block;
    }
    #main .postNav li, #main .postNav ul{
        list-style-type: none;
        margin-left: 0;
        
    }
    .postNav ul{
        overflow: hidden;
        width: 100%;
    }
   .postNav li{
        float: left;
        padding-left: 10px;
        margin-right: 20px;
    }
    .postNav a{
        padding: 2px;
        text-decoration:none;
        border-bottom: 1px dotted #434242;
    }
/* Main Content
---------------------------------------- */
.entryImages{
    display:none;
}
/* FOOTER */
/* ----------------------------------------- */
footer{
    background: #333;
    margin-top: 1.5em;
    color: #999;
    text-shadow: none;
    padding: .5em 0;
    font: 12px/1.5em 'Droid Sans', Arial, sans-serif;
}
footer .inner{
    width: 90%;
}
footer li.page_item a{
    text-transform: uppercase;
    font-size: 1.2em;
    margin: .5em 10px .5em 10px;
    border-bottom: 1px dotted #434242;
    padding-bottom: .1em;
    
}
footer ul.children li.page_item a{
    text-transform: none;
    font-size: 1em;
    border-bottom: none;
}
footer ul{
    margin: .5em 10px;
}
footer ul.children{
    margin: .5em 0;
}
footer li {
    margin: 1em 10px 2em 0;

    
}
footer ul.children li{
    margin: 0;
}
footer .last{
    margin-right: 0;
    border-right: 0;
}
footer p{
    clear: both;
}
footer a{
    color: #999;
    text-decoration: none;
}
#main footer{
    background: none;
    color: #434242;
    margin-left: 10px;
}
#main footer a{
    border-bottom: 1px dotted #434242;
}
@media screen and (min-width:800px) {
    h1{
        float: left;
        margin: 0;
    }
    .entryImages img{
        border: 10px solid #ddeeee;
        margin-bottom: 1em;
        position: absolute;
        -webkit-box-shadow: rgba(0, 0, 4, 0.296875) 0px 0px 5px;
    }
    .entryImages{
        width: 100%;
        display: block;
        background-color: #9ccaca;
        background-image: -moz-linear-gradient(top, #9ccaca, #7ab8b8); /* FF3.6 */
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #9ccaca),color-stop(1, #7ab8b8)); /* Saf4+, Chrome */
                  filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#9ccaca', EndColorStr='#7ab8b8'); /* IE6,IE7 */
              -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#9ccaca', EndColorStr='#7ab8b8')"; /* IE8 */
       border-top: 1px solid #d2e9e9;
        border-bottom: 1px solid #d2e9e9;
        margin-bottom: 1em;
    }
    .entryImages .inner{
        height: 410px;
        position: relative;
    }
    .entryImages .one{
        top: 1em;
        left: 1%;
    }
    .entryImages .two{
        top: 2.5em;
        left: 26%;
    }
    .entryImages .three{
        top: 1em;
        left: 51%;
    }
    .entryImages .four{
        top: 2.5em;
        left: 76%;
    }
    .meta li{
        border-right: 1px solid #fff;
        float: left;
        padding: 0 10px;
    }
    .meta li:last-child{
        border-right: 0px;
    }
    .meta ul{
        width: 100%;
        overflow: hidden;
    }
    aside{
        padding: 0;
        float: right;
        width: 30%;
        clear:top;
    }
    .primary {
        float: left;
        width: 65%;
    }
    footer li{
        width: 24%;
        float: left;
        border-right: 1px dotted #666;
        
    }
    footer ul ul li{ 
        width: auto;
        float: none;
        border-right: 0px;
    }
    footer p{
        text-align: right;
        
    }
    h1{
        height: 220px;
    }
    nav.navigation{
        position: absolute;
        top: 150px;
        left: 0px;
        width: 100%;
        display: block;
        margin: 1.5em 0;
        margin-top: 60px;
        font-size: .9em;
    }
    nav.navigation li{
        display: block;
        float: left;
        font-family: 'Helvetica', Arial, sans-serif;
        position: relative;
    }
    nav.navigation li li{
        float: none;
        text-align: left;
    }
    nav.navigation li li a{
        text-align: left;
    }
    nav.navigation li ul{
        display: none;
        width: 180px;
        -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    nav.navigation li:hover ul, .navigation li.over ul{
        display: block;
        position: absolute;
        top: 100%;
    }
    nav.navigation ul.children{
        background: #fff;
        border: 1px solid #DFDFDF;
    }
    nav.navigation ul.children li:hover{
        background: #999;
        color: #fff;
    }
    nav.navigation ul.children li a{
        text-transform: none;
        
    }
    nav.navigation ul.children li:hover a{
        color: #fff;
        text-shadow:none;
    }
    nav.navigation a{
        display: block;
        color: #02452d;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
        text-decoration: none;
        padding: 10px 30px 10px 10px;
        
    }
}/*/mediaquery*/
@media screen and (min-width:1000px) {
    h1{
        height: 150px;
    }
    nav.navigation{
        position: absolute;
        top: 30px;
        right: 10px;
        display: block;
    }
    nav.navigation ul{
        float: right;
    }
    nav.navigation ul ul{
        float: none;
    }


    nav.navigation a{
        padding: 10px 10px;
        
    }
}/*/mediaquery*/


