/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.7.18.2
Description: Customized by WebAds.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme

RELEASE NOTES
1.0.8 - content-single.php changes for pwp support
1.0.9 - header.php added pwp user bar shortcode
1.1.0 - misc updates
1.1.2 - update so block comments that contain URLs
1.7.9.1 - updated to bb-theme v1.7.9, child theme is still based on original 1.0 from BB
1.7.9.2 - bug fix
1.7.9.3 - code change so that we now use WordPress core jQuery version 
1.7.9.4 - bug fix
1.7.18.1 - upgraded main theme to 1.7.18 and fixed PHP 8+ compatibility: undefined array key warnings in $_GET and $options array access
1.7.18.2 - bug fix to hide .fl-post-grid-empty
*/

/* Add your custom styles here... */

/* WebAds Custom Search Form - Clean Modern Layout */
.webads-search-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.webads-search-form form {
    margin: 0;
}

/* Keywords Field - Full Width */
.search-field-full {
    margin-bottom: 20px;
}

.search-field-full label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.search-field-full input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.search-field-full input[type="text"]:focus {
    outline: none;
    border-color: #cd2122;
    box-shadow: 0 0 0 3px rgba(205, 33, 34, 0.1);
}

/* Search Options Row */
.search-options-row {
    display: flex;
    gap: 15px;
    align-items: end;
}

.search-field {
    flex: 1;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.search-field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.search-field select:focus {
    outline: none;
    border-color: #cd2122;
    box-shadow: 0 0 0 3px rgba(205, 33, 34, 0.1);
}

/* Search Submit Button */
.search-submit-field {
    flex: 0 0 120px;
}

.search-submit-field label {
    /* Make the invisible label take up the same space as other labels */
    height: 22px; /* Match the height of other labels */
    line-height: 22px;
}

.search-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #cd2122;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.search-submit-btn:hover {
    background-color: #b01e1f;
    transform: translateY(-1px);
}

.search-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .webads-search-form {
        padding: 15px;
    }
    
    .search-options-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-field,
    .search-submit-field {
        flex: none;
        width: 100%;
    }
    
    .search-field-full input[type="text"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .webads-search-form {
        padding: 12px;
        margin-left: -10px;
        margin-right: -10px;
    }
}

.msg_error {
    background-color: #F2DEDE;
    border: 1px solid #EBCCD1;
    border-radius: 4px;
    color: #B94A48;
    font-size: 14px;
    margin: 0;
    margin-bottom: 20px;
    padding: 15px;
}

.msg_notice {
    border: 1px solid #D6E9C6;
    background-color: #DFF0D8;
    color: #468847;
    border-radius: 4px;
    font-size: 14px;
    margin: 0;
    margin-bottom: 20px;
    padding: 15px;
}

.fl-post-feed-text .fl-post-feed-header h2.fl-post-feed-title {
    font-size: 14px;
    font-weight: bold;
}

.fl-post-grid-empty {
    display: none;
}









