/*  Jurideko AB / Stadgeändring */


@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700|Playfair+Display:300,400,500,600&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
    background-repeat: no-repeat;
}

body.isMobile .body-background,
body {
    -webkit-font-smoothing: antialiased;
    background-position: left center;
    background-size: cover;
}

html {
	font-size: 62.5%;
}

.LayoutPage .section-block,
.SubPage .LayoutPage .section-block {
    padding: 15rem 6rem;
}

.LayoutPage .section-block-wrapper {
	max-width: 130rem;
}

@media only screen and (max-width: 1024px) {
	.LayoutPage .section-block, .SubPage .LayoutPage .section-block {
		padding: 11rem 4rem;
	}	
}

@media only screen and (max-width: 580px) {
	.LayoutPage .section-block, .SubPage .LayoutPage .section-block {
		padding: 6rem 3rem;
	}
}

/* ==========================================================================
Knappar & speciella lÃ¤nkar
========================================================================== */

.btn {
    max-width: 20rem;
    width: auto;
    box-sizing: border-box;
    padding: 1.5rem 3rem;
    border-radius: 0;
    text-align: center;
    text-transform: none;
    font-weight:600;
    font-size: 1.5rem;
    letter-spacing: normal;
    line-height: 1em;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    display: block;
    color: #fff !important;
    background-color: transparent;
    border: 2px solid #fff;
}

.btn:hover {
    border: 2px solid #325bc2;
    color: #325bc2;
}

.btn-white,
.btn-white:hover {
    background-color: transparent;
    border-color: #FFF;
    color: #fff;
}

.btn-primary {
    background-color:#4C9C55;
    border-color: #4C9C55;
    color:#fff !important;
}

.btn-primary:hover {
    border-color: #4C9C55;
    color: #4C9C55 !important;
    background-color: transparent;
}

.btn-secondary,
.btn-secondary:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-wrapper {
    margin-top: 5rem;
}

.btn-wrapper.center {
    display: flex;
    justify-content: center;
}

/*
#backToTop {
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 11rem;
    right: -6rem;
    z-index: 7;
    font-size: 1.6rem;
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    color: #a76239;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    transform: rotate(-90deg);
    text-transform: uppercase;
    font-weight: 300;
    transition: background-color .3s, opacity .5s, visibility .5s;
    letter-spacing: 2px;
    font-family: 'Lato', sans-serif;
}
*/


.arrow-link::after {
	content: ' \f178';
	opacity: 1;
	transition: all .3s ease;
	font-family: 'Font Awesome 5 Pro';
	margin-left: 3px; 
	font-weight: 400;
}

.arrow-link:hover::after {
	content: ' \f178';
	opacity: 1;
	margin-left: 1rem;
}


#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop .fal {
	font-size: 2.5rem;
	vertical-align: sub;
	margin-left: 0.5rem;
}

.width-1200 .section-block .section-block-wrapper {
	max-width: 120rem;
}

.width-1300 .section-block .section-block-wrapper {
	max-width: 130rem;
}

.width-1400 .section-block .section-block-wrapper {
	max-width: 140rem;
}

.width-1500 .section-block .section-block-wrapper {
	max-width: 150rem;
}

.SubPage .section-block li:before {
	content: "\f105";
	color: #222;
	font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
    font-family: 'Font Awesome 5 Pro';
}

.SubPage .section-block ul {
	list-style: none;
}

.SubPage .section-block li {
	padding-bottom: 1rem;
}

.display-none {
	display: none;
}

.EditMode .display-none {
	display: block;
}

/* ==========================================================================
Text och typsnitt
========================================================================== */
p, a , li{
	line-height: 1.6;
	font-size: 1.8rem;
	color: #616161;
	font-family: 'Lato', sans-serif;
	font-weight: 300; 
	text-decoration: none;
}

a.link-styled {
	letter-spacing: 0.3em;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.4rem;
}

a:hover {
	text-decoration: none;
	color: #333;
}

p a {
	line-height: 1.6;
	font-size: 1.8rem;
	color: #616161;
	font-family: 'Lato', sans-serif;
	font-weight: 300; 
	text-decoration: none;
	text-decoration: underline;
	display: inline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', sans-serif;
	letter-spacing: 0px;
	color: #222;
	font-weight: 400;
	text-transform: unset;
}

h1, h2 {
    font-size: 3rem;
    padding-bottom: 3.5rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    font-weight: 700;
   
}

h3 {
	font-size: 3rem;
}

h4 {
	font-size: 2.5rem;
}

/* lägger till padding på rubrik under brödtext */

.add-paddingtop {
	padding-top: 3rem;
}

/* "stor" titel på sektion */
.section-title {
	font-size: 4rem;
    padding-bottom: 3.5rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

/* "liten" titel på sektion */
.text-label {
	font-size: 1.7rem;
	letter-spacing: 0.2em;
	font-weight: 300;
	text-transform: uppercase;
	color: #616161;
	font-family: 'Lato', sans-serif;
	padding-bottom: 2.5rem;
}

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

/* lilla "abc"-blocket */
.smalltext-type {
	max-width: none;
}

/* stora "ABC"-blocket */
.normaltext-type {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
}


@media only screen and (max-width: 696px) {
	h1, h2 {
    	font-size: 2.4rem;
	}
}

/* ==========================================================================
Header / Navigation
========================================================================== */
/*
header {
	background-color: #fff;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.05);
}
*/

header {
    background-color: transparent;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    -ms-transition: all 500ms linear;
    transition: all 500ms linear;
	box-shadow: none;
	height: 6.5rem;
}

header .container {
	max-width: none;
}

header.scrolled {
    background-color: white;
    box-shadow: 0px -2px 1rem rgba(0,0,0,0.3);
}

header.scrolled nav.mainmenu li a { color: #333; }
header.scrolled .mobile-menu span { background: #222; }
header.scrolled .header-logo {
	width: 18.7rem;
    padding: 1rem 1rem;
}

header .header-logo {
    width: 32rem;
	padding: 1.5rem 4rem;
	-webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

nav.mainmenu {
	text-align: right;	
}

nav.mainmenu a {
	font-family: 'Playfair Display', sans-serif;
	font-weight: 400;
	font-size: 1.3rem;
	color: #fff;
	text-transform: none;
	padding: 0 2rem;
	letter-spacing: 3px;
	text-transform: uppercase;
}

nav.mainmenu li {
	line-height: 6.5rem !important;
    height: 6.5rem !important;
}

nav.mainmenu li:hover, 
nav.mainmenu li.active {
	background-color: transparent;
}

nav.mainmenu li:hover a, 
nav.mainmenu li.active a {
	color: #a76239 !important;
}  

nav.mainmenu a:hover:before,
nav.mainmenu li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

nav.mainmenu a:before {
    background-color: #a76239;
    visibility: hidden;
    position: absolute;
    content: "";
    height: 1px;
    bottom: 1.3rem;
    width: 50%;
    left: 25%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}  

header .mobile-menu span{
	height: 0.4rem;
	width: 100%;
	background: #fff;
	border-radius: 0.2rem;
	margin-bottom: 0.5rem;
	display: none;
}

header .close-menu {
	display: none;
}

header .close-menu:before, 
header .close-menu:after {
	position: absolute;
	left: 1.5rem;
	content: ' ';
	height: 3.3rem;
	width: 0.3rem;
	background-color: #333;
}

header .close-menu:before {
  	transform: rotate(45deg);
}

header .close-menu:after {
  	transform: rotate(-45deg);
}

@media only screen and (max-width: 980px) {
	header {
		background-color: white;
	}
	
	header .header-logo {
	    width: 18.7rem;
	    padding: 1rem 1rem;
	}
	
	header .mobile-menu span {
	    background: #222;
	}
	
	/* Hamburgarmeny – Den är default svart, men för att ändra färg eller ikon använd koden nedan.*/
	.openmenu {
/*
		background: transparent url('/files/menu-white.png') no-repeat center center;
	    background-size: 250px 25px;
	    width: 3rem;
	    height: 3rem;
	    right: 3rem;
	    top: 2rem;
*/
	}
	
	nav.mainmenu {
		text-align: center;
		width: 100%;
		box-shadow: none;
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		height: 100%;
		overflow-y: scroll;
		background-color: #fff !important;
	}
	
	nav.mainmenu .Padding {
		padding-left: 0;
		margin-top: 72px;
	}

	nav.mainmenu ul.TemplateMenu > li {
		height: 6rem;
		width: 100%;
	}
	
	nav.mainmenu li a {
		font-size:17px;
		border-bottom: none;
		margin:20px 0px;
		color: #333 !important;
		padding-left: 1rem;
	}
	
	nav.mainmenu li:hover a, 
	nav.mainmenu li.active a {
		color: #222 !important;
	}  
	
	nav.mainmenu li:hover, 
	nav.mainmenu li.active {
    	background-color: transparent;
	}
	
	nav.mainmenu a:before {
		display: none;
	}  
	
	.openmenu,
	.closemenu  {
	    background-image: none;
	}
	
	header .mobile-menu span,
	header .close-menu {
		display: block; 
	}
}




/* ==========================================================================
Top-section
========================================================================== */
.top-section {
	height: 100%;
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 100%);
}

.page-title-wrap {
	background-color: transparent;
	top: 25vh;
	left:50%;
	width: 100%;
	max-width: none;
	padding: 0;
	transform: translate(-50%,0%);
    -ms-transform: translate(-50%,0%);
    -moz-transform: translate(-50%,0%);
    -webkit-transform: translate(-50%,0%);
    
}

.page-title-innerwrap {
    width: 100%;
    max-width: 85rem;
    text-align: left !important;
    position: relative;
    margin-left: 12rem;
    box-sizing: border-box;
    background-color: #fff;
    padding: 6rem 6rem;
}

.page-title-wrap h1,
.page-title-wrap h2 {
	color:#333;
	text-shadow: 0px 6px 1rem rgba(0, 0, 0, 0.0);
	text-align: left;
}

.page-title-wrap h1 {
	font-weight: 700;
    padding-bottom: 4rem;
    font-size: 6.8rem;
    line-height: 1.3;
}


.page-title-wrap h2 {
	font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #6c6c6c;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 1.9;
}

.page-title-wrap p a {
	text-decoration: none;
}

@media only screen and (max-width: 1440px) {
	.page-title-wrap h1 {
	    font-size: 6rem;
	}
	
	.page-title-wrap h2 {
	    font-size: 1.7rem;
	}
	
	.page-title-innerwrap {
	    max-width: 72rem;
	    padding: 5rem 5rem;
	}
}

@media only screen and (max-width: 1150px) {
	.page-title-wrap h1 {
	    font-size: 5.5rem;
	}
	
	.page-title-wrap h2 {
	    font-size: 1.6rem;
	}
	
	.page-title-innerwrap {
	    max-width: 67rem;
	    padding: 5rem 5rem;
	    margin-left: 7rem;
	}
}

@media screen and (max-width: 1100px) {
	.page-title-wrap h1 {
    	font-size: 5rem;
	}
	
	.page-title-innerwrap {
	    max-width: 64rem;
		margin-left: 3rem;
	}
}

@media screen and (max-width: 700px) {
	.page-title-wrap h1 {
    	font-size: 3rem;
	}
	
	.page-title-wrap h2 {
		font-size: 1.6rem;
	}
	
	.page-title-innerwrap {
	    max-width: 64rem;
	    width: 100%;
		margin-left: 0rem;
		padding: 4rem;
		margin-right: 4rem;
	}
}

@media screen and (max-width: 500px) {
	.page-title-innerwrap {
	    max-width: 36rem;
	}
	
	.page-title-wrap h1 {
    	font-size: 2.7rem;
	}
	
	.page-title-wrap h2 {
	    font-size: 1.5rem;
	    letter-spacing: 0.1em;
	}
}


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

/* Text
========================================================================== */
#text .col-0 {
	width: 25%;
    position: sticky;
    top: 13rem;
    align-self: flex-start;
}

#text .col-1 {
	width: 75%;
	padding-left: 3rem;
}

.content .section-block-wrapper {
    display: flex;
    justify-content: center;
}

.content h2 {
	padding: 3rem 0 1rem;
}

/*  navigationen */
.page-navigation {
	border-right: 1px solid #333;
	padding-right: 2rem;
}

.page-navigation h2 {
	font-size: 2.3rem;
    font-weight: 700;
    padding-top: 0 !important;
}

.page-navigation a {
	display: block;
	font-size: 1.8rem;
	padding-bottom: 2rem;
	font-weight: 400;
/* 	font-weight: 700; */
}

.page-navigation a:hover {
	text-decoration: underline;
}


/* grå box */
.aktuellt-box {
	background: #f5f5f5;
    overflow: hidden;
    padding: 4rem 3rem 3rem;
    margin: 4rem 0 1rem;
    max-width: 80rem;
}

.aktuellt-box h2 {
	font-size: 2.5rem;
	font-weight: 700;
	padding-top: 0;
	
}

@media only screen and (max-width: 1150px) {
	#text .col-0 {
		width: 30%;
	}
	
	#text .col-1 {
		width: 70%;
	}
}

@media screen and (max-width: 900px) {
	#text .col-0 {
		width: 35%;
	}
	
	#text .col-1 {
		width: 65%;
	}
}

@media screen and (max-width: 800px) {
	.content .section-block-wrapper {
		display: block;
	}
	
	#text .col-0,
	#text .col-1 {
		width: 100%;
		padding: 0;
		position: static;
	}
	
	#text .col-0 {
		margin-bottom: 4rem;
	}
	
	.page-navigation {
		border: none;	
	}
	
	.page-navigation a {
	    font-size: 1.6rem;
	    padding-bottom: 1.8rem;
	}
}



/* Kontakt
========================================================================== */
.team .text-part {
	border-top: 1px solid #333;
	padding-top: 2rem;
}

.team .text-part p {
	text-align: center;
}

.cards {
	font-size: 0;
	padding-bottom: 10rem;
}

.contact-card {
	display: inline-block;
    vertical-align: top;
	width: 33.33%;
	padding: 0 2rem;
}

.contact-img {
	padding-bottom: 3rem;
	max-width: 80%;
	margin: 0 10%;
}

.contact-img img {
	border-radius: 50%;
}

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

.contact-text h2 {
	font-size: 3rem;
	font-weight: 700;
	padding-bottom: 2rem;
}

.contact-text h3 {
	font-size: 2rem;
	font-weight: 300;
	padding-bottom: 1.5rem;
}

.contact-text p {
	padding-bottom: 0;
}

@media only screen and (max-width: 1450px) {
	.contact-text h2 {
    	font-size: 2.5rem;
    }
    
    .contact-text h3 {
    	font-size: 1.7rem;
	}
}

@media only screen and (max-width: 1340px) {
	.contact-card {
		width: 100%;
		margin-bottom: 3rem;	
	}
	
	.contact-img {
	    max-width: 55%;
	    margin: 0 23%;
	}
}

@media only screen and (max-width: 1000px) {
	.contact-card {
		width: 100%;
		margin-bottom: 3rem;	
	}
	
	.contact-img {
	    max-width: 80%;
	    margin: 0 10%;
	}
}

@media only screen and (max-width: 600px) {
	.contact-img {
    	max-width: 90%;
    	margin: 0 5%;
	}
	
	.contact-card {
		padding: 0;
		margin-bottom: 4rem;
	}
}



/* ==========================================================================
Footer
========================================================================== */
.footer {
	background-color: #252525;
	padding: 2rem 1.5rem;
}

.footer .container {
    padding: 1rem 1.5rem !important;
}

.footer h5 {
	 text-align: center;
	 margin-bottom: 1rem;
	 color: #fff; 
	 font-size: 2rem;
	 font-weight: 600;
}

.footer p,
.footer a {
	font-size: 1.5rem;
	text-align: center;
	line-height: 1.4em;
	color: #f6f6f6;
	text-transform: unset;
/* 	padding-bottom: 0; */
}

.footer .container .fab {
	font-size:3rem; 
	padding:5px;
	margin-top: 1.5rem;
	text-decoration: none;
}

.footer .container .fab:hover {
	color: #c2c2c2;
}

/* Ny footer kod */
.footer .container {
	max-width: 130rem;
}

.footer-col {
	display:inline-block;
	vertical-align:top;
	width:30.333%!important;
	min-width:230px;
	margin:1%;
}

.footer-col img {
	width:100%!important;
	max-width: 270px;
}

.footer a {
	display:block;
	color:#f8f8f8;
}
/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

a.webbess-stamp {
   text-decoration: none;
}
.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
    filter: invert();
}