.brand-screenshot-thumb-wrap {
	margin-top: .5rem;
}

.brand-screenshot-thumb {
	display: inline-block;
	padding: 0;
	border: 1px solid #d9e2ec;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
}

.brand-screenshot-thumb img {
	display: block;
	width: 120px;
	height: auto;
	max-width: 100%;
}

.broker-listing-detailed .item .c2a-box .brand-screenshot-thumb img {
	border-radius: 6px;
	padding: 5px;
}

.brand-screenshot-thumb:hover,
.brand-screenshot-thumb:focus {
	border-color: #6ac795;
	outline: none;
	box-shadow: 0 0 0 2px rgba(106, 199, 149, .25);
}

body.brand-screenshot-lightbox-open {
	overflow: hidden;
}

.brand-screenshot-lightbox {
	position: fixed;
	top: 0;
	/*rtl:ignore*/
	left: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	z-index: 10050;
}

.brand-screenshot-lightbox[hidden] {
	display: none !important;
}

.brand-screenshot-lightbox__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .75);
}

.brand-screenshot-lightbox__dialog {
	position: absolute;
	top: 50%;
	/*rtl:ignore*/
	left: 50%;
	z-index: 1;
	/*rtl:ignore*/
	transform: translate(-50%, -50%);
	max-width: min(1100px, calc(100vw - 3rem));
	max-height: calc(100dvh - 3rem);
}

.brand-screenshot-lightbox__image {
	display: block;
	max-width: min(1100px, calc(100vw - 3rem));
	max-height: calc(100dvh - 3rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

@media (max-width: 767.98px) {
	.brand-screenshot-lightbox__dialog,
	.brand-screenshot-lightbox__image {
		max-width: calc(100vw - 2rem);
		max-height: calc(100dvh - 2rem);
	}
}

.brand-screenshot-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.95;
}

.brand-screenshot-lightbox__close:hover,
.brand-screenshot-lightbox__close:focus {
	background: rgba(0, 0, 0, 0.85);
	opacity: 1;
	outline: none;
}
