@charset "utf-8";

@font-face {
	font-family: 'Libre Baskerville';
	src: url('/template/font/LibreBaskerville-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Libre Baskerville';
	src: url('/template/font/LibreBaskerville-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/template/font/Raleway-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/template/font/Raleway-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/template/font/Raleway-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/template/font/Raleway-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('/template/font/Raleway-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('/template/font/material-icons.woff2') format('woff2');
}
.material-icons {
	font-family: "Material Icons";
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "liga";
}

/* HTML5 display definitions */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }

/* Base */
body {
	background: #fff;
	color: rgb(113, 106, 102);
	font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.231;
    margin: 0;
}
#main, #footer { font-size: 1.0625em; line-height: 1.7em; }
#article, #aside { hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

::selection {
	background: rgb(113, 106, 102);
	color: white;
	text-shadow: none;
}

/* Links */
a { 
	color: rgb(168, 155, 143);
	text-decoration: underline;
}
a:hover { color: rgb(56, 110, 175); }
*:focus { outline: 0; }
a:active, a:hover  { outline: 0; }

h2 a, h3 a { 
	color: rgb(168, 155, 143);
	text-decoration: none;
}

/* Typography */
h1 { 
	color: rgb(113, 106, 102);
	font-family: 'Libre Baskerville', serif; font-size: 2.82em; font-weight: 400;
	line-height: 1.45em;
	margin: 0.67em 0; 
}
h2, .likeh2 {
	color: rgb(168, 155, 143);
	font-size: 1.82em; font-weight: 500;
	line-height: 1.45em;
	margin: 0.83em 0; 
}
h3 { 
	font-size: 1.5em; font-weight: 500;
	line-height: 1.45em;
	margin: 1em 0;
	text-transform: uppercase;
}
h4 { font-size: 1.35em; margin: 1.33em 0; }
h5 { font-size: 1.2em; margin: 1.67em 0; }
h6 { font-size: 1.05em; margin: 2.33em 0; }
h5, h6 { line-height: 1.35em; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr {
	border: none; border-top: 1px dashed #ccc;
	-moz-box-sizing: content-box; box-sizing: content-box; display: block;
	height: 1px;
	margin: 1em 0; padding: 0;
}
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0; }
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ''; content: none; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Lists */
dl, ol, ul { margin: 1em 0; }
dd { margin: 0 0 0 40px; }
ol, ul { padding: 0 0 0 20px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

/* Embedded content */
img { border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }

/* Figures */
figure { margin: 0; }

/* Forms */
form { margin: 0; }
fieldset { border: 0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; *overflow: visible; }
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }

/* Tables */
table { border-collapse: collapse; border-spacing: 0; }

/* CLASSES */
.boxsizing { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.right { float: right; }
.left { float: left; }

/* Wrapper */
.wrapper {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; 
	margin: 0 auto;
	padding: 0 20px;
}

/* 12 Col-Grid-Layout */
.grid-container, .wrapper { width: 100%; max-width: 1320px; }
.grid-container * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.row:before, .row:after {
	content: '';
	clear: both;
	display: table;
}
[class*='col-'] {
	display: inline-block;
	float: left;
	margin-left: 2.127659574468085%;
	min-height: 1px;
	padding: 0;
}
[class*='col-']:first-child, .grid-container.nogutter [class*='col-'] { margin-left: 0; }

.row.table { 
	display: table; 
	table-layout: fixed;
	width: 100%; 
}
.row.table > [class*="col-"] {
	display: table-cell;
	float: none;
	margin-left: 0;
	padding: 0.7em 1em;
	vertical-align: middle;
}
.grid-container.nogutter .row.table > [class*="col-"] { padding: 0; }

[class*='col-'].space { padding: 0.7em 1em!important; }
[class*='col-'].space-left { padding-left: 1em!important; }
[class*='col-'].space-right { padding-right: 1em!important; }

.col-1  { width: 6.382978723404255%; }
.grid-container.nogutter .col-1, .grid-container .row.table > .col-1 { width: 8.333%; }
.col-2  { width: 14.893617021276595%; }
.grid-container.nogutter .col-2, .grid-container .row.table > .col-2 { width: 16.66%; }
.col-3  { width: 23.404255319148934%; }
.grid-container.nogutter .col-3, .grid-container .row.table > .col-3 { width: 25%; }
.col-4  { width: 31.914893617021278%; }
.grid-container.nogutter .col-4, .grid-container .row.table > .col-4 { width: 33.33%; }
.col-5  { width: 40.42553191489362%; }
.grid-container.nogutter .col-5, .grid-container .row.table > .col-5 { width: 41.66%; }
.col-6  { width: 48.93617021276595%; }
.grid-container.nogutter .col-6, .grid-container .row.table > .col-6 { width: 50%; }
.col-7  { width: 57.44680851063829%; }
.grid-container.nogutter .col-7, .grid-container .row.table > .col-7 { width: 58.33%; }
.col-8  { width: 65.95744680851064%; }
.grid-container.nogutter .col-8, .grid-container .row.table > .col-8 { width: 66.66%; }
.col-9  { width: 74.46808510638297%; }
.grid-container.nogutter .col-9, .grid-container .row.table > .col-9 { width: 75%; }
.col-10 { width: 82.97872340425532%; }
.grid-container.nogutter .col-10, .grid-container .row.table > .col-10 { width: 83.33%; }
.col-11 { width: 91.48936170212765%; }
.grid-container.nogutter .col-11, .grid-container .row.table > .col-11 { width: 91.66%; }
.col-12 { width: 100%; }
.grid-container.nogutter .col-12, .grid-container .row.table > .col-12 { width: 100%; }

.offset12 { margin-left: 104.25531914893617%; }
.offset12:first-child { margin-left: 102.12765957446808%; }
.offset11 { margin-left: 95.74468085106382%; }
.offset11:first-child { margin-left: 93.61702127659574%; }
.offset10 { margin-left: 87.23404255319149%; }
.offset10:first-child { margin-left: 85.1063829787234%; }
.offset9 { margin-left: 78.72340425531914%; }
.offset9:first-child { margin-left: 76.59574468085106%; }
.offset8 { margin-left: 70.2127659574468%; }
.offset8:first-child { margin-left: 68.08510638297872%; }
.offset7 { margin-left: 61.70212765957446%; }
.offset7:first-child { margin-left: 59.574468085106375%; }
.offset6 { margin-left: 53.191489361702125%; }
.offset6:first-child { margin-left: 51.063829787234035%; }
.offset5 { margin-left: 44.68085106382979%; }
.offset5:first-child { margin-left: 42.5531914893617%; }
.offset4 { margin-left: 36.170212765957444%; }
.offset4:first-child { margin-left: 34.04255319148936%; }
.offset3 { margin-left: 27.659574468085104%; }
.offset3:first-child { margin-left: 25.53191489361702%; }
.offset2 { margin-left: 19.148936170212764%; }
.offset2:first-child { margin-left: 17.02127659574468%; }
.offset1 { margin-left: 10.638297872340425%; }
.offset1:first-child { margin-left: 8.51063829787234%; }
/* END 12 Col-Grid-Layout */

/* clearfix */
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after { clear: both; }
/* For IE 6/7 (triggers hasLayout) */
.cf { *zoom: 1; }

.s { font-size: 0.786em; }
.xs { font-size: 0.714em; }
.alignright { text-align: right; }
.alignleft { text-align: left; }
.aligncenter { text-align: center; }
.alignjustify { text-align: justify; }
.margintop { margin-top: 1em; }
.marginright { margin-right: 1em; }
.marginbottom { margin-bottom: 1em; }
.marginleft { margin-left: 1em; }
.right { float: right; }
.left { float: left; }

/* msg */
.msg, .msgerror {
	border-top: 1px solid #4caf50; border-bottom: 1px solid #4caf50;
	padding: 1em 0;
}
.msgerror { border-color: #C00; }
.msg h2, .msgerror h2 {
	color: rgb(56, 110, 175)!important;
	font-weight: 700; font-style: italic; font-size: 1.4em;
	line-height: 1.45em;
}
.msg h2, .msgerror h2 { margin: 0 0 0.5em!important; }
.msg ul, .msgerror ul { 
	list-style: none!important;
	margin-top: 0;
	padding: 0!important;
}

/* pagenav */
.pagenav { text-align: center; }
.pagenav span a {
	font-size: 1.214em; vertical-align: bottom;
	padding: 0 2px;
}
.pagenav a, .pagenav strong { margin: 2px; padding: 2px; }
.pagenav a:hover, .pagenav strong {
	border: 1px solid;
	margin: 1px;
}
.pagenav a, .pagenav a:hover { text-decoration: none; }
.pagenav a:hover { border-style: dotted; }

/* button */
a.button, button, input[type="submit"], input[type="button"] {
	background: #a89b8f; 
	border: none;
	color: #FFF;
	cursor: pointer;
	display: inline-block;
	font-family: 'Raleway', sans-serif; font-size: 1em; font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.25em;
	padding: 18px 44px;
	text-decoration: none; text-transform: uppercase;
}
a.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover { background: #386eaf; }
a.button.next:after, button.next:after { content: ' â€º'; }
a.button.prev:before, button.prev:before { content: 'â€¹ '; }

/* Datepicker */
div .ui-widget-header { background: #a89b8f!important; }

/* START CUSTOM PART */

/* CLASSES */

/* PRIMARY STYLES [layout] */
#header { 
	box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28); -webkit-box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28); -moz-box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28);
	background: #FFF;
	position: fixed; top: 0; left: 0; right: 0; z-index: 3; 
}
#header .row.table > * { padding-top: 0; padding-bottom: 0; }
#socialiconcontainer {
	position: absolute; z-index: 2;
	right: 0;
	top: 190px;
}
#socialiconcontainer div { 
	background: #a89b8f;
	padding: 0.5em 0.5em 0.25em;
	text-align: center;
	margin-top: 4px;
}
#socialiconcontainer div:hover {
	background: #716a66;
}
#socialiconcontainer div img {
	max-height: 40px;
}
#logo-container { 
	padding-left: 0;
	vertical-align: top;
}
#logo-container + * { padding-right: 0; }
#logo {
	background: rgb(0, 65, 116);
	display: inline-block;
	position: relative; z-index: 1;
	height: 100%;
}
#logo:after {
	background: rgb(0, 65, 116);
	content: '';
	height: 17px;
	position: absolute; left: 0; right: 0; bottom: -14px; z-index: 1;
}
#logo img {
	display: block;
	height: auto;
	transition: width 0.4s linear; -webkit-transition: width 0.4s linear; -moz-transition: width 0.4s linear; -o-transition: width 0.4s linear;
	width: 100%; max-width: 240px;
}
body.scroll #logo img { max-width: 200px; }
#quickinfo { 
	margin: 1.5em 0;
	position: relative; z-index: 2;
	transition: all 0.4s linear; -webkit-transition: all 0.4s linear; -moz-transition: all 0.4s linear; -o-transition: all 0.4s linear;
	text-align: right;
}
body.scroll #quickinfo { 
	opacity: 0;
	position: absolute; top: -300px;
}
#quickinfo * { font-family: 'Libre Baskerville', serif; font-weight: 400; }
#quickinfo > * {
	display: inline-block;
	padding: 0 1em;
}
#quickinfo > * + * { border-left: 1px solid rgb(168, 155, 143); }
#quickinfo > *:hover, #languageselect:hover {
	color: rgb(56, 110, 175);
	cursor: pointer;
}
#quickinfo img {
	margin-right: 3px;
	max-width: 20px;
}
#quickinfo .vcorrection { vertical-align: -3px; }
#quickinfo a { text-decoration: none; }
#quickinfo, #languageselect { color: rgb(168, 155, 143); }
#showmobilemenu { display: none; }
#languageselect { border: none; }
#nav { position: relative; z-index: 1; }
#nav ul { display: table; }
#nav li {
	display: table-cell;
	position: relative;
	vertical-align: middle;
}
#nav li:hover:after, #nav li.active:after {
	background: rgb(0, 65, 116);
	content: '';
	position: absolute; left: 5px; right: 5px; bottom: -10px;
	height: 10px;
}
#nav a {
	color: rgb(113, 106, 102);
	display: block;
	font-size: 1.0625em;
	letter-spacing: 0.15em;
	padding: 0.65em 1.2em;
	text-decoration: none; text-transform: uppercase;
}
body.scroll #nav a { padding-top: 1em; padding-bottom: 1em; }
#nav a:hover, #nav li.active > a { color: rgb(0, 65, 116); }

#panorama, #panorama .img { height: calc(100vh - 156px); max-height: 31.25vw!important; }
body.homepage #panorama, body.homepage #panorama .img { max-height: 44vw!important; }
#panorama .img {
	background-position: center center; background-repeat: no-repeat; background-size: cover;
	width: 100%;
	z-index: 1!important;
}

#content-container { position: relative; z-index: 2; }
#immosearch-container { position: absolute; top: -150px; left: 0; right: 0; z-index: 2; }
#immosearch-container .wrapper { max-width: 1140px; }
#immosearch-container .row.table > * { padding: 0; }
#immosearch-container .row.table > *[class*="col-"]:first-of-type {
	background: #716a66;
	padding: 1.5em 2.5em;
	vertical-align: top;
	width: 100%;
}
#immosearch-container .row.table > *[class*="col-"]:nth-of-type(2) { width: 5px; }
#immosearch-container .row.table > *:last-child { 
	background: #a89b8f;
	padding-right: 0;
	text-align: center;
	width: 105px;
}
#immosearch-container .row.table > *[class*="col-"]:last-of-type:hover, #immosearch-container .row.table > *[class*="col-"]:last-of-type:hover > * { background: #386eaf; }
#immosearch-container button {
	font-size: 1em;
	padding-left: 0; padding-right: 0;
}
#immosearch-container button img {
	display: block;
	height: auto;
	margin: 0 auto 20px;
	width: 100%; max-width: 60px;
}
#immosearch-container #formtext { 
	color: #FFF;
	font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: 2.18em;
	line-height: 1.45em;
}
#immosearch-formfields { 
	color: #FFF;
	margin-top: 1.2em;
}
#immosearch-formfields > *, #immosearch-radioboxes > * { display: inline-block; }
#immosearch-formfields > * + *, #immosearch-radioboxes > * + * { margin-left: 2em; }
#immosearch-formfields * { 
	font-size: 1.0625em; font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
#immosearch-formfields > *:nth-child(1)  { vertical-align: 0.6em; }
#immosearch-formfields .selectbox-valuecontainer a.selectable, #immosearch-formfields .selectbox-input { font-size: 0.85em; }
#immosearch-formfields .valuesselect > div:first-child { font-size: 0.91em; }
#immosearch-formfields .selectbox-valuecontainer a.selectable { 
	text-transform: none;
	white-space: nowrap;
}
#immosearch-more {
	margin-top: 1.5em;
	overflow: auto;
	text-align: right;
}
#immosearch-more a { 
	color: #FFF;
	font-size: 0.88em; font-style: italic;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
#immosearch-more i { 
	font-size: 2em;
	vertical-align: -7px;
}

#main { padding: 7.6em 0 0; }
#main.showcasetop { padding: 0; }
#main.showcasetop > aside:first-child > .showcase:first-child { 
	margin-bottom: 5em;
	padding-top: 7.6em; padding-bottom: 4em;
}
#breadcrumb { 
	color: rgb(168, 155, 143);
	font-weight: 700; font-size: 0.88em;
	letter-spacing: 0.1em;
	position: relative; z-index: 1;
	text-align: center; text-transform: uppercase;
}
#breadcrumb:before {
	background: rgb(168, 155, 143);
	content: '';
	height: 2px;
	position: absolute; left: 0; top: 50%;
	transform: translateY(-50%);
	width: 50%;
}
#breadcrumb > span {
	background: #FFF;
	display: inline-block;
	line-height: 1.3em;
	margin-left: -1.5em;
	padding-left: 3em;
	position: relative; z-index: 1;
}
#breadcrumb span.td { text-decoration: underline; }
#prearticle { margin-top: 5em; margin-bottom: 5em; }
#article { padding-bottom: 7.6em; }
body.nofullwidth #article { max-width: 840px; }

/* Aside */
#aside { position: relative; z-index: 1; }
#article + #aside { border-bottom: 5px solid #FFF; }
#aside .showcase { background: #e6e0da; }
#aside .showcase-title {
	color: rgb(113, 106, 102);
	font-family: 'Libre Baskerville', serif; font-size: 2.82em; font-weight: 400;
	line-height: 1.45em;
	margin: 0 0 0.67em;
}
#randomrealestates-showcase .showcase-title { 
	font-size: 2.65em;
	margin-bottom: 0;
	text-align: left; 
}
#randomrealestates-showcase #allbox { margin-top: 4.5em; }
#aside .showcase-subtitle {
	color: rgb(168, 155, 143);
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 4em; margin-top: 0.4em;
	position: relative; z-index: 1;
	text-align: center; text-transform: uppercase;
}
#aside .showcase-subtitle:before {
	background: rgb(168, 155, 143);
    content: '';
    height: 2px;
    position: absolute; left: 0; top: 50%; z-index: 1;
    transform: translateY(-50%);
    width: 50%;
}
#aside .showcase-subtitle > span {
	background: #e6e0da;
    display: inline-block;
    line-height: 1.3em;
    margin-left: -1.5em;
    padding-left: 3em; padding-right: 3em;
    position: relative; z-index: 1;
}
#contact-showcase {
	display: table;
	width: 100%;
}
#contact-showcase > * {
	display: table-cell;
	vertical-align: middle;
	width: 50%;
}
#contact-showcase #gmap_map {
	min-height: 400px;
	width: 100%;
}
#contact-showcase .gm-style-cc { display:none; }
#contactform-container { padding: 4em 5em; }
#contactform-container b {
	display: block;
	font-size: 1.1em;
	margin-bottom: 2em;
}
#contactform-container form { margin-bottom: 0!important; }
#contactform-container .msg, #contactform-container .msgerror { margin-bottom: 3em; }

#article + #aside > #randomrealestates-showcase { padding-top: 6em; padding-bottom: 3em; }
#randomrealestates-container { 
	margin-bottom: 2em;
	padding-left: 5em; padding-right: 5em;
	max-width: 1420px;
}
#randomrealestates-pager-prev, #randomrealestates-pager-next {
	position: absolute; z-index: 1; top: 50%;
	transform: translateY(-50%); -ms-transform: translateY(-50%); -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%);
}
#randomrealestates-pager-prev img, #randomrealestates-pager-next img { 
	height: auto;
	width: 65px;
}
#randomrealestates-pager-prev { left: -120px; }
#randomrealestates-pager-next { right: -120px; }
#randomrealestates .item {
	margin-bottom: 2em;
	padding: 0 1em;
}
#randomrealestates .randomrealestate {
	background: #FFF;
	padding: 10px 10px 45px;
}
#randomrealestates .randomrealestate .randomrealestate-imagecontainer > div {
	background-position: center; background-repeat: no-repeat; background-size: cover;
	width: 100%; height: 18.85vw; min-height: 180px; max-height: 285px;
}
#randomrealestates .randomrealestate-content { padding-bottom: 1em; }
#randomrealestates .likeh2 { 
	color: rgb(113, 106, 102);
	display: table;
	font-weight: 700; font-size: 1.41em;
	line-height: 1.35em;
	margin: 0;
	padding-top: 2em; padding-bottom: 0.83em;
	text-align: center;
	width: 100%;
}
#randomrealestates .likeh2 > div { 
	display: table-cell; 
	vertical-align: middle;
}
#randomrealestates .shortinfos {
	color: rgb(113, 106, 102);
	font-weight: 600;
	margin: 0;
	padding: 0.5em 0 2em;
}
#randomrealestates .shortinfos img { display: inline-block; }
#randomrealestates .buttonbox { position: absolute; z-index: 1; right: 1em; bottom: 7.5px; }
@media screen and (max-width: 1530px) {
	#randomrealestates-pager-prev img, #randomrealestates-pager-next img { width: 45px; }
	#randomrealestates-pager-prev { left: -60px; }
	#randomrealestates-pager-next { right: -60px; }
}
@media screen and (max-width: 899px) {
	#randomrealestates-showcase { padding-top: 4em!important; padding-bottom: 1em!important; }
	#randomrealestates .randomrealestate .randomrealestate-imagecontainer > div { height: 38.85vw; }
}
@media screen and (max-width: 500px) {
	#randomrealestates-container { 
		padding-left: 20px; padding-right: 20px;
		position: relative; z-index: 1;
	}
	#randomrealestates-container .owl-nav { text-align: center; }
	#randomrealestates-container .owl-nav > * { display: inline-block; }
	#randomrealestates-pager-prev, #randomrealestates-pager-next { display: none; }
}

#contact-container { 
	background-image: url('/grafik/template/footerbg.jpg'); background-position: center; background-repeat: no-repeat; background-size: cover;
	padding: 12em 0 6em;
	position: relative; z-index: 1;
}
#contact-container:after {
	background: rgb(168, 155, 143);
	content: '';
	position: absolute; left: 50%; top: 0; z-index: 1;
	transform: translateX(-2px);
	width: 2px; height: 12em;
}
#contact-container .wrapper {
	padding-left: 100px; padding-right: 100px;
	max-width: 1480px;
}
#contacttable {
	display: table;
	width: 100%;
}
#contacttable > * {
	background: rgba(255, 255, 255, 0.9);
	display: table-cell;
	padding: 4.5em 1.5em 2em;
	text-align: right;
	vertical-align: bottom;
	width: 50%;
}
#contacttable > *:first-child {
	border-right: 2px solid rgb(168, 155, 143);
	color: rgb(75, 66, 61);
	font-size: 1.18em;
	line-height: 1.73em;
}
#contactdata {
	text-align: left;
	padding-right: 0; padding-left: 1.5em;
}
#contactdata > * {
	display: block;
	font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: 2em;
}
#contactdata > *:last-child {
	margin-top: 0.3em;
	text-decoration: none;
}

#footer { 
	background: #e6e0da;
	border-top: 5px solid #FFF;
	color: rgb(113, 106, 102);
	padding-top: 2.5em; padding-bottom: 2.5em;
}
#footer .coltitle {
	font-weight: 600;
	letter-spacing: 0.2em;
	margin-bottom: 1.5em;
	text-transform: uppercase;
}
#address-container { line-height: 1.7em; }
#address-container a {
	color: rgb(113, 106, 102);
	text-decoration: none;
}
#address-container a:hover, #footer-nav a:hover { color: rgb(56, 110, 175)!important; }

#partner a {
	display: inline-block;
	max-width: 220px;
}
#partner a:first-of-type { 
	max-width: 60px; 
	vertical-align: -8px;
}
#partner a + a { margin-left: 1.5em; }
#partner a img, #member a img {
	display: block;
	height: auto;
	width: 100%;
}

#member a {
	display: inline-block;
	max-width: 60px;
}
#member a:first-of-type { max-width: 90px; }
#member a:nth-of-type(2) { max-width: 70px; }
#member > a + a { margin-left: 2em; }

#footer-nav {
	background: #cbbeb2;
	padding: 0.7em 0;
}
#footer-nav * {
	color: rgb(113, 106, 102);
	font-weight: 600; font-size: 0.93em;
	letter-spacing: 0.2em;
	text-transform: uppercase; text-decoration: none;
}
#footer-nav .wrapper {
	clear: both;
	overflow: auto;
}
#footer-nav .wrapper:first-child > * { float: right; }
#footer-nav .wrapper:first-child > *:first-child { float: left; }
#mobile-languageselect {
	display: none;
	font-size: 0.7em;
	margin-top: 1em;
	text-align: right;
}

.customvalues { position: relative; z-index: 1; }
.customvalues .customvalues-select { position: relative; z-index: 1; }
.customvalues .customvalues-row {
	display: table;
	width: 100%;
}
.customvalues .customvalues-row > * {
	color: rgb(113, 106, 102);
	display: table-cell;
	font-weight: 400!important; font-size: 15px;
	line-height: 1.25em;
	vertical-align: middle;
	text-decoration: none;
}
.customvalues .customvalues-row > *:first-child { width: 50px; }
.customvalues .customvalues-row + * { margin-top: 0.8em; }

.selectbox-container, .valuesselect { 
	cursor: pointer;
	display: inline-block;
	position: relative; z-index: 3;
	vertical-align: -4px;
}
.selectbox-input-container, .valuesselect { display: table; }
.selectbox-input-container > *, .valuesselect > * { display: table-cell; }
.selectbox-input, .valuesselect > div:first-child { 
	line-height: 1.25em;
	overflow: hidden;
	text-overflow: ellipsis; 
	white-space: nowrap;
	width: 100%; max-width: 170px; 
}
.selectbox-container.white .selectbox-input { color: rgb(113, 106, 102); }
.selectbox-container.white .selectbox-input-container, .valuesselect {
	background: #FFF;
	padding: 0.5em 1em;
}
.selectbox-input-container:hover *, .selectbox-container.active .selectbox-input-container * { color: rgb(56, 110, 175)!important; }
.selectbox-arrow {
	border-style: solid;
	border-width: 7px 6px;
    border-color: rgb(168, 155, 143) transparent transparent transparent;
	margin-left: 5px;
	position: relative; top: 3.5px; right: 0; z-index: 1;
	width: 7px;
}
.selectbox-container:hover .selectbox-arrow {  border-color: rgb(56, 110, 175) transparent transparent transparent; }
.selectbox-container.active .selectbox-arrow, .customvalues.active .selectbox-arrow {
	border-color: transparent transparent rgb(56, 110, 175) transparent;
	top: -3.5px;
}
.selectbox-valuecontainer { position: relative; z-index: 1; }
.selectbox-valuecontainer > div, .customvalues .customvalues-select > div {
	background: #FFF;
	border: 1px solid rgb(168, 155, 143);
	display: none;
	position: absolute; top: 5px; left: 0; z-index: 1;
	max-height: 350px; min-width: 100%;
	overflow-x: visible;
	overflow-y: auto;
}
.customvalues .customvalues-select > div { 
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	font-size: 0.85em!important;
	padding: 1em;
}
.customvalues .customvalues-select > div * { text-transform: none!important; }
.selectbox-container.active .selectbox-valuecontainer > div, .customvalues.active .customvalues-select > div { display: block; }
.selectbox-container.rightonly .selectbox-valuecontainer > div { left: auto; right: 0; }
.selectbox-valuecontainer a.selectable {
	color: rgb(113, 106, 102);
	display: block;
	font-weight: 600; font-size: 15px;
	line-height: 1.25em;
	padding: 0.7em 1.5em;
	text-decoration: none;
}
.selectbox-valuecontainer a.selectable.selected, .selectbox-valuecontainer a.selectable:hover { background: #e6e0da; }
.selectbox-valuecontainer a.selectable.groupborder { border-bottom: 1px solid; }
.selectbox-search-container {
	border: 1px solid rgb(168, 155, 143);
	margin: 0.7em 1.1em;
}
.selectbox-search {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	display: table;
	table-layout: fixed;
	width: 100%
}
.selectbox-search > * {
	display: table-cell;
	padding: 5px 10px;
	vertical-align: middle;
}
.selectbox-search > *:last-child { width: 45px; }
.selectbox-search img {
	display: block;
	height: auto;
	width: 25px;
}
.selectbox-search input { 
	border: none;
	font-size: 0.7em!important; font-weight: 500!important;
	text-transform: none!important;
	width: 100%!important;
}

.radioinput-container {
	border: 1.5px solid; border-radius: 50%;
	display: inline-block;
	margin-right: 0.4em;
	vertical-align: -2px;
	width: 1em; height: 1em;
}
.radioinput-container, .radioinput-container + label { cursor: pointer; }
.radioinput-container span { 
	background: transparent;
	border-radius: 50%;
	display: inline-block;
	margin: 0.3em;
	width: 0.2em; height: 0.2em;
	vertical-align: 2px;
}
.radioinput-container.checked span { background: #FFF; }

#topbutton {
	height: 70px; width: 70px;
	padding: 0px;
	position: fixed; right: 1em; bottom: 1em; z-index: 2;
	text-align: center;
}
#topbutton img { 
	height: auto;
	vertical-align: -30px;
	width: 70%;
}

/* CONTENT */
#article .button { margin-top: 50px; margin-bottom: 50px; }
#article table tr > * { padding: 0.6em 1em; }
#article table th { 
	background: #716a66;
	color: #FFF;
	font-weight: 600; 
}
#article table tr > td { border-top: 1px solid #f3efea; }
#article table thead td { border-top: 0!important; }
#article table tbody > tr:nth-child(2n) { background: #e6e0da; }
#article table.clean tr > * { padding: 0; }
#article table.clean th, #article table.clean tbody > tr:nth-child(2n), #article table.clean tbody > tr:hover { background: transparent; }
#article table.clean tr > td, #article table.clean thead td { border-top: none!important; }

.shortinfos {
	clear: both;
	margin-top: 0.5em; margin-bottom: 2em;
	overflow: auto;
}
.shortinfos > * { 
	display: inline-block;
	float: left;
	margin: 4% 4% 0;
	height: 40px;
	overflow: hidden;
}
.shortinfos img {
	height: auto;
	width: 100%; max-width: 23px;
}
.shortinfos img.objecttype { max-width: 32px; }
.shortinfos img.rentbuy { max-width: 17px; }
.shortinfos img.rooms { max-width: 26px; }
.shortinfos span { 
	margin-left: 0.5em;
	vertical-align: 8px;
}
@media screen and (max-width: 960px) {
	.shortinfos { margin-bottom: 3em; }
}
/* END CUSTOM PART */

/* Responsive Videos */
#article .video-container {
	position: relative; z-index: 1;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
#article .video-container iframe,  
#article .video-container object,  
#article .video-container embed {
    border: none;
	position: absolute; top: 0; left: 0; z-index: 11;
	width: 100%; height: 100%;
}

/* Responsive Images */
.responsiveimages {
	clear: both;
	overflow: auto;
}
.responsiveimages a { 
	border-bottom: none!important;
	display: inline-block;
	float: left;
	margin-left: 0.5%; margin-top: 0.25%; margin-bottom: 0.25%;
	text-decoration: none;
	width: 100%;
}
.responsiveimages a:first-child { margin-left: 0!important; }
.responsiveimages.fullwidth a { margin-left: 0; }
.responsiveimages.portrait a { width: 100%; max-width: 350px; }
.responsiveimages a img {
	height: auto;
	vertical-align: middle;
	width: 100%;
}

/* Bilder mit Fließtext */
#article .imgandtext {
	clear: both;
	overflow: auto;
}
#article .imgandtext.img_left > img, #article .imgandtext.img_left .responsiveimages {
	float: left;
	margin-right: 3em;
}
#article .imgandtext.img_right > img, #article .imgandtext.img_right .responsiveimages {
	float: right;
	margin-left: 3em;
}
#article .imgandtext > img, #article .imgandtext .responsiveimages {
	margin-top: 0.4em; margin-bottom: 2em;
	width: 45%; max-width: 370px;
}
#article .imgandtext p { margin-top: 0; }
.responsiveimages .figcaption { clear: both; }
@media screen and (max-width: 620px) {
	#article .imgandtext > * {
		display: block;
		float: none!important;
		width: 100%!important; max-width: none!important;
	}
	#article .imgandtext > *:first-child > * { 
		display: block;
		float: none!important;
		margin: 0 auto 1em!important; 
	}
	#article .imgandtext img { margin: 0; }
	.responsiveimages .figcaption { text-align: center; }
}

/* Table-Container */
.tablecontainer { overflow: auto; }

/* Fancybox */
.fancybox-slide--iframe .fancybox-content {
	height: 1133px; max-height: 80%;
	margin: 0;
	width: 800px; max-width: 80%;
}
.fancybox-button { 
	line-height: 90px!important;
	min-width: 0; 
	width: 90px!important; height: 90px!important;
}
.fancybox-button--left, .fancybox-button--right { display: inline-block!important; }
.fancybox-button--close:after, .fancybox-button--close:before {
	left: calc(40% - 8px)!important;
	width: 40px!important; 
}

/* Cookie Hint */
#cookiehint {
	background: #cbbeb2;
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	display: table;
	color: #4b423d!important;
	line-height: 1.25em;
	padding: 0.5em 1.4em;
	width: 100%;
}
#cookiehint p, #cookiehint button {
	display: table-cell!important;
	vertical-align: middle;
}
#cookiehint p { 
	font-size: 15px;
	margin: 0;
}
#cookiehint a {
	border: none!important;
	color: #fff!important;
	text-decoration: none!important;
}
#cookiehint a:hover { text-decoration: underline!important; }
#cookiehint button {
	background: transparent!important;
	border: none!important;
	color: #4b423d!important;
	padding-right: 0;
}
#cookiehint button:hover { 
	color: rgb(56, 110, 175)!important;
	cursor: pointer;
}
#cookiehint img {
	height: auto;
	width: 2em;
}

/* Media Queries */
@media screen and (max-width: 1250px) {
	#contactform-container { padding-left: 3em; padding-right: 3em; }
}
@media screen and (min-width: 1145px) and (max-width: 1335px) {
	html[lang="de"] #nav a {
		font-size: 0.9em;
		padding-top: 11.05px; padding-bottom: 12.05px;
	}
	body.scroll #nav li:hover:after { bottom: -12.5px; }
}
@media screen and (min-width: 1021px) and (max-width: 1200px) {
	html[lang="it"] #nav a {
		font-size: 0.9em;
		padding-top: 11.05px; padding-bottom: 12.05px;
	}
}
@media screen and (min-width: 1011px) and (max-width: 1145px) {
	html[lang="de"] #nav a {
		font-size: 0.82em;
		padding-bottom: 12.05px;
		white-space: nowrap;
	}
}
@media screen and (min-width: 1011px) and (max-width: 1020px) {
	html[lang="it"] #nav a {
		font-size: 0.82em;
		padding-bottom: 12.05px;
		white-space: nowrap;
	}
}
@media screen and (max-width: 1066px) {
	#immosearch-container { position: static; }
	#immosearch-container .wrapper { padding: 0; }
	#immosearch-radioboxes { 
		display: block; 
		margin-bottom: 1em;
	}
	#immosearch-radioboxes + * { margin-left: 0; }
	#immosearch-container .row.table, #immosearch-container .row.table > *[class*="col-"] {
		display: block;
		width: 100%;
	}
	#immosearch-container .row.table > *[class*="col-"]:nth-child(2) { display: none; }
	#immosearch-container button img {
		display: inline-block;
		margin: 0 0.8em 0 0;
		max-width: 30px;
		vertical-align: -0.55rem;
	}
	
	#immosearch-formfields { clear: both; }
	#immosearch-more { 
		clear: both;
		margin-top: 4.8em;
	}
	#immosearch-formfields > *:nth-child(2), #immosearch-formfields > *:nth-child(3) {
		box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
		float: left;
		width: calc(50% - 1em);
	}
	#immosearch-formfields .selectbox-valuecontainer > div { right: 0; }
	#immosearch-formfields .selectbox-container, #immosearch-formfields .selectbox-input-container { width: 100%; }
}
@media screen and (max-width: 1010px) {
	#logo-container, #logo-container + * { width: 50%; }
	#logo-container { position: relative; z-index: 4; }
	#logo { position: absolute; top: 0; left: 0; z-index: 1; }
	#logo:after { display: none; }
	#logo img { max-width: 200px; }
	#quickinfo {
		margin-top: 1em; margin-bottom: 1em;
		opacity: 1!important;
		position: static!important; top: 0!important;
	}
	#quickinfo > * {
		border-left: 0;
		padding: 0 1.5em;
	}
	#quickinfo .buttontext, #quickinfo > *:last-child { display: none; }
	#showmobilemenu { 
		display: inline-block;
		padding-right: 0;
	}
	html[lang="en"] #showmobilemenu { display: none; }
	#quickinfo img {
		height: auto;
		width: 100%; max-width: 35px;
	}
	#quickinfo #phoneimg { max-width: 28px; }
	#showmobilemenu img[src*="close"] { max-width: 30px; }
	
	#nav {
		background: #e6e0da;
		box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28); -webkit-box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28); -moz-box-shadow: 1px 1px 1px 2px rgba(203, 190, 178, 0.28);
		opacity: 1;
		overflow-y: auto; overflow-x: hidden;
		padding: 0; padding-top: 3em;
		position: fixed; left: -1010px; top: 66px; z-index: 3;
		transition: left 0.5s ease-in-out; -webkit-transition: left 0.5s ease-in-out; -moz-transition: left 0.5s ease-in-out; -o-transition: left 0.5s ease-in-out;
		width: 100%;
	}
	body.mobilemenu #nav { left: 0; }
	#nav ul, #nav li, #nav a { display: block; }
	#nav a {
		border-top: 1px solid #FFF; border-bottom: 1px solid #FFF;
		font-size: 1.1em;
		padding-top: 15px; padding-bottom: 15px;
		text-align: center; text-transform: none;
	}
	#nav li:first-child a { border-top: 0; }
	#nav li:after { display: none!important; }
	
	#main { padding: 4.5em 0 0; }
	#article { padding-bottom: 4.5em; }
	
	#contact-showcase, #contact-showcase > * {
		display: block;
		width: 100%;
	}
	
	#contact-container { padding: 6em 0; }
	#contacttable, #contacttable > * {
		box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
		display: block;
		width: 100%;
	}
	#contacttable { 
		background: rgba(255, 255, 255, 0.9);
		padding: 2.5em 2.5em;
	}
	#contacttable > * { 
		background: transparent;
		border-right: 2px solid rgb(168, 155, 143);
		padding-left: 0; padding-right: 2em;
		text-align: right;
	}
	#contact-container:after {
		height: auto;
		left: auto; right: 8.5em; bottom: 40%;
		transform: translateX(-4px);
	}
	
	#footer { text-align: center; }
	#footer .row > * + * { margin-top: 2em; }
	
	#mobile-languageselect { display: block; }

	/* medium grid */
	.col-m-1  { width: 6.382978723404255%; }
	.grid-container.nogutter .col-m-1, .grid-container .row.table > .col-m-1 { width: 8.333%; }
	.col-m-2  { width: 14.893617021276595%; }
	.grid-container.nogutter .col-m-2, .grid-container .row.table > .col-m-2 { width: 16.66%; }
	.col-m-3  { width: 23.404255319148934%; }
	.grid-container.nogutter .col-m-3, .grid-container .row.table > .col-m-3 { width: 25%; }
	.col-m-4  { width: 31.914893617021278%; }
	.grid-container.nogutter .col-m-4, .grid-container .row.table > .col-m-4 { width: 33.33%; }
	.col-m-5  { width: 40.42553191489362%; }
	.grid-container.nogutter .col-m-5, .grid-container .row.table > .col-m-5 { width: 41.66%; }
	.col-m-6  { width: 48.93617021276595%; }
	.grid-container.nogutter .col-m-6, .grid-container .row.table > .col-m-6 { width: 50%; }
	.col-m-7  { width: 57.44680851063829%; }
	.grid-container.nogutter .col-m-7, .grid-container .row.table > .col-m-7 { width: 58.33%; }
	.col-m-8  { width: 65.95744680851064%; }
	.grid-container.nogutter .col-m-8, .grid-container .row.table > .col-m-8 { width: 66.66%; }
	.col-m-9  { width: 74.46808510638297%; }
	.grid-container.nogutter .col-m-9, .grid-container .row.table > .col-m-9 { width: 75%; }
	.col-m-10 { width: 82.97872340425532%; }
	.grid-container.nogutter .col-m-10, .grid-container .row.table > .col-m-10 { width: 83.33%; }
	.col-m-11 { width: 91.48936170212765%; }
	.grid-container.nogutter .col-m-11, .grid-container .row.table > .col-m-11 { width: 91.66%; }
	.col-m-12 { width: 100%; }
	.grid-container.nogutter .col-m-12, .grid-container .row.table > .col-m-12 { width: 100%; }
	
	.m-space { margin-left: 2.127659574468085%!important; margin-right: 2.127659574468085%!important; }
	.row.table .m-space { padding: 0.7em 1em!important; }
	.m-space-left { margin-left: 2.127659574468085%!important; }
	.row.table .m-space-left { padding-left: 1em!important; }
	.m-space-right { margin-right: 2.127659574468085%!important; }
	.row.table .m-space-right { padding-right: 1em!important; }
	
	.m-clearspace { margin: 0!important;}
	.row.table .m-clearspace { padding: 0; }
	.m-clearspace-left { margin-left: 0!important; }
	.row.table .m-clearspace-left { padding-left: 0!important; }
	.m-clearspace-right { margin-right: 0!important; }
	.row.table .m-clearspace-right { padding-right: 0!important; }
}

@media screen and (max-width: 899px) {
	#randomrealestates .shortinfos { padding-bottom: 1em; }
}

@media screen and (max-width: 770px) {	
	#socialiconcontainer {
		top: 85px;
	}
	#socialiconcontainer div { 
		background: none;
		padding: 0.3em 0.3em 0em;
	}
	#socialiconcontainer div img {
		max-height: 35px;
	}
	
	#cookiehint p { 
		font-size: 13px; 
		line-height: 15px;
	}
	
	#main { font-size: 0.9em; }
}

@media screen and (max-width: 730px) {
	#contact-container { font-size: 0.85em; }
	#contact-container .wrapper { padding-left: 20px; padding-right: 20px; }
	#contact-container:after { display: none; }
	#contacttable { padding: 24.48px; }
	#contactdata { padding-top: 0em; }
	#contactdata > a { font-size: 1.7em; }
	
	#footer-nav .wrapper:first-child > * {
		display: block;
		float: none!important;
		text-align: center;
	}
	#footer-nav nav { margin-bottom: 0.5em; }
	#mobile-languageselect { text-align: center; }
	
	#contact-container {
		background-image: url('/grafik/resize/730x440_grafik-template-footerbg.jpg');
		background-image: image-set(url('/grafik/resize/730x440_grafik-template-footerbg.jpg') 1x, url('/grafik/resize/1460x880_grafik-template-footerbg.jpg') 2x);
		background-image: -webkit-image-set(url('/grafik/resize/730x440_grafik-template-footerbg.jpg') 1x, url('/grafik/resize/1460x880_grafik-template-footerbg.jpg') 2x);
	}
}
@media screen and (max-width: 585px) {
	/* small grid */	
	.col-s-1  { width: 6.382978723404255%; }
	.grid-container.nogutter .col-s-1, .grid-container .row.table > .col-s-1 { width: 8.333%; }
	.col-s-2  { width: 14.893617021276595%; }
	.grid-container.nogutter .col-s-2, .grid-container .row.table > .col-s-2 { width: 16.66%; }
	.col-s-3  { width: 23.404255319148934%; }
	.grid-container.nogutter .col-s-3, .grid-container .row.table > .col-s-3 { width: 25%; }
	.col-s-4  { width: 31.914893617021278%; }
	.grid-container.nogutter .col-s-4, .grid-container .row.table > .col-s-4 { width: 33.33%; }
	.col-s-5  { width: 40.42553191489362%; }
	.grid-container.nogutter .col-s-5, .grid-container .row.table > .col-s-5 { width: 41.66%; }
	.col-s-6  { width: 48.93617021276595%; }
	.grid-container.nogutter .col-s-6, .grid-container .row.table > .col-s-6 { width: 50%; }
	.col-s-7  { width: 57.44680851063829%; }
	.grid-container.nogutter .col-s-7, .grid-container .row.table > .col-s-7 { width: 58.33%; }
	.col-s-8  { width: 65.95744680851064%; }
	.grid-container.nogutter .col-s-8, .grid-container .row.table > .col-s-8 { width: 66.66%; }
	.col-s-9  { width: 74.46808510638297%; }
	.grid-container.nogutter .col-s-9, .grid-container .row.table > .col-s-9 { width: 75%; }
	.col-s-10 { width: 82.97872340425532%; }
	.grid-container.nogutter .col-s-10, .grid-container .row.table > .col-s-10 { width: 83.33%; }
	.col-s-11 { width: 91.48936170212765%; }
	.grid-container.nogutter .col-s-11, .grid-container .row.table > .col-s-11 { width: 91.66%; }
	.col-s-12 { width: 100%; }
	.grid-container.nogutter .col-s-12, .grid-container .row.table > .col-s-12 { width: 100%; }
	
	.s-space { margin-left: 2.127659574468085%!important; margin-right: 2.127659574468085%!important;  }
	.row.table .s-space { padding: 0.7em 1em!important; }
	.s-space-left { margin-left: 2.127659574468085%!important; }
	.row.table .s-space-left { padding-left: 1em!important; }
	.s-space-right { margin-right: 2.127659574468085%!important; }
	.row.table .s-space-right { padding-right: 1em!important; }
	
	.s-clearspace { margin: 0!important;}
	.row.table .s-clearspace { padding: 0; }
	.s-clearspace-left { margin-left: 0!important; }
	.row.table .s-clearspace-left { padding-left: 0!important; }
	.s-clearspace-right { margin-right: 0!important; }
	.row.table .s-clearspace-right { padding-right: 0!important; }
	
	#immosearch-container .row.table > * { padding-left: 20px!important; padding-right: 20px!important; }
	
	#immosearch-container #formtext { font-size: 1.5em; }
	#immosearch-formfields > *:nth-child(2), #immosearch-formfields > *:nth-child(3) {
		float: none;
		margin-left: 0;
		width: 100%;
	}
	#immosearch-formfields > *:nth-child(2) { margin-bottom: 1em; }
	#immosearch-formfields > *:nth-child(2) .selectbox-container { z-index: 4; }
	
	#immosearch-more { margin-top: 24px; }
	
	h1 { font-size: 2.2em; }
	#aside .showcase-title { font-size: 1.7em; }
	
	#contactform-container { padding: 20px; }
}
@media screen and (max-width: 550px) {
	#logo-container { width: 170px; }
	#logo-container + * { width: 100%; }
	#quickinfo > * { padding: 0 0.7em; }
	#showmobilemenu { padding-right: 0; }
}
@media screen and (max-width: 413px), (min-width: 501px) and (max-width: 516px) {
	html[lang="it"] #randomrealestates .buttonbox { left: 1em; }
	html[lang="it"] #randomrealestates .buttonbox .button { text-align: center; }
}
@media screen and (max-width: 450px) {
	#contactdata > a { font-size: 1.2em; }
	#immosearch-radioboxes > * + * { margin-left: 0.7em; }
	#immosearch-radioboxes label {
		font-size: 0.8em; 
		vertical-align: 3px;
	}
}
@media screen and (max-width: 410px) {
	#quickinfo > *:nth-child(2) { display: none; }
	html[lang="en"] #quickinfo > *:nth-child(2) { display: inline-block; }
	#showmobilemenu { display: inline-block; }
	
	#contactform-container #submitrow > * {
		display: block;
		text-align: center;
		width: 100%;
	}
	#contactform-container #submitrow > * + * { margin-top: 5px; }
}
@media screen and (max-width: 380px) {
	#partner > * {
		display: block!important;
		margin: 1em auto 0!important;
	}
	#partner > *:first-child { margin-top: 0!important; }
}
@media screen and (max-width: 350px) {
	#quickinfo > * { display: none; }
	#showmobilemenu { display: block; }
}
@media screen and (max-width: 340px) {
	html[lang="it"] #immosearch-radioboxes label {
		font-size: 0.7em; 
		vertical-align: 4px;
	}
}
@media screen and (max-height: 378px) and (max-width: 1010px) {
	#nav { height: calc(100vh - 66px); }
	body.showmobilemenu #panorama, body.showmobilemenu #content-container, body.showmobilemenu #contact-container, body.showmobilemenu #footer, body.showmobilemenu #footer-nav { display: none; }
}

/* Form */
#main form { margin: 2.5em 0; }
#main form fieldset { margin: 0.4em 0; padding: 0; }
#main form fieldset label { 
	display: block;
	padding-right: 0.4em;
	text-transform: uppercase;
}
#main form select, #main form input[type="time"] { 
	background-color: #FFF; 
	-webkit-appearance: menulist;
}
#main form input[type="text"], #main form input[type="date"], #main form input[type="datetime"], #main form input[type="email"], #main form input[type="file"], 
#main form input[type="number"], #main form input[type="password"], #main form input[type="search"], #main form input[type="tel"], #main form input[type="time"], 
#main form input[type="url"], #main form select, #main form textarea, #main form .selectbox-input-container, .valuesselect { 
	border: 1px solid rgb(113, 106, 102);
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	color: rgb(168, 155, 143);
	padding: 0.8em 0.5em;
	width: 100%;
}
#main form textarea { resize: vertical; }
#main form .selectbox-container { display: block; }
#main form .selectbox-input-container > *:last-child { width: 20px; }
#main form .row.table > * { padding-top: 0; padding-bottom: 0; }
#main form .row + .row { margin-top: 0.8em; }
#main form .row.table > *:first-child { padding-left: 0; }
#main form .row.table > *:last-child { padding-right: 0; }

#agbrow label {
	display: inline!important;
	font-size: 0.8em;
	text-transform: none!important;
}
#submitrow { 
	margin-top: 3.5em;
	text-align: right;
}

@media screen and (max-width: 585px) {
	#main form fieldset label { margin-bottom: 0.2em; }
	#main form .row.table, #main form .row.table > * { display: block; }
	#main form .row + .row { margin-top: 1.2em; }
	#agbrow *[class*="col-"]:first-of-type { display: none!important; }
}

/* PRINT STYLES */
@media print {
	* { background: transparent!important; color: black!important; text-shadow: none!important; filter:none!important; -ms-filter: none!important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " [" attr(href) "]"; }
	abbr[title]:after { content: " [" attr(title) "]"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100%!important; }
	@page { margin: 1.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
	/* custom print styles */
	#header, #aside, #footer, #copyright { display: none; }
	main { background: none; box-shadow: none; margin: 0; }
	main article  { float: none; font-size: 16pt; padding: 0; width: 100%; }
	.slidebox dd { display: block!important; }
}