/**
 * main.css
 *
 * 0. Fonts
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 *
 */

/*********************************************************************
 * 0. Fonts
 *
 */

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-800 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/raleway-v28-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-800.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-800.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-italic - latin */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/raleway-v28-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-italic.svg#Raleway') format('svg'); /* Legacy iOS */
}

/*********************************************************************
 * 1. General HTML tags
 *
 */
* {
  box-sizing: border-box;
}

:root {
	--primary: #012640;
	--secondary: #95cbf5;
	--bg: #ebebeb;
}

body {
	margin: 0 auto;
	background-color: white;
}

body, td, input[type=text], textarea {
  font-family: 'Raleway', sans-serif;
  font-size: 100%;
  line-height: 1.8em;
  color: var(--primary);
}

img {
	 max-width: 100%;
}

h1 {
	color: white;
	line-height: 1.2em;
	margin: 0;
	padding: 0 1em;
}

h2 {
  font-weight: bold;
  padding-top: 1em;
}

h3 {
	padding-top: 1em;
}

a {
  color: var(--primary);
}
a:hover {
  color: var(--secondary);
}

blockquote {
  margin-left: 0;
  padding-left: 1.5em;
  padding-right: 2em;
  font-style: italic;
  color: #777;
}

pre, code {
  background: var(--bg);
}

pre {
  font-size: 14px;
  line-height: 1.4em;
  padding: 1em;
}

/*********************************************************************
 * 2. Masthead area
 *
 */
.logo {
	display: block;
	float: left;
	width: 3em;
	height: 3em;
	margin: 0.5em 0;
}

.header {
	background-color: white;
	width: 100%;
	padding: 1em 2em;
}

.menu {
	margin: 0;
	padding: 0;
	overflow: hidden;
	clear: both;
	max-height: 0;
	transition: max-height 0.2s ease-out;
	list-style: none;
	text-align: left;
	font-size: 150%;
}

.menu li.current a {
  color: ;
}
.menu li.edit a {
  color: #ccc;
}
.menu a {
  padding: 0.25em;
  text-decoration: none;
  display: block;
  color: var(--primary);
}
.menu a:hover {
  color: var(--secondary);
}

/* menu icon */
.menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 2em 0.5em;
  position: relative;
  user-select: none;
}
.menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}
.menu-icon .navicon:before, .menu-icon .navicon:after {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}
.menu-icon .navicon:before {
  top: 5px;
}
.menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */
.menu-btn {
  display: none;
}
.menu-btn:checked ~ .menu {
  max-height: 340px;
}
.menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}
.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before, .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */
#main {
  padding-top: 0;
  margin: 0 auto;
  clear: both;
  min-height: calc(100% - 175px);
}

#content {
  width: 100%;
  float: center;
  min-height: calc(100vh - 10em);
  background-color: var(--bg);
  padding-bottom: 1em;
}

.cover {
  margin: 0;
  padding: 2em 0;
  color: var(--bg);
  background-color: var(--primary);
}

.content {
  width: 100%;
  padding: 0em 2em;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}

#sidebar {
  width: 100%;
  float: none;
  padding-bottom: 2em;
  padding-top: 1em;
}
#sidebar ul {
  list-style: none;
  padding-left: 0;
}
#sidebar li.featured {
  list-style-type: none;
}

.nav {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.nav .nav {
  padding-left: 1.5em;
}
.nav li {
  margin: 0;
}
.nav a {
  font-weight: bold;
}
.nav .current > a {
  color: #333;
}

.nav-tree li {
  margin-top: 0;
  margin-bottom: 0;
}
.nav-tree li a {
  color: #777;
}

.letter {
  padding: 20%;
}

figure {
  display: table;
  width: 1px;
  margin: 1em 0;
}

figure img {
  display: table-row;
  margin-bottom: 0.5em;
}

figure figcaption {
  display: table-row;
  font-size: smaller;
  color: #777;
  line-height: 1.4em;
}

.home-cover {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0;
	margin: 0;
	width: 100%;
	background-color: var(--primary);
}

.slideshow-container {
	width: 100%;
	height: 250px;
	position: relative;
	object-fit: cover;
}

.prev, .next {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	top: 0;
	width: auto;
	height: 100%;
	padding: 2em 2em 2em 1em;
	color: white;
	font-weight: bold;
	font-size: 18px;
	user-select: none;
}

.next {
	right: 0;
	padding: 2em 1em 2em 2em;
}

.prev:hover {
	background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.1));
}

.next:hover {
	background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1));
}

.slides {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slides img {
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: cover;
}

.slides .title {
	font-size: 1em;
	width: 100%;
	color: white;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.4) 100%);
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 1em 1.5em;
	padding-top: 3em;
	padding-right: 5em;
}

.home-cover .text {
	height: 50%;
	width: 100%;
	color: var(--bg);
	background-color: var(--primary);
	padding: 2em;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.home-cover h1 {
	padding: 0;
	margin: 0;
	line-height: 110%;
	font-size: 2em;
	font-weight: bold;
}

.home-cover h2 {
	font-weight: normal;
	font-style: italic;
	line-height: 150%;
	font-size: 0.8em;
}

.basic-img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

/*********************************************************************
 * 3.1 Immo Grid
 *
 */
.immo-grid {
  width: 100%;
  padding: 0em 2em;
  margin: 2em 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;

  list-style: none;
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.immo-card {
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  max-width: 600px;
  background-color: white;
  display: flex;
  flex-direction: column;
  object-fit: cover;
}

.immo-card a {
  padding: 1em;
  text-decoration: none;
  height: 100%;
}

.immo-card img {
  object-fit: cover;
  width: 100%;
  border-radius: 0;
}

.immo-card .title {
	font-size: 110%;
	font-weight: bold;
	line-height: 1.3em;
}

.immo-card .summary {
  font-size: 70%;
  line-height: 1.5em;
}

.immo-card:hover {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px 1px;
  transform: scale(1.01);
}

/*********************************************************************
 * 4. Footer
 *
 */
#footer {
	color: var(--bg);
	background-color: var(--primary);
	font-size: 80%;
	width: 100%;
	padding: 1em 0;
	margin: 0;
	
}

#footer a {
	color: var(--bg);
}
/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */
@media only screen and (min-width: 1000px) {
	/*
	.slideshow-container {
		padding-right: 2em;
		transition: 0.3s ease;
	}

	.next {
		right: 2em;
		transition: 0.3s ease;
	}

	.slides .title {
		width: calc(100% - 2em);
		transition: 0.3s ease;
	}
	*/
}

@media only screen and (min-width: 767px) {
	/* desktop layout */
	body, td, textarea {
		font-size: 100%;
	}

	.header {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		max-width: 1000px;
		margin-right: auto;
		margin-left: auto;
	}

	.header .logo {
		float: left;
	}

	.header li {
		float: left;
		margin: 0;
		padding: 0;
	}

	.header .menu-icon {
		display: none;
	}

	.menu {
		font-size: 100%;
		clear: none;
		max-height: none;
	}

	.menu :not(:last-child) {
		padding-right: 1em;
	}

	#footer {

	}

	h1 {
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}

	.immo-card h4, .immo-card p {
		font-size: 70%;
	}

	.home-cover {
		width: 100%;
		height: 500px;
		justify-content: center;
		flex-direction: row;
	}

	.slideshow-container {
		height: 100%;
		width: 100%;
		max-width: 700px;
		object-fit: cover;
		margin: 0;
		padding: 0em 2em;
	}

	.basic .slideshow-container {
		margin-top: 2em;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
		max-width: 1000px;
	}

	.next {
		right: 1.8em;
	}

	.slides img {
		height: 100%;
		width: 100%;
	}

	.slides .title {
		width: calc(100% - 4em);
	}

	.home-cover .text {
		margin: 0;
		height: 100%;
		width: 300px;
	}

	.home-cover h1 {
		font-size: 3em;
	}

	.basic-page {
		display: grid;
		grid-template-columns: 3fr 400px;
		grid-template-rows: 250px auto;
		column-gap: 1.5em;
	}

	.basic-img {
		height: 400px;
		width: min(calc(100% - 4em), calc(1000px - 4em));
		max-width: 1000px;
		margin: 2em max(2em, calc(50% - 500px + 2em));
		margin-bottom: 0;
	}

	.basic-page-body {
		grid-column-start: 1;
		grid-column-end: span 1;
		grid-row-start: 1;
		grid-row-end: span 2;
	}
	.basic-page-body * {
		margin-top: 0;
	}

	.basic-page {
		grid-template-columns: 3fr 250px;
		column-gap: 1.5em;
	}
}

@media only screen and (min-width: 1200px) {
  /* extra-wide desktop layout */
  body, td, textarea {

  }
}
/*********************************************************************
 * 6. Accessibility helpers
 *
 */
/* Hide visually, but remain approachable for screenreader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  white-space: nowrap;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
}

/* Show bypass link on hover */
.element-focusable:focus {
  clip: auto;
  overflow: visible;
  height: auto;
}

/* Sample styling for bypass link */
.bypass-to-main:focus {
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #333;
  color: #fff;
}

/*# sourceMappingURL=main.css.map */

