/*
Theme Name: Ask Dave Taylor
Description: This Child theme modifies the default Jump Start theme.
Author: Angela Bowman - Moon Goose Designs and Ask WP Girl
Template: jumpstart
*/

/**
 * This is a starter child theme for all of you CSS-hackers.
 *
 * This file is a copy of Jump Start's default style.css
 * file that has been edited to give you an overall stretched layout.
 *
 * Because the Theme Blvd framework's core styles are contained
 * in other CSS files prior to style.css, you can safely hack away
 * here to skin your Child theme.
 *
 * @link http://dev.themeblvd.com/tutorial/css-hacking/
 *
 * Note: Because we are copying everything from Jump Start's
 * style.css into this style.css, there is no need to @import
 * Jump Start's style.css as you might do in a classic
 * WordPress Child theme.
 */

/* =Primary Design and Structure
----------------------------------------------- */

body {
	background: #0e3070 url('assets/images/bg-blue.jpg') no-repeat top center;
}
#top #branding,
#featured .featured-inner,
#main .main-inner,
#featured_below .featured_below-inner,
#footer_content .footer_content-inner,
#footer_sub_content {
	margin: 0 auto;
	max-width: 990px;
}


#content_wrapper { background: #bdbfc0 url('assets/images/noisy_grid.png') repeat; z-index: 2; }
.content_inner { background: #fff; border: 1px #ddd solid; max-width: 970px; margin: 0 auto; -webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75); }

/* =Global Elements and Typography
-------------------------------------------------------------- */


/* font-family: 'Open Sans', sans-serif;*/

html,
body {
	color: #666666;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 150%;
}
h1, h2, h3, h4, h5, h6, body h3.header {
	line-height: 130%;
	margin-bottom: .4em;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	color: #0e3070;	
	text-transform: uppercase;
}

h1 {
	font-size: 17px; /* Fallback for older browsers */
	font-size: 1.7rem;
}


h2.section, h3.related_posts_title, h3.widget-title, h1.page-title, body.archive h1.entry-title {
	background: url('assets/images/rule.png') repeat-x 0 1em transparent;
	color: #d50906;
}

h2.section { 	
	font-size: 17px; /* Fallback for older browsers */
	font-size: 1.7rem;	}

h2.section span, h3.widget-title span, h1.page-title span, body.archive h1.entry-title span { 
	background: url('assets/images/square.gif') no-repeat center right transparent;
	display: block; }

h2 {
	font-size: 14px; /* Fallback for older browsers */
	font-size: 1.45rem;
}

.entry-header h2.entry-title { padding-top: 20px; }

h3 {
	font-size: 12px; /* Fallback for older browsers */
	font-size: 1.2rem;
}


h4 {
	font-size: 14px; /* Fallback for older browsers */
	font-size: 1.1rem;
}
h5 {
	font-size: 13px; /* Fallback for older browsers */
	font-size: 1rem;
}
h6 {
	font-size: 11px; /* Fallback for older browsers */
	font-size: .85rem;
	color: #999999;
	text-transform: uppercase;
}
a {
	color: #0e3070;
	text-decoration: none;
}
a:hover,
.tb-text-logo:hover,
.entry-title a:hover,
a:focus,
.tb-text-logo:focus,
.entry-title a:focus {
	color: #666;
	text-decoration: underline;
}
p {
	margin-bottom: 1.38em;
}

.excerpt-text p.readmore { margin-bottom: 1.38em; text-align: right; font-weight: 600; font-size: 14px;
}

p.readmore a { color: #d50906; }

body.home .excerpt-text p, body.archive .excerpt-text p { margin-bottom: 0; }
body.home .excerpt-text p.readmore, body.archive .excerpt-text p.readmore { margin-bottom: 1.2em; }

/* =Content
----------------------------------------------- */

article {
	margin-bottom: 0;
	border-bottom: 1px dotted #666;
}

.grid-item article { border-bottom: 0; }

/* Titles */
.entry-title {
	margin: 0 0 10px 0;
}
.entry-title-with-meta {
	margin: 0;
}
.entry-title a {
	color: inherit;
	text-decoration: none;
}

/* Meta */
.entry-meta {
	color: #999999;
	font-size: 11px; /* Fallback for older browsers */
	font-size: .85rem;
	font-weight: bold;
	margin: 5px 2px 15px 2px;
}
.entry-meta [class^="icon-"] {
	padding-right: 5px;
}
.entry-meta .sep {
	color: #cccccc;
	font-weight: normal;
	padding: 0 7px;
}

/* Images */
img {
	max-width: 100%;
	height: auto;
}
img[class*="wp-image-"] {
	/* Style all inserted wp images. */
}
img.size-full {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size images in IE8 */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.featured-thumb { float: left; padding-right: 15px; margin-bottom: 1.25em; }
.featured-thumb.smaller { float: none; padding-right: 0; margin-bottom: 3px; max-width: 135px; height: auto;}

.thumb:after, .entry-content img:after {
	-webkit-transform:rotate(3deg);
	-moz-transform:rotate(3deg);
	-o-transform:rotate(3deg);
	-ms-transform:rotate(3deg);
	transform:rotate(3deg);
	-webkit-box-shadow:0 10px 5px rgba(0,0,0,0.3);
	-moz-box-shadow:0 10px 5px rgba(0,0,0,0.3);
	box-shadow:0 10px 5px rgba(0,0,0,0.3);
	height:9%;
	right:4%;
	width:70%;
	bottom:9px;
	z-index:-1;
	content:"";
	position:absolute;
}

.thumb:before, .entry-content img:before {
	-webkit-box-shadow:0 1px 15px rgba(0,0,0,0.2) inset,0 0 40px rgba(0,0,0,0.05) inset;
	-moz-box-shadow:0 1px 15px rgba(0,0,0,0.2) inset,0 0 40px rgba(0,0,0,0.05) inset;
	box-shadow:0 1px 15px rgba(0,0,0,0.2) inset,0 0 40px rgba(0,0,0,0.05) inset;
	display:block;
	height:100%;
	left:0;
	top:0;
	width:100%;
	z-index:3;
	content:"";
	position:absolute;
}

.thumb img {
	display:inline-block;
	max-width:100%;
	height:auto;
	width:auto;
	
}

.thumb { 	
	position:relative;
	z-index:2;
	display:inline-block;
	max-width:100%;}
	
.entry-content img  { z-index: 2; position: relative;}

// CSS hacked by Dave Taylor for 336px wide AdSense ad block
// was this: .content-ad { float: left; width: 300px; max-width: 300px; background: #ccc; margin-right: 4%;display: block; } 

.content-ad { float: left; width: 336; max-width: 336; background: #ccc; margin-right: 4%;display: block; }

.below-post { }

.excerpt-text  { font-size: 1em; font-weight: 300; color: #464646;	font-family: 'Roboto', sans-serif;
}

body.single .excerpt-text { font-size: 1.3em; line-height: 140%;  }

.tags { display: block; margin-bottom: 10px;}

.widget.google-search-sidebar input[type="text"] { margin-bottom: 0; }
.widget.google-search-sidebar input[type="submit"] { margin-bottom: 0; }


.fixed-sidebar .widget.google-search-sidebar {
    margin: 25px 0 0;
}



/* =Top
-------------------------------------------------------------- */

#top {
	background: transparent;
	position: relative;
}
#header_content {
	padding: 20px 0 0 0;
}

.google-search-header input[type="text"], .google-search-header input[type="submit"]  { margin-bottom: 0; }
.tb-image-logo { float: left;}
.themeblvd-contact-bar { float: right; padding-bottom: 7px;}

.social-media { float: right; max-width: 225px; width: 225px; margin-top: 15px; }

.themeblvd-contact-bar li a, .themeblvd-contact-bar ul.social-media-grey li a  {
    background-image: url("assets/images/social-media-branded_24x24.png");
}

.themeblvd-contact-bar li {
    float: left;
    list-style: none outside none !important;
    padding: 3px;
}

/* Primary Navigation */

#main-menu { -webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 5px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px 5px 5px rgba(50, 50, 50, 0.75);       0px 5px 5px rgba(50, 50, 50, 0.75);
z-index: 3;
display: block; position: relative;}
#access {
	background: #ff3019; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff3019 0%, #cf0404 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff3019 0%,#cf0404 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff3019 0%,#cf0404 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */

	border-bottom: 1px solid #dddddd;
		border-top: 1px solid #dddddd;

	border-bottom: none; /* .internal-wrapper has border all the way around, which happens directly after the main menu. */
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	
	
}

.access-inner { max-width: 970px; margin: 0 auto;}

/* Level 1-3 */
#primary-menu li a {
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-weight: 400;
}
#primary-menu li a .sf-sub-indicator {
	color: #999999; /* Because we're using fontawesome for the icons, we can change the color here. */
}

/* Level 1 only */
#primary-menu > li {
	border-right: solid 1px #dddddd;
}
#primary-menu > li > a {
	line-height: 40px; /* Shapes the HEIGHT of the 1st level anchors */
	padding: 0 20px;
}
#primary-menu > li:first-child > a {
	/* Round left corners of first anchor */
	-webkit-border-top-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	border-top-left-radius: 3px;
}
#primary-menu > li.current_page_item > a {
	/* Style current active menu item on 1st level */
	background: #464646;
}
#primary-menu > li.current-menu-ancestor > a {
	/* Style current parent menu item present on 1st level */
}
#primary-menu > li > a.sf-with-ul {
	/* If a top-level menu item has a dropdown, reduce its right padding. */
	padding-right: 12px;
}
#primary-menu > [class^="menu-icon-"] > a {
	/* If a top-level menu item has a an icon, reduce its left
	padding. You can add icons to main menu by adding class "menu-icon-{whatever}" */
	padding-left: 12px;
}
#primary-menu > li > a:hover {
	background: #464646;
}

/* Level 2 and 3 */
#primary-menu ul {
	background: #d1d6d3;
	border: 1px solid #dddddd;
	width: 200px; /* Width of dropdown menus */
}
#primary-menu li li a {
	padding: 7px 10px;
	color: #0e3070;
}
#primary-menu li li a:hover {
	background: #999;
}
#primary-menu li li.nav-header {
	color: #888888; /* Slightly lighter color than links */
	font-size: .9em; /* Font size is 90% of everything else to componsate for being bold and uppercase */
	font-weight: bold;
	padding: 7px 10px;
	text-transform: uppercase;
}
#primary-menu li li.divider {
	background-color: #dddddd; /* Color of deviders */
	border-bottom: none; /* Override Bootstrap's default 1px white bottom border */
}

/* Level 2 only */
#primary-menu > li > ul {
	border-top: none;
	margin-left: -1px; /* Shifts dropdowns to the left 1px so they line up with left borders. */
	margin-top: 1px;
}

/* Level 3 only */
#primary-menu ul ul {
	left: 200px; /* Matches width of dropdown menus */
}

/* Make sure graphic nav shows when expanding window back from tablet size */
@media (min-width: 980px) {
	#access {
		height: auto !important;
		overflow: visible !important;
	}
}


/* =Home Page Styling
-------------------------------------------------------------- */
.element-post_grid_slider h2 { text-transform: none; font-size: 11px; }
.featured-slider .textwidget { background: #0e3070; height: 260px; overflow: hidden; }
.featured-slider h3.widget-title { margin-bottom: 0; }
.featured-slider, .featured-slider a { color: #fff; }


.standard-slider-wrapper .slides-wrapper, .tb-nivo-slider-wrapper .slides-wrapper {
    background: none repeat scroll 0 0 #fff;
    border-radius: 0;
    min-height: 100px;
    }

.tb-post-grid-slider .slides-wrapper {
    padding: 0 0 20px 0;
}


.element {
    clear: both;
    padding-bottom: 0;
}
/* =Featured (above)
-------------------------------------------------------------- */

#featured {
	border-bottom: 1px solid #eeeeee;
	padding: 20px;
}

/* =Main
-------------------------------------------------------------- */

#main {
	padding: 0;
}

#breadcrumbs, .main-bottom { padding: 20px; }
#sidebar_layout { padding: 0 20px; }


.main-bottom .textwidget { width: 730px; max-width: 730px; margin: 0 auto;  }

/* =Featured (below)
-------------------------------------------------------------- */

#featured_below {
	border-bottom: 1px solid #eeeeee;
	padding: 20px;
}

/* =Posts (general)
----------------------------------------------- */

/* No style mods */

/* =Page
----------------------------------------------- */

/* No style mods */

/* =Post List
----------------------------------------------- */

/* No style mods */

/* =Post Grid
----------------------------------------------- */

.post_grid .entry-title {
	font-size: 14px; /* Fallback for older browsers */
	font-size: 1rem;
	line-height: 1.2em;
}

/* =Comments
----------------------------------------------- */

/* Comment List */
#comments li {
	margin: 5px 0;
}
#comments-title {
	padding: 0 10px;
}
#comments .commentlist {
	margin-bottom: 30px;
}
#comments .comment-body {
	border: 1px solid #dddddd;
	padding: 15px;
	padding-left: 83px;
	position: relative;
}
#comments .comment-body .avatar {
	position: absolute;
	top: 15px;
	left: 15px;
}
#comments .comment-author {
	line-height: 100%;
}
#comments .comment-body .says {
	display: none;
}
#comments .comment-body .comment-meta {
	margin-bottom: 10px;
}
#comments .comment-body .comment-meta a {
	color: #9e9e9e;
	font-family: Georgia, serif;
	font-size: 11px; /* Fallback for older browsers */
	font-size: .85rem;
	font-style: italic;
}
#comments .comment-body .fn {
	display: block;
	font-style: normal;
	font-weight: bold;
	margin-top: 5px;
}
#comments .comment-body p {
	margin-bottom: 30px;
}
#comments .comment-body .reply a {
	position: absolute;
	right: 5px;
	bottom: 5px;
}
#comments .comment-body .reply a:hover,
#comments .comment-body .reply a:focus {
	background: #dddddd;
}

/* Admin Comment */
#comments .bypostauthor > .comment-body,
#comments .bypostauthor > .comment-body .reply a {
	/* None in this theme */
}
#comments .bypostauthor > .comment-body .reply a:hover,
#comments .bypostauthor > .comment-body .reply a:focus {
	/* None in this theme */
}

/* Top Level */
#comments ol {
	list-style: none;
	margin: 0;
}

/* Children */
#comments ul.children {
	border-left: 1px solid #e9e9e9;
	list-style: none;
	margin: 10px 0 10px 15px;
	padding: 10px 0 10px 20px;
}

/* Comment Form */
.comment-form-wrapper {
	margin-bottom: 30px;
}
#reply-title {
	margin: 10px 0;
}
#commentform input[type=text] {
	margin-right: 10px;
	width: 40%;
}
#commentform textarea {
	width: 98%;
}
#commentform label {
	display: inline-block;
}
#commentform .form-submit {
	margin: 10px 0;
}
#commentform .form-allowed-tags {
	display: none;
}

/* =Widgets
----------------------------------------------- */

.widget ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.widget ul li {
	padding: 3px 0;
}

/* Widgets in columns element and fixed sidebars */
.fixed-sidebar .widget {
	margin: 0 0 30px 0;
}

/* Collapsible Widget Areas */
.widget-area-collapsible .widget {
	padding: 10px 0;
}

.coffee, .topics { display: block; margin: 10px 0; background-position: 0 100%;
	background-repeat: repeat-x;
	background-color: #eff0f2;
	border: 1px solid #E5E5E5;
	color: #666666;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	display: block;
	margin:30px 0;
	padding: 15px 17px;
	position: relative;
	}

/* =Bottom
----------------------------------------------- */

/* Footer Columns */
#footer_content {
	padding: 30px 19px; /* 19px to compensate for 1px border around #internal-wrapper */
	color: #fff;
}

#footer_content a { color: #ccc; }

/* Copyright */
#footer_sub_content {
	color: #fff;
	font-size: 11px; /* Fallback for older browsers */
	font-size: .85rem;
	padding: 20px;
	text-align: center;
}
#footer_sub_content .footer-nav ul {
	margin: 0;
}
#footer_sub_content .footer-nav li {
	display: inline-block;
	list-style: none;
	padding: 0 5px;
}

/* =Layout Builder
----------------------------------------------- */

/* General Elements */
.element {
	/* Style all elements in custom layouts. */
}
.last-element {
	padding-bottom: 0;
}
.element-columns {
	/* Style the "Columns" element. */
}
.element-content {
	/* Style the "Content" element. */
}
.element-divider {
	/* Style the "Divider" element. */
}
.element-headline {
	/* Style the "Headline" element. */
}
.element-post_grid_paginated {
	/* Style the "Post Grid (paginated)" element. */
}
.element-post_grid {
	/* Style the "Post Grid" element. */
}
.element-post_grid_slider {
	/* Style the "Post Grid Slider" element. */
}
.element-post_list_paginated {
	/* Style the "Post List (paginated)" element. */
}
.element-post_list {
	/* Style the "Post List" element. */
}
.element-post_list_slider {
	/* Style the "Post List Slider" element. */
}
.element-slider {
	/* Style the "Slider" element. */
}
.element-slogan {
	/* Style the "Slogan" element. */
}
.element-tabs {
	/* Style the "Tabs" element. */
}
.element-tweet {
	/* Style the "Tweet" element. */
}

/* Elements by location */
#featured .element {
	/* Style elements of a custom layout
	in the featured area ABOVE the content. */
}
#main .element {
	/* Style elements of a custom layout
	in the main content area. */
}
#featured_below .element {
	/* Style elements of a custom layout
	in the featured area BELOW the content. */
}

/* =Optimized for Small Displays
------------------------------------------------- */

@media (max-width: 969px) {

.google-ad-top { display: none;}

}


@media (max-width: 969px) {

	/*.primary-element-1, .primary-element-2, .primary-element-3, .main-bottom  { display: none; }*/

}

/* =Optimized for Tablets
------------------------------------------------- */

@media (max-width: 768px) {

	/* Primary Structure */
	#top #branding,
	#featured .featured-inner,
	#main .main-inner,
	#featured_below .featured_below-inner,
	#footer_content .footer_content-inner,
	#footer_sub_content {
		margin: 0 auto;
		max-width: 768px;
	}
	#top {
		padding: 0;
	}
	#featured,
	#main,
	#featured_below {
		padding: 0;
	}
	
	#breadcrumbs, #sidebar_layout, .main-bottom {
    padding:0 20px;
	}

	/* Header */
	#branding .header_logo {
		float: none;
		text-align: center;
	}
	
	.tb-image-logo { float: none;}

	.social-media { float: none; text-align: center; margin: 0 auto;}
	
	.themeblvd-contact-bar {
    float: none;
    margin: 0 auto;
	}
	
	/* Content */
	

	/* Primary Navigation */
	#access {
		border-right: none;
		border-radius: 0;
		display: none;
	}
	#access li {
		float: none;
		padding: 0;
	}
	#access #primary-menu > li:first-child > a {
		-webkit-border-radius: 3px;
		-webkit-border-bottom-right-radius: 0;
		-webkit-border-bottom-left-radius: 0;
		-moz-border-radius: 3px;
		-moz-border-radius-bottomright: 0;
		-moz-border-radius-bottomleft: 0;
		border-radius: 3px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
	}
	#access li li a {
		padding-left: 20px;
	}
	#access li li li a {
		padding-left: 30px;
	}
	#access .sf-menu ul {
		border: none;
		margin: 0;
		position: static;
		width: auto;
	}
	#access .sf-menu ul .sf-sub-indicator.icon-caret-right {
		position: static;
		right: inherit;
	}
	#access .sf-menu ul .sf-sub-indicator.icon-caret-right:before {
		content: "\f0d7";
	}
	.btn-navbar {
		background: #ffffff;
		border: 1px solid #dddddd;
		border-bottom: none;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-top-right-radius: 3px;
		-moz-border-radius-topleft: 3px;
		-moz-border-radius-topright: 3px;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
		color: #666666;
		display: inline-block;
		outline: none;
		margin-left: 10px;
		padding: 4px 10px;
	}

}

/* =Optimized for Mobile Devices
------------------------------------------------- */

@media (max-width: 767px) {

	/* Primary Structure */
	#top #branding,
	#featured .featured-inner,
	#main .main-inner,
	#featured_below .featured_below-inner,
	#footer_content .footer_content-inner,
	#footer_sub_content {
		margin: 0 auto;
		max-width: 767px;
	}
	#top {
		padding: 0 30px;
	}
	#featured,
	#main,
	#featured_below {
		padding: 20px 0;
	}

	/* Typography */
	h1 {
		font-size: 24px; /* Fallback for older browsers */
		font-size: 1.85rem;
		line-height: 1.3em;
	}

	/* Builder - Slogan */
	.element-slogan .has_button .btn-large {
		display: block;
		float: none;
		margin: 0 0 10px 0;
	}
	.element-slogan .slogan .slogan-text {
		display: block;
		font-size: 17px; /* Fallback for older browsers */
		font-size: 1.3rem;
		text-align: center;
	}

	/* Builder - Divider */
	.divider-shadow {
		background-size:100%;
	}

	/* Posts */
	.attachment-small {
		width:40%;
	}

	/* Comments */
	#comments {
		font-size: 11px; /* Fallback for older browsers */
		font-size: .85rem;
	}
	#comments .comment-body {
		padding: 2px 10px;
	}
	#comments .comment-author,
	#comments .comment-meta {
		padding-left: 35px;
	}
	#comments .comment-body .avatar {
		top: 5px;
		left: 5px;
		width: 30px;
		height: 30px;
	}
}
