/* Rogers Google Reviews: matches the look of the old Trustindex "slider" layout (light background). */
.rmgr-widget .rmgr-container,
.rmgr-widget .rmgr-container * {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4em;
	box-sizing: border-box;
}
.rmgr-widget.rmgr-inherit-font .rmgr-container,
.rmgr-widget.rmgr-inherit-font .rmgr-container * { font-family: inherit; }

.rmgr-widget .rmgr-container {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	max-width: 100%;
	color: #000;
	margin-bottom: 15px;
}
.rmgr-widget a { color: inherit; text-decoration: none; }
.rmgr-widget a:hover { text-decoration: underline; }
.rmgr-widget button { -webkit-appearance: none; appearance: none; background: none; border: 0; margin: 0; padding: 0; box-shadow: none; color: inherit; }

/* Columns: rmgr-col-N means N columns in total, the summary takes one of them. */
.rmgr-widget .rmgr-col-4 .rmgr-summary { flex: 0 0 25%; max-width: 25%; }
.rmgr-widget .rmgr-col-4 .rmgr-reviews { flex: 0 0 75%; max-width: 75%; }
.rmgr-widget .rmgr-col-4 .rmgr-item { flex: 0 0 33.333%; max-width: 33.333%; }
.rmgr-widget .rmgr-col-3 .rmgr-summary { flex: 0 0 33.333%; max-width: 33.333%; }
.rmgr-widget .rmgr-col-3 .rmgr-reviews { flex: 0 0 66.666%; max-width: 66.666%; }
.rmgr-widget .rmgr-col-3 .rmgr-item { flex: 0 0 50%; max-width: 50%; }
.rmgr-widget .rmgr-col-2 .rmgr-summary,
.rmgr-widget .rmgr-col-2 .rmgr-reviews { flex: 0 0 50%; max-width: 50%; }
.rmgr-widget .rmgr-col-2 .rmgr-item { flex: 0 0 100%; max-width: 100%; }
.rmgr-widget .rmgr-col-1 { flex-wrap: wrap; }
.rmgr-widget .rmgr-col-1 .rmgr-summary,
.rmgr-widget .rmgr-col-1 .rmgr-reviews { flex: 0 0 100%; max-width: 100%; margin-top: 0; padding-right: 0; margin-bottom: 30px; }
.rmgr-widget .rmgr-col-1 .rmgr-item { flex: 0 0 100%; max-width: 100%; }

/* Summary (business name, stars, count, button) */
.rmgr-widget .rmgr-summary { padding-right: 20px; line-height: 1.45em; text-align: left; }
.rmgr-widget .rmgr-row { display: flex; align-items: center; }
.rmgr-widget .rmgr-logo { flex: 0 0 auto; margin: 0 15px 0 0; }
.rmgr-widget .rmgr-logo img { display: block; width: 65px; height: 65px; border-radius: 4px; object-fit: contain; object-position: center top; }
.rmgr-widget .rmgr-summary-details { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.rmgr-widget .rmgr-name { font-weight: bold; font-size: 15px; color: #000; margin-bottom: 5px; white-space: normal; }
.rmgr-widget .rmgr-summary .rmgr-stars { margin: 0 0 5px; line-height: 0; }
.rmgr-widget .rmgr-rating-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmgr-widget .rmgr-rating-text,
.rmgr-widget .rmgr-rating-text strong,
.rmgr-widget .rmgr-rating-text a { font-size: 15px; color: #000; font-weight: normal; }
.rmgr-widget .rmgr-write-btn-container { margin-top: 12px; }
.rmgr-widget a.rmgr-write-btn {
	display: inline-block;
	background-color: #4285f4;
	border: 1px solid #4285f4;
	border-radius: 4px;
	padding: 9.5px 17.5px;
	font-weight: bold;
	line-height: 1;
	font-size: 13px;
	color: #fff;
	text-decoration: none;
}
.rmgr-widget a.rmgr-write-btn:hover { background-color: #1266f1; border-color: #1266f1; color: #fff; text-decoration: none; }

/* Stars */
.rmgr-widget .rmgr-stars { display: block; white-space: nowrap; }
.rmgr-widget .rmgr-star { display: inline-block; vertical-align: unset; margin-right: 1px; }

/* Slider */
.rmgr-widget .rmgr-reviews { position: relative; display: block; touch-action: pan-y; }
.rmgr-widget .rmgr-track { display: flex; flex-wrap: nowrap; overflow: hidden; margin: 0 -8px; padding-top: 5px; }
.rmgr-widget .rmgr-item { padding: 0 8px; transform: translateX(var(--rmgr-x, 0)); transition: transform 300ms ease-out; }
.rmgr-widget .rmgr-inner { display: block; position: relative; background: #f4f4f4; border-radius: 4px; padding: 20px; margin: 0; }
.rmgr-widget .rmgr-review-header { display: flex; flex-wrap: nowrap; position: relative; }
.rmgr-widget .rmgr-platform-icon { position: absolute; top: 0; right: 0; width: 20px; height: 20px; }
.rmgr-widget .rmgr-avatar { margin: 0 15px 0 0; flex: 0 0 auto; }
.rmgr-widget .rmgr-avatar img,
.rmgr-widget .rmgr-avatar-letter { display: block; width: 40px; height: 40px; border-radius: 30px; object-fit: cover; object-position: center top; }
.rmgr-widget .rmgr-avatar-letter { background: #7b1fa2; color: #fff; text-align: center; line-height: 40px; font-size: 18px; }
.rmgr-widget .rmgr-author { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.rmgr-widget .rmgr-author-name { font-weight: bold; font-size: 14px; color: #000; margin-bottom: 2px; padding-right: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmgr-widget .rmgr-author-name a { font-weight: bold; }
.rmgr-widget .rmgr-date { color: #8a8a8a; font-size: 12px; }
.rmgr-widget .rmgr-inner > .rmgr-stars { margin: 15px 0 8px; height: 17px; line-height: 17px; text-align: left; }
.rmgr-widget .rmgr-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	line-height: 21.75px;
	height: 87px;
	font-size: 15px;
	text-align: left;
	transition: height .5s;
}
.rmgr-widget .rmgr-text br { line-height: inherit; }
.rmgr-widget .rmgr-item.rmgr-open .rmgr-text { -webkit-line-clamp: unset; display: block; }
.rmgr-widget .rmgr-read-more { display: block; padding: 5px 0 0; text-align: left; font-size: 13.5px; color: #000; opacity: .5; cursor: pointer; }
.rmgr-widget .rmgr-read-more.rmgr-off { visibility: hidden; pointer-events: none; }
.rmgr-widget .rmgr-read-more:hover { opacity: 1; text-decoration: underline; }

/* Arrows (desktop only, like the old widget) */
.rmgr-widget .rmgr-prev,
.rmgr-widget .rmgr-next { display: none; position: absolute; top: 50%; margin-top: -35px; z-index: 1; width: 20px; height: 70px; cursor: pointer; transition: transform 200ms ease-out; }
.rmgr-widget .rmgr-prev:hover,
.rmgr-widget .rmgr-next:hover { transform: scale(1.2); }
.rmgr-widget .rmgr-prev::before, .rmgr-widget .rmgr-prev::after,
.rmgr-widget .rmgr-next::before, .rmgr-widget .rmgr-next::after { content: ""; position: absolute; width: 17px; height: 3px; border-radius: 2px; background: #ccc; }
.rmgr-widget .rmgr-next { right: 2px; }
.rmgr-widget .rmgr-next::before { top: 28px; right: 0; transform: rotate(45deg); }
.rmgr-widget .rmgr-next::after { top: 38px; right: 0; transform: rotate(-45deg); }
.rmgr-widget .rmgr-prev { left: 2px; }
.rmgr-widget .rmgr-prev::before { top: 38px; left: 0; transform: rotate(45deg); }
.rmgr-widget .rmgr-prev::after { top: 28px; left: 0; transform: rotate(-45deg); }

/* Progress line (phones only) */
.rmgr-widget .rmgr-dots { display: none; margin: 20px auto; width: 150px; height: 3px; border-radius: 3px; background: rgba(204, 204, 204, .35); position: relative; overflow: hidden; }
.rmgr-widget .rmgr-dot { position: absolute; left: 0; top: 0; width: 25px; height: 100%; border-radius: 3px; background: #ccc; transition: width .2s, left .2s; }

@media (min-width: 480px) {
	.rmgr-widget .rmgr-item:hover { transform: translate(var(--rmgr-x, 0), -5px); }
}
@media (min-width: 1024px) {
	.rmgr-widget .rmgr-prev,
	.rmgr-widget .rmgr-next { display: block; }
	.rmgr-widget .rmgr-track { margin: 0 20px; }
}
@media (max-width: 479px) {
	.rmgr-widget .rmgr-row { text-align: center; justify-content: center; }
	.rmgr-widget .rmgr-summary-details { flex: initial; }
	.rmgr-widget .rmgr-dots { display: block; }
}
