/* Navbar section CSS */
.searchbar-section .e-search-input-wrapper svg {
    background-color: rgba(255, 255, 255, calc(1 * .06));
    border-radius: 50%;
    display: block;
    padding: 5px;
}

.searchbar-section .e-search-label svg {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(41deg) brightness(122%) contrast(87%);
}

.searchbar-section form:hover .e-search-label svg {
    filter: brightness(0) saturate(100%) invert(84%) sepia(13%) saturate(6678%) hue-rotate(341deg) brightness(82%) contrast(94%);
}

.menu-section .elementor-nav-menu--dropdown {
    background: repeat padding-box border-box 0% / auto scroll linear-gradient(270deg, #2B62A9 0%, #003E82 100%);
}

.menu-section .elementor-sub-item,
.menu-section .elementor-sub-item:hover {
    border: 0;
}

/* Home page CSS */
.contact-us-form-section .gform_heading {
    display: none;
}

.contact-us-form-section form input,
.contact-us-form-section form textarea {
    outline: none;
}

.contact-us-form-section .gform_wrapper.gravity-theme .gform_validation_errors:focus {
    outline: none;
}

.contact-us-form-section .gform-icon--circle-error {
    font-size: 20px !important;
}

.contact-us-form-section .gform_submission_error {
    margin-left: 40px !important;
}

.contact-us-form-section .validation_message {
    background: transparent !important;
    border: 0 !important;
    font-size: 14px !important;
}

/* Locations page CSS */
.image-box-container {
    position: relative;
}

.image-box-container .elementor-widget-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.2;
    pointer-events: none;
}

/* Blog page CSS */
@media (max-width: 1600px) {
    .blog-posts-section .elementor-widget-container .elementor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1250px) {
    .blog-posts-section .elementor-widget-container .elementor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 880px) {
    .blog-posts-section .elementor-widget-container .elementor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .blog-posts-section .elementor-widget-container .elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Post page CSS */
.post-content-section img {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.post-comments-section #comments h2#reply-title,
.post-comments-section #comments .logged-in-as {
    display: none;
}

.post-comments-section #comments .comment-form-comment label {
    padding: 0 0 20px;
    border-bottom: 1px solid #00000033;
    margin-bottom: 20px;
    width: 100%;
}

.post-comments-section #comments .comment-form-comment textarea {
    border-radius: 0;
    height: 100px;
    border-color: #00000033;
}

.post-title-link-section .new-post-title,
.post-page-new-post-title h2.elementor-heading-title a {
    font-family: "libre baskerville", serif !important;
}

.post-title-link-section .new-post-title,
.post-title-link-section .elementor-widget-theme-post-excerpt p {
    color: #000000 !important;
}

.post-title-link-section:hover .new-post-title,
.post-title-link-section:hover .elementor-widget-theme-post-excerpt p {
    color: #003E82 !important;
}

.post-categories {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.post-categories a.category-link:first-child::before {
    content: none;
    display: none;
}

.post-categories a.category-link::before {
    content: '';
    background: #000000;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-flex;
}

.post-categories a.category-link {
    color: #000000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.post-categories a.category-link:hover {
    color: #5177A1;
}

/* .post-content-section .elementor-widget-theme-post-content .elementor-widget-container div, */
.post-content-section p,
.post-content-section ul {
    margin-bottom: 25px;
}

.post-content-section h1 {
    margin-block-end: 2rem;
}

.post-content-section h2,
.post-content-section h3,
.post-content-section h4,
.post-content-section h5,
.post-content-section h6 {
    margin-block-start: 0;
    margin-block-end: 0.5rem
}

/* Search page CSS */
.search-results-wrapper {
    margin: 0 auto;
    width: 1200px;
    max-width: 100%;
    padding: 20px;
}

.search-results-wrapper h1 {
    font-size: 32px;
    padding: 20px 0 40px;
    margin: 0;
    color: #000000;
    text-align: center;
}

.search-results-wrapper form {
    position: relative;
}

.search-results-wrapper form svg {
    width: 18px;
    position: absolute;
    top: 15px;
    left: 12px;
}

.search-results-wrapper form input {
    padding: 12px 12px 12px 45px;
    border-radius: 0;
    font-size: 14px;
    outline: none;
}

.search-tabs {
    width: 1200px;
    max-width: 100%;
}

.search-tabs ul {
    display: flex;
    /* grid-template-columns: repeat(2, 1fr); */
    border-bottom: 1px solid #00000033;
    padding: 8px 0 0;
}

.search-tabs ul li {
    list-style: none;
}

.search-tabs ul li a {
    padding: 14px 35px;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.search-tabs ul li a.active {
    border-bottom: 3px solid #5177a1;
}

.sort-by {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.sort-by .search-results span {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.sort-by #sort-by {
    border: 0;
    width: auto;
    outline: none;
    font-size: 14px;
    line-height: 1.5;
}

#blog-posts-results,
#other-pages-results {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

#blog-posts-results .search-result-item,
#other-pages-results .search-result-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.search-result-item .featured-image img {
    height: 124px;
    max-width: 100%;
    width: 176px;
    object-fit: cover;
    object-position: center;
}

.search-result-item .result-info h2 {
    margin: 0 0 10px 0;
}

.search-result-item .result-info h2 a {
    color: #000000;
    font-size: 20px;
    line-height: 28px;
    padding: 0;
    text-decoration: underline;
}

.search-result-item .result-info p {
    font-size: 14px;
    line-height: 20px;
    padding: 0;
    margin: 0;
}

.pagination {
    width: 100%;
}

.pagination .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    gap: 10px;
}

/* Responsive CSS */
@media only screen and (max-width: 1680px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 500px !important;
    }
}

@media only screen and (max-width: 1600px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 470px !important;
    }
}

@media only screen and (max-width: 1440px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 400px !important;
    }
}

@media only screen and (max-width: 1280px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 350px !important;
    }

    /* Press page CSS */
    .what-happening-section .loop-grid-section .elementor-grid,
    .blogs-section .elementor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 1024px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 500px !important;
    }
}

@media only screen and (max-width: 991px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 480px !important;
    }
}

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

    /* Press page CSS */
    .what-happening-section .loop-grid-section .elementor-grid,
    .blogs-section .elementor-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .personal-injury-experts-section .elementor-flip-box {
        height: 350px !important;
    }
}

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

    /* Press page CSS */
    .what-happening-section .loop-grid-section .elementor-grid,
    .blogs-section .elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .post-categories a.category-link {
        font-size: 14px;
    }

    .post-content-section img {
        width: 100%;
    }

    /* Search page CSS */
    .search-results-wrapper h1 {
        padding: 10px 0 30px;
    }

    #blog-posts-results .search-result-item {
        flex-direction: column;
        gap: 20px;
    }

    .search-result-item .featured-image img {
        height: 260px;
        width: 450px;
    }

    .sort-by {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sort-by #sort-by {
        padding: 0.5rem 1rem 0.5rem 0;
    }
}