/* default Flyout styles */
[data-flyout],
[data-flyout] * {
  box-sizing: border-box;
}
[data-flyout] {
  width: 100%;
  padding: 0 15px 15px 15px;
  position: fixed;
  /*bottom: -125px;*/
  left: 50%;
  margin-left: -215px;
  opacity: 0;
  color: #555;
  background: white;
  font-size: 10pt;
  text-align: left;
  opacity: 0;
  z-index: 500;
  pointer-events: none;
  box-shadow: rgba(0,0,0,.5) 0 0 1px,
              rgba(0,0,0,.15) 0 5px 15px;
  transition: bottom 1s ease-in-out,
              opacity 1s ease-in-out;
}
[data-flyout] div:after {
  content: '';
  display: block;
  clear: both;
}
[data-flyout] img {
  width: auto;
  max-width: 50px;
  margin: 0 15px 0 0;
  float: left;
}
[data-flyout] h2 {
  margin: -15px -15px 15px -15px;
  padding: 15px;
  color: white;
  background: #f60;
  line-height: 1;
  font-size: 14pt;
  font-weight: 600;
  letter-spacing: -.02em;
  text-shadow: #f40 1px 1px 0;
}
[data-flyout] h3 {
  color: #111;
  margin: 0 0 5px 0;
  line-height: 1.2;
  font-size: 12pt;
  letter-spacing: -.02em;
}
[data-flyout] p {
  margin: 0;
}
[data-flyout] [data-button] {
  width: auto;
  display: block;
  margin: 15px 0 0 0 !important;
}

/* hide Headline, Image, Article Headline, & Description by default  */
[data-flyout] h2,
[data-flyout] h3,
[data-flyout] img,
[data-flyout] p {
  display: none;
}

/* reveal Image and Article Headline if browser is <300px */
@media (min-width: 300px) {
  [data-flyout] {
    padding-top: 15px;
  }
  [data-flyout] img,
  [data-flyout] h3 {
    display: block;
  }
}

/* reveal Description if browser is <400px */
@media (min-width: 400px) {
  [data-flyout] img {
    max-width: 75px;
  }
  [data-flyout] p {
    display: block;
  }
}

/* set max-width on Flyout and reveal Headline if browser is <500px */
@media (min-width: 500px) {
  [data-flyout] {
    max-width: 300px;
  }
  [data-flyout] h2 {
    display: block;
  }
}

/* display Flyout when page is scrolled <90% */
@element html, body and (min-scroll-y: 90%) {
  [data-flyout] {
    right: 460px;
	bottom: 95px;
    pointer-events: all;
    opacity: 1;
  }
}