/*
Theme Name: Das Silo
Author: Yellobit, Test
Author URI: http://www.yellobit.de/
Description: Das Silo
Version: 1.0
*/

/* css reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;    
    color: rgb(80,80,80);   
    font-family: Verdana, Arial, sans-serif;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

header navul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

h1, h2, p, ul, ol {line-height: 1.3em;}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	/*display: inline-block;*/
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/************ Das Silo **********/
body {
    background-color: #8f8f8f;
}
.wrapper {
    width: 100%;
    background-color: #fff;
    height: 70px;
    box-shadow: 0 6px 3px -3px rgba(0,0,0,0.2);
    position:fixed;
    z-index:10;
    /* shadow only bottom: 
    what ever you set the blur to (3rd value), 
    set the spread (4th value) to the negative of it.*/   
}
#header-wrapper{
    width: 100%; 
    max-width:1140px;
    margin: 0 auto;    
}
header {    
    position:fixed;     
    top:0;
    z-index: 10;
    width: 100%;
    max-width:1140px;
    height: 70px;  
    background-color: #fff;
}
header a.logo {
      width: 17.5%;
      float:left;
      max-height:70px;
      display:block;     
      padding-left:2.5%;
      position:relative;
}
header a.logo img {
    height: 40px;
    width: auto;  
    padding-top: 15px;
}
header nav {width: 80%;height:100%;float:left;}
header nav #responsive_menu_button {
    display:none;    
}
header nav ul li {
    width: 25%;
    float:left;
    position:relative;
    list-style-type:none;
    display:inline-block;
    text-align:center;
    height: 100%;
    line-height: 65px;}
header nav ul li a {
    text-decoration:none;color: #333;
    display:inline-block; height:100%;width:100%;
    border-top: 5px solid transparent;
    letter-spacing:0.0em;
    font-size:0.9em;}
/* pvg 20150601
Aenderung letter-spacing:0.05em; auf 0  */
header nav ul li a:hover,
header nav ul li.current-menu-item a,
header nav ul li.current-menu-parent a
{border-color: #c31926;}
header nav ul li ul{
    position:absolute;
    top: 100%; 
    width:100%; 
    text-align:center;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2); 
    transition: opacity 0.4s ease-in-out 0s;
    opacity:0;
}
header nav ul li:hover ul, header nav ul li a:hover ul {    
    opacity: 1;
}

header nav ul li ul li {
    display:block; 
    float:none; 
    position:relative; 
    height: 40px;
    line-height:40px;
    width: 100%;
    }
header nav ul li ul li a {border-top:none;font-size:0.9em;letter-spacing:0.05em;}
header nav ul li ul li a:hover,
header nav ul li ul li.current-menu-item a
{background-color: #fff;}

/*********** article ***********/
article {
    clear:both;
    width: 100%;    
}
.section-wrapper{
    background-color: #fff; 
    padding:0;
}
section {    
    clear:both;        
    width: 100%;
    padding: 140px 100px 70px 100px;
    max-width: 940px;
    margin: 0 auto;   
    background: #fff url(images/verlauf_300.png) repeat-x bottom left;
}

div.content-column img,
div.content-column div.wp-caption
{max-width: 100%;height: auto;}

div.content-column.one_half {
    width: 50%;
    padding-right:3%;
}
div.content-column.one_half.last_column{
    width: 47%;
    padding-right:0;
}

/*** Special Home-Template ****/
body.home .section-wrapper.grey{
    background-color: #8f8f8f; 
    padding:0;
    line-height:0;
}
body.home section {
    padding:70px 100px; 
    background: #fff;
}
body.home .section-wrapper.grey section {
    padding: 70px 0 0 0;
    background:#a4a4a4;
    max-width: 1140px;
}
body.home section div.left {
    width: 20%;    
    float:left;        
    color: #fff;
    padding:2.5%;    
}
body.home section div.left > * {color: #fff;
                                font-size:0.85em;
                                letter-spacing:0.05em;}
body.home section div.left a {
    color: #fff;
    text-decoration:underline;
}
body.home section div.left a:hover {text-decoration:none;color: #ddd;}
body.home section div.left h1 {    
    margin-bottom: 0;
    padding-bottom:0;
    border-bottom:none;    
    line-height: 1.6em;
}
body.home section div.left p {
    line-height: 1.6em;
}
body.home section img.home {
    width: 75%;
    height: auto;  
}
body.home #diashow {width:75%;height:auto;display:inline-block;}

body.home section p img {padding-bottom: 20px;}
body.home section p {
    font-size:0.85em;
}

/* normal page */
.section-wrapper {background-color: #e0e0e1;}
section  h1 {
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: normal;  
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(80,80,80);
}

section ul,section ol {
    margin: 1em 2em;
}

section div.col-left {
    float:left;
    width:50%;
    margin-right:3%;
}
section div.col-left img {
    width: 100%;
    height:auto;
}

section div.col-right {
    float:left;
    width: 45%;
}

section div.content-column > *{    
    font-size: 0.85em;
    letter-spacing:0.05em;
    line-height:1.7em;
}

section a {color: #c31926; text-decoration:none;}
section a:hover {color: #c31926; text-decoration:underline;}

img.alignleft {
    float: left;
    margin: 0 1.5em 1em 0;
}

#gallery-1 .gallery-caption {
    display:none;
}
section #gallery-1 .gallery-item {
    width: 30%;
    margin: 0 10px 2% 0;
}

section div.textwidget {
    position:relative;
}
#factsheet {
    z-index: 9;
    position:absolute;
    right:10px;
    top:10px;
    height: 95px;
    width: 95px;    
}

iframe {max-width: 100%;}

.soliloquy-container .soliloquy-controls-direction  .soliloquy-next {
    background: transparent url("images/right.png") no-repeat scroll 50% 50%;
}
.soliloquy-container .soliloquy-controls-direction  .soliloquy-prev {
    background: transparent url("images/left.png") no-repeat scroll 50% 50%;
}

/*************** footer ************/
#footer-wrapper {    
    width: 100%;    
    background-color: #8f8f8f;
}

footer {
    margin: 10px auto;
    width: 100%;    
    max-width: 1140px;
    clear:both;
    position: relative;        
    font-size:0.9em;
    color: #fff;
    text-align:center
}

footer div.widget {
    width: 20%;
    float:left;
}
footer div.widget:first-child {
    margin-left: 15%;
}

footer p {
    float:left;
    width:45%;
    margin-left:2%;
    color: #fff;
}
footer nav {
    text-align:left;
}
footer nav ul li {
    list-style-type:none;    
    line-height: 2em;
}
footer nav ul li a {
    text-decoration:none;    
    color: #fff;
}
footer nav ul li a:hover {
    text-decoration:underline;
}

@media (max-width: 1140px) {
    section,body.home section {
        max-width: 90%;
        padding: 140px 5% 70px 5%;
    }
}

@media (max-width: 900px) {
    body.home section div.left {
        width: 30%;
        
    }
    body.home #diashow, body.home section img.home {width: 65%;}
}

@media (max-width: 750px) {
    header a.logo {width:50%;text-align:left;padding-left:3%;}
    body.home section div.left {
        width: 100%;
        padding-left:0;
        padding-right:0;
        float:none;
    }
    body.home section img.home {
        width: 100%;
        float:none;
        padding-bottom: 15px;
    }
    body.home #diashow {
        width: 100%;
    }
    body.home .section-wrapper.grey {
        background-color: #a4a4a4;
    }
    
    header nav #responsive_menu_button {
        display:block;
        width: 32px;
        height: 21px;
        background: transparent url(images/mobile-navi.png) no-repeat top left;    
        position:absolute;
        right:25px;
        top:25px;
        cursor: pointer;
    }
    header nav ul {
        display:none;
        position:absolute;
        right: 25px;
        top: 70px;
        background-color: #fff;  
        min-width:200px;
    }
    header nav ul li {
        width: 100%;
        float:none;
        text-align:left;
        display:block;
        clear:both;
        line-height:35px;
    }
    header nav ul li a {
        width: 80%;
        padding: 0 10%;
        display:block;
    }
    header nav ul li a:hover,
    header nav ul li.current-menu-item a,
    header nav ul li.current-menu-parent a{
        border-color: #fff;
    }
    header nav ul li ul {
        display:none;
        position:relative;
        top:0;
        left:0;
        opacity:1;
        transition: none;
        box-shadow:none;
    }
    header nav ul li ul li a {padding-left:20%;width:70%;}
    
    section {
        max-width: 94%;            
        width: 94%;
        padding: 110px 3%;
    }
    footer {max-width:94%;padding: 0 3%;}
    
    body.home footer {
        padding-top:0;        
    }
    
    footer div.widget {
        width: 24%;
        float:left;
    }
    footer div.widget:first-child {
        margin-left: 2%;
    }
}
@media (max-width: 600px) {
    section div.col-left,section div.col-right,div.content-column.one_half,
    div.content-column.one_half.last_column {    
        width: 100%;        
        float:none;
        margin-right:0;
    }
    section div.col-right > * {
        width: 94%;
    }
    section div.col-left {
        margin-bottom: 10px;
    }
    #factsheet {
        top: 5px;
        right:0px;        
        width:70px;
        height:70px;
    }
    #factsheet img {
        width:100%;
        height: auto;
    }
}

@media (max-width: 600px) {
    footer div.widget,footer div.widget:first-child {
        width: 45%;
        margin: 0 0 30px 5%;        
    }
}