@image_banner_radius: 20px;

:root {
    --image_banner_radius: @image_banner_radius;
}
.imageBannersWrap {
	position: relative;
	float: none;
	clear: both;
	padding: var(--top_bottom_gutter) 0;

	@media @flyout {
		padding: var(--top_bottom_gutter) 0;
	}

	@media @mobile {
		padding: var(--top_bottom_gutter_mobile) 0;
	}
}

.imageBanner {
    position: relative;
    background: transparent;
	display: flex;
	flex-wrap: wrap;
	padding: var(--top_bottom_gutter) 0;

	@media @flyout {
		padding: var(--top_bottom_gutter) 0;
	}

	@media @mobile {
		padding: var(--top_bottom_gutter_mobile) 0;
	}

	& + .trustPilotTestimonials {
		padding-top: 200px;
	}

	& + .partnersWrap {
		padding-top: 132px;
		position: relative;
		z-index: 1;
	}

	&.altBackground {

	}

    .wrapper {
        position: relative;
		width: 100%;

		&:before, &:after {
			display: none;
		}
    }

	&.imageTopMobile {

		.wrapper {

			@media @mobile {
				order: 2;
			}

		}

	}

}

.imageBannerImages {

	display: block;
	position: relative;
	order: 2;


	.imageTopMobile & {
		@media @mobile {
			order: 1;
		}
	}

	.imageLeft & {
		order: 1;
	}

	.imageWrap {

		position: relative;
		width: 100%;
		height: 100%;
		min-height: 500px;
		overflow: hidden;
		border-radius: var(--image_banner_radius);
		z-index: 1;




		img {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%,-50%);
			width: 100%;
			height: 100%;
			object-fit: cover;
			z-index: 1;
			backface-visibility: hidden;
		}
	}
}

.innerImageBanner {

    display: flex;
	gap: 30px;
    position: relative;
    margin: 0 auto;
	overflow: hidden;


	.imageBannerImages {
		flex: 1 1 50%;
	}

    .bannerContentWrap {

        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 50%;
        padding: 44px;
		order: 1;
		background: var(--light_color);
		border-radius: var(--image_banner_radius);


		.imageLeft & {
			order: 2;
		}


		.button {
			margin-bottom: 0;

		}

    }

    .innerContentWrapper {

        display: block;
        width: 100%;
		max-width: 345px;
        position: relative;
        z-index: 2;

		@media @mobile {
			max-width: 358px;
			text-align: center;
		}


        h4.bannerSubtitle {
            margin: 0 0 8px;
            .rems(12);
            line-height: 1.2em;
            position: relative;
            padding: 0;
            opacity: 0.5;
        }

        .bannerTitle {
			.headingStyle(h2);
            margin: 0;
            padding: 0;
			color: var(--primary_color);
			font-family: @secondary_font;

			strong {
				color: var(--secondary_color);
				font-weight: inherit;
			}
        }

        & > .wysiwyg {
            margin: 0;
            .rems(16);
            line-height: 24px;
            color: var(--text_color);
            padding: 18px 0 0;

			@media @mobile {
				max-width: 328px;
				margin-left: auto;
				margin-right: auto;
			}

            p, ul, ol, span{
                font-size: inherit;
                line-height: inherit;
				font-weight: inherit;
                color: inherit;
            }

			strong {
				font-weight: bold;
				display: block;
			}


            &.testimonialText {


                p {

                    &:before {
                        content: '"';
                        display: inline-block;
                        padding-right: 8px;
                    }

                    &:after {
                        content: '"';
                        display: inline-block;
                        padding-left: 8px;
                    }

                }

            }
        }

		table {

			height: auto !important;
			margin-top: 25px !important;
			margin-bottom: 25px;

			tr:nth-child(odd) {
				td {
					background: #fff !important;
				}
			}

			tr {

				&:first-child {

					td {
						font-family: @secondary_font;
						font-weight: 600;
						padding-top: 4px;
						padding-bottom: 4px;


						&:nth-child(1), &:nth-child(2) {
							color: var(--primary_color);
						}
					}

				}

				td {
					text-align: center;
					width: auto !important;

					&:first-child {
						text-align: left;
						width: 15% !important;
					}

					&:last-child {
						width: 18% !important;
					}
				}
			}

		}

		.trustPilotBox {
			width: 240px;
			height: 112px;
			position: absolute;
			right: 100%;
			top: 50%;
			transform: translateY(-50%);
			margin: 0 141px 0 0;

			@media @flyout {
				margin: 0 80px 0 0;
			}

			@media all and (max-width: 740px) {
				margin: 0 56px 0 0;
			}

			@media @mobile {
				width: 240px;
				right: auto;
				left: 50%;
				top: -148px;
				margin: 0;
				transform: translateX(-50%);
			}
		}

        .buttonWrap {

            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: wrap;
            width: 100%;
            padding: 0;
            margin: 25px 0 0;

            & > a {
                margin: 0;
                width: auto;
                flex: 0 0 auto;
                min-width: 136px;

                &:last-of-type {
                    margin-right: 0;
                }

				@media @mobile {
					width: 100%;
					flex: 0 0 100%;
					min-width: 100%;
				}

            }


        }

        .faqsWrapper, .categoriesWrapper {
            margin: 32px 0 0;

            @media all and (max-width: 900px){
                margin: 24px 0 0;
            }

            @media @mobile {
                margin: 24px 0 0;
            }
        }

    }






}
