/*!
Theme Name: Skolesystem
Theme URI: http://underscores.me/
Author: Insite Media AS
Author URI: https://insitemedia.no
Description: Custom boilerplate for Skolesystem AS
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: im-skolesystem
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Skolesystem is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--var-body-font: 'futura-pt', sans-serif;
	--var-main-font: 'haboro-contrast-normal', sans-serif;
	--var-blue: #003D4E;
	--var-orange: #FEC4A7;
	--var-black: #191919;
	--var-white: #FCFCFC;
	--var-lightblue: #F8F9FA;
}

h1, h2, h3 {
	font-family: var(--var-main-font);
	font-weight: 800;
	font-style: normal;
}

h4, h5, h6 {
	text-transform: uppercase;
	font-family: var(--var-body-font);
	font-weight: 600;
}

.cky-notice-des p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.container {
	max-width: 1620px;
	width: 85%;
}

.container.space {
	padding-top: 95px;
	padding-bottom: 95px;
}

.container.space-bottom {
	padding-bottom: 95px;
}

.home #masthead {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
}

.home.logged-in #masthead {
	top: 32px;
}

#openMenu {
	display: none;
	float: right;
	color: var(--var-white);
	font-size: 2.5rem;
}

#hero {
	height: calc(100vh - 57px);
	height: calc(100dvh);
}

#hero h1 {
	margin-bottom: 33px;
}

#hero h6 {
	margin-bottom: 6px;
}

.newsbanner .pill {
	background: var(--var-blue);
	padding: 5px 14px;
	color: var(--var-white);
	font-family: var(--var-body-font);
	font-weight: 500;
	border-radius: 2px;
	line-height: 1;
	margin-right: 15px;
}

.button-wrapper {
	display: flex;
	align-items: center;
	gap: 18px;
}

#hero .button-wrapper {
	margin: 25px 0 17px 0;
}

.header-container {
	height: 100px;
}

.btn {
	display: inline-flex;
	align-self: flex-start;
	padding: 8px 27px;
	font-weight: 800;
	font-style: normal;
	background: var(--var-blue);
	border: 2px solid var(--var-blue);
	border-radius: 36px;
	color: var(--var-white);
	transition: all 0.25s;
	text-decoration: none;
	font-size: 23px;
	font-family: var(--var-main-font);
}

#masthead .btn {
	border-radius: 5px;
	padding: 8px 22px;
	font-size: 18px;
	font-weight: 600;
}

.btn:hover {
	cursor: pointer;
	background: var(--var-orange);
	border: 2px solid var(--var-orange);
}

.btn.alt {
	background: var(--var-orange);
	border: 2px solid var(--var-orange);
	color: var(--var-black);
}

.btn.alt:hover {
	background: var(--var-blue);
	border: 2px solid var(--var-blue);
	color: var(--var-white);
}

h1 {
	font-size: 55px;
	line-height: 1.2;
}

p {
	font-size: 25px;
	line-height: 33px;
	font-family: var(--var-body-font);
}

.introduction-area p {
	font-size: 21px;
	line-height: 31px;
}

#hero p,
#hero h1,
#hero small,
#hero h6 {
	color: var(--var-white);
}

#hero p {
	font-weight: 300;
	font-family: var(--var-body-font);
}

small {
	font-size: 18px;
	font-weight: 300;
	opacity: 0.85;
}

h6 {
	font-size: 18px;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

body:not(.home) #masthead {
	background: var(--var-blue);
}

#masthead ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: center;
}

#masthead ul li a {
	color: var(--var-white);
	font-family: var(--var-main-font);
	font-size: 22px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.25s;
}

#masthead ul li a:hover {
	color: var(--var-orange);
}

#colophon {
	background: var(--var-blue);
	padding-top: 195px;
	padding-bottom: 95px;
}

.newsbanner {
	width: 100%;
	padding: 5px 0;
	background: var(--var-lightblue);
}

.newsbanner p {
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
	color: var(--var-black);
	font-size: 16px;
	font-weight: 600;
	font-family: var(--var-body-font);
	margin: 0;
}

#masthead nav {
	display: flex;
	align-items: center;
	gap: 30px;
	justify-content: flex-end;
}

.newsbanner p a {
	color: inherit;
}

#hero .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--var-blue);
	z-index: 10;
	opacity: 0.6;
}

#hero {
	position: relative;
}

#hero .container {
	position: relative;
	z-index: 20;
}

.blue-background {
	background: var(--var-blue);
}

.lightblue-background {
	background: var(--var-lightblue);
	padding-top: 75px;
	padding-bottom: 75px;
}

ul.help {
	display: flex;
	flex-direction: column;
	gap: 7px;
	list-style: none;
	margin: 25px 0;
	padding: 0;
}

ul.help li {
	display: flex;
	gap: 10px;
	align-items: center;
}

ul.help li a {
	color: var(--var-blue);
	text-decoration: none;
	font-size: 22px;
	line-height: 31px;
	font-family: var(--var-body-font);
	font-weight: 500;
	transition: all 0.25s;
}

.helprow {
	margin-top: 55px;
	margin-bottom: 55px;
}

ul.help li a:hover {
	padding-left: 5px;
	cursor: pointer;
	color: var(--var-orange);
}

.int-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

aside {
	background: var(--var-lightblue);
	padding: 25px;
	border-radius: 15px;
	position: sticky;
	top: 32px;
}

.logged-in aside {
	top: 64px;
}

.int-content p,
.int-content li {
	font-size: 18px;
	line-height: 1.5;
	opacity: 0.9;
}

ul.help li i {
	font-size: 1.5rem;
	color: var(--var-blue);
	width: 30px;
}

.accordion-body {
	text-align: left;
}

.onpage-title {
	margin-bottom: 35px;
}

.blue-background p,
.blue-background h2,
.blue-background li {
	color: var(--var-white);
}

.card-toggler {
	background: var(--var-lightblue);
	border-radius: 36px;
	margin: 20px 0 0 0;
}

.toggler-header {
	display: flex;
	align-items: center;
	gap: 35px;
	border-bottom: 1px solid #ccc;
}

.toggle {
	flex: 1;
	text-align: center;
	padding: 30px 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.toggle i {
	color: var(--var-blue);
	font-size: 2.5rem;
}

.toggle span {
	font-family: var(--var-body-font);
	font-size: 24px;
	font-weight: 300;
}

.toggler-content {
	padding-left: 60px;
	padding-top: 60px;
	padding-bottom: 60px;
	display: flex;
	align-items: center;
	gap: 35px;
}

.newsarticle {
	overflow: hidden;
}

.image-wrapper {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
}

.image-wrapper .image-background {
	width: 100%;
	height: 100%;
	transition: all 0.25s;
}

.image-wrapper:hover .image-background {
	transform: scale(1.02);
	cursor: pointer;
}

a.article-read-more {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--var-black);
	text-decoration: none;
	font-family: var(--var-main-font);
}

a.article-read-more i {
	color: var(--var-blue);
}

.article-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 22px 0;
}

.article-content p {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 300;
}

article h3 {
	color: var(--var-blue);
	font-size: 25px;
	line-height: 1.3;
	transition: all 0.25s;
}

.page-template-page-articles article h3 {
	font-size: 28px;
	line-height: 35px;
}

.page-template-page-articles .article-content {
	min-height: 430px;
}

.page-template-page-articles .read-time {
	font-size: 20px;
}

.bluearticle h3 {
	color: var(--var-white);
	font-size: 45px;
	line-height: 63px;
}

#nf-label-field-2 {
	display: none !important;
}

#nf-field-2 {
	padding: 16px 22px !important;
	box-sizing: border-box;
	background: var(--var-white);
	border: 2px solid var(--var-white);
	border-radius: 10px;
	color: var(--var-black);
	font-size: 16px;
	font-family: var(--var-body-font);
}

#nf-field-4 {
	height: auto !important;
	padding: 7px 22px !important;
	border-radius: 25px !important;
	background: var(--var-orange) !important;
	border: 2px solid var(--var-orange) !important;
	transition: all 0.25s !important;
	color: var(--var-black) !important;
	font-family: var(--var-main-font) !important;
	font-weight: 600 !important;
	font-size: 18px !important;
}

#nf-field-4:hover {
	background: var(--var-blue) !important;
	border: 2px solid var(--var-blue) !important;
	color: var(--var-white) !important;
}

article a {
	text-decoration: none;
}

.read-time {
	margin-top: auto;
	color: var(--var-blue);
	font-size: 25px;
	font-weight: 600;
	font-family: var(--var-main-font);
}

.bluearticle .read-time {
	color: var(--var-white);
}


article.bluearticle {
	background: var(--var-blue);
}


.toggler-content .textarea {
	flex: 1 0 50%;
	max-width: 50%;
	width: 50%;
}

.textarea h3 {
	font-size: 50px;
	line-height: 63px;
	margin-bottom: 37px;
}

.blue-background .pill,
.lightblue-background .pill {
	background: var(--var-orange);
	padding: 7px 17px;
	border-radius: 4px;
	color: var(--var-black);
	font-size: 16px;
	font-family: var(--var-body-font);
	font-weight: 600;
	display: inline-flex;
	margin-bottom: 14px;
}

article .pill {
	background: var(--var-blue);
	padding: 7px 17px;
	border-radius: 4px;
	color: var(--var-white);
	font-size: 16px;
	font-family: var(--var-body-font);
	font-weight: 600;
	display: inline-flex;
	align-self: flex-start;
}

article.bluearticle .pill {
	background: var(--var-orange);
	color: var(--var-black);
}

.blue-background h2,
.lightblue-background h2 {
	margin-bottom: 37px;
	font-size: 50px;
	font-weight: 800;
}

.blue-background ul,
.toggler-content ul,
.lightblue-background ul {
	list-style: none;
	margin: 35px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.blue-background ul li,
.toggler-content ul li,
.lightblue-background ul li {
	display: flex;
	gap: 21px;
	align-items: center;
	color: var(--var-black);
	font-size: 25px;
	font-weight: 500;
	font-family: var(--var-body-font);
}

.toggler-content ul li {
	color: var(--var-black);
}

.blue-background ul li i,
.lightblue-background ul li i {
	color: var(--var-blue);
	font-size: 1.5rem;
}

.toggler-content ul li i {
	color: var(--var-blue);
	font-size: 1.5rem;
}

.embla {
  overflow: hidden;
  width: 100%;
  margin-left: calc((100vw -  85%) / 2);
  margin-bottom: 129px;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

#page {
	overflow-x: hidden;
}

.bluecard-content {
	height: 100%;
	width: 100%;
	background: var(--var-blue);
	border-radius: 10px;
	position: relative;
}

.bluecard-content .text {
	display: flex;
	flex-direction: column;
	padding: 60px;
	padding-top: 350px;
	max-width: 500px;
	width: 500px;
	gap: 10px;
	position: relative;
	z-index: 10;
}

.bluecard-content .text p {
	color: #D6DFE1;
}


.bluecard-content img.background-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
}

.image-content .text {
	position: absolute;
	bottom: 28px;
	left: 43px;
	max-width: calc(100% - 86px);
	z-index: 10;
}

@media screen and (min-width: 1921px) {
	.embla {
		margin-left: calc((100vw - 1620px) / 2);
	}
}
@media screen and (max-width: 1745px) {
	.card-row .col-4,
	.card-row .col-8 {
		flex: 1 0 100%;
		max-width: 100%;
		width: 100%;
	}

	.card-row {
		gap: 20px;
	}
}

.image-content .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #003D4E;
	background: linear-gradient(180deg, rgba(0, 61, 78, 0) 0%, rgba(0, 61, 78, 0.58) 100%);
	border-radius: 10px;
	z-index: 1;
}

.divider .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #003D4E;
	background: linear-gradient(180deg, rgba(0, 61, 78, 0) 0%, rgba(0, 61, 78, 0.58) 100%);
	z-index: 1;
}

.divider .container {
	position: relative;
	z-index: 20;
}

.image-content .text p {
	font-size: 45px;
	font-family: var(--var-main-font);
	color: var(--var-white);
	font-weight: 600;
	line-height: 1.3;
}



.card-row {
	margin-top: 35px;
}

.bluecard-content img.dashboard {
	position: absolute;
    right: -9px;
    bottom: -12px;
	z-index: 6;
}

.bluecard-content h3 {
	color: var(--var-orange);
	font-size: 2.5rem;
}

.bluecard-content p {
	color: var(--var-white);
	font-size: 18px;
	line-height: 1.5;
	font-weight: 300;
}

.embla__container {
  display: flex;
}

.embla__slide {
  flex: 0 0 360px; /* Juster etter kortbredde */
  margin-right: 16px;
}

.embla-titlearea {
	padding-top: 129px;
	padding-bottom: 37px;
}

.embla-titlearea h3 {
	font-size: 50px;
}

.lightblue-background h3 {
	font-size: 50px;
	font-weight: 800;
	font-style: normal;
}

.embla .card {
	border: 1px solid #D9E2E7;
	border-radius: 5px;
	padding: 28px;
	padding-top: 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.embla .card p {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
}

.embla .card h3 {
	font-size: 28px;
	font-family: var(--var-main-font);
	margin: 0;
}

.embla .card i {
	color: var(--var-blue);
	font-size: 3rem;
}

.arrow-wrapper {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	align-items: center;
}

.arrow-box {
	background: var(--var-blue);
	width: 45px;
	height: 45px;
	opacity: 0.8;
	transition: all 0.25s;
	border-radius: 100%;
	position: relative;
}

.arrow-box i {
	color: var(--var-white);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.arrow-box:hover {
	cursor: pointer;
	opacity: 1;
}

.order-md-1 .inner-text {
	padding-right: 10%;
}

.order-md-2 .inner-text {
	padding-left: 10%;
}

img {
	max-width: 100%;
	height: auto;
}

.textboxes .row:first-child {
	margin-bottom: 67px;
}

.textboxes h4 {
	font-family: var(--var-main-font);
	text-transform: unset;
}

.divider {
	padding-top: 260px;
	padding-bottom: 260px;
	position: relative;
}

.divider h3,
.divider p {
	color: var(--var-white);
}

.divider .col-5 {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.divider h3 {
	font-size: 55px;
}

.col-7 h3 {
	font-size: 50px;
}

#colophon h2 {
	color: var(--var-white);
	font-size: 24px;
	font-weight: 600;
}

#colophon ul {
	list-style: none;
	margin: 14px 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	gap: 35px;
	justify-content: flex-end;
}

#colophon ul li a {
	color: var(--var-white);
	font-family: var(--var-body-font);
	text-decoration: none;
	transition: all 0.25s;
	font-size: 25px;
	font-weight: 500;
	opacity: 0.8;
}

.flex-copy {
	display: flex;
	align-items: center;
	gap: 35px;
	justify-content: space-between;
	padding-top: 25px;
	border-top: 1px solid #FCFCFC80;
	padding-bottom: 100px;
	overflow: hidden;
}

p.privacy-form {
    font-size: 15px;
    line-height: 1.5;
}

#colophon .container {
    overflow: hidden;
}

.int-content ul li,
.int-content ol li {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
    font-family: var(--var-body-font);
}

.flex-copy h3,
.flex-copy p {
	color: var(--var-white);
	margin: 0;
}

.flex-copy h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--var-body-font);
	font-size: 22px;
	font-weight: 500;
}

.flex-copy h3 img {
	max-width: 33px;
}

.flex-copy p {
	font-size: 16px;
	opacity: 0.8;
}

.flex-copy a.btn {
	margin-left: auto;
	font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    padding: 8px 22px;
}

#colophon ul li a:hover {
	color: var(--var-orange);
	opacity: 1;
}

.postcontent {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.postcontent img {
	border-radius: 10px;
}

.postcontent h1 {
	font-size: 32px;
}

.postcontent p {
	font-size: 1.25rem;
	font-weight: 300;
}

@media screen and (max-width: 1200px) {
	.home.logged-in #masthead {
		top: 46px;
	}

	.col-1,
	.col-2,
	.col-3,
	.col-4,
	.col-5,
	.col-6,
	.col-7,
	.col-8,
	.col-9,
	.col-10,
	.col-11,
	.col-12 {
		flex: 1 0 100%;
		max-width: 100%;
		width: 100%;
	}

	#masthead .col-4,
	#masthead .col-8 {
		flex: 1 0 50%;
		max-width: 50%;
		width: 50%;
	}

	#masthead .col-4:last-child {
		display: none;
	}

	.arrow-wrapper {
		justify-content: flex-start;
		margin-top: 20px;
	}

	.order-md-1 .inner-text,
	.order-md-2 .inner-text {
		padding: 10% 0;
	}

	#masthead nav {
		display: none;
	}

	#openMenu {
		display: block;
	}

	.newsbanner p {
		flex-wrap: wrap;
	}

	.newsbanner p a {
		flex: 1 0 100%;
		max-width: 100%;
		width: 100%;
	}

	#hero h1 {
		font-size: 2.25rem;
	}

	#hero p {
		font-size: 18px;
	}

	.button-wrapper {
		flex-wrap: wrap;
	}

	#hero .container {
		padding-top: 20%;
	}

	#hero .overlay {
		display: block;
	}

	.blue-background h2 {
		font-size: 34px;
	}

	.blue-background p {
		font-size: 20px;
		opacity: 0.8;
	}

	.bluearticle h3,
	article h3 {
		font-size: 32px;
		line-height: 42px;
	}

	article {
		margin-bottom: 20px;
	}

	.flex-copy {
		margin-top: 35px;
	}

	#colophon ul {
		flex-direction: column;
		justify-content: flex-start;
	}

	.toggler-header {
		overflow-x: scroll;
		gap: 15px;
	}

	.container {
		width: 90%;
	}

	#colophon h2 {
		margin-top: 35px;
	}

	.flex-copy {
		flex-wrap: wrap;
	}

	.flex-copy * {
		flex: 1 0 100%;
		max-width: 100%;
	}

	.flex-copy a.btn.alt {
		flex: 0 0 auto;
		max-width: 100%;
		margin-left: 0;
	}
}

@media screen and (max-width: 1220px) {
	.bluecard-content .text {
		padding-top: 60px;
		padding-bottom: 550px;
	}

	.bluecard-content img.dashboard {
		position: absolute;
		right: -8px;
		bottom: -10px;
		z-index: 6;
		max-width: 465px;
	}

	.blue-background h2, .lightblue-background h2, .embla-titlearea h3, .lightblue-background h3 {
		font-size: 35px;
	}

	p {
		font-size: 22px;
		line-height: 1.5;
	}

	.image-content .text p {
		font-size: 32px;
		max-width: 100%;
	}

	.divider h3 {
		font-size: 32px;
	}
}

@media screen and (max-width: 750px) {
	.bluecard-content .text {
		padding-top: 30px;
		padding-left: 30px;
		padding-right: 30px;
		max-width: 100%;
		padding-bottom: 350px;
	}

	.image-content {
		max-height: 451px;
	}

	.bluecard-content img.dashboard {
		max-width: 75%;
		right: -5px;
        bottom: -6px;
	}
}