@font-face {
  font-display: fallback;
  font-family: "Roboto";
  font-weight: 300;
  font-style: normal;
  src: url('/zen-assets/fonts/Roboto-Light.eot');
  src: url('/zen-assets/fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
    url('/zen-assets/fonts/Roboto-Light.woff2') format('woff2'),
    url('/zen-assets/fonts/Roboto-Light.woff') format('woff'),
    url('/zen-assets/fonts/Roboto-Light.ttf') format('truetype');
}

/* ------------------------------------------------------------------------- */
/* Common                                                                    */
/* ------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  font-smooth: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  padding: 0;
}

.clearer {
  clear: both;
}

.wrapper {
  background-color: #f5f5f5;
  min-height: 100%;
  padding-bottom: 2em;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  position: relative;
  margin: 0 auto;
}

a {
  color: #333;
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
}

blockquote {
  display: block;
  font-style: italic;
  font-size: 24px;
  margin: 0 auto;
  text-indent: -0.5em;
  width: 75%;
}

blockquote:before {
  content: "«";
}

blockquote:after {
  content: "»";
}

p.author {
  font-size: 24px;
  font-style: italic;
  margin: 0 auto;
  text-align: right !important;
  width: 75%;
}

figcaption {
  display: block;
  font-style: italic;
  font-size: 18px;
  margin: 0.5em auto;
  text-align: right;
  width: 75%;
}

img.responsive {
  width: 100%;
  max-width: 640px;
  height: auto;
}

img.center {
  display: block;
  margin: 0 auto;
}

img.pull-left {
  display: block;
  float: left;
  margin: 0 1em 0 0;
}

img.pull-right {
  display: block;
  float: right;
  margin: 0 0 0 1em;
}

img.header {
  display: block;
  max-height: 250px;
  object-fit: cover;
  width: 100%;
}

main.container {
  padding-top: 1em;
}

h1 {
  margin: 0 0 0.3em 0;
}

ul {
  list-style-position: inside;
}

ol.breadcrumbs {
  font-size: 16px;
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}

ol.breadcrumbs>li {
  display: inline-block;
}

ol.breadcrumbs>li:not(:last-child):after {
  content: '→';
  padding: 0 0.5em;
}

@media screen and (max-width: 459px) {
  blockquote {
    padding: 0;
  }

  h1 {
    font-size: 27px;
  }
}

dl.accordion {
  margin: 0;
}

dl.accordion>dt {
  border-top: 1px solid #ccc;
  font-weight: bold;
  padding: 0;
}

dl.accordion>dt:first-child {
  border-top: none;
  padding-top: 0;
}

dl.accordion>dd p:first-of-type {
  margin-top: 0;
}

dl.accordion input.collapse {
  display: none;
}

dl.accordion label.collapse {
  cursor: pointer;
  display: block;
  padding: 0.5em 0;
  width: 100%;
}

dl.accordion label.collapse:after {
  color: #999;
  content: ' ⌄';
  font-size: 32px;
}

dl.accordion>dd {
  margin: 0 0 0 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease-in-out;
}

dl.accordion input.collapse:checked+dd {
  max-height: 100em;
}

/* ------------------------------------------------------------------------- */
/* Header                                                                    */
/* ------------------------------------------------------------------------- */

header {
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  min-height: 75px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

header a.site-title {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

header a.site-title>img.logo {
  display: inline-block;
  height: 60px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 60px;
}

header a.site-title>.title {
  display: inline-block;
  font-size: 24px;
  left: 70px;
  position: absolute;
  top: 24px;
}

header menu.main {
  height: 74px;
  font-size: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  width: 100%;
}

header menu.main>menuitem {
  display: inline-block;
  margin: 24px 5px 0 5px;
}

header menu.main>menuitem>a {
  cursor: pointer;
  text-decoration: none;
}

header menu.main>menuitem>a img.menu-icon {
  display: inline-block;
  width: 32px;
  position: relative;
  top: 2px;
}

header menu.main>menuitem>.chevron:before {
  content: '»';
  display: inline-block;
  transform: rotate(90deg);
}

header menu.main>menuitem>.submenu-collapse {
  display: none;
}

header menu.main>menuitem>menu.sub {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  display: block;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  padding: 0.5em;
  position: absolute;
  text-align: left;
  top: 2.5em;
  transition: .1s ease-in .5s;
}

header menu.main>menuitem:hover>menu.sub {
  visibility: visible;
  opacity: 1;
  transition: .1s ease-out;
}

header menu.main>menuitem>menu.sub>menuitem {
  display: block;
  padding: 0.3em;
}

header menu.main>menuitem>menu.sub>menuitem>a {
  cursor: pointer;
  display: block;
  text-decoration: none;
  width: 100%;
}

header .menu-collapse-checkbox {
  display: none;
}

header .btn-collapse-main {
  display: none;
}

@media screen and (max-width: 1100px) {
  header .btn-collapse-main {
    cursor: pointer;
    display: block;
    float: right;
    padding: 3px;
    margin-top: 14px;
    user-select: none;
    width: 40px;
  }

  header .btn-collapse-main:after,
  header .btn-collapse-main:before,
  header .btn-collapse-main>span {
    background-color: #333;
    border-radius: 3px;
    content: '';
    display: block;
    height: 5px;
    margin: 7px 0;
    transition: all .2s ease-in-out;
  }

  header menu.main {
    background-color: white;
    clear: both;
    display: none;
    width: 100%;
  }

  header menu.main>menuitem {
    display: block;
    border-bottom: 1px solid #ccc;
    left: 0;
    margin: 0;
    position: relative;
    text-align: left;
  }

  header menu.main>menuitem:last-child {
    border: none;
  }

  header menu.main>menuitem>a {
    display: block;
    height: 100%;
    padding: 15px 5px;
    width: 100%;
  }

  header menu.main>menuitem>menu.sub {
    box-shadow: none;
    border: none;
    display: none;
    margin: 0;
    opacity: 1;
    padding: 0 0 0.5em 1em;
    position: relative;
    top: 0;
    visibility: visible;
    transition: none;
  }

  header menu.main>menuitem:hover>menu.sub {
    transition: none;
  }

  header menu.main>menuitem>menu.sub>menuitem {
    display: block;
  }

  header #menu-collapse-checkbox:checked~.btn-collapse:after,
  header #menu-collapse-checkbox:checked~.btn-collapse:before,
  header #menu-collapse-checkbox:checked~.btn-collapse>span {
    background-color: #333;
  }

  header .menu-collapse-checkbox:checked~menu {
    display: block !important;
    height: 100%;
  }
}

@media screen and (max-width: 425px) {
  header a.site-title>img.logo {
    height: auto;
  }

  header a.site-title>.title {
    font-size: 16px;
    max-width: 200px;
    top: 28px;
  }
}

@media screen and (max-width: 306px) {
  header a.site-title>.title {
    display: none;
  }
}

/* ------------------------------------------------------------------------- */
/* Index                                                                     */
/* ------------------------------------------------------------------------- */

.home {
  font-size: 26px;
}

.home p {
  text-align: left !important;
}

.home .wide {
  padding: 15px 0;
  width: 100%;
}

.home .wide.odd {
  background-color: #eee;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.home .intro {
  background-color: #eee;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -14px;
  padding: 0;
}

.home .intro-container {
  position: relative;
  margin: auto;
  max-width: 1700px;
}

.home .intro .intro-image {
  display: block;
  margin: auto;
  max-width: 400px;
}

.home .intro .intro-lead {
  color: #333;
  padding: 0.6em;
}

@media screen and (min-width: 400px) and (max-width: 1280px) {
  .home .intro .intro-container {
    padding-top: 0.5em;
  }
}

@media screen and (min-width: 1280px) {
  .home .intro .intro-image {
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    -webkit-mask-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    z-index: 1;
  }

  .home .intro .intro-lead {
    font-size: 28px;
    max-width: 1111px;
    padding-top: 1px;
    position: absolute;
    top: 0;
    left: 400px;
    z-index: 2;
  }
}

.home .button-zazen {
  background-color: #eee;
  box-shadow: 0 0 5px #ccc;
  position: relative;
  margin: 0 auto;
  height: 216px;
  max-width: 600px;
  overflow: hidden;
}

.home .button-zazen:before {
  background: linear-gradient(to top, rgba(127, 255, 0, 0.3), 20%, rgba(0, 0, 0, 0.5), 50%, rgba(0, 0, 0, 0.5), 80%, rgba(255, 127, 0, 0.3));
  border-radius: 5px;
  content: "\00a0";
  height: 100%;
  position: absolute;
  width: 100%;
}

.home .button-zazen .button-bg {
  border-radius: 5px;
  border: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0.7;
  z-index: 1;
}

.home .button-zazen .button-link {
  align-items: center;
  box-shadow: 0 0 10px #ccc;
  display: flex;
  height: 100%;
  text-decoration: none;
  padding: 1em;
  position: relative;
  z-index: 2;
}

.home .button-zazen .button-link .caption {
  color: #fff;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
  width: 100%;
}

.home ul.practices {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.home ul.practices>li {
  display: block;
  margin: 1em;
}

.home ul.practices>li .button {
  background-color: #eee;
  border-radius: 5px;
  box-shadow: 0 0 5px #ccc;
  overflow: hidden;
  position: relative;
}

.home ul.practices>li .button:before {
  background: linear-gradient(to top, rgba(127, 255, 0, 0.3), 20%, rgba(0, 0, 0, 0.5), 50%, rgba(0, 0, 0, 0.5), 80%, rgba(255, 127, 0, 0.3));
  border-radius: 5px;
  content: "\00a0";
  height: 100%;
  position: absolute;
  width: 100%;
}

.home ul.practices>li .button .button-bg {
  border: none;
  display: block;
  left: 0;
  opacity: 0.8;
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
}

.home ul.practices>li .button .button-link {
  align-items: center;
  box-shadow: 0 0 10px #ccc;
  display: flex;
  min-height: 225px;
  text-decoration: none;
  padding: 1em;
  position: relative;
  width: 338px;
  z-index: 2;
}

.home ul.practices>li .button .button-link .caption {
  color: #fff;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
  width: 100%;
}

@media screen and (max-width: 1250px) {
  .home ul.practices {
    display: block;
  }

  .home ul.practices>li .button .button-bg {
    top: -55%;
  }

  .home ul.practices>li .button .button-link {
    min-height: auto;
    width: 100%;
  }
}

.home .donate-btn {
  background-color: #696;
  border-radius: 5px;
  box-shadow: #999 2px 2px 5px;
  color: #fff;
  display: block;
  font-size: 24px;
  font-weight: bold;
  height: 86px;
  margin: 1em auto;
  padding-top: 30px;
  text-align: center;
  text-decoration: none;
  width: 400px;
}

.home ul.monks {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.home ul.monks>li {
  padding: 1em;
  text-align: center;
}

.home ul.monks>li .name {
  display: block;
}

.home ul.monks>li .ordination-name {
  font-style: italic;
  display: block;
}

.home ul.monks>li img.monk {
  box-shadow: 0 0 5px #ccc;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  width: 200px;
}

/* ------------------------------------------------------------------------- */
/* News list                                                                 */
/* ------------------------------------------------------------------------- */

ul.news {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.news>li {
  padding: 0;
  margin-bottom: 2em;
}

ul.news>li .news-image {
  float: left;
  margin: 0 1em 0 0;
  width: 400px;
}

@media screen and (max-width: 459px) {
  ul.news>li .news-image {
    float: none;
    max-width: 100%;
  }
}

ul.news>li .news-image img {
  display: block;
  max-width: 100%;
}

ul.news>li .news-description .publication-date {
  font-size: 16px;
  font-style: italic;
  margin: 0;
}

ul.news>li .news-description h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

ul.news>li .news-description h2 a {
  text-decoration: none;
}

ul.news>li .news-description p:first-of-type {
  margin-top: 0;
}

ul.news>li .news-description .more {
  font-style: italic;
}

#subscription-form {
  margin-bottom: 50px;
}

#subscription-form>label,
#subscription-form>input {
  color: #333;
  display: inline-block;
  font-size: 24px;
  padding: 3px 7px;
}

#subscription-form input[type=email] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#subscription-form input[type=submit] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

@media screen and (max-width: 459px) {

  #subscription-form>label,
  #subscription-form>input {
    display: block;
    height: 50px;
    padding: 0;
    width: 100%;
  }

  #subscription-form input[type=email] {
    margin-bottom: 10px;
  }
}

/* ------------------------------------------------------------------------- */
/* Post                                                                      */
/* ------------------------------------------------------------------------- */

.post h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 0.25em 0;
}

.post .post-header {
  display: block;
  margin: auto;
  max-height: 600px;
  object-fit: contain;
}

.post .publication-date {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  padding-top: 0.5em;
}

.post p {
  text-align: justify;
}

/* ------------------------------------------------------------------------- */
/* Calendar                                                                  */
/* ------------------------------------------------------------------------- */

.calendar .month-toggler {
  font-size: 24px;
  text-align: center;
  margin-bottom: 0.5em;
}

.calendar .month-toggler a {
  text-decoration: none;
}

.calendar .month-toggler .current {
  display: inline-block;
  font-weight: bold;
  margin: 0 0.5em;
}

.calendar table {
  border-collapse: collapse;
  width: 100%;
}

.calendar table thead th {
  border: 1px solid #ccc;
  padding: 0 1em;
  vertical-align: top;
  width: 14%;
}

.calendar table thead th .day-name-short {
  display: none;
}

.calendar table tbody td {
  border: 1px solid#ccc;
  font-size: 16px;
  height: 150px;
  padding: 0;
  vertical-align: top;
  width: 14%;
}

.calendar table tbody td .day {
  background-color: #ccc;
  display: block;
  font-size: 20px;
  font-weight: bold;
  left: 0;
  padding: 0 0.5em;
  position: relative;
  top: 0;
}

.calendar table tbody td.inactive {
  color: #999;
}

.calendar table tbody td.inactive a {
  color: #999;
}

.calendar table tbody td.inactive .day {
  background-color: #eee;
}

.calendar table tbody td a.content-marker {
  display: none;
}

.calendar table tbody td .content {
  padding: 0.5em;
}

.calendar table tbody td .content .regular {
  font-style: italic;
}

.calendar table tbody td .content .regular:not(:first-child) {
  border-top: 1px solid #ccc;
  font-size: 14px;
  margin-top: 0.5em;
}

.calendar ul.events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calendar ul.events>li:last-of-type {
  margin-bottom: 0;
}

.calendar ul.events>li.active {
  font-weight: bold;
}

.calendar #calendar-mobile-content {
  display: none;
}

.calendar .filter {
  font-size: 17px;
}

.calendar .filter .title {
  display: inline-block;
}

.calendar .filter ul.tags {
  display: inline-block;
  list-style: none;
  padding: 0;
}

.calendar .filter ul.tags>li {
  display: inline-block;
  margin: 0 0.5em;
}

.calendar .filter ul.tags>li.active {
  font-weight: bold;
}

@media screen and (max-width: 1023px) {
  .calendar .month-toggler {
    font-size: 17px;
  }

  .calendar .month-toggler .current {
    font-size: inherit;
  }

  .calendar table {
    margin-bottom: 1em;
  }

  .calendar table thead th {
    padding: 0;
  }

  .calendar table thead th .day-name-long {
    display: none;
  }

  .calendar table thead th .day-name-short {
    display: inline;
  }

  .calendar table tbody td {
    height: 3em;
  }

  .calendar table tbody td a.content-marker {
    display: block;
    font-size: 1.5em;
    height: 100%;
    line-height: 2em;
    text-align: center;
    text-decoration: none;
    width: 100%;
  }

  .calendar table tbody td a.content-marker:before {
    content: "\2B24";
  }

  .calendar table tbody td a.content-marker.selected {
    background-color: #ddd;
  }

  .calendar table tbody td a.content-marker.active {
    font-size: 2.5em;
    line-height: 1em;
  }

  .calendar table tbody td .content {
    display: none;
  }

  .calendar #calendar-mobile-content {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    display: block;
    margin-bottom: 1em;
    padding: 1em 0;
  }

  .calendar #calendar-mobile-content:empty {
    display: none;
  }

  .calendar .filter .title {
    display: block;
  }

  .calendar .filter ul.tags {
    margin: 0;
  }

  .calendar .filter ul.tags>li {
    margin: 0 0.5em 0 0;
  }
}

/* ------------------------------------------------------------------------- */
/* Zen centers                                                               */
/* ------------------------------------------------------------------------- */

.zen-centers .title {
  font-size: 250%;
  text-align: center;
}

.zen-centers section {
  padding: 0.5em 0;
}

.zen-centers section.odd {
  background-color: #eee;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.zen-centers-slider {
  background-color: none;
  width: 100%;
}

.zen-centers-slider .cities-bar {
  background-color: #eee;
  margin: -1em 0 1em 0;
  padding: 0.5em 0 0 0;
  width: 100%;
}

.zen-centers-slider ul.cities {
  align-items: center;
  display: inline-flex;
  height: 1.5em;
  font-size: 24px;
  font-weight: bold;
  justify-content: center;
  list-style: none;
  margin: 0 0 0.5em 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.zen-centers-slider ul.cities>li {
  margin: 0 1em;
}

@media screen and (max-width: 720px) {
  .zen-centers-slider ul.cities {
    display: block;
    height: auto;
  }

  .zen-centers-slider ul.cities>li {
    margin: 0 0 1em 0;
  }
}

.zen-centers-slider ul.cities>li a {
  border-radius: 1em;
  padding: 0.15em 0.5em;
  text-decoration: none;
}

.zen-centers-slider ul.cities>li a.active {
  background-color: #fff;
}

.zen-centers-slider .slides {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.zen-centers-slider .slides .zen-center {
  margin-right: 50px;
  position: relative;
  scroll-snap-align: start;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s;
  min-width: 100%;
}

.zen-center .photo {
  max-width: 500px;
}

@media screen and (max-width: 1070px) {
  .zen-center .photo {
    float: none;
    margin: 0 auto;
  }
}

.zen-center table.schedule {
  border-collapse: collapse;
  font-size: 32px;
  font-weight: bold;
  margin-top: 0.5em;
}

.zen-center table.schedule td {
  border: 1px solid #ccc;
}

.zen-center address {
  font-size: 24px;
  font-style: italic;
  padding: 0.5em 0;
}

.zen-center ul.godos {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 1em 0 0 0;
}

.zen-center ul.godos>li {
  flex: 0 0 250px;
  display: block;
  margin: 0 0.5em 1em 0.5em;
  text-align: center;
}

.zen-center ul.godos>li img {
  border-radius: 50%;
  box-shadow: 0 0 10px #ccc;
  width: 150px;
}

.zen-center ul.godos>li .ordination-name {
  font-style: italic;
}

.zen-center .map iframe {
  border: none;
  height: 250px;
  width: 100%;
}

.zen-center .contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  font-size: 32px;
  font-weight: bold;
  margin: 1em 0 0 0;
}

.zen-center .contacts .contact {
  display: block;
  margin-bottom: 1em;
}

.zen-center .contacts .contact .note {
  display: block;
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  width: 100%;
}

.zen-centers .video {
  text-align: center;
}

.zen-centers .video iframe {
  aspect-ratio: 1.777;
  height: auto;
  max-width: 960px;
  width: 100%;
}

.zen-centers ul.points {
  margin: 0;
  padding: 0;
}

.zen-centers ul.points>li {
  margin-bottom: 1em;
}

ul.zen-centers-other-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.zen-centers-other-cities>li {
  padding: 1em;
}

@media screen and (max-width: 640px) {
  ul.zen-centers-other-cities {
    display: block;
  }

  ul.zen-centers-other-cities>li {
    padding: 0;
  }
}

ul.zen-centers-other-countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.zen-centers-other-countries>li {
  padding: 1em;
  font-size: 24px;
}

ul.zen-centers-other-countries>li a {
  text-decoration: none;
}

@media screen and (max-width: 640px) {
  ul.zen-centers-other-countries {
    display: block;
  }

  ul.zen-centers-other-countries>li {
    padding: 0;
  }
}

/* ------------------------------------------------------------------------- */
/* Teachings                                                                 */
/* ------------------------------------------------------------------------- */

ul.teachings {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}

ul.teachings>li {
  background-color: #ddd;
  align-items: center;
  display: flex;
  font-size: 24px;
  justify-content: center;
  position: relative;
  margin: 5px;
  min-height: 200px;
  min-width: 250px;
  max-height: 400px;
  max-width: 575px;
}

ul.teachings>li img {
  display: block;
  margin: 0 auto;
  max-height: 385px;
  max-width: 100%;
}

ul.teachings .title {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
  position: absolute;
  bottom: 0.5em;
  left: 0.5em;
}

/* ------------------------------------------------------------------------- */
/* Shop                                                                      */
/* ------------------------------------------------------------------------- */

.shop {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.shop ul.category-old {
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}

@media screen and (min-width: 800px) {
  .shop ul.category-old>li .product-description .product-image-wrapper {
    float: left;
    max-width: 400px;
  }

  .shop ul.category-old>li .product-description .product-content {
    margin-left: 420px;
  }
}

.shop ul.category-old>li .product-description .product-content q {
  border-left: 2px solid #ccc;
  display: block;
  font-style: italic;
  margin-left: 0.5em;
  padding-left: 1em;
  text-indent: -0.5em;
}

.shop ul.category-old>li p {
  text-align: justify;
}

.shop ul.category-old>li .product-image {
  max-width: 400px;
  padding: 0 0.5em 0.5em 0;
}

.shop ul.category-old>li .price {
  color: #000000;
  font-weight: bold;
  font-size: 24px;
  margin: 0.5em 0;
}

.shop ul.category-old>li .add-to-cart-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 24px;
  padding: 3px 7px;
  text-decoration: none;
}

.shop ul.category-old>li .add-to-cart-btn:disabled {
  background-color: #eee;
}

.shop ul.category-old>li .add-to-cart-btn.success:disabled {
  background-color: #cec;
  color: #393;
}

.shop ul.category-old>li .add-to-cart-btn.error:disabled {
  background-color: #ecc;
  color: #933;
}

.shop ul.category {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop ul.category>li {
  margin-bottom: 1em;
}

.shop ul.category>li .product-wrapper {
  background-color: #333;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 50%;
  height: 600px;
  width: 100%;
}

.shop ul.category>li .product-wrapper .product {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 26px;
  float: right;
  height: 600px;
  max-width: 660px;
  padding-left: 170px;
  padding-right: 0.5em;
}

.shop ul.category>li .product-wrapper .product .image {
  display: none;
}

.shop ul.category>li .product-wrapper .product h2 {
  font-size: 72px;
  font-weight: bold;
  margin: 0.2em 0;
}

.shop ul.category>li .product-wrapper .product .price {
  display: inline-block;
  font-size: 52px;
  font-weight: bold;
}

.shop ul.category>li .product-wrapper .product .add-to-cart-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 30px;
  margin-left: 0.5em;
  padding: 0.2em;
  position: relative;
  top: -6px;
}

.shop .cart-link-wrapper {
  max-width: inherit;
  position: fixed;
  width: inherit;
  z-index: 2;
}

.shop .cart-link {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  display: none;
  float: right;
  font-size: 24px;
  margin-right: 1em;
  padding: 3px 7px;
  text-decoration: none;
}

.shop .cart-link>a {
  text-decoration: none;
}

.shop .cart-link .badge {
  display: inline-block;
  background-color: #999;
  border-radius: 15px;
  color: #fff;
  padding: 0.1em 0.5em;
}

.shop ul.shop-categories {
  display: block;
  list-style: none;
  margin: 0 auto;
  max-width: 600px;
  padding: 0;
  width: 100%;
}

.shop ul.shop-categories li {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 200px;
  justify-content: center;
  margin: 0 0 1em 0;
  position: relative;
  width: 100%;
}

.shop ul.shop-categories li .image {
  background-color: #333;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  height: 200px;
  width: 100%;
  z-index: 1;
}

.shop ul.shop-categories li a {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 40px;
  font-weight: bold;
  height: 100%;
  justify-content: center;
  position: absolute;
  text-align: center;
  text-decoration: none;
  text-shadow: #000 1px 0 10px;
  top: 0;
  width: 100%;
  z-index: 2;
}

.shop table.order-details {
  border-collapse: collapse;
  width: 100%;
}

.shop table.order-details th,
td {
  border: 1px solid #ccc;
  padding: 0.3em;
}

.shop table.order-details th {
  font-weight: bold;
  text-align: center;
}

.shop table.order-details td.text-right {
  text-align: right;
}

.shop table.order-details td.text-center {
  text-align: center;
}

.shop table.order-details td.total {
  font-weight: bold;
  text-align: right;
}

.shop table.order-details td.empty {
  font-weight: bold;
  text-align: center;
  padding: 1em 0.3em;
}

.shop table.order-details input[type=number] {
  border: 1px solid #ccc;
  font-size: 20px;
  max-width: 50px;
}

.shop table.order-details .remove-item-link {
  text-decoration: none;
}

.shop .order-actions {
  float: right;
  margin-top: 1em;
}

.shop .order-actions .checkout-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 24px;
  padding: 3px 7px;
  text-decoration: none;
}

.shop .order-checkout {
  margin-bottom: 1em;
  max-width: 400px;
}

.shop .order-checkout .input-group {
  margin-bottom: 0.5em;
}

.shop .order-checkout .input-group input[type=text],
.shop .order-checkout .input-group input[type=tel],
.shop .order-checkout .input-group input[type=email],
.shop .order-checkout .input-group textarea {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
  font-size: 20px;
  max-width: 100%;
  width: 100%;
}

.shop .order-checkout .input-group button[type=submit] {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: bold;
  ;
  padding: 0.3em 1em;
  margin: 0 auto;
}

.shop dl.checkout-data>dt {
  font-weight: bold;
  float: left;
  width: 8em;
}

.shop dl.checkout-data>dd {
  margin-bottom: 0.5em;
}

.shop .order-payment .pay-btn {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  font-size: 27px;
  padding: 0.3em 1em;
}

.shop .payment-complete {
  background-color: #efe;
  border-radius: 5px;
  color: #363;
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding: 1em;
}

.shop .payment-failed {
  background-color: #fee;
  border-radius: 5px;
  color: #633;
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding: 1em;
}

@media screen and (max-width: 1024px) {
  .shop ul.category>li .product-wrapper {
    background: none !important;
    height: inherit;
  }

  .shop ul.category>li .product-wrapper .product {
    background: none;
    color: inherit;
    float: none;
    height: inherit;
    margin-bottom: 2em;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .shop ul.category>li .product-wrapper .product h2 {
    font-size: 42px;
  }

  .shop ul.category>li .product-wrapper .product .image {
    display: block;
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: -25px 50%;
  }

  .shop ul.category>li .product-wrapper .product .price {
    font-size: 36px;
  }

  .shop ul.category>li .product-wrapper .product .add-to-cart-btn {
    top: -2px;
  }
}

/* ------------------------------------------------------------------------- */
/* CDs shop page                                                             */
/* ------------------------------------------------------------------------- */
.shop-cds {
  width: 100%;
}

.shop-cds .row {
  width: 100%;
}

.shop-cds .row.dark {
  background-color: #eee;
}

.shop-cds .cd-descriptions {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.shop-cds .cd-descriptions>li {
  display: none;
  padding: 1em 0;
  margin: 0;
  width: 100%;
}

.shop-cds .cd-descriptions>li:target {
  display: block;
}

.shop-cds .cd-descriptions-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-cds .cd-descriptions-items>li {
  display: none;
  width: 100%;
}

.shop-cds .cd-descriptions .cd-cover {
  display: block;
  margin: auto;
  max-height: 600px;
  max-width: 100%;
}

.shop-cds .cd-descriptions h2 {
  display: block;
  font-style: normal;
  font-size: 1.5em;
  margin: 0 auto 0.5em auto;
  text-align: center;
  width: 100%;
}

.shop-cds .cd-descriptions q {
  background-color: rgb(239, 232, 216);
  border-radius: 1em;
  display: block;
  font-style: italic;
  line-height: 1.5em;
  margin-left: 1em;
  padding: 1em 1em 1em 2em;
}

.shop-cds .cd-descriptions q:before, .cd-descriptions q:after {
  color: #999;
  display: inline-block;
  font-size: 2em;
  vertical-align: text-bottom;
}

.shop-cds .cd-descriptions .disclaimer {
  background-color: #fee;
  border-radius: 1em;
  color: #300;
  margin: 1em;
  padding: 0.5em 1em;
}

.shop-cds .cd-descriptions .add-to-cart {
  width: 100%;
}

.shop-cds .cd-descriptions .add-to-cart .add-to-cart-btn {
  background: rgb(200, 153, 52);
  background: linear-gradient(0deg, rgb(226, 185, 122) 0%, rgb(248, 226, 171) 100%);
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  display: block;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  font-size: 24px;
  margin: auto;
  padding: 1em 1em;
  text-decoration: none;
  text-shadow: 0 0 5px #fff;
}

.shop-cds .cd-descriptions .add-to-cart .add-to-cart-btn .price {
  font-weight: bold;
  font-size: 24px;
  padding-right: 0.5em;
}

.shop-cds .cd-gallery .cd-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-cds .cd-gallery .cd-list>li {
  margin: 1em;
  max-width: 250px;
}

.shop-cds .cd-gallery .cd-list label {
  cursor: pointer;
}

.shop-cds .cd-gallery .cd-cover {
  margin: 0;
}

.shop-cds .cd-gallery .cd-cover>img {
  display: block;
  height: auto;
  width: 100%;
}

.shop-cds .cd-gallery .cd-name {
  display: block;
  font-style: normal;
  font-size: 1.2em;
  margin: 0.5em auto;
  text-align: center;
  width: 100%;
}

/* ------------------------------------------------------------------------- */
/* Registration forms                                                        */
/* ------------------------------------------------------------------------- */

.registration-form>div {
  padding-bottom: 1em;
}

.registration-form>div>label {
  font-weight: bold;
  display: block;
  padding-bottom: 0.5em;
}

.registration-form input[type=text] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
  font-size: 24px;
}

.registration-form input[type=submit] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 24px;
  padding: 3px 7px;
  text-decoration: none;
}

/* ------------------------------------------------------------------------- */
/* Donation page                                                             */
/* ------------------------------------------------------------------------- */

.donation .donation-form .input-group {
  display: block;
  margin-bottom: 1em;
}

.donation .donation-form .input-group label {
  display: block;
  margin-bottom: 0.25em;
}

.donation .donation-form .input-group input[type=text],
.donation .donation-form .input-group input[type=tel] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block;
  font-size: 24px;
}

.donation .donation-form .input-group ul.suggestions {
  list-style: none;
  margin: 0.25em 0 0 0;
  padding: 0;
}

.donation .donation-form .input-group ul.suggestions>li {
  background-color: #999;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  padding: 3px;
}

.donation .donation-form .input-group input[type=submit] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  display: inline-block;
  font-size: 24px;
  padding: 3px 7px;
  text-decoration: none;
}

.donation .donation-status-message {
  font-size: 25px;
}

/* ------------------------------------------------------------------------- */
/* Retreats landing page                                                     */
/* ------------------------------------------------------------------------- */

.retreat-landing section {
  padding: 0.5em 0;
}

.retreat-landing section.odd {
  background-color: #eee;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.retreat-landing .photo {
  float: left;
  display: block;
  margin: 0 0.5em 0.5em 0;
}

@media screen and (max-width: 980px) {
  .retreat-landing .photo {
    float: none;
    margin: auto;
  }
}

.retreat-landing ol.participation-steps {
  margin: 0 0 0 1em;
  padding: 0;
}

.retreat-landing .retreats ul.buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

.retreat-landing .retreats ul.buttons>li {
  display: block;
  margin: 1em;
}

.retreat-landing .retreats ul.buttons>li .button {
  background-color: #eee;
  position: relative;
}

.retreat-landing .retreats ul.buttons>li .button .button-bg {
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 1;
}

.retreat-landing .retreats ul.buttons>li .button:before {
  background: linear-gradient(to top, rgba(127, 255, 0, 0.3), 20%, rgba(0, 0, 0, 0.5), 50%, rgba(0, 0, 0, 0.5), 80%, rgba(255, 127, 0, 0.3));
  border-radius: 5px;
  content: "\00a0";
  height: 100%;
  position: absolute;
  width: 100%;
}

.retreat-landing .retreats ul.buttons>li .button .button-link {
  align-items: center;
  box-shadow: 0 0 10px #ccc;
  display: flex;
  min-height: 229px;
  text-decoration: none;
  padding: 1em;
  position: relative;
  width: 343px;
  z-index: 2;
}

.retreat-landing .retreats ul.buttons>li.highlighted .button .button-link {
  box-shadow: 0 0 10px #cfc;
}

.retreat-landing .retreats ul.buttons>li .button .button-link .caption {
  color: #fff;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  text-shadow: 0 0 5px #000;
  width: 100%;
}

.retreat-landing .retreats ul.buttons>li.highlighted .button .button-link .caption {
  text-shadow: 0 0 5px #060;
}

.retreat-landing .retreats ul.buttons>li .chevron {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), 50%, rgba(255, 255, 255, 0));
  position: relative;
  top: -5px;
  padding-top: 5px;
}

.retreat-landing .retreats ul.buttons>li.highlighted .chevron {
  background: linear-gradient(to bottom, rgba(0, 255, 0, 0.1), 50%, rgba(255, 255, 255, 0));
}

.retreat-landing .retreats ul.buttons>li .chevron:after {
  border-bottom: 3px solid;
  border-right: 3px solid;
  content: "";
  color: #999;
  display: block;
  height: 25px;
  margin: 0 auto;
  transform: rotate(45deg);
  width: 25px;
}

.retreat-landing .retreats ul.buttons>li.highlighted .chevron:after {
  color: #9c9;
}

.retreat-landing .retreats .items .retreat {
  background-color: #f0f0f0;
  border-radius: 5px;
  box-shadow: 0 0 10px #ccc;
  display: none;
  padding: 1em;
}

.retreat-landing .retreats .items .retreat:target {
  display: block;
}

.retreat-landing .retreats .items .retreat h4 {
  margin: 0 0 0.5em 0;
  font-size: 150%;
}

.retreat-landing .retreats .items .retreat h5 {
  font-size: 25px;
  margin: 1em 0;
}

.retreat-landing .retreats .items dl.details {
  margin: 0;
  padding: 0;
}

.retreat-landing .retreats .items dl.details>dt {
  font-weight: bold;
}

.retreat-landing .retreats .items dl.details>dd {
  margin: 0 0 0.5em 0;
  padding: 0;
}

.retreat-landing .retreats .items iframe {
  max-width: 100%;
}

/* ------------------------------------------------------------------------- */
/* Online practices landing page                                             */
/* ------------------------------------------------------------------------- */

.zazen-online .action-button {
  background-color: #696;
  border-radius: 5px;
  box-shadow: #999 2px 2px 5px;
  color: #fff;
  display: block;
  font-size: 24px;
  font-weight: bold;
  height: 86px;
  margin: 1em auto;
  padding-top: 30px;
  text-align: center;
  text-decoration: none;
  width: 400px;
}

/* ------------------------------------------------------------------------- */
/* Moscow zen center page                                                    */
/* ------------------------------------------------------------------------- */

.moscow-landing #practice-registration-form {
  background-color: #fff;
  font-size: 1.25em;
  max-width: 500px;
  margin: 1em auto;
  padding: 2em 2em 1em 2em;
}

.moscow-landing #practice-registration-form h3 {
  margin: 0;
  padding: 0;
}

.moscow-landing #practice-registration-form .field {
  margin: 1em 0;
}

.moscow-landing #practice-registration-form .field>label {
  display: block;
  margin-bottom: 0.5em;
}

.moscow-landing #practice-registration-form input[type=text] {
  display: block;
  font-size: 1.25em;
  max-width: 100%;
}

.moscow-landing #practice-registration-form input[type=radio] {
  height: 2em;
  width: 2em;
}

.moscow-landing #practice-registration-form input[type=submit] {
  background: rgb(200, 153, 52);
  background: linear-gradient(0deg, rgb(226, 185, 122) 0%, rgb(248, 226, 171) 100%);
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  display: block;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  font-size: 24px;
  margin: auto;
  padding: 1em 1em;
  text-decoration: none;
  text-shadow: 0 0 5px #fff;
}

/* ------------------------------------------------------------------------- */
/* Ural zen center page                                                      */
/* ------------------------------------------------------------------------- */

.zen-center-ural .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.zen-center-ural .gallery img {
  display: block;
  margin: 0.5em;
  max-width: 565px;
}

/* ------------------------------------------------------------------------- */
/* Footer                                                                    */
/* ------------------------------------------------------------------------- */

footer {
  background-color: #333;
  color: #fff;
  font-size: 16px;
  min-height: 40px;
  margin-top: -40px;
  padding: 16px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer a {
  color: #fff;
}

.copyright {
  text-align: right;
  padding-right: 1em;
}
