@font-face {
	font-family: 'OpsmarcktMedium';
	src: url('../fonts/opsmarckt-basic-webfont.woff') format('woff'), url('../fonts/opsmarckt-basic-webfont.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'Georgia-Italic';
	src: url('../fonts/Georgia-Italic.woff') format('woff'), url('../fonts/Georgia-Italic.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'AdobeGaramondProRegular';
	src: url('../fonts/agaramondpro-regular-webfont.woff') format('woff'), url('../fonts/agaramondpro-regular-webfont.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'AdobeGaramondProBold';
	src: url('../fonts/agaramondpro-bold-webfont.woff') format('woff'), url('../fonts/agaramondpro-bold-webfont.ttf') format('truetype');
	font-display: swap;
}

:root {
	--papper-gra: #d5d4d0;
	--text-gra: #51504d;
	--sidfot: #989791;
	--meny: #fafafa;
	--brun: #523a22;
	--prickad: #9b9c9c;
	--rubrik: 'OpsmarcktMedium', 'Times New Roman', serif;
	--garamond: 'AdobeGaramondProRegular', Georgia, serif;
	--garamond-fet: 'AdobeGaramondProBold', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: #000 url('../images/bg.jpg') center top no-repeat fixed;
	font: 13px Georgia, Times, serif;
	color: #000;
}
img { max-width: 100%; height: auto; border: 0; }
ul { list-style-type: none; }

.main {
	width: 903px;
	max-width: 100%;
	margin: 0 auto;
}

/* Sidhuvud */
.top {
	position: relative;
	height: 165px;
	margin-top: 15px;
}
.logo {
	position: absolute;
	left: -52px;
	top: 0;
	width: 329px;
}
.logo img { display: block; width: 100%; }
.top-right {
	position: absolute;
	top: 35px;
	right: 19px;
	width: 185px;
	text-align: right;
	letter-spacing: 2px;
	line-height: 1.4;
	font-size: 9px;
}
.top-right a {
	color: var(--meny);
	font-family: var(--garamond);
	font-size: 13.5px;
	text-transform: uppercase;
	text-decoration: none;
}
.top-right a:hover,
.top-right a:focus-visible,
.top-right #current a { color: var(--sidfot); }

/* Menyknapp, bara mobil */
.menyknapp {
	display: none;
	position: absolute;
	right: 0;
	top: 50%;
	width: 44px;
	height: 44px;
	margin-top: -30px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.menyknapp span,
.menyknapp span::before,
.menyknapp span::after {
	position: absolute;
	left: 10px;
	width: 24px;
	height: 2px;
	background: var(--meny);
	content: '';
}
.menyknapp span { top: 21px; }
.menyknapp span::before { left: 0; top: -7px; }
.menyknapp span::after { left: 0; top: 7px; }
.meny-oppen .menyknapp span { background: transparent; }
.meny-oppen .menyknapp span::before { top: 0; transform: rotate(45deg); }
.meny-oppen .menyknapp span::after { top: 0; transform: rotate(-45deg); }

/* Bildspel på papper */
.center-top {
	position: relative;
	aspect-ratio: 903 / 343;
	background: url('../images/paper_top.png') center bottom / 100% 100% no-repeat;
}
#sliderContainer {
	position: absolute;
	top: 5.248%;
	left: 1.993%;
	right: 2.326%;
	aspect-ratio: 864 / 307;
}
.bannergroup_flash,
.bannergroup {
	position: relative;
	width: 100%;
	height: 100%;
}
.bannergroup_flash .banneritem {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .6s ease;
}
.bannergroup_flash .banneritem.aktiv { opacity: 1; }
.banneritem img { display: block; width: 100%; height: auto; }
.bannergroup_flash .clr, .bannergroup .clr { display: none; }
.fader-nav {
	position: absolute;
	right: 20px;
	bottom: 12px;
	z-index: 5;
	display: flex;
	gap: 4px;
}
.fader-nav button {
	width: 15px;
	height: 15px;
	border: 0;
	border-radius: 50%;
	background: url('../images/white-circle.png') center / contain no-repeat;
	opacity: .5;
	cursor: pointer;
}
.fader-nav button.aktiv { opacity: 1; }

#rightround {
	position: absolute;
	z-index: 20;
	top: 49px;
	left: -49px;
	width: 116px;
	container-type: inline-size;
}
#rightround p { margin: 0; }
.roundbutton {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #d3d0cb;
	box-shadow: -3px 4px 7px rgba(0, 0, 0, .5);
	color: #231f20;
	text-decoration: none;
	position: relative;
}
.roundbutton::before {
	content: '';
	position: absolute;
	inset: 5%;
	border-radius: 50%;
	background: url('../images/prickring.svg') center / 100% 100% no-repeat;
}
.roundbutton span {
	display: block;
	font-family: var(--rubrik);
	font-size: 28cqi;
	line-height: .55;
	text-align: center;
	-webkit-text-stroke: .006em currentColor;
	transform: translate(-2%, -10%) rotate(-6deg);
}
.roundbutton:hover, .roundbutton:focus-visible { background: #dcd9d4; }

/* Popup "Vad är du sugen på?" */
#popupslider {
	margin: auto;
	border: 0;
	padding: 10px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
	max-width: min(700px, calc(100vw - 32px));
}
#popupslider::backdrop { background: rgba(0, 0, 0, .6); }
#popupslider .bannergroup_popup2 { position: relative; }
#popupslider .banneritem { display: none; }
#popupslider .banneritem.aktiv { display: block; }
#popupslider .stang {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font: 22px/32px Georgia, serif;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* Innehåll på papper */
.center-content {
	position: relative;
	display: flex;
	align-items: flex-start;
	background: url('../images/paper_content.png') center top / 100% auto repeat-y;
	min-height: 140px;
}
.center-left {
	flex: 1;
	min-width: 0;
	margin: 0 30px 0 42px;
	padding-bottom: 40px;
}
.center-right {
	flex: 0 0 336px;
	margin-right: 21px;
	background: var(--papper-gra);
	font: italic 13px 'Georgia-Italic', Times, serif;
	color: var(--text-gra);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.center-right { line-height: 1.45; }
.center-right a { color: var(--text-gra); }
.center-right .moduletable > p + p,
.center-right .moduletable > p + table,
.center-right .moduletable > table + p { margin-top: 1em; }
.center-right .moduletable > p:has(> strong:only-child) + table { margin-top: 2px; }
.oppettider td { padding: 0 14px 0 0; vertical-align: top; }
a[href^="tel:"] { text-decoration: none; }
.center-right > div { padding: 0 21px 21px; }
.center-right > div.moduletable { padding-top: 30px; }
.center-right > div.moduletable-news { padding-top: 20px; }
.center-right img { display: block; }
.center-right .moduletable > p:has(> img:only-child) + p { margin-top: 1.2em; }

.center-footer {
	position: relative;
	aspect-ratio: 903 / 47;
	margin-top: -10px;
}
.center-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../images/paper_footer.png') center top / 100% auto no-repeat;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 10px);
	mask-image: linear-gradient(to bottom, transparent, #000 10px);
}
.instagram {
	position: absolute;
	z-index: 1;
	left: 30px;
	bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	background: #1a171d;
	border: 1px solid #908f91;
}
.instagram img { width: 21px; height: auto; }
.footer {
	color: var(--sidfot);
	font-size: 13px;
	text-align: center;
	margin: 10px 16px 20px;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Rubriker */
.center-left h1,
.center-left h2,
.center-left h3,
.moduletable-news > h3 {
	margin: 14px 0 20px;
	padding-top: 20px;
	font-family: var(--rubrik);
	font-size: 70px;
	font-weight: normal;
	line-height: 30px;
	color: #000;
}
.moduletable-news > h3 { padding-top: 0; }
.newsflash-title-news {
	font: italic bold 13px Georgia, Times, serif;
	margin-bottom: 10px;
}
.newsflash-item, .newsflash-vert-news { margin-top: 35px; width: 100%; }
.newsflash-item > p + p { margin-top: .9em; }
.newsflash-item img { width: 100%; height: auto; margin: 0 auto; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.newsflash-item > p:has(> a > img + *), .newsflash-item > p:has(> a + a > img) { display: flex; gap: 10px; justify-content: center; }
.newsflash-item > p:has(> a + a > img) > a { flex: 1 1 0; min-width: 0; }
.newsflash-item > p:has(> a + a > img) img { width: 100%; }
.newsflash-item > p:has(> img) + p { margin-top: 6px; font-size: 12px; }

/* Vår meny */
.mat_meny ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 30px;
	padding-bottom: 9px;
	border-bottom: 2px dotted var(--prickad);
	margin-top: -6px;
}
.mat_meny .moduletable { padding: 0; }
.mat_meny a {
	font-family: var(--garamond);
	font-size: 14px;
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
}
.mat_meny li { display: inline-grid; }
.mat_meny li > a,
.mat_meny li::after { grid-area: 1 / 1; line-height: 18px; }
.mat_meny li::after {
	content: attr(data-text);
	font-family: var(--garamond-fet);
	font-size: 14px;
	text-transform: uppercase;
	visibility: hidden;
	height: 0;
}
.mat_meny a:hover,
.mat_meny a:focus-visible { font-family: var(--garamond-fet); }
.center-left { position: relative; }
@media (min-width: 961px) {
	.center-content:not(:has(.center-right)) .center-left { margin-right: 46px; }
}
.center-left > .print-button { position: absolute; right: 0; margin-top: 10px; z-index: 2; }
.print-button a {
	display: inline-block;
	padding: 3px 9px 2px;
	background: #1a1714;
	color: #fff;
	font: 12px/1.4 var(--garamond-fet);
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
}
.print-button a:hover, .print-button a:focus-visible { background: var(--brun); }

.items-row { overflow: hidden; }
.item.column-1 { width: 100%; overflow: hidden; }
.column-1 h2 { margin: 0 0 27px !important; float: left; clear: both; width: 100%; }
.meny {
	clear: both;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 30px;
	align-items: start;
	margin-bottom: 40px;
}
.kolumn { display: flex; flex-direction: column; gap: 24px; }
.item div:has(> .rubrikinfo) > .page-header h2 { margin-bottom: 28px !important; }
.rubrikinfo {
	clear: both;
	margin-bottom: 24px;
	font-size: 13px;
	font-style: italic;
	color: #555;
}
.ratt p { margin: 0; line-height: 1.45; }
.ratt .menuhead,
.menyrubrik {
	font-family: var(--garamond-fet);
	font-size: 14px;
	line-height: 1.3;
	text-transform: uppercase;
}
.ratt .menuhead { margin-bottom: 2px; }
.ratt .pris { font-weight: bold; }
.ratt p.pris { margin-top: 3px; }
.ratt .notis { margin-top: 2px; font-size: 12px; font-style: italic; color: #555; }
.kolumn h3.inhead { margin: 8px 0 -10px; }
.kolumn .menyrubrik { margin-bottom: -14px; }
.center-left h3.inhead { padding-top: 0; font-size: 48px; line-height: 1; }

/* Knappar och formulär */
.myButton {
	box-shadow: 0 10px 14px -7px #949494;
	background-color: var(--brun);
	border: 0;
	border-radius: 8px;
	display: inline-block;
	cursor: pointer;
	color: #fff;
	font: bold 20px Arial, sans-serif;
	padding: 13px 32px;
	text-decoration: none;
	text-shadow: 0 1px 0 #8a8987;
}
.myButton:hover { background-color: #63472a; }
.myButton:active { position: relative; top: 1px; }
.center-right > .moduletable:has(.convertforms) { padding-top: 0; }
.center-right .convertforms .cf-form-wrap { padding: 0; }
.center-right .convertforms .cf-fields { margin: 0; }
.center-right .convertforms .cf-control-group { padding: 0 0 10px; }
.center-right .convertforms textarea { font-family: Georgia, Times, serif; }

/* Smalare än papperet: papperet skalas */
@media (max-width: 960px) {
	.main { padding: 0 16px; }
	.logo { left: 0; }
	#rightround { left: -8px; top: 5%; width: 13.5%; max-width: 116px; }
	.center-left { margin: 0 4.6% 0 4.6%; }
}

/* Spalterna under varandra */
@media (max-width: 860px) {
	.mat_meny ul { justify-content: flex-start; gap: 6px 22px; }
	.center-content { flex-direction: column; align-items: stretch; }
	.center-right { flex: none; margin: 0 4.6% 48px; }
	.meny { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil */
@media (max-width: 600px) {
	.item div:has(> .rubrikinfo) > .page-header h2 { margin-bottom: 10px !important; }
	body { background-attachment: scroll; background-size: 1200px auto; }
	.top { height: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 16px; }
	.logo { position: static; width: 220px; }
	.top-right {
		position: static;
		width: auto;
		text-align: center;
		letter-spacing: 1.5px;
	}
	.top { flex-direction: row; justify-content: center; position: relative; }
	.menyknapp { display: block; }
	.top-right {
		display: none;
		position: absolute;
		top: 100%;
		left: -16px;
		right: -16px;
		z-index: 50;
		width: auto;
		text-align: left;
		background: rgba(20, 14, 10, .97);
		box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
	}
	.meny-oppen .top-right { display: block; }
	.top-right ul { display: block; padding: 6px 0; }
	.top-right li + li { border-top: 1px solid rgba(250, 250, 250, .12); }
	.top-right a { display: block; padding: 14px 24px 12px; font-size: 15px; letter-spacing: 2px; }
	#rightround { display: none; }
	.center-left h1, .center-left h2, .center-left h3, .moduletable-news > h3 { font-size: 48px; line-height: 1; margin: 6px 0 14px; padding-top: 14px; }
	.center-left h3.inhead { font-size: 40px; }
	.center-left { margin: 0 6%; }
	.center-right { margin: 0 4% 40px; }
	.center-right > div { padding: 0 16px 16px; }
	.meny { grid-template-columns: 1fr; gap: 20px; }
	.mat_meny ul { margin-top: 4px; }
	.fader-nav { right: 10px; bottom: 6px; }
	.fader-nav button { width: 11px; height: 11px; }
	.instagram { left: 18px; bottom: 20px; width: 27px; height: 27px; }
	.instagram img { width: 18px; }
}

/* Löpande stycken */
.com-content-article__body > p + p,
.com-content-article__body .moduletable > p + p,
.lopande p + p { margin-top: 1em; }
.item-page .com-content-article__body { max-width: 31em; padding-top: 1em; }

@media (min-width: 749px) {
	.bb_modaloverlay { overflow-y: auto; }
	.bb_modaloverlay .bb_modal { min-height: 0 !important; height: calc(100vh - 60px) !important; }
}
