.bo-font {
  font-family: var(--bo-family);
  /*these are set by webBo.js in the root level element  */
  line-height: var(--bo-lHeight);
  font-size: calc(var(--bo-factor, 1) *var(--text-size, 1em));
  /*if bo is not provided, default to 1em  */
}

.bo-tiny {
  --text-size: 0.65em;
}

.bo-small {
  --text-size: 0.75em;
}

.bo-medium {
  --text-size: 1em;
  /* This is the default setting, no need to declare with bo-font */
}

.bo-big {
  --text-size: 1.2em;
}

.bo-large {
  --text-size: 1.5em;
}

.bo-xlarge {
  --text-size: 2em;
}

.bo-xxlarge {

  --text-size: 3em;
}

.bo-xxxlarge {
  --text-size: 4em;
}

.bo-initial {
  font-size: initial;
}

.tn-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  /* nav is 3, need to be underneath the nav */
}

.tn-close {
  display: none;
}

.tn-open {
  display: block !important;
}

html,
body {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.site-name {
  color: #CF5C36;
  margin-bottom: 32px;
  text-align: center;
  vertical-align: middle;

}

.tn-sidebar {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 152px;
  height: 100%;
  padding: 48px 16px;
  background-color: #6D98BA;
  box-shadow: 3px 0px 8px 0 #888888;
  z-index: 3;
  overflow-y: auto;
}

.tn-topbar {
  background-color: #6D98BA;
  box-shadow: 0px 3px 8px 0 #888888;
  z-index: 2;
}

.main-body {
  position: relative;
  margin-left: 0;
  margin-top: 64px;
  /* top menu for small device */
  overflow-x: hidden;
}

.tn-bar-item {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
}

#bar-cross {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.6em;
  vertical-align: middle;
}

#homeLogo {
  position: relative;
  height: 32px;
  width: auto;
}

.bar-icon {
  width: 100%;
  display: block;
  height: auto;
}

.bar-text {
  margin-top: 8px;
  text-align: center;
  color: #CF5C36;
}

hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}

/* anchor positioning, timeline. Otherwise topbar hides anchor */
.anchor {
  display: block;
  position: relative;
  top: -64px;
  visibility: hidden;
}

@media (max-width: 600px) {
  .tn-hide-small {
    display: none;
  }

  .tn-bar-block {
    padding-top: 16px;
  }
}

@media(max-width:992px) and (min-width:601px) {
  .tn-hide-medium {
    display: none
  }

  .tn-bar-block {
    padding-top: 16px;
  }
}

@media (min-width: 993px) {
  .main-body {
    margin-left: 153px;
    /*side  menu for big devices */
    margin-top: 0px;
    /*top menu hidden for big device  */
  }

  .tn-sidebar {
    display: block;
  }

  .tn-hide-large {
    display: none;
  }

  /* move up anchor since no topbar there*/
  .anchor {
    top: 0px;
  }
}

.tn-pad-s {
  padding: 4px 8px;
}

.tn-pad {
  padding: 8px 16px;
}

.tn-pad-large {
  padding: 16px 32px;
}

.tn-pad-xlarge {
  padding: 24px 48px;
}

.section-pad {
  padding-top: 24px;
  padding-bottom: 64px;
}

/* The container */
.radio-label {
  display: block;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-label input {
  position: absolute;
  opacity: 0;
  display: none;
  cursor: pointer;
}

/* Create a custom radio button */
.tn-radio {
  position: absolute;
  top: 0;
  left: 0;
  height: 26px;
  width: 26px;
  background-color: #eee;
  border: 1px solid #888;
  box-sizing: border-box;
  border-radius: 50%;
  cursor: pointer;
  /*demo cusor pointer goes underneath  */
}

/* On mouse-over, add a grey background color */
.radio-label:hover input~.tn-radio {
  background-color: #aaa;
}

/* When the radio button is checked, add a blue background */
.radio-label input:checked~.tn-radio {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.tn-radio:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-label input:checked~.tn-radio:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-label .tn-radio:after {
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* timeline styles */
/* The actual timeline space*/
.timeline {
  max-width: 1200px;
  margin: 0px auto;
  padding: 48px 0;
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* img icon on the timeline */
.timeline-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  right: -18px;
  background-color: white;
  border: 3px solid #FF9F55;
  top: 24px;
  border-radius: 50%;
  z-index: 1;
}


/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 30px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 30px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right .timeline-icon {
  left: -18px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 753px) {

  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left .timeline-icon,
  .right .timeline-icon {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

.but_play {
  position: relative;
  left: 50%;
  margin-left: -100px;
  width: 200px;
  z-index: 1;
}

/* fix quiz scroll on small device by adding a wrapper on content over interactionEL  */
.quiz-wrapper {
  padding-top: 8px;
  padding-bottom: 24px;
}

.art-wrapper {
  padding-top: 8px;
  padding-bottom: 24px;
}

/* res nav layer */
.res-nav-layer {
  z-index: 6;
  /* makes it sits on top of main overlay */
}

.flex-nav-layer {
  display: flex;
  height: 48px;
  justify-content: center;
  /* background-color: DodgerBlue; */
}

.flex-nav-layer>button {
  width: auto;
}

#caption-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  /* overide the parent font-size */
  font-size: 1rem;
}

.nex-play-but {
  height: 2em;
  /* for mozilla, avoiding the cutout on button text  */
}

.myNote {
  position: fixed;
  width: 310px;
  max-width: 620px;
  left: 50%;
  transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  background-color: #FF9F55;
  padding: 24px;
  z-index: 1;
}

/* define new term title font, in art */
.bluLiter {
  background-color: rgb(122, 188, 238);
}

/* text boxes containing float imgs, in art */
.clearBox::after {
  content: "";
  clear: both;
  display: table;
}

.clearBox>img {
  float: right;
}

/* sizing of the floating imgs, in art */
.floatImgA {
  width: 450px;
  max-width: 100%;
}

.floatImgB {
  width: 350px;
  max-width: 100%;
}

.floatImgC {
  width: 250px;
  max-width: 100%;
}