html.no-scroll,
html.no-scroll body {
	overflow: hidden;
}

.rob-julbord-gallery-container {
	position: relative;
	text-align: right;
	height: 0;
	top: -60px;
	right: 10px;
}
.rob-julbord-gallery-open-button {
	display: inline-block !important;
}
.rob-julbord-gallery-open-button:after {
	content: url('expand-icon.svg');
	fill: #fff;
	position: relative;
	top: 7px;
	display: inline-block;
	width: 25px;
}
.rob-julbord-gallery-open-button:hover:after {
	content: url('expand-icon-hover.svg');
}

.rob-julbord-gallery-popup.open {
	display: block !important;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000;
	z-index: 99999;
	overflow: auto;
}

.rob-julbord-gallery-images {
	display: block;
	padding: 0 20px;
}
@media only screen and (max-width: 600px) {
	.rob-julbord-gallery-images {
		padding: 0;
	}
}
.rob-julbord-gallery-image {
	display: block;
	margin: 20px auto;
}
.rob-julbord-gallery-image:last-child {
	margin-bottom: 0;
}

.rob-julbord-gallery-close-button {
	position: fixed;
	top: 10px;
	right: 20px;
}

.rob-julbord-gallery-close-button svg {
	width: 27px;
}

/* Tumnaglar under huvudbilden: riktiga bilder i HTML:en (för Google Bildsök).
   Fyra i bredd, högst två rader; resten döljs med CSS men finns kvar i HTML:en. */
.rob-julbord-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}
.rob-julbord-gallery-thumb {
	margin: 0;
	padding: 0;
}
.rob-julbord-gallery-thumb--hidden {
	display: none;
}
.rob-julbord-gallery-thumb a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: #f3ecea;
}
.rob-julbord-gallery-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.rob-julbord-gallery-thumb a:hover img,
.rob-julbord-gallery-thumb a:focus img {
	transform: scale(1.04);
	opacity: 0.9;
}
.rob-julbord-gallery-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	pointer-events: none;
}
@media only screen and (max-width: 600px) {
	.rob-julbord-gallery-thumbs {
		gap: 4px;
	}
	.rob-julbord-gallery-more {
		font-size: 14px;
	}
}
