.retarget_ad .ad_thumbnail {
	order: 1;
	flex: 1 1 20%;
	max-width: 20%;
	box-sizing: border-box;
	z-index: 1;
	align-self: stretch;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	max-height: 100%;
}

.retarget_ad .ad_btn_wrap_mobile {
	display: none;
}

.retarget_ad .arrow_icon {
	border: solid #004494;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 2px;
	margin: 0 0 1px 0;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.retarget_ad .ad_title {
	color: #004494;
}

.retarget_ad .ad_link {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 2;
}

.ad_title_recently_visited {
	display: none;
}

.retarget_ad {
	overflow: visible;
	margin: 45px 0px 25px 0px;
	height: 125px;
	background: linear-gradient(180deg, rgba(0, 68, 148, 0.1) 0%,
		rgba(255, 255, 255, 0) 100%);
	padding: 0px 64px 0px 0px;
	gap: 24px;
	align-items: center;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	height: 125px;
}

.keywordsearch .retarget_ad {
	flex: 1 1 100%;
	max-width: 100%;
}

.keywordsearch_results.event-results .retarget_ad {
	margin: 30px 10px;
}

.library-search .retarget_ad_body {
	padding: 15px;
	max-width: 100%;
	order: 0;
	color: #004494;
}
.userDashboard_section_wrap .ad_title {
	padding: 0px 0px 0px 5px;
}

.recommended-badge .ad_title_recommended {
	font-size: 11px;
	font-weight: 400;
	color: #fff;
	background: #004494;
	box-sizing: border-box;
	padding: 3px 10px;
	float: left !important;
	height: 22px;
	position: relative;
	line-height: 16px;
}

.recommended-badge .badge-end {
	width: 0;
	height: 0;
	border-bottom: 22px solid #004494;
	border-right: 10px solid transparent;
	position: relative;
	float: left !important;
}

.recommended-badge {
	left: 0px;
	bottom: 100%;
	position: absolute;
	display: inline-block;
}

.mt_direction_right_to_left .retarget_ad {
	padding: 0px 0px 0px 64px;
}

.retarget_ad .ad_btn {
	text-align: right;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	margin: 0px -30px 0px 0px;
	color: #004494;
}

.userDashboard_section_wrap .retarget_ad .ad_btn,
.library-search .retarget_ad .ad_btn {
	margin: 0px;
}

.mt_direction_right_to_left .recommended-badge .ad_title_recommended {
	float: right !important;
}

.mt_direction_right_to_left .recommended-badge .badge-end {
	border-bottom: 22px solid #004494;
	border-left: 10px solid transparent;
	float: right !important;
	border-right: none !important;
}

.mt_direction_right_to_left .recommended-badge {
	right: 0px;
}

.retarget_ad .ad_learn_more_text {
	float: none;
	margin: 0 10px 0 0;
}

.retarget_ad .ad_btn_wrap {
	max-width: 100%;
	flex: none;
	order: 1;
}

.keywordsearch .retarget_ad .ad_title h1,
.library-search .retarget_ad .ad_title h1 {
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.keywordsearch .retarget_ad_body {
	flex: 2 2 auto;
	max-width: 83%;
	order: 2;
}

.library-search .retarget_ad_body,
.userDashboard_section_wrap .retarget_ad_body {
	flex: 2 2 auto;
	max-width: 80%;
	order: 2;
}

.library-search .retarget_ad .ad_thumbnail {
	flex: 1 1 14%;
	max-width: 14%;
}

.library-search .retarget_ad .tag-type,
.userDashboard_section_wrap .retarget_ad .tag-type {
	font-weight: normal;
	font-size: .9rem;
	box-sizing: border-box;
	padding: 2px 10px 0 10px;
	color: #fff;
	float: left !important;
	height: 1.83rem;
	background-color: #bebebe;
}

.userDashboard_section_wrap .retarget_ad .tag-after {
	width: 0;
	height: 0;
	border-top: 1.83rem solid #bebebe;
	border-right: 10px solid transparent;
	position: relative;
	float: left !important;
}

/* Personal feed customizations */
.userDashboard_section_wrap .retarget_ad .ad_title h1 {
	font-size: 13px;
	line-height: 15px;
}

.mt_direction_right_to_left .retarget_ad .arrow_icon {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.mt_direction_right_to_left .keywordsearch .retarget_ad .ad_btn {
	text-align: left;
}

@media (max-width:1400px) {
	.recommended-badge .ad_title_recommended {
		width: auto;
		min-width: 0;
	}
}

@media (max-width:1023px) {
	.keywordsearch .retarget_ad {
		min-height: 0;
		gap: 16px;
		padding: 0px 16px 0px 0px;
		margin: 40px 0px 15px 0px;
	}
	.keywordsearch .retarget_ad .ad_btn {
		margin: 0px 16px 0px 0px;
	}
	.mt_direction_right_to_left .retarget_ad .ad_btn {
		margin: 0px 0px 0px 16px;
	}
}

@media (max-width:768px) {
	.userDashboard_section_wrap .retarget_ad_body {
		padding: 0px 0px 0px 5px;
	}
	.retarget_ad .retarget_ad {
		padding: 0px 16px 0px 0px;
	}
	.mt_direction_right_to_left .retarget_ad {
		padding: 0px 0px 0px 16px;
	}
	.userDashboard_section_wrap .ad_title {
		padding: 0px;
	}
	.retarget_ad .ad_title h1 {
		font-size: 16px;
		line-height: 21px;
	}
	.retarget_ad .ad_btn_wrap_mobile {
		display: block;
	}
	.ad_btn_wrap_desktop {
		display: none;
	}
	.retarget_ad .ad_btn_wrap {
		max-width: none;
		width: 100%;
		padding: 15px 15px 10px 15px;
	}
	.retarget_ad .ad_btn {
		margin: -10px 0 0 0;
		padding: 0;
		font-size: 12px;
		line-height: 18px;
		text-align: right;
	}
	.retarget_ad .arrow_icon {
		margin: 0 0 1px 5px;
	}
	.retarget_ad .ad_title {
		padding: 0;
		max-width: 100%;
	}
	.keywordsearch_main .retarget_ad .ad_title h1 {
		font-size: 14px;
		line-height: 21px;
	}
	.library-search .retarget_ad .ad_title h1 {
		font-size: 1.33rem;
		line-height: 21px;
	}
	.retarget_ad .ad_title .ad_title_recommended {
		font-size: 12px;
	}
	.retarget_ad .ad_btn_wrap {
		padding: 0;
	}
	.retarget_ad .ad_btn {
		text-align: left;
		margin: 0;
	}
	.keywordsearch .retarget_ad .ad_title h1 {
		font-size: 14px;
		line-height: 21px;
	}
	.library-search .retarget_ad .ad_title h1 {
		font-size: 1.33rem;
		line-height: normal;
	}
	.userDashboard_section_wrap .retarget_ad .ad_title h1 {
		font-size: 15px;
		line-height: 17px;
	}
	.library-search .retarget_ad .tag-type,
	.userDashboard_section_wrap .retarget_ad .tag-type {
		padding: 3px 10px 0 10px;
	}
	.userDashboard_section_wrap .retarget_ad .ad_btn {
		font-size: 12px;
		margin-right: 0;
	}
	.mt_direction_right_to_left .keywordsearch .retarget_ad {
		width: 100%;
	}
}

@media (max-width:600px) {
	.retarget_ad {
		height: 85px;
		background: linear-gradient(180deg, #E9E9F0 0%, rgba(233, 233, 240, 0.5)
			100%), #FFFFFF;
		gap: 16px;
		padding: 0px 16px 0px 0px;
		flex-wrap: nowrap;
	}
	.library-search .retarget_ad_body {
		padding: 10px;
	}
	.userDashboard_section_wrap .retarget_ad .ad_thumbnail {
		display: block;
		flex: 1 1 25%;
		max-width: 25%;
	}
	.userDashboard_section_wrap .retarget_ad_body {
		flex: 1 1 75%;
		max-width: 75%;
		order: 1;
	}
	.keywordsearch .retarget_ad_body,
	.library-search .retarget_ad_body {
		flex: 1 1 65%;
		max-width: 65%;
		order: 1;
	}
	.keywordsearch .retarget_ad .ad_thumbnail,
	.library-search .retarget_ad .ad_thumbnail {
		flex: 0 0 35%;
		max-width: 35%;
		max-height: 100%;
		order: 0;
	}
	.keywordsearch_results.event-results .retarget_ad {
		margin: 30px 0px;
	}
}