/*
 * Theme Name: bzh
 * Theme URI: http://www.aikido-birankai.ch/
 * Description: Birankai Zuerich default Theme
 * Version: 1.0
 * Author: Philippe Baur
 * Author URI: http://binaryfix.net/
*/
@-moz-document url-prefix() {
  .home {
    font-size: 1.3em;
  }
}
body {
  font-size: 1.2em;
}
body .site {
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
  overflow: auto;
}

body select {
  text-align: left;
  color: #aaa;
  background-color: #fcfcfa;
  border: none;
}

.bzh-wrapper-home {
  background-color: #fcfcfa;
  list-style: none;
  margin: auto;
  text-align: center;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.bzh-wrapper-home a {
  text-decoration: none;
}

.bzh-home-cell {
  vertical-align: top;
}

.bzh-kan-zen-in-kali {
  position: relative;
  height: 375px;
  background-size: 480px auto;
  background-image: url('/img/kan_zen_inn_kalligrafie.gif');
  background-repeat: no-repeat;
  background-position: center;
}

.bzh-lang {
  position: relative;
  top: 23.4rem;
  right: 34.0rem;
}

.bzh-red-box {
  border-radius: 10px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  vertical-align: middle;
  width: 180px;
  height: 180px;
  margin: 5px 5px 5px 5px;
  /* 80% opacity: */
  background-color: rgba(175, 26, 22);
  /* fallback */
  background-color: rgba(175, 26, 22, 0.8);
  position: relative;
  display: inline-block;
  text-align: left;
  padding-top: 14px;
  padding-bottom: 6px;
  padding-left: 15px;
  padding-right: 6px;
}

.bzh-red-box h1 {
  display: block;
  color: #ffffff;
  font-weight: normal;
  font-size: 1.8em;
  margin-top: 0.0em;
  margin-right: 0.2em;
  margin-bottom: 0.2em;
  margin-left: 0.0em;
}

.bzh-red-box h2 {
  display: block;
  color: #a22020;
  font-weight: normal;
  position: absolute;
  bottom: 0.4em;
  left: 0.6em;
  font-size: 1.6em;
  width: 100%;
}

.bzh-red-box a:hover {
  color: #a22020;
}

.bzh-red-box a {
  color: #ffffff;
}
.bzh-sub-links {
  padding-left:8px;
  line-height: 1.5;
}

.bzh-home-footer {
  display: none;
}

#id-bzh-news-portrait {
  display: none;
}
.bzh-news-list {
  text-align: left;
  margin-top: 40px;
}

.bzh-news-item {
  font-size: 0.7em;
  font-weight: normal;
  white-space: normal;
}

.bzh-red-box-wrapper {
  position: relative;
  display: inline-block;
  top: -20px;
}

.bzh-home-navigation {
  display: none;
}

.bzh-home-nav-logo {
  display: block;
  background: url('/img/burger.png') no-repeat left;
  background-size: 80px auto;
  height: 80px;
  width: 80px;
  position: absolute;
  bottom: 380px;
}
@media only screen and (max-width: 1080px) and (orientation: portrait) {
  @-moz-document url-prefix() {
    .home {
      font-size: 1.0em;
    }
  }
  .site {
    margin: 0 auto;
    max-width: 0px;
    max-width: 0rem;
    overflow: hidden;
  }
  .bzh-table-size {
    width: 100%;
    height: 0;
  }
  .bzh-home-footer {
    display: inline;
    position: absolute;
    width: 100%;
    bottom: 5px;
  }
  .bzh-text-slogan {
    font-size: 1.0em;
  }

  .bzh-wrapper-home {
    width: 100%;
    margin: 0 auto;
  }

  .bzh-home-cell select {
    text-align: left;
    padding: 2px;
    padding: 0.2rem;
  }
  
  .bzh-red-box-wrapper {
    display: none;
  }

  .bzh-lang {
    position: absolute;
    top: 7.8rem;
    left: 10.6rem;
    z-index: 1000;
  }

  .bzh-kan-zen-in-kali {
    height: 130px;
    background-size: 160px auto;
    margin: 0;
    background-position: left;
  }

  .bzh-home-navigation {
    display: inherit;
    margin-left: 11.0rem;
    margin-top: 0px;
    position: inherit;
    top: 0px;
    left: 0px;
  }

  .bzh-home-nav-logo {
    background-size: 80px auto;
    height: 80px;
    width: 80px;
    position: inherit;
    bottom: 0px;
  }

  .bzh-home-logo-cell {
    text-align: right;
    white-space: normal;
    padding-top:25px;
    padding-bottom: 40px;
  }

  .page_item_has_children a {
    font-weight: bold;
    color: #bf4845;
  }
  /* 2nd level link */
  .page_item .children a {
    font-weight: normal;
    margin: 0 0 0 0.7rem;
    font-size: 100%;
  }

  .bzh-navigation li {
    list-style: none;
    line-height: 1.5;
    width: 100%;
  }
  .pagenav ul ul {
    display: inherit;
  }

  .pagenav ul ul ul {
    display: none;
  }

  #id-bzh-news-portrait {
    display: inline;
  }
  .bzh-news-list {
    text-align: left;
    margin-top: 4px;
  }
  .bzh-news-title {
    color: #bf4845;
    font-weight: bold;
    padding-bottom: 5px;
  }
  .bzh-news-item {
    font-size: 0.7em;
    font-weight: normal;
    white-space: normal;
    padding-left: 22px;
  }
  .bzh-news-item a {
    color: #bf4845;
    text-decoration: none;
  }
  .bzh-row-height {
    height: 100%;
  }
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
  .bzh-kan-zen-in-kali {
    height: 250px;
    background-size: 320px auto;
  }
  .bzh-red-box {
    width: 130px;
    height: 130px;
    padding-top: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 4px;
  }
  .bzh-red-box a {
    font-size: 0.7em;
  }  
  .bzh-red-box h1 {
    font-size: 1.1em;
    margin-top: 0.2em;
    margin-right: 0.2em;
    margin-bottom: 0.2em;
    margin-left: 0.2em;
  }
  .bzh-red-box h2 {
    font-size: 1.0em;
  }
  .bzh-lang {
    top: 14.8rem;
    right: 24.0rem;
  }
  @-moz-document url-prefix() {
    .bzh-lang {
      /* hack for firefox mobile that for some reason renders this different than all other browsers */
      right: 19.5rem;
    }
  }
  .bzh-sub-links {
    padding-left:8px;
    line-height: 1.1;
  }
  .bzh-news-list {
    text-align: left;
    margin-top: 30px;
  }
  .bzh-news-item {
    font-size: 0.8em;
  }
  .bzh-home-nav-logo {
    bottom: 230px;
  }
}
