/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 2 version
*/


.insuremytrip {
	.has-background {
		&.has-theme-bg-green-dark,
		&.has-theme-bg-green-dark-background-color {
			background-color: #ebf5e0;
		}

		&.has-theme-text-light-black {
			background-color: var(--brand-color-light-black);
		}

		&.has-theme-bg-green-light,
		&.has-theme-bg-green-light-background-color {
			background-color: #f3f9ec;
		}

		&.has-theme-navy {
			background-color: #0c233c;
		}

		&.has-theme-bg-slate-dark,
		&.has-theme-bg-slate-dark-background-color {
			background-color: #788f9c;

			.wp-block-heading,
			p {
				color: #fff;
			}
		}

		&.has-theme-bg-slate-light,
		&.has-theme-bg-slate-light-background-color {
			background-color: #f4f5f7;
		}

		&.has-theme-bg-skyblue,
		&.has-theme-bg-skyblue-background-color {
			background-color: var(--brand-color-light-skyblue);
		}

		&.has-theme-bg-blue-light,
		&.has-theme-bg-blue-light-background-color {
			background-color: #f6fafd;
		}

		&.has-theme-bg-purple-dark,
		&.has-theme-bg-purple-dark-background-color {
			background-color: #d9ccf2;
		}

		&.has-theme-bg-purple-light,
		&.has-theme-bg-purple-light-background-color {
			background-color: #f5f2fc;
		}

		&.has-theme-bg-yellow-dark,
		&.has-theme-bg-yellow-dark-background-color {
			background-color: #fff2de;
		}

		&.has-theme-bg-yellow-light,
		&.has-theme-bg-yellow-light-background-color {
			background-color: #fff8ee;
		}

		&.has-theme-bg-gray-dark,
		&.has-theme-bg-gray-dark-background-color {
			background-color: #dedede;
		}

		&.has-theme-bg-gray-light,
		&.has-theme-bg-gray-light-background-color {
			background-color: #ebebeb;
		}

		&.theme-bg-orange-light,
		&.theme-bg-orange-light-background-color {
			background-color: #f7b024;
		}

		&.has-theme-white {
			background-color: #fff;
		}
	}
}

/*
	'slug'  => 'theme-button-blue',
	'color' => '#0270C0',
 */
.soventure {
	.has-background {
		&.has-theme-bg-orange,
		&.has-theme-bg-orange-background-color {
			background-color: #fde6cd;
		}

		&.has-theme-bg-slate,
		&.has-theme-bg-slate-background-color {
			background-color: #d4dadc;
		}

		&.has-theme-bg-blue-dark,
		&.has-theme-bg-blue-background-color {
			background-color: #274452;
		}

		&.has-theme-bg-blue,
		&.has-theme-bg-blue-background-color {
			background-color: #e0eef7;
		}

		&.has-theme-bg-teal,
		&.has-theme-bg-teal-background-color {
			background-color: #cce9ea;
		}

		&.has-theme-bg-yellow,
		&.has-theme-bg-yellow-background-color {
			background-color: #fdf5ce;
		}

		&.has-theme-bg-gray,
		&.has-theme-bg-gray-background-color {
			background-color: #ebebeb;
		}

		&.has-theme-bg-purple,
		&.has-theme-bg-purple-background-color {
			background-color: #edd2ea;
		}

		&.has-theme-white {
			background-color: #fff;
		}
	}

}


.has-inline-color {
	&.has-theme-button-green-color {
		color: var(--brand-color-dark-green);
	}

	&.has-theme-text-light-black-color {
		color: var(--brand-color-light-black);
	}
}

/*	Kadence Block Styles	*/
.wp-block-kadence-tabs .kt-tabs-title-list li {
	--border-color: "";

	.insuremytrip & {
		--border-color: var(--brand-color-regent-gray, #788f9c) !important;
	}

	.soventure & {
		--border-color: var(--color-blue-primary, #0270c0) !important;
	}

	padding: 0;
	border-left: none;
	border-top: none;
	background-color: #fff !important;
	margin: 0 !important;

	&:not(.kt-tab-title-active):hover,
	&:not(.kt-tab-title-active):focus-visible {
		text-decoration: underline !important;

		&:after {
			text-decoration: none;
		}
	}

	a {
		font-size: 20px !important;
		padding: 16px 32px !important;
		border-radius: 0 !important;
		background-color: #fff !important;

		.insuremytrip & {
			border-top: none !important;
			border-right: none !important;
			border-left: none !important;
			border-bottom: 1px solid var(--border-color) !important;
		}
		.soventure & {
			border: 1px solid var(--border-color) !important;
		}

	}
}

.insuremytrip {
	--active-tab-color: var(--brand-color-dark-blue, #0c233c);
}

.soventure {
	--active-tab-color: var(--color-blue-primary, #0270c0);
}

.wp-block-kadence-tabs .kt-tabs-content-wrap > .kt-tabs-accordion-title.kt-tab-title-active,
.wp-block-kadence-tabs .kt-tabs-title-list .kt-title-item.kt-tab-title-active {
	a {
		color: #fff !important;
		font-weight: bold !important;
		position: relative;
		background-color: var(--active-tab-color) !important;
	}
}

.wp-block-kadence-tabs .kt-tabs-title-list .kt-title-item.kt-tab-title-active {
	a:after {
		content: "→";
		margin-left: 10px;
	}
}

.wp-block-kadence-tabs .kt-tabs-content-wrap > .kt-tabs-accordion-title {
	a {
		&:after {
			color: #fff;
			content: "\2039" !important;
			position: relative;
			left: 24px;
			opacity: 0;
			-webkit-transform-origin: center;
			transform-origin: center;
			rotate: -90deg;
			-webkit-transform: translateX(10px);
			transform: translateX(10px);
			-webkit-transition: opacity 0.9s,
			-webkit-transform 0.5s;
			transition: opacity 0.9s,
			-webkit-transform 0.5s;
			transition: opacity 0.9s,
			transform 0.5s;
			transition: opacity 0.9s,
			transform 0.5s,
			-webkit-transform 0.5s;
		}
	}
}

.wp-block-kadence-tabs .kt-tabs-content-wrap > .kt-tabs-accordion-title.kt-tab-title-active {
	a {
		&:after {
			opacity: 1;
			-webkit-transform: translateX(-5px);
			transform: translateX(-5px);
		}
	}
}

.wp-block-kadence-tab {
	-webkit-padding-before: 0 !important;
	padding-block-start: 0 !important;
	border: none !important;
}

@media (min-width: 768px) {
	.wp-block-kadence-tab {
		padding-left: 40px !important;
	}
}

.wp-block-ub-tabbed-content-block {
	.wp-block-ub-tabbed-content-tabs-content {
		padding-left: 30px;
	}

	.wp-block-table table {
		border: 1px solid var(--brand-color-dark-black, #000);
	}

	.wp-block-table td,
	.wp-block-table th {
		border-bottom: 1px solid #777;
	}

	.wp-block-table td {
		padding-left: 30px;
	}

	.wp-block-table td + td {
		border-left: 1px solid var(--brand-color-dark-black, #000);
		text-align: left;
		padding-left: 50px;
	}
}

.wp-block-group.coverage-tabs {
	--tabs-and-column-width: var(--column-width, 320px);

	.wp-block-columns {
		gap: 40px;

		@media (min-width: 900px) {
			& > *:first-child {
				width: var(--tabs-and-column-width);
				flex-basis: unset !important;
				flex-grow: 0;
			}
		}
		@media (max-width: 900px) {
			flex-direction: column;
			gap: 10px;

			& > *:first-child {
				max-width: none;
			}
		}
	}

	table {
		.insuremytrip & {
			background-color: #fff;
			border: 1px solid var(--brand-color-dark-black, #212629);
			-webkit-box-shadow: 0 0 14px 0 #00000026;
			box-shadow: 0 0 14px 0 #00000026;

			td,
			th {
				padding: 24px 20px;
				border-top: none;
				border-left: none;
				border-bottom: 1px solid #cfcfcf;
				border-right: 1px solid var(--brand-color-dark-black, #212629);
			}
		}


		td {
			vertical-align: top;
		}

		td + td {
			text-align: left;
		}

		tr:last-child {
			td,
			th {
				border-bottom: none;
			}
		}

		@media (min-width: 1025px) {
			td + td {
				padding-left: 70px;
			}
		}
	}

	@media (min-width: 1025px) {
		.wp-block-kadence-tabs .kt-tabs-wrap > .kt-tabs-title-list {
			width: var(--tabs-and-column-width) !important;

			& + .kt-tabs-content-wrap {
				width: calc(100% - var(--tabs-and-column-width)) !important;
			}
		}
	}

	.wp-block-kadence-tabs .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title {
		background: #fff;
		border: none;
		border-radius: 0;
		padding: 16px 32px;
		margin-bottom: 0;
		border-bottom: 1px solid #212629;
	}
}

/* Plan and Provider Listing pages */
.plan-provider-listing,
.related-post-listing {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 395px), 1fr));
	gap: 30px;
}

.card-article__inner {
	margin-top: auto;
}

.algolia-filters.two-column {
	display: -ms-grid;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	@media (min-width: 1000px) {
		padding-inline: 170px;
	}
}

.algolia-filters.three-column {
	display: -ms-grid;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.post-filter-form .algolia-filters.three-column {
	display: -ms-grid;
	display: grid;
	gap: 20px;
	-ms-grid-columns: 70fr 20px 30fr;
	grid-template-columns: 70fr 30fr;
}

.card-provider {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 10px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	text-align: left;
	font-size: 14px;
	line-height: 1.4;
	padding: 20px;
	border: 1px solid #d4d9de;
	background-color: #fff;
	height: 100%;
	-webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	transition: box-shadow 0.4s;

	&:hover {
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	}

	.tag {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		gap: 5px;
		margin-top: auto;
	}

	.tag__btn {
		font-size: 11px;
		line-height: 1.1;
		text-transform: uppercase;
		padding: 6px 16px;
		color: #788f9c;
		background-color: #f6fafd;
		border-radius: 6px;
	}

	.review-rate {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		gap: 5px;
		font-size: 11px;
		line-height: 1.1;
		text-transform: uppercase;
		color: #777;
	}

	.review-rate__icon {
		-ms-flex-negative: 0;
		flex-shrink: 0;
		width: 21px;
	}
}

.card-provider__logo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	min-height: 65px;
	padding-bottom: 5px;
	border-bottom: 1px solid #dedede;
}

.card-provider__logo img {
	display: block;
	max-height: 60px;
}

.card-provider__title {
	color: #212629;
	font-size: 30px;
	line-height: 34px;
	font-weight: 600;
}

.card-provider {
	&:hover,
	&:focus-visible {
		.card-provider__title {
			text-decoration: underline;
		}
	}
}

.card-provider__description {
	margin-bottom: 20px;
	color: #000;
}

.card-provider__link {
	color: #0354d6;
}

.card-provider__link:hover {
	text-decoration: underline;
}

.filter-form {
	text-align: left;
	background-color: #fff;
	padding: 20px;
	margin-top: -88px;
	margin-bottom: 25px;
	position: relative;
	z-index: 10;
	-webkit-box-shadow: 0 0 24px rgba(0, 0, 0, 0.09);
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.09);
	.insuremytrip & {
		display: flex;
		flex-direction: column;
	}
	.soventure & {
		display: grid;
		gap: 20px;
	}
}

.filter-form__wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	gap: 25px;
	padding-top: 10px;
}

.filter-form__item {
	width: 100%;
}

.filter-form__label {
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 400;
	color: #000;
}

.filter-button-container {
	grid-column: 1 / -1;
	display: -ms-grid;
	display: grid;
}

.filter-form__btn {
	font-size: 18px;
	font-family: "Poppins", sans-serif;
	text-align: right;
	text-decoration: underline;
	background: none;
	border: none;

	&:hover,
	&:focus-visible {
		text-decoration: none;
	}
}

.filter-form__title {
	font-family: "Poppins", sans-serif;
	font-size: 18px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.34px;
	position: relative;
	margin: 0;
}

.filter-form__title::before,
.filter-form__title:after {
	content: "";
	position: absolute;
	background-color: #2a2a2a;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

.open .filter-form__title::before,
.open .filter-form__title:after {
	-webkit-transform: translateY(-50%) rotate(-45deg);
	transform: translateY(-50%) rotate(-45deg);
}

.filter-form__title::before {
	top: 50%;
	right: 0;
	width: 20px;
	height: 1px;
}

.filter-form__title:after {
	top: 50%;
	right: 10px;
	height: 20px;
	width: 1px;
}

.filter-result {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	text-align: left;
	/*flex-direction: column;*/
	gap: 13px;
	margin-bottom: 32px;

	.select-field--sort {
		margin-left: auto;
	}
}

.filter-result__title {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.2;
	color: #000;
}

.select-field {
	select {
		padding: 10px;
		width: 100%;
		font-weight: normal;
		font-size: 16px;

		.insuremytrip & {
			border-radius: 12px;
		}
	}
}

/*post listing css*/
section.post-listing .algolia-pagination {
	margin-top: 40px;
	text-align: left;
}

.post-filter-form label.filter-form__label {
	text-align: left;
	color: #212629;
	font-weight: normal;
}

.post-filter-form #algolia-search-input input[type="search"] ::-webkit-input-placeholder {
	color: #d3d3d3;
	font-weight: normal;
	font-size: 20px;
}

.post-filter-form #algolia-search-input input[type="search"] ::-moz-placeholder {
	color: #d3d3d3;
	font-weight: normal;
	font-size: 20px;
}

.post-filter-form #algolia-search-input input[type="search"] :-ms-input-placeholder {
	color: #d3d3d3;
	font-weight: normal;
	font-size: 20px;
}

.post-filter-form #algolia-search-input input[type="search"] ::-ms-input-placeholder {
	color: #d3d3d3;
	font-weight: normal;
	font-size: 20px;
}

.post-filter-form #algolia-search-input input[type="search"] ::placeholder {
	color: #d3d3d3;
	font-weight: normal;
	font-size: 20px;
}

.post-filter-form #algolia-search-input input[type="search"],
.post-filter-form #search-by-cat select {
	height: 58px;
	font-weight: normal;
	padding: 0 16px;
	border: 1px solid #777;
	background-color: #fff;
	color: #8a8c8c;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 8px;
}

.post-filter-form #algolia-search-input button {
	display: none;
}

@media (min-width: 1024px) {
	.card-provider {
		padding-left: 40px;
		padding-right: 40px;
		padding-bottom: 25px;
	}

	.search-travel label {
		font-size: 20px;
	}

	.filter-form {
		padding: 38px 45px;
		margin-top: -148px;
		margin-bottom: 54px;
	}

	.post-filter-form.filter-form {
		margin: 0;
		padding: 38px 0px;
		background: transparent;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	section.post-listing.alignfull {
		padding: 30px 0 0px 0;
	}

	.filter-form__wrap {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		gap: 50px;
		padding-top: 0;
	}

	.filter-form__item {
		width: calc(33.333% - 34px);
	}

	.filter-form__label {
		font-size: 18px;
		line-height: 1.65;
		font-weight: 800;
	}

	.filter-form__title {
		display: none;
	}

	.filter-form .select-field select {
		height: 72px;
	}

	.filter-result {
		margin-bottom: 36px;
	}

	.filter-result {
		margin-bottom: 36px;
	}
}

@media (max-width: 1024px) {
	.search-field-wrapper.open,
	.algolia-filters.three-column.open,
	.algolia-filters.two-column.open {
		display: -ms-grid;
		display: grid;
		padding: 12px 0 0 0;
	}

	.search-field-wrapper,
	.algolia-filters.three-column,
	.algolia-filters.two-column {
		display: none;
	}

	.post-filter-form .algolia-filters.three-column {
		display: none;
	}

	.post-filter-form .algolia-filters.three-column.open {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: 100fr;
		grid-template-columns: 100fr;
		padding: 12px 0 0 0;
	}

	.filter-form.post-filter-form {
		margin-top: 0;
	}

	section.post-listing.alignfull {
		padding: 55px 0 0px 0;
	}
}

@media (max-width: 767px) {
	.card-provider__title {
		font-size: 26px;
		line-height: 26px;
		letter-spacing: 1px;
	}

	.plan-provider-listing,
	.related-post-listing {
		grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	}

	.filter-result {
		.select-field--sort {
			width: 100%;
		}
	}

	.filter-result {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}
}

.slider-articles .swiper-slide > a:has( > .card-article),
.post-grid .swiper-slide > a:has( > .card-article),
.ais-Hits-item.plan-provider-item > a:has( > .card-article) {
	display: block;
	border-radius: 12px;
	overflow: hidden;
}

/* Hover effects of article cards */
.slider-articles .swiper-slide > a .card-article__title > span,
.post-grid .swiper-slide > a .card-article__title > span,
.ais-Hits-item.plan-provider-item > a .card-article__title > span {
	position: relative;
}

.slider-articles .swiper-slide > a .card-article__title > span:after,
.post-grid .swiper-slide > a .card-article__title > span:after,
.ais-Hits-item.plan-provider-item > a .card-article__title > span:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 0.1em;
	background-color: white;
	opacity: 0;
	transform: translate3d(-100%, 0, 0);
	transition: opacity 300ms, transform 300ms;
}

.slider-articles .swiper-slide > a:hover,
.slider-articles .swiper-slide > a:focus-visible,
.post-grid .swiper-slide > a:hover,
.post-grid .swiper-slide > a:focus-visible,
.ais-Hits-item.plan-provider-item > a:hover,
.ais-Hits-item.plan-provider-item > a:focus-visible {

	.card-article__title .icon {
		right: -5px;
	}

	.card-article__title > span:after {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.algolia-autocomplete {
	overflow-y: scroll;
	box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}