/*!
 * Clean Blog v1.0.0 (https://startbootstrap.com)
 * Copyright 2014 Start Bootstrap
 * Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
 */

@font-face {
    font-family: 'Lora';
    src: url(../fonts/Lora-Regular.ttf);
}
@font-face {
    font-family: 'Open Sans';
    src: url(../fonts/OpenSans-Bold.ttf);
}

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 20px;
  color: #404040;
  word-wrap: break-word;
}
p {
  line-height: 1.5;
  margin: 30px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Verdana, Geneva, sans-serif;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
h3 {
  margin: 100px 0 30px 0;
}
a {
  color: #A0522D;
}
h3 a {
  color: #404040;
}
a:hover {
  color: #CD853F;
  text-decoration: none;
}
a:focus {
  color: #CD853F;
}
a img:hover,
a img:focus {
  cursor: pointer;
}
blockquote {
  color: #808080;
  font-style: italic;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 0px;
  border-color: white;
}
.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
}
.navbar-brand, .navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}
.logo {
  height: 100px;
  width: 100px;
  margin-bottom: -30px;
}
@media only screen and (min-width: 768px) {
  .navbar-custom {
    background: transparent;
    border-bottom: 1px solid transparent;
  }
  .navbar-custom .navbar-brand {
    color: white;
    padding: 20px;
  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: rgba(255, 255, 255, 0.8);
  }
  .navbar-custom .nav li a {
    color: white;
    padding: 20px;
  }
  .navbar-custom .nav li a:hover,
  .navbar-custom .nav li a:focus {
    color: rgba(255, 255, 255, 0.8);
  }
}
@media only screen and (min-width: 1170px) {
  .navbar-custom {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .navbar-custom.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -61px;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .navbar-custom.is-fixed .navbar-brand {
    color: #404040;
  }
  .navbar-custom.is-fixed .navbar-brand:hover,
  .navbar-custom.is-fixed .navbar-brand:focus {
    color: #CD853F;
  }
  .navbar-custom.is-fixed .nav li a {
    color: #404040;
  }
  .navbar-custom.is-fixed .nav li a:hover,
  .navbar-custom.is-fixed .nav li a:focus {
    color: #CD853F;
  }
  .navbar-custom.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
.intro-header {
  background-color: #808080;
  background: no-repeat center center;
  background-attachment: scroll;
  background-size: 100%;
  /*margin-bottom: 30px;*/
}
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 100px 0 50px;
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
    padding: 150px 0;
  }
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 24px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 80px;
  }
}
.intro-header .post-heading h1 {
  font-size: 35px;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
  line-height: 1.1;
  display: block;
}
.intro-header .post-heading .subheading {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  margin: 10px 0 30px;
  font-weight: 600;
}
.intro-header .post-heading .meta {
  font-family: 'Lora', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
}
.intro-header .post-heading .meta a {
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .post-heading h1 {
    font-size: 55px;
  }
  .intro-header .post-heading .subheading {
    font-size: 30px;
  }
}
.post-preview > a {
  color: #404040;
}
.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: #0085a1;
}
.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview > .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: #0085a1;
  text-decoration: underline;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}
.section-heading {
  font-size: 36px;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
footer {
  padding: 50px 0 65px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 14px;
  text-align: center;
  margin-bottom: 0;
}
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085a1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eeeeee;
}
.btn {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 0;
  padding: 15px 25px;
}
.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #0085a1;
  border: 1px solid #0085a1;
  color: white;
}
.pager {
  margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 25px;
  background-color: white;
  border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: #0085a1;
  border: 1px solid #0085a1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  webkit-tap-highlight-color: #0085a1;
}

/* Bildgrössen */

img.portrait {
  width: 66.66%;
  margin-bottom: 10px;
}

img.landscape {
  width: 100%;
  margin-bottom: 10px;
}

/* Image Slider */

.carousel-indicators {
  display: none;
}

.carousel-caption {
  margin-bottom: -40px;
}

/* hr Footer */

.is-fixed, hr {
  border: 0;
}

/* Search Form */

input.text {
  border: 0;
  box-shadow: none;
  border-radius: 23px;
  background: #e7e7e7 url(https://www.thomasweibel.ch/data/uploads/logo/glass.png) no-repeat scroll 9px 9px;
  background-size: 12.5%;
  padding-left:40px;
  height: 46px;
  width: 240px;
  margin-bottom: 24px;
}

input.text:focus {
  box-shadow: none;
  outline: none;
}

.submit {
  display: none;
}

/* Header Slider */

.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -ms-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

@media all and (transform-3d), (-webkit-transform-3d) { /* Header Slider, Webkit Fix */
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

#myCarousel2 {
  width: 100%;
}

/* Audio Player */

.fa-play, .fa-pause, .fa-stop, .fa-forward, .fa-backward, .fa-microphone, .fa-arrow-right, .fa-arrow-left {
  height: 46px;
  width: 46px !important;
  background: #e7e7e7;
  border-radius: 23px;
  padding: 13px 0 0 6px;
  margin-right: 6px;
  cursor: pointer;
}
code {
  color: #A0522D !important;
  font-size: 16px;
  padding: 0;
}
.timeline {
   margin-bottom: 10px;
   background: #e7e7e7;
   height: 8px;
   width: 100%;
   text-align: left;
   border-radius: 4px;
}
.ongoing {
   background: #404040;
   height: 8px;
   width: 0;
   border-radius: 4px;
   transition: width .5s ease;
}
.counter {
   display: inline;
}

/* Blog Tags */

.nm_post_meta b {
  font-weight: normal;
}

/* Kleinschrift */

.small {
  font-size: 75%;
  line-height: 150%;
}

/* Logo auf Smartphones */

@media only screen and (max-width: 736px) {
  .logo {
    height: 60px;
    width: 60px;
    margin-top: -36px;
  }
}

/* Responsive Video */

.videocontainer {
  position: relative; 
  padding-bottom: 56.25%;  /* ratio 16x9 */
  height: 0;
  overflow: hidden; 
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}

.videocontainer iframe {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  border: 0;
}

/* Absatz-Auszeichnung */

.highlight {
  background: #e7e7e7;
  padding: 10px;
}

/* Blockquote-Auszeichnung */

blockquote {
  border-left-color: #e7e7e7 !important;
  font-size: 24px;
}

/* Animierte Mobilnavigation ("Hamburger") */

.navbar-toggle {
  border: none;
  background: transparent !important;
}
.navbar-toggle:focus {
  outline: none;
  background: transparent !important;
}

.navbar-toggle .icon-bar {
  background-color: #fff;
  transform: rotate(0deg) translate(0px, 0px);
  transition: ease all .2s;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.icon-bar:nth-child(2) {
  width: 16px;
  transition: ease all .2s;
}

.navbar-toggle:hover > .icon-bar:nth-child(2){
  width: 22px;
  transition: ease all .2s;
}
.navbar-toggle:active > .icon-bar:nth-child(2){
  width: 22px;
  transition: ease all .2s;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
  transition: ease all .2s;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
  opacity: 0;
  transition: ease all .2s;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  transition: ease all .2s;
}

/* Abstand Paging-Navigation */

.nm_page_nav {
  padding-top: 40px;
}

/* Footer Glyphicons */

.list-inline li {
  padding: 4px 0 0 0;
}

.fa {
  color: #404040;
}

.fa:hover {
  color: #CD853F;
}

.fa-stack-1x {
  position: absolute;
  top: 1px;
}

/* Top-Link im Footer */

.hand {
  cursor: pointer;
  margin-left: -10.5333px;
}

.toplink {
  color: #e7e7e7 !important;
}

.fa-up {
  color: #404040;
}

/* Abstände Listen */

li {
  margin-bottom: 0.25em;
}

/* Abstand Header beim Zurückscrollen */
.navbar-custom.is-visible {
  -webkit-transform: translate3d(0, 94%, 0);
  -moz-transform: translate3d(0, 94%, 0);
  -ms-transform: translate3d(0, 94%, 0);
  -o-transform: translate3d(0, 94%, 0);
  transform: translate3d(0, 94%, 0);
}

/* Mastodon-Icon */
.mastodon {
  background-color: #fff;
  border-radius: 50%;
  margin: -2px 3px 0 3px;
}
.mastodon:hover {
  background-color: #cd853f;
}

/* Consent-Dialog */
#consentDialog {
  position: fixed;
  bottom: -200px;
  z-index: 1;
  text-align: center;
  background: #e7e7e7;
  width: 100%;
  padding: 20px;
  opacity: 0;
  display: none;
  transition: opacity 1s ease, bottom 1s ease;
}

.consentButton {
  background: #404040;
  color: #fff;
  height: 45px;
  width: 45px;
  border-radius: 25px;
  border: 5px #404040 solid;
  padding: 1px;
  margin: 20px 5px 5px 5px;
}

.consentButton span i {
  font-size: 120%;
  margin-top: -11px;
}

.videoStill, .videoStillLock {
  margin-top: -55px;
  cursor: pointer;
}

.videoStill::before {
  content: url("https://www.thomasweibel.ch/data/uploads/youtube.png");
  position: relative;
  top: 243px;
  left: 50%;
  margin-left: -34px;
}

.videoStillLock::before {
  content: url("https://www.thomasweibel.ch/data/uploads/youtube-lock.png");
  position: relative;
  top: 243px;
  left: 50%;
  margin-left: -34px;
}

@media only screen and (max-width: 736px) {
  .videoStill::before {
    top: 33vw;
  }

	.videoStillLock::before {
    top: 33vw;
  }
}

.no-before::before {
  display: none;
}
