/*
Theme Name: Streetstrider Boxed Child Theme
Description: A Jump Start Child theme that modifies the default theme to have an overall boxed layout.
Author: רועי אייל
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 boxed 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: url("assets/images/pw_maze_blue.jpg") repeat scroll 0 0 #BCCAD3;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
  /* Retina-specific stuff here */
	body {
		background: url("assets/images/pw_maze_blue_@2X.jpg") repeat scroll 0 0 #BCCAD3;
	}
}
#wrapper {
	/*padding: 0 10px; /* Maintain gutters on sides as window shrinks */
}
#container {
	margin: 0 auto;
	/*max-width: 980px; /* 1 + 19 + 940 + 19 + 1 = 1,000px */
}
#internal-wrapper {
	background: none repeat scroll 0 0 #F2F2F2;
	border: 1px solid #dddddd;
	margin-bottom: 40px;
	/* Added */
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
	margin: 0 auto;
    max-width: 980px;
}

#header_content {/* Added */
	margin: 0 auto;
    max-width: 980px;
}
/* =Global Elements and Typography
-------------------------------------------------------------- */

body {
  color: #666666;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 150%;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 130%;
	margin-bottom: .04em;
}
h1 {
	font-size: 2.0em;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.24em;
}
h4 {
	font-size: 1.1em;
}
h5 {
	font-size: .92em;
}
h6 {
	font-size: .85em;
	color: #999999;
	text-transform: uppercase;
}
a {
	color: #A51E22;
	text-decoration: none;
}
a:hover,
.tb-text-logo:hover,
.entry-title a:hover {
	color: #E03627;
	text-decoration: none;
}
p {
	margin-bottom: 1.38em;
}

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

article {
	margin-bottom: 40px;
}

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

/* Meta */
.entry-meta {
	color: #999999;
	font-size: .90em;
	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;
}

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

#top {
	position: relative;
	/* Added */
	background:#F2F2F2;
}
#header_content {
	padding: 50px 0 20px 0;
}

/* Text Logo */
.header_logo_text {
	padding: 0 15px;
}
.header_logo_text .tb-text-logo {
	font-size: 2.3em;
	margin: 0;
}
.header_logo_text .tb-text-logo a {
	color: inherit;
}
.header_logo_text .tagline {
	color: #888888;
	font-style: italic;
	font-size: 1em;
}

/* Primary Navigation */
.access-inner {/* Added */
	margin: 0 auto;
    max-width: 980px;
	border: 1px solid #A51E22;
	/*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 {/*E03627 - A51E22*/
background: rgb(224,54,39);
background: -moz-linear-gradient(top,  rgba(224,54,39,1) 0%, rgba(165,30,34,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,54,39,1)), color-stop(100%,rgba(165,30,34,1)));
background: -webkit-linear-gradient(top,  rgba(224,54,39,1) 0%,rgba(165,30,34,1) 100%);
background: -o-linear-gradient(top,  rgba(224,54,39,1) 0%,rgba(165,30,34,1) 100%);
background: -ms-linear-gradient(top,  rgba(224,54,39,1) 0%,rgba(165,30,34,1) 100%);
background: linear-gradient(to bottom,  rgba(224,54,39,1) 0%,rgba(165,30,34,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e03627', endColorstr='#a51e22',GradientType=0 );
}

/* Level 1-3 */
#primary-menu li a {
	color: #FFFFFF;
}
#primary-menu li a .sf-sub-indicator {
	color: #FEFEFE; /* Because we're using fontawesome for the icons, we can change the color here. */
}

/* Level 1 only */
#primary-menu > li {
	border-right: solid 1px #E03627;
}
#primary-menu > li > a {
	line-height: 40px; /* Shapes the HEIGHT of the 1st level anchors */
	padding: 0 20px;
	text-shadow:0 -1px 0 #A51E22;/* Added */
}
#primary-menu > li.current_page_item > a {
	/* Style current active menu item on 1st level */
	background: #E03627;
}
#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: #E03627;
}

/* Level 2 and 3 */
#primary-menu ul {
	background: none repeat scroll 0 0 #A51E22;
	border: 1px solid #dddddd;
	width: 200px; /* Width of dropdown menus */
}
#primary-menu li li a {
	padding: 7px 10px;
}
#primary-menu li li a:hover {
	background: none repeat scroll 0 0 #E03627;
}
#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: 41px; /* Matches line-height of first level's anchors plus 1px for menu wrapper's bottom border, which positions the dropdown at the base of the anchors. */
}

/* 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: 801px) {
	#access {
		height: auto !important;
		overflow: visible !important;
	}
}

/* =Featured (above)
-------------------------------------------------------------- */

#featured {
	border-bottom: 1px solid #eeeeee;
	padding: 20px 19px; /* 19px to compensate for 1px border around #internal-wrapper */
}
	
/* =Main
-------------------------------------------------------------- */

#main {
	border-bottom: 1px solid #eeeeee;
	padding: 20px 19px; /* 19px to compensate for 1px border around #internal-wrapper */
}

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

#featured_below {
	border-bottom: 1px solid #eeeeee;
	padding: 20px 19px; /* 19px to compensate for 1px border around #internal-wrapper */
}

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

/* No style mods */

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

/* No style mods */

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

/* No style mods */

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

.post_grid .entry-title {
	font-size: 15px;
	line-height: 22px;
}

/* =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: .9em;
	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 {
	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 {
	/* 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;
}
.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;
}

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

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

/* Copyright */
#footer_sub_content {
	color: #888888;
	font-size: .9em;
	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. */
}

/* =Small Desktops
------------------------------------------------- */

@media (max-width: 1000px) {
	#access li {
		border-right: none;
	}
}

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

@media (max-width: 768px) {	

	/* Header */
	#branding .header_logo {
		float: none;
		text-align: center;
	}
	
	/* Primary Navigation */
	#access {
		display: none;
	}
	#access li {
		float: none;
		padding: 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: 5px;
		padding: 4px 10px;
	}

}

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

@media (max-width: 515px) {
	
	/* Primary Structure */
	#container {
		padding: 0 5px;
	}
	
	/* Typography */
	h1 {
	  font-size: 24px;
	  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: 1.3em;
		text-align: center;
	}

	/* Builder - Divider */
	.divider-shadow {
		background-size:100%;
	}
	
	/* Posts */
	.attachment-small {
		width:40%;
	}
	
	/* Comments */
	#comments {
		font-size: .85em;
	}
	#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;
	}
}