/*
Theme Name: Hellehusene
Theme URI:
Description: Main
Version: 1.0
License:
License URI:
Tags:
Text Domain:
*/

/* prefixes */
*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
* {
	border: 0;
	outline: none;
	text-decoration: none;
	box-shadow: none;
}
body, html {
	height: 100%;
	margin: 0px 0px;
	padding: 0px 0px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	color: #2b6e5b;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}

address { font-style: normal; }
figure { margin: 0px 0px; }

nav ul,
.menu-search-menu-container ul { padding: 0px 0px; margin: 0px 0px; }
nav ul,
nav ul li,
.menu-search-menu-container ul,
.menu-search-menu-container ul li { list-style: none; }

a, a:link, a:visited {
	color: #2b6e5b;
}

/* fonts */
h1 {
	font-family: 'Quicksand', sans-serif;
	font-size: 30px;
	font-weight: 500;
}
h2 {
	font-family: 'Quicksand', sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.5;
}
h3 {
	font-family: 'Quicksand', sans-serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.39;
}
h4 {
	font-family: 'Quicksand', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 2.13;
	letter-spacing: 0.9px;	
}
h5 {
	font-family: 'Quicksand', sans-serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.81;
}
p { line-height: 1.5; }

/* colors */
.color-white { color: #fff; }
.color-green { color: #2b6e5b; }
.color-grey { color: #a8a8a8; }
.color-dark { color: #0f3535; }

/* bg colors */
.bg-white { background-color: #fff; }
.bg-light-grey { background-color: #d8d8d8; }
.bg-medium-grey { background-color: #f0f0e9; }
.bg-dark-grey { background-color: #a8a8a8; }
.bg-green { background-color: #2b6e5b; }
.bg-dark-green { background-color: #232e30; }

/* buttons */
.radius {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;	
}
.btn {
	cursor: pointer;
	border-radius: 24.5px;
	-webkit-border-radius: 24.5px;
	-moz-border-radius: 24.5px;
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	padding: 12px 25px;
	min-width: 140px;
	text-align: center;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
.btn.green {
	color: #fff;
	background-color: #2b6e5b;
}
.btn.green:hover { background-color: #276251; }
.btn.white {
	color: #2b6e5b;
	background-color: #fff;
}
.btn.white:hover { background-color: #d8d8d8; }

/* inputs / buttons */
input, select, textarea, button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}
.smooth-scroll {
	-webkit-overflow-scrolling: touch;
}

/* grid */
.row { width: 100%; margin: 0 auto; position: relative; z-index: 1; }
.row:after {
  content: "";
  display: table;
  clear: both;
}
#page { position: relative; z-index: 2; }
#page-404 { padding-top: 80px; padding-bottom: 60px; }
#page-404 h1 { margin: 0px 0px; margin-bottom: 40px; }
.content {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0px 20px;
  display: flex;
  flex-wrap: wrap;
}
.full { width: 100%; }
.flex { display: flex; flex-wrap: wrap; }
.flex-center { justify-content: center; }
.flex-align-center { align-items: center; }
.flex-end { justify-content: flex-end; }
.flex-space-between { justify-content: space-between; }
.flex-full { width: 100%; }
.flex-third { width: calc(99.99% * (4/12)); }
.flex-quarter { width: calc(99.99% * (3/12)); }
.flex-half { width: 50%; }
.flex-grow { flex-grow: 1; }

/* Header */
header.main-header .logo img {
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;	
}
header.main-header { height: 60px; position: relative; z-index: 3; }
header.main-header nav ul.menu {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	align-items: center;
}
header.main-header nav ul.menu > li { display: inline-flex; }
header.main-header nav ul.menu > li > a {
	padding: 20px 29px;
	position: relative;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
header.main-header nav ul.menu > li:last-of-type > a { padding-right: 0px; }

/* active items */
header.main-header nav ul.menu > li > a:before {
	content: '';
	opacity: 0;
	display: block;
	position: absolute;
	left: 29px;
	bottom: 19px;
	width: calc(100% - 58px);
	height: 1px;
	background-color: #0f3535;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
header.main-header nav ul.menu > li:last-of-type > a:before {
	width: calc(100% - 29px);	
}
header.main-header nav ul.menu > li.current-menu-item > a:before { opacity: 1; }
header.main-header nav ul.menu > li:hover > a,
header.main-header nav ul.menu > li.current-menu-item > a { color: #0f3535; }

/* Mobile menu */
.menu-toggle {
	display: none;
	position: absolute;
	right: 15px;
	top: calc(50% - 51px/2);
	width: 51px;
	height: 51px;
	background: #fff;
	cursor: pointer;
}
.menu-toggle .bar {
	position: absolute;
	width: 41px;
	height: 5px;
	background: #2b6e5b;
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
}
.menu-toggle .bar:nth-child(1) {
	left: 5px;
	top: 10px;
}
.menu-toggle .bar:nth-child(2) {
	left: 5px;
	top: 23px;
}
.menu-toggle .bar:nth-child(2):after {
	content: "";
	position: absolute;
	left: 0px;
	top: 0px;
	width: 41px;
	height: 5px;
	background: #2b6e5b;
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
}
.menu-toggle .bar:nth-child(3) {
	right: 5px;
	top: 36px;
}
.menu-toggle.active .bar:nth-child(1),
.menu-toggle.active .bar:nth-child(3) {
    width: 0;
}
.menu-toggle.active .bar:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.menu-toggle.active .bar:nth-child(2):after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

/* Module - Image slider */
section#image-slider { position: relative; }
section#image-slider .image-wrap {
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	height: 700px;
}
section#image-slider .image-wrap.mobile { display: none; }
section#image-slider .slide-wrap {
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: transparent;
}
section#image-slider .slide-wrap .content {
    flex-direction: column;
    justify-content: flex-end
}
section#image-slider .slide-wrap article {
	padding: 40px 80px 50px 80px;
}
section#image-slider .slide-wrap article .column:first-of-type { padding-right: 40px; }
section#image-slider .slide-wrap article h1 { margin: 0px 0px; margin-bottom: 40px; }
section#image-slider .slide-wrap article h5 { margin: 0px 0px; }

/* Module - Wysiwyg */
section#wysiwyg article { max-width: 980px; }
section#wysiwyg h4 {
    margin: 0px 0px;
}
section#wysiwyg .full:not(.fifty) h4 { margin-bottom: 1em; }
section#wysiwyg h4:first-of-type { margin-top: 0px; }
section#wysiwyg h2 { margin: 0px 0px; }
section#wysiwyg article p:last-of-type { margin-bottom: 0px; }
section#wysiwyg .fifty article { max-width: 580px; }
section#wysiwyg .fifty article.left { width: calc(99.99% * (5/12)); padding-right: 20px; }
section#wysiwyg .fifty article.right { width: calc(99.99% * (7/12)); }
section#wysiwyg .fifty article { flex-direction: column; }
section#wysiwyg .fifty h3 { margin-top: 0px; }

/* Module - Spacer */
div#spacer-60 { height: 60px; }
div#spacer-80 { height: 80px; }

/* Module - Catalog */
section#catalog-banner aside { 
	width: 380px; 
	margin-right: 20px; 
	padding: 20px 20px;
	align-items: center;
}
section#catalog-banner article {
	padding: 30px 50px;
	width: calc(100% - 400px);
}
section#catalog-banner article a { max-width: 480px; }
section#catalog-banner article h2 { margin: 0px 0px; color: #fff; }
section#catalog-banner article p { color: #fff; }

/* Module - Contactform */
section#contact-form .form-wrap {
	padding: 40px 80px;
} 
section#contact-form h3 { margin: 0px 0px; }
section#contact-form .form-wrap .field-wrap.left {
	width: 400px;
	margin-right: 20px;
}
section#contact-form .form-wrap .field-wrap.right {
    width: calc(100% - 420px);
    align-content: space-between;
    display: flex;
    flex-wrap: wrap;
}
section#contact-form .wpcf7-form { display: flex; flex-wrap: wrap; margin-top: 30px; }
section#contact-form .form-wrap .field-wrap .field { 
	width: 100%; 
	display: flex;
	flex-wrap: wrap; 
	margin-bottom: 15px; 
}
section#contact-form .form-wrap .field-wrap .field.phone,
section#contact-form .form-wrap .field-wrap .field.submit { margin-bottom: 0px; }
section#contact-form .form-wrap .field-wrap .field br { display: none; }
section#contact-form .form-wrap .field-wrap .field span { width: 100%; }
section#contact-form .form-wrap .field-wrap .field input,
section#contact-form .form-wrap .field-wrap .field textarea { 
	width: 100%;
	font-size: 15px;
	font-family: 'Roboto', Arial, sans-serif;
	padding: 16px 20px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px; 
}
section#contact-form .form-wrap .field-wrap .field input, 
section#contact-form .form-wrap .field-wrap .field textarea {
	border: 1px solid transparent;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
section#contact-form .form-wrap .field-wrap .field textarea {
	resize: none;
	height: 140px;
}
section#contact-form .form-wrap .field-wrap .field label {
	font-size: 12px;
	letter-spacing: 0.9px;
	line-height: 2.33;
}
section#contact-form .form-wrap .field-wrap .field.submit p:not(.checkbox) { margin: 0px 0px; }
section#contact-form .form-wrap .field-wrap .field.submit p:not(.checkbox) .wpcf7-submit {
    border-radius: 24.5px;
    -webkit-border-radius: 24.5px;
    -moz-border-radius: 24.5px;
    font-size: 16px;
    padding: 12px 25px;	
    margin-top: 3px;
}
section#contact-form .form-wrap .field-wrap .field.submit p:not(.checkbox) .wpcf7-submit:disabled { opacity: .5; }

/* form catalogue */
section#contact-form.catalogue .field.message { margin-bottom: 20px; }
section#contact-form.catalogue .field.submit .wpcf7-form-control-wrap {
	margin-bottom: 20px;
}
section#contact-form.catalogue .field.submit .btn {
	width: auto;
	margin-top: 20px;
    border-radius: 24.5px;
    -webkit-border-radius: 24.5px;
    -moz-border-radius: 24.5px;	
}
section#contact-form.catalogue .field.submit .inputs { padding-left: 20px; }
section#contact-form.catalogue .field-wrap {
	display: flex;
	flex-wrap: wrap;
}
section#contact-form.catalogue .field-wrap > .field > p { display: none; }
section#contact-form.catalogue .field-wrap .field label { width: 110px; }
section#contact-form.catalogue .field-wrap .field .inputs { width: calc(100% - 110px); }
section#contact-form.catalogue .field-wrap .input {
	width: calc(99.99% * (6/12));
	padding-left: 20px;
}
section#contact-form.catalogue .field-wrap .input.message { width: 100%; }
section#contact-form.catalogue .field-wrap .input.zip { display: flex; flex-wrap: wrap; width: 100%; margin-top: 15px; }
section#contact-form.catalogue .field-wrap .input.zip span.zip {
	width: calc(99.99% * (4/12));
}
section#contact-form.catalogue .field-wrap .input.zip span.zip input { 
	border-top-right-radius: 0px; 
	border-bottom-right-radius: 0px;
	padding-right: 10px;
}
section#contact-form.catalogue .field-wrap .input.zip span.city { 
	width: calc(99.99% * (8/12));
	border-left: 1px solid #f0f0e9;
}
section#contact-form.catalogue .field-wrap .input.zip span.city input { 
	border-top-left-radius: 0px; 
	border-bottom-left-radius: 0px;
}
section#contact-form.catalogue .field-wrap .input.optional { position: relative; }
section#contact-form.catalogue .field-wrap .input.optional:after {
	content: '(valgfrit)';
	position: absolute;
	opacity: 1;
	right: 20px;
	top: 16px;
	display: block;
	font-size: 13px;
	color: #bbbbbb;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
section#contact-form.catalogue .field-wrap .input.optional.active:after { opacity: 0; } 

/* form catalogue - checkboxes */
section#contact-form.catalogue .wpcf7-checkbox .wpcf7-list-item {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: 0px 0px;
}
section#contact-form.catalogue .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
section#contact-form.catalogue .wpcf7-checkbox input[type="checkbox"] {
	cursor: pointer;
    width: 25px;
    height: 25px;
    position: relative;
    opacity: 0;
    z-index: 1;
    margin: 0px 0px;
    margin-right: 20px;
    padding: 0px 0px;
	background-color: transparent;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
section#contact-form.catalogue .wpcf7-checkbox span.wpcf7-list-item-label {
	width: calc(100% - 45px);
	font-size: 13px;
	line-height: 25px;
}
section#contact-form.catalogue .wpcf7-checkbox span.wpcf7-list-item-label:before {
	content: '';
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 0px;
	background-color: #fff;
    width: 25px;
    height: 25px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;	
}
section#contact-form.catalogue .wpcf7-checkbox span.wpcf7-list-item-label:after {
	content: '';
	position: absolute;
	z-index: 0;
	top: 3px;
	left: 3px;
	opacity: 0;
	background-color: #fff;
	background-image: url('assets/images/icon-checkmark.svg');
	background-repeat: no-repeat;
	background-position: center center;
    width: 19px;
    height: 19px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;	
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;	
}
section#contact-form.catalogue .wpcf7-checkbox input[type="checkbox"]:checked + span:after {
	opacity: 1;
}

/* errors */
section#contact-form .form-wrap .ajax-loader { display: none; }
section#contact-form .form-wrap span.wpcf7-not-valid-tip {
	display: none !important;
    position: absolute;
    width: auto !important;
    right: 0px;
    top: -20px;
    font-size: 13px;
}
section#contact-form .form-wrap div.wpcf7-validation-errors,
section#contact-form .form-wrap div.wpcf7-response-output {
	border: 0px !important;
	margin: 0px 0px !important;
	padding: 0px 0px !important;
	padding-top: 20px !important;
	font-size: 13px;
	line-height: 1.5;
    width: 100%;
    padding-left: 130px !important;
    text-align: right;
}
section#contact-form .form-wrap .field-wrap .field input.wpcf7-not-valid, 
section#contact-form .form-wrap .field-wrap .field textarea.wpcf7-not-valid {
	border: 1px solid #e40e20;
}

/* checkboxes */
section#contact-form .form-wrap .field-wrap .field.submit .checkbox {
	display: flex;
	flex-wrap: wrap;
	width: calc(100% - 164px);
	margin-right: 20px;
	flex-direction: row-reverse;
    height: 49px;
    align-items: center;
    justify-content: flex-end;
}
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p { margin: 0px 0px; font-size: 13px; }
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) {
	width: 25px;
	height: 25px;
	position: relative;
	margin-right: 10px;
}
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) span {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	background-color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px; 	
}
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) span.icon {
	position: absolute;
	opacity: 0;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	background-image: url('assets/images/icon-checkmark.svg');
	background-repeat: no-repeat;
	background-position: center center;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) input:checked + span.icon { opacity: 1; }
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) input {
	position: absolute;
	cursor: pointer;
	z-index: 1;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	padding: 0px 0px;
	margin: 0px 0px;
}
section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) input { background-color: transparent; opacity: 0; }

/* placeholders */
section#contact-form .form-wrap .field-wrap .field input::-webkit-input-placeholder,
section#contact-form .form-wrap .field-wrap .field textarea::-webkit-input-placeholder {
	color: #a8a8a8;
}
section#contact-form .form-wrap .field-wrap .field input:-moz-placeholder,
section#contact-form .form-wrap .field-wrap .field textarea:-moz-placeholder {
	color: #a8a8a8;
}
section#contact-form .form-wrap .field-wrap .field input::-moz-placeholder,
section#contact-form .form-wrap .field-wrap .field textarea::-moz-placeholder {
	color: #a8a8a8;
}

/* Page - Houses */
section#page .houses { margin-top: 80px; margin-bottom: 60px; }
section#page .houses article.house-item { 
	flex-direction: column; 
	width: calc(99.99% * 6/12 - (20px - 20px * (6/12))); margin-right: 20px;
}
section#page .houses article.house-item:nth-of-type(2n) { margin-right: 0px; }
section#page .houses article.house-item > header { position: relative; }
section#page .houses article.house-item header .title-wrap {
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
}
section#page .houses article.house-item header .title-wrap h3 { 
	margin: 0px 0px; 
	padding: 30px 40px;
}
section#page .houses article.house-item header .catalogue-link {
    position: absolute;
    z-index: 2;
    right: 40px;
    bottom: -20px;
}
section#page .houses article.house-item .description { 
	padding: 50px 40px; 
	min-height: 425px;
	flex-direction: column; 
	position: relative;
}
section#page .houses article.house-item .description .toggle-wrap {
	overflow: hidden;
	height: 160px;
}
section#page .houses article.house-item .description.no-toggle .toggle-wrap,
section#page .houses article.house-item .description.no-toggle.active .toggle-wrap { overflow: auto; height: auto; }
section#page .houses article.house-item .description.active .toggle-wrap {
	height: auto;
}
section#page .houses article.house-item .description .toggle-overlay {
	position: absolute;
	opacity: 1;
	left: 0px;
	bottom: 70px;
	width: 100%;
	height: 60px;
	background: linear-gradient(to bottom, rgba(240, 240, 233, 0), rgba(240, 240, 233, 1));
	background: -moz-linear-gradient(top, rgba(240, 240, 233, 0), rgba(240, 240, 233, 1));
	background: -webkit-linear-gradient(top, rgba(240, 240, 233, 0), rgba(240, 240, 233, 1));
}
section#page .houses article.house-item .description.no-toggle .toggle-overlay { display: none; }
section#page .houses article.house-item .description.active .toggle-overlay { opacity: 0; }
section#page .houses article.house-item .description h2 { margin-top: 0px; margin-bottom: 20px; }
section#page .houses article.house-item .description.no-toggle span.read-more { display: none; }
section#page .houses article.house-item .description span.read-more { 
	text-decoration: underline; 
    position: relative;
    z-index: 1;
    padding-top: 10px;
    cursor: pointer;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all  .2s ease-in-out;
}
section#page .houses article.house-item .description span.read-more:hover { color: #276251; }
section#page .houses article.house-item .area { padding: 30px 40px 50px 40px; }
section#page .houses article.house-item .area header h4 { margin: 0px 0px; }
section#page .houses article.house-item .area .area-item {
	flex-direction: column;
	margin-top: 30px;
	width: calc(99.99% * 4/12 - (20px - 20px * (4/12))); margin-right: 20px;
}
section#page .houses article.house-item .area .area-item span.label {
	font-family: 'Quicksand', sans-serif;
	font-size: 23px;
	font-weight: 400;	
}
section#page .houses article.house-item .area .area-item span.label span.symbol { position: relative; }
section#page .houses article.house-item .area .area-item span.label span.symbol:after {
	content: '2';
	display: block;
	position: absolute;
	top: 0px;
	right: -8px;
	font-size: 13px;
}
section#page .houses article.house-item .area .area-item span.title {
	font-family: 'Quicksand', sans-serif;
	font-size: 14px;
	line-height: 1.71;
	font-weight: 500;	
}
section#page .houses article.house-item .area .area-item:nth-of-type(3n) { margin-right: 0px; }
section#page .houses article.house-item .floor-plan { padding: 30px 120px 50px 40px; }
section#page .houses article.house-item .floor-plan header { margin-bottom: 20px; }
section#page .houses article.house-item .floor-plan h4 { margin: 0px 0px; }
section#page .houses article.house-item .floor-plan .preview { 
	position: relative; 
	cursor: pointer; 
}
section#page .houses article.house-item .floor-plan .preview:before {
	content: '';
	display: block;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
}
section#page .houses article.house-item .floor-plan .preview:hover:before { opacity: 1; visibility: visible; }
section#page .houses article.house-item .floor-plan .preview:after {
    content: 'Se billeder';
    display: block;
    opacity: 0;
    position: absolute;
    top: calc(50% - 43px/2);
    left: calc(50% - 140px/2);
    border-radius: 24.5px;
    -webkit-border-radius: 24.5px;
    -moz-border-radius: 24.5px;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 25px;
    min-width: 140px;
    text-align: center;
    color: #0f3535;
    background-color: #fff;
    transform: translate3d(0px, -10px, 0px);
    -webkit-transform: translate3d(0px, -10px, 0px);
    -moz-transform: translate3d(0px, -10px, 0px);
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
}
section#page .houses article.house-item .floor-plan .preview:hover:after { 
	opacity: 1;
	transform: translate3d(0px, 0px, 0px);
	-webkit-transform: translate3d(0px, 0px, 0px);
	-moz-transform: translate3d(0px, 0px, 0px);
}

/* Gallery */
.popup {
    position: fixed;
    z-index: 100;
    height: 100vh;
    width: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(35, 36, 48, 0.6);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
}
.popup.gallery .popup-close {
    position: absolute;
    cursor: pointer;
    z-index: 2;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
    background-image: url('assets/images/icon-cross.svg');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center center;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    opacity: .8;
}
.popup.gallery .popup-close:hover { opacity: 1; }
.popup.active { opacity: 1; visibility: visible; }
.popup.gallery .loading {
	position: absolute;
	z-index: 3;
	opacity: 0;
	visibility: hidden;
	width: 100px;
	height: 100px;
	top: calc(50% - 50px);
	left: calc(50% - 50px);
	background-image: url('assets/images/icon-loading.svg');
	background-repeat: no-repeat;
	background-size: 100px 100px;
}
.popup.gallery .loading.active {
	opacity: 1;
	visibility: visible;
	animation: rotation .8s infinite ease-in-out;
	-webkit-animation: rotation .8s infinite ease-in-out;
	-moz-animation: rotation .8s infinite ease-in-out;
}
.popup.gallery .slider { 
	opacity: 0; 
	visibility: hidden; 
}
.popup.gallery .slider.active { 
	opacity: 1; 
	visibility: visible; 
}
@keyframes rotation {
	from {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
	}
}
.popup.gallery .bx-controls {
    position: absolute;
    left: 0px;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup.gallery .bx-controls .bx-controls-direction { display: flex; }
.popup.gallery .bx-controls a {
	background-size: 44px 44px;
	width: 44px;
	height: 44px;
	background-position: center center;
	background-repeat: no-repeat; 
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    opacity: .8;
}
.popup.gallery .bx-controls a:hover { opacity: 1; }
.popup.gallery .bx-controls a.bx-next { background-image: url('assets/images/icon-arrow-right.svg'); margin-left: 20px; }
.popup.gallery .bx-controls a.bx-prev { background-image: url('assets/images/icon-arrow-left.svg'); margin-right: 20px; }
.gallery .bx-wrapper,
.gallery .bx-wrapper .bx-viewport,
.gallery .bx-wrapper .bx-viewport .slider { height: 100% !important; } 	
.popup .slider {
	margin: 0px 0px;
	padding: 0px 0px;
	height: 100%;
}
.gallery .slider .slide-wrap {
	height: 100vh;
    justify-content: center;
    align-content: center;
}
.gallery .slider .slide-wrap .image-wrap {
	padding: 80px 80px;
	height: 100%;
}
section#page .gallery .slider .slide-wrap .slide-image { position: relative; }
section#page .gallery .slider .slide-wrap .slide-image header {
    position: absolute;
    left: 0px;
    top: -50px;
    width: 100%;
    margin: 0px 0px;
    margin-bottom: 0px;
    justify-content: center;	
}
section#page .gallery .slider .slide-wrap .slide-image header h5 {
    text-align: center;
    margin: 0px 0px;	
}
section#page .houses article.house-item .gallery .slider .slide-wrap .image-wrap img { max-height: calc(100vh - 160px); }


/* Footer */
footer.main-footer { padding: 24px 0px; }
footer.main-footer .copyright span { font-size: 13px; line-height: 1.5; }
footer.main-footer .copyright { width: calc(50% + 126px/2); justify-content: space-between; }
footer.main-footer nav { flex-grow: 1; }

/* Cookies */
#cookie-banner {
	position: fixed;
	z-index: 99;
	left: 0px;
	bottom: 0px;
	padding: 10px 0px;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all  .2s ease-in-out;
	visibility: hidden;
	transform: translateY(100%);
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
}
#cookie-banner.false {
	visibility: visible;
	transform: translateY(0px);
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
}
#cookie-banner .content { align-items: center; }
#cookie-banner .content p { 
	flex-grow: 1; 
	margin: 0px 0px; 
	font-size: 14px;
	width: calc(100% - 180px);
}
#cookie-banner .content .btn {
	width: 140px;
	margin-left: 40px;
}

@media all and (max-width: 1024px) {
	/* Fonts */
	h1 { font-size: 26px; }
	h2 { font-size: 24px; }
	h3 { font-size: 20px; }
	h5 { font-size: 18px; line-height: 1.6;	}

	/* Spacers */
	div#spacer-80 { height: 40px; }
	div#spacer-60 { height: 40px; }

	/* Header */
	header.main-header nav ul.menu > li > a {
    	padding: 20px 20px;
	}
	header.main-header nav ul.menu > li > a:before {
    	left: 20px;
    	width: calc(100% - 40px);
    }

    /* Page - Houses */
    body.no-scroll { overflow-y: hidden; }
    section#page .houses { margin-top: 40px; margin-bottom: 40px; }
	section#page .houses article.house-item header .title-wrap h3 { padding: 20px 20px;	}
	section#page .houses article.house-item .description {
    	padding: 40px 20px;
    }
	section#page .houses article.house-item .area { padding: 40px 20px; }
	section#page .houses article.house-item .floor-plan { padding: 40px 100px 40px 20px; }
	section#page .houses article.house-item header .catalogue-link { right: 20px; }
	section#page .houses article.house-item .floor-plan .preview:before,
	section#page .houses article.house-item .floor-plan .preview:after { opacity: 1; visibility: visible; }

	/* Module - Image slider */
	section#image-slider .slide-wrap .content { padding: 0px 0px; }
	section#image-slider .image-wrap { height: 650px; }
	section#image-slider .slide-wrap article { padding: 40px 20px; }

	/* Module - Contact form */
	section#contact-form .form-wrap { padding: 40px 20px; }
	
	/* Module - Catalog */
	section#catalog-banner aside { width: 300px; }
	section#catalog-banner article {
	    padding: 40px 20px;
	    width: calc(100% - 320px);
	}
	section#catalog-banner article p { margin-bottom: 40px; }
}

@media all and (max-width: 1023px) {
	/* Module - Contact form */
	section#contact-form .form-wrap .field-wrap.left { width: 100%; margin-right: 0px; margin-bottom: 15px; }
	section#contact-form .form-wrap .field-wrap.right { width: 100%; }
	section#contact-form .wpcf7-form { margin-top: 20px; }

    /* Page - Houses */
    section#page .houses article.house-item .description { min-height: 480px; }
}

@media all and (max-width: 768px) {
	/* Header */
	header.main-header .logo img { width: 180px; }
	header.main-header nav.main-nav {
		display: none;
	    position: fixed;
	    top: 60px;
	    left: 0px;
	    width: 100%;
	    height: calc(100vh - 60px);
	    background-color: #2b6e5b;
	}
	header.main-header.active { position: fixed; background-color: #fff; }
	header.main-header.active nav.main-nav { display: block; }
	header.main-header nav ul.menu { 
		align-items: flex-start; 
		max-height: calc(100vh - 60px); 
	}
	header.main-header nav ul.menu > li { 
		width: 100%; 
		opacity: 0;
		transform: translate3d(-20px, 0px, 0px);
		transition: all .2s ease-in-out;
	}
	header.main-header nav ul.menu > li.animate {
		opacity: 1;
		transform: translate3d(0px, 0px, 0px);
	}
	header.main-header nav ul.menu > li > a { color: #fff; width: 100%; font-size: 20px; }
	header.main-header nav ul.menu > li > a:before { display: none; }
	header.main-header nav ul.menu > li { border-bottom: 1px solid #0f3535; }

	/* Mobile menu */
	.menu-toggle { display: block; }

    /* Page - Houses */
    .gallery .slider .slide-wrap .image-wrap {
	    padding: 40px 40px;
	}
    section#page .houses article.house-item figure img { width: 100%; }
    section#page .houses article.house-item .description { min-height: 360px; }
	section#page .houses article.house-item {
	    width: 100%;
	    margin-right: 0px;
	    margin-bottom: 40px;
	}   
	section#page .houses article.house-item:last-of-type { margin-bottom: 0px; } 
	section#page .houses article.house-item .floor-plan { padding: 40px 20px; }

	/* Module - Catalog wide */
	section#contact-form.catalogue .field-wrap .field label { width: 100%; }
	section#contact-form.catalogue .field-wrap .input.zip { margin-top: 20px; }
	section#contact-form.catalogue .field-wrap .field .inputs {
	    width: calc(100% + 20px);
	    margin-left: -20px;
	}
	section#contact-form.catalogue .field-wrap .field.submit label { display: none; }
	section#contact-form.catalogue .field-wrap .field label { position: relative; }
	section#contact-form .form-wrap div.wpcf7-validation-errors, 
	section#contact-form .form-wrap div.wpcf7-response-output {
		padding-left: 0px !important;
	}

	/* Module - Wysiwyg */
	section#wysiwyg .fifty article.left {
	    width: 100%;
	    margin-bottom: 20px;
	    padding-right: 0px;
	}	
	section#wysiwyg .fifty article.right { width: 100%; }

	/* Module - Image slider */
	section#image-slider .slide-wrap { position: relative; }
	section#image-slider .image-wrap { display: none; }
	section#image-slider .image-wrap.mobile { display: block; height: auto; }
	section#image-slider .slide-wrap article h1 { margin-bottom: 20px; }

	/* Footer */
	footer.main-footer nav { align-items: flex-start; }
	footer.main-footer .copyright {
	    width: 50%;
	    flex-wrap: wrap;
	    flex-direction: column;
	    align-items: flex-start;
	}	
	footer.main-footer .copyright span { max-width: 150px; }
	footer.main-footer .copyright figure {
	    justify-content: flex-start;
	    padding-top: 20px;
	}

}

@media all and (max-width: 767px) {
	/* Module - Image slider */
	section#image-slider .slide-wrap article .column:first-of-type { padding-right: 0px; }
	section#image-slider .slide-wrap article .column { width: 100%; }
	section#image-slider .slide-wrap article .btn { margin-top: 40px; }

	/* Module - Catalog */
	section#catalog-banner aside { width: 100%; margin-right: 0px; margin-bottom: 20px; }
	section#catalog-banner article { width: 100%; }
}

@media all and (max-width: 568px) {
	/* Cookies */
	#cookie-banner .content p { width: 100%; }
	#cookie-banner .content .btn {
	    margin-left: 0px;
	    margin-top: 20px;
	    width: 100%;
	}	

	/* Module - Contact form */
	section#contact-form .form-wrap .field-wrap .field.submit .checkbox { width: 100%; margin-right: 0px; flex-wrap: nowrap; }
	section#contact-form .form-wrap .field-wrap .field.submit > p:not(.checkbox) { margin-top: 15px; width: 100%; }
	section#contact-form .form-wrap .field-wrap .field.submit .checkbox p:not(.label) { min-width: 25px; }

	/* Module - Catalog wide */
	section#contact-form.catalogue .field-wrap .field .inputs { width: 100%; margin-left: 0px; }
	section#contact-form.catalogue .field-wrap .input { width: 100%; padding-left: 0px; }
	section#contact-form.catalogue .field-wrap .input:first-of-type { margin-bottom: 20px; }
	section#contact-form.catalogue .field-wrap .input.message { margin-bottom: 0px; }
	section#contact-form.catalogue .field-wrap .input.zip span.zip { width: calc(99.99% * (5/12)); }
	section#contact-form.catalogue .field-wrap .input.zip span.city { width: calc(99.99% * (7/12)); }
	section#contact-form.catalogue .field.submit .inputs { padding-left: 0px; }
	section#contact-form.catalogue .field.submit .btn { width: 100%; }
	section#contact-form.catalogue .field-wrap .input.optional:after { display: none; }
}

@media all and (max-width: 480px) {
	
	/* Module - Image Slider */
	section#image-slider .slide-wrap article .btn { width: 100%; }

	/* Page - Houses */
	section#page .houses article.house-item header .title-wrap { align-items: flex-start; }
	section#page .houses article.house-item .area .area-item {
		width: calc(99.99% * 6/12 - (20px - 20px * (6/12)));
	}
	section#page .houses article.house-item .area .area-item:nth-of-type(2n) {
	    margin-right: 0px;
	}
	section#page .houses article.house-item .area .area-item:nth-of-type(3n) {
		margin-right: 20px;
	}

	/* Page - Error */
	section#page-404 .btn.green { width: 100%; display: block; }
}