.tal {
    text-align: left;
}

/* ---------------------------------------------------
   MENU LINKS
--------------------------------------------------- */

.wlt-menu-links {
    text-align: center;
    padding-bottom: 60px;
}

.wlt-menu-links .links-item {
    display: block;
    float: left;
}

/* ---------------------------------------------------
   PAINT CALCULATOR
--------------------------------------------------- */

.row.car-parts .btn {
    font-size: .75rem;
    margin: 5px;
    padding: 7px 5px;
    line-height: 1rem;
}

.row.spacer {
    border-bottom: 1px dashed lightgrey;
    margin-bottom: 7px;
    margin-top: 7px;
}

.car-types.selected {
    outline: 1px solid #7da986;
    background-color: #e0f1e8;
    border-radius: 12px;
    outline-offset: -1px;
}

.row.car-parts .btn.selected {
    outline: 1px solid #7da986;
    background-color: #e0f1e8;
    outline-offset: -1px;
}

.row.car-parts .btn.disabled {
    cursor: not-allowed;
}

.paint-calculator .hidden {
    display: none;
}

/* ---------------------------------------------------
   AUTOCOMPLETE
--------------------------------------------------- */

.ui-autocomplete.ui-menu .search-menu-item.color-swatch .search-item .cover .img-fluid {
    min-height: 50px;
    max-height: 50px;
    min-width: 50px;
    max-width: 50px;
    display: inline-block;
}

.ui-autocomplete.ui-menu .search-menu-item.color-swatch .search-item .info .category,
.ui-autocomplete.ui-menu .search-menu-item.color-swatch .search-item .info .separator {
    display: unset;
}

@media only screen and (min-width: 768px) {
    #search_widget {
        float: unset;
    }
}

/* ---------------------------------------------------
   PRODUCTS COLOR
--------------------------------------------------- */

#products-color {
    display: flex;
    flex-wrap: wrap;
}

#products-color .title {
    color: #010544;
    float: left;
}

#products-color .s_item {
    position: relative;
    float: left;
    display: inline-grid;
    background-color: white;
    border-radius: 5px;
    margin: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}

#products-color .s_item .grid-hover-btn {
    display: none;
}

#products-color .s_item:hover .grid-hover-btn {
    display: block;
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: .5;
    text-align: center;
    padding-top: 50%;
}

#products-color .s_item i {
    padding: 7px 7px 20px;
    border-radius: 50%;
    color: red;
    background-color: white;
}

#products-color .swatch-item {
    min-width: 30px;
    min-height: 15px;
    float: left;
    cursor: pointer;
}

#products-color .swatch-color {
    display: block;
    min-width: 195px;
    min-height: 60px;
    margin: 5px;
}

#products-color .swatch-name,
#products-color .swatch-brand,
#products-color .swatch-ref {
    clear: both;
    margin: 0 5px 0 6px;
    color: #010544;
    float: left;
    font-size: 12px;
    inline-size: 175px;
}

#products-color .s_item .label {
    color: #898989;
}

#products-color .swatch-name {
    font-weight: 600;
}

#products-color .swatch-ref {
    min-height: 15px;
}

#products-color .swatch-name,
#products-color .swatch-brand {
    min-height: 40px;
}

#products-color .swatch-button {
    clear: both;
    width: 100%;
    text-align: center;
    padding: 10px 4px;
}

/* ---------------------------------------------------
   FILTER TOP
--------------------------------------------------- */

#products-color-top .total-colors {
    padding: 5px 0 0 20px;
}

#products-color-top .filter-bloc {
    float: right;
}

#products-color-top .color-select,
#products-color-top .color-select .select-title {
    font-size: 12px;
}

#products-color-top .color-select .select-title {
    inline-size: 150px;
    overflow: hidden;
    white-space: nowrap;
}

@media only screen and (max-width: 768px) {
    #products-color-top .filter-bloc {
        margin-right: -50px;
    }
}

@media only screen and (min-width: 768px) {
    #products-color-top .filter-bloc {
        margin-right: 25px;
    }
}

@media only screen and (min-width: 992px) {
    #products-color-top .filter-bloc {
        margin-right: 50px;
    }
}

@media only screen and (min-width: 1220px) {
    #products-color-top .filter-bloc {
        margin-right: 15px;
    }
}

/* ---------------------------------------------------
   SELECT2
--------------------------------------------------- */

.product-color-search .opt-swatch,
.select2-results .opt-swatch {
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.product-color-search .opt-label,
.select2-results .opt-label {
    display: inline-block;
    min-height: 20px;
    vertical-align: middle;
}

/* ---------------------------------------------------
   CUSTOMIZATION
--------------------------------------------------- */

.customization-block {
    padding-bottom: 10px;
    display: block;
    min-height: 55px;
}

.product-customization:has(.chosen-color-name) .product-customization-header .alert-info {
    display: none;
}

span.chosen-color-tile {
    width: 30px;
    height: 30px;
    display: block;
    float: left;
    border: 1px solid grey;
}

span.chosen-color-name {
    float: left;
    margin-left: 5px;
    line-height: 30px;
    display: block;
}

/* ---------------------------------------------------
   MEGAMENU
--------------------------------------------------- */

#amegamenu .extra-content {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

#amegamenu .extra-content a {
    color: #fff;
    background-color: #010544;
    font-size: .875rem;
    text-transform: uppercase;
    border-width: 0;
    line-height: 1.25rem;
    cursor: pointer;
    transition: all .3s;
    border-color: #010544;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: .375rem .75rem;
    border-radius: 3px;
    margin: 0 2px;
}

/* ---------------------------------------------------
   PDP
--------------------------------------------------- */

.pdp-estimate-link {
    display: inline-block;
}

.pdp-estimate-link a {
    text-decoration: underline;
}

/* ---------------------------------------------------
   SEARCH BAR
--------------------------------------------------- */

.searchbar-wrapper {
	display: flex;
    top: 0;
    flex-direction: row;
    justify-content: center;
}

#search_widget {
	width: 100%;
}


.search-widget {
    position: relative;
    left: auto;
    bottom: auto;
	width: 100%;
}


#search_widget form {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 43px;
    position: relative;
    overflow: visible;
}

div.search-by-brand {
    position: relative;
    width: 142px;
    min-width: 142px;
    height: 43px;
    z-index: 999;
    flex: 0 0 142px;
}

div.search-by-brand span {
    position: absolute;
    left: 0;
    width: 142px;
    height: 43px;
    border: 0;
    color: #010544;
    font-weight: 600;
    background-color: #d7d7d7;
    cursor: pointer;
    font-size: 13px;
    line-height: 43px;
    padding: 0 28px 0 10px;
    text-align: center;
    transition: background-color .2s;
}

div.search-by-brand span.default {
    top: 0;
    border-radius: 5px 0 0 0;
}

div.search-by-brand span.product {
    top: 43px;
    border-top: 1px dotted #c8c8c8;
}

div.search-by-brand span.color {
    top: 86px;
    border-top: 1px dotted #c8c8c8;
    border-radius: 0 0 5px 5px;
}

div.search-by-brand span.product:hover,
div.search-by-brand span.color:hover {
    background-color: #cfcfcf;
}

div.search-by-brand span.selected {
    display: block !important;
    top: 0 !important;
    border-radius: 5px 0 0 0;
    background-color: #d7d7d7;
}

div.search-by-brand span.default i {
    font-weight: 600;
    font-size: 16px;
    position: absolute !important;
    right: 8px;
    top: 14px;
}

/* IMPORTANT : ne pas display:none sinon JS cassé */
div.search-by-brand span.off {
    display: block;
    visibility: hidden;
    pointer-events: none;
}

div.search-by-brand:hover span.off,
div.search-by-brand.open span.off {
    visibility: visible;
    pointer-events: auto;
}

div.search-by-brand span.default.off {
    display: none;
}

#search_widget form input[type="text"],
#search_widget form input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    height: 43px;
    float: none;
    border: 0;
    border-radius: 0;
    padding: 10px 15px;
    background-color: #f1f1f1;
}

#search_widget form input::placeholder {
    color: #aaa;
}

#search_widget form button[type="submit"],
#search_widget form .search-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    min-width: 43px;
    height: 43px;
    padding: 0;
    border: 0;
    border-radius: 0 5px 5px 0;
    background-color: #010544;
    color: #fff;
}

#search_widget form button[type="submit"] i,
#search_widget form .search-btn i {
    position: static !important;
    margin: 0;
    line-height: 1;
}

/* ---------------------------------------------------
   PAGE NOT FOUND
--------------------------------------------------- */

.page-content.page-not-found {
    position: relative;
}

.page-not-found .searchbar-wrapper {
    position: relative;
}

.page-not-found .searchbar-wrapper #search_widget form input {
    text-align: left;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

@media only screen and (max-width: 768px) {

    div.search-by-brand {
        width: 115px;
        min-width: 115px;
        flex-basis: 115px;
    }

    div.search-by-brand span {
        width: 115px;
        font-size: 11px;
        padding: 0 20px 0 6px;
    }

    #header .mobile-trigger-wrapper {
        margin-top: 0;
    }
}

