/* Löwendahls Trafikskola */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 0, 0, 0;

	--black-color: 0, 0, 0;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 196, 196, 196;
	--gray-light-color: 236, 236, 236;
	--white-color: 255, 255, 255;

	/* 	Layout  */
	--col-padding: 5rem;
	--menu-height: 7.5rem;
	--menu-height-scrolled: 7.5rem;
	--section-width: 150rem;

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

	/* 	Mobile nav */
	--activate-mobile-menu: 1200;
	--mobile-menu-height: 7rem;
	--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;
}

.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-3 {
	margin-bottom: 3rem;
}

/* Bredder */


/* Ovriga klasser */


@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 */
.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: 4rem;
	font-weight: 600;
	line-height: 1.2;
	color: rgb(var(--black-color));
}

.small-title {
	padding-bottom: .3em;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.4;
	color: rgb(var(--gray-dark-color));
}

.text-title {
	padding-bottom: .3em;
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.4;
	color: rgb(var(--gray-dark-color));
}

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

/* Listor */
.list-car {
	padding: 0;
	margin: 0;
	list-style: none;
}

.list-car li::before {
	content: '\f1b9';
	padding: 0 1rem 0 0;
	color: rgb(var(--primary-color));
	font-weight: 600;
	font-size: 1.6rem;
	font-family: 'Font Awesome 5 Pro';
}

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

.text-block-center {
	max-width: 70rem;
	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;
	}
}

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

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

/* Knappar */
.btn,
.ContactSubmit {
	display: inline-block;
	min-width: 20rem;
	padding: 1.5rem 4.8rem 1.5rem 3.8rem;
	margin: 5px;
	font-size: 1.4rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	clip-path: polygon(0% 0%, 90% 0, 100% 50%, 90% 100%, 0% 100%);
	transition: all .4s ease;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover {
	color: rgb(var(--black-color));
	background-color: rgb(var(--gray-color));
}

.btn-white-filled {
	color: rgb(var(--black-color));
	background-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
	background-color: rgb(var(--gray-color));
}

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

.arrow-link.btn {
	padding: 1.5rem 3.8rem;
	font-size: 1.5rem;
	font-weight: 600;
}

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

/* Lank med ikon */
.icon-links {
	padding: 5px 10px;
	margin: 3px;
	font-size: 1.4rem;
	color: rgb(var(--white-color));
	line-height: 1;
	border-radius: 2rem;
	text-decoration: none;
	transition: all .3s ease;
}

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

.icon-links i {
	margin-right: 3px;
}

/* Cirkelikon */
.circle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0;
	margin: .5rem;
	font-size: 0;
	color: rgb(var(--white-color));
	text-decoration: none;
	border-radius: 50%;
	background-color: rgb(var(--gray-dark-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: 1.5rem;
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Clip path */
.w-clip-path {
	display: inline-block;
	padding: 1rem 4rem 1rem 2rem;
	margin-bottom: .3em;
	color: rgb(var(--white-color));
	background-color: rgb(var(--gray-dark-color));
	clip-path: polygon(0% 0%, 90% 0, 100% 50%, 90% 100%, 0% 100%);
}

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

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

/* Video */
.bg-video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

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

a.card-item {
	text-decoration: none;
	transition: .3s ease;
}

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

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

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

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

	/* Bredder */
	.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-33 .card-item {
		width: 100%;
		margin: 1rem 0;
	}

	.cards-wrapper.w-33-0 .card-item {
		width: 100%;
	}
}

/* Card 2-1 */
.card-2-1 .card-header {
	font-size: 5rem;
}

.card-2-1 a.card-item:hover {
	background-color: rgb(var(--gray-color));
}

/* Card 3-1 */
.card-3-1 .card-item.bg-gray-light:hover {
	background-color: rgb(var(--gray-color));
}

.card-3-1 .card-header {
	margin-top: -2.7rem;
}

.card-3-1 .highlighted {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

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

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

	/* Split i full-width */
	.full-width .split-content {
		padding: 8rem 3rem;
	}
}

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

	/* Split i full-width */
	.full-width .split-content {
		padding: 5rem 2rem;
	}
}

/* Header / Navigation
========================================================================== */
header {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

header.scrolled {
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

header .container {
	max-width: none;
	max-height: var(--menu-height);
}

header.scrolled .container {
	max-height: var(--menu-height-scrolled);
}

/* Logo */
header:not(.mobile-menu) .header-logo {
	align-self: flex-start;
	flex: 1 1 0px;
}

header:not(.mobile-menu) .header-logo img {
	max-width: none;
	max-height: none;
	height: 9.2rem;
	padding: 1rem 1rem 0;
	background-color: rgb(var(--white-color));
	transition: .3s ease;
}

header.scrolled:not(.mobile-menu) .header-logo img {
	max-height: none;
	height: var(--menu-height-scrolled);
	padding: 0;
}

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

header:not(.mobile-menu) .TemplateMenu > li > ul {
	border: 1px solid rgb(var(--white-color));
}

header:not(.mobile-menu) .TemplateMenu > li > ul > li > a:hover,
header:not(.mobile-menu) .TemplateMenu > li > ul > li.active > a {
	background-color: rgb(var(--gray-light-color));
}

/* Dolj hem */
.TemplateMenu>li:nth-child(1) {
	display: none;
}

/* 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;
	list-style: none;
}

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

/* Mobilmeny */
.mobile-menu .header-logo img {
	padding: .5rem 0 0 0;
}

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

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	align-items: flex-end;
	min-height: calc(100vh - var(--menu-height));
	background-image: linear-gradient(to bottom, rgb(var(--black-color), .5) 95%, rgb(var(--white-color)) 0);
}

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

.top-section .section-block-wrapper {
	max-width: none;
}

.top-section .section-title {
	font-size: 6.5rem;
}

.top-section .arrow-link {
	display: flex;
	justify-content: space-between;
	font-size: 2.2rem;
	font-weight: 800;
}

/* Notis */
.note-wrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
	max-width: 80rem;
	border: 1rem solid rgb(var(--white-color));
}

.note-wrapper .card-item {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 13rem;
	padding: 1rem;
	transition: .3s ease;
}

.note-wrapper .card-item:not(:last-of-type) {
	border-right: .5rem solid rgb(var(--white-color));
}

.note-wrapper .card-item:hover {
	background-color: rgb(var(--gray-color));
}

.note-wrapper .card-item.bg-primary:hover .text-white {
	color: rgb(var(--gray-dark-color));
}

.note-wrapper i {
	width: 4.5rem;
	margin-right: 2rem;
	font-size: 2.3rem;
}

/* Bouncing arrow */
.bouncing-arrow i {
	position: absolute;
	right: 6rem;
	bottom: 8rem;
	color: rgb(var(--white-color));
	font-size: 2.5rem;
	transform: translatex(-50%);
	animation: bounce 2s infinite;
}

@keyframes bounce {

	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}

	40% {
		transform: translateY(-10px);
	}

	60% {
		transform: translateY(-3px);
	}
}

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

	/* Notis */
	.note-wrapper {
		left: 2rem;
		max-width: calc(100% - 4rem);
	}

	/* Bouncing arrow */
	.bouncing-arrow {
		display: none;
	}
}

@media only screen and (max-width: 750px) {
	.top-section .section-block {
		padding-bottom: 0;
	}

	.top-section .section-title {
		font-size: 4rem;
	}

	/* Notis */
	.note-wrapper {
		position: static;
		max-width: 100%;
		margin-top: 5rem;
	}

	.note-wrapper .card-item {
		justify-content: flex-start;
		min-height: 7rem;
		padding: 1.5rem;
	}
}

/* CTA
========================================================================== */
.section-cta {
	background-color: rgb(var(--black-color), .7);
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
	display: flex;
	align-items: center;
	min-height: 40rem;
	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: 4rem;
	}
}

/* ==========================================================================
Undersida: Prislista
========================================================================== */
.price-wrapper .card-item .text-title {
	display: flex;
	justify-content: space-between;
	padding-bottom: .5rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

.price-wrapper .card-item .text-smaller {
	font-size: 1.5rem;
}

@media only screen and (max-width: 980px) {
	.section-price .col-0 {
		margin-bottom: 8rem;
	}
}

@media only screen and (max-width: 580px) {
	.section-price .col-0 {
		margin-bottom: 5rem;
	}

	.price-wrapper .card-item .text-title {
		flex-direction: column;
	}

	.price-wrapper .card-item .text-title span:nth-child(2) {
		display: block;
		margin-top: 5px;
		font-size: var(--base-size);
		font-weight: 400;
	}
}

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

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

.footer-menu {
	max-width: 20%;
	padding-right: 3rem;
}

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

.footer .text-label {
	padding: 0 0 1rem;
	font-size: calc(var(--base-size) - 2px);
	line-height: 1;
	color: rgb(var(--white-color));
}

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

.footer-top li,
.footer-top p,
.footer-top a {
	font-size: calc(var(--base-size) - 1px);
	color: rgb(var(--white-color));
}

.footer a {
	text-decoration: none;
	font-size: calc(var(--base-size) - 2px);
	transition: .3s ease;
}

.footer a:not(.icon-links):hover {
	color: rgb(var(--gray-light-color));
}

/* Footer middle */
.footer-middle {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

/* Footer bottom */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 0;
	border-top: 1px solid rgb(var(--gray-light-color));
}

.footer-bottom p,
.footer-bottom a {
	padding: 0;
	font-size: calc(var(--base-size) - 3px);
	line-height: 1.6;
	color: rgb(var(--white-color));
}

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

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

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

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

	.footer-menu.footer-menu-large {
		width: 100%;
		max-width: none;
		padding-right: 0;
	}

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

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

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

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

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