/***** Page *****/

body {
    background: #FFFFFF url('http://www.stdominicmobile.org/images/bg.jpg') repeat-y center top;
    color:#333; margin:.5em; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:.8em; background-image:url('http://www.stdominicmobile.org/images/bg.jpg'); background-repeat:repeat-y
}

body a:visited {
    text-decoration: none;
    border: 0;
}



.left {
    float: left;
    padding: 0;
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    display: inline;
}

.right {
    display: inline;
    float: right;
    text-align: right;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
}

/***** Wrapper *****/
#top {
	background-image: url('../images/churchtop.jpg');
	background-repeat: no-repeat;
	background-position:  
               center bottom;
	height: 150px;
	width: 695px;
	margin: auto
}

#wrapper {
    background: #FCFBE9;
    border: 1px solid #000080;
    background-position: center top;
    color: #000;
    width: 695px;
    margin: 0 auto;
}

/***** Navigation *****/

#navigation {
    margin: 0 0 0 0;
    float: left;
    width: 100%;
    color: #FFFFFF;
    background-color: #000080;
    border: 1px solid #000080;
    /*background-image:url('http://www.stdominicmobile.org/images/header-bg.jpg');
    background-position:bottom right;
    background-repeat:no-repeat;*/
}

#navigation ul {
    margin: 0;
    padding: 1em 0 0 .3em;
    list-style: none;
}

#navigation li   {
    float: left;
    white-space: nowrap;
}

#navigation li a {
    float: left;
    display: block;
    margin: 0;
    text-decoration: none;
    background-image: url('http://www.stdominicmobile.org/images/tableftB.gif');
    background-position: left top;
    background-repeat: no-repeat; padding-left:4px; padding-right:0; padding-top:0; padding-bottom:0
}

#navigation a span {
    float: left;
    display: block;
    background-image: url('http://www.stdominicmobile.org/images/tabrightB.gif');
    background-position: right top;
    background-repeat: no-repeat;
    background-color: transparent;
    color: #9E8100; padding-left:6px; padding-right:15px; padding-top:5px; padding-bottom:4px
}

#navigation h1 {
    margin: 0 0 -.6em 0;
    padding: 1em 0 0 1em;
    font-size: 1.5em;
    letter-spacing: .1em;
    color: #ffffff;
    background-color:#EACE46;
}

#navigation h2 {
    margin: 0 0 0 0;
    padding: 1em 0 0 1.75em;
    font-size: .9em;
    font-weight: 300;
    letter-spacing: .1em;
    color: #000080;
    background-color:#EACE46;
}

#navigation a:hover span, #navigation .selected {
    color: #000;
    background-color: transparent;
}

#navigation a:hover, #navigation .selected {
    background-position: 0% -42px;
}

#navigation a:hover span, #navigation .selected span {
    background-position: 100% -42px;
    color: #000080;
    background-color: transparent;
}

/***** Content *****/

#content {
    background: #fff;
    float: left;
    padding: 15px 10px;
    width: 500px;
    border-right: 1px solid #000080;
    color: #000;
}

#content h1 {
    color: #9E8100;
    font-size: 1.3em;
    margin: 0;
    padding: 10px 5px 0 0;
    text-align: left;
    background: inherit;
}

#content h2 {
    color: #9E8100;
    font-size: .9em;
    margin: 0;
    padding: 0 0 0 10px;
    font-weight: normal;
    background: inherit;
}

#content p {
    margin: 10px 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: inherit;
    color: inherit;
}

#content a {
    text-decoration: none;
    color: #000080;
}

#content a:hover {
    text-decoration: underline;
}

#content ul{
    list-style-type:square;
}

#content ul li{
    padding-bottom:.9em;
}
/***** Side Content *****/

#sidecontent {
    margin: 3px;
    padding: 15px 0 0 0;
    float: right;
    width: 160px;
    color: #000080;
    background-color: #FCFBE9;
}

#sidecontent ul {
    color: #333;
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
    background: inherit;
}

#sidecontent li {
    padding: 0.1ex;
}

#sidecontent li a {
    color: #000080;
    text-decoration: none;
    font-size: 1em;
    display: block;
    background: inherit;
}

#sidecontent li a:hover {
    background: #000080;
    color: #FFFFFF;
}

#sidecontent h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    padding: 10px 0 3px 0;
}

/***** Footer *****/

#footer {
    background: #FFFFFF;
    clear: both;
    color: #547699;
    font-size: .9em;
    height: 1.8em;
    line-height: 1.8em;
    padding: 0;
    text-align: center;
}

#footer a {
    background: inherit;
    color: #547699;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .left {
    margin: 0 0 0 8px;

}

#footer .right {

    margin: 0 8px 0 0;
}