/* Case spots */

.case-spot,
.news-container {
	position: relative;
}

/* Overlays */
.subpage-servicespot .case-spot-overlay,
.news-container-overlay,
.case-spot .case-spot-overlay {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(31,52,65,1);
	opacity: .8;
	transition: opacity .5s;
}

.case-spot:hover .case-spot-overlay,
.news-container:hover .news-container-overlay {
	opacity: .6;
}

/* Service spots */

.subpage-servicespot {
	background-size: 125%;
  background-position: center center;
  transition: all .5s;
}

.subpage-servicespot:hover {
	background-size: 140%;
}

.subpage-servicespot:hover .case-spot-overlay {
	opacity: .6;
}

/* Forms */
fieldset ul li input[type="email"] {
	display: block;
	width: 100%;
	padding: 0.8em 3% 0.8em 4.2em;
	-webkit-appearance: none;
	border: 1px solid #d6dcde;
	border-radius: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/* Menus */
.menu,
.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}


.menu ul.sub-menu li a {
	padding: 8px;
	margin-left: 0em;
	text-decoration: none;
	font-size: 1em;
	font-family: "news-gothic-std",sans-serif;
	color: #fff;
	display: block;
	transition: 0.3s;
}

#menu-standardverktyg .sub-menu {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#menu-standardverktyg .sub-menu li {
	flex: 0 0 50%;
}

/* Footer in mobile */
@media screen and (max-width: 768px) {

	footer#footer .footer-info {
		position: static;
	}

}

/* In addition to setting JavaScript attributes */

#slide-1-subpage .subpage.service {
	background-position: initial;
	background: none;
	background-size: cover;
	background-repeat: no-repeat;
}

/* Video height */
video#bgvid {
	min-height: 100vh !important;
}

#footer {
	display: none;
}

#footer.loaded {
	display: block;
}
