* {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: inherit;
  color: inherit;
  font-size: 100%;
  box-sizing: inherit;
}
body,
html {
  line-height: 1;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  background: #e6e6e6;
  color: black;
}
html.standalone,
html.standalone body {
  background: white;
}
main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: flex-start;
  z-index: 100;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.rain_0 {
  background-color: #990f0f !important;
}
.rain_1 {
  background-color: #99770f !important;
}
.rain_2 {
  background-color: #54990f !important;
}
.rain_3 {
  background-color: #0f9932 !important;
}
.rain_4 {
  background-color: #0f9999 !important;
}
.rain_5 {
  background-color: #0f3299 !important;
}
.rain_6 {
  background-color: #540f99 !important;
}
.rain_7 {
  background-color: #990f77 !important;
}
/* Header */
header {
  display: block;
  background: #e6e6e6;
  width: 300px;
  height: 800px;
  flex-basis: 300px;
}
#sfl-logo {
  display: block;
  width: 300px;
  text-align: center;
  height: 170px;
  z-index: 560;
}
header > ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 550;
  height: 630px;
}
header > ul > li {
  list-style-type: none;
  display: block;
  width: 250px;
  height: 50px;
  padding: 10px;
  color: white;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
  transition: width 0.2s;
  transition-timing-function: ease;
}
header > ul > li:hover {
  width: 280px;
}
header > ul > li.active {
  width: 100%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
header > ul > li a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}
header > ul > li a i {
  font-size: 30px;
}
header > ul > li b {
  display: block;
  text-align: center;
}
/* main content */
article {
  display: block;
  background: white;
  min-height: 900px;
  flex-grow: 1;
  padding-bottom: 30px;
}
article > h1,
article > h2 {
  font-family: "Oswald", sans-serif;
  font-size: 38px;
  text-align: center;
  background: #055B85;
  line-height: 1.3em;
  color: white;
}
article > h2 {
  font-size: 30px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.button {
  border-radius: 20px;
  text-align: center;
  font-size: 24px;
  color: white;
  background: #e6e6e6;
}
.homebuttons {
  display: flex;
  justify-content: space-around;
}
.homebuttons > a {
  display: block;
  width: 25%;
  height: 70px;
  padding-top: 10px;
  border-radius: 20px;
  text-align: center;
  font-size: 24px;
  color: white;
  background: #e6e6e6;
}
.textlink {
  text-decoration: underline;
  color: blue;
}
.textlink:hover {
  color: red;
}
.nolink {
  cursor: not-allowed;
}
section {
  display: block;
  margin: 20px 0;
}
section > h3 {
  font-family: "Oswald", sans-serif;
  padding: 5px 20px;
  background: #ccc;
  color: white;
  font-weight: bold;
  font-size: 32px;
}
section > h4 {
  font-family: "Oswald", sans-serif;
  padding: 5px 20px;
  background: #ccc;
  color: white;
  font-weight: normal;
  font-style: italic;
  font-size: 24px;
}
section > h6 {
  padding: 5px 20px;
  line-height: 1.3em;
  text-decoration: underline;
}
section > h6.highlight {
  color: #a00000;
}
section > p {
  padding: 5px 20px;
  line-height: 1.3em;
}
section > p.larger {
  font-size: 22px;
}
section > p.special_annoucement {
  background: #333;
  color: white;
  font-weight: bold;
  font-size: 24px;
}
section > div.special-announcement {
  display: flex;
  align-items: center;
  justify-content: center
}
section > div.special-announcement img {
  float: left;
  width: 100px;
  height: auto;
}
section > div.special-announcement p {
  position: relative;
  font-family: "Oswald", sans-serif;
  padding: 5px 20px;
  background: green;
  color: black;
  font-weight: bold;
  font-size: 34px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
}
section > div.special-announcement p a {
  color: red;
}
section > p.center {
  text-align: center;
}
section > p.highlight {
  color: #a00000;
}
section > p strong {
  font-weight: bold;
}
section > p em {
  font-style: italic;
}
section > p.rightbutton, div > p.rightbutton {
  text-align: right;
}
section > p.rightbutton > a, div > p.rightbutton > a {
  display: inline-block;
  width: 32%;
  padding-top: 5px;
  height: 40px;
  border-radius: 20px;
  text-align: center;
  font-size: 24px;
  color: white;
  background: #e6e6e6;
}
section > p.rightbutton > a + a {
  margin-left: 10px;
}
.youtube-embed {
  text-align: center;
  padding: 5px 20px;
}
.youtube-embed > div {
  display: inline-block;
  width: auto;
  margin: 20px;
  padding: 20px;
  background-color: #ccc;
  border-radius: 20px;
}
/* Footer */
footer {
  padding-left: 300px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 200px;
  clear: both;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-content: flex-end;
}
footer > div {
  width: 45%;
  padding: 20px;
  position: relative;
}
#footer-right > address {
  text-align: right;
  width: auto;
  height: auto;
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 18px;
}
#footer-right > address > p {
  margin-top: 4px;
}
#footer-right > address > .name {
  font-weight: bold;
}
/* Home page */
#home-picture {
  width: 100%;
  height: 650px;
  
  background: #ccc url("newhomw.jpg") no-repeat center center;
  background-size: cover;
}
/* About page */
#about-mission-statement > h5 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
}
#about-mission-statement > p {
  text-align: center;
  font-style: italic;
  font-size: 22px;
}
#about-board-picture {
  width: 100%;
  height: 300px;
  background: #ccc url("board18.jpg") no-repeat top center;
  background-size: cover;
}
#about-board > h4 {
  text-align: center;
}
#about-board > h5 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin-top: 20px;
}
#about-board-names {
  text-align: center;
  margin: 0 20px;
}
#about-board-names p {
  margin-top: 6px;
}
#about-board-names strong {
  font-weight: bold;
}
/* Instructors page */
.instructor-bio {
  clear: both;
  min-height: 18em;
}
.instructor-bio > figure {
  float: left;
  margin: 10px;
  padding: 10px;
  border-radius: 20px;
  width: 200px;
  text-align: center;
}
.instructor-bio > figure > img {
  max-width: 180px;
  max-height: 200px;
  border-radius: 20px;
}
.instructor-bio > h4 > i {
  padding-left: 30px;
}
.instructor-bio > p {
  padding-left: 225px;
}
/* Travels page */
.travel > h3 {
  font-weight: normal;
}
.travel > h4 {
  padding-left: 30px;
}
.travel-ebs {
  margin: 0em 3em;
  padding: 0.5em;
}
.travel-ebs > p {
  background: white;
  color: black;
  margin: 0.2em;
  padding: 0.8em;
  line-height: 1.3em;
}
.travel-ebs .travel-ebs-header {
  font-size: 120%;
  padding-bottom: 0.4em;
  display: inline-block;
}
.travel-ebs strong {
  font-weight: bold;
}
.travel-audio-clip {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.0;
  padding-right: 0.4em;
  padding-bottom: 0.2em;
}
.fulltrip {
  background: #e6e6e6 !important;
  color: black !important;
}
/* Testimonials page */
#testimonials {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto;
}
#testimonials > li {
  display: block;
  list-style-type: none;
  margin: 20px;
  padding: 10px;
  border-radius: 20px;
  width: 80%;
}
#testimonials > li.right {
  align-self: flex-end;
}
#testimonials > li > blockquote {
  background: white;
  padding: 10px;
  border-radius: 20px;
}
#testimonials > li > blockquote p {
  padding: 5px 20px;
  line-height: 1.3em;
}
#testimonials > li > blockquote h5 {
  padding: 5px 20px;
  line-height: 1.3em;
  font-size: 22px;
  text-align: right;
}
/* Class schedules */
#class-schedule {
  display: block;
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 10px auto;
  border-collapse: collapse;
}
#class-schedule > caption {
  width: 100%;
  font-family: "Oswald", sans-serif;
  text-align: center;
  background: #990f0f;
  line-height: 1.3em;
  color: white;
  border: 1px solid black;
  border-bottom: none;
}
#class-schedule th {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  padding: 5px;
  border: 1px solid black;
  font-weight: bold;
  background-color: white;
}
#class-schedule td {
  padding: 5px;
  border: 1px solid black;
}
#class-schedule td.class-location {
  text-align: center;
  line-height: 1.2em;
}
#class-schedule td.class-location > strong {
  font-weight: bold;
}
#class-schedule td.class-days {
  text-align: center;
}
#class-schedule.print {
  max-width: 7.8in;
  margin-top: 0.25in;
  -webkit-print-color-adjust: exact;
  page-break-after: always;
}
#class-schedule.print > caption {
  color: black;
  background: #e7e7e7;
  -webkit-print-color-adjust: exact;
  font-size: 16pt;
}
#class-schedule.print > caption.rain_0 {
  color: white;
}
#class-schedule.print th {
  font-size: 12pt;
  font-family: inherit;
}
#class-schedule.print td {
  font-size: 12pt;
}
#class-schedule.print:last-of-type {
  page-break-after: auto;
}
#class-schedule-last-update {
  width: 100%;
  max-width: 900px;
  text-align: right;
  margin: 0 auto 5px;
}
#class-schedule-last-update.print {
  max-width: 7.25in;
  font-size: 12pt;
}
.class-rain_0 {
  background-color: #fcdfdf;
}
.class-rain_1 {
  background-color: #fcf4df;
}
.class-rain_2 {
  background-color: #edfcdf;
}
.class-rain_3 {
  background-color: #dffce6;
}
.class-rain_4 {
  background-color: #dffcfc;
}
.class-rain_5 {
  background-color: #dfe6fc;
}
.class-rain_6 {
  background-color: #eddffc;
}
.class-rain_7 {
  background-color: #fcdff4;
}
.class-gr_1 {
  background-color: #e7e7e7;
  -webkit-print-color-adjust: exact;
}

#faq-classes {
  display: block;
  width: 100%;
  max-width: 900px;
  background-color: white;
  margin: 10px auto;
  border-collapse: collapse;
}
#faq-classes td {
  padding: 5px;
  border: 1px solid black;
}

/* Photos page */
.album-cover {
  display: block;
  width: 100%;
  height: 400px;
  position: relative;
  background: #ccc none no-repeat top center;
  background-size: cover;
}
.album-cover > .rightbutton {
  position: absolute;
  bottom: 10px;
  right: 10px;
  left: 10px;
}
#album-shadowbox {
  display: none;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #444;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}
#album-shadowbox.active {
  display: flex;
}
#album-shadowbox.active > #album-display {
  display: flex;
}
#album-shadowbox.loading > #album-display > #album-scroll-prev,
#album-shadowbox.loading > #album-display > #album-scroll-next {
  display: none;
}
#album-shadowbox.album-video #album-scroll-next,
#album-shadowbox.album-video #album-scroll-prev,
#album-shadowbox.album-video img {
  display: none;
}
#album-shadowbox.album-video iframe {
  display: block;
}
#album-display {
  display: none;
  position: relative;
  z-index: 1010;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background: white none no-repeat center center;
  border-radius: 20px;
  box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.5);
  transition: width 0.2s linear, height 0.2s linear;
}
#album-display > img {
  display: block;
  max-width: 100%;
  max-width: calc(100% - 20px);
  max-height: 100%;
  max-height: calc(100% - 20px);
}
#album-display > p {
  display: none;
  position: absolute;
  box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  background: white;
  color: black;
  cursor: pointer;
}
#album-display > iframe {
  display: none;
  width: 100%;
  width: calc(100% - 20px);
  height: 100%;
  height: calc(100% - 20px);
  max-width: 1920px;
  max-height: 1080px;
}
#album-display:hover > p {
  display: block;
}
#album-close {
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  font-size: 18px;
}
#album-scroll-next,
#album-scroll-prev {
  top: 40%;
  top: calc(50% - 20px);
  height: 40px;
  width: 40px;
  border-radius: 20px;
  font-size: 36px;
}
#album-scroll-next {
  right: -15px;
}
#album-scroll-prev {
  left: -15px;
}
/* News & events page */
.newsbuttons {
  display: flex;
  justify-content: space-around;
  padding: 10px;
}
.newsbuttons > a {
  display: block;
  width: 35%;
  height: 90px;
  padding-top: 10px;
  border-radius: 20px;
  text-align: center;
  font-size: 24px;
  color: white;
  background: #e6e6e6;
}
.newsbuttons > a > strong {
  font-size: 34px;
  line-height: 40px;
}
.news-facebook {
  text-align: center;
}
#news-archive ul {
  margin: 5px 15px 10px;
}
#news-archive li {
  list-style-type: disc;
  padding-top: 8px;
  margin-left: 30px;
}
#news-archive li.news-archive-header {
  font-size: 120%;
  font-weight: bold;
  text-decoration: underline;
  list-style-type: none;
  margin: 8px;
}
#news-archive a {
  text-decoration: underline;
  color: blue;
}
#news-archive a:hover {
  color: red;
}
/* Contact page, other forms? */
#contact-form {
  max-width: 600px;
  margin: 10px auto 20px;
}
#contact-form-send {
  text-align: center;
  margin-bottom: 25px;
}
#contact-form-send > button {
  cursor: pointer;
  width: 15%;
  height: 40px;
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  color: black;
  background: blue;
}
form dt {
  padding: 2px 10px 5px;
}
form dt .formerror {
  float: right;
  color: red;
  font-weight: bold;
}
form dd {
  text-align: center;
  margin: 2px auto 10px;
}
input,
textarea {
  border: 1px solid black;
  background: white;
  color: black;
  font-family: 'Roboto', sans-serif;
  padding: 2px 5px;
  width: 90%;
}
textarea {
  height: 240px;
}
#contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#contact-info > address {
  width: 400px;
  line-height: 1.3em;
  margin-bottom: 10px;
}
#contact-info strong {
  font-weight: bold;
  font-size: 24px;
}
.map {
  text-align: center;
  padding: 5px 20px;
}
.map > div {
  display: inline-block;
  width: auto;
  padding: 20px;
  background-color: #ccc;
  border-radius: 20px;
}
/* SPECIAL: july 2020 online class schedule */
/* SPECIAL: Kim's signature for letters */
.kim-signature {
  font-family: Baskerville, serif;
  font-weight: bold;
}
.kim-signature p {
  padding-top: 0;
}
.kim-signature-headshot {
  border: 2px solid black;
}
img.kim-signature-images {
  height: 100px;
}
/* Mobile site */
.mobile-only {
  display: none !important;
}
.mobile-only-flex {
  display: none !important;
}
#mobile-nav {
  display: none;
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 900;
  width: 100px;
  height: 50px;
  background: #990f0f;
  color: white;
  text-align: center;
  font-size: 26px;
  padding-top: 20px;
}
@media (max-width: 960px) {
  main {
    flex-direction: column;
  }
  header {
    width: 100%;
    height: auto;
    flex-basis: auto;
    position: static;
  }
  header > ul {
    display: block;
    position: fixed;
    top: 55px;
    bottom: 0;
    padding-top: 10px;
    right: -100%;
    width: 100%;
    height: auto;
    z-index: 950;
    background: white;
    transition: right 0.4s;
  }
  header > ul > li {
    border-radius: 0;
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  header > ul.active {
    right: 0;
  }
  #sfl-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    text-align: center;
    background-color: #990f0f;
  }
  #sfl-logo > a {
    display: block;
    width: auto;
    height: 50px;
    background: transparent url("sfl_mobile.png") no-repeat center center;
    background-size: contain;
    margin-right: 125px;
  }
  #sfl-logo-full {
    display: none;
  }
  article {
    width: 100%;
    margin-top: 55px;
  }
  .map,
  .youtube-embed {
    display: none;
  }
  .rightbutton > a {
    width: 70% !important;
    font-size: 22px !important;
  }
  footer {
    padding: 0;
    display: block;
    min-height: 0;
    height: 160px;
  }
  #footer-left {
    display: none;
  }
  #footer-right {
    display: block;
    width: 100%;
    height: 160px;
  }
  #mobile-nav {
    display: block;
  }
  .no-mobile {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  #album-display > p {
    display: block !important;
  }
  .instructor-bio > figure {
    float: none;
    margin: 0 auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .instructor-bio > figure + p {
    display: none;
  }
  .instructor-bio > p {
    padding-left: 20px;
  }
  .newsbuttons {
    flex-direction: column;
    align-items: center;
  }
  .newsbuttons > a {
    width: 80%;
    margin-top: 6px;
  }
  #testimonials {
    width: 100%;
  }
  #testimonials > li {
    width: auto;
  }
  #contact-info > address {
    width: 100%;
  }
  p.rightbutton > a + a {
    margin-left: 0;
    margin-top: 10px;
  }
}
/* IE fixes */
.ie main {
  display: block;
  position: relative;
  height: auto;
}
.ie header {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
}
.ie article {
  display: block;
  position: absolute;
  left: 300px;
  top: 0;
  right: 0;
}
.ie footer {
  display: none !important;
}
.about-image{
	background-image: url(/instructor_images/sfl-board.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    background-size: cover;
}

@media only screen and (max-width: 1020px) {
  #home-picture {
    width: 100%;
    height: 500px;
    background: #ccc url(newhomw.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .about-image{
	background-image: url(/instructor_images/aboutus.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 270px;
  }
  section div.special-announcement p {
    font-size: 20px;
  }
}
