@charset "utf-8";

/*Rücksetzung*/
* {
    margin: 0px;
    padding: 0px;
}


body {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    background: #fff;
    color: #313131;
    font-size: 76%;
    line-height: 1.4em;
}

a {
      color: #06c;
}

em {
	font-style: normal;
	font-weight: bold;
}

/*Textarea erbt die Schrift nicht automatisch, dann eben ausdrücklich von der Form:*/
form textarea  {
    font: inherit;
    font-size: 110%;
}

/*Überschriften*/
h1 {
    color: #0066CC;
    font-size: 150%;
    font-weight: bold;
    margin: .1em 0 1em 0;
}


h1 a:link:focus, h1 a:visited:focus, h1 a:link:hover,
h1 a:visited:hover, h1 a:active, h1 a:visited:active  {
    background-position: left -24px;
    text-decoration: none;
}

h2 {
    color: #0066CC;
    font-size: 150%;
    font-weight: normal;
}

h3 {
    font-size: 115%;
    font-weight: bold;
    margin: 1em 0 2em 0;
    padding: 10px 0 3px 0
}

h4 {
    color: #0066CC;
    font-weight: bold;
    margin: 1em 0 1em 0;
    padding: 10px 0 3px 0
}

/* Logo Homepageheader */
header {
    background-image: url(../img/bgH.gif);   
    background-position: right 7px;	
    display: flex;
	flex-flow: row wrap;
	margin: 0 auto;
	max-width: 95em;
	padding-left: 15px;	
	padding-top: 7px;
    justify-content: space-between;	
}

header {
	flex: 1 100%;
}

hr {
    background: #3991E6 none repeat scroll 0 0;
    color: #3991E6;
    height: 2px;
    border-width:0;
}

img {
   border: none
}

p  {
   padding: 1em 0;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1em 0;
}

td {
    border: 1px solid #ccc;
    padding: 1px .5em 1.4px 1px;
    vertical-align: top;
}

td.centered {
	text-align: center;
}

td.amount,
td.ralign,
.ralign td {
	text-align: right;
}

td.sum, td.prominent	{
	font-weight: bold;
}

table .buttons {
    border:none;
}

.buttons td {
    border:none;
}

tr.odd td {
	background-color: #ededed;
}


/* Tabellenspalten */
col.img    {
    width: 30px
}
col.short    {
    width: 50px
}
col.xshort    {
    width: 60px
}
col.medium    {
    width: 125px
}
col.xmedium    {
    width: 160px
}
col.large    {
    width: 200px
}
col.xlarge    {
    width: 250px
}
col.xxlarge    {
    width: 300px
}

col.colxlarge    {
    width: 800px
}


/* Listen */
ul ol {
   list-style: none;
}


/*******************    Helper-Klassen ***************************************/

.blue {
    color: #3991E6;
}

.clearboth{ clear: both; }

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.content {
    padding: 20px 0;
}

.disabled {
    cursor: default;
    pointer-events: none;
}

.error, .warning {
   color: red;
}

/* Inhalt nebeneinander anzeigen (auch Block-Elemente z.B. forms) */
.flexcontainer {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
 } 

.generalerror {
	color: red;
	font-weight: bold;
}

.green {
    color: green;
}

/* dunkelgrau bold */
.greybold {
    color: #585858;
    font-weight: bold;
}

.larger {
    font-size: 1.2em
}

/* orange */
.lighted {
    color: #FF6633;
}

/* Verhindert Zeilenumbrüche*/
.nowrap  {
    white-space: nowrap;
}





.right   {
   margin-left: 1em;
}

.solblau {
   color: #0066CC;
}


/* Abgesetzter Absatz */
.solo {
	margin: 1em 0;
}

.success
 {
   color: #008757; /* Dunkelgrün zu 06c */
}

.success a:link,
.success a:visited {
   color: #008757; 
   text-decoration: none;
}

.success a:hover,
.success a:active {
	text-decoration: underline;
}

/* hellgrau */
.solgrey {
    color: #808080;
}

/* Der Hinweis aufs Testsystem in indexiframestart */
.testinfo {
    color: #903;
    font-size: 16px;
    font-weight: bold;  
}


/****************************** Ab hier IDs ***********************************/

/* CPV-Code Seite */
#background-box {
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    padding: 15px 19px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 2em;
    float: left;
    width: 75em;
}


/* ~~ Die inneren Knautschzonen von main ~~ */
#inwrapright  {
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	/*border-left: 2px ridge #ccc;
    border: 1px solid #cccccc;*/
    border-radius: 5px;
    margin: 2em 1em 2em 1em;
   	padding: 1em 1em 2em 1.5em;
}

#inwrapright_no_menue  {
   padding: 3em 1em 2em 15em;
}


/* ~~    Der rechte Hauptteil  ~~ */
#main {
   background: #fff;
   float: left;
   width: 75%;
}

/* Hauptteil über die ganze Seite */
#main_big {
	background: #fff;
	box-sizing: border-box;
	padding: 2.5em 1em 2.5em 1em;
	width: 100%;
}





/* Blaues Menü alt **deprecatet**   */

#menu_main {
   background: #0066CC url(../img/bgMainMenu.gif);
   color: #fff;
   height: 40px;
   width: 100%;
}

#menu_main a  {
   border-right: 1px solid #fff;
   color: #fff;
   display: block;
   padding: 0 6px 0 3px;
   text-decoration: none;
}

#menu_main li {
   float: left;
}

#menu_main li.last a   {
   border: none;
}

#menu_main p  {
   display: inline;
   float: right;
   height: 37px;
   margin: 0;
   padding-bottom: 0;
   padding-right: 10px;
   padding-top: 3px;
   vertical-align: top;
}

#menu_main ul {
   float: left;
   list-style: none;
}

body  #menu_main .liMassnahmen a    {
   font-weight: bold;
}

/* Ende Blaues Menü deprecated <<<*/


/* Blaues Hauptmenü Neue Version */
.main_menu {
	align-items: center;
	background: #0066CC;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	height: 46px;
	padding: 0 15px 0 0;
	transition: 0.4s ease all;
	width: 100%;
}

.main_menu ul {
	height: 100%;
	margin: 0;
	padding: 0;
}

.main_menu .logo {
	cursor: pointer;
	margin: .2em 2em .2em 1em;
}

.main_menu .logo a {
	background: #fff;
	display: block;
	padding: 3px 10px 0 10px;
}


.main_menu ul.links {
	align-items: center;
	display: flex;
	height: 100%;
	list-style: none;
	margin-left: 50px;
	margin-right: auto;
	transition: 0.4s ease all, 0s ease background;
}
	
.main_menu ul.links	li {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	padding: 0 15px;
	position: relative;
	text-transform: uppercase;
	transition: 0.4s ease all, 0s ease margin;
}
		
.main_menu ul.links	li:hover {
	background: #916A29;
	cursor: pointer;
}
		
.main_menu ul.links li a {
	color: #fff;
	display: inline;
	font-size: 110%;
	text-decoration: none;
}

/*.main_menu ul.links li a:after {
  	position: absolute;
  	bottom: 8px;
  	left: 0;
  	right: 0;
  	margin: auto;
  	content: ".";
  	color: transparent;
  	background: #fff;
  	height: 2px;
  	transition: all .5s;
  	width: 0;
}*/

.main_menu ul.links li a:hover {
	color: #fff;
}

/*.main_menu ul.links li a:hover:after {
	width: 90%;
}*/

.main_menu .menuright {
	margin-right: 1em;
}

.main_menu .menuright form	{
	margin-top: 3px;
}
.main_menu .menuright input.button	{
	width: 10em;
}

.main_menu.sticky {
	position: fixed;
	z-index: 40;
}

.main_menu.sticky  ~ #main_big {
		position: relative;
		z-index: 20;
		top: 46px; /*Höhe wie menü selber*/
}

/* Highlighting Menüpunkt der aktuellen Seite */
body.bauinfo .main_menu ul.links li.liBauinfo a:after,
body.einzel .main_menu ul.links li.liEinzel a:after,
body.bieteranf .main_menu ul.links li.liBieterAnf a:after {
  	position: absolute;
  	bottom: 8px;
  	left: 0;
  	right: 0;
  	margin: auto;
  	content: ".";
  	color: transparent;
  	background: #fff;
  	height: 2px;
  	transition: all .5s;
  	width: 90%;
}

/* RESPONSIVE */

@media screen and (max-width: 1024px) {
	.main_menu .menuright {
		height: 0;
		overflow: hidden;
	}
	.toggle {
		position: absolute;
		top: 10px; 
		right: 20px;
		z-index: 99;		
		transform: translateY(-15%);		
		cursor: pointer;
		width: 40px;
		height: 40px;		
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
		
	.toggle	> * {
		width: 80%;
		height: 2px;
		background: #fff;
		margin: 3px 0;
	}
	
	.main_menu.collapsed .toggle .line1 {
		transform: rotate(-45deg) translate(-4px,5px);
	}
		
	.main_menu.collapsed .toggle .line2 {
		opacity: 0;
	}
		
	.main_menu.collapsed .toggle .line3 {
		transform: rotate(45deg) translate(-5px,-6px);
	}	
	
	.main_menu.collapsed .logo {
		position: absolute;
		z-index: 44;
	}
	
	.main_menu .links {
		position: fixed;
		background: #0066CC;
		z-index: 40;
		top: 0;
		left: -100%;
		flex-direction: column;
		width: 45vw;
		height: 100vh;
	}
		
	.main_menu .links li:first-child {
		margin-top: 47px;
	}
	
	.main_menu.collapsed .links {
		left: 0;
	}
		
	.main_menu.collapsed .links a {
		color: #fff;
	}
		
	.main_menu.collapsed .links li {
		height: 5em;
		width: 100%;
	}
			
	.main_menu.collapsed .links li:hover a {
				color: #fff;
	}
	
	.main_menu.collapsed .menuright {
		position: fixed;
		width: 45vw;
		text-align: center;
		height: auto;
		bottom: 40px;
		left: 45vw/2;
		transform: translateX(10%);
		z-index: 45;
	}
	
	.main_menu.collapsed ~ #main_big {
		filter: blur(1px);
		opacity: 0.8;
	}

	.main_menu.sticky {
		position: fixed;
		z-index: 40;
	}
	
	body.bauinfo .main_menu.collapsed ul.links li.liBauinfo a,
	body.einzel .main_menu.collapsed ul.links li.liEinzel a {
	  	font-weight: bold;
	  	text-decoration: underline;
	}
	
	body.bauinfo .main_menu.collapsed ul.links li.liBauinfo a:after,
	body.einzel .main_menu.collapsed ul.links li.liEinzel a:after {
	  	width: 0%;
	}
}


/* end Hauptmenü */

/* VU-Menü auf der linken Seite */
.menue_vu{
    float: left;
    background:  #fff;
    max-width: 320px;
    min-width: 200px;
    width: 22%;
}

.menue_vu a.button:link,
.menue_vu a.button:visited {
	color: #fff;
	display: inline-block;
}

.menue_vu a.button:hover,
.menue_vu a.button:active {
	background-color: #aaa;
}

.menue_vu form,
.menue_vu a.button:link,
.menue_vu a.button:visited {
    margin: 2em 2em 1em 2em;
}

.menue_vu nav {
    margin: 2em 2em 10em 2em;
    padding-bottom: 0.5em;
    border-radius: 4px;
    overflow: hidden;
}



/*Strip the ul of padding and list styling*/
.menue_vu nav ul {
	background: #fff;
    list-style-type:none;
    margin:0;
}

/*Create a horizontal list with spacing*/
.menue_vu nav ul li {
    display:block;
    min-width:140px;
    line-height: 27px;
}

.menu_vu_title{
    background: #0066CC;
    color: #f0f0f0;
    display:block;
    font-weight: bold;
    padding-left: 3px;
}

.menue_vu   a{
    text-decoration: none;
    display: block;
    padding-left: 6px;
}

.menue_vu   a:link, a:visited{
    border-color: #ccc #a0a0a0 #a0a0a0 #ccc;
    border-style: solid;
    border-width: 2px;
	color: #313131;

}

.menue_vu a:active{
    background-color: #C9C9C9;
	color: #313131;
}

.menue_vu a:hover{
    background-color: #C9C9C9;
    text-decoration: none;
	color: #313131;
}


/* Blaues Menü oben */
body#verwaltung #menu_main li.liVerwaltung a,
body#projekte #menu_main li.liProjekte a,
body#advs #menu_main li.liAdvs a,
body#infos #menu_main li.liInfos a,
body#hilfe #menu_main li.liHilfe a
 {
	font-weight: bold;
}



/* Highlighting Menü links  */
body.firmenlogo			.menue_vu nav ul li.lifirmenlogo a		
{
    background-color: #C9C9C9;
    font-weight: bold;
}



/************ Formulargestaltung *************************/

fieldset {
  border: 2px #3991E6 solid;
  border-radius: 10px;
  padding: 1em;
}

legend {
	color: #585858;
    font-weight: bold;
    padding: 3px;
}

input.error {
    border-color: red;
}

input[type=checkbox].aligned {
	border-width:0px;
	position:relative;
	vertical-align:middle;
	bottom:1px;
	right:2px;
}

input[type=radio] {
	border-width: 0px;
	margin-right: 1em;
	width: auto;
}

input[type=radio].aligned_radio {
	border-width:0px;
	position:relative;
	vertical-align:middle;
	bottom:1px;
	right:2px;
}

select.error {
    border-color: red;
}


/* form noform: Form, die aussieht wie ein Link */
form.noform {
	display: inline;
}

form.noform button[type=submit] {
    background: #fff; 
    border: 0 none;
    cursor: pointer;
	display: inline;
    padding: 0; 
}

form.noform button[type=submit] span:hover,
form.noform butoon[type=submit] span:active {
	text-decoration: underline;
}
/* end form.noform */ 


/***     form.modern      ***/ 
form.modern {
	clear: both;
	position: relative;
}

form.modern fieldset {
    width: 75%;
    margin: 15px 0;
}

form.modern fieldset.big {
    width: 100%;
}

form.modern fieldset.big_2 {
    width: inherit;
}

form.modern fieldset.medium {
    width: 85%;
}

form.modern label {
    color: #0066CC;
    font-weight: bold;
    display: inline-block;
    margin-top: .5em;
    vertical-align: top;
    width: 25%;
}

form.modern label.big {
   width:48%;
}

form.modern label.radio {
	width: inherit;
}


form.modern label span.sub {
	color: #313131;
	font-weight: normal;
}

form.modern input {
    border: thin solid #AAA;
    border-radius: 4px;
    display: inline-block;
    margin-top: .5em;
    padding: 3px;
    width: 25em;;
}

form.modern input.currency {
    width: 10em;
    text-align:right;
}

form.modern input.date {
    width: 10em;
}

form.modern input.error {
    border-color: red;
}

form.modern input.half {
	width: 15em;
}

form.modern input.ort {
    width: 18.5em;
}

form.modern input.plz {
    width: 5em;
}

/* rechts neben Abbrechen */
form.modern input.rightabr {
	margin-left: 1em;
	width: 19em;
}

form.modern input[type=radio],
form.modern input[type=checkbox] {
	border-width: 0px;
	margin-right: .3em;
	width: 24px;
}

form.modern select {
    display: inline-block;
    margin-top: .5em;
    padding: 2px;
    width: 25.7em;
}

form.modern select.big {
	width: 40em;
}

form.modern table th	{
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 1px .5em 1.4px 1px;
	text-align: left;
}

form.modern table td label {
	color: #414141;
	font-weight: normal;
	margin: 0;
	width: inherit;
}

form.modern textarea {
	height: 6em;
	width: 25.4em;
}

/* Quer über die Seite */

form.modern.quer input {
	margin-right: 2em;
}

form.modern.quer label {
	margin-right: .4em;
	text-align: right;
	width: auto;
}

form.modern.quer label.equal {
	width: 10em;
}
/****      end form.modern *****/



/* BUTTONS */


/* button */
.button, .button:link, .button:visited {
   background-color: #a3a3a3;
   background-image: url(../img/bgButton.png);
   background-position: bottom;
   background-repeat: repeat-x;
   border: none;
   border-radius: 4px;
   color: #fff;
   cursor: pointer;
   display: inline;
   font-size: 95%;
   font-weight: bold;
   padding: 4px 10px;
   text-decoration: none;
   text-shadow: 1px 1px #666;
   white-space:nowrap;
}

.button:hover, .button:focus {
   background-position: 0 center;
}

.button:active {
   background-position: 0 top;
   position: relative;
   top: 1px;
}

.button.blue, .button.main {
    background-color: #67A7E6; /* Sehr hell blau zu 06c */
	color: #fff;
}

.button.green {
   background-color: #00cf86; /* Grün zu 06c */
}

.button.grey {
   background-color: #a3a3a3;
}

.button.lightgrey {
    color: #f7f7f7;
    background-color: #c2c2c2;
}

.button.small {
   font-size: 75%;
   padding: 3px 7px;
}

.button.small:active {
   padding: 4px 7px 2px;
   background-position: 0 top;
}

.button.large {
   font-size: 125%;
   padding: 7px 12px;
}

.button.large:active {
   padding: 8px 12px 6px;
   background-position: 0 top;
}

/* M5335 */
.buttondisabled {
   background-color: #ddd;
   border: none;
   border-radius: 5px;
   color: #fff;
   cursor: default;
   display: inline;
   font-weight: bold;
   padding: 5px 10px;
   pointer-events: none;
   text-decoration: none;
   text-shadow: 1px 1px #999;
}


/*          **********       TABELLEN          **********            */

/* Kein Rand */
table.grid {
    font: inherit;
    font-size: inherit;
    text-align: left;
    border: none;
    text-decoration: none;
}

/*Bewerberliste*/
table.tlarge2   {
    table-layout:fixed;
    width: 1300px;
}

table.tlarge #edit  {
   width: 50px;
}

table.tlarge #nr  {
   width: 210px;
}

table.tlarge #m1  {
   width: 440px;
}

table.tlarge #m2  {
   width: 300px;
}

table.tlarge td   {
    line-height: 200%; /* damit auch Zeilen ohne Button gleich groß sind */
}

table.tlarge td.autoheight   {
    line-height: 150% /* damit auch Zeilen ohne Button gleich groß sind */
}


/* Tabelle zweizeilig links grau rechts hellgrau TODO strukturieren*/

table.datatab tr td.notable {
/* Bildchen rechts neben der Tabelle*/
   background: #fff;
   border: none;
   padding: 1px 0px;
   padding: 0 0 0 4px;
}

table.datatab   {
    width: 85%;
}
table.datatab th    {
    background: #ededed none repeat scroll 0 0;
    border-color: #ccc;
    border: 1px solid #ccc;
    color: #414141;
    padding: 2px 0.5em 2px 5px;
    text-align: left;
    min-width:18em;
}

table.datatab td    {
    vertical-align: middle;
    color: #414141;
    padding: 2px 0.5em 2px 5px;
}

table.datatab tr.heightdef {
    line-height: 25px;
}

/* Datatab mit automatischer Breite */
table.datatab.thnorm {
	margin-top: 2em;
	width: auto;
}

table.datatab.thnorm th {
	min-width: auto;
}


/* Standardtabelle mit blauer Überschriftsleiste + Button "Bearbeiten" */
.datalist1 td   {
    background: #F5F5F5;
    vertical-align: middle;
}

.datalist1 td.img a img {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.datalist1 td.imgstatus {
    text-align: center;
}


.datalist1 th {
   background-color: #3991E6; /* Heller Blau zu 06c */
   border: 1px solid #ccc;
   color: #fff;
   font-weight: normal;
   padding: 2px 1px;
   text-align: left;
   vertical-align: top;
}



