/*===== Header Start =====*/
.fbf-btn,
.rmp-menu-item.fbf-btn {
    padding: 8px 15px; /* Combined padding for .fbf-btn and .rmp-menu-item.fbf-btn */
    border-radius: 50px;
    cursor: pointer;
}


.fbf-btn-primary-outline,
.fbf-btn-primary-outline:hover {
    border: 1px solid #1dbf74;
    color: #1dbf74;
}

.fbf-btn-primary {
    background: #1dbf74;
    color: #fff;
    font-weight: 600;
}

.fbf-btn-primary:hover {
    background: #000000;
    color: #fff;
    font-weight: 600;
}

.fbf-btn-secondary {
    background: #FF7042;
    color: #fff;
    font-weight: 600;
}

.fbf-btn-secondary:hover {
    background: #000000;
    color: #fff;
}

.fbf-header-main {
    background: #00253F;
}

.fbf-header-top {
    background: #E4F2FF;
}

.fbf-header-main-inner,
.fbf-header-top-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.fbf-header-main-inner{
    padding: 10px 20px;
}
.fbf-header-top-inner {
    justify-content: flex-end;
}

.fbf-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.fbf-search-form-area,
.fbf-top-menu-area {
    max-width: 500px;
    width: 100%;
    padding: 7px;
}

.fbf-top-menus {
    display: flex;
    column-gap: 30px;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.fbf-top-menu-list-link span {
    line-height: 24px;
    font-size: 19px;
}

.fbf-header-logo {
    max-width: 250px;
}

@media only screen and (max-width: 768px) {
    .fbf-header-logo {
       max-width: 192px;
    }
}


@media only screen and (max-width: 768px) {
	.dashicons.dashicons-arrow-left-alt{
		line-height:31px;
	}
}

.fbf-has-submenu-container > .fbf-menu-link {
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.fbf-menu-new-header-menu {
    display: flex;
    gap: 8px;
}

.fbf-normal-submenu > .fbf-sub-menu,
.fbf-mega-menu > .fbf-sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    margin-top: 0px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .12);
    border-radius: 3px;
}

.fbf-mega-menu > .fbf-sub-menu {
    max-width: 1200px;
    width: 99%;
    left: calc(50% - 507px);
    z-index: 9999;
}

.fbf-border-submenu {
    border-right: 1px solid #e4e4e4;
    padding: 10px;
}

.fbf-short-mega-menu .fbf-border-submenu {
    width: 45%;
}

.fbf-short-mega-menu .fbf-sub-menu {
    max-width: 530px;
    left: calc(50% - 300px);
}

.fbf-normal-submenu:hover > .fbf-sub-menu {
    display: block;
}
.fbf-mega-menu:hover>.fbf-sub-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.fbf-menu-item-more {
    width: 100%;
    font-weight: 700;
    border-top: 1px solid #e4e4e4;
    padding: 6px 15px;
}

ul.fbf-sub-menu {
    margin-left: 0;
    line-height: 35px;
}

.fbf-menu-item-has-children {
    padding-right: 15px;
    padding-left: 15px;
}

.fbf-mega-menu > .fbf-sub-menu .fbf-menu-item-has-children {
    flex: 1;
}

.fbf-menu-item:hover > a.fbf-menu-link {
    background-color: #051145;
    color: #fff;
    border-color: #1dbf74;
}

.fbf-menu-link {
    font-size: 14px;
    line-height: 30px;
    display: block;
    border-left: 3px solid transparent;
    padding: 3px 5px;
}

.fbf-menu-new-header-menu > li:hover {
    background: #1dbf74;
}

.fbf-menu-new-header-menu > li {
    padding: 3px 8px;
    border-radius: 2px;
}

.fbf-menu-new-header-menu > li .dashicons {
    line-height: 31px;
}

span.fbf-menu-link {
    font-weight: 600;
}
/*===== Header End =====*/
/*===== Footer Start =====*/
.fbf-footer-content {
    color: #fff;
    background: #012743;
}

.fbf-footer-content-inner {
    padding: 100px 20px 30px;
}

.fbf-footer-content h4.wp-block-heading {
    color: #1dbf74;
    font-weight: 600;
    font-size: 24px;
}

.fbf-footer-content .wp-block-heading:after {
    content: "";
    background: #1dbf74;
    width: 40px;
    height: 3px;
    display: block;
    margin-top: 10px;
}

.fbf-footer-content .menu-item a.menu-link {
    color: #fff;
    padding: 10px 0;
    display: block;
}

.fbf-copyright-content {
    background: #1CBF74;
    padding: 15px;
    text-align: center;
}

.fbf-footer-columns {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    flex-wrap: wrap;
}

.fbf-footer-inner-column {
    width: calc(25% - 15px);
    margin-bottom: 20px;
}

.fbf-footer-inner-column .wp-block-social-links .wp-block-social-link.wp-social-link {
    background: #05a84e;
}
.fbf-footer-inner-column .wp-block-social-links {
    display: flex;
    column-gap: 10px;
}
.fbf-footer-inner-column .wp-block-social-links .wp-block-social-link-anchor .dashicons {
    color: #022743;
    font-size: 22px;
    margin: 2px 3px 2px 1px;
}

.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor svg {
    fill: #022743;
    font-size: 23px;
}

@media screen and (max-width: 1024px) {
    .fbf-footer-inner-column {
        width: calc(50% - 14px);
    }
}

@media screen and (max-width: 600px) {
    .fbf-footer-inner-column {
        width: 100%;
    }
}
/*===== Footer End =====*/
/*===== Search form Start =====*/
.fbf-search-form-container {
    position: relative;
    max-width: 100%;
    background: transparent;
    border: 0 solid rgba(0, 0, 0, 0);
    border-radius: 50px;
    box-shadow: 0 4px 28px -13px #000;
}

#fbf-search-input {
    border-width: 0px !important;
    padding: 5px 0 5px 15px !important;
        margin: 0px;
}

.fbf-search-form {
    display: flex;
    height: 40px;
}

.fbf-search-input,
.fbf-search-select {
    padding: 10px;
    width: 100%;
}

.fbf-search-button {
    padding: 12.5px 20px;
    margin-left: -24px;
    border-radius: 0 50px 50px 0;
}

.fbf-search-results {
    margin-top: 3px;
    position: absolute;
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .15);
    max-height: 300px;
    overflow: auto;
    display: none;
    z-index: 999;
    text-align: left;
}

.fbf-search-results .result-item {
    margin-bottom: 0;
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
}

.result-item {
    display: flex;
    align-items: flex-start;
}

.result-img {
    flex: 0 0 100px;
    margin-right: 20px;
}

.result-img img {
    width: 100%;
    height: auto;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.result-description {
    margin-top: 10px;
    font-weight: 600;
    font-size: 15px;
}

div .fbf-search-post-title {
    margin-bottom: 6px;
}

div h6.result-title {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 14px;
}

div .fbf-search-post-title {
    margin: 20px 10px 10px;
    font-weight: 600;
    color: #1dbf74;
}

div .result-description {
    margin: 5px 0;
    font-weight: 200;
    font-size: 13px;
}

.fbf-search-results .result-item:hover {
    background: #1dbf74;
    color: #fff;
}

.fbf-search-loading {
    position: absolute;
    top: 50%;
    left: calc(100% - 86px);
    transform: translate(-50%, -50%);
    display: none;
}

:where(.wp-block-columns) {
    margin-bottom: 0px !important;
}

.fbf-search-loading .spinner {
    width: 25px;
    height: 25px;
    border: 4px solid #1dbf74;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*===== Search form End =====*/
/*===== Blog carousel Start =====*/
.blog-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.carousel-item1 {
    flex: 0 0 33%;
    margin: 10px;
    display: block !important;
    border: none;
    background-color: #002743 !important;
    border-radius: 5px;
    box-shadow: 3px 3px 4px 0px rgba(168, 168, 168, 0.5) !important;
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.slick-prev {
    left: 10px !important;
}

.slick-next {
    right: 10px !important;
}

.blog-section {
    background-image: url(https://findbestfirms.com/wp-content/uploads/2023/09/Frame-46FBF-Banner-green-texture.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: scroll;
    background-size: cover;
    padding: 100px 30px;
    background-color: #eee;
}

.carousel-image img {
    width: 100%;
    height: 200px;
}

.post-carousel-title {
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #fff !important;
}

.post-carousel-text {
    padding: 20px;
    height: auto;
}

.post-carousel-more {
    font-size: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #1dbf74 !important;
    font-weight: 600;
    text-decoration: none;
}

.blog-carousel.single-slide .slick-track {
    display: flex;
    justify-content: center;
}

.blog-carousel.single-slide .slick-slide {
    float: none;
}

.carousel-image img {
    object-fit: cover;
}

.post-carousel-title {
    height: 51px;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    div .carousel-image img {
        height: 125px;
    }
}
/*===== Blog carousel End =====*/
.fbf-text-primary {
    color: #1cbf74;
}

.fbf-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.fbf-alert-error {
    background-color: #edd4dd;
    color: #6d1717;
    border: 1px solid #db7878;
}

.fbf-alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
}

.fbf-form-group {
    margin-bottom: 20px;
}

.fbf-open-popup {
    cursor: pointer;
}

.fbf-popup-container {
    position: fixed;
    display: none;
    width: 100%;
    height: 100vh;
    background: #00000066;
    padding: 40px 10px;
    z-index: 999999;
    top: 0;
    overflow: auto;
}

.fbf-popup-container .fbf-popup-inner-container {
    background: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 13px;
}

.fbf-popup-close {
    background: #169e5c;
    color: #fff;
    float: right;
    margin-bottom: 18px;
    cursor: pointer;
}

/*=======Bootstrap CSS======*/
/* General container and row */
/*===== Container =====*/
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/*===== Row =====*/
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/*===== Column Breakpoints =====*/
.col-xl-9, .col-lg-9, .col-md-12, .col-lg-8, .col-lg-4
.col-xl-3, .col-lg-3, .col-md-3,
.col-md-12, .col-xl-8, .col-md-8,
.col-md-3, .col-xl-4, .col-md-4, .col-md-6
 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    width: 100%;
}

/*===== Spacing Utilities =====*/
.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.ms-3 {
    margin-left: 1rem;
}
.p-3{
    padding: 1rem;
}
.m-auto {
    margin: auto;
}
.text-white {
    color: #fff;
}
.border-end {
    border-right: 1px solid #dee2e6 !important;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
/*===== Text Alignment =====*/
.text-end {
    text-align: right;
}

/*===== Flexbox Utilities =====*/
.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

/*===== Floating Elements =====*/
.float-md-start {
    float: left;
}

/*===== Border =====*/
.border-0 {
    border: 0;
}

/*===== Media Queries =====*/
@media (min-width: 1200px) {
    .col-xl-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
@media (min-width: 992px) {
    .mt-lg-4 {
        margin-top: 1.5rem;
    }
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-lg-8{
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-lg-4{
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (min-width: 768px) {
    .d-md-flex{
        display: flex;
    }
    .mb-md-4 {
        margin-bottom: 1.5rem;
    }
    .me-md-4 {
        margin-right: 1.5rem;
    }
    .col-md-6{
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .col-md-12 {
        width: 100%;
    }
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
/*=======Bootstrap CSS End======*/

.review-container {
    padding: 50px 50px !important;
}
/*bloglist css */

.fbf-profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #512DA8;
    font-size: 25px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    margin-right: 20px;
}

.fbf-customized-post-container {
    width: 100%;
    margin: 0 auto;

}

.fbf-customized-post-item {
    display: flex;
    padding-bottom: 15px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(11, 11, 11, 8%) !important;
    margin-bottom: 60px;
    background-color: white !important;
    border: 1px solid #eeeeef !important;
    border-radius: 5px !important;

}

.fbf-customized-post-image-wrapper {
    width: 50%;
    margin-right: 20px;
}

.fbf-customized-post-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.fbf-customized-post-content-area {
    width: 50%;
    padding-top: 40px;
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
}
.fbf-customized-post-title
{
    line-height: 0.3em;
    margin-bottom: 10px;
}

.fbf-customized-post-title a{
    color: #051145;
    font-size: 18px !important;
    line-height: 0.7;
}

.fbf-customized-post-excerpt {
    font-size: 14px;
    color: #051145;
}

.fbf-customized-post-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    color: #1dbf74;
    text-decoration: none;
}

.fbf-customized-post-read-more:hover {
   background-color: #1dbf74;
    color: white !important;

}

.fbf-customized-post-categories a{
    margin-top: 10px;
        padding: 5px 10px;
    font-family: 'Poppins';
    font-size: 13px;
    border-radius: 5px;
    background-color: #002743;
    color:#fff;
}


.fbf-customized-post-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fbf-customized-post-pagination a, .fbf-customized-post-pagination span {
       margin: 0 5px;
    padding: 3px 9px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.fbf-customized-post-pagination .current {
       color: #051145;
    background: #1dbf74;
}
.fbf-customized-post-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.fbf-customized-post-date p {
    margin: 0;
}

/* Media Queries for Responsiveness */

/* For tablets (medium screens) */
@media (max-width: 768px) {
    .fbf-customized-post-item {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
        width: 100%; /* Ensure full width */
    }

    .fbf-customized-post-image-wrapper {
        margin-right: 0; /* Remove margin for image */
        margin-bottom: 15px; /* Add space below image */
        width: 100%;
    }

    .fbf-customized-post-image-wrapper img {
        max-width: 100%; /* Make image take full width */

    }

    .fbf-customized-post-categories {
    margin-bottom: 20px;
    }
    .fbf-customized-post-title a {
    color: #051145;
    font-size: 18px !important;
    line-height: 1.4;
}
.fbf-customized-post-container {
    padding: 20px;
}
}

/* For mobile phones (small screens) */
@media (max-width: 480px) {
    .fbf-customized-post-item {
        flex-direction: column;
        text-align: center;
        width: 100%; /* Make the content wrapper take 100% width */
    }

    .fbf-customized-post-image-wrapper img {
        max-width: 100%; /* Ensure the image takes full width */

    }

    .fbf-customized-post-content-area {
        width: 100%; /* Ensure content area is 100% width */
         padding-top: 0px;
    }

    .fbf-customized-post-title {
        font-size: 16px; /* Smaller font for mobile */
    }
    .fbf-customized-post-categories {
    margin-bottom: 20px;
    }
    .fbf-customized-post-title a {
    color: #051145;
    font-size: 16px;
    line-height: 1.4;
}

    .fbf-customized-post-excerpt {
        font-size: 14px; /* Smaller excerpt text */
    }
    .fbf-customized-post-container {
    padding: 20px;
}
}

input#gform_submit_button_2 {
    width: 100% !important;
}

/* Live visitor start*/
.fbf-live-counter {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    font-family: Arial, sans-serif;
    max-width: fit-content;
    position: fixed;
    bottom: 10px;
    padding-right: 10px;
}

/* Circle animation styling */
.fbf-live-circle {
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.fbf-live-circle::before,
.fbf-live-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: fbf-glow 2s infinite ease-in-out;
}

.fbf-live-circle::before {
    width: 100%;
    height: 100%;
    background-color: rgb(253 103 2 / 70%);
    animation-delay: 0.5s;
}

.fbf-live-circle::after {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    background-color: rgb(253 103 2 / 65%);
}

.fbf-inner-circle {
    width: 20px;
    height: 20px;
    background-color: #FD6702;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Text styling */
.fbf-live-text {
    font-size: 14px;
    color: #333;
}

.fbf-visitor-count {
    color: #FD6702;
    font-weight: bold;
}

.fbf-check-icon {
    color: #FD6702;
}

/* Animation */
@keyframes fbf-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* Responsive styling */
@media (max-width: 480px) {

    .fbf-live-circle {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .fbf-live-text {
        font-size: 12px;
    }
}
/* Live visitor end*/
