/*
 Theme Name:   Grub Street
 Description:  Custom theme for Grub Street (child theme of Canvas)
 Author:       Bookswarm
 Author URI:   http://www.bookswarm.co.uk
 Template:     canvas
 Version:      1.0.0
 Text Domain:  grubstreet
*/

@import url("../canvas/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Colours:

Dark grey: #383D44
Light grey: #E1E1E1
Red: #B63327



/* --- typography ---

font-family:'Avenir LT W01_35 Light', Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-family:'Avenir LT W01_55 Roman', Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-family:'Avenir LT W01_85 Heavy', Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-family: 'Crimson Text', Garamond, 'Times New Roman', serif;
*/

h1,h2,h3,h4,h5,h6,
.page-title, .post .title, .page .title {
	font-family:'Avenir LT W01_35 Light', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

h1,
.page-title, .post .title, .page .title {
	font-size: 30px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 23px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
	line-height: 1.3em;
}

.entry, .entry p, p {
	color: #484e55;
	font-family: 'Crimson Text', Garamond, 'Times New Roman', serif;
	font-size: 15px;
	margin-bottom: 15px;
}

strong {
	font-weight: bold;
	line-height: 0;
}

/* --- general styles --- */

body {
	color: #484e55;
	font-family: 'Crimson Text', Garamond, 'Times New Roman', serif;
	color: #484e55;
}

a:link, a:visited {
	color: #B63327;
}

a.more, .gform_wrapper .gform_footer input[type=submit] {
	font-family:'Avenir LT W01_55 Roman', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 12px;
	color: #c54939!important;
	border: 0;
	background: none;
	text-transform: none;
	padding: 0;
}

/* -- forms --- */

#footer-widgets .gform_wrapper .ginput_complex label {
	display: none;
}

#footer-widgets .gform_wrapper .ginput_complex.ginput_container.has_first_name.has_last_name span {
	width: 48%;
}

#footer-widgets .gform_wrapper input[type=text],
#footer-widgets .gform_wrapper input[type=email] {
	background-color: #e1e1e1;
	color: #484e55;
	font-size: 12px;
	font-family: 'Crimson Text', Garamond, 'Times New Roman', serif;
	border: 0;
	border-radius: 0;
}

#footer-widgets .gform_wrapper ul li.gfield {
	margin-bottom: 0;
}

::-webkit-input-placeholder {
   color: #484e55;
}

:-moz-placeholder { /* Firefox 18- */
   color: #484e55;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #484e55;  
}

:-ms-input-placeholder {  
   color: #484e55;  
}

#footer-widgets .gform_wrapper .gform_footer {
	padding: 10px 0 0 0;
	margin: 0;
}

#footer-widgets .gform_wrapper .top_label input.large {
	width: 96%;
}


/* --- header, nav --- */

#header {
	padding: 10px 0 40px;
}

#logo {
	padding-top: 32px;
	max-width: 333px;
	width: 55%;
	float: left;
}

.header-widget {
	float: right;
	width: 45%;
	clear: none;
	margin: 0;
}

#social-icons {
	text-align: right;
}

#social-icons .sh-sb-link {
	width: 21px;
	height: 21px;
	margin: 0 10px 10px 10px;
}

#navigation {
	background: #fff;
	border-top: 1px solid #484e55;
	border-bottom: 1px solid #484e55;
	margin-bottom: 22px;
}

ul.nav li a {
	text-transform: uppercase;
	font-family:'Avenir LT W01_55 Roman', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 12px;
	color: #484e55;
	padding: 9px 20px 8px 20px!important;
}

ul.nav li.current_page_item a, ul.nav li.current_page_parent a, ul.nav li.current-menu-ancestor a, ul.nav li.current-cat a, ul.nav li.current-menu-item a {
	background: #fff;
	color: #B63327;
}

.single-gs-author ul.nav li.current_page_parent a {
	color: #484e55;
}

.single-gs-author ul.nav li.menu-item-34 a {
	color: #B63327;
}

#navigation ul.nav > li a:hover {
	color: #B63327;
	background: #fff;
}

#navigation ul.cart a.cart-contents, #navigation ul.cart a.search-contents, #navigation ul.nav-search a.cart-contents, #navigation ul.nav-search a.search-contents {
	padding: 9px 10px 8px 10px;
}

#navigation ul.cart a.cart-contents + ul, #navigation ul.cart a.search-contents + ul, #navigation ul.nav-search a.cart-contents + ul, #navigation ul.nav-search a.search-contents + ul,
#navigation ul.cart li:hover a.cart-contents, #navigation ul.cart li:hover a.search-contents, #navigation ul.nav-search li:hover a.cart-contents, #navigation ul.nav-search li:hover a.search-contents {
	background: #E1E1E1;
}

#navigation .menus.nav-icons-1 .side-nav {
	width: 150px;
}


/* --- homepage --- */

#slider {
	border-bottom: 5px solid #e1e1e1;
	margin-bottom: 30px;
}

.slide .panel {
	position: absolute;
	top: 0;
	z-index: 10;
	height: 100%;
	width: 50%;
}

.slide > a {
	display: block;
	position: relative;
}

.slide .panel .info {
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 60%;
}

.slide .panel.left {
	left: 0;
}

.slide .panel.right {
	right: 0;
}

.slide .panel .book {
	position: absolute;
	right: 0;
	top: 15px;
	height: 93%;
}

.slide .panel.grey {
	background-color: rgba(73,79,85,0.6);
}

.slide .panel.white {
	background-color: rgba(255,255,255,0.6);
}

.slide .panel h2 {
	font-size: 42px;
	line-height: 40px;
}

.slide .panel h2 span {
	display: block;
	font-size: 24px;
	line-height: 30px;
	margin-top: 5px;
}

.slide .panel p.more {
	font-size: 12px;
	color: #484e55;
	font-family:'Avenir LT W01_55 Roman', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.slide .panel.grey h2 {
	color: #fff;
}

.slide .panel.grey p.more {
	color: #fff;
}


.slide .panel.white h2 {
	color: #484e55;
}

.flex-control-paging {
	text-align: center;
}

.flex-control-paging li {
	display: inline-block;
	text-align: center;
	margin: 19px 3px 19px;
	height: 12px;
}

.flex-control-paging li a {
	background-image: url('images/slider-dots.png');
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center right;
	width: 12px;
	height: 12px;
	text-indent: -9999px;
}

.flex-control-paging li a.flex-active {
	background-position: left center;
}

.home .twocol-one h2 {
	background: url('images/food-icon-small.png') no-repeat right center;
	display: block;
	background-size: 32px 24px;
}

.home .twocol-one.last h2 {
	background: url('images/aviation-icon-small.png') no-repeat right center;
	background-size: 27px 28px;
}


/* --- products --- */

#wrapper ul.products li.product {
	border-top: 1px solid #484e55;
	padding: 20px 0;
	margin-bottom: 0;
}

#wrapper ul.products li.product a img:hover {
	opacity: 1;
}

#wrapper .products .product .left {
	width: 40%;
	float: left;
	position: relative;
}

#wrapper .products .product .right {
	width: 50%;
	float: right;
	padding: 0 5% 5% 5%;
	text-align: left;
}

.product img {
	-webkit-box-shadow: 2px 2px 5px 2px rgba(50, 50, 50, 0.31);
	-moz-box-shadow: 2px 2px 5px 2px rgba(50, 50, 50, 0.31);
	box-shadow: 2px 2px 5px 2px rgba(50, 50, 50, 0.31);
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}

.product h3 a:link, .product h3 a:visited {
	color: #484e55;
	margin-bottom: 7px;
}

p.name {
	color: #c54939;
	font-size: 18px;
	font-family:'Avenir LT W01_35 Light', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	margin-bottom: 7px;
}

.price {
	font-size: 13px;
	font-family:'Avenir LT W01_85 Heavy', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.entry-summary h2.subtitle {
	font-size: 18px;
	margin-bottom: 10px;
}

.product .onsale, .woocommerce #wrapper #main .onsale {
	padding: 6px 8px 0px;
	text-align: center;
	background: #c54939;
	border-radius: 0px;
	color: white;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0px;
}

.woocommerce .images .thumbnails a:nth-of-type(3n+3) {
	margin-right: 0;
}
.woocommerce #main .images .thumbnails img {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

/* --- woo --- */

ul.nav ul li.current_page_item a, ul.nav ul li.current_page_parent a, ul.nav ul li.current-menu-ancestor a, ul.nav ul li.current-cat a, ul.nav ul li.current-menu-item a, #navigation ul.cart .cart_list a {
	color: #B63327;
}


.woocommerce #wrapper .images {
	width: 38%;
	margin-right: 1.8%;
}

.woocommerce #wrapper .summary {
	width: 60%;
}

.related h3 {
	font-size: 18px;
}

.related p.name {
	font-size: 14px;
}

.woocommerce #wrapper .summary h1.product_title {
	margin-bottom: 10px;
}

a.button, a.comment-reply-link, #commentform #submit, .submit, input[type=submit], input.button, button.button, #wrapper .woo-sc-button,
#wrapper .quantity .plus, #wrapper .quantity .minus {
	background: #B63327;
}

a.button:hover, a.comment-reply-link:hover, #commentform #submit:hover, .submit:hover, input[type=submit]:hover, input.button:hover, button.button:hover, #wrapper .woo-sc-button:hover {
	background: #B63327;
}

/* bundled products */

.woocommerce #main div.product.bundled_product {
	overflow: hidden;
	float: left;
	width: 212px;
	width: 30%;
	clear: none;
	text-align: center;
}

.woocommerce #main .bundled_product_summary .bundled_product_images {
	float: none;
	padding-left: 12px;
}

#wrapper ul.products li.product {
	width: 48%;
}

#wrapper ul.author.products li.product {
	width: 22%;
	margin-right: 3%;
	border-top: 0;
	padding-top: 7px;
}

#wrapper .author.products .product .left {
	width: 100%;
}

.single-product #wrapper ul.products li.product {
	margin-right: 0;
}

.single-product #wrapper ul.products li.product:nth-child(odd){
	margin-right: 3.8%;
}

.home #wrapper ul.products li.product {
	width: 100%;
	margin-right: 3.8%;
}

.pre-order {
	padding: 6px;
	background-color: #B63327;
	margin-top: 10px;
}

#wrapper .pre-order p {
	color: #fff;
	margin-bottom: 0;
	font-size: 14px;
}


/* --- widgets --- */
#blog-posts li {
	list-style: none;
	border-bottom: 1px solid #e1e1e1;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

#blog-posts .title {
	font-size: 18px;
	margin-bottom: 5px;
	display: block;
}

#blog-posts p {
	font-size: 15px;
	font-family: 'Crimson Text', Garamond, 'Times New Roman', serif;
}

#footer-widgets .widget h3 {
	font-size: 18px;
	font-family:'Avenir LT W01_55 Roman', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	border-bottom: 1px solid #484e55;
	margin-bottom: 20px;
}

.tweets { margin: 0; }
.tweets .tweet {
	margin-bottom: 10px;
	padding-bottom: 10px;
	list-style: none;
	line-height: 16px;
	border-bottom: 1px solid #f0f0f0;
}

.tweet-time {
	display: none;
}

/* --- footer --- */

#footer {
	background-color: #484e55;
	width: 100%;
}

#footer-menu li {
	display: inline;
}

#footer-menu a:link, #footer-menu a:visited {
	color: #999999;
	text-transform: uppercase;
	border-right: 1px solid #6B6B6B;
	padding-right: 7px;
	margin-right: 3px;
	font-size: 12px;
}

#footer-menu li:last-of-type a {
	border-right: 0;
}

#copyright p, #copyright a:link, #copyright a:visited {
	font-size: 12px;
	color: #999;
}





/* ------------ RESPONSIVE MEDIA QUERIES ------- */

@media (max-width: 1024px) {

}

/* iPad portrait */
@media (max-width: 768px) {
	.slide .panel h2 {
		font-size: 35px;
		line-height: 40px;
	}

	.slide .panel h2 span {
		font-size: 20px;
		line-height: 25px;
		margin-top: 5px;
	}
	.home #wrapper ul.products li.product {
		width: 48%;
	}
	.home #wrapper ul.products li.product.last {
		margin-right: 0;
	}
	#wrapper ul.author.products li.product {
		width: 40%;
		margin-right: 8%;
		float: left;
	}
}

/* eg: Android Samsung galaxy landscape */
@media (max-width: 685px) {
	#header {
		padding: 10px 0 10px;
	}
	#logo {
		padding-top: 5px;
	}
	.slide .panel h2 {
		font-size: 25px;
		line-height: 30px;
	}

	.slide .panel h2 span {
		font-size: 14px;
		line-height: 20px;
		margin-top: 5px;
	}
	.slide .panel {
		width: 59%;
	}
	.slide .panel .book {
		top: 5px;
	}
	.slide .panel .info {
		bottom: 7px;
	}

	.slide .panel p.more {
		margin-bottom: 0;
	}
	.woocommerce #wrapper .images,
	.woocommerce #wrapper .summary {
		width: 100%;
		margin-right: 0;
	}
}

/* iphone 5 landscape */
@media (max-width: 568px) {
	#logo, .header-widget {
		width: 100%;
		float: none;
	}
	#wrapper ul.products li.product {
		width: 100%;
	}
}

/* iPhone 3+4 landscape */
@media (max-width: 480px){
	.slide .panel {
		width: 69%;
	}
	.slide .panel h2 {
		font-size: 18px;
		line-height: 24px;
	}

	.slide .panel h2 span {
		font-size: 12px;
		line-height: 18px;
		margin-top: 5px;
	}
	.home #wrapper ul.products li.product {
		width: 100%;
	}

	.woocommerce #main div.product.bundled_product {
		width: 50%;
		padding-left: 0;
	}
}

/* eg: Android Samsung galaxy portrait */
@media (max-width: 380px) {
	#wrapper ul.author.products li.product {
		width: 100%;
		margin-right: 0;
		float: left;
	}
}

/* iPhone 3+4 portrait */
@media (max-width: 320px) {

}

/* small android portrait */
@media (max-width: 240px) {

}


td.product-remove a.remove {
    height: 2.1em !important;
    line-height: 1.93 !important;
    width: 2.1em !important;
    font-weight: bold !important;
}

/* Desktop size and sizes above 980 */
@media only screen and (min-width: 980px) {
  #navigation .cart-extended ul.cart a.cart-contents {
    display: inline-block;
    width: auto;
    text-indent: 0;
    overflow: visible; }
    #navigation .cart-extended ul.cart a.cart-contents:before {
      display: inline-block;
      margin-right: .5em;
      height: auto; }
  #navigation .menus.nav-icons-1.cart-extended #main-nav {
    margin-right: 15.5em; }
  #navigation .menus.nav-icons-1.cart-extended .side-nav {
    width: 15.5em; }
  #navigation .menus.nav-icons-2.cart-extended #main-nav {
    margin-right: 12.5em; }
  #navigation .menus.nav-icons-2.cart-extended .side-nav {
    width: 12.5em; }
  #navigation .menus.nav-icons-3.cart-extended #main-nav {
    margin-right: 21.5em; }
  #navigation .menus.nav-icons-3.cart-extended .side-nav {
    width: 21.5em; }
  #navigation .menus.nav-icons-4.cart-extended #main-nav {
    margin-right: 24.5em; }
  #navigation .menus.nav-icons-4.cart-extended .side-nav {
    width: 24.5em; } }