/* PIR | Tom changes to be merged at end of Custom.css */

.amsearch-wrapper-content .amsearch-wrapper-inner {flex-direction:column;}
.amsearch-item-container.page a.item-name {color: #5d636c;}

.amsearch-wrapper-content .product-item-link {
	font-family: 'Libre Baskerville', serif;
    color: #333;
    font-weight: 300;
    margin:10px 0px;
    font-size:16px;
    text-transform:uppercase;
}

.amsearch-more-results .amsearch-link {color: #5d636c;text-decoration:none;text-transform:uppercase;border-bottom:none;}
.amsearch-wrapper-content .amsearch-wrapper-inner {align-items:flex-start;}

.amsearch-more-results .amsearch-link:hover {
    border-bottom: 1px solid ##4b4f3c;
    background-color: inherit;
    color: #4b4f3c;
    text-decoration: none;
}

.amsearch-wrapper-content .amsearch-wrapper-inner {margin-top:0px;}
.amsearch-wrapper-content .amsearch-wrapper-inner {width:100% !important;}
.amsearch-related-terms > .amsearch-item {background:#f9f9f9;border:1px solid #e5e5e5;}
.amsearch-related-terms > .amsearch-item:hover {background:#fff;}

@media only screen and (max-width: 992px) {
	.column.main > .page-title-wrapper {display:none;}

	.catalog-category-view .columns {display:flex;}
	.catalog-category-view .columns .sidebar-additional {order:1 !important;}
	.catalog-category-view .columns .column.main {order:2 !important;}

	.block.filter .filter-title {display:block !important;}
}

@media only screen and (min-width: 768px) {
    .navigation li.level0 {line-height: 100%;}
}


/* JD Design Changes */

.col.s12.m12.l4.firstbox, 
.col.s12.m12.l4.middlebox, 
.col.s12.m12.l4.lastbox {
	padding: 0px 20px;
}

.product-item-details .tocart span{
    font-size:16px;
}
.products-grid .addtocart .button{
    font-size: 16px;
}
.product-info-main .box-tocart .action.tocart{
    font-size:16px;
}

.footer-bottom p{
    font-size:13px !important;
}

.solidbar .col p{
    margin-bottom: 20px;
}


.form .contact button span{
    color: #e2eae2;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.level0.parent:hover .topNav{
    background: #585a4e;
}

.page-main>.page-title-wrapper .page-title{
    z-index: 0;
}

.product.contact{
    background-color: #ebbd4d;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Adobe Text Pro';
    color: #4c574f;
}
.product.contact a{
    color: #4c574f;
    line-height: initial;
    text-transform: uppercase;
    font-weight: 400;
    padding: 20px 0;
    display: block;
    font-size: 20px;
}

.product.contact a:hover{
    color: #4c574f;
}

.product.data.items>.item.content{
    border: 1px solid #4c574f;
    margin-top: 51px;
}

.product.info.detailed .data.active a{
    background-color: #4c574f !important;
    color: #fff !important;
    text-decoration: none !important;
}


.post-list.grid li{
    width: 30.3333%;
    margin-right: 3%;
}

.post-list-wrapper .btn{
    background: #fff !important;
    border: 1px solid #4c574f !important;
    color: #4c574f !important;
}

.post-image a{
    width: 100%;
}
.post-list-wrapper .post-date{
    color: rgb(177, 131, 20);
    font-size: 14px;
}
.wordpress-post-view .topcat .post-date {
    padding-left: 5px;
    color: rgb(177, 131, 20);
    font-size: 14px;
}



.wordpress-post-view.page-layout-2columns-right .block-recent-posts{
    background-color: rgb(177, 131, 20);
}
.sidebar .block-title{
    font-family: 'Adobe Text Pro';
}


@media(max-width:1024px){
    .home-banners .box h3, 
    .home-banners .box-long h3 {
        font-size: 28px;
        line-height: 27px !important;
    }
    .info-banners .box h3, 
    .info-banners .box-long h3 {
        font-size: 28px;
    }
    .home-banners .box p span, 
    .home-banners .box-long p span{
        font-size: 15px;
        padding: 8px 23px;
    }
}

@media (max-width:990px){
    .navigation>ul{
        background-color: #fff;
    }
}

.flashbanner {
	width:100%;
	max-width: 1518px;
    margin: auto;
    margin-top: 20px;
}

.flashbanner {width:auto;height:auto;}

@media (max-width: 992px) {
	.post-list.grid li {width:100% !important;}
}

/* TOM NEWS COLS 17-05-23 */

.wordpress-posttype-view .post-list.grid li{
    width: 30.3333%;
    margin-right: 0%;
}

.wordpress-posttype-view .post-list-wrapper .post-list.grid li {
    width: calc((96% - (2% * (2 - 1))) / 3);
}
.post-list-wrapper .post-list.grid li:nth-child(2n + 1) {
    margin-left:2%;
}

@media (max-width: 992px) {
	.wordpress-posttype-view .post-list.grid li {width:100% !important;}
}