* {
    box-sizing: border-box;
}

html,
body {
    background-color: #64748B;
    color: #333;
}

body,
button,
input,
select {
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper {
    position: relative;
}

#header {
    background-color: #26354A;
    padding: 2rem 1rem;
    border-bottom: 1px solid #000;
}

#logo,
#logo:visited {
    font-family: Times New Roman, Times, serif;
    font-size: 2rem;
    line-height: 2rem;
    color: #ff6600;
    text-decoration: none;
}

.bodyText-highlighted {
    font-style: italic;
}

.bodyText-highlighted,
.header,
.subHeader {
    color: #ff6600;
}

.youtubeVideo {
    text-align: center;
    max-width: 100%;
}

table,
td,
th {
    border: 0;
}

#tagline {
    color: #d3dce6;
    font-size: .8rem;
    line-height: 1.2rem;
    display: block;
}

#logo,
#tagline {
    vertical-align: middle;
    letter-spacing: .15rem;
}

#facebook-link {
    display: block;
    margin-top: 1rem;
}

#nav {
    background-color: #ffcc00;
    padding: 1.5rem;
    position: relative;
    border-color: #000;
    border-style: solid;
    border-width: 1px 0 1px 0;
}

#nav ul,
#nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .8rem;
}

#nav > ul > li {
    margin-bottom: 1rem;
}

#nav > ul > li:last-child {
    margin-bottom: 0;
}

#nav span {
    font-weight: bold;
    display: block;
    padding-bottom: .25rem;
}

#nav li > ul {
    /*border-left: .25rem solid #333;*/
    margin-left: 1rem;
}

#nav li > ul > li {
    list-style: square;
}

/*#nav > ul > li {*/
    /*float: left;*/
/*}*/

#nav a,
#nav a:visited {
    display: block;
    color: #333;
    text-decoration: none;
    text-transform: capitalize;
    padding: .1rem 0 .1rem .2rem;
}

#nav a:hover {
    background-color: rgba(0,0,0,.1);
}

#menu {
    max-height: 0;
    transition: max-height .2s ease-out;
    overflow: hidden;
}

#menu-icon {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 22px 15px;
    user-select: none;
    z-index: 999;
}

#menu-icon .navicon {
  background: #333;
  display: block;
  height: 0px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

#menu-icon .navicon:before,
#menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

#menu-icon .navicon:before {
  top: 5px;
}

#menu-icon .navicon:after {
  top: -5px;
}

#menu-button {
  display: none;
}

#menu-button:checked ~ #menu {
    max-height: 3000px;
}

#menu-button:checked ~ #menu-icon .navicon {
  background: transparent;
}

#menu-button:checked ~ #menu-icon .navicon:before {
  transform: rotate(-45deg);
}

#menu-button:checked ~ #menu-icon .navicon:after {
  transform: rotate(45deg);
}

#menu-button:checked ~ #menu-icon:not(.steps) .navicon:before,
#menu-button:checked ~ #menu-icon:not(.steps) .navicon:after {
  top: 0;
}

#content {
    line-height: 1.4;
    background-color: #D3DCE6;
}

#content a,
#content a:visited {
    color: #ff6600;
}

#content > :first-child {
    padding-top: 1.5rem;
}

#content > :last-child {
    padding-bottom: 1.5rem;
}

#content > h1,
#content > h2 {
    padding: 0 1.5rem;
}

#content > div {
    margin: 1.5rem;
}

#footer {
    font-size: .8rem;
    margin-top: 2rem;
    border-top: 1px solid #ccc;
}

h1,
h2 {
    padding: 0;
    margin: 0;
    text-align: center;
}

h1 {
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.1rem;
    line-height: 1.1rem;
}

/**
 * Slideshow
 */
.slide {
    max-width: 600px;
    display: none;
    margin: 0 auto;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
    position: relative;
}

.slide > img {
    max-width: 100%;
}

/* Slideshow container */
#content > .slideshow-container {
  max-width: 768px;
  position: relative;
  margin: 1.5rem 0;
}

.slides {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -22px;
  color: #fff !important;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(0,0,0,.1);
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  text-align: center;
  border-radius: 50%;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.numbertext,
.dot {
  color: #333;
  font-size: .8rem;
}

.numbertext {
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-caption {
    background-color: rgba(255,255,255,.75);
    padding: .5rem;
    font-size: .8rem;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 999;
    display: block;
}

.dot {
  cursor: pointer;
  margin: 0 .25rem;
  display: inline-block;
}

.active {
    text-decoration: underline;
}

#slideshow-pagination {
    text-align: center;
}

/* Fading animation */
@-webkit-keyframes fade {
  from {opacity: .1} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .1} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/**
 * End slideshow
 */

@media (min-width: 650px) {
    #facebook-link {
        margin: 0;
        line-height: 3.2rem;
        position: absolute;
        top: 2rem;
        right: 1rem;
    }

    #content > .slideshow-container {
      margin: 1.5rem auto;
    }
}

@media (min-width: 1000px) {
    #content > .slideshow-container {
      margin: 1.5rem;
    }

    #wrapper {
        border: 1px solid #000;
        width: 1000px;
        margin: 0 auto;
    }

    #menu-button,
    #menu-icon {
        display: none;
    }

    #menu {
        max-height: 3000px;
    }

    #wrapper {
        display: flex;
        flex-flow: row wrap;
    }

    #header {
        flex: 1 100%;
        /*width: 100%;*/
    }

    #nav {
        border-width: 0 1px 0 0;
        width: 230px;
        /*float: left;*/
        min-height: 100vh;
    }

    #nav > ul {
        display: block;
    }

    #content {
        width: 768px;
        /*float: left;*/
    }

    .clearfix {
        clear: both;
    }
}
