*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}

button:focus, input:focus {
  outline: none;
}

body {
  color: white;
  background: black;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: lighter;
  height: 100%;
  overflow-x: hidden;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.showing-popup .slide-panel, 
.showing-popup .nav-panel,
.showing-popup .account-panel,
.showing-popup #mobile-nav,
.showing-popup #logo,
.showing-popup #snap-main,
body.go.showing-popup:after {
  filter: blur(4px);
}

body.go:after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(../img/bg-fish.jpg);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: #121f37;
  z-index: 99;
  width: 100%;
  height: 100%;
}

body.go:before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  background-size: 100% 120%;
  background-image: url(../img/go-gradient.png);
  z-index: 100;
  width: 100%;
  height: 100%;
  opacity: .8;
}

a, a:visited {
  color: white;
}

.error {
  color: rgba(255,255,255,.7);
}

small {
  font-size: 12px;
  line-height: 15px;
  color: rgba(255,255,255,.7);
}
small a, small a:visited {
  color: rgba(255,255,255,.8);
}
em {
  color: rgba(255,255,255,.5);
  font-style: normal;
}

h1 {
  font-weight: lighter;
  margin-bottom: 18px;
  font-size: 46px;
  word-spacing: -4px;
}

h1 b {
  font-weight: 900;
  font-variant: small-caps;
  letter-spacing: -1px;
  transform: scale(1.1,1.0);
  transform-origin: 0% 0%;
  display: inline-block;
  margin-left: -2px;
}

h2 b {
  font-weight: 900;
  font-variant: small-caps;
  transform: scale(1.1,1.0);
  transform-origin: 0% 0%;
}

h3 {
  font-size: 22px;
  font-variant: small-caps;
  font-weight: 900;
  margin: 0 0 18px 0;
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  transform: scale(1.1,1.0);
  transform-origin: 50% 0%;
  color: white;
  text-transform: uppercase;
}

h4 {
  font-size: 22px;
  margin-bottom: 0;
  padding-bottom: 0;
}



.poster-panel {
  display: inline-block;
  max-width: 1280px;
  width: 100%;
  position: relative;
}
.poster-img {
  width: 100%;
}

#logo-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100%);
  z-index: 20;
}

#logo {
  position: absolute;
  bottom: 50%;
  margin-bottom: 6px;
  width: 100%;
  max-width: 36%;
  left: 50%;
  margin-left: -18%;
  transition: max-width .5s, width .5s, margin-left .5s, top .5s, left .5s;
  z-index: 100;
  cursor: default;
}
.tall #logo {
  max-width: 390px;
  width: 100%;
  margin-left: -195px;
}
#logo-flare {
  position: fixed;
  top: 35%;
  left: 33%;
  margin-top: -250px;
  margin-left: -250px;
  width: 500px; 
  opacity: 1;
  transition: .5s;
  z-index: 99;
}
.scrolled0 #logo-flare, .tall.scrolled0 #logo-flare {
  opacity: 0;
  z-index: -10;
}
.tall #logo-flare {
  top: 50%;
  left: 50%;
  margin-top: -350px;
  margin-left: -430px;
  z-index: 99;
  opacity: 1;
}

.scrolled #logo-panel {
  z-index: 100;
}
.scrolled #logo {
  position: fixed;
  bottom: 50%;
  left: 80%;
  max-width: 200px;
  margin-left: -70px;
  margin-bottom: 100px;
  min-width: 200px;
  z-index: 30;
  cursor: pointer;
}
.logo-line {
  position: absolute;
  top: 45%;
  right: 100px;
  width: 60%;
  height: 12px;
  background-image: url(../img/line-fade-right.png);
  background-repeat: no-repeat;
  background-size: 100% 12px;
  background-position: 8px 0;
}
.logo-line.top {
  margin-top: -12px;
  padding-left: 8px;
  background-position: 0 0;
}


.tagline {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  color: white;
  margin-top: 0px;
  font-weight: lighter;
  white-space: normal;
  text-align: left;
  line-height: 33px;
  font-size: 28px;
  text-align: center;
  z-index: 100;
  /* text-shadow: 0 0 6px #da8b1d; */
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  transition: opacity .5s;
}
.tagline b {
  font-weight: 900;
  font-variant: small-caps;
  transform: scale(1.1,1.0);
  transform-origin: 0% 0%;
}
.scrolled .tagline {
  opacity: 0;
}



.padding-panel {
  padding: 0 20px;
}

#popup-foof {
  max-width: 620px;
  min-height: 400px;
  text-align: center;
}
#popup-title {
  margin-top: 9px;
  line-height: 30px;
  padding-bottom: 12px;
  padding-left: 50px;
}

.foof-panel-centered {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0 20px;
  max-width: 90%;
}
.foof-panel {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 20px 30px 25px 30px;
  border-radius: 12px;
  vertical-align: top;
  margin: 10px;
  border-right: 1px solid rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 12px 20px 8px -5px rgba(0,0,0,.3);
}
.foof-panel h3 {
  text-align: left;
  margin: 0 0 12px 10px;
  /*width: 200px;
  display: inline-block;
  position: absolute;
  left: -165px;
  top: -8px;
  text-align: right;
  transform: rotate(-90deg);
  transform-origin: 100% 100%;*/
}

.foof-panel::before {
  content: "";
  width: 100%;
  top: -20px;
  left: -20px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: top left;
  background-repeat: no-repeat;
  float: left;
  position: absolute;
  height: 20px;
  z-index: 500;
}
.foof-panel::after {
  content: "";
  width: 20px;
  height: 220px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: 0 -20px;
  background-repeat: no-repeat;
  float: left;
  top: 0px;
  left: -20px;
  position: absolute;
  height: 220px;
}
.foof-panel.foof-panel-seagreen {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#30f468+0,97ff89+100&0.5+0,0+100 */
  background: -moz-linear-gradient(-45deg, rgba(48,244,104,0.5) 0%, rgba(151,255,137,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(48,244,104,0.5) 0%,rgba(151,255,137,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(48,244,104,0.5) 0%,rgba(151,255,137,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8030f468', endColorstr='#0097ff89',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-orange {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6912e+0,f6912e+100&0.5+0,0+100 */
  background: -moz-linear-gradient(-45deg, rgba(246,145,46,0.5) 0%, rgba(246,145,46,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(246,145,46,0.5) 0%,rgba(246,145,46,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(246,145,46,0.5) 0%,rgba(246,145,46,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-lime {
  background: -moz-linear-gradient(-45deg, rgba(143,202,33,0.5) 0%, rgba(143,202,33,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(143,202,33,0.5) 0%,rgba(143,202,33,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(143,202,33,0.5) 0%,rgba(143,202,33,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-yellow {
  background: -moz-linear-gradient(-45deg, rgba(221,192,118,0.5) 0%, rgba(221,192,118,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(221,192,118,0.5) 0%,rgba(221,192,118,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(221,192,118,0.5) 0%,rgba(221,192,118,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-lightblue {
  background: -moz-linear-gradient(-45deg, rgba(194,196,251,0.5) 0%, rgba(194,196,251,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(194,196,251,0.5) 0%,rgba(194,196,251,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(194,196,251,0.5) 0%,rgba(194,196,251,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-avatargreen {
  background: -moz-linear-gradient(-45deg, rgba(184,231,76,0.5) 0%, rgba(184,231,76,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(184,231,76,0.5) 0%,rgba(184,231,76,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(184,231,76,0.5) 0%,rgba(184,231,76,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-magenta {
  background: -moz-linear-gradient(-45deg, rgba(255,97,190,0.5) 0%, rgba(255,97,190,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(255,97,190,0.5) 0%,rgba(255,97,190,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(255,97,190,0.5) 0%,rgba(255,97,190,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-green {
  background: -moz-linear-gradient(-45deg, rgba(0,200,108,0.5) 0%, rgba(0,200,108,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(0,200,108,0.5) 0%,rgba(0,200,108,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(0,200,108,0.5) 0%,rgba(0,200,108,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-creategreen {
  background: -moz-linear-gradient(-45deg, rgba(0,158,15,0.5) 0%, rgba(0,158,15,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(0,158,15,0.5) 0%,rgba(0,158,15,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(0,158,15,0.5) 0%,rgba(0,158,15,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-cyan {
  background: -moz-linear-gradient(-45deg, rgba(100,240,234,0.5) 0%, rgba(100,240,234,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(100,240,234,0.5) 0%,rgba(100,240,234,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(100,240,234,0.5) 0%,rgba(100,240,234,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-codeblue {
  background: -moz-linear-gradient(-45deg, rgba(140,191,219,0.5) 0%, rgba(140,191,219,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(140,191,219,0.5) 0%,rgba(140,191,219,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(140,191,219,0.5) 0%,rgba(140,191,219,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-red {
  background: -moz-linear-gradient(-45deg, rgba(206,62,60,0.5) 0%, rgba(206,62,60,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(206,62,60,0.5) 0%,rgba(206,62,60,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(206,62,60,0.5) 0%,rgba(206,62,60,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-brightyellow {
  background: -moz-linear-gradient(-45deg, rgba(244,197,31,0.5) 0%, rgba(244,197,31,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(244,197,31,0.5) 0%,rgba(244,197,31,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(244,197,31,0.5) 0%,rgba(244,197,31,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel.foof-panel-gold {
  background: -moz-linear-gradient(-45deg, rgba(255,239,171,0.5) 0%, rgba(255,239,171,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(255,239,171,0.5) 0%,rgba(255,239,171,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(255,239,171,0.5) 0%,rgba(255,239,171,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80f6912e', endColorstr='#00f6912e',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.foof-panel {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#9f069b+0,9f069b+100&0.5+0,0+100 */
  background: -moz-linear-gradient(-45deg, rgba(159,6,155,0.5) 0%, rgba(159,6,155,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(159,6,155,0.5) 0%,rgba(159,6,155,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(159,6,155,0.5) 0%,rgba(159,6,155,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#809f069b', endColorstr='#009f069b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.poster-portal-arch {
  position: relative;
  left: -2px;
  z-index: 110;
  margin-bottom: -1px;
  margin-top: -30px;
  height: 20px;
  background-image: url(../img/poster-portal-arch.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  
}


.poster-portal-panel {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 710px;
  min-height: 416px;
  background-image: url(../img/poster-portal.jpg);
  border-radius: 12px;
  background-position: top center;
  
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255,255,255,.4);
  border-left: 1px solid rgba(255,255,255,.2);
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 30px;
  text-align: left;
}

.sign-in-panel {
  text-align: left;
  display: inline-block;
  width: 200px;
  padding: 12px 16px;
  background: linear-gradient(-225deg, rgba(206,84,100,.2), rgba(206,84,100,0) 75%);
  border-radius: 12px;
  height: 200px;
  margin-left: 10px;
}

.foof-panel-signin {
  max-width: 290px;
  transform: rotate(-6deg);
  transition: transform .5s;
}
.foof-panel-signin:focus-within {
  transform: rotate(0deg) translate(0px,-20px);
}
.foof-panel-signup {
  max-width: 290px;
  transform: rotate(4deg);
  margin-top: 30px;
  transition: transform .5s;
}
.foof-panel-signup:focus-within {
  transform: rotate(0deg) translate(0px,-20px);
}

input {
  width: 100%;
  
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f2f2f2+0,ffffff+100&0.8+0,0.4+100 */
  background: -moz-linear-gradient(-45deg, rgba(242,242,242,0.8) 0%, rgba(255,255,255,0.4) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(242,242,242,0.8) 0%,rgba(255,255,255,0.4) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(242,242,242,0.8) 0%,rgba(255,255,255,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccf2f2f2', endColorstr='#66ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

  border-radius: 6px;
  font-size: 14px;
  padding: 9px 12px 8px 12px;
  border: none;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.4);
  font: 'Raleway', sans-serif;
  font-weight: bold;
  margin-bottom: 8px;
  color: black; /* rgba(255,255,255,.8); */
  transition: .2s outline;
}
input:focus {
  box-shadow: 0 0 6px rgba(255,255,255,1);
  border: 2px solid white;
  padding: 7px 10px 7px 10px;
}

label {
  display: block;
  font-weight: 700;
  text-align: left;
  font-size: 15px;
  margin-bottom: 3px;
  line-height: 15px;
  text-shadow: 0 0 6px rgba(0,0,0,.3);
  color: white;
}
label em {
  font-size: 13px;
  font-weight: normal;
  color: rgba(255,255,255,.7);
  font-style: normal;
}

button, .button {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  transform: scale(1.1,1.0);
  transform-origin: 0% 0%;
  color: white;
  padding: 8px 28px;
  background: rgba(235,50,50,.3);
  border-radius: 6px;
  border: none;
  box-shadow: 0px 1px 5px rgba(0,0,0,.4);
  cursor: pointer;
  position: relative;
  transition: .2s;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  margin: 0 6px;
  user-select: none;
}

button:active, .button:active {
  background: rgba(255,255,255,.8) !important;
  color: white !important;
}
button.button-square, .button.button-square {
  font-size: 20px;
  padding: 0px 2px;
}
.button-corner {
  float: right;
  display: inline-block;
  font-size: 50px;
  font-weight: normal;
  padding: 0px 2px;
  cursor: pointer;
  user-select: none;
  z-index: 100;
  position: relative;
  top: -20px;
  left: 12px;
}
button.button-small, .button.button-small {
  font-size: 16px;
  padding: 4px 12px;
}

button.cta, .button.cta {
  background: white;
  color: rgb(30,20,20);
  font-size: 24px;
  box-shadow: none;
}

button.clear, .button.clear {
  background: rgba(255,255,255,0);
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}


button.orange, .button.orange {
  color: #f6912e;
  background: rgba(255,255,255,0);
  border: 2px solid rgba(246,145,46,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.orange, a.orange {
  color: #f6912e;
}
.orange.nav-link::after {
  border-bottom: 3px solid #f6912e;
}


button.lightblue, .button.lightblue {
  color: rgba(194,196,251,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(194,196,251,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.lightblue, a.lightblue {
  color: rgba(194,196,251,1);
}
.lightblue.nav-link::after {
  border-bottom: 3px solid rgba(194,196,251,1);
}

button.avatargreen, .button.avatargreen {
  color: rgba(184,231,76,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(194,231,76,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.avatargreen {
  color: rgba(184,231,76,1);
}
.avatargreen.nav-link::after {
  border-bottom: 3px solid rgba(184,231,76,1);
}


button.magenta, .button.magenta {
  color: rgba(255,97,190,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(255,97,190,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.magenta, a.magenta {
  color: rgba(255,97,190,1);
}
.magenta.nav-link::after {
  border-bottom: 3px solid rgba(255,97,190,1);
}


button.green, .button.green {
  color: rgba(0,200,108,1);
  background: rgba(0,0,0,.2 );
  border: 2px solid rgba(0,160,68,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.green, a.green {
  color: rgba(0,200,108,1);
}
.green.nav-link::after {
  border-bottom: 3px solid rgba(0,200,108,1);
}


button.creategreen, .button.creategreen {
  color: rgba(0,158,15,1);
  background: rgba(0,0,0,.2 );
  border: 2px solid rgba(0,160,68,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
  text-shadow: 0 0 3px rgba(0,0,0,.5);
}
button.creategreen:hover, .button.creategreen:hover {
  background: rgba(0,158,15,.5);
}
.creategreen, a.creategreen {
  color: rgba(0,158,15,1);
}
.creategreen.nav-link::after {
  border-bottom: 3px solid rgba(0,158,15,1);
}


button.cyan, .button.cyan {
  color: rgba(100,240,234,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(100,240,234,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.cyan, a.cyan {
  color: rgba(100,240,234,1);
}
.cyan.nav-link::after {
  border-bottom: 3px solid rgba(100,240,234,1);
}

button.codeblue, .button.codeblue {
  color: rgba(140,191,219,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(140,191,219,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.codeblue, a.codeblue {
  color: rgba(140,191,219,1);
}
.codeblue.nav-link::after {
  border-bottom: 3px solid rgba(140,191,219,1);
}


button.red, .button.red {
  color: rgba(206,62,60,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(206,62,60,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.red, a.red {
  color: rgba(206,62,60,1);
}
.red.nav-link::after {
  border-bottom: 3px solid rgba(206,62,60,1);
}


button.yellow, .button.yellow {
  color: rgba(221,192,118,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(221,192,118,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.yellow, a.yellow {
  color: rgba(221,192,118,1);
}
.yellow.nav-link::after {
  border-bottom: 3px solid rgba(221,192,118,1);
}

button.brightyellow, .button.brightyellow {
  color: rgba(244,197,31,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(244,197,31,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.brightyellow, a.brightyellow {
  color: rgba(244,197,31,1);
}
.brightyellow.nav-link::after {
  border-bottom: 3px solid rgba(244,197,31,1);
}


button.purple, .button.purple {
  color: rgba(110,63,167,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(110,63,167,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.purple, a.purple {
  color: rgba(110,63,167,1);
}
.purple.nav-link::after {
  border-bottom: 3px solid rgba(110,63,167,1);
}


button.gold, .button.gold {
  color: rgba(255,239,171,1);
  background: rgba(255,255,255,0);
  border: 2px solid rgba(255,239,171,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
.gold, a.gold {
  color: rgba(255,239,171,1);
}
.gold.nav-link::after {
  border-bottom: 3px solid rgba(255,239,171,1);
}


button.lime, .button.lime {
  color: rgba(143,202,33,1);
  background: rgba(0,0,0,.4);
  border: 2px solid rgba(143,202,33,.9);
  box-shadow: 0px 1px 5px rgba(0,0,0,0);
}
button.lime:hover, .button.lime:hover {
  background: rgba(143,202,33,.5);
}
.lime, a.lime {
  color: rgba(143,202,33,1);
}
.lime.nav-link::after {
  border-bottom: 3px solid rgba(143,202,33,1);
}


button.small, .button.small {
  font-size: 14px;
  padding: 3px 6px;
}

button:active::before, button:focus::before,
.button:active::before, .button:focus::before {
  content: "";
  width: 105%;
  top: -10px;
  left: -10px;
  z-index: 100;
  background-size: 110px 110px;
  background-image: url(../img/foof-button.png);
  background-position: top left;
  background-repeat: no-repeat;
  position: absolute;
  height: 20px;
  
}
button:active::after, button:focus::after,
.button:active::after, .button:focus::after {
  content: "";
  width: 20px;
  z-index: 100;
  background-image: url(../img/foof-button.png);
  background-size: 110px 110px;
  background-position: 0 -20px;
  background-repeat: no-repeat;
  top: 10px;
  left: -10px;
  position: absolute;
  height: 80%;
}


/**
 * Slider 
 */
.slide-panel {
  width: 100%;
  height: 100%;
  max-height: calc(100%);
  position: absolute;
  overflow: hidden;
  white-space: no-break;
  text-align: center;
  user-select: none;
}
.slide-panel#games {
  top: 100%;
  background-color: #734033;
}
.slide-panel#worlds {
  top: 200%;
  background-color: #cc7167;
}
.slide-panel#avatars {
  top: 300%;
  background-color: #645871;
}
.slide-panel#friends {
  top: 400%;
  background-color: #4c906e;
}
.slide-panel#code {
  top: 500%;
  background-color: #313981;
}
.slide-panel#safe {
  top: 600%;
  background-color: #36222c;
}
.slide {
  display: inline-block;
  width: calc(100%);
  max-height: calc(100%);
  position: relative;
}
.tall .slide {
  display: inline-block;
  width: calc(100%);
  height: calc(100%);
  max-height: auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.slide img {
  width: 100%;
  image-rendering: pixelated;
}
.tall .slide img {
  width: auto;
  height: 100%;
  position: relative;
}
.slide-gradient {
  position: absolute;
  width: 100%;
  max-height: calc(100%);
  z-index: 10;
  left: 0;
}
.tall .slide-gradient {
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.slide-thumb-table {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 50%;
  margin-left: -45%;
  margin-top: -130px;
  width: 90%;
}
.slide-thumb-table td {
  padding; 6px;
  border: 6px solid rgba(0,0,0,0);
}
.slide-thumb {
  width: 100%;
  max-width: 120px;
  opacity: .5;
  transition: .5s;
  transform: scale(1);
  cursor: pointer;
  border-radius: 6px;
}
.slide-thumb.selected  {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 0px 2px rgba(255,255,255,.5);
}
.slides {
  transition: margin-left .5s;
}

/**
 * Navigation 
 */
.nav-panel {
  position: fixed;
  right: 10%;
  top: 50%;
  margin-top: -100px;
  z-index: 120;
  line-height: 17.5px;
}

.nav-panel b {
  font-variant: small-caps;
  font-weight: 900;
  
}

.nav-panel a {
  font-weight: lighter;
  font-size: 18px;
  display: block;
  color: white;
  text-align: right;
  text-decoration: none;
  position: relative;
  z-index: 70;
  height: 40px;
  vertical-align: middle;
  padding-top: 12px;
  text-shadow: 0 0 6px rgba(0,0,0,.2);
}

.nav-panel a::before {
  font-weight: lighter;
  content: '|';
  display: block;
  position: absolute;
  right: 0;
  top: -6px;
  padding-right: 5px;
  font-size: 29px;
  color: rgba(255,255,255,.5);
}
.nav-panel a::after {
  font-weight: lighter;
  font-size: 26px;
  content: 'o';
  margin-left: 12px;
  color: rgba(255,255,255,.5);
}
.nav-panel a.first::before {
  opacity: 0;
}

.nav-panel a b {
  position: relative;
}
.nav-panel a b::after {
  content: "";
  position: absolute;
  right: 0;
  float: right;
  display: block;
  border-bottom: 3px solid white;
  width: 0%;
  transition: width .5s;
}

#nav-highlight {
  position: absolute;
  right: -44px;
  top: 0;
  margin-top: -67px;
  z-index: 29;
  width: 100px;
  height: 100px;
  background-image: url(../img/lens-flare.png);
  background-size: 100% 100%;
  transition: .5s;
}

#mobile-nav {
  position: fixed;
  height: 60px;
  top: -180px;
  left: 0;
  width: 100%;
  /* background: rgba(0,0,0,.8);
  border-bottom: 1px solid rgba(255,255,255,.1); */
  transition: top .5s;
  text-align: right;
  font-size: 30px;
  padding: 9px 24px;
  z-index: 200;
  user-select: none;
}
/*#mobile-nav::after {
  content: "";
  width: 500%;
  top: 50px;
  left: -50px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: top left;
  background-repeat: no-repeat;
  float: left;
  position: absolute;
  height: 20px;
  z-index: 500;
}
#mobile-nav::before {
  content: "";
  width: 500%;
  top: -10px;
  left: -20px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: top left;
  background-repeat: no-repeat;
  float: left;
  position: absolute;
  height: 20px;
  z-index: 500;
}*/
  
/**
 * Account panel
 */
.account-panel {
  position: fixed;
  top: 85%;
  right: 0;
  color: rgba(255,255,255,.5);
  z-index: 210;
  width: 100%;
  text-align: center;
  transition: top .5s, right .5s, width .5s, padding .5s, font-size .5s, margin .5s;
}
.account-panel .button {
  margin: 0 20px;
}
.scrolled .account-panel {
  top: 6px;
  right: 0;
  width: 160px;
  padding-top: 12px;
}
.scrolled .account-panel .button {
  font-size: 14px;
  padding: 6px 12px;
  margin: 0;
}


.hook {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 100%;
  max-width: 400px;
  color: white;
  font-size: 18px;
  font-weight: lighter;
  white-space: normal;
  text-align: left;
  line-height: 28px;
  z-index: 100;
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  transition: .5s;
}

.hook h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 6px;
  color: inherit;
  font-weight: lighter;
  line-height: 24px;
}
.hook p {
  margin: 0 0 12px 0;
}
.hook.center {
  text-align: center;
  width: 300px;
  left: 50%;
  margin-left: -150px;
  top: 50%;
  margin-top: -160px;
}
.hook.centertall {
  text-align: center;
  width: 260px;
  left: 50%;
  margin-left: -130px;
  top: 50%;
  margin-top: -200px;
}
.hook.centertop {
  text-align: center;
  width: 220px;
  left: 50%;
  margin-left: -110px;
  top: 15%;
}
.hook.right {
  text-align: center;
  width: 260px;
  left: 57%;
  margin-left: -130px;
  top: 15%;
}
.hook.centerwide {
  text-align: center;
  width: 350px;
  left: 50%;
  margin-left: -175px;
  top: 50%;
  margin-top: -180px;
}
.hook.bottom {
  text-align: center;
  left: 50%;
  margin-left: -200px;
  top: 90%;
  margin-top: -200px;
}
.hook.left {
  left: 10%;
  top: 20%;
  max-width: 290px; 
}
.hook.topleft {
  left: 20%;
  top: 10%;
  max-width: 280px; 
}
.hook.bottomleft {
  left: 10%;
  max-width: 280px;
  top: 50%;
}
.hook.bottom-align-right {
  left: 17%;
  max-width: 250px;
  top: 50%;
  text-align: right;
}
.hook.bottom-align-left {
  left: 58%;
  max-width: 300px;
  top: 74%;
}
.hook.hidden {
  opacity: 0;
  margin-top: 20px;
}

/**
 * Navigation header for logged in users.
 */
.header {
  position: relative;
  padding: 12px 0px 12px 124px;
  text-align: left;
  margin-bottom: 24px;
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%); 
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 40%,rgba(0,0,0,0.5) 100%);
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 40%,rgba(0,0,0,0.5) 100%);
}
.header::before {
  content: '';
  color: white;
  width: 25%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.header::after {
  content: '';
  color: white;
  width: 75%;
  height: 1px;
  position: absolute;
  left: 25%;
  bottom: -1px;
  display: block;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
  background: -moz-linear-gradient(right,  rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(right,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to left,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.header .logo {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 88px;
  height: 40px;
  transition: none;
  background-image: url(../img/logo-wishworlds-moon.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.nav-link {
  font-weight: lighter;
  font-size: 18px;
  color: rgba(255,255,255,.8) !important;
  text-align: right;
  text-decoration: none;
  position: relative;
  z-index: 70;
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  margin-right: 24px;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  float: right;
  display: block;
  border-bottom: 3px solid rgba(143,202,33,1);
  width: 0;
  transition: width .5s;
}
.nav-link.selected::after {
  width: 100%;
}
.nav-link b {
  display: inline-block;
  transform: rotate(10deg);
  margin-left: 1px;
  display: none; /* TODO(scott): erase if we hide these forever. */
}
.me-link {
  margin-right: 0;
}

/**
 * The main body panel where the content renders.
 */
.body-panel {
  padding: 0 40px 40px 40px;
  text-align: left;
  overflow-x: hidden;
}

.body-panel h1 {
  margin-top: 20px;
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  line-height: 34px;
  margin-bottom: 24px;
}
.body-panel h2 {
  text-shadow: 0 0 6px rgba(0,0,0,.2);
  font-variant: small-caps;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -1px;
  transform: scale(1.1,1.0);
  transform-origin: 0% 0%;
}


/**
 * The main body panel where the content renders.
 */
.game-listing {
  width: 120px;
  margin-right: 12px;
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
}
.game-listing name {
  font-size: 14px;
  font-variant: normal;
  text-align: center;
  margin-top: 12px;
  font-weight: bold;
  display: block;
}
.game-listing author {
  font-size: 12px;
  text-align: center;
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.7);
  display: none;
}
.game-listing a {
  text-decoration: none;
}

.game-listing stars {
  display: block;
  text-align: center;
  font-weight: 900;
  text-shadow: 0 0 3px rgba(0,0,0,.7);
}

.list-icon {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 96px 0 0 0;
  border-radius: 8px;
  vertical-align: top;
  background-color: rgba(246,145,46,.3);
  background-image: none;
  background-size: 120px 120px;
  width: 120px;
  height: 120px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.5);
  border-left: 1px solid rgba(255,255,255,.5);
  border-right: 1px solid rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0px 20px 8px -8px rgba(0,0,0,.3);
  transition: transform .2s, margin .2s;
}

.list-icon::before {
  content: "";
  width: 100%;
  top: -10px;
  left: -10px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: top left;
  background-repeat: no-repeat;
  float: left;
  position: absolute;
  height: 20px;
  z-index: 500;
  opacity: .5;
  transition: opacity .2s;
}
.list-icon::after {
  content: "";
  width: 20px;
  height: 105px;
  z-index: 100;
  background-image: url(../img/foof-top-left.png);
  background-position: 0 -20px;
  background-repeat: no-repeat;
  float: left;
  top: 10px;
  left: -10px;
  position: absolute;
  opacity: .5;
  transition: opacity .2s;
}

.world-icon {
  border-radius: 150px;
  background-color: rgba(143,202,33,.3);
}
.world-icon::before {
  background-image: url(../img/foof-world-icon.png);
  background-size: 100% 100%;
  height: 56px;
  width: 72px;
  top: 0;
  left: 0;
}
.world-icon::after {
  background-image: none;
}

/* Horizontal Tabs */
.tab-panel {
  display: inline-block;
  position: relative;
  box-shadow: 0px -17px 20px rgba(0,0,0,.125);
  margin-bottom: 12px;
  white-space: nowrap;
}
.tab-panel {
  margin-top: 12px;
}
.tab-panel .tab {
  position: relative;
  display: inline-block;
  padding: 8px 12px 5px 12px;
  font-size: 12px;
  letter-spacing: .5px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  height: 32px;
  text-shadow: 0 0 3px rgba(0,0,0,.5);

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.25+0,0.5+100 */
  background: -moz-linear-gradient(top,  rgba(0,0,0,0.125) 0%, rgba(0,0,0,0.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0.125) 0%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(0,0,0,0.125) 0%,rgba(0,0,0,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.tab-panel .tab.selected {
  padding: 7px 11px 6px 11px;
  border-top: 1px solid rgba(255,255,255,.5);
  border-left: 1px solid rgba(255,255,255,.5);
  border-right: 1px solid rgba(255,255,255,.25);
  border-bottom: none;
  background: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  height: 31px;
  box-shadow: 0px -1px 2px rgba(0,0,0,.25);
}
.tab-panel .tab::before {
  content: '|';
  text-shadow: none;
  font-weight: normal;
  position: absolute;
  left: -2px;
  color: rgba(255,255,255,.5);
}
/* Hide the separator for selected tab and the one after it.  */
.tab-panel .tab.selected::before,
.tab.selected + .tab::before,
.tab-panel .tab:first-of-type::before {
  color: rgba(0,0,0,0);
}

/* The first tab has a different "before" element, with a white line. */
.tab:first-of-type::before {
  content: '';
  color: red;
  width: 24px;
  height: 1px;
  position: absolute;
  left: -24px;
  bottom: -1px;
  display: block;
  
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.tab:first-of-type::after {
  content: '';
  width: 200px;
  height: 40px;
  position: absolute;
  left: -200px;
  bottom: 0px;
  display: block;
  
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+50,0.5+100 */
  background: -moz-linear-gradient(-10deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-10deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(170deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

/* The last tab has a different "after" element, with a white gradient line. */
.tab-panel::before {
  content: '';
  color: red;
  width: 70px;
  height: 1px;
  position: absolute;
  left: 100%;
  bottom: 0px;
  display: block;
  z-index: 200;
  
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
  background: -moz-linear-gradient(right,  rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(right,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to left,  rgba(255,255,255,0) 0%,rgba(255,255,255,.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.tab-panel::after {
  content: '';
  width: 200px;
  height: 40px;
  position: absolute;
  left: 100%;
  bottom: 0px;
  display: block;
  
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+50,0.5+100 */
  background: -moz-linear-gradient(-100deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-100deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.25) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(190deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0.25) 100%);
}

/**
 * For the fontawesome icons.
 */
.tab-panel .tab .fas {
  font-size: 17px;
  margin: -1px -2px -5px -2px;
  vertical-align: top;
}

/**
 * Game Editor Styles.
 */
.game-editor-header {
  padding: 12px 0px 12px 124px;
}
.game-editor-left {
  position: fixed;
  top: 45px;
  left: 0;
  width: 250px;
  height: 100%;
  padding: 18px;
  z-index: 100;
}
.game-editor-center {
  position: fixed;
  top: calc(45px + 12px);
  left: 250px;
  width: calc(100% - 250px - 12px);
  height: calc(100% - 45px - 24px);
  padding: 0;
  background-color: rgba(0,0,5,.25);
  box-shadow: inset 3px -3px 6px rgba(0,0,0,.2);
  border-radius: 12px;
  padding: 12px;
}
.game-editor-center.code-editor {
  background-color: rgba(0,0,5,.66);
}
.game-editor-center .CodeMirror {
  position: absolute;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  font-size: 14px;
  background: none !important;
  background-color: none;
  font-family: 'Source Code Pro', monospace;
}
.game-editor-center .CodeMirror-overlayscroll-horizontal div,
.game-editor-center .CodeMirror-overlayscroll-vertical div {
  background: rgba(63, 255, 207, 0.1); /* rgba(56,103,118,.3); rgba(56,103,118,.5); rgba(143,202,33,.3); */
  transition: background .2s;
  width: 10px;
  height: 10px;
  border-radius: 12px;
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.1);
}
.game-editor-center .CodeMirror-overlayscroll-horizontal div:hover,
.game-editor-center .CodeMirror-overlayscroll-vertical div:hover {
  background: rgba(63, 255, 207, 0.3); /* rgba(56,103,118,.5); rgba(143,202,33,.6); rgba(143,202,33,.3); */
}
.game-editor-center .CodeMirror-linenumber {
  padding-left: 9px;
  padding-right: 12px;
}
.game-editor-center .CodeMirror pre.CodeMirror-line, 
.game-editor-center .CodeMirror pre.CodeMirror-line-like {
  padding-left: 12px;
}
.game-editor-center .CodeMirror-gutters {
  background: none !important;
  border-right: 1px solid rgba(63, 255, 207, 0.1) !important;
}
.game-editor-center .cm-s-lesser-dark span.cm-comment {
  color: rgba(255,255,255,.5);
}
.game-editor-center .cm-s-lesser-dark .CodeMirror-linenumber {
  color: rgba(63, 255, 207, 0.3);
  min-width: 26px;
}
.game-editor-center .cm-s-lesser-dark span.cm-def {
    color: rgba(255,255,255,.8);
}
.game-editor-center .cm-s-lesser-dark.CodeMirror {
  color: rgba(255,255,255,.8);
  text-shadow: 0 0 3px rgba(0,0,0,.5);
}
.game-editor-center .CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, 
.game-editor-center .CodeMirror-overlayscroll .CodeMirror-gutter-filler {
  visibility: hidden;
}

.game-editor-header .tab-panel {
  margin-top: 0;
}
.game-editor-header .tab {
  text-transform: none;
  font-weight: normal;
  font-size: 15px;
}
.game-editor-header .logo {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 47px;
  height: 40px;
  transition: none;
  background-image: url(../img/icon-wishworlds-back.png);
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: 300;
}
.game-editor .name-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  height: 16px;
  overflow: hidden;
  text-shadow: 0 0 3px rgba(0,0,0,.5);
}
.game-editor .accent-text {
  color: rgba(143,202,33,1);
}
.game-editor .accent-background {
  background: rgba(143,202,33,1);
}
.game-editor .name-input {
  background: rgba(0,0,0,0);
  border: 1px solid rgba(0,0,0,0);
  font-size: 18px;
  color: white;
  padding: 0 3px;
  width: auto;
  z-index: 310;
  font-weight: 500;
  border-radius: 4px;
  margin-left: -4px;
}
.game-editor .name-input:focus {
  box-shadow: 0px 0px 3px white;
}
.game-editor .play-button {
  display: block;
  float: right;
  margin-right: -36px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  width: 36px;
  height: 36px;
  border-radius: 36px;
  background: #009e0f;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  padding: 8px 0 0 3px;
  user-select: none;
  z-index: 300;
  box-shadow: 0px 3px 6px rgba(0,0,0,.2);
}


/* Logo can be smaller on mobile devices */
@media screen and (max-width: 900px) {
  .nav-panel {
    display: none;
  }
  .scrolled .account-panel {
    right: 50px;
  }
  .tall.scrolled #logo {
    position: fixed;
    bottom: 100%;
    left: 0;
    max-width: 170px;
    margin-left: 0px;
    margin-bottom: -65px;
    min-width: 170px;
    z-index: 500;
  }
  #mobile-nav {
    
    top: 0;
  }
  .hook {
    padding: 0 40px 0 30px;
  }
}

@media screen and (max-width: 450px) {
  .tall #logo {
    width: 300px;
    min-width: 300px;
    margin-left: -150px;
  }
  .tall #logo-flare {
    margin-left: -380px;
  }
  .slide img {
    opacity: .6;
  }
  #welcome .slide img {
    opacity: 1;
  }
  .hook {
    padding: 0 30px 0 30px;
  }
  
  .hook, .hook h1 {
    text-align: center;
  }
  .hook.topleft {
    left: 10%;
    top: 20%;
    max-width: 290px; 
  }
  
  .hook.left {
    text-align: center;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    top: 50%;
    margin-top: -160px;
  }
  
  .hook, .hook.bottomleft, .hook.bottom, .hook.topleft, .hook.right {
    width: 300px;
    left: 50%;
    margin-left: -150px;
  }
  
  .hook.centertall, .hook.bottom {
    padding: 0 10px;
  }
  
  .slide-thumb-table {
    margin-top: -65px;
  }
  .hook.bottomleft {
    top: 20%;
  }
}
/**
 * Put these in media query for ipad hover support
 */
@media (pointer:fine) {
  .nav-link:hover::after {
    width: 100%;
  }
  .world-icon:hover {
    transform: rotate(0deg);
    margin: -4px 0px 4px 0px;
  }
  .list-icon:hover {
    transform: rotate(-5deg);
    margin: -4px 0px 4px 0px;
  }
  .list-icon:hover::after, .list-icon:hover::before {
    opacity: 1;
  }
  button.clear:hover, .button.clear:hover, button.clear:focus, .button.clear:focus {
    background: rgba(255,255,255,.1);
    border: 2px solid white;
    box-shadow: 0px 1px 5px rgba(0,0,0,.4);
  }
  button.cta:hover, .button.cta:hover {
    color: black !important;
    background: white;
  }
  button:hover, .button:hover {
    background: rgba(235,50,50,.5);
    color: white !important;
  }
  button:hover::before, .button:hover::before {
    content: "";
    width: 105%;
    top: -10px;
    left: -10px;
    z-index: 100;
    background-size: 110px 110px;
    background-image: url(../img/foof-button.png);
    background-position: top left;
    background-repeat: no-repeat;
    position: absolute;
    height: 20px;
  }
  button:hover::after, .button:hover::after {
    content: "";
    width: 20px;
    z-index: 100;
    background-image: url(../img/foof-button.png);
    background-size: 110px 110px;
    background-position: 0 -20px;
    background-repeat: no-repeat;
    top: 10px;
    left: -10px;
    position: absolute;
    height: 80%;
  }
  .slide-thumb:hover {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 0px 2px rgba(255,255,255,.5);
  }
  .slide-thumb:hover {
    box-shadow: 0 0 0px 2px rgba(255,255,255,1);
  }
  .game-listing author a:hover {
    text-decoration: underline;
  }
  .nav-panel a:hover b::after {
    width: 100%;
  }
}



/**
 * Default styling for snap-edit elements.
 */

#popup-panel {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-align: center;
}

#popup-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9000;
  /* background: rgba(0,48,61,.8); */
  background: rgba(0,0,0,.8);
  opacity: 1;
  transition: opacity .4s;
}
#popup-background.hidden {
  display: none;
  opacity: 0;
  z-index: 0;
}

#loading-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgba(1,0,0,.5);
  opacity: 1;
  transition: opacity .4s, background .4s;
  text-align: center;
  background-image: none;
}
#loading-panel::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  background-image: url('../img/loading.gif');
  background-size: 100px 100px;
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: -50px;
  margin-top: -50px;
}
#loading-panel.hidden {
  display: block;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}
#loading-panel img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
}
#loading-text {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -150px;
  font-weight: 100px;
}

/**
 * Make the modal background darker than the standard one.
 */
.snap-modal-panel {
  background: rgba(0,0,0,.8)
}

#snap-rtc-status-panel {
  position: fixed;
  top: 6px;
  right: 6px;
  z-index: 505;
  background: black;
  padding: 0 15px 0 0;
  font-size: 10px;
  font-weight: normal;
  background: url(../img/icon-chat.png);
  background-repeat: no-repeat;
  background-size: 10px 10px;
  background-position: top right;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  text-shadow: 0px 0px 3px black, 0px 0px 3px black;
}
.showing-popup #snap-rtc-status-panel {
  filter: blur(4px);
}
#snap-rtc-status-panel.collapsed {
  height: 15px;
  width: 20px;
  padding-top: 20px;
  opacity: .5;
}


#hotbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  height: 50px;
  width: 500px;
  margin-left: -250px;
  z-index: 1001;
  /* cursor: url(../img/cursor-point.png) 50 50, default; */
  zoom: 1;
  padding: 1px;
  transition: 1s bottom;
  text-align: center;
}
#hotbar.hidden {
  bottom: -60px;
}

#hotbar canvas {
  border: 2px solid #c6c6c6;
  padding: 3px 5px 0px 5px;
  background: rgba(0,0,0,.4);
  box-shadow: inset 0px 1px 2px rgba(0,0,0,1),
              0 0 0 1px black;
  margin-right: 1px;
}

#hotbar canvas.selected {
  border: 4px outset;
  padding: 3px 5px 0px 5px;
  box-shadow: 0 0 0px 1px rgba(0,0,0,1),
              inset 0 0 0 1px rgba(0,0,0,1);
  position: relative;
  top: -3px;
  background: rgba(255,255,255,.9);
  margin-left: -1px;
}

/**
 * Inventory panel.
 */
#inventory-panel {
  padding: 11px 14px;
  zoom: 1;
  background: #c6c6c6;
  width: 600px;
  height: 375px;
  margin-left: -300px;
  margin-top: -175px;
  border-left: 4px solid white;
  border-top: 4px solid white;
  border-right: 4px solid #565656;
  border-bottom: 4px solid #565656;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 1px black;  
  padding: 0 15px;
  font-size: 12px;
  text-align: left;
  display: none;
}
#inventory-panel .tab {
  width: 50px;
  height: 44px;
  border-left: 4px solid white;
  border-top: 4px solid white;
  border-right: 4px solid #565656;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  margin-bottom: -50px;
  position: relative;
  top: -65px;
  margin-left: -16px;
  margin-right: 20px;
  background: #c6c6c6;
  display: inline-block;
  box-shadow: -1px 0px 0px 0px black,
              1px 0px 0px 0px black,
              0px -1px 0px 0px black;
  overflow: hidden;
  vertical-align: bottom;
}


#inventory-panel .tab canvas {
  padding-left: 5px;
  margin-bottom: -5px;
  padding-top: 3px;
}

#inventory-panel .tab.selected {
  height: 52px;
  top: -60px;
  box-shadow: 4px -2px 0px -3px black,
              -4px -2px 0px -3px black,
              0px -1px 0px 0px black;
}
#inventory-cancel-button {
  position: absolute;
  top: 84px;
  left: 135px;
}
#inventory-panel .title {
  padding-top: 9px;
  padding-bottom: 6px;
  font-size: 16px;
  color: black;
  text-transform: capitalize;
}

.inventory-item {
  margin-right: 2px;
  margin-bottom: 1px;
  padding: 3px 5px 0px 5px;
  background: rgba(0,0,0,.2);
  border: 1px inset;
  box-shadow: inset 0px 1px 2px rgba(0,0,0,1);
}

.inventory-item:hover {
  position: relative;
  background: rgba(255,255,255,.9);
}

.inventory-item.inventory-action-panel {
  display: block;
  padding: 12px;
  width: 100%;
  font-size: 15px;
  color: black;
}
.inventory-item.inventory-action-panel:hover {
  background: rgba(0,0,0,.2);
}
#inventory-panel .tab.tab-wide {
  width: auto;
  padding: 20px 10px 0 10px;
  cursor: default;
  font-size: 15px;
  color: black;
}
.inventory-button {
  width: auto;
  padding: 12px 20px 0px 20px;
  border-left: 4px solid white;
  border-top: 4px solid white;
  border-right: 4px solid #565656;
  border-bottom: 4px solid #565656;
  border-radius: 4px;
  background: #c6c6c6;
  display: inline-block;
  font-size: 15px;
  color: black;
  box-shadow: -1px 0px 0px 0px black,
              1px 0px 0px 0px black,
              0px -1px 0px 0px black,
              0px 1px 0px 0px black;
  cursor: pointer;
  user-select: none;
  margin: 0 3px;
}
.inventory-button:active {
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  border-left: 4px solid #565656;
  border-top: 4px solid #565656; 

}


/**
 * Chat panel classes.
 */
#chat-form {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  display: block;
  z-index: 1000;
  overflow: hidden;
}
#chat-form.hidden {
  display: none;
}
#chat-output {
  text-align: left;
  position: fixed;
  bottom: 50px;
  left: 0px;
  width: 250px;
  padding-left: 12px;
  font-weight: bold;
  text-shadow: 0px 1px 2px black;
}
#chat-output b {
  font-weight: 900;
}
#chat-output p {
  margin-top: 3px;
  margin-bottom: 0px;
  margin-left: 20px;
  text-indent: -20px;
}

#chat-input {
  position: fixed;
  left: 12px;
  bottom: 0;
  width: 250px;
}


.avatar-label {
  position: absolute;
  z-index: 410;
  width: 100px;
  font-size: 12px;
  left: 0;
  top: 0;
  margin-left: -50px;
  margin-top: -18px;
}
.avatar-label span {
  display: inline-block;
  color: white;
  padding: 2px 4px;
  background: rgba(0,0,0,.5);
  font-weight: bold;
  border-radius: 3px;
}


/**
 * File and folder tree styles.
 */
#file-tree {
  font-size: 15px;
  font-weight: 500;
  user-select: none;
  color: rgba(255,255,255,.8);
  text-shadow: 0 0 3px rgba(0,0,0,.5);
  margin-left: -18px;
}
/* For font awesome icons */
#file-tree .fas {
  margin-right: 1px;
}
#file-tree .fas {
  width: 20px;
  text-align: center;
}

#file-tree hr {
  margin: 0;
  opacity: .25;
}
#file-tree .jqtree-title {
  width: 100%;
}


/** Swap out the folder icon if opened **/
#file-tree .fa-folder {
  color: rgba(143,202,33,1);
  display: none;
}
#file-tree .fa-folder-open {
  color: rgba(143,202,33,1);
  display: inline-block;
}
.jqtree-closed .fa-folder {
  display: inline-block;
}
.jqtree-closed .fa-folder-open {
  display: none;
}
.fa-trash {
  color: rgba(143,202,33,1);
}

/* Style for selected node that goes all the way across the screen 
ul.jqtree-tree li.jqtree-selected > .jqtree-element,
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
  background: rgba(0,158,15,0.5);
  text-shadow: 0 0 3px rgba(0,0,0,.5);
  color: white !important;
}
ul.jqtree-tree .jqtree-element {
  padding: 4px 6px;
  border-radius: 4px;
}
*/


/* Style for selected node */
ul.jqtree-tree li.jqtree-selected > .jqtree-element,
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
  background: none;
  text-shadow: none;
}
ul.jqtree-tree li.jqtree-selected > .jqtree-element .jqtree-title {
  background: rgba(143,202,33,.5);
  text-shadow: 0 0 3px rgba(0,0,0,.5);
  color: white !important;
  width: 100%;
}
ul.jqtree-tree .jqtree-title {
  padding: 4px 6px;
  border-radius: 4px;
}


/* Drag target indicator styles */
ul.jqtree-tree li.jqtree-ghost span.jqtree-circle {
  border: solid 2px rgba(143,202,33,1);
}
ul.jqtree-tree li.jqtree-ghost span.jqtree-line {
  background-color: rgba(143,202,33,1);
}
ul.jqtree-tree ul.jqtree_common {

}

/* Style for folder togglers. */
.jqtree-toggler {
  color: rgba(143,202,33,1);
  font-size: 10px;
  padding: 4px;
  position: relative;
  left: 4px;
  top: 3px;
  width: 15px;
}
.jqtree-title-folder {
  font-weight: 600;
}

/* Style for dragging file */
span.jqtree-dragging {
  color: #fff;
  background: none;
  opacity: 0.6;
  cursor: pointer;
  padding: 2px 8px;
}
ul.jqtree-tree span.jqtree-border {
  border: solid 2px rgba(143,202,33,1);
}
ul.jqtree-tree .jqtree-moving > .jqtree-element .jqtree-title {
  outline: dashed 1px rgba(0,0,0,0);
}

/**
 * Bridge iframe styling.
 */
#sandbox-iframe {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 3px;
  height: 3px;
  z-index: 5000;
  background: none;
  border: 1px solid red;
  overflow: hidden;
  display: block;
  opacity: 1;
}
