/*
 Theme Name:     Spacious Pro Child
 Theme URI:      http://themegrill.com/
 Description:    Spacious Pro Child Theme
 Author:         Samer Albahra
 Author URI:     http://www.albahra.com
 Template:       spacious-pro
 Version:        1.1.3
*/

@import url("../spacious-pro/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

#tab-description ul > li {
	margin: 10px 0;
}

/* Fix reviews being too wide */
#reviews .commentlist {
	width: 90% !important;
}

/* Fix admin bar on mobile devices */
#wpadminbar {
	position: fixed;
}

/* Integrate Google translate into footer */
#google_translate_element {
	margin-top: -22px!important;
}

#google_translate_element .skiptranslate {
	font-family: inherit!important;
	font-size: inherit!important;
	border-bottom: 1px solid #444444!important;
	color:#D5D5D5!important;
}

#google_translate_element .goog-logo-link {
	font-family: inherit!important;
	font-size: inherit!important;
	font-weight: inherit!important;
	color:#D5D5D5!important;
}

#google_translate_element .goog-logo-link > img {
	margin-bottom:0
}

/* Remove border on social buttons */
.social-icons-widget li {
	border: none !important;
	display: inline-block;
	padding-right: 15px !important
}

/* Hide linkback on OneAll social plugin */
.oneall_social_login {
	overflow: hidden;
	width: 280px;
	height: 70px;
}

/* Hide slider on blog page */
.blog #featured-slider {
	display: none !important;
}

/* Increase footer button text size */
.small-menu a {
	font-size: 15px;
}

/* Use SVG logo when possible */
#header-logo-image > a {
	height: 79px;
	padding: 0!important;
	background: url(/wp-content/uploads/2014/08/OpenSprinkler.png) no-repeat center;
	background: url(/wp-content/uploads/2014/10/logo.svg) no-repeat center;
	background-size: 345px 79px;
	margin: 1px auto;
	width: 345px;
	display:block;
}
@media (max-width: 350px) {
	#header-logo-image > a {
		background-size: 290px 79px;
		width: 290px;
	}
}

/* Separate subscribe button from post title */
.subscription-toggle {
	margin-right: 4px;
	font-weight: 400!important;
}

/* Remove gray background over profile image */
.vcard a.url {
	background: transparent!important;
}

/* Fix color of unread indicator */
.bbp-body .hentry.bbppu-unread>li:first-child {
	border-left:5px solid #1E857B;
}

/* Fix padding on subscription button */
#subscription-toggle {
	padding-left: 5px
}

/* Fix lists have small text on forum content */
.bbp-reply-content > ul {
	font-size: larger
}

/* Fix search button on forum dropping below input sometimes */
.bbp-search-form {
	width: 280px;
}

@media (max-width: 630px) {
	.bbp-search-form, .bbpressloginlinks {
		float: none !important;
		margin: 0 auto;
		text-align: center;
	}
}

#bbp_search {
	width: 55% !important;
}

#bbp_search_submit {
	width: 40%;
}

/* Fix unsubscribe button position */
#subscription-toggle {
	float: left;
}

/* Fix header being shown on forum page */
.bbpress .header-post-title-container {
	display: none;
}

#bbpress-forums fieldset.bbp-form {
	min-width: 0;
}

/* Increase line spacing on home page inside text widgets */
#content .textwidget {
	line-height: 24px;
}

/* Change all links to use darker text on forums */
#bbpress-forums {
	color: #000;
}

/* Change all links to use a darker green on forums */
#bbpress-forums a {
	color: #186961;
}

/* Bold all titles on forums */
#bbpress-forums .bbp-forum-title, #bbpress-forums .bbp-topic-permalink {
	font-weight: 700;
	font-size: larger;
}

.woocommerce-page table.cart td.actions #coupon_code {
	height: 46px !important;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	color: #fff;
	background-color: #32d4c5;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
	color: #000;
	background-color: #32d4c5;
}

.single_add_to_cart_button {
	height: 52px;
}

.woocommerce ul.products li.product .price {
	color: #32d4c5;
}

/* Fix forum spacing on mobile devices */
@media (max-width: 414px) {
	li.bbp-forum-freshness, li.bbp-topic-freshness {
		width: 21% !important;
	}

	#bbpress-forums p.bbp-topic-meta span {
		white-space: normal;
	}
}

@media (min-width: 769px) {
	/* Show active color for menu item on children pages */
	#menu-top-nav-menu .current_page_parent > a {
		color: #32d4c5;
	}

	.bbpress .menu-item-108 > a {
		color: #444444!important;
	}

	.bbpress .menu-item-16110 > a {
		color: #32d4c5;
	}

	/* Left align text in TG widget used on home page */
	.tg-one-half p, .tg-one-third p, .tg-one-fourth p {
		text-align: left;
	}

	/* Reduce size of related items on larger displays */
	.woocommerce .upsells ul.products li.product {
		width: 22% !important;
		clear: none !important;
	}

	.woocommerce .upsells ul.products li.product:nth-child(5n+0) {
		clear: both !important;
	}
}

@media (max-width: 769px) {
	.spaceAdj {
		display: none;
	}
}
