/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html
{
	box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

::-moz-selection
{
	background: #b3d4fc;
	text-shadow: none;
}

::selection
{
	background: #b3d4fc;
	text-shadow: none;
}

hr
{
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video { vertical-align: middle; }

fieldset
{
	border: 0;
	margin: 0;
	padding: 0;
}

textarea { resize: vertical; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
/* Fonts
-------------------------------------------------- */
/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('../fonts/open-sans-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('../fonts/open-sans-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v15-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* Iconfont
-------------------------------------------------- */

@font-face {
  font-family: 'standard';
  src: url('../fonts/standard.eot?96260235');
  src: url('../fonts/standard.eot?96260235#iefix') format('embedded-opentype'),
       url('../fonts/standard.woff2?96260235') format('woff2'),
       url('../fonts/standard.woff?96260235') format('woff'),
       url('../fonts/standard.ttf?96260235') format('truetype'),
       url('../fonts/standard.svg?96260235#standard') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

a.scrolltotop:before,
#mobilemenu:before,
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'standard' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  margin-right: .1em;
  width: 1em;
  text-align: center;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a.scrolltotop:before
{
	content: "\e800" " ";
	font-family: "standard";
  	font-style: normal;
  	font-weight: normal; 
  	margin: 1em .25em;
}

#mobilemenu:before
{
	content: "\f0c9" " ";
	font-family: "standard";
  	font-style: normal;
  	font-weight: normal; 
}

/* Links
------------------------------------------------------------------------------------------------- */

a,
a:visited
{
	color: #0A4674;
	text-decoration: none;
}

a:hover,
a:focus,
a:active 
{ 
	color: #ccdcf1;
	text-decoration: none;
}

#main a,
#main a:visited
{
	color: #0E67AC;
	text-decoration: none;
}

#main a:hover,
#main a:focus,
#main a:active 
{ 
	color: #ccdcf1;
	text-decoration: none;
}


/* Grid12
--------------------------------------------------------------------------- */

.grid-container
{
	width: 100%;
}

.row:before, 
.row:after
{
	clear: both;
	content: "";
	display: table;
}

[class*='col-']
{
	float: left;
	min-height: 1px;
	width: 16.66%;
	padding: 15px;
}

.col-1 { width: 8.33333333333%; }
.col-2 { width: 16.6666666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.3333333333%; }
.col-5 { width: 41.6666666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.3333333333%; }
.col-8 { width: 66.6666666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.3333333333%; }
.col-11 { width: 91.6666666667%; }
.col-12 { width: 100%; }

.right
{
	float: right;
	margin-left: 10px;
}

.center
{
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.gap
{
	margin-right: 10px;
}



/* Schriften
------------------------------------------------------------------------------------------------- */

body
{
	font: 16px/1.6 'Open Sans', sans-serif;
}

nav
{
	font-size: 1.2rem;
	font-weight: 600;
}

nav .submenu
{
	font-size: 1rem;
}

h1,
h2,
h3
{
	font-weight: 300;
}

footer .inner
{
	font-size: 12px;
}

/* Farben
------------------------------------------------------------------------------------------------- 

Blau: #0a4674
Hellblau: #CCDCF1
Gelb: #F7C51F

*/

body
{
	background-color: #fff;
}

#wrapper
{
	background-color: #fff;
}

header, 
footer
{
	color: #555;
}

main
{
	color: #555;
}

h1,
h2,
h3
{
	color: #0a4674;
}

/* Layout
------------------------------------------------------------------------------------------------- */
html,
body
{
	height: 101%;
}

body
{
	margin: 0;
}

#wrapper
{
	width: auto;
	padding-top: 2.5rem;
	padding-bottom: 8rem;
}

header
{
	width: 100%;
}

#top .inner,
nav,
main,
footer .inner,
.up
{
	max-width: 1400px;
	margin-right: auto;
	margin-left: auto;
}

#logo
{
	width: 22%;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 20px;
}

#logo a img
{
	border: none;
}

#nav
{
	margin-top: 0.5rem;
}

main
{
	display: block;
	margin-top: 50px;
	margin-bottom: 20px;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

main .up
{
	clear: both;
}

/* Button
-------------------------------------------------- */

a.button
{
	background-color: #0a4674;
	color: #fff !important;
	display: inline-block;
	padding: 0.15em .5em;
	line-height: 2em;
	margin: .5em 0;
}

/* Card
-------------------------------------------------- */

.largeimage #wrapper
{
	padding: 2rem 0;
}

.largeimage #logo
{
	width: 50%;
	float: none;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0;
}

.largeimage main
{
	margin-top: 0;
	margin-bottom: 10px;
	padding: 10px;
}

.largeimage main img
{
	max-width: 400px;
}

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

.largeimage #footer
{
	padding: 10px;
}

.largeimage #nav-service .reparaturmeldung,
.largeimage #nav-service .download,
.largeimage #nav-service .referenzen
{
	display: none;
}

/* Portrait schmal
-------------------------------------------------- */

.largeimage.small img
{
	max-width: 100%;
	height: 100%;
}
/* Headlines
--------------------------------------------------------------------------- */

h1 
{ 
	font-size: 2em; 
	margin-bottom: 0;
}

h2
{
	font-size: 1.7em;
}

h3
{
	font-size: 1.5em;
	margin: 2em 0 0 0;
}

main h1 + h3 { margin-top: 0; }
main h2 + h3 { margin-top: 0; }

main h2.abstand
{
	margin-bottom: 2em;
}

/* Bilder
--------------------------------------------------------------------------- */
img
{
	width: 100%;
	height: auto;
}

figure
{
	margin: 0;
}

figcaption
{
	font-size: 1em;
	padding: 0 .5em 0 .5em;
}

figure img
{
	width: 100%;
}

/* Team
-------------------------------------------------- */

#team .grid-container .row
{
	padding-bottom: 1rem;
}

figure h3
{
	font-size: 1em;
	margin-top: 0;
	margin-bottom: 1rem;
}

/* Header
-------------------------------------------------- */
#home .illustration
{
	border-top: 7px solid #F7C51F;
	border-bottom: 7px solid #F7C51F;
	outline: 1px solid #E99D0E;
	clear: both;
}

.illustration
{
	border-top: 5px solid #F7C51F;
	border-bottom: 5px solid #F7C51F;
	outline: 1px solid #E99D0E;
	clear: both;
}

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

/*! http://responsiveslides.com v1.32 by @viljamis */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
}


/* Top
--------------------------------------------------------------------------- */
#top
{
	background-color: #fff;
}

/* Navigation
--------------------------------------------------------------------------- */

#mobilemenu
{
	display: none;
	float: right;
	font-size: 2em;
	padding: 0 1rem;
	text-align: right;
}

nav
{
	float: right;
	padding-top: 2em;
	text-transform: uppercase;
	width: 70%;
}

nav ul  a
{
	padding: 0 .5em;
	line-height: 2.5;
}

nav ul 
{
	list-style: none;
	margin: 0;
	padding: 0;
}

nav > ul
{
	float: right;
	display: inline;
	text-align: right;
}

nav > ul > li
{
	display: inline;
}
		
.submenu 
{
	display: none;
	position: absolute;
	right: calc((100% - 1400px)/2);
	border-top: 1px solid #ccc;
}

.submenu li
{
	display: inline;
}

.verkauf .submenu.verkauf,
.vermietung .submenu.vermietung,
.verwaltung .submenu.verwaltung,
.wir .submenu.wir
{
	display: block;
	
}

.verkauf nav > ul,
.vermietung nav > ul,
.verwaltung nav > ul,
.wir nav > ul
{
	border-bottom: 1px solid #ccc;
	margin-bottom: 3em;
}

.verkauf nav a.verkauf,
#wohnimmobilien nav a.wohnimmobilien,
#gewerbeimmoblilien nav a.gewerbeimmobilien,
.vermietung nav a.vermietung,
#wohnraum .submenu .wohnraum,
#gewerbe .submenu .gewerbe,
#staedtische-grundstuecke .submenu .staedtische-grundstuecke,
.verwaltung nav a.verwaltung,
#erbbaurechte nav a.erbbaurechte,
#wiederkaufsrechte nav a.wiederkaufsrechte,
#unbebaute-grundstuecke nav a.unbebaute-grundstuecke,
#kleingaerten nav a.kleingaerten,
#hafencity nav a.hafencity,
.wir nav .wir,
#team nav .team,
#generationen nav .generationen,
#ausbildung nav .ausbildung
{
	color: #bbb;
}

#reparaturmeldung .servicenav a.reparaturmeldung,
#download .servicenav a.download,
#referenzen .servicenav a.referenzen,
#datenschutz .servicenav a.datenschutz,
#kontakt .servicenav a.kontakt
{
	color: #000;
}

/* Main
--------------------------------------------------------------------------- */

/* Listen
-------------------------------------------------- */

#main ul {
	list-style-image: url(../media/gladigau-immobilien-raute.gif);
}

#main li {
	margin: 10px 0;
}

/* iFrame
-------------------------------------------------- */

iframe {
	border: 1px solid #ccc;
	height: 500px;
	width: 100%;
	margin-top: 2em;
}

/* Table
-------------------------------------------------- */

table 
{
	width: 100%;
}
	
thead
{
	background: #0a4674;
	color: #fff;
}

tbody tr:nth-child(even) {
  background-color: #D2E4FC;
}

tbody tr:nth-child(odd) {
  background-color: #f0f0ed;
}

tr
{
	border-bottom: 1px solid #999;
}

th, td 
{
	padding: 10px;
	text-align: center;
}

.gesamt
{
	font-weight: bold;
}

/* Karte Verkauf
-------------------------------------------------- */

#karte_gladigau_verkauf
{
	max-width: 523px;
}

/* Referenzen
-------------------------------------------------- */
#referenzen .box
{
	padding: 2em 0;
}

#referenzen .box h3
{
	margin-top: 0;
	font-size: 1.5em;
}

#referenzen .box .illu
{
	float: right;
}

#referenzen .box .illu img
{
	max-width: 300px;
	margin-left: 2em;
}

/* Hervorhebung
-------------------------------------------------- */
.kasten
{
	background: #f4f4f4;
	border: 1px solid #aaa;
	padding-right: 1.5em !important;
	padding-left: 1.5em !important;
	margin-bottom: 1em;
}

/* Webdesigner
-------------------------------------------------- */

#webdesigner {
	font-size: 12px;
	margin: 3em 0 5em 0;
}

#webdesigner .logo {
	float: left;
}

#webdesigner .logo img {
	width: 60px;
	height: auto;
	margin-right: 5px;
}

#webdesigner a,
#webdesigner a:visited {
	color: #78aa52;
	text-decoration: none;
}

#webdesigner a.color, 
#webdesigner a.color:visited
{
    color: #555;
    text-decoration: none;
}

#webdesigner a:hover,
#webdesigner a:focus,
#webdesigner a:active,
#webdesigner a.color:hover,
#webdesigner a.color:focus,
#webdesigner a.color:active { color: #5a8837; }

/* Scrolltotop
-------------------------------------------------- */
a.scrolltotop
{
	background-color: #fff;
	font-size: 2em;
	opacity: 0.85;
	position:fixed;
	bottom: 2em;
	border-radius: 1em;
	border: 2px solid #0a4674;
	padding: 0em .15em .15em .15em;
}

@keyframes pulse {
  from {
    opacity: .95;
  }

  to {
    opacity: .7;
  }
}

.scrolltotop {
  animation-duration: 2s;
  animation-delay: 0.25s; 
  animation-name: pulse;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/* Footer
--------------------------------------------------------------------------- */
#footer
{
	border-top: 4px solid #F7C51F;
	border-bottom: 4px solid #F7C51F;
	padding: 1em 0 1em 0;
}

#footer .inner
{
	
}

.instagram-logo
{
	width: 25px;
	margin-left: 10px;
	float: right;
	position: relative;
	right: 15px;
}

/* Servicemenü
-------------------------------------------------- */

#nav-service
{
	font-size: 14px;
	clear: both;
}

#nav-service ul { padding: 0; }
#nav-service li { display: inline; }

#nav-service a,
#nav-service a:visited
{
	color: #666;
	padding: 6px 1em 6px 0;
	text-decoration: none;
	text-transform: uppercase;
}

#nav-service a:hover,
#nav-service a:focus,
#nav-service a:active { color: #0a4674; }

/* Addresse
-------------------------------------------------- */
#footer .adresse
{
	margin-right: 60px;
}

/* 
------------------------------------------------------------------------------------------------- */

/* 1400px
--------------------------------------------------------------------------- */

@media only screen and (max-width: 1440px)
{

	#top .inner,
	.submenu,
	main,
	#navrepeat,
	footer .inner,
	.up
	{
		margin-left: 30px;
		margin-right: 30px;
	}
	
	.submenu 
	{
		right: 0;
	}
	
}

/* 1024px
--------------------------------------------------------------------------- */

@media only screen and (max-width: 1024px)
{	
	#logo
	{
		float: none;
		width: 30%;
	}
	
	nav
	{
		width: 100%;
	}
	
	
	.table-wrapper
	{
		overflow: scroll;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
}

/* 850px
--------------------------------------------------------------------------- */

@media only screen and (max-width: 850px)
{
	[class*='col-']
	{
		padding: 10px;
	}
	
	.col-1 { width: 33.33%; }
	.col-2 { width: 50%; }
	.col-3 { width: 50%; }
	.col-4 { width: 100%; }
	.col-5 { width: 100%; }
	.col-6 { width: 100%; }
	.col-7 { width: 100%; }
	.col-8 { width: 100%; }
	.col-9 { width: 100%; }
	.col-10 { width: 100%; }
	.col-11 { width: 100%; }
	.col-12 { width: 100%; }
	
	main
	{
		margin-top: 10px;
	}
	
	nav a,
	nav a:visited 
	{ 
		background-color: #0a4674;
		color: #fff;
		line-height: 3em;
		padding: 0 1em; 
	}
	
	nav a:hover,
	nav a:focus,
	nav a:active
	{
		color: #ccc;
		text-decoration: none;
	}
		
	#mobilemenu { display: block !important; }
	#mobilemenu:hover { cursor: pointer; }
	nav.hideit { display: none; }
	
	nav 
	{ 
		clear: both;
		border: none;
		float: none;
		width: 100% !important; 
		margin: 0 !important;
		padding: 0 !important;
	}
	
	nav > ul
	{
		display: block;
		float: none;
		text-align: left;
		border: none;
	}

	nav > ul > li
	{
		display: block;
	}
	
	nav li
	{
		background-color: #0a4674;
		width: 100%;
		padding: 0;
		margin-left: 0;
	}
	
	.submenu 
	{
		border: none;
		position: relative;
		padding: 0;
		right: 0;
		width: 100%;
		margin-left: 0;
	}
	
	.submenu li
	{
		padding-left: 2em;
		display: block;
	}
	
	.verkauf nav > ul,
	.vermietung nav > ul,
	.verwaltung nav > ul,
	.wir nav > ul
	{
		border-bottom: none;
		margin-bottom: 0;
	}
	
	#top .inner
	{
		margin: 0;
	}
	
	nav,
	main,
	#navrepeat,
	footer .inner,
	.up
	{
		margin-left: 10px;
		margin-right: 10px;
	}
	
	#footer .adresse
	{
		margin-right: 40px;
	}
	.instagram-logo
	{
		width: 20px;
		right: 15px;
	}
	
	#referenzen .box .illu
	{
		float: none;
	}
	
	#referenzen .box .illu img
	{
		margin-left: 0;
		margin-bottom: 1em;
	}
	
	#nav-service li
	{
		padding-top: 6px;
		padding-bottom: 6px;
		line-height: 2.5em;
	}
	
}
/* 600
--------------------------------------------------------------------------- */
@media only screen and (max-width: 600px)
{	
	.col-1 { width: 100%; }
	.col-2 { width: 100%; }
	.col-3 { width: 100%; }
	
	#logo
	{
		width: 50%;
	}
	
	nav,
	main,
	#navrepeat,
	.up
	{
		margin-left: 5px;
		margin-right: 5px;
	}
}
/* 480px
--------------------------------------------------------------------------- */

@media only screen and (max-width: 480px)
{	
	
}

/* 320px
--------------------------------------------------------------------------- */

@media only screen and (max-width: 320px)
{
	
	nav
	{
		font-size: 18px;
		line-height: 2em;
	}
	
	nav li { display: block; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden
{
	display: none !important;
	visibility: hidden;
}

.visuallyhidden
{
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus
{
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible { visibility: hidden; }

.clearfix:before,
.clearfix:after
{
	content: " ";
	display: table;
}

.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

.nowrap { white-space: nowrap; }

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print
{
	*,
	*:before,
	*:after
	{
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a,
	a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	a[href^="#"]:after,
	a[href^="javascript:"]:after { content: ""; }

	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; }

	p,
	h2,
	h3
	{
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 { page-break-after: avoid; }
}
