/*
Theme Name:		Pestman
Version: 		1.0
Description: 	Two Column, static header and footer
Author: 		
Author URI:		
Tags:			
*/

/* Reset Browser Defaults */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { margin: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit;}
body {background-color: #F00;}

/* Removes dotted line when focus */
:focus { outline: none; }

/* Tables still need 'cellspacing="0"' in the markup. 
table { border-collapse: separate; border-spacing: 0px; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }*/

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove border on linked images. */
a img { border: none; }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: block; }

/* Regular clearing, just in case! */
.clear { clear: both; }

/* Apply base theme styles and colors */
/* Document Body */
body, input, textarea { font: 13px/1.5 Verdana, Arial, Helvetica, sans-serif; }

/* Font Styles */
.serif { font-family: Georgia, Times New Roman, Times, serif; }
.sans-serif { font-family: Verdana, Arial, Helvetica, sans-serif; }

/* Vertical Rhythm  */
/*.entry-meta { margin-bottom: 10px; }
p, pre, ul, ol, dl, dd, blockquote, address, fieldset, form, .gallery-row, .comment-list ul, .comment-list ol { margin-bottom: 20px; }
.hentry, .widget, .comment, .navigation-links { margin-bottom: 40px; }*/

/* Logo */
#logo, #logo a { font-size: 28px; line-height: 30px; color: #000; font-weight: bold; }
#logo a { float: left; display:block; height:122px; width:330px; background: url(images/logo.png) no-repeat;}
#logo a:hover { color: #2361a1; text-decoration: none; }


/* Menu */
.nav { background-color:#FF0000; float:left; line-height:1; width:100%;}
.nav, .nav * { list-style: none; margin-left: 0; }
.nav li { float: left; padding: 0; position: relative; }
.nav ul li { width: 100%; }
.nav ul.children li{ background-color: #F00;}
.nav ul.children { margin-left: -40px; border: 0;}

.nav a { display: block; position: relative; padding: 8px 20px; }

/* Hides items under top menu */
.nav ul { position: absolute; top: -9999em; width: 20em; /* left offset of submenus need to match (see below) */ }

/* Shows submenus */
.nav li:hover ul,
.nav li.nav-hover ul { left: -1px; top: 29px; /* match top ul list item height */ z-index: 99; }
.nav li.children ul:hover {text-decoration: none; background: #C10005;}
/* Hides all sub items (4 levels deep) */
.nav li:hover li ul,
.nav li.nav-hover li ul,
.nav li li:hover li ul,
.nav li li.nav-hover li ul,
.nav li li li:hover li ul,
.nav li li li.nav-hover li ul { top: -999em; }

/* On :hover, displays all sub items (4 levels deep) */
.nav li li:hover ul,
.nav li li.nav-hover ul,
.nav li li li:hover ul,
.nav li li li.nav-hover ul,
.nav li li li li:hover ul,
.nav li li li li.nav-hover ul { left: 20em; /* match .nav ul width */ top: -1px; }

/* Default Skin */
/*.nav { border: 1px solid; border-color: #aaa #ddd #ddd #aaa; }*/
.nav ul { border: 1px solid #ddd; border-bottom: none; }
.nav ul li a { border-bottom: 1px solid #ddd; }
.nav li:hover ul,
.nav li.nav-hover ul { background: #fff; }

.nav a { color: #fff;}
.nav a:hover { text-decoration: none; background: #C10005; }
.nav ul a { border-right: none; }
.nav li:hover, .nav li.nav-hover,
.nav a:focus { background: #C10005; color: #F00;}

/* Menu bugfix */
.ie7 .nav:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }

/* Links */
a { color: #fff; text-decoration: none; }
a:hover { text-decoration: underline; }
.entry-content a:link, .entry-content a:active, .entry-content a:visited { color: #2361a1; text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }
.entry-content p { padding-bottom: 10px;}

/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: normal; clear: both; }
h1 { font-size: 24px; line-height: 28px; padding: 5px 0px; }
h2 { font-size: 20px; line-height: 22px; padding: 5px 0px; margin-left: 10px; }
h3 { font-size: 16px; line-height: 20px; padding: 5px 0px; }
h4 { font-size: 14px; line-height: 18px; padding: 5px 0px; }
h5 { font-size: 12px; line-height: 18px; padding: 5px 0px; }
h6 { font-size: 10px; line-height: 16px; }

/* Content */
.page-title { font-size: 14px; font-weight: bold; }
.page-title span { font-style: italic; font-weight: normal; }
.entry-title, .entry-title a { color: #f00; font-size: 22px; line-height: 28px; }
.entry-title a:hover { color: #2361a1; text-decoration: none; }

/* Text Elements */
address { font-style: italic; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px dotted #666; }

blockquote { color: #666; font-style: italic; border-left: 1px solid #ddd; margin-left: 15px; padding-left: 10px; }

strong { font-weight: bold; }
em, dfn, cite { font-style: italic; }
dfn { font-weight: bold; }

sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: 12px; }

del { text-decoration: line-through; }
ins { text-decoration: underline; }

code, pre {  line-height: 15px; }
var, kbd, samp, code, pre { font: 12px/1.4 Consolas, "Andale Mono", Courier, "Courier New", monospace; background: #fafafa; }
kbd { font-weight: bold; }
samp, var { font-style: italic; }
pre { white-space: pre; overflow: auto; padding: 10px; border: 1px solid #ddd; clear: both; }
code { padding: 0px 3px; }

/* Lists: (ul, ol, dl) */
ul, ol, dl { margin-left: 15px; }
.nav { margin-left: 0px; }
.entry-content ul, .entry-content ol, #search-query { margin-left: 25px; }

li ul, li ol { margin-bottom: 0; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

ol { list-style-type: decimal; }

ul { list-style-image: url(images/bullet.png);}
ul ul { list-style-type: circle; }
ul ul ul { list-style-type: square; }

dt { font-weight: bold; }

.fat li { margin-bottom: 10px; }

/* Tables 
table { border-width: 1px; line-height: 18px; margin: 0 0 22px 0; text-align: left; padding: 0 5px; }
table .even { background: #ddd; }
caption { text-align: left; }
tr { border-bottom: 1px solid #ccc; }
th, td { padding: 5px 3px; }*/

/* Forms */
input, textarea, button { background: #fafafa; border-color: #aaa #ddd #ddd #aaa; border-style: solid; border-width: 1px; color: #444; font-size: 14px; }
input, textarea, button { font-family: Cambria, Georgia, "Times New Roman", Times, serif; padding: 3px; }
button { font: 12px; padding: 2px 10px; cursor: pointer; }
input:focus, textarea:focus, button:hover { background: #fff; border-color: #777 #ccc #ccc #777; }

/* bugfix */
.safari input { padding: 0px 3px; }
.chrome input { padding: 1px 3px; }

/* Comments */
.comment-list, .comment-list .children { list-style: none; }
.comment-list { margin-left: 10px; }
.comment { margin-bottom: 40px; }
.comment-list .children { margin-top: 40px; }
.comment-meta { margin-bottom: 10px; }
.commenter { font-size: 16px; }
.avatar { float: right; margin: 0px 0px 10px 20px; border: 1px #ddd solid; padding: 1px; }

/* Comment Reply */
#comment-form .form-section input { margin-right: 10px; }
.form-section { margin-bottom: 10px; }
.form-section label { cursor: pointer; }
#commenter-details input { margin-right: 10px; }
#allowed-tags { font: 11px Verdana, Arial, Helvetica, sans-serif; padding: 5px 10px; background: #fff; border: 1px #ddd dotted; border-top: none; width: 573px; }

/* Images */
img.alignleft { float: left; margin-right: 20px; margin-top: 5px; }
img.alignright { display: block; float: right; margin-left: 20px; margin-top: 5px; }
img.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; margin-top: 5px; }

.wp-caption { text-align: center; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption .wp-caption-text { margin: 0; padding: 5px; }

.wp-smiley { max-height: 13px; margin: 0 !important; } /* Prevent the smileys from breaking line-height */

/* [gallery] */
.gallery { margin: auto; }
.gallery-image { border: 2px solid #cfcfcf; margin-left: 0; }
.gallery-caption { margin-left: 0; }
.gallery-item { float: left; text-align: center; margin-left: 0; }

.gallery-columns-2 { width: 50%; }
.gallery-columns-3 { width: 33%; }
.gallery-columns-4 { width: 25%; }
.gallery-columns-5 { width: 20%; }
.gallery-columns-6 { width: 16%; }
.gallery-columns-7 { width: 14%; }
.gallery-columns-8 { width: 12%; }
.gallery-columns-9 { width: 11%; }

/* Navigation */
.page-navigation .nav-next { float: left; }
.page-navigation .nav-previous { float: right; }
.single-page-navigation .nav-next { float: right; }
.single-page-navigation .nav-previous { float: left; }

/* [gallery] + navigation clearfix */
.gallery-row:after, .navigation-links:after, .container:after, .menu:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.gallery-row, .navigation-links, .container, .menu { display: block; }

/* Basic Alignments */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; }

/* Page Layout */
.container { width: 949px; margin: 20px auto; background-color: #FFF;}
.header { width: 949px; height: 125px; margin: 0 auto; background: url(images/header_bg.gif) no-repeat;}
#header_img { background: url(images/family-pic.jpg) no-repeat; float: left; width: 266px; height: 125px; top: 0; left: 332px;}
.description { height: 125px; float: left; width: 155px;}
#tagline { color:#333333; float:left; font-weight:bold; padding:25px; width:106px;}
.hdr_contact {float: left; height: 125px;}
#hdr_roach { background: url(images/dead-cockroach_small.png) no-repeat;    margin-left: 0;
    margin-top: 25px; padding:32px;}
#phonenumber {color:red; font-size:19px;}
#hdr_roach_text {float:left; font-size:11px; line-height:1;margin-left: 89px;
    margin-top: 37px;;}
#content { width: 949px; height: 100%;}
.hfeed { width: 909px; float: left; padding: 20px;}
.aside { float:left; width:430px; }
#banner {background: url(images/cockroach.png) no-repeat; width: 198px; height: 123px;}
.footer {  clear: both; padding-bottom: 20px; margin-top: 30px;}
#foot_wrap { margin: 0 auto; width: 949px; height: 154px; background: url(images/footer_bg.gif) no-repeat #FFF;}
#foot_wrap h3 { color: #F00; font-weight: bold; margin-top:-15px; text-align:center;}
#text_col { float: left; width: 228px;}
#bug_col1 { float: left; width: 145px; height: 154px;}
#termite { background: url(images/termite.jpg) no-repeat; width: 133px; height: 125px;}
#bug_col2 { float: left; width: 190px; height: 154px;}
#cockroach { background: url(images/cockroach.png) no-repeat; width: 198px; height: 123px;}
#bug_col3 { float: left; width: 193px; height: 154px;}
#ants { background: url(images/ants.png) no-repeat; width: 190px; height: 123px;}
#bug_col4 { float: left; width: 193px; height: 154px;}
#mice { background: url(images/rats.png) no-repeat; width: 190px; height: 123px; margin-left:-30px;}
#text_left { font-family:verdana; font-size:15px; line-height:1.2; margin-left:20px; padding:20px;}
.footer_copy {margin: 0 auto; width: 949px;}
#copyright { text-align: left; color: #FFF; font-size: 10px;}
