div.popup_container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    outline: 0;
    z-index: 9000;
    display: flex;
    width: 70%;
    margin-left: auto;
}

.search_heading_close
{
    display: flex;
    justify-content: space-between;
}

#search_form
{
    display: grid;
    position: relative;
    flex: 1;
}

div#background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    outline: 0;
    z-index: 8999;
    background-color: #5a5a5a;
    opacity: 0.5;
}

.popout_title
{
    color: #2E368F;
}

.overlay_container {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    left: 0;
    top: 0;
}

div#search_background {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    outline: 0;
    width: 100%;
    height: 100%;
    z-index: 9500;
    background-color: #a5a5a5;
    opacity: 0.2;
    width: auto;
}

div#search_body>img {
    z-index: 9600;
}

div.popup {
    width: 100%;
    padding: 32px;
    background-color: #F2F2F2;
    background-clip: padding-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    div.popup {
        padding: 16px 16px 0px 16px;
    }

    div.popup_container {
        width: 100%;
    }

    .topRow
    {
        flex-direction: column;
    }
    
}

@media (max-width: 1399px) {
    .topRow
    {
        flex-direction: column;
    }
}

@media (hover: hover) and (pointer: fine)
{
    #additional_filters {
        overflow: hidden; /* Hides the scrollbar */
        -ms-overflow-style: none;  /* For Internet Explorer 10+ */
        scrollbar-width: none; /* For Firefox */
    }
      
    #additional_filters::-webkit-scrollbar {
        display: none; /* Hides scrollbar for WebKit browsers like Chrome, Safari */
    }
}

.display_with_popup
{
    transition: transform 0.25s ease-in-out;
}

button.close_button {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .55;
    cursor: pointer;
    border: 0;
    background-color: transparent;
}

button.close_button:hover {
    background-color: transparent;
    color: #2E368F;
    opacity: 1;
}


#additional_filters {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 16px;
    padding-top: 16px;
}

.ca_systembuilderPriceString
{
    font-size:18px;
    color:#454545;
    font-weight: 400;
    margin: 0;
}

.ca_systembuilderPriceString>b
{
    color:var(--e-global-color-primary);
}

.additional_filter
{
    min-width: fit-content;
    flex: 1;
}

.add_component {
    cursor: pointer;
    cursor: hand;
}

div#search_header {
    flex: 1 1 auto;
}

div.search_body {
    flex: 1 1 auto;
    min-height: 80%;
    position: relative;
    margin-top: 16px;
}

div#search_results_container {
    width: 100%;
    position: relative;
}

.prod_price
{
    align-self: start;
    text-align: end;
}

#search_results
{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.real_prod_description
{
    padding-top: 11px;
    margin-right: 32px;
    font-size: 14px;
}

.real_prod_description strong
{
    color: #2E368F;
}

.product_description
{
    flex: 1 1 auto;
}

.product-listing
{
    min-height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    border: 1px solid #2E368F0D;
    padding: 16px;
    border-radius: 11px;
    cursor: pointer;
}

.filters
{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product_image
{
    max-width: 120px;
    width: 120px;
    min-width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2E368F1F;
}

a.clickable {
    cursor: pointer;
}

.highlighted {
    border: solid 1px #FF3333;
    background-color: #FFF2F2;
}

.ca_system_builder_product_row_container
{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
}

.ca_system_builder_product_container
{
    padding: 0 !important;
}

.errorBox
{
    background-color: rgba(255, 51, 51, 0.1);
    margin: 0;
    color: #FF3333;
    border-radius: 0px 0px 5px 5px;
}

.errorBox:has(span)
{
    padding: 4px;
    border: 1px solid #FF3333;
    font-size: 13px;
}

.ca_system_builder_linkable
{
    display: flex;
    gap: 10px;
}

.system-builder-holder
{
    width: 100%;
}

.outofstocktext
{
    color: #FF3333;
}

.instocktext
{
    color: #00C08F;
}

.lowonstock, .lowstocktext 
{
    color: #F08021;
}

.ca_numric_quantity_builder input
{
    width: 35px !important;
    height: 35px !important;
    padding: 5px !important;
    border: solid 1px #F2F2F2 !important;
    color:#322E90 !important;
}

.ca_numric_quantity_builder
{
    display: flex;
    align-items: center;
}

.clear_selection.clear_selection.close_button
{
    text-align: end !important;
    padding: 0 !important;
}

.StockLevel, .selection_price, .stocktext
{
    text-align: end;
    font-weight: 700;
    white-space: nowrap;
}

.prod_price del, .prod_price ins
{
    display: block !important;
}

#catagories_results_container
{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cat_title
{
    text-align: center;
    font-weight: 700;
    color:rgb(22, 22, 22);
}

.cat_description
{
    text-align: center;
    color:rgb(63, 63, 63);
}

.cat_display
{
    width: 200px;
    padding: 20px;
    background-color: white;
    border: 1px solid rgb(226, 226, 226);
}

div.prod_price>strong>del 
{
    font-size: 13px;
    color: #00000093
}

div.prod_price>strong>ins 
{
    text-decoration: none !important;
}

.ca_back_arrow>img
{
    width: 20px;
    transform: translate(0px, 4px);
    margin-right: 10px;
}

.ca_search_image>img
{
    width: 16px;
    transform: translate(0px, 2px);
    margin-left: 5px;
}

.configSaveError
{
    color: #FF3333;
    display: flex;
    align-items: center;
}

.errorMSGDiv
{
    display: flex;
    gap: 10px;
}

.CheckErrorIcon
{
    display: flex;
    align-items: center;
}

.CheckErrorIcon>img
{
    width: 35px;
    filter: invert(39%) sepia(96%) saturate(4809%) hue-rotate(344deg) brightness(100%) contrast(100%);
}

.checkbox_label
{
    flex: 1;
}

/*New Design*/

.topRow
{
    display: flex;
    gap: 16px;
}

.filters>label, .filters>select
{
    flex: 1;
    width: fit-content;
}

.filterText
{
    margin: 0;
    align-self: center;
}

.addFilterHolder
{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.DIRArrow
{
    font-weight: 900;
    padding: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/*custom multiselect*/
.menu-btn {
    border-radius: 48px;
    border: 0.5px solid lightgrey;
    font-size: 0.9em;
    padding: 2px 10px;
    background-color: white;
}

.menu {
    padding: 12px;
    z-index: 200;
    border-radius: 7px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: white;
    position: absolute;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow: auto;
}

.menu-option {
    padding: 6px 20px 6px;
    text-wrap-mode: nowrap;
}

.d-none
{
    display: none !important;
}

.CustomDropDownHolder
{
    z-index: 10000;
}

.hilightedComponent
{
    border: 2px solid var(--e-global-color-primary);
}

/*Compatability Styles*/

.compatibilityTitle, .ca_compatibilityValue, .compatibilityProduct
{
    font-weight: 700;
    color: var(--e-global-color-primary)
}

.cantFindInfo span
{
    color: var(--e-global-color-primary)
}

.ca_compatibilityInfo
{
    text-align: center;
}

.ca_compatabilityNotChecked
{
    text-decoration: underline;
}

.ca_info_button_builder
{
    background-color: #F9F9F9;
    border-radius: 1000px;
    padding: 7px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.helpHolder
{
    display: flex;
    justify-content: end;
}


.helpHolder a
{
    width: 40px;
    height: 40px;
}

#filterLoading
{
    width: 100%;
    height: 64px;
    padding-top: 16px;
    display: none;
}