/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #413932;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body, html {
	display: block;
	position: relative;
	top:0;
	left:0;
	background: #f0f0e8;
	width:100%;
	font-family: 'source_sans_proregular';
	font-size:16px;
}

div#pagewrap {
	display: block;
	position: relative;
	top: 0;
	width:960px;
	margin-left: auto;
	margin-right: auto;
	background: #fcfcfa;
	height: 100%;
	
  border: solid 1px #ccc;
}

header{
  height: auto;
background: #000000; /* Old browsers */
background: -moz-linear-gradient(left,  #000000 0%, #413932 46%, #413932 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#000000), color-stop(46%,#413932), color-stop(100%,#413932)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  #000000 0%,#413932 46%,#413932 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  #000000 0%,#413932 46%,#413932 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  #000000 0%,#413932 46%,#413932 100%); /* IE10+ */
background: linear-gradient(to right,  #000000 0%,#413932 46%,#413932 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#413932',GradientType=1 ); /* IE6-9 */

  color: #fcfcfa;
  padding: 8px;
	font-family: 'source_sans_probold';
}
#logo {
	text-align: center;
	width:306px;
}

h1#ctitle{
  font-size:44px;
  line-height:46px;
  margin:0;
  padding:0;
}
h2#csubline{
  font-size:32px;
  line-height:34px;
  margin:0;
  padding:0;
}
h2#cclaim{
	font-family: 'source_sans_proregular';
  font-size:14px;
  line-height:20px;
  margin:0;
  padding:0;
  color: #f39e27;
}

h3, h4{
  font-weight: normal;
  font-family: 'source_sans_probold';
  margin:0;
  padding:0;
}

h4.subtitle{
  margin: 10px 0;
}

div.row{
  margin-top: 20px;
}
div.logo{
  background-size: 128px 124px;
  width: 128px;
  height: 124px;
}
div.text, div.logo{
  display: inline-block;
  position: relative;
}
div.text{
  padding-left: 0px;
  width: 440px;
  vertical-align: top;
}

#catalogue{display: none;}
#projects{display: none;}
#imprint{display: none;}
#schutzkappe{display: none;}

section{
  position: absolute;
  display: block;
  left: 20px;
}

section#catalogue {
    height: 840px;
    overflow:scroll;
}

.contactLabels {
  display: inline-block;
  width: 64px;
}

#heaticon{
  background-size: 100px 100px;
  background:url(img/heat.png);
  background-repeat: no-repeat;
}

#snowicon{
  background-size: 100px 109px;
  background:url(img/snow.png);
  background-repeat: no-repeat;
}

#noiseicon{
  background-size: 78px 110px;
  background:url(img/noise.png);
  background-repeat: no-repeat;
}

#fireicon{
  background-size: 80px 88px;
  background:url(img/fireicon.png);
  background-repeat: no-repeat;
}

nav{
  text-align: right;
  padding: 4px 8px;
}

nav div.navitem {
  padding:0 16px;
  cursor: pointer;
}

.active{
  color: #f39e27;
}

#content {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width:100%;
}

.error{
  border: solid 1px red;
}

div#pagecontent{
  width: 100%;
  padding: 8px;
}
div#left{
  display: inline-block;
  width:33%;
  vertical-align: top;
}

div#right{
  display: inline-block;
  position: relative;
  width:60%;
  vertical-align: top;
  padding-left: 32px;
}
label,
p.text,
div.text{
  font-family: 'source_sans_prolight';
}

#imprint div.text{width: 100%;}

nav div.navitem,
footer div.footeritem{
  display: inline-block;
}
footer{
  font-family: 'source_sans_prolight';
  font-size:14px;
  padding:8px;
}

div.row{
  width: 100%;
}
.label,
.textinput{
  display:inline-block;
}
.label{
  width: 30%;
  vertical-align: top;
}
.textinput,
.textarea {
 
  width: 66%;
}

.contactBtn{
  width: 99%;
  background: #f0f0e8;
  border: solid 1px #ccc;
  height: 44px;
  font-size:1.17em;
  margin-bottom:32px;
}


div#separator {
  height: 1px;
  background: #413932;
  width: 100%;
}

div#banner{
  background-image:url(img/banner.jpg);
  width: 576px;
  height: 108px;
}

#projectsContainer{
  display: block;
  position: relative;
  width: inherit;
  height: 712px;
  overflow-y: scroll;
}
.pelement{
  display: inline-block;
  position: relative;
  width:268px;
  height: 210px;
  overflow: hidden;
  vertical-align: top;
}

.project,
.project img{
  width: 260px;
  margin: 12px 16px 0 0;
}
.project{
  width:268px;
  cursor: pointer;
}
.project img{
  border: solid 4px #f0f0e8;
}
.pelement div.subline{
  padding: 0 8px;
  background:#f0f0e8;
  color: #413932;
}

#imprint {overflow-y: scroll; height: 712px;}
a.project{
  width:268px;
  padding: 0;
  color: #fcfcfa;
  text-decoration: none;
}

#callBtn a, #mailBtn a{
  display: none;
  position: relative;
  width: 100%;
  height: 44px;
  font-size: 28px;
  background: #f39e27;
  padding: 0 8px;
  margin-bottom: 8px;
  text-align: center;
  text-decoration: none;
  color: #413932;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

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

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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