@import url('https://fonts.googleapis.com/css?family=Heebo&display=swap');

.post h1.entry-title,
.post h1.entry-title a {
    color: inherit;
}

.fw-shortcode-latest-posts {
    display: flex;
    flex-wrap: wrap;
    height: auto !important;
}

.fw-shortcode-latest-posts>* {
    position: static !important;
}

.fw-site-logo {
    width: auto !important;
}

.header-1.fw-top-logo-left .fw-nav-wrap {
    margin-left: 20px;
}

.sidebar-seo .widget {
    padding: 25px;
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-bottom: 50px;
}

.sidebar-seo {
    margin-top: 50px;
}

.content-seo {
    margin-top: 25px;
}

.sidebar-seo .widgettitle {
    margin-top: 0;
    border-bottom: solid 2px #ffffff;
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 10px;
}

.button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFA800;
    border: solid 3px #FFA800;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 200ms;
    text-align: center;
    margin-right: 15px;
}

.button:hover {
    background-color: transparent;
    color: #FFA800 !important;
}

.widget .button {
    display: block;
}

.highlight a {
    background-color: #ffa800;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
}

.header-1 .primary-navigation>ul>li:not(.highlight)>a {
    padding: 10px 0;
}

.phone {
    margin-top: 36px;
}

@media (max-width: 991px) {
    .n2-ss-align.n2-ss-slider-align-visible {
        display: none;
    }
}

.fw-btn.fw-btn-side-by-side:last-child {
    margin-right: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
}

blockquote .gr-review-body {
    font-size: 0.9em;
    line-height: normal;
}

.gr-rating-stars {
    color: gold;
}

.lazyload,
.lazyloading {
    position: static !important;
    background: none !important;
}

.gr-review-url {
    background-color: #319ee1 !important;
    color: #ffffff !important;
}

#grfwp-pagination-controls {
    display: none !important;
}

.button[href*="wa.me"] {
    background-color: #01e675 !important;
    padding: 12px 25px;
    border: none;
}

.button[href*="wa.me"]:hover {
    background-color: #1ebea5 !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .fw-btn-md {
        display: block;
    }

    .fw-btn.fw-btn-side-by-side {
        margin-right: 0;
    }

    .button[href*="wa.me"] {
        display: block;
        margin-top: 15px;
    }
}

/* Hover button */
.onw-hover-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    z-index: 999;
}

.onw-hover-button>a {
    margin: 0;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
    border: solid 1px #cf8800;
}

.onw-button {
    display: block;
    padding: 1em 3em;
    margin: 1em 0 0;
    background-color: #ffa800;
    color: #fff;
    text-decoration: none;
    transition: all 200ms ease-in-out;
    text-align: center;
}

.onw-button:hover {
    color: #ffffff;
    background-color: #319ee1;
    border-color: #2471a1;
}

@media (max-width: 767px) {
    .onw-hover-button {
        transform: translateY(-50%) rotate(-90deg);
    }
}

/* END Hover button */
.title_of_post {
    color: black !important;
    background-color: white !important;
}

/* Homepage / Misc redesign */
@import url('https://fonts.googleapis.com/css?family=Heebo&display=swap');

.bim-hero>img {
    opacity: 0.3;
}

.bim-hero .button+.button {
    background-color: #319ee1;
}

.bim-content .button {
    border: none;
    border-radius: 4px;
    padding: 10px 25px;
    background-color: #e39600;
}

.bim-content .button:hover {
    background-color: #319ee1;
    color: #ffffff !important;
}

.bim-content .button+.button:hover {
    background-color: #ffa800;
    color: #ffffff !important;
}

.bim-boxed-text .bim-colour-none {
    padding: 0;
    display: flex;
}

.bim-boxed-text .bim-colour-none img {
    max-height: 400px
}

.bim-boxed-text .bim-colour-grey {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bim-maps .bim-html {
    padding: 0 !important;
}

.bim-maps .bim-html iframe {
    display: block;
}

.bim-usps {
    padding: 10px 0;
    font-size: 0.8em;
    font-weight: 600;
    border-bottom: solid 2px #f2f2f2;
}

.bim-home-top-image img {
    max-height: 500px;
}

.bim-reviews .gr-reviews {
    display: flex;
    flex-wrap: wrap;
    margin-top: 75px;
}

.bim-reviews .gr-review {
    width: calc(25% - 30px);
    margin: 0 15px;
    background-color: #ffffff;
    border-radius: 0;
    display: flex;
}

.bim-reviews .gr-content {
    display: flex;
    flex-direction: column;
}

.bim-reviews .gr-content .gr-author {
    order: 3;
    margin-top: auto;
}

.bim-reviews .gr-review-body {
    margin-bottom: 25px;
}

.bim-reviews .gr-review-rating {
    margin-bottom: 25px;
    text-align: center;
    color: #ffd700;
}

.bim-home-image-row .bim-column {
    display: flex;
}

.bim-home-image-row .bim-column a {
    height: 100%;
}

.bim-home-image-row .bim-column img {
    max-height: 300px;
}

.bim-reviews .bim-text {
    display: flex;
    flex-wrap: wrap;
}

.bim-reviews h2 {
    width: 100%;
}

.bim-content hr {
    max-width: 100px;
    margin-left: 0;
    height: 4px;
    border: none;
    background-color: #ffffff;
    border-radius: 99px;
    margin: 0 0 15px;
}

* {
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.2px;
}

h1,
.h1 {
    font-size: 2.5em;
}

h2,
.h2 {
    font-size: 2em;
}

h3,
.h3 {
    font-size: 1.5em;
}

.fw-logo-retina.header-1 .fw-header:not(.fw-header-sticky-new-logo) .primary-navigation,
.fw-logo-retina.header-5 .fw-header:not(.fw-header-sticky-new-logo) .primary-navigation {
    margin: 0!important;
}

.phone {
    margin: 0!important;
}

.header-1 .fw-header-main .fw-container {
    display: flex!important;
    flex-wrap: wrap!important;
    align-items: center!important;
    justify-content: space-between!important;
    padding: 15px 0!important;
}

.header-1 .fw-header-main .fw-container:before,
.header-1 .fw-header-main .fw-container:after {
    display: none!important;
}

.header-1.fw-top-logo-left .fw-nav-wrap {
    margin: 0!important;
}

.header-1 .primary-navigation>ul>li>a {
    margin-left: 20px!important;
}

.bim-content.bim-colour-white hr,
.bim-content.bim-colour-grey hr {
    background-color: #ffa800;
}

.bim-usps img {
    margin-bottom: 0;
    max-height: 35px;
    width: auto;
}

.bim-usps p {
    line-height: normal;
}

.gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper form textarea {
    padding: 5px;
    margin-bottom: 0 !important;
}

.bim-home-image-row {
    padding: 0;
}

.bim-reviews {
    padding-top: 0;
}

.onw-img-adapt-height img {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.onw-img-adapt-height .bim-image {
    position: relative;
}

@media (max-width: 767px) {
    .bim-usps .bim-column:not(:nth-child(3)) {
        display: none;
    }

    .bim-usps .bim-column:nth-child(3) .bim-text,
    .bim-usps .bim-column:nth-child(3) .bim-text p {
        display: flex;
        justify-content: center;
        min-width: 200px;
    }

    .bim-usps .bim-column:nth-child(3) img {
        object-fit: contain;
    }

    .bim-boxed-text {
        padding: 0;
    }

    .bim-boxed-text+.bim-boxed-text .bim-column:last-child {
        order: -1;
    }

    .bim-reviews .gr-review {
        width: 100%;
        margin-bottom: 30px;
    }

    .bim-home-image-row .bim-column {
        margin-bottom: 30px;
    }

    h1,
    .h1 {
        font-size: 2em;
    }

    .bim-content .button {
        display: block;
        margin: 0 0 15px;
    }

    .bim-image {
        margin-top: 25px;
    }


    .bim-content.bim-colour-white:has(.bim-text):not(.bim-usps)+.bim-content.bim-colour-white:has(.bim-text) {
        padding-top: 0;
    }

    .bim-column+.bim-column .bim-text {
        padding-top: 25px;
    }

    .bim-home-image-row .bim-column:not(:nth-child(1)) {
        display: none;
    }
}

/* END Homepage / Misc redesign */
/* Homepage 2026 redesign */

.page-template-tpl-pseudo:has(.onw-hero) {
    .bim-hero .button+.button {
        background-color: #319ee1;
    }

    .bim-content .button {
        border: none !important;
        border-radius: 4px !important;
        padding: 10px 25px !important;
        background-color: #e39600 !important;
    }

    .bim-content .button:hover {
        background-color: #319ee1 !important;
        color: #ffffff !important;
    }

    .bim-content .button+.button:hover {
        background-color: #ffa800 !important;
        color: #ffffff !important;
    }

    .bim-content .button[href*="wa.me"] {
        background-color: #01e675 !important;
        padding: 12px 25px;
        border: none;
    }

    .bim-content .button[href*="wa.me"]:hover {
        background-color: #1ebea5 !important;
        color: #fff !important;
    }

    *:not(.fa) {
        font-family: 'Heebo', sans-serif;
        letter-spacing: 0.2px;
        line-height: 1.6;
    }

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3 {
        font-family: 'Heebo', sans-serif;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0.2px;
    }

    h1,
    .h1 {
        font-size: 2.5em;
    }

    h2,
    .h2 {
        font-size: 1.8em;
    }

    h3,
    .h3 {
        font-size: 1.5em;
    }

    .gform_wrapper form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
    .gform_wrapper form textarea {
        padding: 5px;
        margin-bottom: 0 !important;
    }

    .onw-hover-button {
        display: none;
    }
}

@media (max-width: 767px) {
    .page-template-tpl-pseudo:has(.onw-hero) {

        h1,
        .h1 {
            font-size: 2em;
        }

        .bim-content .button {
            display: block;
            margin: 0 0 15px;
        }

        .bim-image {
            margin-top: 25px;
        }

        .bim-content.bim-colour-white:has(.bim-text):not(.bim-usps)+.bim-content.bim-colour-white:has(.bim-text) {
            padding-top: 0;
        }

        .bim-column+.bim-column .bim-text {
            padding-top: 25px;
        }
    }
}

.onw-hero {
    padding: 250px 0 125px;

    h1 {
        font-weight: 900;
    }

    h3 {
        font-weight: 400;
    }

    &:before {
        content: '';
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: 1;
    }

    .bim-container {
        z-index: 2;
    }

    :has(> .button) {
        margin-top: 25px;
    }
}

#main:has(.onw-hero) {
    .button {
        border-radius: 99px !important;
        padding: 15px 30px !important;
    }

    :not(.onw-hero)>.bim-background-img {
        opacity: 0.4;
    }

    .best4u-im-faq {
        .bim-item {
            background-color: transparent;
            border-bottom: solid 1px #000000;
            padding: 25px 0;
            margin: 0;

            .bim-question {
                font-size: 1.4em;
            }
        }
    }
}

.onw-heading-arrow {

    &:after,
    &:before {
        content: '';
        background-image: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 37"><path d="M2.5 15.91a2.5 2.5 0 0 0 0 5zm86.302 4.268a2.5 2.5 0 0 0 0-3.536L72.892.732a2.5 2.5 0 0 0-3.535 3.536L83.499 18.41 69.357 32.552a2.5 2.5 0 0 0 3.535 3.536zM2.5 18.41v2.5h84.535v-5H2.5z" fill="%23ffa800"/></svg>');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 100px;
        height: 25px;
        display: inline-block;
    }

    &:before {
        display: none;
    }

    &.onw-heading-arrow-front {
        &:after {
            display: none;
        }

        &:before {
            display: inline-block;
        }
    }
}

.onw-container-card {
    .bim-container {
        box-shadow: 0px 4px 5.6px 0px #00000021;
        border-radius: 20px;
        background-color: #f2f2f2;
        border: solid 1px #e2e2e2;
        padding: 25px;
    }
}

.onw-overlap-top {
    padding: 0;
    margin-bottom: -75px;
    background-color: transparent;

    .bim-container {
        position: relative;
        z-index: 5;
        top: -75px;
    }
}

.onw-usps {
    .bim-column {
        display: flex;
        justify-content: center;
        text-align: center;
        font-weight: 600;
    }

    img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
    
    :has(> img) {
        min-height: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.onw-column-cards {
    .bim-column {
        display: flex;
        flex-wrap: wrap;
    }

    .bim-image img {
        box-shadow: 0px 4px 5.6px 0px #00000021;
        border-radius: 20px;
    }

    .bim-text {
        box-shadow: 0px 4px 5.6px 0px #00000021;
        border-radius: 20px;
        background-color: #f2f2f2;
        border: solid 1px #e2e2e2;
        padding: 25px;
        color: #262626;

        .onw-heading-arrow {

            &:after,
            &:before {
                background-image: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 37"><path d="M2.5 15.91a2.5 2.5 0 0 0 0 5zm86.302 4.268a2.5 2.5 0 0 0 0-3.536L72.892.732a2.5 2.5 0 0 0-3.535 3.536L83.499 18.41 69.357 32.552a2.5 2.5 0 0 0 3.535 3.536zM2.5 18.41v2.5h84.535v-5H2.5z" fill="%23ffa800"/></svg>');
            }
        }
    }
}

.bim-content:has(+ .onw-overlap-top) {
    padding-bottom: 150px;
}

.onw-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 50px 0 35px !important;

    li {
        display: flex;
        font-weight: 600;
        background-color: #ffffff;
        flex: 1 1 300px;
        text-align: center;
        border-radius: 10px;
        transition: all 200ms ease-in-out;

        &:hover {
            transform: translateY(-5px);
        }

        a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 30px;
            color: #1278b6;
            font-size: 1.2em;
        }
    }
}

[style*="color:#ffffff"] {
    a {
        color: inherit;
    }

    .onw-heading-arrow {

        &:after,
        &:before {
            background-image: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 37"><path d="M2.5 15.91a2.5 2.5 0 0 0 0 5zm86.302 4.268a2.5 2.5 0 0 0 0-3.536L72.892.732a2.5 2.5 0 0 0-3.535 3.536L83.499 18.41 69.357 32.552a2.5 2.5 0 0 0 3.535 3.536zM2.5 18.41v2.5h84.535v-5H2.5z" fill="%23ffffff"/></svg>');
        }
    }
}

.onw-image-cards {
    .bim-image {

        a,
        img {
            width: 100%;
            height: 350px;
            border-radius: 20px;
        }

        img {
            border: solid 1px #f2f2f2;
        }
    }
}

.onw-homepage-contact-info {
    display: flex;
    flex-wrap: wrap;
    background-color: #319ee1;
    box-shadow: 0px 4px 5.6px 0px #00000021;
    border-radius: 20px;
    padding: 25px !important;
    color: #ffffff !important;

    a {
        color: inherit;
        text-decoration: underline;
    }

    .onw-heading-arrow {
        width: 100%;
        margin-top: 0;
        font-size: 1.5em !important;

        &:after,
        &:before {
            height: 20px;
            background-image: url('data:image/svg+xml,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 37"><path d="M2.5 15.91a2.5 2.5 0 0 0 0 5zm86.302 4.268a2.5 2.5 0 0 0 0-3.536L72.892.732a2.5 2.5 0 0 0-3.535 3.536L83.499 18.41 69.357 32.552a2.5 2.5 0 0 0 3.535 3.536zM2.5 18.41v2.5h84.535v-5H2.5z" fill="%23ffffff"/></svg>') !important;
        }
    }

    .onw-homepage-contact-info-column {
        flex: 1 1 200px;
    }
}

@media (max-width: 767px) {
    .onw-hero {
        padding-top: 150px;
    }

    .onw-container-card {
        margin: 0 15px;
    }

    .onw-column-cards .bim-container {
        gap: 25px;
    }

    .onw-usps {
        .bim-column {
            padding: 0;
            justify-content: flex-start;
        }

        .bim-text {
            display: flex;
            gap: 15px;

            p {
                margin: 0;

                br {
                    display: none;
                }
            }

            img {
                width: 25px;
                height: 25px;
            }
        }
    }

    .onw-image-cards {
        .bim-column:not(:first-child) {
            display: none;
        }
    }

    .onw-overlap-top {
        margin-bottom: -75px;
        .bim-container {
            top: -100px;
        }
    }

    #main:has(.onw-hero) {
        h1, h2, h3, h4, h5, h6 {
            br {
                display: none;
            }
        }

        .best4u-im-faq {
            .bim-item {
                .bim-question {
                    font-size: 1em;
                }
            }
        }
    }
}
/* END Homepage 2026 redesign */