/* Yellow Books Search */
/* .yellow-books-search-style1-container {
    background-color: #FFFFFF23;
    border: 1px solid #70707023;
    border-radius: var(--input-radius);
    padding: 10px;
} */

.yellow-books-search-style1-container .cwp-search-form {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field,
.yellow-books-search-style1-container .search-form-fields .yellow-books-form-field {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.yellow-books-search-style1-container .search-form-fields .cwp-submit-search {
    margin: 0 0 0 0;
    border-radius: 0;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    min-height: 80px;
    transition: var(--transition);
    border: none;
}


.yellow-books-search-style1-container .search-form-fields .cwp-submit-search:hover:before {
    color: var(--primary-color);
}

.yellow-books-search-style1-container span.select2-selection.select2-selection--single {
    border: 0 !important;
    padding-left: 35px !important;
    margin: 0 !important
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field>label {
    display: none;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field {
    width: calc((100% - 95px) / 2) !important;
    margin: 0;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field:first-child {
    border-left: 5px solid var(--primary-color);
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field:first-child::before,
.yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(2)::before {
    content: var(--search-icon-code);
    font-family: var(--icons-font);
    color: #000000;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 600;
    padding: 0 12px;
    position: absolute;
    left: 0px;
    top: 28px;
    z-index: 99;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(2)::before {
    content: var(--marker-icon-code);
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(2) {
    border-left: 1px solid #d8d8d8;
}

.yellow-books-search-style1-container .search-form-fields [data-name="search_button"] {
    width: 95px !important;
    margin: 0;
    padding: 0;
    display: block !important;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field input {
    background-color: #FFFFFF;
    min-height: 80px;
    border-color: transparent !important;
    border-radius: 0;
    font-size: 15px;
    line-height: 30px;
    font-weight: normal;
    color: var(--heading-color);
    padding: 0;
    margin: 0 !important;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field .cwp-field-google-address-input-container {
    position: relative;
    width: 100%;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field .cwp-field-google-address-input-container svg {
    top: 40%;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field input::placeholder {
    font-size: 17px;
    line-height: 39px;
    font-weight: normal;
    color: #333333;
    opacity: 0.35;
}

.yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(3) input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*------------------- Yellow Books Categories ---------------*/

.yellowbooks-category-cards .yb-category-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    border: none;
    background-color: transparent;
    border-radius: var(--input-radius);
    transition: var(--transition);
    width: 125px;
    position: relative;
    text-align: center;
}

.yellowbooks-category-cards .yb-category-card .yb-category-icon {
    align-items: center;
    margin: 0 auto 6px;
    width: 64px;
    height: 64px;
    border: 1.5px solid #067ab4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-size: 28px;
    color: #222;
}

.yellowbooks-category-cards .yb-category-card a:hover .yb-category-icon {
    background-color: #067ab4;
    color: #fff;
}

.yellowbooks-category-cards {
    padding: 0 20px;
}

.yellowbooks-category-cards:not(.slick-initialized) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.yellowbooks-category-cards .slick-arrow {
    position: absolute;
    top: 50%;
    letter-spacing: 0;
    color: #C9C9C9;
    font-size: 24px;
    line-height: 37px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: var(--transition);
}

.yellowbooks-category-cards .slick-arrow:hover {
    color: var(--heading-color);
}

.yellowbooks-category-cards .slick-arrow.carousal-left-control {
    left: 10px;
}

.yellowbooks-category-cards .slick-arrow.carousal-right-control {
    right: 10px;
}

.yellowbooks-category-cards .slick-track {
    padding: 5px 0;
}

/*--------------------- Responsive -----------------*/
@media (max-width: 480px) {
    .yellow-books-search-style1-container .search-form-fields .cwp-search-field {
        width: 100% !important;
    }

    .yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(2){
        border-left: 5px solid var(--primary-color);
    }

    .yellow-books-search-style1-container .search-form-fields .cwp-search-field:first-child::before,
    .yellow-books-search-style1-container .search-form-fields .cwp-search-field:nth-child(2)::before {
        top: 8px;
    }

    .yellow-books-search-style1-container .search-form-fields [data-name="search_button"] {
        width: 100% !important;
    }

    .yellow-books-search-style1-container .search-form-fields .cwp-submit-search {
        min-height: 38px;
        font-size: 14px;
    }
}