/* Erel & Styr AB */

@import url('https://fonts.googleapis.com/css?family=Roboto:200,400,700,900|Heebo:600,800&display=swap');

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
body {
	background-position: center bottom;
}

body.isMobile .body-background {
	background-position: center bottom;
}

@media only screen and (max-width: 480px) {
	body.isMobile .body-background {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		background-position: center center;
		background-image: url('/assets/images/erelostyr-bg-mobile.jpg');
	}

	body {
		background-position: center center;
		background-image: url('/assets/images/erelostyr-bg-mobile.jpg');
	}
}

.LayoutPage .section-block,
.SubPage .LayoutPage .section-block {
	padding: 120px 30px;
}

.LayoutPage .block-object img {
	width: 100%;
}

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

/* 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 only screen and (max-width: 480px) {
	.fullscreen-bg-video video {
		display: none;
	}
}

/* ==========================================================================
Scrollbar
========================================================================== */
/* width */
::-webkit-scrollbar {
	width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.24);
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: rgba(222, 15, 15, 0.79);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: #e31e27;
}

/* ==========================================================================
Knappar
========================================================================== */
.btn {
	max-width: 350px;
	width: 100%;
	font-size: 16px;
	box-sizing: border-box;
	padding: 12px 35px;
	background-color: #ffffff;
	border: 2px solid #fff;
	color: #777;
	border-radius: 0;
	text-align: center;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 1.5px;
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
	box-shadow: none;
}

.btn a {
	padding: 0;
}

.btn:hover {
	background-color: transparent;
	border: 2px solid #fff;
	color: #fff;
}

.btn-info {
	background-color: transparent;
	border: 2px solid #e31e28;
	color: #fff;
}

.btn-info:hover {
	background-color: #e31e28;
	border: 2px solid #e31e28;
	color: #fff;
}

.btn-black {
	background-color: transparent;
	border: 2px solid #000;
	color: #000;
}

.btn-black:hover {
	background-color: #000;
	border: 2px solid #000;
	color: #fff;
}

.btn-wrapper {
	margin-top: 25px;
	text-align: center;
}

@media only screen and (max-width: 696px) {
	.btn-wrapper {
		text-align: center;
	}

	.btn {
		display: block;
		max-width: 360px;
		margin: 15px auto;
	}
}

/* ==========================================================================
Text och typsnitt
========================================================================== */
p,
a,
li {
	line-height: 1.8em;
	font-size: 17px;
	color: #000;
	font-family: "Roboto", sans-serif;
	font-weight: 200;
	text-decoration: none;
}

p {
	padding: 0 0 0.8em 0;
}

a.link {
	text-decoration: underline;
	font-weight: 500;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	letter-spacing: 0;
	color: #333;
	line-height: 1.3em;
	text-transform: none;
}

.section-title {
	font-size: 40px;
	padding-bottom: 25px;
	color: #000;
}

.text-label {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.small-title {
	font-size: 29px;
}

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

hr {
	max-width: 100%;
}

.smalltext-type {
	max-width: 600px;
}

.normaltext-type {
	max-width: 700px;
	margin: 0;
	text-align: left;
}

.bullet-list li {
	font-family: 'Fira Sans Condensed', sans-serif;
	font-weight: 300;
	line-height: 1.6em;
	padding-bottom: 10px;
	list-style: none;
}

.bullet-list ul li::before {
	content: "\f101";
	display: inline-block;
	width: 1.8em;
	margin-left: -1.8em;
	color: #e32427;
	font-family: 'Font Awesome 5 Pro';
	font-weight: 700;
}

@media only screen and (max-width: 1366px) {
	h2 {
		font-size: 36px;
	}
}

/* ==========================================================================
Färger
========================================================================== */
.gray .section-block {
	background-color: #f0f0f0;
}

.accent .section-block * {
	color: #fff;
}

/* ==========================================================================
Split
========================================================================== */
.split-wrapper {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

.split-content {
	width: 60%;
	padding: 100px 50px;
	text-align: left;
	box-sizing: border-box;
}

.split-image {
	width: 40%;
	position: relative;
	overflow: hidden;
}

.split-image img {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: unset !important;
}

@supports (object-fit: cover) {
	.split-image img {
		position: relative;
		transform: none;
		top: unset;
		left: unset;
		object-fit: cover;
		object-position: center;
		height: 100% !important;
		width: 100% !important;
	}
}

@media only screen and (max-width:980px) {
	.split-image {
		width: 100%;
	}

	.split-content {
		width: 100%;
		padding: 100px 20px;
	}
}

/* ==========================================================================
Header / Navigation
========================================================================== */
header .container {
	max-width: 1600px;
}

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

header .header-logo {
	width: 200pxs;
	padding: 16px 10px;
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
}

header.scrolled {
	background-color: #fff;
}

header.scrolled nav.mainmenu a {
	color: #8d8d8d;
}

nav.mainmenu {
	text-align: right;
}

nav.mainmenu .nav-btn {
	border: 1px solid #fff;
	padding: 10px;
	box-sizing: border-box;
}

nav.mainmenu a {
	font-weight: 300;
	font-size: 16px;
	color: #fff;
	text-transform: none;
	padding: 0 10px;
}

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

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

nav.mainmenu li:before,
nav.mainmenu li:hover:before {
	-webkit-transform: scaleY(1);
	-ms-transform: scaleY(1);
	-moz-transform: scaleY(1);
	visibility: visible;
	transform: scaleY(1);
	z-index: -1;
}

nav.mainmenu li:before {
	background-color: #ededed;
	visibility: hidden;
	position: absolute;
	content: "";
	height: 100%;
	bottom: 0;
	left: 0;
	width: 100%;
	-webkit-transform: scaleY(0);
	-ms-transform: scaleY(0);
	-moz-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-ms-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

header .mobile-menu span {
	display: none;
}

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

@media only screen and (max-width: 980px) {
	.openmenu {
		background-image: none;
		z-index: 100;
	}

	header .header-logo {
		padding: 18px 15px;
	}

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

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


	nav.mainmenu {
		text-align: center;
		background-color: #fff;
		box-shadow: none;
	}

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

	nav.mainmenu .Padding {
		border-top: none !important;
	}

	nav.mainmenu li a {
		font-size: 22px;
		font-weight: 300;
		border-bottom: none;
		margin: 37px 0px;
		color: #000 !important;
		padding-left: 40px;
	}

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

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

	header .header-logo span {
		display: block;
	}
}

/* ==========================================================================
Top-section
========================================================================== */
.top-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	height: auto;
	padding: 8rem 0;
	background-color: rgba(0, 0, 0, 0.33);
}

.page-title-wrap {
	position: static;
	transform: unset;
	width: 100%;
	text-align: center;
	max-width: 750px;
	background-color: transparent;
}

.page-title-wrap h1 {
	font-size: 25px;
	color: #fff;
	letter-spacing: 10px;
	text-transform: uppercase;
	font-weight: 400;
	text-shadow: none;
	padding-bottom: 15px;
}

.page-title-wrap h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 40px;
	color: #fff;
	line-height: 1.5em;
	text-transform: none;
	padding-bottom: 30px;
}

.page-title-wrap .btn {
	margin: 10px;
}

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

	.page-title-wrap h1 {
		font-size: 25px;
	}
}

@media only screen and (max-width: 696px) {
	.page-title-wrap .btn {
		display: block;
		max-width: 360px;
		margin: 15px auto;
	}

	.page-title-wrap h2 {
		font-family: halyard-display, sans-serif;
		font-size: 29px;
	}
}

@media only screen and (max-width: 480px) {
	.top-section {
		background-color: rgba(0, 0, 0, 0.35);
	}

	.page-title-wrap h2 {
		font-size: 39px;
		line-height: 1.2em;
	}
}

/* ==========================================================================
Startsida
========================================================================== */
.EditMode .split-image .col-block {
	overflow: visible !important;
}

.split-image .col-block {
	position: relative;
	max-height: none;
	overflow: hidden;
	padding: 0 !important;
}

.split-image .col-block .text-part {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 82%;
	height: auto;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	text-align: left;
}

/* Om oss
========================================================================== */
#om-oss {
	background-color: rgba(253, 253, 253, 1)
}

#om-oss .section-title {
	max-width: 700px;
	margin: 0 auto;
	padding-bottom: 30px;
	color: #e22429;
}

#om-oss p {
	max-width: 700px;
	margin: 0 auto;
}

@media only screen and (max-width: 696px) {
	#om-oss .section-title {
		font-size: 30px;
	}
}

/* Certifieringar
========================================================================== */
#certifieringar .section-block .section-block-wrapper {
	max-width: none;
}

#certifieringar .section-block {
	padding: 40px 20px;
}

#certifieringar {
	background: rgba(0, 0, 0, 0.732);
}

.certificate-wrapper {
	width: 31.333%;
	margin: 1%;
	position: relative;
	float: left;
	padding: 40px 30px;
	text-align: center;
	box-sizing: border-box;
	background: transparent;
}

.certificate-wrapper p {
	color: #fff;
	text-align: left;
}

/* 
.certificate-wrapper h4 {
	font-size: 23px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #96d78a;
	text-align: left;
	line-height: 1.6em;
} */

.certificate-wrapper .far {
	color: #96d78a;
}

.certificate-wrapper:nth-child(1) .text-label,
.certificate-wrapper:nth-child(1) .far {
	color: #40b7db;
}

.certificate-wrapper:nth-child(2) .text-label,
.certificate-wrapper:nth-child(2) .far {
	color: #dcca40;
}

.certificate-wrapper:nth-child(3) .text-label,
.certificate-wrapper:nth-child(3) .far {
	color: #e31e27;
}

@media only screen and (max-width: 1024px) {
	.certificate-wrapper {
		width: 48%;
	}
}

@media only screen and (max-width: 696px) {
	.certificate-wrapper {
		width: 100%;
	}
}

/* Tjanster
========================================================================== */
#tjanster .section-block .section-block-wrapper {
	max-width: 1300px;
}

#tjanster {
	background-color: #f1f1f1;
}

#tjanster h2 {
	color: #000;
}

.services {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.services-container {
	position: relative;
	width: 29%;
	margin: 2%;
	padding: 40px 30px;
	text-align: center;
	box-sizing: border-box;
	background: #fff;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.13);
}

.services-container:nth-child(2) {
	background: #f8f8f8 !important;
}

.services-container:hover {
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.services-container .text-label {
	color: #e31e27;
}

.services-container p,
.services-container li {
	color: #000;
	text-align: left;
	font-size: 16px;
}

.services-container .service-icon img {
	height: 200px;
	width: auto;
	border-radius: 30%;
	padding-bottom: 20px;
}

.services-container .fab,
.services-container .fas,
.services-container .fal,
.services-container .fad {
	font-size: 70px;
	padding: 15px 15px;
	margin-right: 10px;
	border-radius: 3px;
	background-color: transparent;
	color: #e31e27;
	padding-bottom: 40px;
}

.fad:before {
	margin-left: 14px;
}

.services-container .link-bottom {
	display: block;
	position: absolute;
	bottom: 40px;
	left: 0;
	text-align: center;
	width: 100%;
	color: #663399;
}

.services-container .link-bottom a {
	color: #663399;
}

.read-more {
	cursor: pointer !important;
}

#services-1-more,
#services-2-more,
#services-3-more,
#services-4-more,
#services-5-more,
#services-6-more,
#services-7-more {
	display: none;
}

@media only screen and (max-width: 768px) {
	.services-container {
		width: 100%;
		margin: 0;
		margin-bottom: 30px;
	}
}

/* Divider
========================================================================== */
.img-divider {
	background-image: url('/assets/images/erelostyr-bg-image.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	height: 380px;
}

/* Medarbetare
========================================================================== */
.section-medarbetare .section-block .section-block-wrapper {
	max-width: 1300px;
}

#medarbetare {
	background-color: #e32a2f;
}

.section-medarbetare .section-block {
	padding: 70px 20px;
}

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

.personal-thumbs {
	width: 23%;
	margin: 1%;
	padding: 40px 30px;
	box-sizing: border-box;
	margin-bottom: 15px;
	background: #fff;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
	text-align: left;
	position: relative;
}

.personal-thumbs .name {
	color: #000000;
	font-weight: 500;
	line-height: 1.4em;
	padding-bottom: 5px;
	font-size: 23px;
	text-align: left;
}

.personal-thumbs .title {
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6em;
	color: #929292;
	padding-bottom: 25px;
}

.personal-thumbs .fas {
	color: #e31e28;
	padding-right: 5px;
}

.personal-thumbs p,
.personal-thumbs a {
	display: block;
	font-size: 16px;
	line-height: 1.3em;
	padding-bottom: 10px;
	color: #000;
	text-align: left;
}

@media only screen and (max-width: 1100px) {
	.personal-thumbs {
		width: 31.333%;
	}
}

@media only screen and (max-width: 1024px) {
	.personal-thumbs {
		width: 48%;
	}
}

@media only screen and (max-width: 696px) {
	.personal-thumbs {
		width: 100%;
	}
}

/* Kontaktformular
========================================================================== */
.kontaktformular .section-block .section-block-wrapper {
	max-width: 1300px;
}

.kontaktformular .section-block .col-0 {
	width: 40%;
	padding-right: 2%;
}

.kontaktformular .section-block .col-1 {
	width: 60%;
	padding-left: 2%;
}

.kontaktformular .section-block h2 {
	color: #e31e28;
	text-align: left;
}

.kontaktformular .heading-type p {
	text-align: center;
}

.kontaktformular .section-block .Contact .ContactForm div.ContactFormMessage p,
.kontaktformular .section-block .Contact .ContactForm .ContactFormEmail p,
.kontaktformular .section-block .Contact .ContactForm .ContactFormField p,
.kontaktformular .section-block .Contact .ContactForm .ContactFormName p {
	color: #000;
	font-size: 19px;
}

.kontaktformular .section-block .Contact .ContactForm input.text,
.kontaktformular .section-block .Contact .ContactForm textarea.textmessage {
	background-color: #fff;
	border: 1px solid #bebebe !important;
}

.kontaktformular .section-block .Contact .ContactForm input.ContactSubmit {
	padding: 12px 40px;
	background: #e31e28;
	border: 2px solid #e31e28;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #fff;
	font-size: 16px;
	width: 49% !important;
}

.kontaktformular .section-block .Contact .ContactForm input.ContactSubmit:hover {
	background: transparent;
	color: #e31e28;
}

.kontaktformular .section-block .Contact .ContactForm textarea.textmessage {
	height: 273px;
}

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

	.kontaktformular .section-block .col-1,
	.kontaktformular .section-block .col-0 {
		width: 100%;
		padding: 2%;
	}

	.kontaktformular .section-block .Contact .ContactForm div.ContactFormMessage {
		position: static;
	}

	.kontaktformular .section-block .Contact .ContactForm div {
		width: 100%;
	}

	.kontaktformular .section-block .Contact .ContactForm input.ContactSubmit {
		width: 100% !important;
	}

}

@media only screen and (max-width: 480px) {
	.kontaktformular .section-block .Contact .ContactForm input.ContactSubmit {
		width: 100% !important;
	}
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	background: #000;
	padding: 40px 20px !important;
}

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

.footer-col-wrapper {
	min-height: 200px;
	max-width: 1100px;
	margin: 0 auto;
}

.footer h5 {
	font-weight: 400;
	color: #fff;
	font-size: 19px;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 12px;
	padding-top: 15px;
	margin-bottom: 0;
}

.footer h6 {
	font-size: 16px;
	padding-top: 10px;
}

.footer p,
.footer a {
	text-decoration: none;
	line-height: 1.5em;
	font-size: 15px;
	padding-bottom: 12px;
	text-align: left;
	color: #fff;
	box-sizing: border-box;
}

.footer .far,
.footer .fas {
	color: #e31e27;
}

.footer a:hover {
	color: #d9230b;
}

.footer-col-bottom p {
	padding: 0;
	font-size: 15px;
	color: #fff;
	text-align: center;
}

.footer-col-header {
	padding-top: 0 !important;
}

.footer-col {
	width: 25%;
	margin-right: 3%;
	float: left;
	padding-top: 20px;
}

.footer-col:nth-child(3),
.footer-col:nth-child(4) {
	width: 15%;
}

.footer-col:last-child {
	float: right;
}

.footer-col-social {
	height: 100px;
	max-width: 600px;
	display: block;
	margin: 0 auto;
	padding-bottom: 0px;
}

.footer-col-social p {
	text-align: center !important;
}
/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
	justify-content: center;
	margin: auto;
}

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

@media only screen and (max-width: 1100px) {
	.footer {
		padding: 40px 40px !important;
	}

	.footer-col {
		width: 100% !important;
		margin: 0 auto !important;
		float: none !important;
		text-align: center;
	}

	.footer-col h5,
	.footer-col p,
	.footer-col a {
		text-align: center !important;
	}

	.footer-col-wrapper {
		min-height: 280px;
		max-width: 700px;
	}
}