/* Toppenform */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 38, 100, 49;

	--black-color: 17, 17, 17;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 130, 130, 130;
	--gray-light-color: 243, 241, 237;
	--white-color: 255, 255, 255;

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

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

	/* 	Mobile nav */
	--activate-mobile-menu: 1100;
	--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-1 .section-block,
.p-1:not(.section-wrapper) {
	padding: 1rem;
}

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

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

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

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

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

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

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

/* Text och typsnitt
========================================================================== */
body {
	font-family: 'Poppins', sans-serif;
}

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

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

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

.text-small {
	font-size: 1.5rem;
}

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

.text-italic {
	font-style: italic;
}

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

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

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

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

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

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

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
	margin-top: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
	min-width: 15rem;
	padding: 1.2rem 2rem;
	margin: 7px;
	font-size: 1.4rem;
	font-weight: 600;
	border-radius: 2rem;
	text-align: center;
	text-decoration: none;
	transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
	color: rgb(var(--white-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
	color: rgb(var(--primary-color));
	border: 1px solid rgb(var(--primary-color));
	background-color: transparent;
}

/* Arrow link */
.arrow-link {
	padding-right: 1rem;
	font-size: var(--base-size);
	color: rgb(var(--primary-color));
}

.arrow-link::after {
	content: ' \f105';
	display: inline-block;
	margin-left: 1rem;
	font-weight: 400;
	font-family: 'Font Awesome 5 Pro';
	transition: transform .4s ease;
}

.arrow-link:hover::after {
	transform: translateX(1rem);
	transition: transform .4s ease;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 580px) {
	.btn {
		display: block;
		width: 100%;
		margin: 5px 0;
	}
}

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

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

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

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

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

/* Object position */
.of-wrapper .op-20-20 {
	object-position: 20% 20%;
}

.of-wrapper .op-65-45 {
	object-position: 65% 45%; 
}

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

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

/* Crossfade */
.fade-slider {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-slider div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fade-slider.slick-slider {
    position: absolute;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    background-color: rgb(var(--black-color), .4)
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

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

a.card-item,
.card-item a {
	text-decoration: none;
}

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

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

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

@media only screen and (max-width: 1300px) {
	/* Bredder */
	.cards-wrapper.w-25 .card-item {
		width: calc((100% / 3) - 2rem);
	}
}

@media only screen and (max-width: 1050px) {
	/* Bredder */
	.cards-wrapper.w-25 .card-item,
	.cards-wrapper.w-33 .card-item {
		width: calc((100% / 2) - 2rem);
	}
}

@media only screen and (max-width: 750px) {
	.cards-wrapper:not(.w-100) {
		margin-left: 0;
		margin-right: 0;
	}

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

@media only screen and (max-width: 580px) {
	.cards-wrapper .p-4 {
		padding: 2rem;
	}
}

/* Card 2-2 */
.card-2-2 .card-header i {
    font-size: 6rem;
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40rem;
}

.card-3-5 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .65);
    transition: .3s ease-in-out;
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 5rem;
}

@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}

/* 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%;
}

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

/* Badge i split-image */
.split-wrapper .badge-large {
    position: absolute;
    top: 2rem;
	left: 0;
    width: 15rem;
    padding: 1rem;
	font-size: 2rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.split-wrapper.reverse .badge-large {
    right: 0;
	left: unset;
} 

@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 {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.scrolled) {
	border-color: transparent;
	background-color: transparent; 
}

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

.header-logo a {
	margin-right: 1rem;
    font-size: 2.3rem;
    font-weight: 700;
    text-decoration: none;
    color: rgb(var(--primary-color)); 
}

header:not(.scrolled, .active-menu) .header-logo a {
	color: rgb(var(--white-color)); 
}
.header-logo img{
	max-width: 20rem;
}

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

header:not(.scrolled, .mobile-menu) .TemplateMenu > li > a {
	color: rgb(var(--white-color)); 
}

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

.header-cta-wrapper .btn {
	min-width: unset;
	padding: 1rem 2rem;
	margin: 0;
	line-height: 1;
	white-space: nowrap;
}

@media only screen and (max-width: 580px) {
	/* Header logo */
	.header-logo a {
		font-size: 1.6rem;
	}

	/* CTA  */
	.header-cta-wrapper .btn {
		padding: 0.7rem 1.5rem;
	}
}

@media only screen and (max-width: 480px) {
	/* CTA  */
	.header-cta-wrapper .circle-icon {
		display: none;
	}
}

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

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	background-color: rgb(var(--black-color), .5);
} 

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

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

.top-section .section-title {
    font-size: 4.6rem;
    font-weight: 400;
	line-height: 1.3; 
}

.top-section p {
	max-width: 60rem;
    margin: 0 auto; 
}

.top-section .btn-primary-filled:hover {
	color: rgb(var(--white-color));
}

@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;
	}
}

/* CTA-sektion
========================================================================== */
.section-cta {
    background-image: url('/assets/images/vandring-hav-2000px.jpg');
} 

.section-cta .text-block {
    max-width: 70rem;
    padding: 5rem 4rem;
    border-radius: 1rem;
	background: rgb(var(--white-color), .85);
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
	display: flex;
	align-items: center;
	min-height: 55vh;
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	text-align: center; 
	background-color: rgb(var(--black-color), .5);
}

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

.hero .section-title {
	font-size: 6rem;
	color: rgb(var(--white-color));
}

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

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    max-width: 100rem;
    padding: 3rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
}

.section-contact .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-contact .ContactForm > div {
    width: 49%; 
}

.section-contact .ContactForm div.textarea-field,
.section-contact .ContactForm div.submit-button-container {
    width: 100%; 
}

.ContactForm p {
    font-size: 1.5rem;
	color: rgb(var(--black-color));
}

.ContactForm .radio-option label,
.ContactForm .checkbox-option label,
.ContactForm select, .ContactForm option {
    font-size: 1.5rem;
	color: rgb(var(--gray-dark-color)); 
}

@media only screen and (max-width: 680px) {
    .section-contact .ContactForm > div {
        width: 100%; 
    }
}

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

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

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

.footer-menu-large {
    width: 30%;
}

.footer .text-label {
    padding: 0 0 1rem;
    font-size: 1.5rem;
	font-weight: 600;
    color: rgb(var(--black-color));
    line-height: 1;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    font-size: 1.4rem;
    text-decoration: none;
}

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

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

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

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

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

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