/* CSS Resets */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}article,aside,figure,figure img,figcaption,hgroup,footer,header,.projects ,section,video,object{display:block}a img{border:0}figure{position:relative}figure img{width:100%}


body {
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-weight: 400;
color: #4a4a4a;  
background: #fff;
font-size: 0.85em;
line-height: 1.5em;

}

h1 {
font-weight: normal;
color: #0029a5;
font-size: 1.5em;
line-height: 1.6em;
}

p {
margin:0 0 0.5em 0;
}

a {
color: #4a4a4a;
}

a:hover {
color: #0029a5;
text-decoration: none;
}

a:hover img {
-webkit-transition:opacity 0.2s ease-in-out; 
-moz-transition:opacity 0.2s ease-in-out;
-o-transition:opacity 0.2s ease-in-out;
transition:opacity 0.2s ease-in-out;
opacity:0.8;
filter:alpha(opacity=80);
}

h1 a {
color: #0029a5;
text-decoration: none;
}
h1 a:hover {
text-decoration: underline;
}

hr {
border: 0;
border-top: 1px dashed #191da3;
}

.clear {
clear: both
}

img {
max-width: 100%;
height: auto;
}

/**********/


#page {
width: 100%;
max-width: 1180px;
}

header {
color: #0029a5;
margin: 50px 0 0 20px;
padding: 0 0 8px 170px;
color: #0029a5;
}

header .inner {
border-left: 1px dashed #191da3;
padding: 15px 0 15px 50px;
}



header #logo h1 a {
display: block;
width: 217px;
height: 41px;
background: url(../img/logo-freiraumx.svg) no-repeat;
background-size: 217px;
}

header #logo h1 a span {
display: none;
}

header #logo h1 {}

header .slogan {
display: block;
padding: 5px 0 0 0;
font-weight: bold;
font-size: 1.13em;
}

footer {
color: #0029a5;
font-size: 11px;
margin: 8px 0 0 230px;

padding: 15px 0;
clear:both;
}

/* nav */

#navigation {
margin: 35px 15px 0 15px;
display: block;
}

#navigation a {
text-decoration: none;
}

#navigation ul {
margin: 0;
}

#navigation ul ul {
margin: 0 0 0 10px;
}

#navigation ul li {
list-style-type: none;
}

#navigation ul li {
margin: 8px 0;
}

#navigation ul ul li {
margin: 4px 0;
}

#navigation ul li a.active-trail {
color: #0029a5;
text-decoration: underline;
}

#navigation li:nth-child(2),
#navigation li:nth-child(5) {
  margin-bottom: 30px;
}

/* cols */

#container {}

#sidebar {
border-top: 1px dashed #191da3;
float: left;
width: 162px;
margin: 0px -180px 0 20px;
position: relative;
}

#main {
border-top: 1px dashed #191da3;
margin: 0 20px 0 198px;
padding: 8px 0 0 0;
}

#main .inner {
border-left: 1px dashed #191da3;
margin: 0 0 0 -8px;
padding: 0 0 30px 7px;
width: 100%;
}

#main .inner .content {
max-width: 600px;
margin: 0px 42px;
padding: 20px 0;
}



/* project overview */


.projects ul {
padding: 10px 0 0 0 ;
}

.projects li {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;  

list-style-type: none;
display: inline-block;
background: #ccc;
width: 33.33%;
border-left: 10px solid #fff;
margin: 0 0 14px 0;
}

.projects li a {
position: relative;
display: block;
}

.projects li a span {
display: none;
}
/*
.projects li a:hover span {
display: block;
position: absolute;
bottom: 10px;
left: 0;
width: auto;
background: rgb(0, 0, 0);
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 2px 10px 2px 5px;
}
*/
.projects li a:hover {
background: #000;
}

.projects li a:hover img {
opacity:0.3;
filter:alpha(opacity=30);
}

.projects li a:hover span {
display: block;
width: 100%;
position: absolute;
top:50%;
color: #fff;
text-align: center;
margin: -10px 0 0 0;
padding: 0;
background: transparent;
}

.projects li a img {
width: 100%;
height: auto;
vertical-align: top;
}



/* slider */

#slider {
  width:100%;
  /*width: 100% !important;*/
  /*width: auto;*/
/*  height: 400px;*/
  /*height: 600px;*/

/*  margin: -30px 0 30px -30px;*/
}

#slider img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.royalSlider {
   /*width: 100% !important;*/
   /*max-width: 900px;*/
     /*height: 400px;*/
}

/*.royalSlider img { max-width: none !important; }.*/





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

header {
margin: 20px 0 15px 42px;
padding: 0;
}

header .inner {
border: 0;
padding: 0;
}

footer {
margin: 0 20px;
padding: 15px 0;
}



#container {}

#sidebar {
/*border-top: 1px dashed #191da3;*/
border:0;
float: none;
width: auto;
margin: 0 0;
padding: 0 0;
}

#main {
border:0;
border-bottom: 1px dashed #191da3;
margin: 0px 0px;
padding: 8px 0;
}

#main .inner {
border: 0;
margin: 0;
padding: 0;
}

#main .inner .content {
max-width: 600px;
margin: 20px 42px;
}





.projects li {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;  

list-style-type: none;
display: inline-block;
background: #ccc;
width: 50%;
border-right: 10px solid #fff;
margin: 0 0 14px 0;
}







#navigation {
margin: 0px;
padding:0;
/*position:relative;*/
/*
min-height:40px;
z-index:10;
*/
}

#navigation #menu-toggle a {
display: block;
padding:10px 10px 10px 42px;
background: #0029a5;
color: #fff;
border-bottom: 1px solid #fff;
}

#navigation #menu-toggle a {
}


#navigation a {
color: #fff;
text-decoration: none;
}

#navigation ul {
width: 100%;
/*position: absolute;*/
top: 0;
left: 0;
margin: 0px;
padding: 0px;

display: none;
}


#navigation ul li {
list-style-type: none;
margin:0 !important;
padding:0;
}

#navigation ul li a {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; 

width:100%;
display:block;
background: #4a4a4a;
color: #fff;
padding: 10px 10px 10px 42px;
border-bottom: 1px solid #bbb;
}

#navigation ul li a.active {
background: #bbb;
color: #fff;
text-decoration: none;
}

#navigation ul li:hover a {
background: #0029a5;
color: #fff;
text-decoration: none;
}


}



.contact-form {
margin: 0 42px 40px 42px;
}


.contact-form label {
display: block;
font-size: 0.9em;
margin: 10px 0 0 0;
padding: 0 0 0 3px;
}

.contact-form label .form-required {
color: #0029a5;
}

.contact-form input.form-text,
.contact-form textarea.form-textarea {
border: 1px solid #ccc;
border-radius: 3px;
width: 350px;
max-width: 100%;
padding: 5px 8px;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
color: #888;
font-size: 1em;
box-sizing: border-box;
}

.contact-form textarea.form-textarea {
width: 350px;
max-width: 100%;
height: 100px;
box-sizing: border-box;
}

.contact-form input:focus.form-text,
.contact-form textarea:focus.form-textarea {
color: #4a4a4a;
border: 1px solid #4a4a4a;

}

.contact-form input.form-submit {
border: 0;
width: auto;
margin: 10px 0 0 0 ;
padding: 5px 8px;
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
color: #4a4a4a;

font-size: 1em;
background: #ccc;
border-radius: 3px;
}

.contact-form input:hover.form-submit {
cursor: pointer;
background: #0029a5;
color: #fff;
}


.messages {
margin: 0 0 0 42px;
}

.messages.error {
background: #b73939;
border-radius: 5px;
color :#fff;
padding: 10px 5px;
width: 350px;
}

.messages.status {
background: #FFEFBF;
border-radius: 5px;
color: #4a4a4a;
padding: 10px 15px;
width: 350px;
}



.element-invisible {
display: none;
}


#main ul {
margin: 10px 0 10px 20px;
padding: 0 0 0 00px;
}