/* Knurling Scss Document */
@import url("https://fonts.googleapis.com/css?family=Spartan:700&display=swap");
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.dot-container {
  margin: 0 auto;
  text-align: center;
  position: relative;
  max-height: auto;
  max-width: 100%;
  width: 100%;
  /*background: url('');
  background-position: center center;
  background-size: cover;*/
  box-sizing: border-box;
  clear: both;
  /*overflow: hidden*/ }

.dotmarker {
  position: absolute;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: all .3s ease;
  -webkit-box-shadow: 2px 3px 8px 0px rgba(0, 0, 0, 0.28);
  -moz-box-shadow: 2px 3px 8px 0px rgba(0, 0, 0, 0.28);
  box-shadow: 2px 3px 8px 0px rgba(0, 0, 0, 0.28); }
  .dotmarker:before {
    content: "";
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 50%;
    bottom: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: all .3s ease;
    transition-delay: 0.2s;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: rgba(85, 85, 85, 0.9) transparent transparent transparent; }
  .dotmarker:after {
    font-family: 'Spartan', sans-serif;
    font-weight: 700;
    font-size: 80%;
    text-transform: none;
    text-align: center;
    content: attr(data-tooltip);
    position: absolute;
    color: #fff;
    background: rgba(85, 85, 85, 0.9);
    padding: 18px 20px 10px 20px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 60vw;
    opacity: 0;
    pointer-events: none;
    left: 50%;
    top: 0;
    border-radius: 4px;
    transform: translate3d(-50%, -50%, 0);
    transition: all .3s ease;
    transition-delay: 0.2s; }

body.hasHover .dotmarker:hover, body.hasHover .dotmarker.showanyway {
  background-color: rgba(0, 0, 0, 0.12); }
  body.hasHover .dotmarker:hover:before, body.hasHover .dotmarker:hover:after, body.hasHover .dotmarker.showanyway:before, body.hasHover .dotmarker.showanyway:after {
    opacity: 1; }
  body.hasHover .dotmarker:hover:before, body.hasHover .dotmarker.showanyway:before {
    transform: translate3d(-50%, calc(-100% - 4px), 0); }
  body.hasHover .dotmarker:hover:after, body.hasHover .dotmarker.showanyway:after {
    transform: translate3d(-50%, calc(-100% - 24px), 0); }

/* fallback for non-hover browsers */
#line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; }

#explanation {
  position: relative;
  max-width: 65%;
  margin: 0 auto;
  font-family: 'Spartan', sans-serif;
  font-weight: 700;
  font-size: 80%;
  text-transform: none;
  padding-bottom: 20px; }

body.hasHover .showIfNoHover {
  display: none; }

.ring-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  cursor: pointer; }

/* dot locations */
.ring-a {
  position: absolute;
  top: 70.5%;
  left: 62%;
  transform: translate(-50%, -50%); }

/* Ripple style */
.ripple div {
  position: absolute;
  border: 2px solid #f9bb00;
  opacity: 1;
  border-radius: 50%;
  animation: ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite; }

.ripple div:nth-child(2) {
  animation-delay: -0.5s; }

.ripple div:nth-child(3) {
  animation-delay: -1s; }

/**/
.ripple div:nth-child(4) {
  animation-delay: -1.5s; }

@keyframes ripple {
  0% {
    top: 25px;
    left: 25px;
    width: 0;
    height: 0;
    border: 2px solid #f9bb00; }
  100% {
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(249, 187, 0, 0); } }
/* larger screens and above */
@media only screen and (min-width: 750px) {
  .ring-a {
    top: 70%;
    left: 56%; }

  .dotmarker:after {
    max-width: 20vw; }

  .ring-container {
    width: 70px;
    height: 70px; }

  .ripple div {
    border-width: 3px; }

  #explanation {
    font-size: 100%; }

  @keyframes ripple {
    0% {
      top: 35px;
      left: 35px;
      width: 0;
      height: 0;
      border: 3px solid #f9bb00; }
    100% {
      top: 0px;
      left: 0px;
      width: 70px;
      height: 70px;
      border: 3px solid rgba(249, 187, 0, 0); } } }
