/*  Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  12012018
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

html,
body,
ul { /* ul to be help-block full left */
    margin:0;
    padding:0;
    background-color: #FFF; /* color def for form */
    font: normal 16px 'PT Sans', Arial, sans-serif; /* no color def for form! */
    line-height: 1.4;
    color: #000; }

li {
    list-style-type: none; } /* for text-danger in form */

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0; }

a {
    color: #000; }

a:hover,
a:focus {
    color: #000; }
a,
a:hover,
.navbar,
.navbar.shrink,
a.navbar-brand span,
a.navbar-brand.shrink span {
    text-decoration: none;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
        transition: all 0.5s; }

/* ==========================================================================
   HTML-EDITOR (REDACTOR)
   ========================================================================== */
.flex-article-full h1 {
    margin-top: 10px; }

h1,
h2 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: 1px; }

p,
.vcard {
    margin: 0 0 20px; /* Bootstrap */
    line-height: 1.4; }

p strong {
    font-weight: 700; }

p:last-child {
    margin-bottom: 0; }

.flex-article-full p {
    /*margin: 0 auto;*/
    text-align: center;
    max-width: 1130px; }

.flex-article-half img,
.flex-article-full img,
.photo-container img {
    display: block;
    width: 100%;
    height: auto; }

.flex-article-half img,
.flex-article-full img {
    margin-bottom: 10px; }

.flex-article-half img:last-child,
.flex-article-full img:last-child {
    margin-bottom: 0; }

/* ==========================================================================
   Browse Happy prompt lte IE 7
   ========================================================================== */

.browsehappy {
    margin: 3px 0;
    background: #CC0033;
    color: #FFF;
    padding: 8px; }

.browsehappy a {
    color: #FFF;
    text-decoration: underline; }

.browsehappy a:hover {
    text-decoration: none; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar,
.navbar.shrink,
.navbar-nav,
.navbar-nav.shrink,
.navbar-header,
.navbar-header.shrink,
.logo,
.logo.shrink,
a.navbar-brand span,
a.navbar-brand.shrink span {
    -webkit-transition: all 0.25s;
        -moz-transition: all 0.25s;
        transition: all 0.5s; }

/* Header background full-width */
.navbar {
    background: #FFF;
    height: 145px;
    border: 0; }

.navbar.shrink {
    background: rgba(255, 255, 255, 0.8);
    height: 60px;
    min-height: 0; }

.navbar-header {
    float: none; 
    padding: 0;
    height: 145px; } /* Height = logo height plus navbar-header padding */ 

.navbar-header.shrink {
    height: 0px; }

/* Navigation */
.navbar-nav {
    margin-top: 113px;
    background: transparent; }

.navbar-nav.shrink {
    margin-top: 22px; }


.navbar-default .navbar-nav > li > a {
    color: #000;
    background: transparent; }

.navbar-right {
    float: right !important;
    margin-right: -10px !important; }

/* Logo */
.logo {
    position: absolute;
    left: 20px;
    right: 20px;
    margin-top: 15px;
    width: auto;
    height: auto; }

.logo.shrink {
    -webkit-transform: translateY(-145px);
        -moz-transform: translateY(-145px);
            transform: translateY(-145px);
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
            transition: all 0.5s; }

.ie9 .logo.shrink {
    display: none; }

a.navbar-brand span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    width: 201px;
    height: 125px;
    background-size: 201px 125px;
    background-image: url(../graphics/spitznagel.svg);
    text-indent: -9999px; }

.ie8 a.navbar-brand span {
     text-indent: 0; }

.title {
    margin-top: -100px;
    float: left;
    margin-left: -30px; }

.title.shrink {
    margin-top: 0;
    -webkit-transform: translateY(150px);
        -moz-transform: translateY(150px);
            transform: translateY(150px);
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
            transition: all 0.5s;
            -webkit-transition-delay: 0.25s;
            -moz-transition-delay: 0.25s;
                transition-delay: 0.25s; }

@media only screen and (min-width: 768px) {
    .logo {
        text-align: center; }

    a.navbar-brand span {
       margin: auto; }

    .title {
        float: none;
        margin: 0 auto;
        margin-top: -100px; }

    h1,
    h2 {
        font-size: 18px; }

    .navbar-nav {
        margin-top: 107px; }

    .navbar-right {
        margin-right: -5px !important; }

    .navbar-nav.shrink {
        margin-top: 5px; }
}

@media only screen and (min-width: 1200px) {
    .navbar-right {
        margin-right: -15px !important; }
}

/* ==========================================================================
   CONTENT
   ========================================================================== */

/* Where content starts */
body {
    padding-top: 145px; }

.photo-container {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px; }

.photo-description {
    text-align: center; }  

.photo-item {
    margin-bottom: 10px; }

@media only screen and (min-width: 768px) {

    .photo-container {
        padding-left: 10px;
        padding-right: 10px; }
    
    .photo-container {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            -webkit-flex-wrap: wrap;
            flex-wrap: wrap; }

    /* for Safari to wrap elements correctly */
    .photo-container:before,
    .photo-container:after {
        content: normal; }

    .photo-item {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column; } 

    .photo {
        -webkit-flex: 1 0 auto;
        -moz-flex: 1 0 auto;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
        min-height: 1%; /* added for IE (otherwise space below image) */ }

}

/* to prevent image strechting vertically in IE11 */
img {
  max-width: 100%;
  flex-shrink: 0; }

@media only screen and (min-width: 1200px) {

    .photo-container,
    .flex-container, 
    .navbar-fixed-top {
        padding-left: 50px;
        padding-right: 50px; }
}

/* Videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden; }

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 8px; }

.caption {
    margin-top: 10px;
    padding-bottom: 8px; }

.page-controls {
    position: relative;
    margin: 65px 0 35px 0;
    height: 17px; }

p.caption {
    max-width: 100%;
    text-align: left; }

.arrow-up {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 48px;
    height: 17px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    opacity: 1;
      background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0OC4wMjEgMTYuMzY4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0OC4wMjEgMTYuMzY4IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBvbHlnb24gZmlsbD0iIzFBMTcxQiIgcG9pbnRzPSIyMi4wNjQsMCAwLDE0Ljg5MSA2LjA5MSwxNi4zNjggMjAuNDY2LDYuOTIxIDIzLjk4LDQuMzE0IDI3LjQ1NSw2Ljk2IDQxLjkzMSwxNi4xNzQgNDguMDIxLDE0LjY5NiAKCTI0Ljk1OSwwICIvPgo8L3N2Zz4K");
  background-repeat: no-repeat; }

.arrow-down:hover,
.arrow-up:hover {
    opacity: 0.65; }

.about a.arrow-up {
    border: 0;}

.anchor {
    display: block;
    height: 75px; /* same height as header */
    margin-top: -75px; /* same height as header */
    visibility: hidden; }

.about img {
    margin-top: 30px; }

.about a {
    border-bottom: 1px solid #000; }

.about a:hover {
    border-bottom: 1px solid transparent; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: #000;
    padding: 25px 0;
    text-align: center; }

.vcard {
    text-transform: uppercase; }

footer p,
.vcard {
    color: #FFF;; }

footer i {
    font-style: normal;
    white-space: nowrap; }

footer .tel:after {
    content: '|';
    margin: 0 10px;}

footer a {
    color: #FFF; }

footer a:hover {
    color: #FFF;
    text-decoration: none; }

/* ==========================================================================
   SELECTION
   ========================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #333;
    color: #FFF; }

::selection {
    text-shadow: none;
    background: #333;
    color: #FFF; }

img::selection {
    background: 0 0; }

img::-moz-selection {
    background: 0 0; }

body {
    webkit-tap-highlight-color: #333; }

a[href^="tel"], 
a[href^="sms"]{
    color:inherit; 
    cursor:default; 
    text-decoration:none; }