html, body {
height:101% !important; 
  font-family: 'Libre Garamond',"Open Serif","Garamond","Times New Roman",serif !important;
}

.wrapper {
/* max-width:960px !important; */
max-width: 60em !important; 
min-height:100%;
margin: 0 auto; 
overflow: hidden;
}
header {
padding:0em 0.9375em;
  min-height:15em;
  margin:0em 0;
  overflow:visible;
  }
  
header a {
  float:left;}
header  p
{
  font-family: inherit;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 1.55rem;
  margin-bottom:0.25rem;
  color:#222;
  text-rendering: optimizelegibility;
}
header h1 {
font-size:2.125em !important;
line-height: 1.55rem;
  margin:0rem 0 0.15em 0.5em !important;
  color:#1c3b86;
}
header h2 {
font-size:2.125em !important;
line-height: 1.55rem;
  margin:1.45rem 0 0.15em 0.5em !important;
  color:#fff;
}


.home {
margin-left: 2em;
margin-top:2.8em;
position:absolute;
z-index:1000;
width:100%;
}

.home img {
margin-right:0.5em;
}

div.headerimage img {
-moz-box-shadow: 0 0 10px #9f9a92;
-webkit-box-shadow: 0 0 10px #9f9a92;
box-shadow: 0 0 10px #9f9a92;
}

.start {
margin:-12em auto 0 25%;
padding-left:2em;
}
.start h4 {
color:#fff;
background:#f0a80e;
width:auto;
padding:0 0.25em;
margin:0 0 0.125em 0 !important;
}

.mitarbeiter img {
float:left;
margin:0em 10px 1.25em 0;
-moz-box-shadow: 0 0 10px #9f9a92;
-webkit-box-shadow: 0 0 10px #9f9a92;
box-shadow: 0 0 10px #9f9a92;
z-index:1000;
}

.medium-3 .mitarbeiter {
  margin-top:-10em !important;
  z-index:1000;
}

/* content */
.medium-12.columns {
margin:0.5em 0.6em 0 0.6em;
padding:0em 0em 0 0em;
position:relative;
}

.medium-12.columns p{
padding:0;
  line-height: 1.4;
  margin-bottom: 1.0rem;
}



/* rechte seitenspalte*/

#content .projekte 
{
    margin-top:1.75em;
 /*   margin-left:-1.75em; */
}

#content .objekt 
{
min-height:8em;
    clear:both;
    display:block;
    margin-top:1em;
}

#content .objekt img
{
  padding: 0;
  margin:0;
  position:absolute;
  border:solid 1px #1c3b86 ;
  z-index:1;
}

#content .textbox 
{
max-width:185px;
  line-height: 1.0;
    position:absolute;
    z-index:100;
}

#content .textbox p
{
  line-height: 1.0;
  padding:0.1rem 0.25rem;
  margin-bottom: 0rem;
  color:#fff;
  background:#1c3b86;
      z-index:100;

}




#content {
clear:both;
}
div#content.row {
margin-left:2em;
}
#content .medium-6 {
margin-top:2em;
margin-left:-1.75em;
}

h1, h2, h4, h5, h6 {
  font-family: 'Libre Garamond',"Open Serif","Garamond","Times New Roman",serif !important;
  margin:1em 0 !important;
}
h1 {
font-weight:600 !important;
font-size:1em !important;
color:#bc0019;
}
h2 {
  color: #5e5e5e;
  font-weight:300 !important;
font-size:1em !important;
}

h3 {
 color: #f0a80e;
  font-size: 1.75rem;
    font-family: 'desyrelregular' !important;

}

 .box {
  padding:0.5em 1em 0.25em 1em;
  background:#fff;
  background: rgba(255, 255, 255, 1);
height:100%;
min-height:600px;
margin-bottom:0em;
}

#nav ul {
    float:right;
}


@media only screen and (max-width: 58.125em) {  /* min-width 930px */

.wrapper {
max-width:90% !important;
}

header a
{
  float: left;
}

#nav ul
{
  float: left !important;
  margin-left:0rem  !important;
}
.start {
margin:0.5em auto 0 0;
padding-left: 1.55em;
  padding-right:0.25em;
display:block;
clear:both;
}



.start h4 {
color:#fff;
background:#f0a80e;
width:auto;
padding:0 0.25em;
margin:0 0 0.125em 0 !important;
}

.start a {
color: #fff;
line-height: inherit;
}

.start a:hover, .start a:focus {
color: #000;
}

.mitarbeiter img {
float:left;
margin:0em 10px 1.25em 0;
-moz-box-shadow: 0 0 10px #9f9a92;
-webkit-box-shadow: 0 0 10px #9f9a92;
box-shadow: 0 0 10px #9f9a92;
z-index:1000;
}

.medium-3 .mitarbeiter {
  margin-top:1em !important;
  z-index: 1000;
}

#content .medium-6
{
  margin-top: 1em;
  margin-left:0em;

  }

div#content.row
{
  margin-left: 0em;
}

#content .objekt 
{
min-height:8em;
    float:left;
    position:static;
    clear:none;
    display:block;
    margin-top:1em;
    margin-right:220px;
}

}



@media only screen and (max-width: 41.250em) {  /* max-width 660px, mobile-only styles, use when QAing mobile issues */

header h1 {
font-size:1.5em !important;
line-height: 1.55rem;
  margin:0rem 0 0.15em 0.5em !important;
  color:#1c3b86;
}
header h2 {
font-size:1.5em !important;
line-height: 1.55rem;
  margin:0.45rem 0 0.15em 0.5em !important;
  color:#dedede;
}


.home {
margin-left: 0em;
margin-top:2.35em;
position:relative;
z-index:1000;
width:100%;
}

.home img {
margin-right:0.5em;
height:100px;
}

.mitarbeiter img {
float:none;
margin:0em 10px 1.25em 0;
width:125px;
}

}

table {
  background:transparent;
  margin-top:-1em;
  margin-bottom: 0.25rem;
  border-top: solid 1px #fff; 
    border-bottom: solid 1px #fff;}
  table thead,
  table tfoot {
    background: whitesmoke;
    font-weight: bold; }
    table thead tr th,
    table thead tr td,
    table tfoot tr th,
    table tfoot tr td {
      padding: 0.35rem 0.625rem 0.625rem;
      font-size: 0.875rem;
      color: #222222;
      text-align: left; }
  table tr th,
  table tr td {
    padding: 0.35625rem;
    font-size: 0.875rem;
    color: #222222; }
  table tr.even, table tr.alt, table tr:nth-of-type(even) {
    background: #transparent;   border-top: solid 1px #fff; 
    border-bottom: solid 1px #fff; }
  table thead tr th,
  table tfoot tr th,
  table tbody tr td,
  table tr td,
  table tfoot tr td {
    display: table-cell;
    line-height: 0.85rem; }
    
img.fright
{
  float:left;
  margin-right:1em;
  margin-bottom:1em;
  display:block !important;
}
    
.clearing-assembled .clearing-container .carousel ul {
position:relative;
left:15px !important;
}    

.clearing-assembled .clearing-container .carousel ul li
{
margin-right:15px;
}

.clearing-blackout, .clearing-assembled .clearing-container .visible-img, .clearing-assembled .clearing-container .carousel
{
  background-color: #dedede !important;
  }
 
  .clearing-assembled {
  padding-top:2em;
  }
 .clearing-thumbs img {
 width:195px;
   height:130px;
  margin:0 0 0.5em 0 ;
  float:left;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
 }
.clearing-thumbs a {
  height:130px;
  overflow:hidden;
 }
 
 .visible-img img {
 -webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
 
@media only screen and (max-width: 40em)  /* max-width 640px, mobile-only styles, use when QAing mobile issues */
{ 

}

@media only screen and (min-width: 40.063em) { /* min-width 641px, medium screens */



} 


.formtextfield {
height:8em !important;
}
.formblock {
clear:both !important;
}

span.check {float:left;}
span.check label {padding:0rem !important;
}

input[type="checkbox"] {
margin-right:0.5rem !important;
float:left;
}

label {
margin:0rem !important;
padding:0.5rem 0rem 0rem 0rem  !important;
clear:both !important;
}
input[type="text"], textarea {
margin:0rem !important;
padding:0rem !important;
height: 2.3125rem;
}

.button {
  background-color: #cecece;
  }
  
  button:hover, button:focus, .button:hover, .button:focus
{
  background-color: #bc0019;
}



ul
{
  margin-left: 1.0rem !important;
}
  
body {
  color:#6e6e6e;
      
}


/* navigation tapfriendly */


#nav {z-index:500;   
}


#nav ul li {
    list-style: none;
    margin:0.5em 0 0.5em 0;
margin-right:0.25em;
}
.rex-navi1 li a {
    color: #5e5e5e;

}

.rex-navi1 li a:hover {
  color: #1c3b86;

}
.rex-navi1 li a.current {
  color: #1c3b86;
   }

#nav > a {
	/* 		display: none; */
}

#nav li	{
			position: relative;
}

#nav li a {
			display: block;
			text-decoration: none;
/*display: inline;*/
    padding:0 5px 5px 5px;
    font-weight:600;
    transition: background 0.3s ease-out; /* explorer 10 */
    -webkit-transition: background 0.3s ease-out; /* chrome & safari */
    -moz-transition: background 0.3 ease-out; /* firefox */
    -o-transition: background 0.3 ease-out; /* opera */
}
					
#nav ul:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}


			/* first level */

#nav > ul {
font-size:1em !important;
/* height:2.75rem; 
margin:0 0 0 0; */
}

#nav > ul > li {
width:auto;	
  height: 100%;
  float:left;
}
#nav > ul > li > a	{
/* height:2.75rem; */
				text-align: center;
}
#nav > ul > li:first-child > a {
							border-left: 1px solid #fff;
}
#nav > ul > li:not( :last-child ) > a {
							border-right: 1px solid #fff;
}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							/* background-color: #cc470d; */
						}

				

@media only screen and ( max-width: 62.5em ) /* 1000 */ {
#nav {
				width: 100%;
				position: relative;
				margin: 0 0 1em 0;
}
}

@media only screen and ( max-width: 40em ) /* 640 */
		{
			html
			{
			/*	font-size: 75%; /* 12 */
			}

	
		}



/*alt */






#nav ul li ul li{
    float: none;
}

#nav ul li:hover > a {
 color: #000;
}

#nav ul li ul li a {
    color: #5e5e5e;
}

#nav ul li ul li a:hover{
}



/* subnav */

.medium-5 ul  {
    list-style: none;
    padding:0;
    margin:0;
}
.medium-5 ul a  {
color:#626262;
}
.medium-5 ul .current , .medium-5 ul .active  {
  background: #fff;
  color:#3aaaa9;
}

figure { display: block; background: #fff; padding: 0px; }

form
{
  margin-top: 0.85em !important;
}

a[rel~="external"] {
  target-new: tab;
}

#html5-text {font-size:12px !important;}

#html5-lightbox-overlay {background-color: rgb(040, 155, 154) !important; opacity: 0.8 !important;}

.back {
float:left;
}


@font-face {
    font-family: 'desyrelregular';
    src: url('desyrel-webfont.eot');
    src: url('desyrel-webfont.eot?#iefix') format('embedded-opentype'),
         url('desyrel-webfont.woff') format('woff'),
         url('desyrel-webfont.ttf') format('truetype'),
         url('desyrel-webfont.svg#desyrelregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
