/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 20 2024 | 07:14:40 */
.search_button_container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(9, 1fr);
    justify-items: center;
    width: 40%;
}
.alphanumeric_search {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 10px;
}
.alphanumeric_search_result_wrap {
    width: 60%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: #ca1023;
    border: solid 2px #ca1023;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.search_btn.active {
    background-color: #ca1023;
    color: #fff;
}
.search_btn:hover {
    background-color: #ca1023;
    color: #fff;
}
.replacementbrands {
    margin: 20px auto;
}
li.singlebrandbattery.active {
    color: #ca1023;
}
.replacementbrands ul.battery_replacement_brand_list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
}
.battery_replacement_brand_list_item div {
    text-align: center;
	background: #ffffff;
    border-radius: 25px;
    padding: 5px 20px;
    border: solid 2px #ca1023;
}
.battery_replacement_brand_list_item div a{
    font-size: 22px;
	color: #ca1023;
}
.battery_replacement_brand_list_item div:hover {
    background: #ca1023;
}
.battery_replacement_brand_list_item div:hover a{
	color: #fff;
}
.battery_replacement_brand_list_item.activebrand div a {
    color: #ffffff;
}
.battery_replacement_brand_list_item.activebrand div {
    background: #ca1023;
}
.Allbrands {
    text-align: center;
}
.Allbrands span {
    font-size: 20px;
}
.switchmode {
    margin-bottom: 15px;
    padding: 20px;
}
.switchmode a.anchorhover {
    font-size: 20px;
}
.batterylist {
    padding: 20px;
    border: solid 2px #000;
    background: #f5f5f5;
    margin: 20px 0px;
}
ul.brandsbatteries {
    margin: 0px;
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0px;
    flex-wrap: wrap;
}
.brandsbatteries li {
    font-size: 18px;
    font-weight: 700;
    line-height: 19px;
    text-transform: uppercase;
    padding-right: 10px;
    border-right: solid 2px #cfafaf;
    cursor: pointer;
}
.brandsbatteries li:last-child {
    border: none;
}
.equivalent_wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    border: solid 2px #f5f5f5;
    padding: 20px;
}
.equivalent_image img.global-featured-image {
    height: 250px;
    width: 350px;
    object-fit: contain;
}
.equivalent_description h2 {
    color: #ca1023;
    font-size: 25px;
    margin: 0px;
}
.equivalent_description p {
    font-size: 19px;
    margin: 10px 0px;
}
.equivalent_description a {
    background: #ca1023;
    color: #fff;
    font-size: 20px;
    padding: 10px 15px;
}
.preloader_wrap {
    display: flex;
    justify-content: center;
}
.preloader_wrap_ajax {
    display: flex;
    justify-content: center;
}
.preloader {
    width: 60px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side, #ca1023 90%, #0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100% / 3) 50%;
    animation: l3 1s infinite linear;
}
@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.replacementbrands ul.battery_replacement_brand_list {
		grid-template-columns: repeat(4, 1fr);
		gap: 5px;
	}	
	.alphanumeric_search {
		flex-direction: column;
	}
	.search_button_wrapper {
		padding: 20px;
	}
	.alphanumeric_search_result_wrap, .search_button_container{
		width:100%;
	}
}
@media only screen and (max-width: 767px) {
	.replacementbrands ul.battery_replacement_brand_list {
		grid-template-columns: repeat(3, 1fr);
		gap: 5px;
	}
	.battery_replacement_brand_list_item div {
		padding: 0px;
	}
	.battery_replacement_brand_list_item div a {
		font-size: 17px;
	}
	.equivalent_wrapper {
    	flex-direction: column;
	}
	.search_button_container {
		grid-template-columns: repeat(7, 1fr);
	}
		.alphanumeric_search {
		flex-direction: column;
	}
	.search_button_wrapper {
		padding: 20px;
	}
	.alphanumeric_search_result_wrap, .search_button_container{
		width:100%;
	}
}
