body {
  margin: 0;
  padding: 0;
  width: 100vw;
  background-size: contain; }

header {
  position: fixed;
  width: 100vw;
  display: block;
  background-color: rgba(255, 255, 255, .8);
  height: 193px;
  padding: 0;
  margin: 0;
  z-index: 999;
}

header h1 {
  text-transform: uppercase;
  background-color: #fff;
  font-size: 2rem;
  font-weight: 100;
  display: inline;
  margin: 0;
  border: 1.5px solid #b0471f;
  position: absolute;
  color: #b0471f; 
}

#logo {
  clear: both;
  background-image: url('/logo.gif');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 400px;
  width: auto;
  height: 100px;
  display: block;
  margin: 15px auto 30px; 
}
@media only screen and (max-width: 640px) {
  #logo {
    width: auto;
  }
}

#nav-bar {
  margin-bottom: 0; 
  width: 100vw;
  display: block;
}

#nav-bar ul {
  background-color: rgba(203, 255, 229, .8);
  padding: 0;
  margin: 0;
  text-align: center;
  height: 50px;
  word-spacing: 5px;
  width: 100vw;
  z-index: 998;
}

#nav-bar li {
  text-transform: uppercase;
  list-style-type: none;
  font-family: 'Oswald', sans-serif;
  color: grey;
  display: inline-block;
  height: inherit;
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: 10px;
}

a{
 color: rgba(96, 96, 96, 1);
 text-decoration: none;
}

@media only screen and (max-width: 640px) {
  #nav-bar li {
    margin-top: 0;
    font-size: 14px;}
  #nav-bar .nav_board {
  padding-top: 10px;}
}
.anchor{
  display: block;
  height: 193px; /*same height as header*/
  margin-top: -193px; /*same height as header*/
  visibility: hidden;
}
/* source: http://pixelflips.com/blog/anchor-links-with-a-fixed-header
*/

#featured_img{
  clear: both;
  background-image: url('/images/diamond_head.png');
  background-repeat: no-repeat;
  background-size: cover;
  min-width: 150px;
  width: 100vw;
  min-height: 600px;
  height: auto;
  margin-top: 190px;
}
/*@media (min-width: 398px) and (max-width: 880px) {
  #featured_img{
    min-height: 300px;  
  }
}*/
/*@media only screen and (max-width: 397px) {
  #featured_img{
    min-height: 200px;
  }
}*/

.aboutUs{
  width: 90vw;
  min-height: 100px;
  height: auto;
  color: black;
  /*background-color: rgba(224, 224, 224,.4);*/
  margin: 80px auto;
  text-align: center;
  padding: 30px 0;
  border: 2px solid grey;
  /*border: 1px solid rgba(224, 224, 224, 1);*/
}

.aboutUs>h2{
  margin: 0 auto;
  color: grey;
  font-weight: 100;
  font-family: lato;
  font-size: 40px;
  /*font-size: 20px;*/
}

p.mission{
  color: black;
  margin: 20px 30px 0;
  text-align: left;
  font-family: oswald;
  font-weight: 100;
}

 

/*EVENTS.HTML*/
.upcoming_event{
  width: 100vw;
  min-height: 250px;
  height: auto;
  margin: 0px auto 30px;
  color: grey;
  text-align: center;
  font-family: oswald;
  font-weight: 100;
}

.upcoming_event h3{
  font-weight: 100;
  font-family: lato;
  font-size: 45px;
  text-transform: uppercase;
  margin: 20px 10px 25px;
  padding: 0 10px;
  color: grey;
}

#info {
    color: #b0471f;
}

.ball {
  pointer-events: none;
  /*makes elements non-reactive to mouse/click events such as dragging*/
  position: absolute; 
  width: 10px;
  height: 10px;
  border-radius: 50%; 
  background: gray;
  animation: snow 3s ease-in-out;
  animation-fill-mode: both;
  /* extends animation properties in both directions (forwards and backwards) */
  opacity: .5;
}

@keyframes snow{
  100% {transform: scale(0)}
}
.upcoming_event h4{
  font-size: 30px;
  color: black;
}
.upcoming_event>p{
  font-size: 20px;
  color: grey;
}

h4{
  text-transform: uppercase;
}

button{
  background-color: white;
  border-radius: 1px; 
  border: 2px grove rgba(203, 255, 229, .5);
  text-decoration:none;
  /* background-color: rgba(203, 255, 229, .5) */
  margin-top: 10px; 
}
button:hover{
 transform: scale(1.3);
}

#donate{
float:left
}

.speaker{
  width: 65px;
  height: 72px;
  border-radius: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  padding: 10px;
}

h2.show_events{
  background-color: rgba(203, 255, 229, .8);
  padding: 20px 0 0;
  width: 100vw;
  height: 50px;
  text-align: center;
  margin: 3px auto 0;
  font-family: 'Oswald', sans-serif;
  color: grey;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

#past_events{
  width: auto;
  text-align: center;
}
div.pure-g{
  display: none;
  height: auto;
  width: auto;
  margin: auto;
  box-sizing: border-box;
}


#past{
  /*margin: auto;*/
}

.show_events:hover{
  font-size: 19px;
}

.blurb{
  display:none;
  background-color: rgba(203, 255, 229, .5);
  padding: 30px 8px 0 8px;
  width: 245px;
  height: inherit;
  text-align: left;
  overflow: scroll;
  vertical-align: center;
  color: rgba(64, 64, 64, 1);
  font-size: 15px;
  letter-spacing: 1px;

}
#gaia_blurb, #morio_blurb{
  padding: 0 8px;
  margin: 0;
  overflow: scroll;
}
#mogi_blurb{
  padding: 20px 8px 0;
  overflow: scroll;
}

.pure-u-1-5 {
  background-color: white;
  height: 375px;
  overflow: hidden;
  width: 250px;
  font-family: 'Lato', sans-serif;
  display: inline-block;
  margin: 15px;
  vertical-align: top; 
}

.info {
  margin: auto;
  max-width: 100vw;
  padding: 25px 0 60px; 
}

.event_img{
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 100px;
  width: auto;
  max-width: 100vw;
  height: 200px;
  margin: 20px; 
}
@media only screen and (max-width: 640px) {
  .img1 {
    max-width: 200px;
    width: auto;
    padding: 5px; 
  } 
}
#ryojun{
  background-image: url('/images/2014_events/Ryojun.png');
}
#skarma{
  background-image: url('/images/2014_events/Skarma.jpg');
}
#aika{
  background-image: url('/images/2014_events/aika.png');
}
#mogi{
  background-image: url('/images/2013_events/mogi.png');
}
#yasue{
  background-image: url('/images/2013_events/Yasue.png');
}
#hideko{
  background-image: url('/images/2011_events/hideko.png');
}
#hatsume{
  background-image: url('/images/2011_events/hatsume.png');
}
#kaho{
  background-image: url('/images/2010_events/kaho.png');
}
#katsuko{
  background-image: url('/images/2010_events/katsuko.png');
}
#hSato{
  background-image: url('/images/2008_events/hatsume.png');
}
#adachi{
  background-image: url('/images/2008_events/adachi1.png');
}
#nishimura{
  background-image: url('/images/2008_events/nishimura.png');
}
#matsui{
  background-image: url('/images/2008_events/matsui.png');
}
#gaia{
  background-image: url('/images/2007_events/gaia.png');
}
#yamakawa{
  background-image: url('/images/2006_events/akiko.png');
}
#tempu{
  background-image: url('/images/2006_events/tempu.png');
}

/*Ongoing*/
#minami{
  background-image: url('/images/2012_events/minami.png');
}

.events_info{
  width: 100vw;
}

.pure-u-1-3{
  width: calc(100vw/3);
  margin: auto;
}

#minami_sensei{
  margin: 0 30px;
  width: auto;
  min-height: 300px;
  height: auto;
}

#minaMi{
  height: 300px;
}
#minami_caption{
  text-align: center;
}

#minami_info:hover{
  color: black;
}

.japanese_ethos{
  width: 100vw;
  height: auto;
  margin: 0;
  color: grey;
  text-align: left;
  font-family: Lato;
  background-size: contain;
}

.ethos_img{
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
  width: 300px;
  height: 350px;
  margin: 0 15px 10px;
  shape-outside: url('/images/ethos/cover_sensei.png');
  float: left;
}

@media only screen and (max-width: 660px) {
  .ethos_img {
    min-width: 300px;
    width: 50vw;
    padding: 5px;
    margin: 20px auto 10px;
    display: block;
    float: none;
  }
}

.book{
  display: none;
  margin: 30px 20px;
  width: auto;
}

.ethos_blurb{
  width: auto;
  min-height: 350px;
  height: auto;
  word-wrap: break-word;
}

#cover_sensei{
  background-image: url('/images/ethos/cover_front.png');
}

.paypal_btn{
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  height: 30px;
  border-radius: 3px;
  border: none;
  display: inline-block;
}

.paypal_btn:hover{ 
  transform: scale(1.1); 
}

.contact{
  clear: both;
  width: 100vw;
  border-top: 1px dotted grey;
  height: 230px;
}

.address{
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  color: grey;
  font-weight: 300;
  padding: 0;
  width: auto;
  margin: 30px;
}

.address p{
  font-weight: 300;
  display: inline-block;
}

.contact {
  width: 100vw;
  min-height: 200px;
  height: auto;
  margin: 20px auto;
  float: center;
}

.tel_email{
  padding-left: 30px;
}

@media only screen and (max-width: 396px) {
.tel_email{
  padding-left: 0;
  }
}

.social{
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  color: grey;
  font-weight: 300;
  font-size: 14px;
  padding-left: 30px;
}

#youTube{
  padding-left: 20px;
}

.contact_button{
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  height: 30px;
  border-radius: 3px;
  border: none;
  display: inline-block;
}
 
h3#upEvent{
  font-weight: 100;
  font-family: lato;
  font-size: 45px;
  text-transform: uppercase;
  margin: 20px 10px 25px;
  padding: 0 10px;
  color: grey;
  text-align: center;

}
#movie{
  background-color: rgba(224,224,224,.9);
  margin: 0;
  padding:0;
}
#EZero{
  background-image: url('/images/2015_events/moviePoster.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 250px;
  height: 350px;
  border: none;
  display: inline-block;
  margin: 20px 0;
  padding: 0;
}

section#eventDetails{
  width: 250px;
  height: 350px;
  display: inline-block;
  margin: 0 15px;
  padding:0;
  position: relative;
  /*line-height: top;*/
  text-align: left;
  top: -43px;
  color: grey;
}
.movieTitle{
  margin: 0;
  padding: 0;
}
.newLine{
  display: block;
}
.movieTitle{
  color: black;
}
#peaceConcert{
 margin-top: 35px;
}
