/*
Theme Name: The Rug Gallery
ThemeURI: http://www.akirichev.tumblr.com
Description: This is a custom theme for The Rug Gallery.
Author: Alexander Kirichev
Author URI: http://www.akirichev.tumblr.com
Template: mrtailor
Version: 1.4
*/

@import url("../mrtailor/style.css");

/****************************************************************/
/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
/****************************************************************/

/* Hide Reviews tab*/
.product_details .woocommerce-tabs {
	margin-top: 0;
}
.product_details .woocommerce-tabs ul.tabs {
 	text-align: left !important;

 }
.product_details .woocommerce-tabs ul.tabs li.reviews_tab {
	display: none !important;
}

.product_details .product_meta {
	text-align: left !important;
}

.product_meta > span {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0 10px;
}

.orderby option[value="price"], .orderby option[value="price-desc"]{ 
   display: none !important;
}
.select2-results li:nth-child(4), .select2-results li:nth-child(5) {
	display: none !important;
}

/* Decrease vertical padding of the category header */
.category_header.with_featured_img{
	padding: 60px 0 !important;
}

/* Table styling. Can be removed later after theme update*/
/*table tr th, table tr td {
	padding: 0;
}
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td {
	line-height: 1.8rem;
}*/

.button, input[type="button"], input[type="reset"], input[type="submit"] {
	color: #fff;
	border: none;
	font-size: 0.8125rem !important;
	font-weight: 700;
	text-transform: uppercase;
	padding: 1.1875rem 3.7rem 1.125rem;
	width: 100%;

	transition: color 0.3s, background 0.3s;
	-webkit-transition: color 0.3s, background 0.3s;
}

.categories_grid .category_name {
	text-shadow: 0px 1px 8px rgba(0,0,0,1);
}


.site-content ul.display-posts-listing {
	margin: 50px 0 0 0;
	padding: 0;
	list-style: none;
}
ul.display-posts-listing li {
	list-style: none;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}
.listing-item a.image {
	display: block;
	float: left;
	margin-right: 30px;
}
.listing-item h2 {
	width: 100%;
	display: block;
	line-height: 1;
	margin: 0 0 1rem 0;
}
.listing-item a {
	font-weight: 400;
}
.listing-item .excerpt {
	line-height: 1.4;
}
.section-light {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.contact-bottom a {opacity: 0;}

.st-content {
    background-size: auto;
    background-repeat: repeat;
}

.categories_grid .category_name, .category_list .category_name {
    text-transform: uppercase;
}

.home-categories-grid .columns-3 .category_list .category_item {
    height: 10rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce #content div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a {
    font-size: 1rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce #content div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li {
    margin-left: 20px;
}
.main-navigation ul ul li a {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
}

/****************************************************************/
/****************************************************************/
/****************************************************************/

.site-search input[type="submit"]
{
	display: block !important;
	position:absolute;
	top:6px;
	right:0px;
	padding:0;
	font-size:13px;
	font-weight:bold;
	text-transform:uppercase;
	width:24px;
    max-width: 24px;
    min-width: 24px;
	height:36px;
	text-indent:-9999px;
	background:none !important;
	border: none;
	z-index:1;
	outline:none;
	content:"dd";
}

.site-search input[type="submit"]:hover
{
	background: none !important;
}

.widget_search .search-submit,
.widget_product_search input[type="submit"],
aside .search-but-added,
aside #searchsubmit
{
	display: none;
}


.widget_product_search .search-but-added,
.widget_search .search-but-added
{
	position:absolute;
	top:4px;
	right:0px;
	padding:6px 0 0 0;
	font-size:13px;
	font-weight:bold;
	text-transform:uppercase;
	width:25px;
	height:36px;
	z-index:2;	
	text-align: right;
	overflow: hidden;
	font-size: 24px;
	color: #314381;
	cursor:pointer;
}