/* Styles for TW Store */

header#masthead.site-header{background-color:#da0913!important}

.inside-site-info{display:none;}
#front-products{
	text-align:center;
}
#front-products li.product-category {
	float:none!important;
	display:inline-block;
	background:white;
}
.woocommerce-loop-category__title{font-weight:bold}
mark.count{display:none;}

.tw_news_post{
background:rgba(255,255,255,.85);
	padding:15px;
	margin:10px 0;
}

.search-results #content {
	width: 90%;
    margin-left: 5%;
	padding: 0;
}

.search-results #main {
    display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 250px, 1fr ) );
	grid-gap: 1em 1em;
	grid-auto-flow: row dense;
	justify-content: center;
}

.search-results #main .page-header {
    grid-column: 1/-1;
	margin-top: 1%;
}

.search-results article {
	margin-top: 20px;
}

.search-results .inside-article {
	display: grid;
    height: 100%;
    grid-auto-rows: 1fr auto auto;
}

.search-results .tw-below-results {
	align-self: end;
	margin-left: 5%;
}

.search-results .tw-below-results p {
	margin-bottom: 0.5em;
}

.search-results #nav-below {
    grid-column: 1/-1;
	margin-bottom: 1%;
}

.search-results .entry-header {
	display: grid;
	margin: 0 5%;
	height: fit-content;
}

.search-results .entry-title a {
    line-height: 1.3;
	font-size: 16px;
	display: block;
}

.search-results div.post-image {
	margin: 5%;
}

.search-results .input-text.qty {
	width: 4em;
    text-align: center;
}

.search-results .button.availability {
	line-height: 1;
    padding: 0.618em 1em;
    font-weight: 700;
    border-radius: 3px;
    color: #515151;
    background-color: #ebe9eb;
}

.search-results .add_to_cart_inline {
	border: 0!important;
    padding: 0!important;
}

.search-results .woocommerce-Price-amount {
	color: green;
}

.search-results .entry-summary {
	margin: 0 5%!important;
}

.tax-product_cat .cart .button {
	background-color: #e74c3c!important;
    color: #ffffff!important;
}

.search-results .cart .button {
	background-color: #e74c3c!important;
    color: #ffffff!important;
	margin-top: 1em;
	line-height: 1;
	padding: 0.618em 1em;
	font-weight: 700;
	border-radius: 3px;
}

.search-results .tw-below-results .out-of-stock, .search-results .tw-below-results .in-stock {
	margin-bottom: calc( 0.5em + 38px );
}

/*
body.search-results div.post-image img{
	margin-top:5px;
	width:auto!important;
	display:block;
}
body.search-results article{
	width:200px;
	display:inline-block;
	vertical-align:top;
}*/
a.button.availability.simple{
	display:inline-block;
	margin:0 0 30px 0;
}
.posted_in{display:none!important;}

.search-results .tw-placeholder {
    width: 90%;
}

.search-no-results .tw-placeholder {
    display: none;
}
