/*

Theme Name: Affordable Funeral Directors
Description: Custom built theme.
Version: 1.0

License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html


Based off (roughly) Ghostwriter. Heavily modified, but credit to Bruno Cavalcante! Thanks!

*/


/* Float Fix */
#content:after, #header:after, #pagination ul:after, #nav ul:after, .entry-content:after, #footer:after, .entry-content p:after {
	content:".";
	clear:both;
	display:block;
	overflow:hidden;
	visibility:hidden;
	height:0
	}


/* HTML5 elements */
article, aside, dialog, figure, figcaption, footer, header, hgroup, nav, section, small {
	display: block
	}


/* Basic */
body {
	color: #333;
	font: 1em/1.5em "Palatino Linotype", "Book Antiqua", Palatino, serif;
	/* background: url("images/bg-body.png") repeat-x 0 0 #FFF;*/
	background: #FFF;
	margin: 0
	}

h1, h2, h3, h4, h5, h6 {
	/*letter-spacing: -1px;*/
	font-family: 'Open Sans Condensed', sans-serif;
	/*font-weight: normal;*/
	color: black;
	/* text-shadow: 1px 1px grey;*/
	}

h1, h2, h3 {
	font-style: italic
	}

h1 {
	font-size: 2.5em
	}

h2 {
	font-size: 2em;
	line-height: 1.1em;
	text-align: left;
	margin: 0
	}

h3 {
	font-size: 1.75em
	}

img {
	/* border: 5px solid white */
	}

img.wp-smiley {
	border: none
	}

p, .published {
	margin: 0.75em 0
	}

a {
	color: #0052cd;
	text-decoration: none;
	}

a:hover {
	color: #0061f2;
	text-decoration: underline
	}

a img {
    border: none;
}

/* Structure */
#header {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	background-color: #23577b;
	margin-bottom: 2em;
	/* padding-bottom: 0.5em;*/
	padding-top: 1em;
	/* border-bottom: 1px solid #cecece;*/
}

#content {
	width: 960px;
	margin: 0 auto
	}

#page {
	float: left;
	width: 640px
	}

#sidebar {
	float: right;
	width: 260px
	}

.category-title, .tag-title, .search-title, .archive-title {
	margin-bottom: 1em
	}


/* Header */
#fdanz-logo img {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 300;
}

#header h1 {
	margin: auto;
	/* float: left;*/
	text-align: center;
	line-height: normal
	}

#site-description {
	display: block;
	float: left;
	color: #555;
	clear: both;
	font-style: italic;
	text-shadow: 1px 1px white;
	line-height: normal
	}

#logo-area {
	width: 960px;
	display:inline-block;
	/*padding-left: 20px;*/
	margin: auto;
    padding-top: 10px;
	}

#nav-area {
	width: 100%;
	padding-top: 15px;
	padding-bottom: 2px;
	margin: 10px 0 0 0;
	border-bottom: 1px solid #082031;
	}

#nav {
	margin: 0;
	display:inline-block;
	padding: 0;
	}

#nav ul {
	text-align: center;
	list-style-type: none;
	margin: 0;
	padding: 0;
	}

#nav li {
	float: left;
	margin-right: 3px;
	}

#nav li a {
	text-transform: uppercase;
	/* letter-spacing: 0.2em;*/
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	font-size: 0.85em;
	color: white;
	text-decoration: none;
	background-color: #2d71a0;
	padding: 10px 20px;
	line-height: 1em;
	/* border-bottom: 1px solid white;*/
	/* -moz-border-radius: 5px;
	border-radius: 5px; */
	}

#nav li.current_page_item a {
	color: #414141;
	background-color: white;
	border-top: 1px solid #082031;
	border-left: 1px solid #082031;
	border-right: 1px solid #082031;
	border-bottom: 1px solid white;
	}

#nav li a:hover {
	background-color: #5f5f5f;
	color: white;
	text-decoration: none
	}

#nav li.current_page_item a:hover {
	color: #414141;
	background-color: white;
	}

/*#nav li a:hover {

	}*/

/* #nav .rss {
	border-left: 1px solid #2A5785;
	padding-left: 1.5em
	}

#nav .rss a {
	display: block;
	background: url(images/icon_rss.png) no-repeat 100% 50%;
	padding-right: 22px
	}*/


/* Sidebar */
#sidebar ul {
	list-style-type: none;
	padding: 0;
	margin: 0
	}

#sidebar h2 {
	text-align: left;
	font-size: 1.75em;
	margin-bottom: 0.4em
	}

#sidebar ul li ul {
	margin: 0.75em 0 0.75em 1em;
	list-style-type: circle
	}

#sidebar ul li ul.children {
	margin: 0 0 0 1em
	}

#sidebar .widget {
	margin-bottom: 2em
	}

.widget_search form {
	margin: 0.75em 0
	}

.widget_search #s {
	display: block;
	padding: 0.25em 0.5em
	}

.widget_search #searchsubmit {
	margin: 0.5em 0 0;
	padding: 0.5em 1em
	}

#sidebar img {
	height: auto;
	width: auto;
	max-width: 230px
	}

/* How We Can Help page */

.howwehelpalignleft {
    position: relative;
	/* width: 50%;*/
	float: left;
	width: 430px;
    margin-right: 30px;
	}

.howwehelpalignright {
	position: relative;
	float: right;
	width: 430px;
    margin-left: 30px;
	/*padding: 20px;
	background-color: #CCC;
	border-left: 1px solid #000000;*/
	}

.howwehelp-image {
    width: 139px;
    padding-top: 15px;
    margin-right: 20px;
    display: block;
    float: left;
}

.howwehelp-content {
    width: 271px;
    display: block;
    float: right;
}

.howwehelp-content h3 {
    margin-bottom: 20px;
}

.howwehelp-content p {
    margin-top: 0;
    margin-bottom: 0;
}

.howwehelp-container {
    padding-bottom: 15px;
    border-bottom: #ccc 1px solid;
}

.page-id-13 .entry-content {
	zoom: 1;
	padding: 0;
}


/* Contact page */

div.contact-wrapper {
	width: 100%;
}

div.contactalignleft {
	/* width: 50%;*/
	float: left;
	margin-right: 1.5em
	}

div.contactalignright {
	width: 320px;
	float: right;
	margin: 0;
	/*padding: 20px;
	background-color: #CCC;
	border-left: 1px solid #000000;*/
	}


/* Footer */
#footer {
	width: 100%;
	clear: both;
	color: #777;
	font-size: 0.8em;
	padding: 1em 0 3em;
	margin: 0 auto;
	border-top: 1px solid #DFDFDF;
	zoom: 1;
	background-color: #f5f5f5;
	text-align: center;
	}

#footer-area {
	width: 960px;
	margin: 0 auto;
}

#site-info {
	float: left;
	width: 100%;
	text-align: center;
	padding-left: 20px;
	/* float: left*/
	}

#site-generator {
	float: right
	}


/* Hero image*/
.entry-header {
   position: relative;
   width: 100%; /* for IE 6 */
}

h2.entry-title {
   position: absolute;
   top: 100px;
   /* left: 0px;*/
   width: 100%;
   text-align: center;
}

h2.entry-title span {
	color: black;
	font: normal 50px/50px 'Open Sans Condensed', sans-serif;
	letter-spacing: -1px;
	background: rgb(255, 255, 255); /* fallback color */
	background: rgba(255, 255, 255, 0.4);
	padding: 10px 20px;
	text-shadow: -1px 1px white;
}


/* Content */
h1 a, h2 a {
	text-decoration: none
	}

h1 a:hover, h2 a:hover {
	text-decoration: underline
	}

article {
	margin-bottom: 2em
	}

#pagination {
	margin: 0.75em 0 2em
	}

#pagination ul {
	list-style-type: none;
	margin: 0;
	padding: 0
	}

#pagination li {
	display: inline;
	float: left
	}

#pagination .next {
	float: right
	}

.postExtras {
	margin: 1em 0
	}


/* Post */
.published {
	color: #595959;
	display: block;
	font-size: 1em;
	letter-spacing: 0.3em;
	text-align: left;
	ext-transform: uppercase
	}

.published a {
	color: #595959;
	text-decoration: none
	}

.published a:hover {
	text-decoration: underline
	}

.entry-content {
	zoom: 1;
	padding: 0px 120px 0px 120px;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-style: normal;
	font-weight: normal;
	margin: 0.75em 0 0.4em 0;
	}

.entry-content h1 {
	font-size: 1.75em
	}

.entry-content h2 {
	text-transform: uppercase;
	letter-spacing: -1px;
	color: #454952;
	font-size: 1.5em;
	text-align: left;
	padding-top: 1em;
	padding-bottom: 0;
	border-top: 1px solid #cecece;
	}

.entry-content h2:first-child {
	padding-top: 0;
	border-top: 0;
	}

.entry-content h3 {
	font-size: 1.25em
	}

.entry-content h4 {
	font-size: 1.10em
	}

.entry-content h5 {
	font-size: 1em
	}

.entry-content h6 {
	font-size: 0.9em
	}

.entry-content p, .entry-summary p {
	text-align: left;
	zoom: 1
	}

.entry-content pre, .entry-content code {
	overflow-y: auto
	}

.entry-content img {
	height: auto;
	width: auto;
	max-width: 640px
	}

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

.wp-caption {
	background: white
	}

.wp-caption img {
	margin-bottom: 0
	}

.wp-caption, .gallery-caption {
	color: #555;
	font-size: 0.8em;
	line-height: 1.25em
	}

.wp-caption .wp-caption-text {
	margin-top: 0;
	background: white;
	padding: 0 5px 5px
	}

.alignleft, .alignright {
	margin-bottom: 1em
	}

.alignleft {
	float: left;
	display: inline;
	margin-right: 1.5em
	}

.alignright {
	float: right;
	display: inline;
	margin-left: 1.5em
	}

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

.entry-content .attachment {
	text-align: center
	}

.textfield_effect {
/*we will first set the border styles.*/
	border-width: 1px;
	border-style: solid;
	border-color: #999999;
/*we are now going to add in the shadow image that we created earlier*/
	/*background-image: url(back_field.gif);
	background-repeat: repeat-x;*/
	background-color: #f5f5f5;
/*I am going to add some text formatting of my own*/
	font: 1.2em/1.5em "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #555;
	width: 350px;
	height: 30px;
	padding-left: 10px;
	margin-bottom: 10px;
}
/*we are now going to style how the textfield will look when we
hover over it and when we actually have it selected*/
.textfield_effect:hover {
	border-color: #64acd8;
	border-width: 1px;
}

.textfield_effect:focus {
	border-color: #64acd8;
	border-width: 1px;
}

.submit_button {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b6d14c), color-stop(100%,#83a01c));
    background: -moz-linear-gradient(center top, #b6d14c 0%, #83a01c 100%);
    -webkit-box-shadow: 0px 1px 0px 0px #d1f25a inset, 0px -1px 0px 0px #99bc27 inset, 0px 2px 2px 0px #d4d4d4;
    -moz-box-shadow: 0px 1px 0px 0px #d1f25a inset, 0px -1px 0px 0px #99bc27 inset, 0px 2px 2px 0px #d4d4d4;
    box-shadow: 0px 1px 0px 0px #d1f25a inset, 0px -1px 0px 0px #99bc27 inset, 0px 2px 2px 0px #d4d4d4;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    text-shadow: 0px 1px 0px #789b1f;
    padding: 10px 20px;
    display: block;
    border-color: #97b134;
    border-width: 1px;
    border-style: solid;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1em;
	text-transform: uppercase;
    color: #FFFFFF;
}
.submit_button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbda4c), color-stop(100%,#83a01d));
    background: -moz-linear-gradient(center top, #bbda4c 0%, #83a01d 100%);
}
.submit_button:active {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#83a01d), color-stop(100%,#a7c248));
    background: -moz-linear-gradient(center top, #83a01d 0%, #a7c248 100%);
    -webkit-box-shadow: 0px 1px 0px 0px #a3c229 inset;
    -moz-box-shadow: 0px 1px 0px 0px #a3c229 inset;
    box-shadow: 0px 1px 0px 0px #a3c229 inset;
}


/* fieldset {
	border: 0;
	padding: 0;
}

label {
	color: red;
}

.input {
	border: 1px solid #006;
}*/

.form-lab {
	padding-left: 3px;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1em;
	color: #999;
	padding-top: 10px;
}

.form-lab-first {
	padding-left: 3px;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1em;
	color: #999;
	padding-top: 0px;
}

.row-class {
	padding: 0px;
}

.form-submit input {
	padding: 0.5em 1em
	}


/* Basic Widgets */
#wp-calendar {
	width: 100%
	}

/* blockquote {
	color: red;
	padding-top: 1em;
	padding-bottom: 0;
	border-top: 1px solid #cecece;
	}

blockquote:first-child {
	padding-top: 0;
	border-top: 0;
	}*/

blockquote {
	background: white url(images/quote-mark-38x30.png) no-repeat scroll 10px 20px;
	border-bottom: 2px solid #EBEAE9;
	border-top: 1px solid #EBEAE9;
	clear: both;
	margin: 20px 0 15px;
	padding:10px 20px 10px 60px;
}

p.homeintro {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 2em;
	line-height: 1em;
	color: #999;
}
#page-promos-clear {
	clear:both;
	display:block;
	height: 10px;
}

#page-promos {
	clear:both;
	display:block;
	margin-left: 120px;
	margin-top: 20px;
}

#page-promos ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	}

#page-promos li {
	text-align: left;
	float: left;
	width: 226px;
	height: 100px;
	margin-right: 21px;
	margin-bottom: 21px;
	background-color: #2d71a0;
	padding-left: 10px;
	padding-top: 20px;
	border: 1px solid #d8d8d8;
}

#page-promos li.page_item.page-item-6 {
	background-image: url('images/home/why-250x130.jpg');
}

#page-promos li.page_item.page-item-7 {
	background-image: url('images/home/services-250x130.jpg');
}

#page-promos li.page_item.page-item-10 {
	background-image: url('images/home/talk-250x130.jpg');
}

#page-promos li.page_item.page-item-13 {
	background-image: url('images/home/how-250x130.jpg');
}

#page-promos li.page_item.page-item-15 {
	background-image: url('images/home/contact-250x130.jpg');
}

#page-promos li.page_item.page-item-18 {
	background-image: url('images/home/testimonials-250x130.jpg');
}

#page-promos li a {
	/*text-transform: uppercase;*/
	/* letter-spacing: 0.2em;*/
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;

	/* letter-spacing: -1px; */
	background: rgb(255, 255, 255); /* fallback color */
	background: rgba(255, 255, 255, 0.7);
	padding: 5px 10px;
	text-shadow: -1px 1px white;

	font-size: 1.1em;
	color: #2a436a;
	text-decoration: none;
	line-height: 1em;
	/* border-bottom: 1px solid white;*/
	/* -moz-border-radius: 5px;
	border-radius: 5px; */
}


#page-promos li a:hover {
	color: rgb(0, 82, 205);
	background: rgb(215, 231, 255); /* fallback color */
	background: rgba(215, 231, 255, 0.7);
}

.page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	width: 100%;
}

.page .gform_wrapper .gform_footer {
	margin: 0;
}
