@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body, body.page {
  font-family: 'Open Sans', sans-serif;
  color: #eee;
  line-height: 1.3;
  font-size: 16px;
  background-color: #072756;
  background-image: URL(/images/background1.jpg);
  background-attachment: fixed;
  background-size: 100%;
 }

p, td, div {
  color: #eee;
  line-height: 1.3;
  font-size: 1em;
 }

strong, b {
  font-weight: 900;
 }

h1 {
  font-size: 2em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2%;
  padding-bottom: 0.5%;
  text-shadow: 2px 2px #333;
  text-decoration: underline;
 }

h1.header {
  font-size: 4em;
  color: #fff;
  line-height: 1.2;
  margin-left: 1%;
  text-shadow: 3px 3px 3px #bbbbbb;
  border-bottom: 0;
 }

h2 {
  font-size: 1.7em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1%;
 }

h3 {
  font-size: 1.4em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 5px;
 }

h3.staff, h3.teachings {
  font-size: 1.6em;
  color: #fff;
  line-height: 1.2;
  margin-top: 2%;
  margin-bottom: 1%;
  text-shadow: 3px 3px 3px #bbbbbb;
 }

h4 {
  font-size: 1.3em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 5px;
 }

h4.events, h4.news, h4.galleries {
  margin-top: 3%;
  margin-bottom: 1%;
 }

h4.staff, h4.teachings {
  margin-top: 2%;
  line-height: 1.3;
 }

h5 {
  font-size: 1.2em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 5px;
 }

h6 {
  font-size: 1.1em;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 5px;
 }


a:link {
  color: #cfe1ff;
  text-decoration: underline;
  text-decoration-color: #ddddff;
 }

a:visited {
  color: #cfe1ff;
  text-decoration: underline;
  text-decoration-color: #ddddff;
 }

a:active {
  color: red;
 }

a:hover {
  color: #accaf9;
  text-decoration: underline;
 }

a.menubox {
  background: #fafafa;
  font-size: 1.1em;
  white-space: nowrap;
  padding: 6px 12px 6px 12px;
  border-right: 1px solid #777777;
  border: 1px solid #eee35f;
  border-radius: 10px;
  color: #111111;
  text-decoration: none;
  margin:8px;
  box-shadow: 5px 5px 15px #b9ac90;
  line-height: 3.0;
 }


a.footlinks:link {
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
 }

a.footlinks:visited {
  color: #fff;
  text-decoration: none;
 }

a.footlinks:active {
  color: red;
 }

a.footlinks:hover {
 color: #accaf9;
 text-decoration: underline;
 }


b, strong {
  font-weight: bold;
 }


i, em {
  font-style: oblique;
 }


sup {
  font-size: 0.9em;
  vertical-align: 30%;
 }


ul {
  list-style: disc;
  margin: 0;
  margin-top: 0.5em;
  padding: 0;
  text-indent: 0;
  margin-left: 20px;
 }

ol {
  list-style-type: decimal;
  margin: 0;
  margin-top: 0.5em;
  padding: 0;
  text-indent: 0;
  margin-left: 20px;
 }


li {
  margin: 0;
  padding: 0;
  text-indent: 0;
 }

li.content {
  margin-bottom: 10px;
 }

#content li {
  margin-bottom: 10px;
 }


hr {
  color: #eeeeee;
  box-shadow: 0 0 3px #cccccc;
 }

input {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #aaaaaa;
  border-top:1px solid #777777;
  font-size: 1.0em;
  padding:4px;
 }

select {
  font-size: 0.9em;
  max-width: 90%;
 }

option {
  background-color: #f1f1f1;
 }

input.application {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #aaaaaa;
  border-top:1px solid #777777;
  font-size: 1.0em;
  padding: 3px;
  width: 70%;
  max-width: 600px;
  margin-top: 0.5%;
  margin-bottom: 2%;
 }

input.app_radio {
  font-size: 4.0em;
  margin-top: 0.5%;
  margin-bottom: 3%;
 }

label.textarea {
  vertical-align: top;
 }


textarea {
  font-size: 1em;
  width: 80%;
  min-width: 240px;
  height: 6em;
  background-color: white;
  padding: 3px;
  border-radius: 4px;
  border: 1px solid #aaaaaa;
  border-top:1px solid #777777;
 }


img {
  border-color: #7f0000;
  max-width:100%;
 }

img.staff {
  border-color: #7f0000;
  box-shadow: 0 0 3px #777777;
  padding: 2px;
  display: block;
  max-width:100%;
 }

img.centre {
  display: block;
  margin-left: auto;
  margin-right: auto;
 }

img.album {
  box-shadow: 0 0 3px #777777;
  padding: 2px;
  display: block;
  border: 3px solid white;
  width: 25vw;
  height: 25vw;
  max-width: 180px;
  max-height: 180px;
  object-fit: cover;
  object-position: center top;
 }

figure.caption {
  float: right;
  margin-top: 0.5em;
  margin-left: 2%;
  margin-bottom: 2%;
  width:40%;
 }

img.caption {
  width:100%;
  box-shadow: 0 0 3px #777777;
  padding: 2px;
 }

figcaption.caption {
  font-size: 0.9em;
  line-height: 1.0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
 }

img.content {
  float: right;
  margin-left: 2%;
  width:40%;
  box-shadow: 0 0 3px #777777;
  padding: 2px;
 }

img.sidebar {
  width: 100%;
  margin-bottom: 4%;
  border: 3px solid white;
  border-radius: 15px;
 }

img.homepage {
  width: 240px;
  max-width: 24%;
  min-width: 80px;
  margin: 2%;
  border: 3px solid white;
  border-radius: 15px;
 }

img.course {
  float: right;
  margin-left: 1%;
  max-width: 400px;
  width:49%;
 }

.shadow {
  box-shadow: 0 0 3px #777777;
  padding: 2px;
  display: block;
  max-width:100%;
 }

.shadow2 {
  box-shadow: 0 0 5px #cccccc;
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/

/* for 980px or less */
@media screen and (max-width: 980px) {

  body.page {
    font-size: 15px;
   }

}


/* for 480px or less */
@media screen and (max-width: 480px) {

  body.page {
    font-size: 14px;
   }

  h1 {
    font-size: 1.6em;
   }

  h2 {
    font-size: 1.4em;
   }

  h3 {
    font-size: 1.2em;
   }

  h4 {
    font-size: 1.1em;
   }

}

.show input[type='checkbox'] + label:after {
  content:"[ Show Answer ]";
  font-size: 0.9em;
 }
.show input[type='checkbox']:checked + label:after {
  content:"[ Hide Answer ]";
  font-size: 0.9em;
 }
.show input[type='checkbox'] {
  display:none;
 }
label {
  cursor:pointer;
 }