/* Forside. Lastes bare fra strom-og-strompriser.asp */

.home-page {
	background: #eef3f4;
	color: #163033;
	font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.home-page #top {
	height: 68px;
	max-height: 68px;
	overflow: visible;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 1px 0 rgba(15, 45, 48, 0.08);
	backdrop-filter: saturate(1.2) blur(8px);
}

.home-page .pushtop,
.home-page #pushtop {
	margin-top: 68px;
}

.home-page #top .topdiv {
	height: 68px;
	padding: 0 12px;
	box-sizing: border-box;
}

.home-page #top .wh100,
.home-page #top .wh100 > tbody,
.home-page #top .wh100 > tbody > tr {
	display: flex;
	align-items: center;
	width: 100%;
	height: 68px;
}

.home-page #top .wh100 > tbody > tr > td:nth-child(2) {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	vertical-align: middle;
}

.home-page #top .wh100 > tbody > tr > td:last-child {
	display: none;
}

.home-page .navbar {
	float: none;
	height: 68px;
	align-items: center;
}

.home-page .nav-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0 !important;
	gap: 4px;
}

.home-page .nav-links > table {
	float: none;
	order: 2;
	margin: 0 0 0 6px;
}

.home-page .nav-links > table td {
	vertical-align: middle;
}

@media (min-width: 1031px) {
	.home-page .menu {
		display: flex;
		align-items: center;
		order: 1;
		height: 68px;
		margin-top: 0 !important;
		right: auto !important;
		gap: 2px;
	}
}

.home-page .menu li {
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
}

.home-page .menu li:hover {
	background: #0f6e74;
}

.home-page .nav-links a {
	font-weight: 600;
	font-size: 14px;
}

.home-page .services {
	position: relative;
	padding: 8px 12px;
}

.home-page .dropdown {
	background: #ffffff;
	color: #163033;
	border: 1px solid #e3eaec;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(16, 42, 46, 0.16);
	top: 100%;
	left: auto;
	right: 0;
	margin: 0 !important;
	padding: 8px;
	min-width: 240px !important;
	z-index: 4000;
}

.home-page .dropdown::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}

.home-page .dropdown li {
	border: 0;
	border-radius: 8px;
	margin: 0;
	padding: 8px 10px;
	background: transparent;
}

.home-page .dropdown li + li {
	margin-top: 2px;
}

.home-page .dropdown li:hover {
	background: #e7f4f4;
}

.home-page .dropdown li a,
.home-page .dropdown li:hover a {
	color: #163033;
}

.home-page a {
	text-decoration: none;
}

.home-page #maincontent {
	margin-top: 0;
	min-height: 0;
	padding-bottom: 28px;
}

.hero {
	background:
		radial-gradient(900px 280px at 90% -10%, rgba(255, 196, 92, 0.28), transparent 60%),
		linear-gradient(155deg, #0c2f34 0%, #0f6e74 58%, #14858c 100%);
	color: #f4fbfb;
	padding: 18px 16px 16px;
}

.hero-wrap {
	max-width: 1080px;
}

.kicker,
.stat-label,
.now-label {
	display: block;
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kicker,
.hero .stat-label {
	color: #b7ece8;
}

.now-label {
	margin-top: 6px;
	color: #d7f4f2;
}

.now-price {
	margin: 0;
	color: #ffffff;
	font-size: clamp(3.2rem, 12vw, 5.4rem);
	font-weight: 750;
	letter-spacing: -0.05em;
	line-height: 0.92;
}

.hero .now-price.green { color: #b8f5c8; }
.hero .now-price.red { color: #ffd0c8; }

.now-price small,
.range-value small,
.snitt-value small,
.bill-now-price small {
	margin-left: 6px;
	font-size: 0.32em;
	font-weight: 700;
	letter-spacing: 0;
}

.now-meta {
	margin: 8px 0 14px;
	color: rgba(244, 251, 251, 0.78);
	font-size: 13px;
}

.range-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.range-item,
.snitt-row {
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
}

.range-value,
.snitt-value {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.35rem, 4vw, 1.8rem);
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.hero .range-value.green { color: #b8f5c8; }
.hero .range-value.red { color: #ffd0c8; }
.hero .stat-sub { color: rgba(244, 251, 251, 0.72); margin: 2px 0 0; }

.snitt-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.snitt-row .stat-label { margin: 0; }

.home-page .hero p,
.home-page .bill p,
.home-page .stat-sub,
.home-page .assumptions,
.home-page .cookie-note,
.home-page .day-status p {
	display: block;
}

.stat,
.bill-card,
.home-page .wb {
	background: #ffffff;
	border: 1px solid rgba(15, 45, 48, 0.06);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(16, 42, 46, 0.08);
}

.stat {
	padding: 14px 16px 12px;
	color: #163033;
}

.stat-now {
	background: #fffdf8;
	box-shadow: 0 14px 32px rgba(8, 28, 30, 0.18);
}

.stat-label {
	color: #5d7578;
	letter-spacing: 0.04em;
}

.stat-value,
.bill-value {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-style: normal;
}

.stat-value small,
.bill-value small {
	margin-left: 4px;
	font-size: 0.42em;
	font-weight: 650;
	letter-spacing: 0;
}

.stat-sub {
	margin: 8px 0 0;
	color: #5d7578;
	font-size: 13px;
}

.pill {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e7eef0;
	color: #355256;
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
	vertical-align: 1px;
}

.pill.green { background: #e5f6ea; color: #146c36; }
.pill.red { background: #fde8e6; color: #a32018; }

.home-page .green,
.home-page .green td { color: #147a3d; }
.home-page .red,
.home-page .red td { color: #c6281c; }

.quarters {
	margin-top: 14px;
	padding: 10px 12px 4px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
}

.quarters .stat-label { color: #d7f4f2; }
.quarters table,
.quarters tbody {
	display: block;
	width: 100% !important;
	margin: 0 !important;
}
.quarters tr {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	width: 100%;
}
.quarters td {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: auto;
	min-height: 64px;
	padding: 12px 8px;
	box-sizing: border-box;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: #163033;
	font-size: 14px;
	text-align: center;
	white-space: normal;
}
.quarters .q-time {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5d7578;
}
.quarters .q-price {
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #163033;
	white-space: nowrap;
}

.area-bar {
	background: #ffffff;
	border-bottom: 1px solid #e3eaec;
	padding: 4px 0 6px;
}

.area-bar > div {
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
}

.home-page .area-bar table {
	width: 100%;
	max-width: 520px;
	border-spacing: 4px 0;
}

.home-page .btnselect {
	min-height: 34px;
	height: 34px;
	border: 1px solid #d5e0e2;
	border-radius: 999px;
	background: #f7fafa;
	color: #163033;
	font-size: 13px;
	font-weight: 700;
}

.home-page .btnselect.btnsel,
.home-page .btnsel {
	background: #0f6e74;
	border-color: #0f6e74;
	color: #ffffff;
}

.home-page .btnselect:hover,
.home-page .btnselect:focus {
	background: #0c555a;
	color: #ffffff;
}

.bill {
	padding: 14px 16px 10px;
	background: #eef3f4;
}

.bill .content,
.hero .content {
	max-width: 1080px;
}

.bill-now-wrap {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 16px;
	align-items: end;
	padding: 8px 0 4px;
}

.bill-now-price {
	margin: 0;
	font-size: clamp(2.4rem, 8vw, 3.6rem);
	font-weight: 750;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: #12282c;
}

.bill-now-note {
	margin: 6px 0 4px;
	color: #5d7578;
	font-size: 14px;
}

.bill-snitt {
	margin: 0;
	color: #355256;
	font-size: 14px;
	font-weight: 700;
}

.assumptions,
.cookie-note {
	margin: 8px 0 0;
	color: #5d7578;
	font-size: 13px;
	line-height: 1.4;
}

.day-status {
	padding: 8px 16px 12px;
}

.day-status .content {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #e3eaec;
}

.day-status-label {
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.day-status-text {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #163033;
}

.day-status-low .day-status-label { background: #e5f6ea; color: #146c36; }
.day-status-low .content { border-color: #c8ebd3; }
.day-status-mid .day-status-label { background: #fff4d6; color: #8a6a00; }
.day-status-mid .content { border-color: #f3e2a8; }
.day-status-high .day-status-label { background: #fde8e6; color: #a32018; }
.day-status-high .content { border-color: #f5c9c4; }

.day-status-low .day-status-label::before,
.day-status-mid .day-status-label::before,
.day-status-high .day-status-label::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	vertical-align: 0;
}
.day-status-low .day-status-label::before { background: #22a34a; }
.day-status-mid .day-status-label::before { background: #e0b000; }
.day-status-high .day-status-label::before { background: #d13a30; }

.net-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid #d5e0e2;
	border-radius: 999px;
	background: #ffffff;
	color: #163033;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.net-btn span {
	color: #0f6e74;
}

.net-btn:hover {
	border-color: #0f6e74;
}

.bill-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bill-card {
	padding: 16px 18px 14px;
	box-shadow: none;
}

.assumptions {
	margin-top: 12px;
	padding: 12px 2px 0;
}

.home-page .linemenu2,
.linemenu2 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	max-width: 1080px;
	margin: 8px auto;
	box-sizing: border-box;
	background: #ffffff;
	border-top: 1px solid #e3eaec;
	border-bottom: 1px solid #e3eaec;
}

.home-page .linemenu2.linemenu6,
.linemenu2.linemenu6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-page .linemenu2 a,
.linemenu2 a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 8px 4px;
	color: #163033 !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home-page .linemenu2 a:hover,
.linemenu2 a:hover {
	color: #0f6e74 !important;
	background: #f3f8f8;
}

.home-page [style*="background-color:black"],
.home-page [style*="background-color: black"] {
	background: #ffffff !important;
	border-top: 1px solid #e3eaec;
	border-bottom: 1px solid #e3eaec;
}

.home-page .whitetexta a,
.home-page .whitetexta td a,
.home-page .whitetexta a:visited,
.home-page [style*="background-color:black"] a,
.home-page [style*="background-color: black"] a {
	display: block;
	padding: 14px 8px;
	color: #163033 !important;
	font-weight: 700;
	font-size: 14px;
}

.home-page .whitetexta a:hover,
.home-page [style*="background-color:black"] a:hover {
	color: #0f6e74 !important;
	background: #f3f8f8;
}

.home-page h2.h2,
.home-page h5,
.home-page .PadH5,
.home-page .h5 {
	border: 0;
	color: #12282c;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.home-page .wb {
	box-shadow: 0 8px 24px rgba(16, 42, 46, 0.05);
}

.home-page .tdhighligth,
.home-page .tdhighligth td {
	background: #12393f;
	color: #ffffff;
	border: 0;
	font-weight: 700;
}

.home-page #Dagens-spotpriser > .wb,
.home-page .content.wb {
	display: block !important;
	height: auto !important;
	overflow: visible;
}

.home-page :target {
	visibility: visible;
	top: 0;
}

.home-page .pris-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	clear: both;
}

.home-page .pris-toggle .btnsmall {
	float: none;
	width: auto;
}

.home-page .btnsmall {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: #0f6e74;
	color: #ffffff;
	min-height: 34px;
	padding: 6px 14px;
	font-weight: 700;
	width: auto;
	white-space: nowrap;
}

.home-page .morgen-cta {
	display: flex;
	justify-content: flex-end;
	clear: both;
	margin-top: 10px;
}

.home-page .morgen-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 8px 16px;
	border-radius: 999px;
	background: #0f6e74;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.home-page .morgen-cta a:hover {
	background: #0c555a;
	color: #ffffff !important;
}

.home-page .btnsmall:hover {
	background: #0c555a;
}

.home-page .graph,
.home-page #main,
.home-page #graphimorgen,
.home-page #grafStotte {
	border: 0;
	border-radius: 16px;
	background: #f4fbfb;
}

.home-page .insight .wb,
.home-page .insight .gaugediv {
	border-radius: 16px;
	overflow: hidden;
}

.home-page .gauge {
	height: 250px;
	min-height: 250px;
}

.home-page .home-ad {
	margin-top: 12px;
	margin-bottom: 8px;
}

.home-page .content {
	max-width: 1080px;
}

.home-page .ved-card {
	background: #ffffff;
	border: 1px solid rgba(15, 45, 48, 0.06);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(16, 42, 46, 0.05);
	padding: 22px 24px 18px;
	box-sizing: border-box;
}

.home-page .ved-card > .w100 {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 28px;
	align-items: start;
}

.home-page .ved-card .funksjoner {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	display: block;
}

.home-page .ved-card .div50 {
	float: none;
	width: 100%;
	margin: 0 0 8px;
}

.home-page .ved-card h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.home-page .ved-card select,
.home-page .ved-card input {
	width: 100%;
	background: #f7fafa;
	border: 1px solid #d5e0e2;
	border-radius: 10px;
	min-height: 40px;
}

.home-page .ved-card img {
	border-radius: 12px;
	display: block;
}

@media (max-width: 900px) {
	.home-page .linemenu2.linemenu6,
	.linemenu2.linemenu6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bill-now-wrap {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.day-status .content {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

@media (max-width: 640px) {
	.quarters tr {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 750px) {
	.home-page #top {
		height: 60px;
		max-height: 60px;
	}

	.home-page .pushtop,
	.home-page #pushtop {
		margin-top: 60px;
	}

	.hero {
		padding: 14px 12px 12px;
	}

	.now-price {
		font-size: clamp(2.8rem, 16vw, 4.2rem);
	}

	.home-page .gauge {
		height: 250px;
		min-height: 250px;
		width: 100%;
	}

	.day-status {
		padding: 6px 12px 10px;
	}

	.home-page .ved-card {
		padding: 16px;
	}

	.home-page .ved-card > .w100 {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.home-page .linemenu2,
	.linemenu2,
	.home-page .linemenu2.linemenu6,
	.linemenu2.linemenu6 {
		grid-template-columns: 1fr 1fr;
		margin: 4px auto;
	}

	.home-page .linemenu2 a,
	.linemenu2 a {
		padding: 7px 4px;
		font-size: 12px;
	}

	.home-page .morgen-cta {
		justify-content: stretch;
	}

	.home-page .morgen-cta a {
		width: 100%;
		box-sizing: border-box;
	}

	.home-page .btnselect {
		font-size: 12px;
		padding-left: 0;
		padding-right: 0;
	}
}
