/* Aktiebolaget J E Bergström Mekaniska Verkstad */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');
@import url('https://fonts.googleapis.com/css?family=Lexend+Deca|Martel+Sans:200,400,700,900&display=swap');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('/assets/lightbox2/css/lightbox.min.css');

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

.fs-0 .section-block {
	font-size: 0;
}

body.isMobile .body-background {
	background-position: center center;
	background-size: cover;
	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%);
}

.LayoutPage .section-block .col-1 {
	padding-right: 2%;
}

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

/* Modal för integritetspolity i footern */
.modal {
	max-width: 700px !important;
	max-height: 600px !important;
	vertical-align: middle !important;
	overflow: scroll;
	padding: 55px 30px;
}

.blocker {
	z-index: 100;
}

.modal h4 {
	color: #3285d9;
	font-size: 23px;
	font-style: normal;
	padding-bottom: 20px;
	padding-top: 15px;
	max-width: 440px;
}

.modal h5 {
	margin-bottom: 3px;
	color: #000;
	font-size: 18px;
}

.modal p,
.modal li {
	font-size: 15px;
}

.modal a.close-modal {
	top: 17px !important;
	right: 17px !important;
}

.LayoutPage .section-block,
.SubPage .LayoutPage .section-block {
	padding: 100px 20px;
}

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

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

.btn {
	max-width: 200px;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 25px;
	background-color: #3385d9;
	border: 2px solid #3385d9;
	color: #fff;
	border-radius: 0;
	text-align: center;
	text-transform: none;
	font-weight: 300;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

.btn .fad:before {
	margin-left: 4px;
}

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

.btn-red {
	background-color: #991402;
	border: 2px solid #991402;
	color: #fff;
}

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

.gray .section-block {
	background-color: #6a6e72;
}

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

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

/* ==========================================================================
Text och typsnitt
========================================================================== */
p,
a,
li {
	line-height: 1.8em;
	font-size: 17.5px;
	color: #111;
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	text-decoration: none;
}

p {
	padding: 0 0 0.8em 0;
}

p.pb-0 {
	padding-bottom: 0;
}

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

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

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

h2 {
	font-size: 34px;
	padding-bottom: 25px;
	color: #ae1902;
}

h3 {
	font-size: 45px;
	padding-bottom: 25px;
}

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

hr {
	max-width: 100%;
}

.title-hr {
	border: 0.8px solid #c7c7c7;
	margin-bottom: 20px;
	width: 600px;
	max-width: 100%;
}

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

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

.text-primary {
	color: #3285d9;
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .LayoutPage .section-auto-modal {
	display: none;
	z-index: 9;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0, .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
	position: fixed;
	top: 50%;
	left: 50%;
	width: calc(100% - 40px);
	max-width: 750px;
	max-height: 75vh;
	padding: 40px;
	border-radius: 3px;
	overflow: auto;
	background: #FFF;
	transform: translate(-50%, -50%);
}

.section-auto-modal .close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 30px;
	cursor: pointer;
}

.section-auto-modal h2 {
	font-size: 25px;
	border-bottom: 1px solid #eaeaea;
	margin-bottom: 10px;
}

@media only screen and (max-width: 450px) {
	body:not(.EditMode) .section-auto-modal .section-block {
		padding: 3rem 2rem;
	}
}

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

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: 240px;
	opacity: 0;
	padding: 7px 0;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

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

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

header.scrolled nav.mainmenu li a {
	color: #4f616b;
}

nav.mainmenu ul.TemplateMenu>li {
	line-height: 75px;
	height: 75px;
}

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: #3385d9 !important;
}

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

	.openmenu {
		z-index: 100;
	}

	nav.mainmenu {
		text-align: center;
		background-color: #fff;
		box-shadow: 4px 0px 20px rgba(0, 0, 0, 0.18);
	}

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

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

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

	header {
		background-color: #fff;
	}

	header .header-logo {
		opacity: 1.0 !important;
	}

}


/* ==========================================================================
Top-section
========================================================================== */
.top-section {
	height: 100%;
	background-color: rgba(0, 0, 0, 0.25);
}

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

.page-title-innerwrap {
	max-width: 700px;
	margin-left: auto;
	padding-right: 10rem;
}

.page-title-wrap img {
	padding-bottom: 25px;
	width: 300px;
	height: auto;
}

.page-title-wrap h1 {
	font-family: 'Lexend Deca', sans-serif;
	font-size: 40px;
	padding-bottom: 20px;
	text-shadow: none;
	text-shadow: 0px 1px 8px rgba(0, 0, 0, 0.34);
}

.page-title-wrap p {
	color: #fff;
	font-size: 20px;
	font-weight: 400px;
	max-width: 550px;
	margin: 0 auto;
	text-align: center !important;
	text-shadow: 0px 1px 8px rgba(0, 0, 0, 0.34);
}

.page-title-wrap span {
	color: #fff;
}

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

@media only screen and (max-width: 1080px) {
	.page-title-innerwrap {
		max-width: none;
		margin: 0 auto;
		padding: 0;
	}

	.page-title-wrap {
		left: 50%;
		text-align: center;
	}
}

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

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

#inledning {
	background: #fff;
}

#inledning h2 {
	color: #3285d9;
	padding-bottom: 35px;
}

#inledning p {
	padding-bottom: 40px;
}

.section-inledning .section-block p {
	text-align: center !important;
}

/* VÃƒÂ¥ra konsulter
========================================================================== */
#tjanster {
	background-color: #4f4f4f;
}

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

.section-tjanster h2 {
	color: #fff;
}

.section-konsulter .section-block {
	background-color: #def4d5;
}

.services {
	text-align: center;
}

.services-container {
	width: 31%;
	position: relative;
	height: 500px;
	float: left;
	padding: 40px 30px;
	text-align: center;
	margin: 1%;
	box-sizing: border-box;
	background: #ffffff;

}

.services-container:hover {
	background: #fff;
}

.red-card {
	background: #e26767;
}

.yellow-card {
	background: #E3C668;
}

.green-card {
	background: #8AC371;
}

.blue-card {
	background: #68AFE3;
}

.gray-card {
	background: #5b5b5b;
}

.services-container h4 {
	font-size: 23px;
	font-weight: 700;
	color: #555555;
	text-transform: none;
}

.services p {
	color: #767676 !important;
	text-align: left;
}

.service-inner img {
	height: 200px !important;
	width: auto !important;
	margin-bottom: 15px;
}

.services-container .fab,
.services-container .fal,
.services-container .fad {
	font-size: 55px;
	padding: 15px 15px;
	margin-right: 10px;
	border-radius: 3px;
	background-color: transparent;
	color: #3385d9;
}

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

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

.card {
	background-color: #fff;
	box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);
}

.card .card-text {
	box-sizing: border-box;
	padding: 30px 15px;
	text-align: center;
}

.card .card-text h4 {
	font-size: 16px;
	color: #ff3e1c;
}

.card .card-text p {
	font-size: 15px;
}

/* Partners
========================================================================== */
#partners {
	background: -webkit-linear-gradient(135deg, #663399 2.32%, #8a47ce 100%);
}

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

/*
.projects .project-thumb-wrapper {
    position: relative;
    overflow: hidden;
    width: 31%;
    height: 350px;
    max-width: 50%;
    text-align: center;
    cursor: pointer;
    font-size: 0px;
    box-sizing: border-box;
    margin:1%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.projects .project-thumb-wrapper .project-thumb {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 4;
    padding: 150px 20px;
    min-height: 140px;
    background-color: rgba(0, 0, 0, 0.37);
}

.projects .project-thumb-wrapper:hover .project-thumb {
    background-color: rgba(153, 19, 0, 0.92);
    -webkit-transition: background 0.3s ease-in-out;
	transition: background 0.3s ease-in-out;
}


.projects .project-thumb h3 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0 !important;
    text-shadow: none;
}
.projects .project-thumb p {
	font-size:15px;
}

.project-thumb-wrapper img {
    display: block !important;
    object-fit: cover !important;
    object-position: center;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}
*/


/* ==========================================================================
Undersidor - gÃ¤ller alla undersidor 
========================================================================== */
.SubPage .top-section {
	display: none;
}

.SubPage header {
	background-color: #ffffff !important;
	box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.3) !important;
}

.SubPage .header-logo {
	opacity: 1 !important;
}

.SubPage header nav.mainmenu li a {
	color: #4f616b !important;
}

.SubPage .gray p,
.SubPage .gray a,
.SubPage .gray h1,
.SubPage .gray h2,
.SubPage .gray h3,
.SubPage .gray h4,
.SubPage .gray h5,
.SubPage .gray li,
.SubPage .gray li:before {
	color: #fff !important;
}

/*top sektion på undersidor*/
.SubPage .subpage-top {
	background-color: rgba(0, 0, 0, 0.89);
}

.SubPage .subpage-top .section-block {
	padding: 160px 20px 80px 20px !important
}

.SubPage .subpage-top h2 {
	font-size: 45px;
	color: #fff;
}

.SubPage .subpage-top h4 {
	font-size: 25px;
	color: #3285d9;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.SubPage .subpage-gray {
	background-color: #f6f6f6 !important;
}

/* subsida - Om företaget
========================================================================== */
#subpage-aboutintro img {
	max-width: 170px !important;
	height: auto !important;
	margin-top: 20px;
}

/* subsida - Maskiner
========================================================================== */

.machine-content p {
	font-size: 16px !important;
	color: #676767 !important;
}

.machine-content .smalltext-type {
	max-width: 800px;
}

.machine-content h5 {
	padding-top: 25px;
}

#manuella-maskiner h4 {
	padding-bottom: 40px;
}

#matutrustning h4 {
	padding-top: 20px;
}

/* subsida - Produkter
========================================================================== */
.product-subpage .smalltext-type {
	max-width: 900px;
}

.pdf-wrapper {
	padding-bottom: 40px;
}

.pdf-wrapper p,
.pdf-wrapper a {
	color: #1d84e9;
	font-size: 20px;
}

.product-subpage h4 {
	font-size: 25px;
}

.product-subpage img {
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
	margin-bottom: 20px;
}

#blomqvistsvarven-images img,
#snabbvaxelfaste-images img {
	margin: 3% 2% !important;
}

#blomqvistsvarven-images .section-block,
#snabbvaxelfaste-images .section-block {
	padding: 30px 20px !important;
}

/* subsida - Blomqvistsvarven
========================================================================== */
#blomqvistsvarven-content img {
	box-shadow: none;
}

#blomqvistsvarven-content .section-block .col-0 {
	padding-right: 3%;
	width: 35%;
}

#blomqvistsvarven-content .section-block .col-1 {
	width: 65%;
	padding-left: 5%;
}

/* subsida - Legoarbeten
========================================================================== */
#legoarbeten-content .smalltext-type {
	max-width: 800px;
}

#legoarbeten-content .section-block {
	padding: 120px 20px !important;
}

/* subsida - Kontakt
========================================================================== */
#contact {
	background: radial-gradient(circle, rgba(60, 149, 240, 1) 0%, rgba(41, 102, 164, 1) 100%);
}

#contact p,
#contact h3 {
	color: #fff;
}

#contact h3 {
	font-size: 38px;
}

.contact-intro {
	max-width: 700px;
	margin: 0 auto;
	padding-bottom: 30px;
}

#contact .Contact .ContactForm input.ContactSubmit {
	border-radius: 0px;
	box-shadow: none;
	background-color: #000;
	border: 2px solid #000;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	font-weight: 300;
}

#contact .Contact .ContactForm input.ContactSubmit:hover {
	border-radius: 0px;
	box-shadow: none;
	background-color: #000;
	border: 2px solid #000;

}

.LayoutPage #contact .Contact .ContactForm input.text,
.LayoutPage #contact .Contact .ContactForm textarea.textmessage {
	border-radius: 0px;
}

.LayoutPage #contact .Contact .ContactForm textarea.textmessage {
	height: 196px;
}

/*
#contact .Contact .ContactForm input.text, 
.LayoutPage #contact .Contact .ContactForm textarea.textmessage {
	border: 1px solid #c8c8c8 !important;
}
*/

#find-us {
	font-size: 0;
}

/* subsida - Galleri
========================================================================== */
#galleri .section-block .section-block-wrapper {
	max-width: 1300px;
}

#galleri .projects .project-thumb-wrapper {
	width: 31.33%;
	margin: 1%;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
	height: 300px;
}

#galleri .projects .project-thumb-wrapper .project-thumb {
	background: transparent;
	padding: 78px 20px;
}

#galleri .projects .project-thumb-wrapper:hover .project-thumb {
	background-color: rgba(0, 0, 0, 0.29);
}

#galleri .projects .project-thumb p {
	font-size: 40px;
	text-align: center;
}

/* subsida - Produkter
========================================================================== */

.SubPage .services p,
.SubPage .services a {
	color: #767676 !important;
}

.SubPage .services-container h4 {
	font-size: 23px !important;
	font-weight: 700. !important;
	color: #555555 !important;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
	background-color: rgba(0, 0, 0, 0.89);
	min-height: 80px;
}

.footer .container {
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

.footer p,
.footer a {
	text-decoration: none;
	line-height: 1.8em !important;
	font-size: 16px;
	padding-bottom: 0;
	text-align: center;
	color: white;
	box-sizing: border-box;
	display: inline;
	white-space: nowrap;
}

.footer a,
.footer p {
	display: inline-block;
	margin: 15px 15px 15px 0;
}

.footer h4 {
	padding-bottom: 0.5em !important;
	color: #3385d9;
	font-weight: 400;
	text-align: center;
	font-size: 20px;
	text-transform: none;
	box-sizing: border-box;
	padding-top: 1em;
}

footer img {
	float: none;
	text-align: center;
	width: 240px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.footer a:hover {
	color: #3385d9;
}

.footer .fad:before {
	margin-left: 4px;
	color: #fff;
}

.footer .fad:after {
	color: #1d84e9;
	opacity: 1;
}

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

.integritetspolicy {
	margin: auto !important;
	padding-bottom: 10px !important;
}

.integritetspolicy {
	display: block !important;
	font-size: 15px !important;
}

.footer-bottom {
	display: flex;
	justify-content: center;
}

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

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

/* ==========================================================================
Media queries
========================================================================== */
@media only screen and (max-width: 1466px) {
	.page-title-wrap {
		top: 50%;
	}
}

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

	.width-1200 .section-block-wrapper,
	#galleri .section-block .section-block-wrapper {
		max-width: 980px;
	}

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

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

	.page-title-wrap {
		max-width: 590px;
		left: 50%;
	}

	.services-container {
		width: 48%;
	}

	.product-subpage .section-block .col-1,
	.product-subpage .section-block .col-2,
	.product-subpage .section-block .col-3,
	.product-subpage .section-block .col-4 {
		width: 50%;
		padding: 0;
		padding: 1%;
	}

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

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

	#galleri .projects .project-thumb-wrapper {
		width: 48%;
		height: 400px;
	}

}

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

	/*
	.projects .project-thumb-wrapper {
		width: 48%;
	}
*/

	.page-title-wrap {
		top: 50%;
	}

	#blomqvistsvarven-content .section-block .col-0,
	#blomqvistsvarven-content .section-block .col-1 {
		padding: 0;
		width: 100%;
	}

	#blomqvistsvarven-content .section-block .col-1 {
		margin-top: 50px;
	}

	#galleri .projects .project-thumb-wrapper {
		height: 300px;
	}

}

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

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

	.page-title-wrap img {
		display: none;
	}

	.btn {
		display: block;
		margin: 0 auto;
		max-width: 85%;
		padding: 18px 25px;
	}

	.services-container {
		width: 100%;
		height: auto;
		min-height: 430px;
	}

	.services-text p {
		padding-bottom: 60px;
	}

	.footer a,
	.footer p {
		display: block;
		margin: 15px;
	}

	.sub-abouttext .section-block .col-0,
	.sub-abouttext .section-block .col-1,
	.machine-content .section-block .col-0,
	.machine-content .section-block .col-1,
	.machine-content .section-block .col-2,
	.product-subpage .section-block .col-0,
	.product-subpage .section-block .col-1,
	.product-subpage .section-block .col-2,
	.product-subpage .section-block .col-3,
	.product-subpage .section-block .col-4 {
		width: 100% !important;
		padding: 0 !important;
	}

	#contact .section-block .col-0 {
		width: 100%;
		margin: 0 auto;
	}

	#galleri .projects .project-thumb-wrapper {
		width: 98%;
		height: 400px;
	}

}

@media only screen and (max-width: 480px) {
	body.isMobile .body-background {
		background: transparent;
		background-image: url('/files/jebergstrom-cover2.jpg') !important;
		background-position: center center;
		background-size: cover;
	}

	body.isMobile .body-background {
		background-color: #888;
	}


	.top-section {
		background-color: rgba(0, 0, 0, 0.61);
	}

	.page-title-wrap {
		top: 60%;
	}

	/*
	.projects .project-thumb-wrapper {
		width: 100%;
		max-width: 100%;
		margin: 0;
		margin-bottom: 40px;
	}
*/

	.blocker {
		padding: 0;
	}

	.modal {
		padding: 44px 20px;
	}

	#galleri .projects .project-thumb-wrapper {
		height: 300px;
	}

	.SubPage .subpage-top h2 {
		font-size: 30px;
	}

}

@media only screen and (max-width: 320px) {
	.page-title-wrap h1 {
		font-size: 17px;
	}

	.page-title-wrap p {
		color: #fff;
		font-size: 15px;
	}

	.btn {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		padding: 8px 25px;
	}
}