﻿/*Elastic search designs - Added by sathya 12/18/2023*/


.partselspanel {
    position: relative;
    z-index: 99;
}

    .partselspanel .serch_img {
        width: 60px;
        height: 100%;
        display: inline-block;
        margin-right: 12px;
        float: left;
        min-height: 70px;
    }

        .partselspanel .serch_img img {
            width: 100%;
            /* min-height: 35px; */
            /* object-fit: contain; */
        }

    .partselspanel .search_img_title {
        /*width: 202px;*/
        max-width: 100%;
        margin: 0 !important;
        /*padding: 10px 0px 2px 0 !important;*/
        padding: 2px 0px 2px 0 !important;
        display: flex;
        /* overflow: hidden; */
        /* text-overflow: ellipsis; */
        /* white-space: nowrap; */
        /* float: right; */
    }

        .partselspanel .search_img_title:hover {
            border-bottom: 0px !important;
        }

    .partselspanel div#searchsuggestion {
        font-size: 14px;
        position: absolute;
        width: 100%;
        max-height: 490px;
        overflow-y: auto;
        top: 35px;
        left: 0px;
        margin: 0;
        text-align: left;
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.2);
        -moz-box-shadow: 0 2px 5px rgba(0,0,0,.2);
        box-shadow: 0 1px 3px rgba(0,0,0,.2);
        background-color: #fff;
    }

    .partselspanel input.apa-fa-search {
        position: absolute;
        right: 2px;
        opacity: 1;
        z-index: 9;
        height: 31px !important;
        font-size: 12px;
        border-radius: 3px;
        font-weight: 600;
        color: #08203a;
        border: 1px solid #095eb8; /*1px solid #284784;*/
        box-shadow: -4px 0px 4px 1px #ffffff;
        top: 2px;
        cursor: pointer;
        color: #fff;
        background: #095eb8; /*#284784;*/
    }

    .partselspanel a:hover {
        text-decoration: none;
    }

    .partselspanel .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #cccccc;
        outline: 0 !important;
        box-shadow: none !important;
    }

    .partselspanel input#tags {
        border-radius: 5px;
    }

    .partselspanel .input-group {
        position: relative;
        top: 5px;
    }

    .partselspanel input.apa-fa-search:focus {
        outline: none;
    }

    .partselspanel .apa-ac-item a i, .apa-ac-item a p {
        color: #292929;
        font-style: normal;
    }

    .partselspanel .apa-ac-item a .apa-item-txt {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /*width: 200px;*/
        max-width: 100%;
        margin: 0px;
    }

    .partselspanel .apa-ac-item {
        margin: 0px auto;
        border: none !important;
        border-bottom: 1px solid #dfdfdf !important;
        padding: 5px 10px;
        min-height: 70px;
        height: 75px;
    }

        .partselspanel .apa-ac-item:hover {
            background: #f7f7f7;
            color: #154bb5 !important;
        }

    .partselspanel .apa-ac-header {
        padding: 2px 10px;
    }

    .partselspanel .apa-ac-products-container {
        padding: 0;
    }

        .partselspanel .apa-ac-products-container > p {
            padding: 5px 0px;
            margin: 0;
            font-size: 12px;
            text-indent: 15px;
            color: #de6363;
        }

        .partselspanel .apa-ac-products-container .APAsubtitle {
            font-weight: 600;
            padding: 5px 8px;
            background: #eaeaea;
            color: #333;
        }

        .partselspanel .apa-ac-products-container .apa-ac-item:last-child {
            border-bottom: 0px !important;
        }

    .partselspanel #APAsearchResult > .apa-ac-item a:hover {
        border-bottom: 0px !important;
    }

    /* #searchsuggestion{position: absolute;top: 35px;border: 1px solid #ddd;width: 100%;} */
    /*#apatags {
	border-radius: 3px;
	line-height: 15px;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	background-color: #a7a7a7;
}


.apa-ac-item .apa-item-brand {
	color: #5f648a;
	margin-bottom: 0px;
	font-size: 11px;
	font-weight: 600;
}

	.apa-ac-item .apa-item-brand span {
		color: #4a4a4a;
		font-weight: 400;
	}

.search_img_brand {
	display: flex;
	padding: 2px 0px !important;
}

	.search_img_brand:hover {
		border-bottom: 0px !important;
	}*/


    /********26-Mar********/

    .partselspanel .apa-ac-item a .apa-item-txt {
        overflow: unset !important;
        text-overflow: unset !important;
        white-space: unset !important;
        width: 200px;
        max-width: 100% !important;
        margin: 0px;
    }

    .partselspanel .APAsubtitle_tp {
        float: left;
        width: 100%;
        border-right: 0px;
    }

    .partselspanel .APAsubtitle_in {
        float: left;
        width: 100%;
    }

@media screen and (min-width: 1300px) {
    .partselspanel .APAsubtitle_tp {
        border-right: 1px solid #a7a7a7;
    }

    .partselspanel div#searchsuggestion {
        font-size: 14px;
        position: absolute;
        max-width: 720px;
        max-height: 490px;
        overflow-y: auto;
        top: 40px;
        left: 0% !important;
        margin: 0;
        text-align: left;
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
        -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
        -moz-box-shadow: 0 2px 5px rgba(0,0,0,.2);
        box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
        background-color: #fff;
        min-width: 460px;
    }
}

@media screen and (max-width: 1299px) and (min-width: 1081px) {
    .partselspanel .APAsubtitle_tp {
        border-right: 1px solid #a7a7a7;
    }

    .partselspanel div#searchsuggestion {
        font-size: 14px;
        position: absolute;
        /*max-width: 550px;*/
        max-width: 700px;
        min-width: 700px;
        width: 700px;
        max-height: 490px;
        overflow-y: auto;
        top: 40px;
        left: 0% !important;
        margin: 0;
        text-align: left;
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px;
        -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
        -moz-box-shadow: 0 2px 5px rgba(0,0,0,.2);
        box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
        background-color: #fff;
        min-width: 450px;
    }
}



.partselspanel .apaselectbox {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5 !important;
    color: #0a0a0a;
    cursor: pointer;
    border-radius: 3px 0 0 3px !important;
}

    .partselspanel .apaselectbox option.apaselectbox-item {
        cursor: pointer;
        font-size: 14px;
    }

.partselspanel .inntotes {
    font-size: 11px;
    color: #095eb8 !important;
    text-decoration: none;
    font-weight: 600;
}

.partselspanel .apa-ac-item a {
    text-decoration: none !important;
}

/* added by Suriya for the dropdown on 03/07*/
.partselspanel .apa-ac-products-container .APAsubtitle {
    background: #2980b9;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    padding-top: 8px;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    width: auto;
    padding-top: 8px;
    padding-right: 8px;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.apa-item-brand a span {
    font-weight: 600;
    color: #2980b9;
}
/* Added by Suriya on 08-07*/
.apa-ac-item.no-matches {
    clear: left;
    padding: 10px 5px !important;
    font-size: 16px;
    min-height: auto !important;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    font-size: 13px;
}

.partselspanel .serch_img img {
    max-height: 55px;
}

/* Search box popup by Suriya */
.partselspanel .serch_img {
    margin-right: 10px;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    text-align: left;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    padding-top: 5px;
    text-align: left;
}

.partselspanel .serch_img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.partselspanel .apa-ac-item {
    padding: 5px;
}

.partselspanel div#searchsuggestion {
    width: 430px;
    max-width: 700px;
}

.partselspanel .apa-ac-item a .apa-item-txt {
    padding-top: 0;
}

.partselspanel .apa-ac-item {
    min-height: 87px;
    height: 87px;
}
