/*---- Re-introduct Spinner style for searchwp live ajax -----------------------------------------*/

@keyframes searchwp-spinner-line-fade-quick {
  0%, 39%, 100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

/*---- Remaining customizations -----------------------------------------*/

table.ntrx-search-results-table td {
border-bottom: solid 1px #ccc;
vertical-align: top;
padding-top: 10px;
padding-bottom: 10px;
}

.relevanssi-live-search-results-showing,
.searchwp-live-search-results-showing:not(.searchwp-live-search-no-min-chars) {
background: #fff;
width: 400px !important;
-webkit-box-shadow: 0px 9px 10px 5px rgba(0,0,0,0.6); 
box-shadow: 0px 9px 10px 5px rgba(0,0,0,0.7);
overflow: initial !important;
max-height: none !important;
}

table.ntrx-search-results-table {
width: 100%;	
}

td.search-img-thumb {
width: 70px;
padding: 5px 10px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;	
}

td.search-img-thumb-product {
width: 70px;
padding: 0;
vertical-align: middle !important;
}

td.search-img-thumb-product img {
/*width: 60px !important;*/
width: 100%;
height: auto;
margin: 0 auto;
display: block;
vertical-align: top;
padding: 0 !important;
}

td.search-text {
padding: 7px 5px;
position: relative;	
}

td.search-text a {
color: #333;
}

td.search-text a * {
font-family: 'Oswald';
}

td.search-text a > * {
color: #333 !important;
}

td.search-text a::before {
content: '';
width: calc(100% + 60px) !important;
height: 100%;
background: #fff;
position: absolute;
left: -60px;
top: 0;
z-index: 5;
opacity: 0;
transition: all 0.2s ease 0s;
}

td.search-text a:hover::before {
opacity: 0.6;	
}

td.search-text h5 {
margin-top: 0;
margin-bottom: 2px;
font-weight: 400;
font-size: 16px;
}

tr.product td.search-text h5 {
text-transform: uppercase;
}

tr.product td.search-text p.prod-subtitle {
font-size: 14px;
margin-bottom: 5px;
color: #666 !important;
}

td.search-text div.price {
font-weight: 400;	
font-size: 14px;
}

td.search-text div.price del {
padding-right: 5px;	
}

td.search-text div.price ins {
color: #d3142d !important;
text-decoration: none;
}

tr#more-srch-results td {
text-align: center;
font-family: 'Oswald';
font-weight 400;
text-transform: uppercase;
letter-spacing: 1px;
vertical-align: middle;
background: #eee;
}

tr#more-srch-results td a::after {
content: "\f345";
font-family: 'dashicons';
}

tr#more-srch-results td a.mobile {
display: none;
}

body div.searchwp-live-search-results::after,
body div.searchwp-live-search-results div.spinner,
body div.searchwp-live-search-results div.spinner::after {
display: none !important;
}

.searchwp-live-search-no-results {
	padding: 15px !important;
}

@media only screen and (max-width: 640px) {
	
	tr#more-srch-results td a.desktop {
	display: none;
	}	
	
	tr#more-srch-results td a.mobile {
	display: inline;
	}	
	
	.relevanssi-live-search-results-showing,
	.searchwp-live-search-results-showing:not(.searchwp-live-search-no-min-chars) {
	width: calc(100% - 60px) !important;
	}
}
