/* Next Law KB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
	/* 	Colors */
	--primary-color: 114, 63, 143;
	--secondary-color: 0, 61, 77;
	--secondary-light-color: 189, 199, 197;

	--black-color: 17, 17, 17;
	--gray-dark-color: 58, 58, 58;
	--gray-color: 207, 206, 202;
	--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: 980;
	--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;
	}
}

/* Sprak, tex header-cta-wrapper
- Anvand lang-en for allt som endast ska synas pa engelska sidan
- Anvand lang-se for allt som endast ska synas pa svenska sidan
========================================================================== */
body.en .lang-se,
body:not(.en) .lang-en {
	display: none;
}

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

.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 */
.mw-1000 .section-block-wrapper {
	max-width: 100rem;
}

/* Ovriga klasser */
.nowrap {
	white-space: nowrap;
}

@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: 400;
	text-transform: uppercase;
	color: rgb(var(--primary-color));
}

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

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

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

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

.list-circle li::before {
    content: '\f111';
	position: relative;
	top: -3px;
    padding: 0 1rem 0 0;
    color: rgb(var(--gray-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: 70rem;
	margin-left: auto;
	margin-right: auto;
}

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

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

.text-uppercase {
	text-transform: uppercase;
}

@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 {
	min-width: 15rem;
	padding: 1.2rem 2rem;
	margin: 5px;
	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;
}

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

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

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

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

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

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

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

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


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

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

.parallax.overlay-primary .section-block {
	background-color: rgb(var(--primary-color), .8);
}

.parallax-city {
	background-image: url('/assets/images/stad-2000px.jpg');
}

@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 {
	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-50 .card-item {
	width: calc((100% / 2) - 2rem);
	margin: 1rem;
}

.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,
	.cards-wrapper.w-50 .card-item {
		width: 100%;
		margin: 1rem 0;
	}
}

/* Card 2-1 */
.card-2-1 a.card-item,
.card-2-1 a.card-item p {
	transition: .3s ease;
}

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

.card-2-1 a.card-item:hover .text-white {
	color: rgb(var(--black-color));
}

.card-2-1 .card-header {
	margin-bottom: 2rem;
	font-size: 5rem;
}

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

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

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

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

/* Dropdown */
.EditMode .TemplateMenu ul {
	width: 26rem;
}

.EditMode .TemplateMenu ul a {
	line-height: 4rem;
    font-size: 1.5rem;
}

/* Flagga */
header .flag img {
	width: 3.2rem;
}

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

.header-cta-wrapper li {
	margin: 0 .5rem;
}

.header-cta-wrapper .btn {
	min-width: unset;
	padding: 1rem 2rem;
	line-height: 1;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - var(--menu-height));
	padding-bottom: 17rem;
	/* Services -top */
}

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

.top-section .usp-wrapper {
	padding: 3rem 0;
	background: linear-gradient(45deg, rgba(var(--black-color), 0) 2.32%, rgb(var(--primary-color), .78) 50.33%, rgba(var(--black-color), 0) 100%);
}

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

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

/* Tjanster
========================================================================== */
.section-services {
	z-index: 1;
	position: relative;
	top: -17rem;
	margin-bottom: -17rem;
	background: rgba(var(--secondary-color), 0.86);
}

.section-services .section-block {
	padding-top: 0;
	padding-bottom: 0;
}

.services-wrapper .card-item {
	width: calc(100% / 8);
}

@media only screen and (max-width: 1350px) {
	.section-services {
		top: 0;
		margin-bottom: 0;
		background: rgba(var(--secondary-color));
	}

	.services-wrapper .card-item {
		width: calc(100% / 4);
	}
}

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

	.services-wrapper.cards-wrapper {
		margin-left: -1rem;
		margin-right: -1rem;
	}

	.services-wrapper .card-item {
		width: calc(100% / 4);
	}
}

@media only screen and (max-width: 650px) {
	.services-wrapper .card-item {
		width: calc(100% / 2);
	}
}

/* Referenser
========================================================================== */
.quote-wrapper .slick-list {
	width: 100%;
}

.quote-wrapper .quote-item {
	margin: 0 4rem;
}

@media only screen and (max-width: 1250px) {
	.quote-wrapper .quote-item {
		margin: 0 2rem;
	}
}

@media only screen and (max-width: 1000px) {
	.quote-wrapper {
		max-width: 80rem;
		margin: 0 auto;
	}

	.quote-wrapper .quote-item {
		margin: 0 1rem;
	}
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
	display: flex;
	align-items: center;
	min-height: 40rem;
	padding-top: var(--menu-height);
	margin-top: calc(var(--menu-height) * -1);
	background: linear-gradient(45deg, rgba(var(--secondary-color)) 2%, rgba(var(--primary-color)) 50%, rgba(var(--secondary-color)) 100%);
}

.hero.bg-image {
	background: linear-gradient(45deg, rgba(var(--secondary-color), .9) 2%, rgba(var(--primary-color), .7) 50%, rgba(var(--secondary-color), .6) 100%);
}

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

.hero .section-title {
	padding-bottom: 1rem;
	font-size: 4rem;
	color: rgb(var(--white-color));
}

.hero .linkedin {
	font-size: 3.5rem;
}

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

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

/* ==========================================================================
Undersida: Kompetenser
========================================================================== */
.contact-info a {
	text-decoration: none;
	transition: .3s ease;
}

.contact-info a:hover {
	color: rgb(var(--primary-color));
}

@media only screen and (max-width: 980px) {
	.section-expertise .section-block-wrapper {
		flex-direction: column-reverse;
	}

	.section-expertise .col-1 {
		margin-top: 3rem;
	}
}

/* ==========================================================================
Undersida: Medarbetare
========================================================================== */
.team-wrapper .card-item:nth-child(2n+2) {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column-reverse;
	margin-top: 15rem;
}

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

.team-wrapper .text-bold {
	font-size: 1.5rem;
}

.team-wrapper i {
	font-size: 2.5rem;
}

.team-wrapper a {
	font-size: 1.5rem;
	text-decoration: none;
}

/* Farger */
.team-wrapper .card-item:nth-child(4n+1) .card-body {
	background-color: rgb(var(--primary-color));
}

.team-wrapper .card-item:nth-child(4n+2) .card-body {
	background-color: rgb(var(--secondary-color));
}

.team-wrapper .card-item:nth-child(4n+3) .card-body {
	background-color: rgb(var(--secondary-light-color));
}

.team-wrapper .card-item:nth-child(4n+4) .card-body {
	background-color: rgb(var(--gray-color));
}

.team-wrapper .card-item:nth-child(4n+1) p,
.team-wrapper .card-item:nth-child(4n+1) a,
.team-wrapper .card-item:nth-child(4n+2) p,
.team-wrapper .card-item:nth-child(4n+2) a {
	color: rgb(var(--white-color));
}

.team-wrapper .card-item:nth-child(4n+3) p,
.team-wrapper .card-item:nth-child(4n+3) a,
.team-wrapper .card-item:nth-child(4n+4) p,
.team-wrapper .card-item:nth-child(4n+4) a {
	color: rgb(var(--black-color));
}

@media only screen and (max-width: 1200px) {
	.cards-wrapper.team-wrapper .card-item {
		width: calc((100% / 3) - 2rem);
	}

	.team-wrapper .card-item:nth-child(2n+2) {
		margin-top: 1rem;
	}
}

@media only screen and (max-width: 950px) {
	.team-wrapper .card-item,
	.team-wrapper .card-item:nth-child(2n+2) {
		flex-direction: column;
	}

	.cards-wrapper.team-wrapper .card-item {
		width: calc((100% / 2) - 2rem);
	}
}

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

	.team-wrapper .image-wrapper {
		width: 100%;
	}
}

/* ==========================================================================
Undersida: Medarbetare > Medarbetarundersida
========================================================================== */

/* CV
========================================================================== */
@media only screen and (max-width: 980px) {
	.section-cv .col-0 {
		width: 100%;
		margin-bottom: 3rem;
	}

	.section-cv .col-0 img {
		width: 30rem;
	}
	
	.section-cv .col-1 {
		width: 50%;
		padding-right: 1%;
	}
	
	.section-cv .col-2 {
		width: 50%;
		padding-left: 1%;
	}
}

@media only screen and (max-width: 750px) {
	.section-cv .col-1 {
		width: 100%;
		padding: 0;
		margin-bottom: 2rem;
	}
	
	.section-cv .col-2 {
		width: 100%;
		padding: 0;
	}
}

/* Om mig
========================================================================== */
.section-about .section-block-wrapper {
	justify-content: space-between;
	align-items: center;
}

.section-about .col-0 {
	width: 80rem;
	max-width: calc(100% - 38rem);
}

.section-about .col-1 {
	width: 38rem;
    padding: 3rem;
    border: 1px solid rgb(var(--white-color));
}

.section-about .col-1 a {
	text-decoration: none;
	transition: .3s ease;
}

.section-about .col-1 a:hover {
	color: rgb(var(--secondary-light-color));
}

.section-about .col-1 i,
.section-about .col-1 em {
	margin-right: 5px;
}

@media only screen and (max-width: 980px) {
	.section-about .col-0 {
		width: 100%;
		max-width: 100%;
	}

	.section-about .col-1 {
		padding: 2rem;
		margin-top: 3rem;
	}
}

/* Citat
========================================================================== */
.js-slick-rolling {
  max-height: 30rem; 
  overflow: hidden;
}

.js-slick-rolling .slick-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
}

.js-slick-rolling p {
  margin: 0 auto;
  padding: 1rem;
  max-width: 800px;
}

/* ==========================================================================
Undersida: Aktuellt
========================================================================== */
.news-wrapper .card-item:not(:last-of-type) {
	margin-bottom: 5rem;
}

.news-wrapper .date {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgb(var(--gray-light-color));
}

.news-wrapper a {
	word-break: break-all;
}

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

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

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

.footer .small-title {
	padding: 0 0 1rem;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
}

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

.footer-top li,
.footer-top p:not(.small-title),
.footer-top a {
	font-weight: 300;
	text-decoration: none;
}

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

.footer-top i,
.footer-top em {
	width: 3rem;
	text-align: left;
	color: rgb(var(--primary-color));
}

.footer .symbol {
	width: 10rem;
}

.footer .symbol img {
	height: 15rem;
}

/* 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(--primary-color));
}

.footer-bottom p,
.footer-bottom a {
	font-size: 1.4rem;
	line-height: 1.6;
}

/* 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: 1400px) {

	/* Footer top */
	.footer-menu,
	.footer .symbol {
		width: auto;
	}
}

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

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

	/* Footer top */
	.footer-menu,
	.footer .symbol {
		width: 48%;
	}
}

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

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

	.footer-menu,
	.footer .symbol {
		width: 100%;
	}

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

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