:root {
  /* recalculated px>vh based on 768px screen height #TBD-layout is off */
  --shopPack-baseWidth: 203px; /* 26.5vh; */
  /*--shopPack-baseHeight:590px;*/
  /*--shopPack-baseHeightPicture:590px;*/

  --shopPack-baseHeight: 275px; /*  35.5vh; (old-275px;)*/
  --shopPack-baseHeightPicture: 275px; /*  35.5vh;*/

  --shopPack-leftDecalTitle: 240px; /* 31vh; */
  --shopPack-topDecalTitle: 8vh;
  --shopPack-topDecalDescription: 16vh;

  --shopText-background1: #25679d;
  --shopText-textColor2: #25679d;
  --shopText-background2: #25679d;
  --shopText-notation2: #ccf0fc;
}

.shopBackground {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 95%;
  top: 5%;
  left: 0px;
  max-width: 100%;
  overflow: hidden;
  opacity: 1;
  /*border-top:1px solid cyan;*/
  border-bottom: 1px solid cyan;
  /*background-image:url(graphics/shop/element_fond_vide.png);
			background-repeat: round;*/
  transition: all 1.5s;
  transform: scale(0);
}
.shopBackground {
  opacity: 1;
}
.shopBackgroundPicture {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-image: url(../screen_shop/element_fond_vide.png);
  background-repeat: round;
}
.shopBackground.solid {
  opacity: 1;
}
.shopBackground.animate {
  transform: scale(1);
  /* height: 99%;
  width: 98%;
  top: 0; */
}
.shopBackground.animateClose {
  transform: scale(0);
}

.shopActiveZone {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  max-width: 100%;
  overflow: hidden;
  background: url(../screen_shop/element_fond_vide.png) center center no-repeat;
  background-image: url(../screen_shop/element_fond_vide.png);
  background-repeat: round;
}
.shopCloseBlock {
  position: absolute;
  right: -5px;
  top: 0px;
  z-index: 100;
  opacity: 1;
  content: url(../screen_shop/element_boutonClose.png);
}
.shopCloseBlock:hover {
  content: url(../screen_shop/element_boutonClose_hover.png);
}

.shopMessage {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  z-index: 1000;
  /*top: 30%;
		    left: 55%;*/
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-family: "Electrolize";
  font-size: 20pt;
  pointer-events: none;
}

.shopTitleContainer {
  position: absolute;
  top: 10%;
  z-index: 100;
  width: 89%;
  left: 40%;
}
.shopLeft {
  position: absolute;
  left: 5%;
  width: 15%;
  content: url(../screen_shop/element_boutonFlecheGauche.png);
}
.shopLeft:hover {
  opacity: 1;
}
.shopRight {
  position: absolute;
  right: 3%;
  width: 15%;
  content: url(../screen_shop/element_boutonFlecheDroite.png);
}
.shopRight:hover {
  opacity: 1;
}
.shopTitle {
  position: absolute;
  left: 50%;
  width: 80%;
  margin: -7% 0 0 0%;
}
.shopTitleButtonContainer {
  position: absolute;
  left: 50%;
  width: 80%;
  margin: 20% 0 0 0%;
}
.shopInteractiveButtonSubtitle {
  position: absolute;
  top: -webkit-calc(40%);
  top: -moz-calc(40%);
  top: calc(40%);
  left: 25%;
  width: 55%;
  height: 6vh;
}

.shopCartContainer {
  position: absolute;
  top: 20%;
  z-index: 100;
  right: -26%;
  width: 61%;
}
.shopCartContinue {
  position: absolute;
  right: 3%;
  top: 40%;
  z-index: 600;
  width: 107px;
  height: 37px;
  content: url(../screen_shop/element_boutonContinue.png);
}
.shopCartContinue:hover {
  content: url(../screen_shop/element_boutonContinue_hover.png);
}

.shopCart {
  position: absolute;
  right: 30%;
  width: 20%;
  content: url(../screen_shop/element_boutonShop.png);
  display: none;
}
.shopCartText {
  position: absolute;
  right: 50%;
  font-family: "Electrolize";
  font-size: 14pt;
  text-align: right;
}

.packsFullContainer {
  position: absolute;
  opacity: 1;
  z-index: 100;
  top: 17%;
  height: 54%;
  left: 2%;
  width: 107%;
  outline: none;
  border: 0;
}
.packsOrderFlex {
  display: flex;
  flex-direction: row;
  border: 0;
}
.packsSlot1 {
  position: absolute;
  opacity: 1;
  width: var(--shopPack-baseWidth);
  height: var(--shopPack-baseHeight);
  outline: none;
  order: 1;
  border: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  -webkit-backface-visibility: hidden;
  border: 0;
}
.packsSlot2 {
  position: absolute;
  opacity: 1;
  width: var(--shopPack-baseWidth);
  height: var(--shopPack-baseHeight);
  border: none;
  -webkit-backface-visibility: hidden;
  outline: none;
  order: 2;
  border: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  -webkit-backface-visibility: hidden;
  border: 0;
}
.packsSlot3 {
  position: absolute;
  opacity: 1;
  width: var(--shopPack-baseWidth);
  height: var(--shopPack-baseHeight);
  border: none;
  -webkit-backface-visibility: hidden;
  outline: none;
  order: 3;
  border: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  -webkit-backface-visibility: hidden;
  border: 0;
}
.packPicture {
  border: none;
  outline: none;
  -webkit-backface-visibility: hidden;
  width: var(--shopPack-baseWidth);
  height: var(--shopPack-baseHeightPicture);
  /*content:url(graphics/shop/pack_empty.png);*/
  border: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: none;
  -webkit-backface-visibility: hidden;
  border: 0;
  z-index: 800;
}

/* old version of pack description #TODO delete later maybe  */
.packsSlotTitle {
  position: absolute;
  top: -3%;
  left: 4%;
  width: -webkit-calc(100% - var(--shopPack-leftDecalTitle));
  width: -moz-calc(100% - var(--shopPack-leftDecalTitle));
  width: calc(100% - var(--shopPack-leftDecalTitle));
  height: 4vh;
  font-family: "Electrolize";
  font-size: 7vmin; /* 2.8vh; */
  font-weight: bold;
  white-space: nowrap;
}
.packsSlotDescription {
  position: absolute;
  left: var(--shopPack-leftDecalTitle);
  top: var(--shopPack-topDecalDescription);
  width: -webkit-calc(100% - var(--shopPack-leftDecalTitle));
  width: -moz-calc(100% - var(--shopPack-leftDecalTitle));
  width: calc(100% - var(--shopPack-leftDecalTitle));
  height: -webkit-calc(100% - var(--shopPack-leftDecalTitle));
  height: -moz-calc(100% - var(--shopPack-leftDecalTitle));
  height: calc(100% - var(--shopPack-leftDecalTitle));
  font-family: "Electrolize";
  font-size: 4vmin; /* 1.6vh */
  font-weight: normal;
}
.packsSlotMoreInfo {
  position: absolute;
  left: var(--shopPack-leftDecalTitle);
  /* changed left margin to line up with rest of the description #TBD */
  left: 37%;
  bottom: var(--shopPack-bottomDecalMoreInfo);
  width: -webkit-calc(66% - var(--shopPack-leftDecalTitle));
  width: -moz-calc(66% - var(--shopPack-leftDecalTitle));
  width: calc(66% - var(--shopPack-leftDecalTitle));
  height: 4vh;
  font-family: "Electrolize";
  font-size: 7.5vmin; /*3vh;*/
  font-weight: bold;
}
.packsSlotAddThis {
  position: absolute;
  /* changed left margin to line up with rest of the description #TBD */
  left: 66%;
  bottom: var(--shopPack-bottomDecalMoreInfo);
  width: 33%;
  height: 4vh;
  font-family: "Electrolize";
  font-size: 3vh;
  font-weight: bold;
}

/* --- new version of pack description with 4 sub classes --- */

/* main container */
.shop-pack-description-container {
  position: relative;
  top: 87%;
  left: 0%;
  width: 90%;
  height: 59%;
}
/* sub classes  */
.shop-intro-description {
  position: absolute;
  top: 9.5%;
  width: 100%;
  font-size: 3vmin;
  text-shadow: 2px 1px 4px #000;

  /*position: absolute;
  top: 10%;
  left: 5%;
  font-size: 1.6vh;
  text-shadow: 2px 1px 4px #000;*/
  /*font-family:'Cascadia';*/
}
.shop-pack-description {
  position: absolute;
  top: 18%;
  width: 100%;
  border-right: 1.1vh inset rgb(52, 52, 195);
  background-color: aliceblue;
  color: rgb(0, 0, 139);
  font-size: 2vh;
  padding: 0.2vh 0.3vh;
}
.shop-role-description {
  position: absolute;
  top: 52%;
  width: 100%;
  border: 0.3vh solid #89b1ba;
  border-right: 1.1vh inset #89b1ba;
  color: #abdeea;
  font-size: 1.8vh;
  padding: 0.2vh 0.3vh;
  line-height: 1.5;
}
.shop-alert-description {
  position: absolute;
  top: 87%;
  font-weight: bold;
  font-size: 1.8vh;
  color: orange;
}

.shop-pack-description-list {
  position: absolute;
  top: 22%;
  width: 100%;
  /*  top: 18%;
  left: 5%;
  width: 90%;
  height: 40%;*/
}

.shop-pack-description-buttons {
  position: absolute;
  bottom: 10%;
  left: 40%;
  width: 10%;
  height: 10%;
}

.shop-pack-text-tag {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 20%;
  height: 10%;
}

.shop-pack-description2 {
  border-right: 2.7vmin inset var(--shopText-notation2);
  border-top: 1px inset var(--shopText-notation2);
  border-bottom: 1px inset var(--shopText-notation2);
  background-color: var(--shopText-background2);
  color: var(--shopText-textColor2);
  font-size: 2.5vmin;
  font-family: "Electrolize";
  padding: 0.8vh 0.5vh;
}

/* new styles fot shop interactive buttons all versions */
/* cyan style */
.shop-interactive-button-slot-cyan {
  width: 14vw;
  height: 6vh;
  background: url(../screen_shop/cyan_button_short.png) center center/ contain no-repeat;
  color: #1c1b1b;
  font-size: 1.5vh;
  transition: color 0.3s, font-size 0.3s, background 0.5s;
  text-align: center;
}
.shop-interactive-button-slot-cyan:hover {
  background: url(../screen_shop/cyan_button_short_overWhite.png) center center/ contain no-repeat;
  color: rgb(25, 59, 110);
  font-size: 1.6vh;
}
.shop-interactive-button-slot-red {
  width: 14vw;
  height: 6vh;
  background: url(../screen_shop/red_button_short.png) center center/ contain no-repeat;
  color: #1c1b1b;
  font-size: 1.5vh;
  transition: color 0.3s, font-size 0.3s, background 0.5s;
  text-align: center;
}
.shop-interactive-button-slot-red:hover {
  background: url(../screen_shop/cyan_button_short_overWhite.png) center center/ contain no-repeat;
  color: rgb(25, 59, 110);
  font-size: 1.6vh;
}

/* sci-fi style */
.shop-interactive-button-slot-scifi {
  width: 24vw;
  height: 6vh;
  background: url(../ui_welcome/SCUI_longButton_cyan.png) center center/ contain no-repeat;
  transition: color 0.3s;
  font-size: 1.5vh;
  text-align: center;
  color: white;
}
.shop-interactive-button-slot-scifi:hover {
  color: yellow;
}

.shop-interactive-button-slot-scifi-xsmall {
  width: 5vw;
  height: 7.5vh;
  background: url(../ui_welcome/SCUI_longButton_cyan.png) center center/ contain no-repeat;
  background-size:5vw 7.5vh;
  transition: color 0.3s;
  font-size: 2vh;
  text-align: center;
  color: white;
}

.shop-interactive-button-slot-scifi-xsmall-mob {
  width: 5vmax;
  height: 15vmin;
  background: url(../ui_welcome/SCUI_longButton_cyan.png) center center/ contain no-repeat;
  background-size:5vw 7.5vh;
  transition: color 0.3s;
  font-size: 4vmin;
  text-align: center;
  color: white;
}
.shop-interactive-button-slot-scifi-xsmall:hover {
  color: yellow;
}
.shop-interactive-button-slot-scifi-large {
  width: 45vw;
  height: 6.5vh;
  background: url(../ui_welcome/SCUI_longButton_cyan.png) center center/ contain no-repeat;
  transition: color 0.3s;
  font-size: 2vh;
  text-align: center;
  color: white;
}
.shop-interactive-button-slot-scifi-large:hover {
  color: yellow;
}

/* shop actions addPack container */
.shop-actions-add-pack-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 5%;
  left: 17%;
  width: 65%; /* width of this container is how far arrows from each other  */
  z-index: 101;
}
/* additional styling for centering text inside button */
.add-this-pack-btn-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* arrows */
.shop-actions-move-previous,
.shop-actions-move-next {
  width: 6%;
  height: 20%;
  font-size: 4.5vh;
  color: #777777;
  transition: color 0.3s;
}
.shop-actions-move-previous {
  /* transform: scaleX(-1); */ /*  scaleX(-1) reflects the element over a vertical line that runs through its center */
  transform: rotateY(180deg); /* rotateY(180deg) rotates the element around a vertical line that runs through its center */
}
.shop-actions-move-previous:hover,
.shop-actions-move-next:hover {
  color: cyan;
}

/* version 1 blue shop button */
.shop-interactive-button-slot-position1 {
  position: absolute;
  top: 45.5%;
  right: 1%;
}
.shop-interactive-button-slot-position2 {
  position: absolute;
  top: 50.5%;
  right: 1%;
}
.shop-interactive-button-slot-position3 {
  position: absolute;
  top: 55.5%;
  right: 1%;
}
.shop-interactive-button-slot-position4 {
  position: absolute;
  top: -webkit-calc(50% + 23vh);
  top: -moz-calc(50% + 23vh);
  top: calc(50% + 23vh);
  right: 7vh;
}

.shop-interactive-button-slot-position5 {
  position: absolute;
  top: -webkit-calc(50% + 30vh);
  top: -moz-calc(50% + 30vh);
  top: calc(50% + 30vh);
  right: 7vh;
}

.shop-interactive-button-slot-position6 {
  position: absolute;
  top: -webkit-calc(50% + 37vh);
  top: -moz-calc(50% + 37vh);
  top: calc(50% + 37vh);
  right: 7vh;
}
/* version 2 welcome page menu button */
/*
.shop-interactive-button-slot2 {
  position: absolute;
  top: -webkit-calc(50% + 8vh);
  top: -moz-calc(50% + 8vh);
  top: calc(50% + 8vh);
  right: 4vw;
  width: 14vw;
  height: 6vh;
  background: url(../ui_welcome/SCUI_longButton_cyan.png) center center/ contain no-repeat;

  transition: color 0.3s;
}
.shop-interactive-button-slot2:hover {
  color: yellow;
}
*/

.shopInteractiveButtonsContainerNavigation {
  position: absolute;
  top: 50%;
  right: 2vw;
  width: 8vw;
  height: 3vh;
}
.shopInteractiveButtonsContainerModes {
  position: absolute;
  top: 50%;
  right: 2vw;
  width: 8vw;
  height: 3vh;
}
.shopInteractiveButtonSlot1 {
  position: absolute;
  top: -webkit-calc(50% + 2vh);
  top: -moz-calc(50% + 2vh);
  top: calc(50% + 2vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonSlot2 {
  position: absolute;
  top: -webkit-calc(50% + 8vh);
  top: -moz-calc(50% + 8vh);
  top: calc(50% + 8vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonSlot3 {
  position: absolute;
  top: -webkit-calc(50% + 14vh);
  top: -moz-calc(50% + 14vh);
  top: calc(50% + 14vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonSlot4 {
  position: absolute;
  top: -webkit-calc(50% + 20vh);
  top: -moz-calc(50% + 20vh);
  top: calc(50% + 20vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonSlot5 {
  position: absolute;
  top: -webkit-calc(50% + 26vh);
  top: -moz-calc(50% + 26vh);
  top: calc(50% + 26vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonSlot6 {
  position: absolute;
  top: -webkit-calc(50% + 32vh);
  top: -moz-calc(50% + 32vh);
  top: calc(50% + 32vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}
.shopInteractiveButtonUnlock {
  position: absolute;
  top: -webkit-calc(50% - 8vh);
  top: -moz-calc(50% - 8vh);
  top: calc(50% - 8vh);
  right: 2vw;
  width: 25vw;
  height: 6vh;
}

.shopInteractiveButtonContainerInline {
  position: absolute;
  width: 60%;
  height: 3vh;
  border: 2px solid cyan;
  border-radius: 5%;
  color: cyan;
  font-size: 1.4vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
  pointer-events: auto;
}
.shopInteractiveButtonContainerInline:hover {
  color: black;
  background-color: cyan;
  font-weight: bold;
}

.shopInteractiveButtonContainer {
  position: absolute;
  width: 80%;
  height: 100%;
  border: 2px solid cyan;
  border-radius: 5%;
  color: cyan;
  font-size: 1.4vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
  pointer-events: auto;
}
.shopInteractiveButtonContainer:hover {
  color: black;
  background-color: cyan;
  font-weight: bold;
}
.shopInteractiveButtonActivated:hover {
  color: black;
  background-color: cyan;
  font-weight: bold;
}

.shopInteractiveButtonContainerImportant {
  position: absolute;
  width: 80%;
  height: 100%;
  border: 2px solid lime;
  border-radius: 5%;
  color: lime;
  font-size: 1.4vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
  pointer-events: auto;
}
.shopInteractiveButtonContainerImportant:hover {
  color: black;
  background-color: lime;
  font-weight: bold;
}
.shopInteractiveButtonContainerShort {
  position: absolute;
  width: 48%;
  height: 60%;
  border: 2px solid cyan;
  border-radius: 5%;
  color: cyan;
  font-size: 1.2vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
  pointer-events: auto;
}
.shopInteractiveButtonTextShort {
  font-size: 1vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
}
.shopInteractiveButtonCentered {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.shopInteractiveButtonText {
  font-size: 1.4vh;
  font-weight: normal;
  font-family: "Electrolize";
  text-align: "center";
}

.shopPackPictureClicker {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 50%;
  z-index: 350;
}
.shop-price-visual-rectangle {
  position: absolute;
  top: 100%;
  left: 11%;
  padding: 2% 8%;
  background-color: #244888;
  border-radius: 3px;
  font-size: 1.5vh;
  color: yellow;
  text-align: center;
}

.shopCartAlarm {
  position: absolute;
  right: 30%;
  font-family: "Electrolize";
  color: yellow;
  font-size: 14pt;
  text-align: center;
}
.packsAdd {
  position: absolute;
  left: 96px;
  top: calc(var(--shopPack-baseHeight) - 30px);
  width: 25px;
  z-index: 300;
  content: url(../screen_shop/element_boutonPlus.png);
}
.packsAdd.deactivated {
  opacity: 0.3;
  pointer-events: none;
}
.packsRemove {
  position: absolute;
  left: 36px;
  top: calc(var(--shopPack-baseHeight) - 30px); /* 474px */
  width: 25px;
  z-index: 300;
  content: url(../screen_shop/element_boutonMoins.png);
}
.packsPrice {
  position: absolute;
  left: 46px;
  top: 53px;
  font-family: "Electrolize";
  font-size: 13pt;
  text-shadow: 2px 2px 3px black, 4px 4px 4px black, 6px 6px 5px black, 8px 8px 6px black;
  text-align: left;
  z-index: 300;
  font-weight: bold;
}

.textPriceNormal {
  color: white;
  text-shadow: 1px 1px black;
}
.textQuantity {
  color: white;
}
.textPriceFull {
  color: #aaa;
  text-decoration: line-through;
  text-shadow: 1px 1px black;
  font-size: 14pt;
}
.textPriceNbLeft {
  color: #aaa;
  text-shadow: 1px 1px black;
  font-size: 12pt;
}
.textPriceFullIntro {
  color: #888;
  font-size: 10pt;
}
.packsQuantity {
  position: absolute;
  left: 76px;
  top: 248px;
  font-family: "Electrolize";
  font-size: 13pt;
  text-align: center;
  text-shadow: 1px 1px black;
  z-index: 299;
}
.packsQuantityInput {
  position: absolute;
  left: 76px;
  top: 268px;
  font-family: "Electrolize";
  font-size: 12pt;
  text-align: center;
  text-shadow: 1px 1px black;
  z-index: 299;
  width: 125px;
}

/* ----------------------------------- */
/*       MEDIA QUERIES */
/* ----------------------------------- */

@media screen and (max-width: 416px) {
  .shop-pack-description-list {
    margin-top: 10%;
  }

  .packsSlot1 {
    /* transform: scale(0.9); */
  }
}
@media screen and (max-width: 320px) {
  .shopTitleContainer {
    width: 79%;
    left: 37%;
  }
  .packsFullContainer {
    left: 0%;
  }
  .packsSlot1 {
    transform: scale(0.8) translateX(-36px);
  }

  .shop-interactive-button-slot-position1 {
    top: 51.5%;
  }
  .shop-interactive-button-slot-position2 {
    top: 54.5%;
  }
  .shop-interactive-button-slot-position3 {
    top: 57.5%;
  }

  .shopCartContinue {
    right: 0%;
    top: 47%;
    width: 94px;
    height: 30px;
  }
}

/* screen height adjustments */
@media screen and (max-height: 599px) {
  .shopCloseBlock {
    transform: scale(0.7);
    top: -4%;
    right: -7%;

    &:hover {
      transform: scale(0.7);
      top: -4%;
      right: -8%;
    }
  }

  .packsSlot1 {
    transform: scale(0.7) translate(-53px, -60px);
  }

  .shopCartText {
    line-height: 0.8;
  }

  .shopCartText-moreInfo {
    margin-top: 13px;
    margin-left: -25px;
    font-size: 3vh;
  }

  .shopCartContinue {
    top: 45%;
  }
}

@media screen and (max-height: 470px) {
  .packsSlot1 {
    transform: scale(0.6) translate(-75px, -82px);
  }

  .shopCloseBlock {
    top: -5%;
    right: -8%;
    &:hover {
      top: -5%;
      right: -8%;
    }
  }
}
