<commit_before>@import "bootstrap-sprockets";
@import "bootstrap";

// Customized by YassLab team

/* Twemoji */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
  border-radius: 0px;
}

/* DojoCast Cover Photo */
.dojocast-cover {
  border-radius: 0px;
}

/* DocSearch by Algolia */
.search {
  padding-top: 17px;
  padding-left: 15px;
  padding-right: 20px;
  padding-bottom: 10px;
}

#searchbox {
  padding-left: 5px;
  font-size: 90%;
}

.algolia-autocomplete {
  /* Main dropdown wrapper */
  //  max-width: 100px;
}

.algolia-autocomplete .ds-dropdown-menu {
  //  width: 200px;
}

.algolia-autocomplete .algolia-docsearch-suggestion--category-header {
  /* Main category (eg. Getting Started) */
  //  color: darkgray;
  //  border: 1px solid gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column {
  /* Category (eg. Downloads) */
  //  color: gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--title {
  /* Title (eg. Bootstrap CDN) */
  //  font-weight: bold;
  //  color: black;
}

.algolia-autocomplete .algolia-docsearch-suggestion--text {
  /* Description description (eg. Bootstrap currently works...) */
  //  font-size: 0.8rem;
  //  color: gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
  /* Highlighted text */
  //  color: blue;
}

/* 改行位置の調整 */

.ignore-pc {
  display: none;
}

.ignore-sp {
  display: inline;
}

@media screen and (max-width: 640px) {
  .ignore-pc {
    display: inline;
  }
  .ignore-sp {
    display: none;
  }
}

.home-point-slides {
  position: relative;
  overflow: hidden;
  margin: 15px 0 20px 0;
  padding-bottom: 50%;
  padding-top: 65px;
}

.home-point-slides iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.home-point-video {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  padding-top: 25px;
}

.home-point-video iframe {
  position: absolute;
  top: 0;
  left: 3.5%;
  width: 95% !important;
  height: 100% !important;
}

.headline {
  color: white;
  background: #2275CA;
  padding: 10px 10px 10px 20px;
  margin: 30px auto;
}

.headline-anchor {
  padding-bottom: 30px;
}

.kata {
  position: relative;
  a.button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-40%, -50%);
    -ms-transform: translate(-40%, -50%);
    background-color: RoyalBlue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 7px 11px;
    @media screen and (max-width: 480px) {
      font-size: 9px;
      padding: 0px 5px;
    }
    border: none;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.9;
    &:hover {
      text-decoration: underline;
      opacity: 0.95;
    }
  }
}

div #README {
  margin-top: -75px;
}

img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

a>img {
  width: 100%;
  &:hover {
    cursor: pointer;
  }
}

h2 {
  font-weight: 500;
}

.fontsize-bigger {
  font-size: 20px;
}

.snsb {
  overflow: hidden;
  clear: left;
  margin-left: 13px;
  padding: 0;
}

.snsb li {
  float: left;
  margin: 4px;
  list-style-type: none;
  line-height: 0;
}

.snsb iframe {
  margin: 0 !important;
}

// Partner section
.partners_logo {
  ul {
    padding-left: 0px;
  }
  li {
    list-style-type: none;
    display: inline-block;
    padding-top: 20px;
    @media only screen and (min-width: 0px) {
      margin-left: -5px;
      margin-top: 5px;
      width: 260px;
      height: 120px;
    }
    @media only screen and (min-width: 321px) {
      margin-top: 20px;
      width: 300px;
      height: 120px;
    }
    @media only screen and (min-width: 560px) {
      padding: 30px 0px 0px 0px;
      margin: 0px 0px 0px 0px;
      width: 220px;
      height: 100px;
    }
    @media only screen and (min-width: 720px) {
      padding: 0px 20px 0px 20px;
      margin: 30px 0px 0px 0px;
      width: 320px;
      height: 100px;
    }
    img {
      width: 100%;
      &:hover {
        cursor: pointer;
      }
    }
  }
}

// Customized by @coderdojo-tokyo
.cd-fw {
  text-align: center;
  background: #2275CA;
}

.dojo>header>a {
  text-decoration: none
}

@font-face {
  font-family: coderdojo;
  src: url(/font/coderdojo.eot);
  src: url(/font/coderdojo.eot?#iefix) format('eot'), url(/font/coderdojo.woff) format('woff'), url(/font/coderdojo.ttf) format('truetype'), url(/font/coderdojo.svg#coderdojo) format('svg');
  font-weight: 400;
  font-style: normal
}

.cd:before {
  display: inline-block;
  font-family: coderdojo;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.cd-lg {
  font-size: 1.3333333333333333em;
  line-height: .75em;
  vertical-align: -15%
}

.dojo {
  overflow: hidden;
  vertical-align: top
}

.cd-2x {
  font-size: 2em
}

.cd-3x {
  font-size: 3em
}

.cd-4x {
  font-size: 4em
}

.cd-5x {
  font-size: 5em
}

.cd-fw {
  width: 1.2857142857142858em
}

.cd-spin {
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear
}

.cd-clock:before {
  content: "\EA01"
}

.cd-connect:before {
  content: "\EA02"
}

.cd-glyph07:before {
  content: "\EA03"
}

.cd-glyph08:before {
  content: "\EA04"
}

.cd-logo-jp:before {
  content: "\EA05"
}

.cd-logo:before {
  content: "\EA06"
}

.cd-pin:before {
  content: "\EA07"
}

.cd-spinner:before {
  content: "\EA08"
}

body {
  margin: 0;
  font-size: 16px;
  font-family: 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif
}

a {
  color: #2e9ad9;
}

.under-construction {
  color: #cd8585;
  font-size: 75%;
  margin: 0;
  padding: .2em;
  background: #FFF
}


.footer-bottom {
  //margin: -.25em 0 0;
  padding: 2em 2em;
  color: #fff;
  background: #2275CA
}

.footer-bottom>h2 {
  font-size: 87.5%;
  margin-top: 0;
  margin-bottom: 2em
}

.footer-link {
  color: #fff;
  text-decoration: underline
}

.footer-link:link {
  color: #fff;
  text-decoration: underline
}

.footer-link:visited {
  color: #fff;
  text-decoration: underline
}

.title,
body>footer a:hover {
  color: #fff;
  text-decoration: none
}

.title {
  padding-top: 15px;
  background: #2275CA;
}

.title>i.cd:before {
  font-size: 500%;
  display: block
}

.title>h1 {
  font-size: 1.5em;
  margin: .5em 0 0.3em
}

.title>p {
  padding: 0 1em;
  margin: 0 auto;
  max-width: 680px; //font-size: 130%
}

@media only screen and (min-width:560px) {
  body>footer>ul li {
    border-radius: 3px;
    line-height: 2.8em
  }
  .title>i.cd:before {
    font-size: 800%
  }
  .title>h1 {
    font-size: 1.7em;
    margin-bottom: .5em
  }
  .title>p {
    padding: 0 3em;
    font-size: 110%
  }
}

@media only screen and (min-width:720px) {
  .title>i.cd:before {
    font-size: 1000%
  }
  .title>h1 {
    font-size: 2.2em;
    margin-bottom: .2em
  }
  .title>p {
    padding: 0 5em;
    font-size: 90%
  }
}

@media only screen and (min-width:560px) {
  .introduction {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5em;
    background: #fff
  }
  .detail-introduction {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5em;
  }
}

.introduction {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5em;
  line-height: 1.7em;
  font-size: 17.2px;
  background: #fff
}

.introduction>p {
  margin-bottom: .8em;
  line-height: 1.7em;
  text-align: center
}

.detail-introduction {
  max-width: 800px;
  margin: auto;
  padding: 0.5em 2em;
  padding-bottom: 1.5em;
  line-height: 1.7em;
  font-size: 18px;
}

.list>ul {
  display: inline-block;
  text-align: left;
  padding-left: 2em;
  color: #666
}

.detail-introduction>h2 {
  font-size: 150%;
  font-weight: 900;
  color: #999;
  margin-bottom: .4em
}

.grayscale-bg {
  background: #f7f7f7;
}

/* Top Cover Photo */
.cover {
  overflow: hidden;
  min-height: 125px;
  position: relative;
  background-color: #000;
  z-index: 0;
  overflow: hidden;
  max-height: 50vh;
  &::before {
    content: '';
    -ms-filter: blur(6px);
    filter: blur(10px);
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: url('/img/coderdojo-japan_cover.jpg') no-repeat center;
    background-size: cover;
    opacity: 0.6;
  }
}

.cover img {
  height: 100%;
  width: 100%;
  max-height: 50vh;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 0px;
  object-fit: contain;
}

// Each Dojo: /#dojos
.dojos>ul {
  text-align: center;
  padding: 0 0 1.5em
}

.dojos>h2 {
  font-size: 150%;
  font-weight: 900;
  color: #999;
  padding-top: 1em;
  margin: .4em
}
.dojo-flex{
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
}

.dojo {
  width: 45%;
  margin: 5px;
  padding: 15px 0;
  background: #fff;
  position: relative;
  text-align: center;
  height: auto;

  //display: block;
  display: flex;
  flex-direction: column;
  p {
    font-size: 70%;
    padding: 10px 10px 5px;
    text-align: center;
    margin: 5px 0;
    margin-top: auto;
  }
}

.dojo-picture {
  display: block;
  height: 96px;
  width: 96px;
  background-position: center center; // border-radius: 48px;
  background-size: cover;
  margin: 0 auto;
}

.dojo-name {
  display: block;
  margin: .5em 0;
  font-weight: bold;
}

.dojo-private {
  font-size: 80%;
  color: #fff;
  border-radius: .3em;
  padding: .3em;
  margin: .2em;
  background: #66CCFF;
}

.dojo-private:hover {
  text-decoration: none;
}

// Each Event: /events
.event-region {
  padding: 50px 0 20px 0;
}

.event-ul {
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.event {
  border: 1px solid #e8e8e8;
  display: inline-table;
  min-height: 200px;
  margin: 5px;
  background: #fff;
  position: relative;
  text-align: center;
  @media only screen and (max-width: 560px) {
    display: block;
  }
}

.event>header {
  background: #2275CA;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.event>header p.event-date,
.event>header p.event-at {
  margin: 0;
}

.event>header p.event-date {
  font-size: 120%;
  font-weight: bold;
}

.event>header div.event-ribbon {
  width:  80px;
  height: 80px;
  overflow: hidden;
  position: absolute;

  top:   0px;
  right: 0px;

  &::before, &::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;

    border-top-color:   transparent;
    border-right-color: transparent;
  }
  &::before {
    top:  0;
    left: 0;
  }
  &::after {
    bottom: 0;
    right:  0;
  }

  span {
    position: absolute;
    display: block;
    width: 220px;
    padding: 5px 0;
    background-color: #ffd700;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 850 8px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;

    left: -48px;
    top:   10px;
    transform: rotate(45deg);
  }
}


.event>p {
  margin: 10px;
  text-align: left;
}

.event>p>a {
  text-decoration: none
}

@media only screen and (min-width:560px) {
  .dojo {
    width: calc(220px - 10px);
    margin: 10px;
  }
  .event {
    width: 220px;
    margin: 10px;
  }
}

.spinner {
  height: 3em;
  color: #ccc
}

.tags {
  margin: 0 5px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.tags>li {
  display: inline-block;
  font-size: 80%;
  color: #fff;
  border-radius: .3em;
  border: 1px solid #e8e8e8;
  padding: .2em .8em;
  margin: .1em;
  background: #99CCFF
}

.title>h1 {
  font-family: 'Fjalla One', sans-serif
}

.loaded {
  width: 90%;
  display: inline-block
}

#accordion a:hover {
  text-decoration: none;
}
@media only screen and (max-width:720px) {
  .highcharts-root {
    transform: scale(0.8);
  }
  #transition-table {
    padding: 20px 0;
    font-size: 12px;
    width: 520px;
    height: auto;
    margin: auto;
  }
}

@media only screen and (max-width:560px) {
  .highcharts-container, .highcharts-root {
    width:  100% !important;
    height: 100% !important;
  }
  .highcharts-container, .highcharts-title {
    font-size: 26px !important;
  }
  #transition-table {
    font-size: 10px;
    width:     100%;
  }
}

/* Stats */
#japan-map-container canvas {
  margin: 20px auto 30px;
}
#japan-map-text {
  display: block;
}

@media only screen and (max-width: 651px) {
  #japan-map-container canvas {
    margin: 50px auto;
    width: 100%;
  }
  #japan-map-text {
    display: none;
  }
}
<commit_msg>Make contrast stronger a bit in resources<commit_after>@import "bootstrap-sprockets";
@import "bootstrap";

// Customized by YassLab team

/* Twemoji */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
  border-radius: 0px;
}

/* DojoCast Cover Photo */
.dojocast-cover {
  border-radius: 0px;
}

/* DocSearch by Algolia */
.search {
  padding-top: 17px;
  padding-left: 15px;
  padding-right: 20px;
  padding-bottom: 10px;
}

#searchbox {
  padding-left: 5px;
  font-size: 90%;
}

.algolia-autocomplete {
  /* Main dropdown wrapper */
  //  max-width: 100px;
}

.algolia-autocomplete .ds-dropdown-menu {
  //  width: 200px;
}

.algolia-autocomplete .algolia-docsearch-suggestion--category-header {
  /* Main category (eg. Getting Started) */
  //  color: darkgray;
  //  border: 1px solid gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column {
  /* Category (eg. Downloads) */
  //  color: gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--title {
  /* Title (eg. Bootstrap CDN) */
  //  font-weight: bold;
  //  color: black;
}

.algolia-autocomplete .algolia-docsearch-suggestion--text {
  /* Description description (eg. Bootstrap currently works...) */
  //  font-size: 0.8rem;
  //  color: gray;
}

.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
  /* Highlighted text */
  //  color: blue;
}

/* 改行位置の調整 */

.ignore-pc {
  display: none;
}

.ignore-sp {
  display: inline;
}

@media screen and (max-width: 640px) {
  .ignore-pc {
    display: inline;
  }
  .ignore-sp {
    display: none;
  }
}

.home-point-slides {
  position: relative;
  overflow: hidden;
  margin: 15px 0 20px 0;
  padding-bottom: 50%;
  padding-top: 65px;
}

.home-point-slides iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.home-point-video {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  padding-top: 25px;
}

.home-point-video iframe {
  position: absolute;
  top: 0;
  left: 3.5%;
  width: 95% !important;
  height: 100% !important;
}

.headline {
  color: white;
  background: #2275CA;
  padding: 10px 10px 10px 20px;
  margin: 30px auto;
}

.headline-anchor {
  padding-bottom: 30px;
}

.kata {
  position: relative;
  a.button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-40%, -50%);
    -ms-transform: translate(-40%, -50%);
    background-color: RoyalBlue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 7px 11px;
    @media screen and (max-width: 480px) {
      font-size: 9px;
      padding: 0px 5px;
    }
    border: none;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.9;
    &:hover {
      text-decoration: underline;
      opacity: 0.95;
    }
  }
}

div #README {
  margin-top: -75px;
}

img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

a>img {
  width: 100%;
  &:hover {
    cursor: pointer;
  }
}

h2 {
  font-weight: 500;
}

.fontsize-bigger {
  font-size: 20px;
}

.snsb {
  overflow: hidden;
  clear: left;
  margin-left: 13px;
  padding: 0;
}

.snsb li {
  float: left;
  margin: 4px;
  list-style-type: none;
  line-height: 0;
}

.snsb iframe {
  margin: 0 !important;
}

// Partner section
.partners_logo {
  ul {
    padding-left: 0px;
  }
  li {
    list-style-type: none;
    display: inline-block;
    padding-top: 20px;
    @media only screen and (min-width: 0px) {
      margin-left: -5px;
      margin-top: 5px;
      width: 260px;
      height: 120px;
    }
    @media only screen and (min-width: 321px) {
      margin-top: 20px;
      width: 300px;
      height: 120px;
    }
    @media only screen and (min-width: 560px) {
      padding: 30px 0px 0px 0px;
      margin: 0px 0px 0px 0px;
      width: 220px;
      height: 100px;
    }
    @media only screen and (min-width: 720px) {
      padding: 0px 20px 0px 20px;
      margin: 30px 0px 0px 0px;
      width: 320px;
      height: 100px;
    }
    img {
      width: 100%;
      &:hover {
        cursor: pointer;
      }
    }
  }
}

// Customized by @coderdojo-tokyo
.cd-fw {
  text-align: center;
  background: #2275CA;
}

.dojo>header>a {
  text-decoration: none
}

@font-face {
  font-family: coderdojo;
  src: url(/font/coderdojo.eot);
  src: url(/font/coderdojo.eot?#iefix) format('eot'), url(/font/coderdojo.woff) format('woff'), url(/font/coderdojo.ttf) format('truetype'), url(/font/coderdojo.svg#coderdojo) format('svg');
  font-weight: 400;
  font-style: normal
}

.cd:before {
  display: inline-block;
  font-family: coderdojo;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.cd-lg {
  font-size: 1.3333333333333333em;
  line-height: .75em;
  vertical-align: -15%
}

.dojo {
  overflow: hidden;
  vertical-align: top
}

.cd-2x {
  font-size: 2em
}

.cd-3x {
  font-size: 3em
}

.cd-4x {
  font-size: 4em
}

.cd-5x {
  font-size: 5em
}

.cd-fw {
  width: 1.2857142857142858em
}

.cd-spin {
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear
}

.cd-clock:before {
  content: "\EA01"
}

.cd-connect:before {
  content: "\EA02"
}

.cd-glyph07:before {
  content: "\EA03"
}

.cd-glyph08:before {
  content: "\EA04"
}

.cd-logo-jp:before {
  content: "\EA05"
}

.cd-logo:before {
  content: "\EA06"
}

.cd-pin:before {
  content: "\EA07"
}

.cd-spinner:before {
  content: "\EA08"
}

body {
  margin: 0;
  font-size: 16px;
  font-family: 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif
}

a {
  color: #2e9ad9;
}

.under-construction {
  color: #cd8585;
  font-size: 75%;
  margin: 0;
  padding: .2em;
  background: #FFF
}


.footer-bottom {
  //margin: -.25em 0 0;
  padding: 2em 2em;
  color: #fff;
  background: #2275CA
}

.footer-bottom>h2 {
  font-size: 87.5%;
  margin-top: 0;
  margin-bottom: 2em
}

.footer-link {
  color: #fff;
  text-decoration: underline
}

.footer-link:link {
  color: #fff;
  text-decoration: underline
}

.footer-link:visited {
  color: #fff;
  text-decoration: underline
}

.title,
body>footer a:hover {
  color: #fff;
  text-decoration: none
}

.title {
  padding-top: 15px;
  background: #2275CA;
}

.title>i.cd:before {
  font-size: 500%;
  display: block
}

.title>h1 {
  font-size: 1.5em;
  margin: .5em 0 0.3em
}

.title>p {
  padding: 0 1em;
  margin: 0 auto;
  max-width: 680px; //font-size: 130%
}

@media only screen and (min-width:560px) {
  body>footer>ul li {
    border-radius: 3px;
    line-height: 2.8em
  }
  .title>i.cd:before {
    font-size: 800%
  }
  .title>h1 {
    font-size: 1.7em;
    margin-bottom: .5em
  }
  .title>p {
    padding: 0 3em;
    font-size: 110%
  }
}

@media only screen and (min-width:720px) {
  .title>i.cd:before {
    font-size: 1000%
  }
  .title>h1 {
    font-size: 2.2em;
    margin-bottom: .2em
  }
  .title>p {
    padding: 0 5em;
    font-size: 90%
  }
}

@media only screen and (min-width:560px) {
  .introduction {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5em;
    background: #fff
  }
  .detail-introduction {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5em;
  }
}

.introduction {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5em;
  line-height: 1.7em;
  font-size: 17.2px;
  background: #fff
}

.introduction>p {
  margin-bottom: .8em;
  line-height: 1.7em;
  text-align: center
}

.detail-introduction {
  max-width: 800px;
  margin: auto;
  padding: 0.5em 2em;
  padding-bottom: 1.5em;
  line-height: 1.7em;
  font-size: 18px;
}

.list>ul {
  display: inline-block;
  text-align: left;
  padding-left: 2em;
  color: #555;
}

.detail-introduction>h2 {
  font-size: 150%;
  font-weight: 900;
  color: #999;
  margin-bottom: .4em
}

.grayscale-bg {
  background: #f7f7f7;
}

/* Top Cover Photo */
.cover {
  overflow: hidden;
  min-height: 125px;
  position: relative;
  background-color: #000;
  z-index: 0;
  overflow: hidden;
  max-height: 50vh;
  &::before {
    content: '';
    -ms-filter: blur(6px);
    filter: blur(10px);
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: url('/img/coderdojo-japan_cover.jpg') no-repeat center;
    background-size: cover;
    opacity: 0.6;
  }
}

.cover img {
  height: 100%;
  width: 100%;
  max-height: 50vh;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 0px;
  object-fit: contain;
}

// Each Dojo: /#dojos
.dojos>ul {
  text-align: center;
  padding: 0 0 1.5em
}

.dojos>h2 {
  font-size: 150%;
  font-weight: 900;
  color: #999;
  padding-top: 1em;
  margin: .4em
}
.dojo-flex{
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
}

.dojo {
  width: 45%;
  margin: 5px;
  padding: 15px 0;
  background: #fff;
  position: relative;
  text-align: center;
  height: auto;

  //display: block;
  display: flex;
  flex-direction: column;
  p {
    font-size: 70%;
    padding: 10px 10px 5px;
    text-align: center;
    margin: 5px 0;
    margin-top: auto;
  }
}

.dojo-picture {
  display: block;
  height: 96px;
  width: 96px;
  background-position: center center; // border-radius: 48px;
  background-size: cover;
  margin: 0 auto;
}

.dojo-name {
  display: block;
  margin: .5em 0;
  font-weight: bold;
}

.dojo-private {
  font-size: 80%;
  color: #fff;
  border-radius: .3em;
  padding: .3em;
  margin: .2em;
  background: #66CCFF;
}

.dojo-private:hover {
  text-decoration: none;
}

// Each Event: /events
.event-region {
  padding: 50px 0 20px 0;
}

.event-ul {
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.event {
  border: 1px solid #e8e8e8;
  display: inline-table;
  min-height: 200px;
  margin: 5px;
  background: #fff;
  position: relative;
  text-align: center;
  @media only screen and (max-width: 560px) {
    display: block;
  }
}

.event>header {
  background: #2275CA;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.event>header p.event-date,
.event>header p.event-at {
  margin: 0;
}

.event>header p.event-date {
  font-size: 120%;
  font-weight: bold;
}

.event>header div.event-ribbon {
  width:  80px;
  height: 80px;
  overflow: hidden;
  position: absolute;

  top:   0px;
  right: 0px;

  &::before, &::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #2980b9;

    border-top-color:   transparent;
    border-right-color: transparent;
  }
  &::before {
    top:  0;
    left: 0;
  }
  &::after {
    bottom: 0;
    right:  0;
  }

  span {
    position: absolute;
    display: block;
    width: 220px;
    padding: 5px 0;
    background-color: #ffd700;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 850 8px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;

    left: -48px;
    top:   10px;
    transform: rotate(45deg);
  }
}


.event>p {
  margin: 10px;
  text-align: left;
}

.event>p>a {
  text-decoration: none
}

@media only screen and (min-width:560px) {
  .dojo {
    width: calc(220px - 10px);
    margin: 10px;
  }
  .event {
    width: 220px;
    margin: 10px;
  }
}

.spinner {
  height: 3em;
  color: #ccc
}

.tags {
  margin: 0 5px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.tags>li {
  display: inline-block;
  font-size: 80%;
  color: #fff;
  border-radius: .3em;
  border: 1px solid #e8e8e8;
  padding: .2em .8em;
  margin: .1em;
  background: #99CCFF
}

.title>h1 {
  font-family: 'Fjalla One', sans-serif
}

.loaded {
  width: 90%;
  display: inline-block
}

#accordion a:hover {
  text-decoration: none;
}
@media only screen and (max-width:720px) {
  .highcharts-root {
    transform: scale(0.8);
  }
  #transition-table {
    padding: 20px 0;
    font-size: 12px;
    width: 520px;
    height: auto;
    margin: auto;
  }
}

@media only screen and (max-width:560px) {
  .highcharts-container, .highcharts-root {
    width:  100% !important;
    height: 100% !important;
  }
  .highcharts-container, .highcharts-title {
    font-size: 26px !important;
  }
  #transition-table {
    font-size: 10px;
    width:     100%;
  }
}

/* Stats */
#japan-map-container canvas {
  margin: 20px auto 30px;
}
#japan-map-text {
  display: block;
}

@media only screen and (max-width: 651px) {
  #japan-map-container canvas {
    margin: 50px auto;
    width: 100%;
  }
  #japan-map-text {
    display: none;
  }
}

{'fraction_non_alphanumeric': 0.15578533926495933, 'fraction_numerical': 0.05370526231413571, 'mean_word_length': 2.615707868424866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5609198', 'n_tokens_mistral': 11428, 'n_tokens_neox': 10255, 'n_words': 2322}