/*
Neggfest Y23 NP Hubpage
Author: Maxv
*/

#container__2020 #sceneH5 {
  max-width: 100% !important;
}

/* Main Styling */
#container__2020 a,
.neggfest-popup a {
  text-decoration: none;
  outline: none;
}
#container__2020 h1 {
  /* Hide from users but not screenreader or SEO. */
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

#container__2020 .neggfest-q-button {
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  position: relative;
  float: right;
  margin-right: 10px;
  margin-top: 10px;
  z-index: 2;
}

#container__2020 .neggfest-desc {
  width: 90%;
  margin: 10px auto;
  font-size: 11pt;
  font-family: "MuseoSansRounded500", "Arial", sans-serif;
}

#container__2020 .neggfest-title {
  width: 400px;
  height: 100px;
  margin: auto auto -50px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(/neggfest/y23/np/np-sign.png);
  z-index: 2;
  position: relative;
}

@media screen and (max-width: 500px) {
  #container__2020 .neggfest-title {
    width: calc(100% - 100px);
    padding-bottom: 25%;
    height: 0;
  }
}

#container__2020 .neggfest-bg {
  width: 100%;
  height: 600px;
  background-image: url(/neggfest/y26/np/bg.jpg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  position: relative;
}

#container__2020 .neggfest-bg .neggfest-dipanddye-sign {
  background-image: url(/neggfest/y23/np/nc-sign.png);
  background-size: 200% auto;
  background-repeat: no-repeat;
  background-position: left bottom;
  width: 200px;
  height: 275px;
  position: absolute;
  bottom: 100px;
  left: 70px;
  z-index: 1;
}
#container__2020 .neggfest-bg .neggfest-dipanddye-sign:hover,
#container__2020 .neggfest-bg .neggfest-dipanddye-sign:focus,
#container__2020 a:focus .neggfest-dipanddye-sign {
  background-position: right bottom;
}

#container__2020 .neggfest-mainCharacter .neggfest-exclamation-icon:hover,
#container__2020 .neggfest-mainCharacter .neggfest-exclamation-icon:focus {
  background-image: url(/neggfest/y26/np/exclamation_yellow_hover.svg);
}

#container__2020 .neggfest-character3 .neggfest-exclamation-icon:hover,
#container__2020 .neggfest-character3 .neggfest-exclamation-icon:focus {
  background-image: url(/neggfest/y26/np/exclamation_blue_hover.svg);
}

/* Characters */

#container__2020 .neggfest-mainCharacter {
  display: block;
  background-color: unset;
  border: unset;
  outline: none;
  -webkit-animation: neggfestHub-characterIdle 3s infinite;
  animation: neggfestHub-characterIdle 3s infinite;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  background-size: 200% auto;
  background-repeat: no-repeat;
  background-position: left bottom;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 400px;
  height: 595px;
}
#container__2020 .neggfest-mainCharacter.neggfestCharHover,
#container__2020 .neggfest-character3.neggfestCharHover {
  cursor: pointer;
}
#container__2020 .neggfest-mainCharacter.neggfestCharHover:hover,
#container__2020 .neggfest-mainCharacter.neggfestCharHover:focus,
#container__2020 .neggfest-character3.neggfestCharHover:hover,
#container__2020 .neggfest-character3.neggfestCharHover:focus {
  background-position: right bottom;
}

#container__2020 .neggfest-character2 {
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  position: absolute;
  z-index: 2;
  -webkit-animation: neggfestHub-characterIdle 3s infinite;
  animation: neggfestHub-characterIdle 3s infinite;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  width: 312px;
  height: 421px;
  right: 1%;
  bottom: 0;
}
#container__2020 .neggfest-character3 {
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  position: absolute;
  z-index: 2;
  -webkit-animation: neggfestHub-characterIdle 3s infinite;
  animation: neggfestHub-characterIdle 3s infinite;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  width: 242px;
  height: 283px;
  right: 1%;
  bottom: 0;
}

#container__2020 .neggfest-y25-characters.neggfestCharHover {
  cursor: pointer;
}
#container__2020
  .neggfest-y25-characters.neggfestCharHover:hover
  .neggfest-character2,
#container__2020
  .neggfest-y25-characters.neggfestCharHover:hover
  .neggfest-mainCharacter {
  background-position: right bottom;
}

#container__2020 .neggfest-y25-desk {
  background: url(table.png) center / contain no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 605px;
  height: 221px;
  z-index: 3;
  transform: scaleX(-1);
}

#container__2020 .neggfest-mainCharacter .neggfest-exclamation-icon {
  background-image: url(/neggfest/y26/np/exclamation_yellow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-animation: neggfestHub-exclamation 3s infinite;
  animation: neggfestHub-exclamation 3s infinite;
  width: 10%;
  height: 0;
  padding-bottom: 30%;
  /*margin:-5% auto auto;*/
  /*margin:15% auto auto;*/
}

#container__2020 .neggfest-character3 .neggfest-exclamation-icon {
  background-image: url(/neggfest/y26/np/exclamation_blue.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transform-origin: bottom center;
  -ms-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-animation: neggfestHub-exclamation 3s infinite;
  animation: neggfestHub-exclamation 3s infinite;
  width: 15%;
  height: 0;
  padding-bottom: 30%;
  /*margin:-5% auto auto;*/
  /*margin:15% auto auto;*/
}

#container__2020 .neggfest-mainCharacter .neggfest-exclamation-icon {
  margin: 29% auto auto 46%;
}

#container__2020 .neggfest-character3 .neggfest-exclamation-icon {
  margin: -24% auto auto 41%;
}

#container__2020 .neggfest-button-NP {
  box-sizing: border-box;
  padding: 5px 20px;
  color: #fff;
  /*border-image-slice:80 60 78 60 fill;
    border-image-width:80px 60px 78px 60px;
    border-image-outset:0px 0px 0px 0px;
    border-image-repeat:stretch stretch;
    border-image-source:url(/neggfest/y23/np/button.png);*/
  border-image-slice: 38 34 38 34 fill;
  border-image-width: 38px 34px 38px 34px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url(/neggfest/y26/nc/button.png);
  text-shadow: -1px -1px 2px rgb(0 0 0 / 60%);
  font-family: "Cafeteria", "Arial Bold", sans-serif;
  letter-spacing: 0.5pt;
  margin: 10px auto;
  width: 90%;
  max-width: 250px;
  background-color: unset;
  font-size: 16pt;
  display: block;
  text-align: center;
}
#container__2020 .neggfest-button-NP:hover,
#container__2020 .neggfest-button-NP:focus,
#container__2020 a:focus > .neggfest-button-NP {
  -webkit-filter: brightness(1.2); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: brightness(1.2); /* FF 35+ */
}
#container__2020 #dipanddyeButtonSmall-link {
  display: none;
}

/* Tarot Game */
#container__2020 .neggfest-tarot-play {
  position: absolute;
  top: 1em;
  right: 1em;
  background: url(tarot-button.png) bottom left / 200% auto no-repeat;
  width: 60px;
  height: 55px;
}
#container__2020 .neggfest-tarot-play:hover {
  background-position: bottom right;
}

/* Quest Log */

#container__2020 .neggfest-questlog {
  width: 90%;
  margin: 20px auto;
}
#container__2020 .neggfest-questlog-tabs {
  width: 90%;
  margin: auto auto -10px;
  z-index: 1;
  position: relative;
  display: flex;
}
#container__2020 .neggfest-questlog-tab-text {
  margin: auto 10px;
  color: #fff;
  font-family: "Palanquin", "Arial Bold", sans-serif;
  font-size: 14pt;
  line-height: 14pt;
}
#container__2020 .neggfest-clues-tab,
#container__2020 .neggfest-quest-tab {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /*background: url(questlog-tab.png) center / 100% 100% no-repeat;*/
  border-image: url(questlog-tab.svg) calc(100% / 3) fill / 20px 50px / 0
    stretch;
  border-image-slice:36 40 20 50 fill;
    border-image-width:36px 40px 20px 50px;
    border-image-outset:0px 0px 0px 0px;
    border-image-repeat:stretch stretch;
    /*border-image-source:url(/neggfest/y25/np/questlog-tab.png);*/
  padding: 20px;
  -webkit-transform-origin: bottom center; /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
  -ms-transform-origin: bottom center; /* IE 9 */
  transform-origin: bottom center;
  transition: all 0.25s;
  perspective: 1px;
}
#container__2020 .neggfest-clues-icon,
#container__2020 .neggfest-quest-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  /*margin:auto 10px;*/
}

#container__2020 .neggfest-clues-icon {
  background-image: url(clue-icon.png);
}
#container__2020 .neggfest-quest-icon {
  background-image: url(quest-icon.png);
}
#container__2020 .neggfest-tab-disabled {
  -webkit-transform-origin: bottom center; /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
  -ms-transform-origin: bottom center; /* IE 9 */
  transform-origin: bottom center;
  transform: translateZ(0) scale(0.9);
  -webkit-filter: brightness(0.5); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: brightness(0.75);
  cursor: pointer;
}
#container__2020 .neggfest-questlog-body {
  z-index: 2;
  min-height: 200px;
  box-sizing: border-box;
  border-image-slice: 70 62 70 68 fill;
  border-image-width: 70px 62px 70px 68px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url(/neggfest/y26/np/questlog-body.svg);
  position: relative;
  padding: 30px;
}
/* Scene Section */
#container__2020 #neggfestQuestSection {
  padding: 10px;
  box-sizing: border-box;
}
#container__2020 #neggfestQuestSection section {
  display: grid;
  grid-template-columns: 160px auto;
  grid-gap: 10px;
  margin: 10px auto;
}
#container__2020 #neggfestQuestSection section h3 {
  margin: auto auto auto 0;
  font-family: "Palanquin", "Arial Bold", sans-serif;
  color: #362b09;
}
#container__2020 #neggfestQuestSection section .neggfest-questlog-charname {
  margin: 0 auto auto 0;
  font-family: "MuseoSansRounded700", "Arial", sans-serif;
  font-size: 12pt;
}
#container__2020 #neggfestQuestSection section p {
  font-family: "MuseoSansRounded500", "Arial", sans-serif;
  text-align: left;
  font-size: 11pt;
  margin: 0;
}
#container__2020 #neggfestQuestSection .questlog-button {
  max-width: 100px;
}

.questlogButtonDisabled {
  max-width: 100px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  cursor: auto;
}

/* Clue Log */
#container__2020 #neggfestCluesSection section {
  display: grid;
  grid-template-columns: 100px auto;
  grid-gap: 10px;
  background-color: #cbb174;
  border-radius: 10px;
  margin: 10px;
}
#container__2020 #neggfestCluesSection section p {
  text-align: left;
  font-family: "MuseoSansRounded500", "Arial", sans-serif;
  font-size: 11pt;
  display: flex;
  align-items: center;
  margin: 10px auto 10px 0;
}
#container__2020 #neggfestCluesSection .neggfest-clue-negg {
  width: 80px;
  height: 80px;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#container__2020 #neggfestCluesSection .neggfest-clue-status {
  width: 100%;
  height: 100%;
  background-size: auto 40%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
#container__2020 #neggfestCluesSection .neggfest-clue-missing,
#container__2020 #neggfestCluesSection .neggfest-clue-found-now,
#container__2020 #neggfestCluesSection .neggfest-clue-found-late {
  position: relative;
  margin: 10px auto;
}
#container__2020
  #neggfestCluesSection
  .neggfest-clue-missing
  .neggfest-clue-status {
  background-image: url(/neggfest/y23/np/negg-missing.svg);
}
#container__2020
  #neggfestCluesSection
  .neggfest-clue-found-late
  .neggfest-clue-status {
  background-image: url(/neggfest/y23/np/negg-found.svg);
}
#container__2020
  #neggfestCluesSection
  .neggfest-clue-found-now
  .neggfest-clue-status {
  background-image: url(/neggfest/y23/np/negg-found-gold.svg);
}
#container__2020
  #neggfestCluesSection
  .neggfest-clue-missing
  .neggfest-clue-negg {
  filter: brightness(0);
  opacity: 0.5;
}

/* Login Popup - NOT beta system */
.neggfest-popup-shade {
  position: fixed;
  width: 100%;
  min-height: 100%;
  height: auto;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
}

.neggfest-popup-login {
  position: relative;
  margin: auto;
  width: 90%;
  max-width: 480px;
  height: auto;
}

.neggfest-popup-title {
  text-align: center;
  font-size: 20pt;
  width: 90%;
  margin: 10px auto;
  display: block;
  font-family: "Cafeteria", "Arial Bold", sans-serif;
  letter-spacing: 0.5pt;
  color: #3c1a2a;
}

.neggfest-popup p {
  text-align: center;
  width: 90%;
  margin: 5px auto;
  font-family: "MuseoSansRounded500", "Arial", sans-serif;
  font-size: 11pt;
  color: #3c1a2a;
}

/* Popups */

.neggfest-popup {
  border-image-slice: 65 60 65 60 fill;
  border-image-width: 65px 60px 65px 60px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: stretch stretch;
  border-image-source: url(/neggfest/y26/np/popup-frame.png);
  padding: 17px;
  box-sizing: border-box;
  border-style: solid;
  box-shadow: none;
}

.neggfest-popup .popup-header__2020,
.neggfest-popup .popup-body__2020,
.neggfest-popup .popup-footer__2020 {
  background: unset;
  border: unset;
}

.neggfest-popup .popup-header__2020 h3 {
  color: #000;
}

.neggfest-popup-exit {
  width: 35px;
  height: 35px;
  position: absolute;
  right: -10px;
  top: -10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.neggfest-popup-exit-icon {
  background: url(/themes/h5/basic/images/x-icon.svg) center center no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin: 5px auto auto;
}

/* Prize Styling */

.neggfest-popup-prizes {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 480px;
  margin: auto;
	align-items: baseline;
}
.neggfest-popup-item {
  margin: 5px;
  width: 40%;
  max-width: 120px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 5px;
  box-sizing: border-box;
}
.neggfest-popup-item-img {
  margin: 10px auto;
}
.neggfest-popup-item-name {
  font-family: "MuseoSansRounded700", "Arial", sans-serif;
  font-size: 11pt;
}
/* #neggfestPrizePopup {
    xmargin-top: -400px !important;
} */

#neggfestPrizePopup .popup-header__2020 h3 {
  text-shadow: none;
}

#neggfestPrizePopup .popup-body__2020 a {
	color: blue;
}

.sceneH5_dialogueBox #sceneH5_dialogue, #neggfestCluesSection section p {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

#neggfestCluesSection section p {
  color: inherit;
  pointer-events: none;
  text-decoration: none;
}


/* Media Queries */
@media screen and (max-width: 800px) {
  #container__2020 .neggfest-bg {
    height: 0;
    padding-bottom: 75%;
  }
  #container__2020 .neggfest-bg .neggfest-dipanddye-sign {
    /* 431 x 584 */
    height: 0;
    width: 25%;
    padding-bottom: 28.1%;
    bottom: 15%;
    left: 0;
  }
  #container__2020 .neggfest-mainCharacter1,
  #container__2020 .neggfest-mainCharacter2,
  #container__2020 .neggfest-mainCharacter3 {
    height: 0;
    width: 40%;
    padding-bottom: 56.51%;
  }
  /*#container__2020 .neggfest-mainCharacter2 {*/ /* 548.5 x 600 */
  /*    height:0;
        width: 50%;
        padding-bottom:55%;
    }
    #container__2020 .neggfest-mainCharacter3 {*/ /* 551.5 x 600 */
  /*    height:0;
        width: 50%;
        padding-bottom:54%;
    }*/

  /* #container__2020 .neggfest-mainCharacter4 {
    /* 563.5 x 600 */
  /* height: 0;
    width: 50%;
    padding-bottom: 53%;
  }  */
  /* #container__2020 .neggfest-mainCharacter5 { */
  /* 709 x 720 */
  /* height: 0;
    width: 50%;
    padding-bottom: 51%;
  } */
  #container__2020 .neggfest-character2-1 {
    height: 0;
    /* width: 40%;
    padding-bottom: 53.97%; */
  }
  #container__2020 .neggfest-character2-2 {
    /* 409 x 600 */
    height: 0;
    width: 40%;
    padding-bottom: 53.97%;
  }
  #container__2020 .neggfest-character2-3 {
    /* 997 x 1110 */
    height: 0;
    width: 40%;
    padding-bottom: 53.97%;
  }
  #container__2020 .neggfest-character2-4 {
    /* 1350 x 779 */
    height: 0;
    width: 40%;
    padding-bottom: 53.97%;
  }
  #container__2020 .neggfest-y25-desk {
    /* 605 x 221 */
    height: 0;
    width: 80%;
    padding-bottom: 29.22%;
  }
}
@media screen and (max-width: 480px) {
  #container__2020 #dipanddyeButtonSmall-link {
    display: block;
  }

  #container__2020 #dipanddyeButtonLarge-link {
    display: none;
  }
  /*#container__2020 .neggfest-character2-1 {
        left:15%;
        bottom:10%;
    }
    #container__2020 .neggfest-character2-2 {
        left:15%;
        bottom:10%;
    }
    #container__2020 .neggfest-character2-3 {
        left:15%;
        bottom:10%;
    }
    #container__2020 .neggfest-character2-4 {
        left:15%;
        bottom:10%;
    }*/
  #container__2020 #neggfestCluesSection section {
    display: block;
    padding: 10px;
    box-sizing: border-box;
  }
  #container__2020 #neggfestQuestSection section {
    grid-template-columns: 100%;
  }

  div.neggfest-dipanddye-sign {
    bottom: 15%;
    right: 0%;
  }
  #container__2020 .neggfest-mainCharacter {
    width: 225px;
    height: 333px;
  }

  #container__2020 .neggfest-character3 {
    width: 137px;
    height: 159px;
  }
}
@media screen and (max-width: 480px) {
  #container__2020 .neggfest-clues-icon,
  #container__2020 .neggfest-quest-icon {
    width: 25px;
    height: 25px;
  }
  #container__2020 .neggfest-questlog-tab-text {
    font-size: 12pt;
    line-height: 12pt;
  }
  #container__2020 .neggfest-clues-tab,
  #container__2020 .neggfest-quest-tab {
    border-image-width: 22px 24px 12px 30px;
    padding: 15px;
  }
  #container__2020 .neggfest-questlog-body {
    border-image-width: 49px 43px 49px 48px;
    padding: 20px;
  }
}
@media screen and (max-width: 400px) {
  #container__2020 .neggfest-tarot-play {
    top: 50px;
  }
}

/* Animations */

@-webkit-keyframes neggfestHub-characterIdle {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.97);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes neggfestHub-characterIdle {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.97);
  }
  100% {
    transform: scaleY(1);
  }
}

@-webkit-keyframes neggfestHub-exclamation {
  0% {
    transform: scaleY(1);
  }
  30% {
    transform: scaleY(1);
  }
  40% {
    transform: scaleY(0.75);
  }
  50% {
    transform: translateY(-25px) scaleY(1.25);
  }
  75% {
    transform: translateY(0px) scaleY(0.9);
  }
  85% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes neggfestHub-exclamation {
  0% {
    transform: scaleY(1);
  }
  30% {
    transform: scaleY(1);
  }
  40% {
    transform: scaleY(0.75);
  }
  50% {
    transform: translateY(-25px) scaleY(1.25);
  }
  75% {
    transform: translateY(0px) scaleY(0.9);
  }
  85% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
  }
}
