/*
 * MTihl:   _custom.css
 * @author: 2017 Wolfgang Webermann
 */

/*
 * background-color: silver / #ecebed
 */

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Open Sans", sans-serif !important;
    line-height: 1.6em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif !important;
    margin: 0.7em 0 1.7em;
}

.site-description h1 {
    font-size: 18px /*25px*/;
    color: #555;
}

h1, .h1 {
    font-size: 36px;
}

h2, .h2 {
    font-size: 20px;
    font-weight: bold;
}

h3, .h3 {
    font-size: 16px;
    font-weight: bold;
}

p.scroll-to-top a {
    color: #555;
}

/* Header */
header.header {
    position: relative;
    z-index: 0;
    text-align: center;
}

header.header .header-inner img {
    width: 110px;
    margin: 45px 0 0;
}

.header .brand .site-title {
    font-size: 1.25em;
    line-height: 1.5em;
    color: #777;
}
    
/* Spalte links*/
.aside-fixed-top {
    width: 100%;
}
.moduletable_portrait {
    padding: 15px;
    margin-top: 20px;
    color: #777;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
}

/* Navigation */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
    max-height: 310px;
}

.nav li a {
    color: #555;
    padding: 11px;
}

.navbar-nav {
    margin-top: 30px;
}
.nav > li > a:hover,
.nav > li > a:focus,
.nav li a.page-scroll:hover,
.nav li.active,
.nav li.current,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #ecebed; 
    font-weight: bolder;
}

/* Content */
.segment {
    min-height: 100%;
    padding: 20px 0 40px;
    text-align: center;
    line-height: 1.9em;
    background-color: #ecebed;
    border-top: 30px solid #fff;
    border-bottom: 20px solid #fff;
}

#arch-anim-intro {
    padding: 0;
}

img {
    max-width: 100%;
    max-height: 700px;
}

.figcaption {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.8em;
    /*font-style: italic;*/
    margin: -5px 0 15px;
}

@media (min-width: 1024px) {
    
    /* Header */
    header.header {
        text-align: left;
    }
    header.header .header-inner {
        max-width: 100%;
        margin: 0 0 0 2.5em;
    }
    header.header .header-inner img {
        margin: 30px 0 0 100px;
    }

    /* Linke Spalte */
    .aside-fixed-top {
        position: absolute;
        bottom: 0;
        width: 25%;
    }
    .moduletable_portrait {
        border: 0;
        padding: 0 0.5em 0 10px;
        border-left: 2.3em solid #ecebed;
        text-align: justify;
    }
    .moduletable_portrait img {
        margin: 0;
    }
    
    /* Navigation */
    .navbar-fixed-top .navbar-collapse,
    .navbar-fixed-bottom .navbar-collapse {
        max-height: 340px;
    }
    .navbar-fixed-top {
        height: 100%;
        left: 85%;
        z-index: 0;
        background: #fff;
    }
    .navbar-collapse {
        margin-top: 150px;
    }
    .navbar-nav {
        width: 100%;
    }
    .navbar-nav li {
        float: none;
    }
    .navbar-nav > li > a {
        padding: 7px 0 7px 20px;
        font-style: italic;
    }
   
    /* Content */
    #content {
        position: relative;
        left: 26%;
        width: 58%;
    }
    #content .container {
        width: 100%;
        padding: 0 5%;
    }
    #content .bareHeader {
        width: 100%;
        padding: 0 5%;
    }
  
    /* Footer */
    #footer {
        position: relative;
        z-index: 0;
        padding: 0.5em 0 1.4em;
        text-align: center;
        color: #777;
        font-size: 0.9em;
    }
    
    /* scroll-to-top */
    .scroll-to-top {
        position: fixed;
        z-index: 0;
        right: 20px;
        bottom: 10px;
    }
}
