/**
 * #.# Styles
 *
 * CSS for both Frontend+Backend.
 */
.uagb-cta__outer-wrap .uagb-cta__content,
.uagb-cta__outer-wrap a.uagb-cta__block-link span,
.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper,
.uagb-cta__outer-wrap .uagb-cta-typeof-button,
.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,
.uagb-cta__outer-wrap .uagb-cta-with-svg {
	display: inline-block;
}

.uagb-cta__outer-wrap {
	display: flex;
	justify-content: space-between;
}

.wp-block-uagb-call-to-action .uagb-cta__buttons {
	display: inline-flex;
}

.wp-block-uagb-call-to-action .wp-block-button__link,
.wp-block-uagb-call-to-action .ast-outline-button {
	fill: currentColor;
	justify-content: center;
}

.uagb-cta__button-link-wrapper,
.uagb-cta-second__button {
	display: inline-flex;
	align-items: center;
	word-break: keep-all;
	width: 100%;
}

.uagb-cta__title {
	padding: 0;
	margin: 0;
	display: block;
}

.uagb-cta__content-right .uagb-cta__button-wrapper {
	float: right;
}

.uagb-cta__link-wrapper.uagb-cta__block-link-style:empty {
	display: none;
}

a.uagb-cta__block-link,
.entry .entry-content a.uagb-cta__block-link,
a.uagb-cta__block-link-wrap,
.entry .entry-content a.uagb-cta__block-link-wrap {
	text-decoration: none;
}

a.uagb-cta__block-link:hover,
.entry .entry-content a.uagb-cta__block-link:hover,
a.uagb-cta__block-link-wrap:hover,
.entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover {
	color: inherit;
}

.uagb-cta__content-right {
	text-align: right;
	justify-content: flex-end;
}

.uagb-cta__left-right-wrap {
	width: 100%;
	word-break: break-word;
}

.uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap {
	display: block;
	min-width: 100%;
	width: 100%;
}

.uagb-cta__icon-position-left .uagb-cta__left-right-wrap,
.uagb-cta__icon-position-right .uagb-cta__left-right-wrap {
	display: flex;
}

.uagb-cta__icon-position-right .uagb-cta__left-right-wrap {
	justify-content: flex-end;
}

.uagb-cta__block-link-icon-after {
	margin-left: 5px;
	margin-right: 0;
}

.uagb-cta__block-link-icon-before {
	margin-left: 0;
	margin-right: 5px;
}

.uagb-cta__block-link-icon,
.uagb-cta__block svg {
	transition: all 200ms linear;
}

.uagb-cta__block {
	position: relative;
}

.uagb-cta-typeof-button {
	line-height: 1;
	text-align: center;
}

.uagb-cta__content-right .uagb-cta__button-link-wrapper,
.uagb-cta__content-right .uagb-cta-second__button .uagb-cta__content-right .uagb-cta__block-link,
.uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap {
	display: flex;
	align-items: center;
}

.uagb-cta__content-right .uagb-cta__button-link-wrapper,
.uagb-cta__content-right .uagb-cta-second__button .uagb-cta__content-right .uagb-cta__block-link {
	justify-content: center;
}

.uagb-cta__link-wrapper a {
	box-shadow: none;
	text-decoration: none;
}

.uagb-cta__block,
.uagb-cta__content,
.uagb-cta__left-right-wrap {
	z-index: 1;
}

.uagb-cta__block-link {
	cursor: pointer;
}

.uagb-cta__content-right .uagb-cta__block-link {
	float: right;
	padding: 10px 14px;
}

a.uagb-cta__block-link-wrap {
	color: inherit;
}

.uagb-cta__content p:empty {
	display: none;
}

.uagb-cta__button-type-none .uagb-cta__content {
	width: 100%;
}

.uagb-cta-with-svg {
	height: 14px;
	width: 14px;
	line-height: 14px;
	vertical-align: middle;
}

.uagb-cta__block svg {
	display: block;
	height: inherit;
	width: inherit;
}

// This width and height is used as default width and height of svg in frontend.
.uagb-cta__button-link-wrapper svg {
	width: 20px;
	height: 20px;
}

.uagb-cta__align-button-after {
	margin-left: 5px;
}

.uagb-cta__align-button-before {
	margin-right: 5px;
}

.uagb-cta__block-link i {
	font-style: normal;
}

a.uagb-cta__link-to-all {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 11;
}

.wp-block-uagb-call-to-action {
	position: relative;

	a.uagb-cta__link-to-all {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 11;
	}
}

@media only screen and ( max-width: 976px ) {
	.uagb-cta__content-stacked-tablet,
	.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap {
		flex-direction: column;
		text-align: center;
	}

	.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper {
		float: none;
		margin: 0 auto;
	}

	.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content {
		margin-left: 0;
		margin-right: 0;
	}

	.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,
	.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper {
		width: 100% !important;
	}
}

@media screen and ( max-width: 767px ) {
	.uagb-cta__content-stacked-mobile,
	.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap {
		flex-direction: column;
		text-align: center;
	}

	.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper {
		float: none;
		margin: 0 auto;
	}

	.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content {
		margin-left: 0;
		margin-right: 0;
	}

	.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,
	.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper {
		width: 100% !important;
	}
}

// Styling for multiline paragraph
.uagb-cta__desc p:last-child {
	margin-bottom: 0;
}

