/* roboto-300 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

  /* roboto-700 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


html,
body
{
	margin:0;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color:#000000;
	line-height: 2em;
	font-size: 18px;
}

a, a:hover
{
	text-decoration: none;
	color:#000000;
}
h1{
	text-transform: uppercase;
	letter-spacing: .1em;
	margin:0px;
	font-weight: 500;
}


h1,h2,.typo
{
	text-align: center;
}

h2
{
	margin:0px;
	color:#8ea50d;
	font-weight: 300;
}

header
{
	-webkit-box-shadow: -1px 2px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 2px 5px 0px rgba(0,0,0,0.75);
	box-shadow: -1px 2px 5px 0px rgba(0,0,0,0.75);
	position: sticky;
	top:0px;
	display: flex;
	flex-direction: column;
	background:#ffffff;
	z-index: 1200;
	align-items:center;
}

header nav
{
	display:flex;
}

.nav-toggle
{
	display:none;
}

header .center
{
	margin:1em auto;
	overflow: hidden;
	box-sizing: border-box;max-width: 100%;
}

header .logo
{
	width: 440px;
	display:block;
}

header .logo img
{
	display: block;
	width:100%;
}

nav a
{
	margin:0 1em;
}

nav a.active
{
	font-weight: 400;
	color:#8ea50d;
}

nav a:hover{
	color:#8ea50d;

}
nav a:first-child{
	margin-left:0px;
}
nav a:last-child
{
	margin-right: 0px;
}

.center
{
	margin:auto;
	padding:0em 2em;
	margin: 2.5em auto;
	max-width: 1120px;

}




.border
{
	border-top: 8px solid #afca0b;
	border-bottom: 8px solid #afca0b;
}
main > .border:first-child{
	border-top: 0px;
}

 section + .border, .border + .border
{
	border-top:none;
}

.slideshow img
{
	width: 100%;
}

.linklist
{
	overflow: hidden;
	padding: 2em 1em ;
	color:white;
	background:#000000;
}

.links
{
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
	margin:0 -.5em;
}

.links a:hover 
{
    transform: scale(1.1);
}

.links a
{
	word-break: break-all;
	color:white;
	border:2px solid #afca0b;
	margin:.5em;
	padding:.5em 1em;
	letter-spacing: .15em;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.1em;
	min-width: 315px;
	text-align: center;
}
.fancybox-slide > *{
	padding:0px;
}
.gallery
{
	margin-bottom: 2.5em;
}

.gallery,.references
{
	overflow: hidden;
}

.gallery > div,.references > div
{
	display:flex;
	flex-wrap: wrap;
	overflow: hidden;
}

.gallery > div
{
	margin-left:-.9em;
	margin-right: -.9em;	
}

.gallery a
{
	transition: transform .2s; /* Animation */
	background-size: cover;
	position: relative;
	flex-basis: calc(33.3% - 1.8em);
	display:block;
	margin:.9em;
	overflow: hidden;
}

.references a
{
	flex-basis: 25%;
	transition: transform .2s; /* Animation */
	background-size: cover;
	position: relative;

	display:block;
	overflow: hidden;
}

.gallery .overlay,.references .overlay
{
	position: absolute;
	bottom:0px;
	left:0px;
	right: 0px;
	color:white;
	padding:1em;
	line-height: 1.3em;
	font-size: 1.2em;
	text-align: center;
	background:rgba(0,0,0,.6);
}

.references .overlay
{
	height:2.5em;
}

.references a:hover .overlay
{
	height: auto;
	min-height:2.5em;
}


.gallery .overlay .title,.references .overlay .title
{
	letter-spacing: .1em;
}

.references .more
{
	margin-top:2em;
}

.gallery a img,.references a img
{
	display:block;
	box-sizing: border-box;
	transition: transform .2s; /* Animation */
	width: 100%;
}

#map
{
	height:55vh;
	min-height: 400px;
	width:100%;
}

#googlemap
{
	width:100%;

}




input.checkbox
{
	width: auto;
}

input[type='checkbox'],input[type='radio']
{
  width:auto;
  margin-right: .75em;
  background:white;
  border:none;
}

input[type='checkbox']:checked,
input[type='checkbox']:not(:checked),
input[type='radio']:checked,
input[type='radio']:not(:checked)
{
	background:white;
	position: relative;
  visibility: hidden;
  margin:0;
  padding:0;
  text-align: start;
  display:none;
}

input[type='checkbox'] + label, input[type='radio'] + label
{
  cursor: pointer;
}

input[type='checkbox']:checked + label::before, 
input[type='checkbox']:not(:checked) + label::before,
input[type='radio']:checked + label::before, 
input[type='radio']:not(:checked) + label::before
{
	content:' ';
	display:inline-block;
	width: 18px;
	height:18px;
	font-size: 17px;
    position: relative;
	vertical-align: middle;
	margin-top:-4px;
	margin-right: .3em;
	font-family: "FontAwesome";	
	background:white;
	border: 1px solid #575756;
	line-height: 1.1em;
}

input[name=Email_Address]{display:none !important;}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #575756;
}

::-moz-placeholder { /* Firefox 19+ */
	color: #575756;
}

::-ms-input-placeholder { /* IE 10+ */
	color: #575756;
}

::-moz-placeholder { /* Firefox 18- */
	color: #575756;
}

:-ms-input-placeholder{
	color: #575756;	
}

input[type='checkbox']:checked  + label::before,
input[type='radio']:checked  + label::before
{	
		content: "\f00c";
		vertical-align: center;
		overflow:hidden;
}


.intrest
{
	margin-right: 1em;	
}

.contactform label
{
	display: block;

	margin: 5px 10px 5px 0px;
}


.contactform input[type="text"]:first-child
{
	margin-top:0px;
}

.contactform .container
{
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.container .left,.container .right
{
	flex-basis: 50%
}


.contactform .typo
{
	margin-top:0px;
	padding-top:0px;
	padding-left:0px;
	padding-right: 0px;
}
.checkboxes{
	display: flex;
	flex-wrap: wrap;
}
.checkboxes label{
	min-width: 100px;
}
.contactform input[type="text"],
.contactform textarea
{
	display: block;
	background: #f0f0f0;
	width: 100%;
	box-sizing: border-box;
	border:none;
	padding: 10px;
	margin: 20px 0px;
	font-weight: 300;
	font-size: inherit;
	color:#575756;
	font-family: 'Roboto', sans-serif;
}


.contactform button
{

	display: block;
	background: #afca0b;


	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.1em;
	padding: 10px 10px;
	font-weight: 500;
	width: 100%;
	letter-spacing: .15em;
	word-break: break-all;
	color:white;
	border:2px solid white;
	margin:20px 0px;
	cursor: pointer;
}


.error
{
	color: red;
}

label.error
{
	margin-top:-15px;
	margin-bottom: -5px;
}
.contactform address .inner
{
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

.contactform .typo{
	text-align: left;
}
.contactform address h1
{
	text-align: left;
	padding: 0px;
	margin: 0px;
}

.contactform  h1
{
	text-align: left;
	padding: 0px;
	margin: 0px;
}

.contactform .formular form
{
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

.contactform .right{
	background:#dae49b;
}

.contactform address
{
	font-style: normal;
	padding:2.5em 2em;
	box-sizing: border-box;
}
.contactform .formular
{
	padding:2.5em 2em;
	box-sizing: border-box;
	
}

.inner.ajax
{
	padding:2em 1em;
}

footer
{
	border-bottom: 8px solid #8ea50d;
}

footer address
{
	font-style: normal;
}

footer strong
{
	font-weight: 400;
}

footer .center
{
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-direction: column;
}

footer span{
	white-space: nowrap;
	display: inline-block;
}

footer address{
	text-align: center;
}

.links a{
	min-width: 280px;
}
@media only screen and (max-width : 1380px){



	.references a{
		flex-basis: 33.33%;
	}
	
}


@media only screen and (max-width : 1200px){
	.gallery .overlay, .references .overlay{
		font-size:1em;
	}
	html, body{
		font-size:16px;
	}
}

@media only screen and (max-width : 1000px){
	.references a{
		flex-basis: 50%;
	}
	.gallery a{
		flex-basis: calc(50% - 1.8em)

	}

	.container .left, .container .right{
		flex-basis:100%;
	}
}
@media only screen and (max-width : 690px){
	.contactform .typo img{

	margin-left:0px !important
}
}
@media only screen and (max-width : 600px){
	.references a{
		flex-basis: 100%;
	}

	.gallery > div{
		margin-left:0px;
		margin-right: 0px;
	}
	.gallery a{
		flex-basis: 100%;
		margin-left:0px;
		margin-right: 0px;
	}
	header .logo{
		width: 100%;
		max-width: 340px;
	}
	.inner.ajax
	{
		padding:2em 0em;
	}
	.center {
		padding:0 1.5em;
		margin:1.5em auto;
	}
	.contactform address,.contactform .formular{
		padding-left:1.5em;
		padding-right: 1.5em;
	}
	.gallery{
		margin-bottom: 1.5em;
	}
	h1{
		font-size: 1.4em;
	}
	h2{ font-size: 1.2em;}

		
	.nav-toggle
	{
		position: absolute;
		top:0px;
		right:1.5rem;
		display: block;
		margin: 0;
		font-size:28px;
		padding:0;
		cursor:pointer;
		background:none;
		-webkit-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		width:49px;
		height: 40px;
		border: none;
		margin-top:-5px;
		z-index:1000;
		transform: translateY(50%);
	}


	.nav-toggle span
	{
	display: block;
	position: absolute;
	height: 6px;
	width: 100%;
	background: black;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
	}

	.nav-toggle span:nth-child(1) { top: 10px; }
	.nav-toggle span:nth-child(2),.nav-toggle span:nth-child(3) { top: 20px; }
	.nav-toggle span:nth-child(4) { top: 30px;}
	.nav-toggle.open span:nth-child(1) { top: 10px; width: 0%; left: 50%;}
	.nav-toggle.open span:nth-child(2) {  -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); }
	.nav-toggle.open span:nth-child(3) { -webkit-transform: rotate(-45deg);-ms-transform: rotate(-45deg);transform: rotate(-45deg); }
	.nav-toggle.open span:nth-child(4) { top: 9px; width: 0%; left: 50%; }

	nav:not(.open)
	{
		display: none;
	}

	header .center
	{
		width:100%;
	}
	
	header nav
	{
		padding:1em 0;
	}
	
	header nav
	{
		flex-direction: column;
		gap:.5em;
		align-items: center;
	}
	
	header nav a
	{
		margin:0px;
	}
}

@media only screen and (max-width : 470px){
	header .logo
	{
		width:250px;
		margin-left:0px;
	}
}