/*  
Theme Name: ES Gregory
Theme URI: http://www.esgregorycpa.com
Description: This is my theme for ES Gregory.
Version: 1.0
Author: Mark Shaw
Author URI: http://www.cardscomputers.com/
*/

body {
margin: 0;
background-image: url('images/headerbg.jpg');
background-repeat: repeat-x; 
/* background-image: url('boards.jpg'); */
/* background-repeat: repeat-x; */
background-color: #e8d9bd;
font-family: Georgia;
}

a {
color: #4e79e9;
}

a img {
border: 0;
}

table {
margin-left: auto;
margin-right: auto;
}

blockquote {
width: 85%;
margin-left: auto;
margin-right: auto;
border: 2px solid black;
color: black;
background-color: #dddddd;
}

#wrapper {
width: 950px;
margin-left: auto;
margin-right: auto;
}

#header {
margin-top: 5px;
margin-bottom: 10px;
overflow: hidden;
color: black;
z-index: 999;
}

#search {
float: right;
}

.submitbutton {
background-color: #0d6699;
color: white;
font-family: Georgia;
font-size: 16px;
}

#navmenu, #navmenu ul { 
font-family: Arial;
padding: 0;
margin: 0;
list-style: none;
line-height: 1;
}
 
#navmenu a {
text-decoration: none;
display: block;
color: white;
padding: 10px;
}

#navmenu a:hover {
text-decoration: underline;
background-color: #031f68;
}
 
#navmenu li {
margin-right: 5px;
float: left;
background-image: url('navbg.jpg');
}

#navmenu li ul { 
border-bottom: 1px solid black;
font-size: 12px;
position: absolute;
width: 14em;
left: -999em; 
}
 
#navmenu li ul li {
border: 1px solid black;
border-bottom: 0px;
width: 14em;
}

#navmenu li:hover ul, #navmenu li.sfhover ul { 
left: auto;
}

.post {
clear: both;
}

#content {
line-height: 1.8em;
border: 1px solid black;
overflow: hidden;
background-color: white;
padding: 10px;
}

#content a:hover {
color: red;
}

.thedate {
font-size: 12px;
}

#footer {
text-align: center;
color: black;
line-height: 1.8em;
}

#footer table td {
padding: 10px;
}

#logos {
padding: 20px;
border: 1px solid black;
border-top: 0px;
background-color: white;
}





/* From WP Defaults.. Begin Images */
p img {
        padding: 0;
        max-width: 100%;
        }

/*      Using 'class="alignright"' on an image will (who would've
        thought?!) align the image to the right. And using 'class="centered',
        will of course center the image. This is much better than using
        align="center", being much more futureproof (and valid) */

img.centered {
        display: block;
        margin-left: auto;
        margin-right: auto;
        }

img.alignright {
        padding: 4px;
        margin: 0 0 2px 7px;
        display: inline;
        }

img.alignleft {
        padding: 4px;
        margin: 0 7px 2px 0;
        display: inline;
        }

.alignright {
        float: right;
        }

.alignleft {
        float: left;
        }
/* End Images */

