/* Najs AB / Ängbybarnens Förskolor */

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 247, 166, 1;

	--black-color: 17, 17, 17;
	--gray-dark-color: 87, 87, 86;
	--gray-color: 130, 130, 130;
	--gray-light-color: 249, 249, 249;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 3rem;
	--menu-height: 8rem;
	--section-width: 120rem;

	/* 	Typography */
	--base-size: 1.6rem;

	/* 	Mobile nav */
	--activate-mobile-menu: 1180;
	--mobile-menu-height: 6rem;
	--mobile-menu-bg: var(--white-color);
	--menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
	:root {
		--base-size: 1.5rem;
	}
}

/* Layout
========================================================================== */
.section-block {
	padding: 10rem 5rem;
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
	padding: 2rem;
}

.p-3 .section-block,
.p-3:not(.section-wrapper) {
	padding: 3rem;
}

.p-5 .section-block,
.p-5:not(.section-wrapper) {
	padding: 5rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
	padding-bottom: 0;
}

/* Margins */
.mb-3 {
	margin-bottom: 3rem;
}

.mt-3 {
	margin-top: 3rem;
}

/* Bredder */
.mw-450 {
	max-width: 45rem;
	margin: auto;
}

.mw-1000 .section-block-wrapper {
	max-width: 100rem;
}

@media only screen and (max-width: 1024px) {
	.section-block {
		padding: 8rem 3rem;
	}
}

@media only screen and (max-width: 580px) {
	.section-block {
		padding: 5rem 2rem;
	}

	.p-5 .section-block,
	.p-5:not(.section-wrapper) {
		padding: 2rem;
	}
}

/* Text och typsnitt
========================================================================== */
body {
	font-family: "Carlito", serif;
}

/* Rubriker */
.text-label {
	padding-bottom: 1em;
	font-size: 1.4rem;
	font-weight: 600;
	text-transform: uppercase;
	color: rgb(var(--primary-color));
}

.section-title {
	padding-bottom: .5em;
	font-size: 3.8rem;
	font-weight: 700;
	line-height: 1.2;
}

.small-title {
	padding-bottom: .3em;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.4;
}

.text-title {
	font-size: 2rem;
	padding-bottom: .3em;
	color: rgb(var(--gray-dark-color));
}

/* Brodtext och lankar */
p,
li {
	color: rgb(var(--gray-dark-color));
}

a {
	color: rgb(var(--primary-color));
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* List-arrow */
.list-arrow {
	padding: 0;
	padding-left: 1rem;
	list-style: none;
}

.list-arrow li {
	position: relative;
	padding-left: 2.8rem;
}

.list-arrow li::before {
	content: '\f101';
	position: absolute;
	left: 0;
	top: 0;
	color: rgb(var(--primary-color));
	font-weight: 700;
	font-size: 1.6rem;
	line-height: inherit;
	font-family: 'Font Awesome 5 Pro';
}

/* Ovriga klasser */
.text-block {
	max-width: 70rem;
}

.text-block-center {
	max-width: 95rem;
	margin-left: auto;
	margin-right: auto;
}

.text-bold {
	font-weight: 700;
}

.text-center {
	text-align: center;
}

@media only screen and (max-width: 1200px) {

	/* Rubriker */
	.section-title {
		font-size: 3.8rem;
	}

	.small-title {
		font-size: 2.2rem;
	}
}

@media only screen and (max-width: 580px) {

	/* Rubriker */
	.section-title {
		font-size: 2.5rem;
	}

	.small-title {
		font-size: 2rem;
	}

	.text-label {
		font-size: 1.2rem;
	}
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
	background-color: rgb(var(--primary-color));
}

.bg-gray-light {
	background-color: rgb(var(--gray-light-color));
}

.bg-white {
	background-color: rgb(var(--white-color));
}

/* Text */
.text-primary {
	color: rgb(var(--primary-color));
}

.text-white {
	color: rgb(var(--white-color));
}

/* Grafiska element
========================================================================== */

/* Box shadow */
.box-shadow {
	box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

/* Borders */
.br-1 {
	border-radius: 1rem;
}

.border-gray {
	border: 1px solid rgba(var(--gray-color), .3);
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
	position: relative;
	overflow: hidden;
}

.bg-image-wrapper {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Cards
========================================================================== */
.cards-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.cards-wrapper:not(.w-100) {
	margin-left: -1rem;
	margin-right: -1rem;
}

/* Bredder */
.cards-wrapper.w-50 .card-item {
	width: calc((100% / 2) - 2rem);
	margin: 1rem;
}

.cards-wrapper.w-33 .card-item {
	width: calc((100% / 3) - 2rem);
	margin: 1rem;
}

.cards-wrapper.w-25 .card-item {
	width: calc((100% / 4) - 2rem);
	margin: 1rem;
}

@media only screen and (max-width: 1050px) {

	/* Bredder */
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
	}

	.cards-wrapper.w-25 .card-item {
		width: calc((100% / 3) - 2rem);
		margin: 1rem;
	}
}

@media only screen and (max-width: 750px) {

	/* Bredder */
	.cards-wrapper.w-50 .card-item,
	.cards-wrapper.w-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}

	.cards-wrapper.w-25 .card-item {
		width: calc((100% / 2) - 2rem);
		margin: 1rem;
	}
}

@media only screen and (max-width: 580px) {

	/* Bredder */
	.cards-wrapper.w-25 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Split wrapper
========================================================================== */
.split-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.split-wrapper.reverse {
	flex-direction: row-reverse;
}

.split-content {
	width: 50%;
	padding: 5rem;
}

.split-image {
	width: 50%;
}

.of-wrapper.contain img {
	object-fit: contain;
}

/* Centrera content */
.split-wrapper .align-center {
	align-self: center;
}

@media screen and (max-width: 1300px) {
	.split-content {
		padding: 3rem;
	}
}

@media screen and (max-width: 1000px) {

	.split-wrapper,
	.split-wrapper.reverse {
		flex-direction: column;
		background: transparent;
	}

	.split-content {
		width: 100%;
		max-width: 70rem;
		padding: 0 0 3rem;
		background: transparent;
	}

	.split-image {
		width: 100%;
		min-height: 20rem;
	}

	/* Centrera content */
	.split-wrapper .align-center {
		align-self: flex-start;
	}
}

/* Header / Navigation
========================================================================== */
header {
	background: url(/assets/images/graphics/giraff.png) repeat;
}

/* Logo */
.header-logo {
	flex: 1 1 0px;
}

/* Sprakval */
body .lang {
	display: none;
}

body.en .lang-en,
body:not(.en) .lang-se {
	display: block;
}

/* Nav */
.TemplateMenu a {
	font-weight: 300;
	font-size: 1.7rem;
	color: rgb(var(--black-color));
}

header .TemplateMenu>li:not(.active)>a:not(:hover) {
	color: rgb(var(--white-color));
}

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
	color: rgb(var(--black-color));
	text-decoration: none;
}

/* CTA  */
.header-cta-wrapper {
	z-index: 9;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	margin: 0 0 0 2rem;
	list-style: none;
}

.header-cta-wrapper a {
	display: block;
	margin-bottom: 0.2rem;
}

.header-cta-wrapper img {
	height: 2.2rem;
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
	--menu-color: var(--white-color);
}

.mobile-menu.active-menu .header-logo {
	filter: invert();
}

.mobile-menu .mainmenu {
	width: 30rem;
	z-index: 2;
	padding-top: 8rem;
	box-shadow: 0 0 0 1 rgb(var(--black-color), .07);
}

.mobile-menu .TemplateMenu>li>a,
.mobile-menu .TemplateMenu>li:not(.active)>a:not(:hover) {
	color: rgb(var(--black-color));
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 10rem;
	min-height: 100vh;
	margin-top: calc(var(--menu-height) * -1);
	background: url('/assets/images/flicka-blomma-2000px.jpg') center / cover no-repeat fixed;
}

.top-section .section-block {
	width: 100%;
	padding-bottom: 0;
}

.top-section .text-block-center {
	max-width: 60rem;
}

.top-section .section-title {
	font-size: 5rem;
	font-weight: 700;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 1200px) {
	.top-section .section-title {
		font-size: 4.5rem;
	}
}

@media only screen and (max-width: 580px) {
	.top-section .section-title {
		font-size: 3rem;
	}
}

/* Karta
========================================================================== */
.section-map .section-block-wrapper {
	padding: 4rem;
}

@media only screen and (max-width: 580px) {
	.section-map .section-block-wrapper {
		padding: 1rem;
	}
}

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
	display: flex;
	align-items: center;
	min-height: 25rem;
	max-height: 25rem;
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--gray-light-color));
}

.hero .section-block {
	width: 100%;
}

.hero .small-title {
	font-size: 2.5rem;
}

@media only screen and (max-width: 580px) {
	.hero {
		min-height: 30rem;
	}

	.hero .section-title {
		font-size: 3rem;
	}
}

/* ==========================================================================
Undersida: Vara Forskolor
========================================================================== */

.logo-mjolk {
	margin-top: 2rem;
	text-align: end;
}

.logo-mjolk img {
	max-width: 15rem;
}

@media only screen and (max-width: 750px) {
	.logo-mjolk {
		text-align: start;
	}
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	padding: 0 2rem;
	background-color: rgb(var(--gray-dark-color));
}

/* Footer top */
.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 3rem 0 1rem;
}

.footer-menu-large {
	width: 20%;
	margin: 0 0 3rem;
}

.footer-menu {
	width: 20%;
	margin: 0 0 3rem;
}

.footer-top img {
	max-width: 25rem;
}

.footer .text-label {
	padding: 0 0 1rem;
	color: rgb(var(--white-color));
	line-height: 1;
	text-transform: none;
	font-size: 1.8rem;
	font-weight: 700;
}

.footer-submenu {
	padding: 0;
	margin: 0 0 3rem;
	list-style: none;
}

.footer-top p,
.footer-top li {
	font-size: 1.6rem;
	text-decoration: none;
	color: rgb(var(--white-color));
}

.footer-top a {
	color: rgb(var(--primary-color));
	text-decoration: none;
}

.footer-top a:hover {
	text-decoration: underline;
}

.footer-top .mail-link {
	color: rgb(var(--primary-color));
}

.footer-top .mail-link:hover {
	text-decoration: underline;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-size: 1.6rem;
}

.webbess-stamp img {
	width: 2.5rem;
	margin-left: 1rem;
	filter: invert();
}

@media only screen and (max-width: 1200px) {
	.footer {
		padding: 0 3rem;
	}

	/* Footer top */
	.footer-menu-large {
		width: 100%;
	}

	.footer-menu {
		width: 33.333%;
	}
}

@media only screen and (max-width: 750px) {

	/* Footer top */
	.footer-menu {
		width: 100%;
	}
}

@media only screen and (max-width: 580px) {
	.footer {
		padding: 0 2rem;
	}

	/* Footer top */
	.footer-top {
		padding: 5rem 0;
	}

	.webbess-stamp {
		margin: 0 auto 2rem;
		font-size: 1.6rem;
	}
}