/*
	font-family: 'Oswald', sans-serif;
	font-family: 'Raleway', sans-serif;
*/

@import url('https://fonts.googleapis.com/css?family=Oswald:700|Raleway:400,500');

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	color: #333;
}

:focus {
    outline: none;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	color: #495867;
}

a {
	color: inherit;
}

a:hover, a:focus {
	text-decoration: none;
	color: inherit;
}

p {
	font-size: 16px;
}

.nopadding {
	padding: 0px;
}

.navbar-default {
	background-color: #fff;
	border: none;
}

.navbar {
	margin-bottom: 0px;
	height: 100px;
}

.navbar-brand {
	padding: 0px;
	margin-top: 8px;
	margin-left: 30px;
}

.navbar-brand img {
	width: auto;
	height: 84px;
}

#menu-main-menu {
	margin-top: 24px;
	margin-right: 15px;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
	background-color: transparent;
	border-bottom: 2px solid #495867;
}

#menu-main-menu li a {
	padding-bottom: 10px;
}

.offert-puff {
	width: 130px;
	background: #FF4136;
	position: fixed;
	left: -43px;
	top: 50%;
	transform: translateX(-50%);
	z-index: 999;
	transform: rotate(90deg);
	text-align: center;
	padding-top: 10px;
	cursor: pointer;
}

.offert-puff p {
	color: #fff;
	font-size: 18px;
}

.header-image {
	height: 500px;	
}

.header-image h1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 60px;
	line-height: 72px;
	margin: 0px;
}

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

.home .text-center h1 {
	margin-top: 40px;
}


.puff-image {
	height: 220px;
}

.puff-container {
	margin-top: 40px;
}

.puff-container .col-xs-4 h2 {
	font-size: 24px;
	margin-top: 10px;
}

.btn-puff {
	border: 2px solid #577399;
	background: #577399;
	color: #fff;
	height: 40px;
}

.btn-puff:hover {
	background: transparent;
	color: #577399;
}

.footer {
	border-top: 5px solid #495867;
	background: #577399;
	margin-top: 70px;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
	color: #fff;
}

.footer p {
	font-size: 15px;
	line-height: 20px;
}

.byggtjanst-single {
	margin-bottom: 70px;
}

.image-container {
	margin-top: 20px;
}

.bygg-image {
	display: block;
	float: none;
	margin: 0 auto;
	height: 300px;
	-webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.bygg-image:hover {
	transform: scale(1.2);
}

.owl-nav {
	text-align: center;
	padding-top: 20px;
}

.owl-prev {
	margin-right: 15px;
}

.owl-next {
	margin-left: 15px;
}

.owl-prev img,
.owl-next img {
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.no-overflow {
	position: relative;
	overflow: hidden;
}

/*
	WP GALLARY begins
*/

.gallery:after {content:"";display:table;clear:both;}

.gallery img {
	width: 100%;
	height: auto;
}

img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}


.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}


.gallery figure {float:left; margin:0 2% 1em 0;}


.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}


.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}


.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}


.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}


.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}


.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}


.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}


.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}


.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}


@media (max-width:767px) {
	img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
	.gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}

/*
	WP GALLARY ends
*/

.wpcf7 {
	width: 400px;
	margin-top: 30px;
}

.wpcf7 .btn {
	background: #577399;
	height: 50px;
	width: 100%;
	font-size: 16px;
}

.wpcf7 .btn:hover {
	color: #577399;
	border: 2px solid #577399;
	background: transparent;
}

.wpcf7 input,
.wpcf7 select {
	height: 50px;
	margin-top: 5px;
}

.wpcf7 textarea {
	margin-top: 5px; 
}

label {
	width: 100%;
	font-weight: 500;
}

.callme-container {
	position: relative;
}

.btn-callme {
	background: #FF4136;
	width: 400px;
	height: 50px;
	color: #fff;
	font-size: 16px;
	margin-top: -10px;
}

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

.callme-container {
	width: 50%;
	height: 50%;
	min-height: 300px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #577399;
	border: 4px solid #495867;
	z-index: 10;
	text-align: center;
	display: none;
}

.callme-container i {
	position: absolute;
	top: 12px;
	right: 20px;
	font-size: 22px;
	color: #fff;
	cursor: pointer;
}

.callme-container i:hover {
	color: #495867;
}

.callme-container p {
	color: #fff;
	margin: 0px;
}

.callme-container .wpcf7 {
	width: 80%;
	margin: 0px;
	display: block;
	float: none;
	margin: 0 auto;
	margin-top: 10px;
}

.callme-container .wpcf7 .form-group {
	margin: 0px;
}

.callme-container .wpcf7 .btn {
	margin: 0px;
	margin-top: 10px;
	border: 2px solid #fff;
	color: #fff;
	font-weight: 500;
	font-size: 18px;
}

.callme-container .wpcf7 .btn:hover {
	background: #fff;
	color: #577399;
}

.callme-container .wpcf7 input {
	text-align: center;
	font-size: 18px;
}

.callme-inner {
	display: table;
	width: 100%;
	height: 100%;
}

.vertical {
	display: table-cell;
	vertical-align: middle;
}

@media(max-width:991px){
	.puff-image {
		height: 160px;
	}
	
	.bygg-image {
		height: 200px;
	}
	
	.callme-container {
		width: 70%;
	}
}

@media(max-width:767px){
	.navbar-brand img {
		margin-left: 13px;
	}
	.home .text-center {
		width: 100%;
		margin-left: 0px;
		padding-left: 70px;
		padding-right: 70px;
	}
	
	.home .puff-container .col-xs-4 {
		width: 100%;
		margin-bottom: 50px;
	}
	
	.home .puff-container .col-xs-4 .puff-image {
		height: 320px;
	}
	
	.navbar-collapse {
		position: relative;
		background: #fff;
		z-index: 999;
		margin-top: 18px;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#menu-main-menu {
		margin-left: 15px;
	}
	
	.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
		border-bottom: none;
		font-weight: 900;
		color: #495867;
	}
	
	.navbar-default .navbar-toggle {
		width: 50px;
    height: 50px;
    border-radius: 0px;
    margin-top: 24px;
    border-color: transparent;
	}
	
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #495867;
	}
	
	.navbar-toggle .icon-bar {
		width: 28px;
	}
	
	.navbar-toggle .icon-bar+.icon-bar {
		margin-top: 6px;
	}
	
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
		background-color: transparent;
	}
	
	.navbar-brand {
    margin-left: 15px;
	}
	
	.byggtjanst-single {
		padding-left: 0px;
		padding-right: 0px;
		margin-bottom: 20px;
	}
	
	.bygg-image {
		padding: 0px;
		width: 100%;
	}
	
	.bygg-image:hover {
		transform: none;
	}
	
	.page-template-page-kontakt .puff-container {
		width: 100%;
		margin-left: 0px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.wpcf7,
	.btn-callme,
	.callme-container .wpcf7 {
		width: 100%;
	}
	
}

@media(max-width:600px){
	.home .puff-container .col-xs-4 .puff-image {
		height: 240px;
	}
	
	.callme-container {
		width: 95%;
	}
}

@media(max-width:420px){
	.header-image {
	  height: 300px;
	}
	.header-image h1 {
    font-size: 14vw;
	}
	
	.home .text-center {
    padding-left: 20px;
    padding-right: 20px;
	}
	
	.home .puff-container {
		width: 100%;
		margin-left: 0px;
	}
	
	.home .puff-container .col-xs-4 .puff-image {
		height: 200px;
	}
	
	.home .puff-container .col-xs-4:last-of-type {
		margin-bottom: 0px;
	}
	
	.offert-puff {
		top: auto;
		left: 0px;
		bottom: 0px;
		transform: rotate(0deg);
		width: 100%;
	}
	
	.footer {
		padding-bottom: 70px;
	}
}