/* Style the body */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: kozan-gyosho;
  font-weight: normal;
  src: url(../webfonts/kozan-gyosho.ttf);
}

@font-face {
  font-family: kozan;
  font-weight: normal;
  src: url(../webfonts/kozan.ttf);
}

body {
  font-family: Tisa, Helvetica, sans-serif;
/*
  font-family: Tisa, Helvetica, serif;
*/
  margin: 0;
}

img {
  /* takes the 100 % width of its container (.box div)*/
/*
  width: 100%;
*/
}

hr {
  height: 2px;
  background-color: #70AA70;
  /*background-color: #a088a0; */
  border: none;
}

ul {
  list-style: none;
}

ul li::before {
  content: "\2022";
  color: #70AA70;
  font-weight: bold;
  display: inline-block; 
  width: 1.1em;
  margin-left: -1.1em;
}

li + li {
  margin-top: 5px;
}

/* Main column */
/* Header/logo Title */
.header {
  padding: 40px;
  text-align: center;
  background: #70AA70;
  color: white;
  opacity: 1.0;
  background-repeat: no-repeat;
  background-size: cover;
  height:180px;
  position:inherit;
  float:inherit;
/*
  font-family: serif;
*/
  line-height: 32px;
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 38px;
}

/* Header with an image */
.header-home {
  padding: 50px;
  text-align: center;
  background: #70AA70;
  color: white;
/*
  background-image:url("../img/japanese-tea-ceremony.jpg");
  background-image:url("../img/chado-1.png");
  background-image:url("../img/tea-at-home-1-cropped.jpg");
  background-image:url("../img/tea-at-home-warm-1-cropped.jpg");
  background-image:url("../img/sakura-3-cropped.jpg");
  background-image:url("../img/OregonCapitol-cropped-2.jpg");
  background-image:url("../img/sakura-3-cropped.jpg");
*/
  background-image:url("../img/CherryBlossom-cropped.png");
  opacity: 0.95;
  background-repeat: no-repeat;
  background-size: cover;
  height:450px;
  position:inherit;
  float:inherit;
/*
  font-family: serif;
*/
  line-height: 32px;
}

/*
.header-home img {
  vertical-align: middle;
}
*/

.header-home h1 {
  text-shadow: 2px 2px #444;
}

.header-events {
  padding: 50px;
  text-align: center;
/*
  color: #343434;
*/
  color: white;
  background: #70AA70;
/*
  background-image:url("../img/chado-1.png");
  background-image:url("../img/tea-at-home-2.jpg");
  background-image:url("../img/chado-1.png");
  background-image:url("../img/koi-1-cropped.png");
*/
  background-image:url("../img/chagama-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height:360px;
  position:inherit;
  float:inherit;
/*
  font-family: serif;
*/
  line-height: 32px;
}

.header-events h1 {
  font-size: 36px;
/*
  font-family: kozan-gyosho;
  font-family: serif;
*/
}

.header-instructors {
  padding: 50px;
  text-align: center;
  background: #70AA70;
  color: white;
/*
  background-image:url("../img/otemae-2.jpg");
  background-image:url("../img/momiji-garden-1.jpg");
  opacity: 1.0;
*/
  background-image:url("../img/momiji-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height:360px;
  position:inherit;
  float:inherit;
/*
  font-family: serif;
*/
  line-height: 32px;
}

.header-instructors h1 {
  font-size: 36px;
/*
  font-family: serif;
*/
}

.header-gallery {
  padding: 50px;
  text-align: center;
  background: #70AA70;
  color: white;
/*
  -webkit-text-stroke: 1px #999;
*/
  text-stroke: 1px #ccc;
/*
  background-image:url("../img/japanese-style_00012.jpg");
  background-image:url("../img/japanese-garden-harumi.jpg");
*/
  background-image:url("../img/japanese-garden-kyoto-1.jpg");
  opacity: 1.0;
  background-repeat: no-repeat;
  background-size: cover;
  height:360px;
  position:inherit;
  float:inherit;
/*
  font-family: serif;
*/
  line-height: 32px;
}

.header-gallery h1 {
  font-size: 36px;
/*
  font-family: serif;
*/
}

.header-contactus {
  padding: 50px;
  text-align: center;
  background: #70AA70;
  color: white;
/*
  background-image:url("../img/tea-at-home-warm-1-cropped.jpg");
  background-image:url("../img/japanese-garden-harumi.jpg");
*/
  background-image:url("../img/Portland-Japanese-Garden-cropped.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height:360px;
  position:inherit;
  float:inherit;
  line-height: 32px;
}

.header-contactus h1 {
  font-size: 36px;
}

/* Style the top navigation bar */
.navbar {
  overflow: hidden;
  background-color: white;
}

/* Style the navigation bar links */
.navbar a {
  float: right;
  display: block;
  color: #EEEEEE;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  background-color: #70AA70;
}

/* Right-aligned link */
.navbar a.left {
  float: left;
  color:white;
  background-color: #C0AAC0;
  /*background-color: #a088a0;*/
}

/* Change color on hover */
.navbar a:hover {
  color: black;
}


/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
}

.main {   
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.main-home {   
  flex: 70%;
  background-color: white;
  padding: 5px;
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #c0c8c0;
/*
  border: 1px solid #70AA70;
  box-shadow: 6px 5px 5px #aaa;
  box-shadow: 1px 1px 1px #aaa;
*/
  margin-top: 10px;
  background-color: #f4f4f4;
}

.main-events {   
  position: relative;
  overflow: hidden;
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.main-events:before {
  content: url("../img/CherryBlossom-cropped.png"); 
/*
  content: url("../img/image10.jpg"); 
  position: relative; 
  position: absolute; 
  position: inherit; 
  position: fixed; 
*/
  position: absolute; 
  top: 0px; 
  right: 0px; 
  bottom: 0px; 
  left: 0px; 
/*
*/
/*
  background-image:url('../img/image10.jpg');
  background-image:url("../img/CherryBlossom-cropped.png");
*/
  background-size: cover;
  opacity: 0.4;
}

.main-instructors {   
  position: relative;
  overflow: hidden;
  flex: 70%;
  background-color: white;
  padding: 20px;
}

.main-dummy:before {
/*
  content: url("../img/otemae-2.jpg"); 
  position: absolute; 
*/
  content: "";
  z-index: 1;
  position: absolute; 
  top: 0px; 
  right: 0px; 
  bottom: 0px; 
  left: 0px; 
/*
  background-image:url("../img/CherryBlossom-cropped.png");
  background-size: cover;
  background-image:url("../img/otemae-2.jpg");
  background-size: contain;
  background-repeat: no-repeat;
*/
  background-image:url("../img/purple-flower.jpg");
  background-size: auto 200%;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.row-gap {  
  display: flex;
  flex-wrap: wrap;
  column-gap: 1%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.column-1 {
  float: left;
  /*color: white;*/
  /*color: #354035;*/
  color: #222;
  width: 68%;
  padding: 20px;
  /*background-color: #C0AAC0;*/
  /*background-color: #a088a0;*/
  /* background-color: #70AA70; */
  /* height:360px; */
  position:inherit;
  line-height: 1.32em;
}

/*
.column-1 h3:before {
  content: url("../img/Chado-bullet.png");
}
*/

.column-1-right {
  float: left;
  /*color: white;*/
  /*color: #354035;*/
  color: #222;
  width: 34%;
  padding: 20px;
  /*background-color: #C0AAC0;*/
  /*background-color: #a088a0;*/
  /* background-color: #70AA70; */
  /* height:360px; */
  position:inherit;
  line-height: 1.32em;
}

.column-sakura {
  float: right;
  width: 32%;
  /* padding: 10px; */
  /* background-color: #70AA70; */
/*
  background-image:url("../img/CherryBlossom-cropped.png");
  background-image:url("../img/photo-gallery/image (4).jpg");
*/
  background-image:url("../img/photo-gallery/image6.jpg");
  background-size: cover;
  /* height:360px; */
  position:inherit;
}

.column-chagama {
  float: right;
  width: 30%;
/*
  background-image:url("../img/chagama.jpg");
  background-image:url("../img/image14-cropped.jpg");
  background-image:url("../img/image14.jpg");
  background-size: cover;
*/
/*
  background-size: contain;
*/
  background-image:url("../img/wakei-seijaku.png");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  position:inherit;
}

.column-momiji {
  float: right;
  width: 32%;
/*
  background-image:url("../img/momiji-1.jpg");
*/
  background-image:url("../img/image10-edited.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position:inherit;
}

.column-2-left {
  float: left;
  /*color: white;*/
  color: #354035;
  width: 49%;
  padding: 12px;
  /*background-color: #C0AAC0;*/
  background-color: #e8dde8;
  /* background-color: #70AA70; */
  /* height:360px; */
  position:inherit;
  line-height: 1.32em;
}

.column-2-right {
  float: right;
  /*color: white;*/
  color: #354035;
  width: 49%;
  padding: 12px;
  /*background-color: #C0AAC0;*/
  background-color: #e0cce0;
  /* background-color: #70AA70; */
  /* height:360px; */
  position:inherit;
  line-height: 1.32em;
}

.row-instructors {  
/*
  display: flex;
  flex-wrap: wrap;
*/
}

.column-instructors-65 {
  float: left;
  display: grid;
  grid-row: 1;
  row-gap: 10px;
  columnw-gap: 10px;
  color: #222;
  width: 68%;
  padding: 0px;
  /*background-color: #C0AAC0;*/
  /*background-color: #a088a0;*/
  /* background-color: #70AA70; */
  /* height:360px; */
/*
  position:inherit;
  line-height: 1.32em;
*/
}

.column-instructors-child {
  float: left;
  color: #354035;
  width: 100%;
  padding: 12px;
  background-color: #e8dde8;
  /* height:360px; */
  position:inherit;
  line-height: 1.32em;
/*
  margin-top: 5px;
  margin-bottom: 5px;
*/
}

.column-instructors-35 {
  width: 31%;
/*
  background-size: contain;
*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  position:inherit;
}

.row-gallery {  
  display: flex;
  flex-wrap: wrap;
/*
  column-gap: 1%;
*/
}

/* Clear floats after the columns */
.row-gallery:after {
  content: "";
  display: table;
  clear: both;
}

.column-gallery-container {
  display: flex;
  margin: 10px;
/*
  flex-wrap: wrap;
*/
  color: #354035;
/*
  width: 32.66666%;
*/
  width: 380px;
  padding: 4px;
  /*background-color: #C0AAC0;*/
  /* background-color: #e8dde8;*/
  /* background-color: #70AA70; */
  /* height:360px; */
  height:208px;
  position:inherit;
  line-height: 1.32em;
  border: 1px solid #c0c8c0;
  box-shadow: 1px 1px 1px #aaa;
  border: 1px solid #70AA70;
  box-shadow: 6px 5px 5px #aaa;
/*
*/
  background-color: #f4f4f4;
  column-gap: 5px;
}

.column-gallery-left {
  float: left;
  height:200px;
  padding: 0px;
  vertical-align: middle;
/*
  max-width: 70%;
  mini-height: 160px;
  position:inherit;
  line-height: 1.32em;
*/
  background-size: cover;
  position:inherit;
}

.column-gallery-left img {
/*
  max-height: 100%;
  height: 200px;
*/
  height: 200px;
  max-width: 260px;
  vertical-align: middle;
  object-fit: cover;
/*
  object-fit: contain;
  object-fit: cover;
  height: 100%;
  width: 100%;
*/
}

.column-gallery-right {
  float: left;
  color: #353435;
  padding: 5px;
/*
  max-width: 32%;
  min-width: 120px;
*/
  padding: 5;
  text-wrap: wrap;
  /* height:360px; */
/*
  position:inherit;
  line-height: 1.32em;
*/
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.contactus-container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
/*
  width: 640px;
*/
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.centered {
 position: absolute;
 text-align: center;
 top: 50%;
 left:50%;
}

/* Fake image, just for this example */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Box with shadow */
.box-shadow {
  //display: flex;
  //flex-wrap: wrap;
  color: #333;
  float: left;
  padding: 20px;
  border: 1px solid #70AA70;
  /*box-shadow: 10px 10px 5px gray;*/
  box-shadow: 3px 3px 3px #aaa;
  background-color: #f4f6f4;
  opacity: 0.9;
  /*color: white;*/
  width: 49%;
  position:inherit;
  line-height: 1.32em;
}

/* Header in box-shadow */
.box-shadow h2, h3 {
  display: inline;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  /*background: #ddd;*/
  color: white;
  background-color: #C0AAC0;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}
