/* Fiskevårdstjänst Peter Hallgren AB */

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;900&display=swap');

/* Video background */
.fullscreen-bg-video {
   	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* @media screen and (hover:none){
	.fullscreen-bg-video {
		display:none;
	}
} */

/* ==========================================================================
Generellt 
========================================================================== */

html {
	font-size: 62.5%;
}

body {
	background-position: center 80%;
}

body.isMobile .body-background {
	background-position: center center;
	background-size: cover;
	z-index:-101;
}

.LayoutPage .section-block,
.SubPage .LayoutPage .section-block {
    padding: 80px 40px;
}

.LayoutPage .section-wrapper {
/* 	background-color: transparent; */
}

.btn {
    width:fit-content;
    max-width:1000px;
    box-sizing: border-box;
    padding: 10px 30px;
   	background-color: #7491b3;
	border:2px solid #7491b3;
   	color: #fff;
   	border-radius: 100px;	
    text-align: center;
    text-transform: none;
    font-weight:400;
	text-decoration: none;
/*  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.15); */
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: none !important;
    font-size: 1.5rem;

}

.btn:hover {
	background-color: transparent;
	color: #7491b3;
	border:2px solid #a7ddf8;
	text-decoration: none;
}

.btn-whiteborder {
	background-color: transparent;
	color: #fff;
	border:2px solid #fff;
	text-decoration: none;
}

.btn-#222border {
	background-color: transparent;
	color: #333;
	border:2px solid #333;
	text-decoration: none;
}


/* Använd "btn btn-center" för att centrera knappen */
.btn.center {
	margin:0 auto!important;
	text-align: center;
}

.width-900.section-block .section-block-wrapper {
	max-width: 900px;
}

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

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

/* Specifika paddings */
.pt-2 {
	padding-top: 2rem;
}

.pt-5 {
	padding-top: 5rem;
}

.py-3 {
	padding: 3rem 0 !important;
}

.pb-2 {
	padding-bottom: 2rem;
}

/* Specifika margins */
.mt-5 {
	margin-top: 5rem;
}

/* Lista */
.SubPage .section-block li:before {
	content: "\f105";
	color: #222;
	font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
    font-family: 'Lato', sans-serif;
}

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

.SubPage .section-block li {
	padding-bottom: 10px;
}

.display-none {
	display: none;
}

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

ul {
	margin:0;
	padding:0;
}


/* ==========================================================================
Text och typsnitt
========================================================================== */
h1, h2, h3, h4, h5, h6, p, btn, a, nav.mainmenu a {
	font-family: 'Lato', sans-serif;
}

p, a , li{
	line-height:3.2rem;
	font-size: 1.8rem;
	color: #666;
	font-weight: 300; 
	text-decoration: none;
}

a {
	color: #0a3167;
	text-decoration: underline;
}

a.link-styled {
	letter-spacing: 2px;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 1.6rem;
}

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

h1, h2, h3, h4, h5, h6 {
	letter-spacing: 0px;
	color: #222;
	text-transform: unset;
	-webkit-font-smoothing:antialiased;
}

h1, h2 {
	font-size: 2.0rem; 
	padding-bottom:10px;
	letter-spacing: 0.25rem;
	line-height:3rem;
	font-weight:400;
	text-transform: uppercase;
	color:#7491b3;
/*
	word-wrap:break-word;
	overflow-wrap:break-word;
	hyphens:auto;
	-webkit-hyphens:auto;
	-moz-hyphens:auto;
*/
}

h3 {
	font-size: 4.0rem;  
	padding-bottom: 35px;
	letter-spacing: 0.1rem;
	word-spacing: 0.5rem;
	line-height:4.5rem;
	font-weight:700;
	color:#666;
	text-transform: uppercase;
}

h4 {
	font-size: 2.5rem;
}

h5 {
	font-size: 1.7rem;
	letter-spacing: 3px;
	font-weight: 400;
	text-transform: uppercase;
	color: #616161;
	padding-bottom: 25px;
}

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

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

.normaltext-type p {
	text-align: left;
}

.heading-type h5 {
	text-align: center;
}

.bolder {
	font-weight:700;
}
.underline{
	text-decoration: underline;
}
.text-center{
	text-align: center;
}

.text-blue {
	color: #0A3167;
}

@media only screen and (max-width:800px){
	.normaltext-type {
		text-align: left;
	}
}


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

header {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: transparent;
	box-shadow:none;
}

header .container {
	max-width: none;
}

header.scrolled {
    background-color:#0a3167;
    box-shadow: 0px -2px 10px rgba(0,0,0,0.3);
}

header.scrolled .mobile-menu span {
	background: #fff;
}

.logo-image-positive {
	opacity:0;
}

header.scrolled .logo-image-positive {
	opacity:1;
}


header .header-logo {
	width:26.6rem;
    height: 8.3rem;
    padding: 1.8rem 0;
    padding-left:2rem;
    transition: all ease-out .3s;
    transform: scale(1.1);
    /* display: none; */
}

header.scrolled .header-logo {
    height: 63px;
    padding: 8px 0;
	transform: scale(1);
}

.header-logo-image {
	height:100%;
	position: relative;
}

.header-logo img{
	max-height:100%;
	position: absolute;
}

@media only screen and (max-width: 1024px) {
	header.scrolled .header-logo {
		padding-left:10px;
	}
}

@media only screen and (max-width: 360px) {
	.header-logo {
	    padding: 8px 0!important;
		transform:scale(0.8) translateX(-30px)!important;
	}
	
	header.scrolled .header-logo {
		transform:scale(0.8) translateX(-30px);
	}
}


nav.mainmenu {
	text-align:right;	
}

nav.mainmenu a {
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 90px;
	color: #fff;
	text-transform: none;
	padding: 0 10px;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	transition:all ease-out 0.3s;
}

mainmenu.scrolled a {

}

nav.mainmenu li {
	transition:ease-out .3s;
}

header.scrolled nav.mainmenu li a {
	color: #fff;
	line-height: 72px;
}

nav.mainmenu li:last-of-type {
	margin-right:10px;
}

header.scrolled nav.mainmenu li:last-of-type {
	margin-right:0;
}

/*
nav.mainmenu li:first-of-type {
	display: none;
}
*/

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

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

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

}  

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

nav.mainmenu a:before {
    background-color:#a7ddf8;
    visibility: hidden;
    position: absolute;
    content: "";
    height: 4px;
    bottom: -18px;
    border-radius: 100px;
    width:100%;
    left:0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
} 

.scrolled nav.mainmenu a:before {
    bottom: 0px;
}

header .mobile-menu span{
	height: 4px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	margin-bottom: 5px;
	display: none;
}

header .close-menu {
	display: none;
}

header .close-menu:before, 
header .close-menu:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 33px;
	width: 3px;
	background-color: #333;
}

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

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

.headersocial {
	font-size:3rem!important;
	transform:translateY(6px);
}

/* ==========================================================================
Top-section
========================================================================== */
.top-section {
	height: 100%;
	background-color: rgba(0,0,0, 0.5);
	box-shadow:inset 0 0px 40px rgba(0,0,0,0.1);
	overflow: hidden;
}

.page-title-wrap {
	background-color: transparent;
	top:50%;
	width:100%;
	padding:0;
	max-width: none;	
	text-align: center;
}

.page-title-wrap img {
	margin-top:20px;
	
}

.page-title-wrap h2,
.page-title-wrap h3 {
	color:#fff;
	padding:5px;
}

.page-title-wrap h1 {
	color:#fff;
	font-size: 1.8rem;
	line-height: normal;
	margin:auto;
	padding:5px 15px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.75rem;
	word-spacing:0.75rem;
/* 	text-shadow:0 2px 10px rgba(0,0,0,0.5); */
}

.page-title-wrap h2 {

	margin:auto;
	width:100%;
	font-size:8.5rem;
	line-height:100%;
	font-weight:900;
	padding:10px;
	margin-bottom:25px;
	text-transform:uppercase;
/* 	text-shadow:0 2px 10px rgba(0,0,0,0.5); */
}

.page-title-wrap p {
	max-width: 650px;
	margin: 0 auto;
	font-size: 2.0rem;
	line-height: 35px;
}

.page-title-wrap .btn {
	margin: 1%;
}

#usp { margin-bottom: 40px;}

@media only screen and (max-width:550px){
	.page-title-wrap h2 {
		padding:0;
	}
	.page-title-wrap h1 {
		font-size: 1.4rem;
	}
}


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

#hidden {
	position: absolute;
	top:0;
	height:100vh;
	width:0;
}

#about-us, #services, #nyheter, #contact-cta {
	overflow: hidden;
	position: relative;
}

#services, #nyheter, #contact-cta, #about-us{
	padding-bottom:100px;
	background:rgba(0,0,0,0.5);
}

#contact-cta .section-block-wrapper {
	padding:60px 0;
	background:white;
}


/* Om oss
========================================================================== */


.instagram {
	min-height: 40vw;
}

/* Block-List CSS */

.halfblock-wrap {
	display:flex;
	height:100%;
}

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

.halfblock {
	width:calc(100% / 3 * 2);
	min-height:500px;
	margin:0;
	padding:90px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:white;
}

.halfblock > * {
	max-width:800px;
}

.halfblock:nth-child(even) {
/*
	flex-direction: row;
	justify-content: flex-end;
*/
	width:calc(100% / 3);
	background-size:cover;
	background-color:transparent;
	background-position: center center;
}

#services .halfblock:nth-child(even) {
	background-image:url('/assets/images/fiskevardstjanst-services.jpg');
}

#nyheter .halfblock:nth-child(even) {
	width:800px;
	padding:0;
}

#nyheter .halfblock:nth-child(odd) {
	border-radius:10px 0 0 10px;
	width:calc(100% - 800px);
}


#about-us .halfblock:nth-child(even), #sub-about .halfblock:nth-child(even) {
	background-image:url('/assets/images/fish-in-water-1000px.jpg');
	background-position: center center;
}

 #sub-about-us .halfblock:nth-child(even) {
	background-image:url('/assets/images/peter-1000px.jpg');
	background-position: center center;
}



.halfblock .btnwrap {
	padding-top:40px;
	display:flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}

.halfblock .btn {
	margin-right:20px;
	margin-bottom:20px;
}

@media only screen and (max-width: 1200px) {
	
	#nyheter .halfblock-wrap {
		flex-direction: column;	
		background:white;
	}
	#nyheter .halfblock {
		width:100%!important;
		padding:60px 0;
		border-radius: 0!important;
		max-width:940px;
		margin:auto;
	}
	.halfblock > * {
		max-width:100%;
		width:auto;
	}
	#nyheter .article {
		width:100%;
		max-width:none;
		padding:0;
		border-radius: 0;
	}
	
	#nyheter .halfblock:nth-child(even) {
		width:100%;
		padding:0;
		padding-bottom:60px;
		background:white;
	}
	#nyheter .halfblock:nth-child(odd) * {
		margin:0 auto;
	}
}

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

	.block-list, .halfblock-wrap {
		flex-direction: column;
		background:white;
	}
	
	.block-item, .halfblock {
		width:100%!important;
	}
	
	.halfblock {
		padding:60px 0px;
		min-height:350px;
	}
	
	.halfblock h2, .halfblock h3, .halfblock p, .halfblock .btnwrap {
		padding-right:20px;
		padding-left:20px;
	}
	

}

/* End of Block-List CSS */

#offert {
	background-image:url('images/lanbygg-bg-dark.jpg');
	background-position: top top;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.offert {
	text-align: center;
}

.offert h2 {
	text-transform: uppercase;
	color:#fff;
}

.offert p {
	color:#fff;
	margin-bottom:40px;
}

.offert .btn {
	background:#ff4024;
	max-width:100%;
	width:auto;
	color:#fff;
	border:3px solid #ff4024;
	font-size:2rem;
	margin-top:10px;
	margin-bottom:10px;
	cursor:pointer;
}

.offert .btn:hover {
	background:transparent;
	padding:20px 50px;
	margin:0;
}


/* Parallax
========================================================================== */
#scroll {
	background-image: url('/resources/backgrounds/flower-16.jpg');
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 500px;
}




/* Tjänster
========================================================================== */


#collage {
	background:#fff;
	position: relative;
}

#treatments h2, #courses h2 {
	padding:120px 0;
	padding-bottom:30px;
	font-size:3.5rem;
	text-transform: uppercase;
	color:#fff;
	text-align: center;
}

#treatments p, #courses p {
	padding-bottom:60px;
	color:#fff;
	width:100%;
	max-width:800px;
	margin:auto;
	text-align: center;	
}

.treatment-wrap {
	display:flex;
	flex-direction:row;
	flex-wrap: wrap;
	width:100%;
}

.treatment {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items:center;
	justify-content: flex-end;
	width:25%;
	height:400px;
	overflow: hidden;
	position: relative;
	background:#222;
}

.treatment h3 {
	margin-bottom:15px;
	font-size:3.5rem;
	text-shadow:0 1px 8px rgba(0,0,0,66);
	text-transform: uppercase;
}

.treatment a {
	position: relative;
	bottom:40px;
	transition:ease-out 0.2s;
}

.treatment:hover a {
	bottom:40px;
}

.treatment a:hover {
	color:#fff;
}

.treatment:hover div {
	opacity: 0.6;
}

.treatment h3 {
	position: absolute;
	color:#fff;
	top:40px;
	line-height: 100%;
	z-index: 3;
}

.treatment div {
	position: absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-size:cover;
	opacity:1;
	transition:all ease .5s;
}


/*
@media only screen and (max-width:1400px){
	.treatment {
		width:calc(100% / 3);
	}
}

@media only screen and (max-width:980px){
	.treatment {
		width:50%;
	}
}

@media only screen and (max-width:640px){
	.treatment {
		width:100%;
	}
}
*/

	#contact-cta h3, #contact-cta p {
		padding: 0 20px;
		text-align:center;
	}
	#contact-cta h3 {
		padding-bottom:35px;
	}



/* News
========================================================================== */
.home-news-highlight {
	margin:auto;
}

.home-news-highlight .news-card,
.home-news-highlight .article {
	padding:40px;
	border-radius: 10px;
	overflow: hidden;
	max-width:500px;
	background-color: #fff;
	margin:auto;
}

.home-news-highlight .news-card:not(:first-of-type),
.home-news-highlight .article:not(:first-of-type) {
	display:none;
}

.home-news-highlight .news-card .content,
.home-news-highlight .article .content{
	max-height:105px;
	overflow: hidden;
	margin-bottom:10px;
}

.home-news-highlight .elipsis {
	text-align: center;
	display:block;
	margin:auto;
	margin-bottom:10px;
	letter-spacing: 0.25rem;
}

.home-news-highlight h3 {
/* 	color:#7491b3; */
	font-size: 2.5rem;
}

.home-news-highlight .date i{
	margin-right:5px;
}

.home-news-highlight .date {
	color:#7491b3;
	font-weight: 400;
	font-size:1.5rem;
	margin:10px 0;
}

.home-news-highlight h3 {
	padding-bottom:0;
}

.home-news-highlight p {
	line-height: 150%;
}

.home-news-highlight .article-image {
	width: 100%;
    height: 350px;
    margin-bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #d7d7d7;
}

.article-video {
	width: 100% !important;
    height: 350px !important;
    margin-bottom: 20px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: white !important;
}

.news-video {
	max-width: 100%;
	height: auto;
}

.home-news-highlight .article-image.cover {
    background-size: cover;
}

#nyheter .halfblock .btnwrap{
	padding-top: 0px !important;
	padding-bottom: 10px !important;  
	justify-content: left;
}

/* ==========================================================================
Undersidor - gäller alla undersidor 
========================================================================== */
.SubPage .top-section {
	
}

.SubPage .top-section .page-title-wrap {
	display: none;
}

.SubPage .section-block .col-1 {
	padding-right: 3%;
}

.SubPage .section-block .col-2 {
	padding-left: 3%;
}

/* ==========================================================================
Vårt arbete undersida 
========================================================================== */

.SubPage .service-wrap {
	display:flex;
	flex-direction: column;
}

.SubPage .service {
	display:flex;
	flex-direction: row;
	align-items: center;
	padding:20px 0;
}

.SubPage .service,
.border {
	border-top:1px solid #ddd;
}

.SubPage .service-img {
	width:450px;
	height:400px;
	margin:20px;
	background-size: cover;
	background-position: center center;
	border-radius:5px;
}

.SubPage .service-content {
	width:calc(100% - 570px);
	padding:60px;
	display:flex;
	justify-content: center;
	flex-direction: column;
}

@media only screen and (max-width:980px) {
	
	.SubPage .service {
		flex-direction: column;
	}
	
	.SubPage .service-img {
		width:100%;
		height:300px;
	}
	
	.SubPage .service-content {
		padding:30px;
		width:calc(100% - 60px);
	}
}

@media only screen and (max-width:480px) {
	.SubPage .service-content {
		padding:15px 0;
		width:100%;
	}
	
	.SubPage .service-content h3 {
		font-size:3.5rem;
		line-height: 100%;
	}
}

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

	.SubPage .service-content {
		padding:5px;
		width:calc(100% - 10px);
	}
	
	.SubPage .service-content h3 {
		font-size:3rem;
	}
}

.service.biotopkartering .service-img{
	background-image:url(/assets/images/services/biotopkartering.jpg);
	background-position:left center;
}

.service.biotoprest .service-img{
	background-image:url(/assets/images/services/biotoprest.jpg);
	background-position:45% center;
}

.service.bottenfauna .service-img{
	background-image:url(/assets/images/services/bottenfauna.jpg);
	background-position:10% center;
}

.service.dammutrivningar .service-img{
	background-image:url(/assets/images/services/dammutr-1000.jpg);
	background-position:10% center;
}

/*
.service.forstudier .service-img{
	background-image:url(/assets/images/services/forstudie.png);
	background-size:contain;
	background-repeat: no-repeat;
}
*/

.service.fiskvagar .service-img{
	background-image:url(/assets/images/services/fiskvagar.jpg);
}

.service.musselinventering .service-img{
	background-image:url(/assets/images/services/musselinventering.jpg);
}

.service.provfisken .service-img{
	background-image:url(/assets/images/services/provfiske.jpg);
}

.service.recipient .service-img{
	background-image:url(/assets/images/services/recipientprovtagning.jpg);
}

.service.restaureringsplaner .service-img{
	background-image:url(/assets/images/services/restaureringsplaner.jpg);
}

.service.vagpassager .service-img{
	background-image:url(/assets/images/services/vagpassager.jpg);
}


/* ==========================================================================
Aktuellt undersida
========================================================================== */

#news-page {
	overflow: hidden;
}

.news .news-card,
.news .article {
	display:flex;
	flex-direction: row;
	padding:20px 0;
}

.news .news-card .article-image,
.news .article .article-image {
	width:450px;
	height:400px;
	margin:20px;
	background-size: cover;
	background-position: center center;
	border-radius:5px;
}

.news .news-card > div:last-of-type,
.news .article > div:last-of-type {
	width:calc(100% - 610px);
	padding:60px;
}

.news .news-card .content,
.news .article .content {
	height:105px;
	overflow: hidden;
	margin-bottom:10px;

}
.news-card .article-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .content img,
.article .content img {
	border-radius: 5px;
	transition:opacity ease-out .2s;
	display:block;
	margin:auto;
	margin-top:50px;
}

.news-card .content img:hover,
.article .content img:hover {
	opacity:0.8;
}

/* .article .content a:first-of-type img {
	max-width:600px!important;
} */

.news-card .description,
.article .description {
	text-align: center;
	margin-top:10px;
	margin-bottom:20px;
}

.elipsis {
	text-align: center;
	display:block;
	margin:auto;
	letter-spacing: 0.25rem;
}

.news-card .btn,
.article .btn {
	cursor:pointer;
	margin-top:20px!important;
	text-decoration: none;
}

.elipsis.display-none {
	display:none;
}

.news h3 {
/* 	color:#7491b3; */
	font-size: 2.5rem;
	padding-bottom:0;
}

.news .date i{
	margin-right:5px;
}

.news .date {
	color:#7491b3;
	font-weight: 400;
	font-size:1.5rem;
	margin:10px 0;
}

.news-card .content p,
.article .content p {
	line-height: 150%;
}

.news .news-card,
.news .article {
	border-top:1px solid #ddd;
}

.previous-posts {
	margin-top:3rem;
	padding-top:3rem;
	border-top:1px solid #ddd;
}

.previous-posts h2 {
	margin:3rem 0;
	margin-bottom:6rem;
}

.previous-posts h4 {
	color:#ccc;
}

.previous-posts p {
	text-align: center;
	color:#ccc;
	text-transform: uppercase;
	font-size:1.4rem;
	letter-spacing: 0.1rem;
	font-weight:400;
}

.previous-posts p:after {
	content:"";
	display:block;
	margin:3rem auto;
	height:1px;
	width:10rem;
	background:#ddd;
}

.news-top-img{
	max-width: 60rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.086);
	margin: auto;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

@media only screen and (max-width:1100px) {
	.news .news-card,
	.news .article {
		flex-direction: column;
	}
	
	.news .news-card .article-image,
	.news .article .article-image {
		height:250px;
	}
	
	.news .news-card .article-image, 
	.news .news-card > div:last-of-type,
	.news .article .article-image, 
	.news .article > div:last-of-type {
		width:100%;
		margin:0;
		padding:40px 0px;
	}
}

@media only screen and (max-width:800px) {
	.previous-posts p {
		text-align: left;
	}
	.previous-posts p:after {
		margin-left:0;
	}
}

/* ==========================================================================
Samarbete / Kontakt undersida
========================================================================== */

.references {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.references a {
	margin:30px;
	width:calc(25% - 60px);
	min-height: 12rem;
	display:flex;
	align-items: center;
	justify-content: center;
	transition: ease .2s;
}

.references a:hover {
	transform: scale(1.1);
}

.references img {
	height:auto;
}

@media only screen and (max-width:980px) {
	.references a {
		width:calc(100% / 3 - 60px);
	}
}

@media only screen and (max-width:675px) {
	.references a {
		width:calc(100% / 2 - 60px);
	}
}

@media only screen and (max-width:480px) {
	.references a {
		margin:30px 45px;
		width:calc(100% - 90px);
	}	
}




/*
.sub-kontakt .subpage-topsection {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url('/resources/backgrounds/flower-16.jpg');
	height: 500px;
}
*/

#contact-us {
	overflow: hidden;
	background:#fff;
	position: relative;
}

#contact-us .section-block-wrapper {
	display:flex;
	flex-direction: row;
	height:100%;
}

#contact-us .col-0 .col-wrapper,
#contact-us .col-0 .block-container,
#contact-us .col-0 .block-object {
	height: 100%;
}

#contact-us .col-0 iframe {
	overflow: hidden;
}

#contact-us .col-0, #contact-us .col-1 {
	width:50%;
	padding:0;
}

#contact-us .col-1 {
	display:flex;
	padding:90px;
	justify-content: center;
	align-items: center;
}

#contact-us .col-1 .col-wrapper{
	width:100%;
}

.ContactForm {
	margin-top:10px;
}

.ContactForm p{
	display:none;
}

.ContactForm div:not(last-of-type) {
	margin-bottom:20px;
}

.ContactForm input::placeholder, .ContactForm textarea::placeholder {
	opacity:0.5;
}

.Diary .DiaryCommentForm input, .Diary .DiaryCommentForm textarea, .Guestbook .GuestbookForm input.textname, .Guestbook .GuestbookForm textarea.textmessage, .GalleryCommentFormControl textarea, .Contact .ContactForm input.text, .Contact .ContactForm textarea.textmessage {
	width:100%!important;
	max-width:80rem!important;
	margin:auto;
	display:block;
	font-size:1.5rem;
	padding:22px 16px!important;
	background:#f7f7f7!important;
	border:none!important;
}

.LayoutPage .Contact .ContactForm div.ContactFormMessage {
	position: static;
}

.LayoutPage .Contact .ContactForm div {
	width:100%;
}

.LayoutPage .Contact .ContactForm textarea.textmessage {
	height:100px;
	padding:11px 16px!important;	
}

.LayoutPage .Contact .ContactForm input.ContactSubmit {
	padding:20px 30px;
}

.Diary .DiaryCommentForm input[type="submit"], .Guestbook .GuestbookForm input[type="submit"], .GalleryCommentFormControl input[type="button"], .Contact .ContactForm input[type="submit"] {
    width:fit-content;
    max-width:1000px;
    box-sizing: border-box;
    padding: 10px 30px;
   	background-color: #7491b3;
	border:2px solid #7491b3;
   	color: #fff;
   	border-radius: 100px;	
    text-align: center;
    text-transform: none;
    font-weight:400;
/*  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.15); */
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    display: block;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: none !important;
    font-size: 1.5rem;
    margin:auto;

}

.Diary .DiaryCommentForm input[type="submit"], .Guestbook .GuestbookForm input[type="submit"], .GalleryCommentFormControl input[type="button"], .Contact .ContactForm input[type="submit"]:hover {
	background-color: transparent;
	color: #7491b3;
	border:2px solid #a7ddf8;
	text-decoration: none;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	background:#0a3167;
	padding: 0;
	box-sizing: border-box;
}

.footer .container {
	max-width: none;
	box-sizing: border-box;
	margin: 0 auto;
	padding:0;
}

.footer .footer-top {
    max-width: 1200px;
	min-height: 250px;
	padding: 81px 20px 50px 20px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
}

.footer-col-top {
	box-sizing: border-box;
}

.footer ul {
	margin: 0;
	list-style: none;
	padding-left: 0;
}

.footer .container .footer-wrapper {
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

.footer .footer-bottom {
	border-top: 2px solid rgba(255,255,255,0.25);
	text-align: center;
	margin: 0 auto;
	width: 100%;
	padding: 15px;
	margin: 0 auto;
	box-sizing: border-box;
	max-width: 1200px;
    min-height: 100px;
  padding: 20px 20px;
    box-sizing: border-box;	
/*         font-size: .75rem; */
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    line-height: 1rem;
}

.footer-col-bottom {
    width:calc(100% / 3);
    box-sizing: border-box;
}

/*
.footer-col-bottom:first-child p {
	display: inline-block;
}

.footer-col-bottom:first-child img {
	margin-right: 20px;
}
*/

.footer-col-bottom:last-child p {
	text-align: right !important;
	font-size: 1.3rem;
}

.footer .container .fab {
	margin: 0;
}

.footer img {
	max-height: 11rem;
}

.footer .social-icons {
	padding-top: 10px;
}

.footer p, 
.footer a,
.footer li {
    font-size: 15px;
    padding: 0;
    font-weight: 300; 
    line-height: 1.6em;
    padding-bottom: 4px;
    color: #dfdfdf;
    text-decoration: none !important;
}


.footer h4 {
	font-size: 1.6rem;
	text-transform: uppercase;
	padding-bottom: 15px;
	color: #a7ddf8;
	font-weight: 600;
	padding-top: 0;
	letter-spacing: 1px;
}

.footer em {
	color: #a7ddf8;
	margin-right:0.5rem;
}

.footer .footer-top * {
	text-align: left !important;
}

.footer a {
	display: inline-block;
}

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

.footer .container .fab:hover {
	color: #a7ddf8 !important;
}

.footer .container .fab {
	vertical-align: sub;
	color:#fff !important;
}

@media only screen and (max-width:1100px) {
	.footer .footer-top,
	.footer .footer-bottom {
	    max-width: 900px;
	}
	
	.footer-col-top {
    	width: 25%;
    }
}

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

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

@media only screen and (max-width:820px) {
	
	.footer .footer-bottom {
		min-height: auto;
	}
	
	.footer-col-top {
		width: 100%;
		margin-bottom: 3rem;
		
	}
	
	.footer-col-bottom {
		width: 100%;
		margin: 10px 0; 
	}
	
	.footer .footer-top *,
	.footer-col-bottom:last-child p {
		text-align: center !important;
	}
	
	.footer h4 {
		padding-bottom: 10px;
	}
}

/* ==========================================================================
Media queries
========================================================================== */

/* Mobile devices */
@media only screen and (hover:none){

}




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

@media only screen and (max-width: 1366px) {
	body.isMobile #scroll {
		background-attachment: scroll !important;
	}
}

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

}

@media only screen and (max-width: 980px) {
	/* 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: 30px;
	    height: 30px;
	    right: 30px;
	    top: 20px;
*/
	}
	
	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: 60px;
		width: 100%;
	}
	
	nav.mainmenu li a {
		font-size:1.7rem;
		border-bottom: none;
		margin:20px 0px;
		color: #222 !important;
		padding-left: 10px;
	}
	
	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; 
	}
	
	.contact-wrap {
		position: static;
		background:#252525;
		padding-bottom:60px;
	}

	.contact-info {
		-webkit-transform:translate(0px,0px);
		transform:translate(0px,0px);
		background:white;
		width:90%;
		margin:0;
		margin-left:5%;
		margin-top:-20px;
		box-shadow:20px 20px 20px rgba(0,0,0,0.15);
	}
	
	.partners-wrap img {
		width:calc(25% - 20px);
	}


	
}

@media only screen and (max-width: 768px) {
		.partners-wrap img {
		width:calc(33.33% - 20px);
	}
}


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

	
}

@media only screen and (max-width: 480px) {
	.LayoutPage .section-block,
	.SubPage .LayoutPage .section-block {
	    padding: 60px 20px !important;
	}

	
	.page-title-wrap h1 {
    	/* font-size: 2.0rem; */
    }
    
    .page-title-wrap h2 {
    	font-size: 5rem;
    	line-height: 5rem;
    }
	
	.page-title-wrap .btn {
		display: block;
/*
		margin: 0 auto;
		max-width: 230px;
*/
		margin-bottom: 10px;
	}
	
	.partners-wrap img {
		width:calc(50% - 20px);
	}
	

}

/* Select only for IE11 */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .LayoutPage .Contact .ContactForm p {
		display: block;
	}
	#contact-us .col-1 .ContactForm input {
		padding:0;
	}
}


