/* CSS Document */

@import "/bootstrap/css/bootstrap.css";

html {
  font-size: 16px;
}

body {
	padding-top: 0px;
	margin-top: 0px;
	overflow: auto;
	position: relative;
	left: 0px;
	top: 0px;
	background-image: url(../images/back_top.png);
	background-repeat: repeat-x;
	background-position: left top;
	font-family: 'Open Sans',sans-serif; /*'Lato',Arial, Helvetica,*/
	background-color: #333333;
  line-height: 1.5em;
  font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #666666;
  text-align: left;
  font-weight: bold;
}

h3 {
  font-size: 95%;
}

hr {
	border-top: 1px solid #333333;
	margin-bottom: 5px;
}

input[type="reset"], .rot {
	background-color: red;
	color: white;
}

div.meldungen {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: rgba(0,0,0,0.5);
	z-index: 10000;
	align-content: center;
}

div.meldungen div.md {
	display: block;
	margin: auto;
	width: 40%;
	min-height: 200px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
	border-radius: 4px;
}

div.meldungen div.md div.teil {
	display: flex;
	width: 100%;
}

div.meldungen div.md div.symbol {
	display: flex;
	width: 25%;
	height: auto;
	margin: 2em;
}

div.meldungen div.md div.symbol img {
	width: 100%;
}

div.meldungen div.gruen {
	background-color: mediumaquamarine;
}

div.meldungen div.rot {
	background-color: lightpink;
}

div.meldungen div.md div.meldungstext {
	display: flex;
	font-size: 100%;
	margin-top: auto;
	margin-bottom: auto;
	padding: 2em;
}

div.meldungen div.md button {
	width: 100%;
	margin: 0 1em 1em;
}

/*div.meldungen div img {
	display: flex;
	height: 100%;
	width: 100%;
	margin-top: auto;
	margin-bottom: auto;
}*/

div.ueber, div.unter {
	display: flex;
	font-weight: bold;
	color: #222222;
	background-color: #cccccc;
	width: 100%;
	padding: .3em;
	margin-bottom: 1em;
}

div.unter {
	text-align: center;
	display: flow-root;
}

div.drittel {
	display: grid;
	width: 32.666%;
	float: left;
	margin-right: 1%;
}

div.drittel:last-child {
	float: right;
	margin-right: 0;
}

div.drittel button {
	width: 100%;
}

div.viertel {
	display: grid;
	width: 24.25%;
	float: left;
	margin-right: 1%;
}

div.viertel:last-child {
	float: right;
	margin-right: 0;
}

div.viertel button {
	width: 100%;
}

.upper {
  text-transform: uppercase;
}

.normal {
	font-weight: normal;
	color: #222222;
	font-style: normal;
	font-size: 1em;
}

.fett {
	font-weight: bold;
}

.rand {
	padding: 1em;
}

.platz {
	padding-left: 3em;
}

.breit {
	width: 300px;
}

button {
	color: black;
}
input.ganz {
	margin: .5em 0;
	width: 100%;
}

input:invalid {
	color: red;
    border: 1px solid red;
}

/***** Bilder vergrößern *****/

*.vgr {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	position: sticky;
}

*.vgr:hover {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	-o-transform: scale(2);
	transform: scale(2) translate(-40px);
	z-index: 1999;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

div.img:nth-child(4n+1) div.vgr:hover {
	transform: scale(2) translate(40px);
}

div.img:nth-child(4n+2) div.vgr:hover, div.img:nth-child(4n+3) div.vgr:hover{
	transform: scale(2) translate(0);	
} 


/***** Boxen *****/

div.box_kopf {
  font-family: Arial;
  font-size: 16px;
  font-weight: bold;
  font-style: italic;
  display: flow-root;  
  padding: 20px 10px 5px 10px;
  text-align: left;
  background-color: #000000;
  border-radius: 4px 4px 0 0;
  color: white;
}

div.links {
	float: left;
	display: flex;
}

div.rechts {
	float: right;
	display: flex;
}

/***** Menü *****/
div.menue {
	position: relative;
	margin: 0.5em 0 0 0;
	padding-bottom: 10px;
	background-color: #FFFFFF; /*#0033CC;*/
	border: 1px solid #888888;
	border-radius: 5px;
	color: #AAAAAA;
}

div.menue div.punkte {
	height: 2.2em;
	padding-left: 10px;
	line-height: 2.2em;
	border-bottom: 1px solid #DDDDDD;
}

/***** Login *****/

div.login {
	position: relative;
	background-color: #FFFFFF; /*#0033CC;*/
	border: 1px solid #888888;
	border-radius: 5px;
	color: #AAAAAA;
	margin: 1em 0;
}
/* Loginbox formatieren */

div.login_box {
	padding: 10px;
	color: #000000;
	display: block;
	position: relative;
}

input.login_input {
	float: right;
	background-color: #DADADA;
	border: 1px solid #AAA;
	height: 1.25em;
    width: 60%;
  }

div.login_inner {
	display: flow-root;
	position: relative;
	color: #333333;
	margin: 3px;
	padding: 0;
}

div.box {
	height: auto;
	float: left;
	border: 1px solid #888888;
	border-radius: 4px;
	background-color: #FFFFFF;
	margin: 0 0 0 .5rem;
	width: 99%;
}

/***** Ende Boxen *****/

/* Newsletter */

div.newsletter {
	border-top: 1px solid #aaaaaa;
	border-left: 1px solid #aaaaaa;
	border-right: 1px solid #aaaaaa;
	display: flow-root;
	line-height: 1.5em;
	padding: .2em .5em;
}

div.newsletter:last-child {
	border-bottom: 1px solid #aaaaaa;
}

div.newsletter div {
	display: table-cell;
	float: left;
	min-width: 5em;
}

div.newsletter div:nth-child(2) {
	min-width: 20em;
}

div.newsletter div:last-child {
	float: right;
}
/** Objektausgabe alle/kauf/miet **/

/* neue Darstellung Kauf-/Mietangebote */


div.anzeigebereich {
	position: relative;
	width: 98%;
	margin: 0 auto;
}

div.objekt {
	text-align: left!important; 
	width: 32%;
	margin: 1em 1%;
	float: left;
}

div.objekt:nth-child(3n+1){
	margin-left: 0;
}

div.objekt:nth-child(3n){
	margin-right: 0;
}


div.objektNR {
	font-weight: bolder;
	display: block;
	line-height: 2em;
	padding-left: .2em;
	background-color: #e3dcc3;
}

.knopf {
	float: right;
	padding-right: 0.3em;
}

div.objekt_bild {
	width: 100%;
	margin-bottom: 0.3em;
	position: relative;
}

div.objekt_bild img {
	aspect-ratio: 3/2;
}

div.ecke {
	position: absolute;
	top: 0;
	right: 0;
	width: 25%;
}

div.ecke img {
	aspect-ratio: 1/1;
	width: 100%;
}

/* Ausgabe Einzelobjekte und Bilder*/

div.alle_werte {
	width: 100%;
	background-color: #ccc;
	margin: .5em 0;
	padding: 1em;
	display: flow-root;
}

div.alle_werte img {
	max-width: 300px;
}

div.alle_werte div {
	display: flow-root;
	min-width: 20%;
	max-width: 40%;
	float: left;
	padding-right: 2em;
}

div.alle_werte div:last-child {
	padding-right: 0;
}

div.werte_oben {
	display: flex;
}

div.werte_links {
	display: flow-root;
	width: 65%;
}

div.zweispalten {
	display: flex !important;
}

div.zweispalten div:first-child {
	width: 9%;
	margin: auto 0;
	text-align: end;
	padding-right: 1.6em;
}

div.zweispalten div:last-child {
	width: 91%;
}

div.werte_rechts {
	display: flow-root;
	width: 34%;
	margin-left: 1%;
}

div.werte {
	display: flow-root;
	margin: 0;
	padding: 0;
}

div.werte div.img {
	width: 24.25%;
	margin: 0.5%;
	float: left;
	background-color: #dddddd;
}

div.werte div.pdfimg {
	height: 100%;
	display: flex;
}

div.werte div.img img {
	width: 100%;
	aspect-ratio: 3/2;
}

div.werte div.pdfimg img {
	width: auto;
	display: grid;
	margin: .2em auto;
}

div.werte div.img div.inp {
	padding-left: 0.5em;
}

div.werte div.pdfimg div {
	display: grid;
}

div.werte div.img:first-child {
	margin-right: .5% !important;
	margin-left: 0;
}

div.werte div.img:nth-child(4n) {
	margin-right: 0;
}

div.werte div.img:nth-child(4n+1) {
	margin-left: 0;
}

div.werte select {
	min-width: 180px;
}

div.werte div.feld {
	display: contents;
}

div.mittig {
	margin: 2em;
}

.text_area {
	width: 100%;
	height: auto;
	resize: vertical;
	overflow: auto;
}

label {
	width: 185px;
}

label.kurz {
	width: auto;
}

div.werte_rechts input[type=submit] {
	display: grid;
	width: 100%;
}

/* Ende */

/* gleichhohe Boxen */

div.aussen {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
}

div.innen {
	display: flex;
	margin: .5em;
	padding: .5em;
	width: 24.25%;
	float: left;
	background-color: #dddddd;
}

div.innen:first-child {
	margin-left: 0;
}

div.innen:last-child {
	margin-right: 0;
}

div.innen div.innen_ges, div.bild {
	display: grid;
}

div.bild {
	padding-bottom: 5%;
}

div.unten {
	display: grid;
	align-self: end;
	
}

div.innen div.bild img {
	margin: 0 auto;
	max-width: 100%;
}

.container, .container_menu {
  position: relative;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  height: 100%;
  display: flow-root;
}

.head {
  background: transparent;
}

.header_links {
	height: 165px;
	margin-top: 0px;
	padding-top: 0px;
	background-image: url(../images/higru_header_links_2.png);
	background-repeat: no-repeat;
	background-position: center top;
	margin-bottom: 0px;
  display: block;
}

.header_rechts {
	display: none;
}

.inhalt_links {
  position: relative;
  float:left;
  width: 19%;
  margin: 0;
  background-color: #333333;
  display: none;
}

.inhalt {
    margin: 0;
    padding: 1em 0;
    width: 100%;
	display: flow-root;
	border-left: none;
 }


/****** Begin Responsive ******/

@media (min-width: 768px) {
 .container {
   width: 768px;
   padding-left: 20px;
   padding-right: 20px;
 }
}

@media (min-width: 992px) {
 .container, .container_menu {
   width: 992px
 }

 .inhalt {
    width: 80%;
    float: right;
  }
  
  .inhalt_links {
    display: flow-root;
  }

  .header_links {
   	height: 165px;
   	margin-top: 0px;
   	padding-top: 0px;
   	background-image: url(../images/higru_header_links_2.png);
   	background-repeat: no-repeat;
   	background-position: left top;
   	margin-bottom: 0px;
    float: left;
    display: block;
    width: 35%;
  }
  .header_rechts {
  	height: 165px;
  	margin-top: 0px;
  	padding-top: 0px;
  	/*background-image: url(../images/higru_header_rechts.png);*/
  	background-repeat: no-repeat;
  	background-position: right top;
  	margin-bottom: 0px;
    float: right;
    display: block;
    width: 65%;
  }
  
  .header_rechts img {
	width: 75%;
	text-align: right;
	float: right;
  }
}
  
@media (min-width: 1200px) {
  .container, .container_menu {
    width: 1200px
  }
  
@media (min-width: 1400px) {
 .container, .container_menu {
  width: 1400px;
 }
 
 .header_rechts {
  	width: auto;
 }
}