/*
Theme Name:		WP Framework
Theme URI: 		http://wpframework.com/
Version: 		0.2.4.10
Description: 	
Author: 		Ptah Dunbar
Author URI:		http://ptahdunbar.com
Tags:			

Copyright 2008 Ptah Dunbar <http://ptahdunbar.com> All rights reserved.
WP Framework is licensed under the terms of the GNU General Public License 

version 2.


/******************** Reset Browser Defaults ********************/


@import url( 'library/media/css/reset.css' );


/******************** Layout ********************/

html {
   background: url('library/media/images/background.jpg');
   }

body {
   background: url('library/media/images/shadow.png') repeat-y center top;
   font-family: Arial, Helvetica, Tahoma, Verdana, Sans Serif;
   color: #666666;
   font-size: 12px;
   line-height: 18px; 
   }

.container {
   width: 960px;
   background: url('library/media/images/container-background.gif') repeat-y;
   margin: 0px auto 0px;
   padding: 0 0 60px 0;
   background-color: #FFFFFF;
   }

.header {
   height: 88px;
   padding: 20px 20px 0 20px;
   background: url('library/media/images/header-background.jpg') ;
   }

.subheader {
   height: 112px;
   background: url('library/media/images/subheader-background.jpg') no-repeat;
   margin: 0 0 20px 0;
   padding: 63px 0 0 40px;
   }

#primary {
   width: 685px;
   margin: 0 0 0 20px;
   }

#secondary {
   width: 215px;
   margin: 0 20px 0 0px;
   }

.hfeed {
   width: 600px;
   float: left;
   }

.aside {
   width: 300px;
   float: right;
   }

.footer {
   clear: both;
   }

#services-left  {
   float: left;
   display: inline;
   }

#services-right  {
   float:right;
   display: inline;
   }

/******************** Header ********************/


#logo {
   float: left;
   width: 216px;
   height: 44px;
   display: block;
   margin: -9px 0 0 0;
   background: url('library/media/images/compassion-homecare-logo.jpg') no-repeat;
   text-indent: -1999px;
   }

#logo a {
   display: block;
   width: 100%;
   height: 100%;
   }

#tertiary {
   margin: -5px 0 8px 0;
   float: right;
   }

.header h2 {
   clear: right;
   float: right;
   font-size: 24px;
   color: #ca2127;
   font-style: italic;
   }

#tagline {
   font-size: 30px;
   color: #FFFFFF;
   font-style: italic;
   }


/******************** Menu ********************/

.nav {
   background-image: url('library/media/images/nav-background.jpg');
   width: 959px;
   height: 40px;
   margin: 0;
   padding: 0 0 0 1px;
   float: left;http://compassionhomecare.ca/new/wp-admin/edit-pages.php
   line-height: 1;
   }

.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 {
   }

.nav a {
   color: #FFFFFF;
   border-right: 2px groove #000000;
   border-right-color: #011b51;
   display: block;
   position: relative;
   padding: 11px 20px;
   }

.nav a:hover, .nav a:focus {
   background-image: url('library/media/images/nav-background-hover.jpg');
   text-decoration: none;
   }

.nav ul a {
   border-right: none;
   }

.nav li:hover, .nav li.nav-hover {
   }

.nav, .nav * {
   list-style: none;
   margin-left: 0;
   }

.nav li {
   float: left;
   padding: 0;
   position: relative;
   }

.nav ul li {
   width: 100%;
   }

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



.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; /* Hides all sub items (4 levels deep) */
   }

/*  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;
   }

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

#copyright a {
   display: inline;
   margin: 0;
   padding: 0;
   border: 0;
   }

#copyright a:hover, #copyright a:focus {
   background-image: none;
   text-decoration: underline;
   }



/******************** Bread Crumb Trail ********************/


.breadcrumb {
   margin: -6px 0 11px 0;
   padding: 0 0 9px 0;
   border-bottom: 1px dotted #808080; 
   }


/******************** Home Page ********************/


#home-top-box {
   width: 685px;
   height: 225px;
   overflow: hidden;
   margin: 0px 0px 9px 0px;
   }

#home-top-box img {
   margin-top: 10px;
   }

#home-bottom-box-1, #home-bottom-box-2 {
   width: 215px;
   float: left;
   margin: 0px 20px 0px 0px;
   }

#home-bottom-box-3 {
   width: 215px;
   float: left;
   margin: 0px 0px 0px 0px;
   }

#home-bottom-box-1 h2, #home-bottom-box-2 h2, #home-bottom-box-3 h2 {
   margin: 0px 24px 0px 0px;
   }

#home-bottom-box-1 img, #home-bottom-box-2 img, #home-bottom-box-3 img {
   margin: 4px 0px 6px 0px;
   }


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


.page-title {
   font-size: 14px;
   font-weight: bold;
   }

.page-title span {
   font-style: italic;
   font-weight: normal;
   }

.entry-title, .entry-title a {
   color: #CA2127;
   font-style: italic;
   font-size: 24px;
   line-height: 28px;
    }

.entry-title a:hover {
   text-decoration: underline;
   }


/******************** Search Box ********************/


.searchform {
   margin: 0 0 20px 0;
   }

.searchform .search {
   font-family: arial, helvetica, tahoma, verdana, sans-serif;
   font-size: 12px;
   color: #666666;
   width: 150px;
   height: 18px;
   padding: 2px 2px 0px 2px;
   margin: -3px 4px 0 0;
   }

.search-btn {
   font-family: arial, helvetica, tahoma, verdana, sans-serif;
   font-size: 12px;
   color: #666666;
   width: 55px;
   height: 22px;
   padding: 1px 0 3px 0;
   margin: 0;
   }


/******************** Sidebar ********************/


.xoxo {
   margin-bottom: 0;
   }

#widget-brochure h3 {
   width: 215px;
   height: 97px;
   display: block;
   text-indent: -1999px;
   margin: -5px 0 10px 0;
   }

#widget-brochure h3 a {
   background: url('library/media/images/brochure.jpg') no-repeat;
   display: block;
   width: 100%;
   height: 100%;
   outline: none;
   }

#widget-brochure h3 a:hover {
   background-position: 0 -97px;
   }

#widget-careers h3 {
   width: 215px;
   height: 97px;
   display: block;
   text-indent: -1999px;
   margin-bottom: 10px;
   }

#widget-careers h3 a {
   background: url('library/media/images/careers.jpg') no-repeat;
   display: block;
   width: 100%;
   height: 100%;
   outline: none;
   }

#widget-careers h3 a:hover {
   background-position: 0 -97px;
   }

#widget-news p {
   border-bottom:1px dotted #808080;
   margin: 11px 0 -2px 0;
   padding: 0 0 8px 0;
   }

.widget-title {
   margin-bottom: 10px;
   }


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


.footer {
   background-image: url('library/media/images/footer-background.jpg');
   width: 959px;
   height: 40px;
   margin: 20px 0 -20px 0;
   padding: 0 0 0 1px;
   float: left;
   line-height: 1;
   }

.footer ul {
   float: left;
   list-style-type:none;
   margin: 0;
   padding: 0;
   }

.footer li {
   float: left;
   padding: 0;
   position: relative;
   }

.footer a {
   color: #FFFFFF;
   border-right: 2px groove #000000;
   border-right-color: #011b51;
   display: block;
   position: relative;
   padding: 14px 20px;
   }

.footer a:hover, .footer a:focus {
   background-image: url('library/media/images/nav-background-hover.jpg');
   text-decoration: none;
   }

#copyright {
   font-size: 10px;
   color: #FFFFFF;
   float: right;
   margin:16px 20px 0 0;
   }

#credit {
   width: 960px;
   margin: -30px auto 0px;
   padding: 0 35px 0 0;
   text-align: right;
   font-size: 10px;
   }
 

/******************** Headings ********************/


h1, h2, h3, h5, h6 {
   font-weight: normal;
   clear:both;
   }

h1 {
   font-size: 24px;
   line-height: 28px;
   padding: 5px 0px;
   }

h2 {
   font-family: Georgia, "Times New Roman", Times, serif; 
   font-size: 24px;
   line-height: 28px;
   color: #cb2128;
   font-style: italic;
   padding: 5px 0px;
   }

#primary h2 {
   clear: none;
   margin: 0px 0px 6px 0px;
   }

h3 {
   font-family: Georgia, "Times New Roman", Times, serif; 
   font-size: 24px;
   color: #ca2127;
   font-style: italic;
   padding: 5px 0px;
   }

h4 {
   font-family: Georgia, "Times New Roman", Times, serif; 
   font-size: 17px;
   color: #ca2127;
   }

h5 {
   font-size: 12px;
   line-height: 18px;
   padding: 5px 0px;
   }

h6 {
   font-size: 10px;
   line-height: 16px;
   }



/******************** Text Elements ********************/


address {
   font-style: italic;
   }

.subheading {
   color: #012263;
   font-size: 18px;
   line-height: 21px;
   margin-bottom:-10px;
   }

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-type: disc;
   }

ul ul {
   list-style-type: circle;
   }

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

dt {
   font-weight: bold;
   }

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


/******************** Links ********************/


a {
   color: #2361a1;
   text-decoration: none;
}

h2 a, h3 a {
   color: #CA2127;
   text-decoration: none;
}

h2 a:hover, h3 a:hover {
   text-decoration: underline;
}

a:hover {
   text-decoration: underline;
}

.entry-content a:link, .entry-content a:active, .entry-content a:visited {
   color: #2361a1;
}

.entry-content a:hover {
   text-decoration: underline;
}

.awesome{
   background: #222 url(/images/alert-overlay.png) repeat-x;
   display: inline-block;
   padding: 5px 10px 6px;
   margin-top: 8px;
   color: #fff;
   text-decoration: none;
   line-height: 1;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
   -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
   text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
   border-bottom: 1px solid rgba(0,0,0,0.25);
   position: relative;
   cursor: pointer;
}

.small.awesome {
   font-size: 12px;
}

.red.awesome {
   background-color: #CA2127;
}

.red.awesome:hover {
   background-color:#012263;
}



/******************** Vertical Rythm ********************/


.entry-meta {
   margin-bottom: 10px;
}

p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form, .gallery-row, .comment-list ul, .comment-list ol {
   margin-bottom: 20px;
}

.hentry, .widget, .comment, .navigation-links {
   margin-bottom: 10px;
}
.hentry {
   overflow:auto;
}



/******************** Tables ********************/


table {
   border: 1px solid #ccc;
   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;
   }

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

.chrome input {
   padding: 1px 3px;
   }


/******************** Comments ********************/


h3 #leave-a-reply {
   margin-bottom:10px;
   }

.comment-title {
   margin-bottom:10px;
   }

.comment-list, .comment-list .children {
   list-style: none;
   }

.comment-list {
   margin-left: 10px;
   }

.comment {
   margin-bottom: 20px;
   border-bottom: 1px #808080 dotted;
   }

.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%;
   }

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

.gallery-row, .navigation-links, .container, .menu {
   display: block; 
   }


/******************** 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; 
   }


/******************** Basic Alignments ********************/


.alignleft {
   float: left;
   }

.alignright {
   float: right; 
   }

.aligncenter {
   margin-left: auto; 
   margin-right: auto;
   display: block;
   clear: both;
   }



/******************** Contact Page ********************/


#addresses {
   width: 215px;
   float: left;
   }

#mappress0 {
   width: 450px;
   float: right;
   margin-top: 10px;
   }

#wpcf7-f1-p10-o1 {
   clear:both;
   }

.wpcf7-form h4 {
   margin-bottom: 15px;
   }

/******************** Site Map ********************/


.ddsg-wrapper li {
   list-style: none;
   margin-left: -25px;
   }












