html {
  padding-bottom: 200px;
  background-attachment: fixed;
}
body {
    background-color: transparent !important;
    background-size: cover;
    background-repeat: no-repeat;
}
.shoutbox {
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
  border-top-left-radius: 0px;
}

#visitor-home {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.shoutbox img {
  max-height: 120px;
  width: 120px;
  border-radius: 120px;
  border: solid 1px;
}
#game-home-logo img {
  width: 100px;
  border-radius: 120px;
}
.element-group.resources {
  margin-top: 20px;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}
.shoutbox .message.even {
  margin-left: 10px;
}

.battle .player-target-picture-container {
  float: left;
}
.battle .player-target-picture-container img {
  border-radius: 250px;
  width: 250px;
  max-height: 250px;
  height: 250px;
}

.battle .player-target-name {
  font-size: 25px;
}

.player-target-filter-picture img {
  border-radius: 50px;
  width: 50px;
  max-height: 50px;
}

.player-target-main-elements {
  margin-top: 70px;
  margin-left: 270px;
}
.battle .characteristic:first-child {
  margin-top: 15px;
}

.player-target-filter {
  text-align: left;
}

.filter-bonus-item {
  margin-left: 10px;
}

.btn-attack {
  clear: both;
}

.text-left {
  text-align: left;
}

.player-target-description {
  font-size: 13px;
  font-style: italic;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 20px;
}

.player-target-str-name {
  text-decoration: underline;
}

.btn-attack {
  margin-top: 25px;
}
.battle a {
  text-decoration: none;
}
.filter-main-description {
  font-style: italic;
  display: block;
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
}
.filter-main-name {
  font-size: 35px;
  position: relative;
  top: 5px;
  opacity: 0.6;
  left: 10px;
}
.shoutbox .message.even .avatar-right,
.shoutbox .message .avatar-left {
  display: block;
}
.shoutbox .message.even .avatar-left,
.shoutbox .message .avatar-right {
  display: none;
}

.shoutbox .message-content {
  background-color: #fff;
  opacity: 0.8;
  color: #000;
  border-radius: 15px;
  padding-top: 11px;
  padding-right: 10px;
}
.player-picture img {
  width: 250px;
  max-height: 250px;
  border-radius: 150px;
}
.battle-waiting {
  padding-top: 35px;
}

.player-profile {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
  .shoutbox .even .message-content {
    background-color: #ccc;
    color: #000;
  }
  .shoutbox a {
    color: #000 !important;
    text-decoration: none;
  }
.shoutbox .message-author {
  font-size: 17px;
  display: block;
  font-weight: bold;
}
#resources {
    margin-left: 100px;
    z-index: 99;
    padding-top: 15px;
}
#resources .resource:first-child {
  margin-left: 20px;
}
#resources .resource img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

#resources .resource {
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;        
    padding-bottom: 5px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 10px;
}
#resources .resource .resource-quantity {
    margin-left: 5px;
    margin-right: 5px;
}

.element-group-picture {
    display: block;
}
.element-group-picture img {
    width: 100%;
}
.element-group-menu-item {
    display: block;
    margin-right: 0px;
    height: 60px;
}

#sidenav a {
    text-decoration: none;
}
#sidenav {
  padding-left: 10px;
  padding-right: 70px;
  box-shadow: 0px 0px 5px black;
  z-index: 99;
    float: left;
    position: absolute;
    top: -20px;
    left: 0px;
    width: 65px;
    overflow-y: visible;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding-bottom: 40px;
}
#element-groups-list {
    position: relative;
    top: 60px;
    padding-left: 10px;
    left: 0px;
}

#sidenav-before .element-group-menu-item {
    opacity: 0;
}

#explain-choice {
  padding-left: 80px;
  font-size: 10px;
  text-align:left;
}

#battle-step-2 .player-target-str-name .player-full-name {
  padding-left: 80px;
  font-size: 14px;
}


#battle-step-2 input {
  font-size: 12px !important;
}

#battle-step-2 .player-target-str-name {
  padding-bottom: 0px;
}


#battle-step-2 .player-target-str-name.btn-attack-container {
  padding-bottom: 10px;
}


.results-container {
  position: relative;
}
.results-container h2 {
  margin-top: 10px;
  border-bottom: solid 1px #fff;
  text-align: center;
  width: 100%;
  font-size: 38px;
  opacity: 1;
}
.battle .earnings-title {
  padding-top: 10px;
  border-bottom: 0px !important;
}
.battle .battle-earnings .battle-earning:first-child {
  border-top: solid 1px #fff;
  padding-top: 10px;
}
.results-head {
  position: relative;
  min-height: 200px;
}
.results-head img {
  filter: grayscale(1); 
  opacity:0.6; 
  border-radius: 120px; 
  height: 200px;
  position: initial;
}
.results-head div {
  position: absolute;
  left: 0px;
  background-color: #000;
  opacity: 0.7;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  text-decoration-line: line-through;
  z-index: 1;
  top: 80px;
  font-size: 28px;
}
.earnings-title {
  margin-bottom: 5px; 
  border-bottom: solid 1px #fff; 
}
.details-title {
  border-top: solid 1px #fff;
  padding-top: 10px;
}
.battle-result {
  border-top: solid 1px #fff; 
  padding-bottom: 10px; 
  padding-top: 10px;
}
.attacker-picture img,
.defender-picture img {
  width: 100%;
  border-radius: 150px;
}
.attacker-details,
.defender-details  {
  font-size: 13px
}
.vs span {
  border: solid 1px #fff; 
  padding: 10px; 
  border-radius: 20px;
}

.element-group-menu-item img {
    filter: grayscale(100%);
}
.element-group-menu-item:hover img,
.element-group-menu-item.current img {
    filter: grayscale(0%);
    position: relative;
}
.element-group-menu-item .element-group-name {
    opacity: 0;
}


.element-group-menu-item img {
    border-radius: 150px;
    width: 42px;
}

#sidenav .element-group-menu-item.game-logo img {
    width: 60px;
    position:relative;
    top: -30px;
    left: -10px;
    filter: grayscale(0%);
}
.player-filter-description, .action-description {
  font-size: 14px;
  font-style: italic;
}
.bonus-list {
  font-size: 12px;
}
.earning-list .earning-item {
  margin-top: 5px;
}
.img-hover-show-name .hidden-name {
  display: none;
}
.img-hover-show-name:hover .hidden-name {
  display: inline-block;
  font-size: 12px;
  padding-right: 5px;
}
.characteristic img {
  width: 28px;
  height: 28px;
}
@media only screen and (min-width: 800px) {

.mobile, .mobile.d-inline {
  display: none !important;
}
  .game-logo {
    top: 70px;
    left: 10px;
  }
  #waiting-logo img {
    max-width: 100px;
    
}
  #battle-menu {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  #logged-container {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  #sidenav.p-fixed {
    width: 30% !important;
  }
  #sidenav .element-group-menu-item:hover .element-group-name {
    opacity: 1;
    min-width: 230px;
    left: 47px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 50px;
    /* padding-left: 30px; */
    box-shadow: 0px 0px 5px black;
    top: 5px;
    text-align: center;
    z-index:99;
  }
  #sidenav.p-fixed .element-group-menu-item:hover .element-group-name {
    text-align: left;
    left: 50px;
    padding-left: 20px;
  }

  #sidenav .element-group-menu-item.game-logo:hover .element-group-name
  {
    display: none;
  }

  #player-parameters,
  #battle-logs
  {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  #battle-logs {
    margin-top: 20px;
    padding-top: 50px;
  }
  #battle-step-1  {
    padding-top: 50px;
  }
  .attack-error {
    font-size: 20px;
  }
  .battle-earning {
    font-size: 14px;
  }
  #resources {
    float: left;
    
  }
.element-details.choosing {
  z-index: -1;
    position: relative;
    left: -534px;
    opacity: 0;
}
.clignote {
  animation-duration: 1.5s;
  animation-name: clignoter;
  animation-iteration-count: infinite;
  transition: none;
}


.choosing .element-picture img {
  width: 60%;
}
  #battle-step-2 .player-target-str-name {
    border-bottom: none !important;
  }
  .ranking {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  #battle-step-2 .player-target-str-name .player-full-name {
    border-bottom: solid 1px;
    width: 100%;
    display: block;
    font-size: 30px;
  }
  .player-target-str-name {
    text-decoration: none !important;
  }
  .max-button {
    margin-right: 10px;
  }
  #battle-step-2 .player-element-picture {
    padding-bottom: 80px !important;
    padding-top: 60px !important;
  }
  #battle-step-2 button {
    font-size: 15px;
  }
  #battle-step-2 input {
    font-size: 20px !important;
    padding-bottom: 5px;
    padding-top: 5px;
  }
  #battle-step-2 .player-element-description {
    margin-top: 15px;
    margin-bottom: 5px;
    font-style: italic;
    font-size: 15px;
  }
  #battle-step-2 .player-element-picture {
    margin-right: 30px;
  }
  #battle-step-3,
  #battle-step-2 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  #explain-choice {
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 50px;
  }
  .battle-earnings {
    float: right;
    width: 45%;
    border-top: solid 0px;
  }

  .battle-details {
    float: left;
    width: 45%;
    border-top: solid 0px;
  }
  .battle-details.noEarnings {
    float: none;
    width: initial;
  }
  .earnings-title, 
  .details-title {
    border-top: none !important;
  }
  .not-mobile {
    display: block;
  }

  .player-filter-description {
    padding-left:120px;
    position: relative;
    top: -25px;
  }

  .player-filtered .bonus-list {
    padding-left:120px;
  }

  
    #content {
        padding-left: 80px;
        clear: left;
        padding-top: 20px;
    }
   
    .element-preview {
        float: left;
    }
    .element-details {
        float: left;
    }
    .stats {
        padding-top: 100px;
    }
    .actions-container .stats {
      padding-top: 0px;
    }
    .element-group-menu-item:hover .element-group-name {
      position: relative;
      opacity: 100;
      left: 70px;
      top: -55px;
      text-align: left;
  }
  .player-main-title  {
    float: left;
    width: 30%;
  }
  .player-details {
    float: left;
    width: 70%;
  }

.profile-player-element-buy {
  margin-top:20px;
}
.player-profile hr {
  clear: both;
}
.profile-player-element-buy {
  margin-bottom: 20px;
}
#player-forms h3 {
  padding-bottom:10px;
  margin-bottom: 10px;
}
}
#game-home-logo {
  text-align: center;
  margin-bottom: 10px;
}
@media only screen and (max-width: 800px) {

  #attack-with-all {
    position: relative;
    top: -10px;
  }
  .shoutbox .message-author {
    font-size: 15px !important;
  }
  .element-group, #logged-container, .element-buy-form .form-text {
    font-size: 12px !important;
  }
  .element-buy-form .form-text {
    margin-top: 2px;
    position: relative;
    top: 5px;
  }
  #sidenav {
    position: fixed !important;
    top: -1px;
  }
  #sidenav.p-fixed {
    overflow-y: auto;
    height: calc(100% + 20px);
    border-radius: initial;
    padding-bottom: 100px;
    position: fixed !important;
    width: 85% !important;
  }
  
  #sidenav.p-fixed .game-logo .element-group-name {
    top: 31px !important;
  }
  #sidenav.p-fixed .game-logo img {
    top: -9px;
  }
  #sidenav.p-fixed #element-groups-list {
    padding-top: 50px !important;
  }
  #sidenav-top-block {
    width: 0px;
    height: 0px;

    transition: all 0.8s ease-out;
  }
  #sidenav.p-fixed #sidenav-top-block {
    width: 85%;
    height: 70px;
    position: fixed;
    z-index: 1;
    top: 0px;
    left: 0px;
    background-color: #fff;
    box-shadow: -80px 20px 25px #FFFFFF !important;
  }
  #sidenav.p-fixed .element-group-menu-item.game-logo {
    position: fixed !important;
    z-index: 1;
    display: block !important;
    width: 60%;
    top: 0px;
    left: 20px;
    padding-top: 28px !important;
  }
  #sidenav #show-full-menu {
    z-index: -1;
    left: 23px;
    right: initial;
  }
  
  #resources .resource {
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 5px !important;
    padding-top: 5px;
    padding-bottom: 5px !important;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 10px;
  }
  #resources {
    margin-left: 0px;
    display: initial;
    top: 0px;
    position: relative;
  }
  #margin-block {
    width: 60px;
    float: left;
    height: 70px;
  }
  #resources .resource:first-child {
    margin-left: 0px;
  }
  #resources .resource {
    display: inline-block;
  }
  #resources-container {
    min-height: 125px;
    margin-top: 25px;
    text-align: right;
    padding-right: 10px;
  }
  .attack-error {
    font-size: 12px;
  }
  #sidenav .element-group-menu-item {
    display :none;
  }
  
  #sidenav .element-group-menu-item.game-logo {
    top: 50px;
    left: 10px;
  }
  #sidenav .element-group-menu-item.game-logo,
  #sidenav.p-fixed .element-group-menu-item
   {
    display: block;
  }
  input {
    font-size: 15px !important;
  }
  .element-group .ambiance {
    font-size: 11px;
  }
.element-details.choosing {
  z-index: -1;
    opacity: 0;
}



.player-target-main-elements,
.player-target-picture-container,
.battle .player-target-name,
.player-target-picture-container {
  float: initial !important;
  display: block;
  clear: both;
}
.player-target-filter-picture {
  margin-right: 10px;
}
.battle .player-target-picture-container img {
  width: 200px;
  max-height: 200px;
}
.filter-bonus-list {
  width: 99%;
  clear: none;
}
.player-target-main-elements {
  margin-top: 0px;
}

.player-target-str-name {
  text-decoration: none;
}
.player-target-main-elements {
  margin-left: 0px;
}
  .filter-bonus-item {
    display: block;
    float: initial;
  }
  .filter-main-description {
    width: 100%;
  }
  .player-target-str-name {
    float: initial;
    display: block;
    text-align: center;
    clear:both;
  }
  .mobile {
    display: block;
  }
  .player-filter-description {
    margin-top: 10px;
  }
  #visitor-home {
    width: 90%;
  }
  #player-forms h3 {
    font-size: 12px;
  }
#player-forms,
#home-page-visitor {
  font-size: 12px;
}
 
  #game-home-logo img {
    width: 100px;
  }
  .player-profile hr {
    clear: both;
  }
  .not-mobile {
    display: none !important;
  }
  .element-group.resources {
    width: 90% !important;
  }
.profile-player-element-buy {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  display: block;
}
.profile-player-element-buy button {
  width: 100%;
}

  .player-profile
  .player-main-title  img {
    width: 320px !important;
  }

  .player-details {
    margin-top: 20px;
    font-size: 12px !important;
  }
  .shoutbox img {
    max-height: 80px;
    width: 80px;
    border-radius: 120px;
    border: solid 1px;
  }
  
  .shoutbox .message {
    margin-top: 5px !important;
    margin-bottom: 20px !important
  }
  .element-error {
    font-size: 12px;
  }
  .shoutbox {
    max-width: 100%;
    left: -20px;
  }
  .element-picture {
    display: block;
  }
  .element-picture img {
    min-height: 200px;
    max-height: 400px !important;
  }
  #show-full-menu {
    top: -44px !important;
  }
    .element-name {
      font-size: 15px !important;
      padding-top: 25px;
  }
  .element-description {
    opacity: 0.8;
    font-size:11px;
  }
    button.btn.btn-warning {
      font-size: 13px !important;
    }
    .carousel__prev, .carousel__next {
      margin: initial !important;
      top: 50px !important;
    }
  .carousel__slide  {
    display: initial !important;
  }
    html {
        background-size: initial !important;
    }
    

    .element-details {
      font-size: 11px;
      opacity: 0.8;
    }
}





  .element-picture {
    width: 250px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 250px;
    border-radius: 1440px;
    box-shadow: #000 1px 2px 25px;
    border: solid 1px #000;
  }
  #background-shadow{
    opacity: 0.7;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 65000px;
    z-index: -1;
    background-color: #000;
    left: 0px;
  }
 
.element-name {
    font-size: 30px;
}

  


  .bonuss .bonus-title,
.stats .stats-title {
  display: none;
}
.bonuss .bonus-title:first-child,
.stats .stats-title:first-child {
  border-bottom: solid 1px;
  display: block;
  margin-bottom: 5px;
}

.stats {
    text-align: left;
}

.costs .costs-title {
    display: none;
  }
  .costs .costs-title:first-child {
    display: block;
    border-bottom: solid 1px;
    text-align: left;
    margin-bottom: 5px;
  }

  .cost img, .earning img {
    width: 16px;
  }
  .earnings .earnings-title {
    display: none;
  }
  .earnings .earnings-title:first-child {
    display: block;
    text-align: left;
    border-bottom: solid 1px;
    margin-bottom: 5px;
  }


  .cost, .earning, .stat, .bonuss, .bonus {
    text-align: left;
  }



.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.container-fluid {
  padding-left: 10px;
  padding-right: 10px;
}


.text-opacity-0 {
  opacity: 0;
  text-align: center;
}

.spinner-absolute {
  position: absolute;
    left: 40%;
    top: 5px;
}

.p-relative {
  position: relative;
}


.element-error img {
  width: 16px;
  height: 16px;
}

.player-profile .player-details .player-elements img {
  width: 24px; 
  max-height: 24px;
  margin-left: 5px;
}
.player-profile .player-details .item-title,
.player-ranking-details {
  margin-top: 15px;
  margin-bottom: 5px;
  margin-right: 10px;
}

.player-profile .player-filter {
  font-size: 35px;
  display: block;
}
.player-profile .player-ranking,
.player-profile .player-name {
  font-size: 35px; 
  text-align:center;
}
.player-profile .player-picture img {
  width: 450px;
  max-height: 450px;
  max-width: 100%;
}
.player-profile .player-picture,
.player-profile .player-ranking-name {
  display: block;
  text-align:center;
}

.player-characteristic {
  font-size: 14px !important;
  margin-top: 20px;
}
.player-profile .player-characteristic-picture.player-filter-picture img,
.player-profile .player-filter-picture.player-ranking-picture img {
  width: 48px !important;
  max-height: 48px;
  margin-left:10px;
}
.player-profile .player-filter-picture img {
  width: 92px !important;
  max-height: 92px !important;
  margin-right: 20px;
  border-radius: 100px;
}

.player-ranking-name .player-ranking {
  margin-right: 10px;
  opacity: 0.5;
}

.player-ranking-name {
    margin-bottom: 30px;
}

.btn.btn-disabled {
  opacity: 0.4
}


.player-profile .player-details .player-elements .profile-player-element-buy img {
  width: 18px;
  max-height: 18px;
  position: relative;
  top: -1px;
}

.player-description {
  margin-bottom: 20px;
}


.ranking .ranking-picture img {
  width: 64px; 
  height: 64px;
  border-radius: 15px;
}

.element-group.resources .resource img {
  width: 24px;
  max-height: 24px;
}
.element-group.resources .resource {
  margin-bottom: 30px;
}
.element-group.resources .resource .resource-title {
  border-bottom: solid 1px #fff;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.logout {
  font-size: 36px;
  padding-left: 5px;
}


#content.non-logged {
  padding-left:0px;
  padding-top: 20px;
}

.non-logged #headbar {
  display: none;
}


#player-forms h3 {
  border-bottom: solid 1px #fff;
}


.player-element.player-filtered .bonus-list .bonus-item,
.player-element.player-filtered .bonus-list .earning-item
 {
  padding: 0;
}


#battle-step-2 #select-player-elements {
  display: block;
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#battle-step-2 .player-element-item {
  margin-bottom: 50px !important;
  clear: both;
}
#battle-step-2 .player-target-name {
  float: initial;
}

#battle-step-2 .player-element-picture img {
  border-radius: 50px;
  width: 150px;
  height: 230px;
}

@media only screen and (max-width: 800px) {
  #mobile-menu {
    z-index: 9;
    position: fixed;
    bottom: 0px;
    width: 100%;
  }
  #battle-step-2 #select-player-elements { 
    padding-left: 0px !important;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
  }
}

#battle-step-2 .player-element-picture {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  
  padding-bottom: 20px;
  padding-top: 20px;
  opacity: 0.9;
  text-align: center;
  border: solid 1px;
  border-radius: 20px;
}

.player-element-select-input:focus,
.player-element-select-input:hover
 {
  background-image: none !important;
  opacity: 1;
  text-indent: 0px !important;
}
.player-element-select-input.filled {
  opacity: 1;

}
#battle-step-2 .player-target-str-name {
  position: relative;
  text-align: left;
}
#battle-step-2 .player-target-str-name img {
  width: 90px;
  float: left;
  position: absolute;
  left: -16px;
    top: -12px;
  border-radius: 60px;
}

#battle-step-2 .player-target-str-name {
  font-size: 18px;
  font-size: 18px;
    margin-bottom: 30px;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}


.float-left {
  float: left;
}
.float-right {
  float: right;
}
.battle .player-target-str-name {
  margin-top: 30px;
  display: block;
  border-bottom: solid 1px #fff;
  text-align: center;
  padding-bottom: 10px;
  border-top: solid 1px #fff;
  padding-top: 10px;  
}

.battle-earning img {
  margin-left: 3px;
}
#no-attackable-player {
  text-align: center;
}
#no-attackable-player .no-attackable-picture {
  text-align: center;
  display: block;
}

.element-group .ambiance {
    flex-shrink: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    transform: translateZ(0);
}

.element-group .ambiance .alert {
  width: 80%;
}

.element-details,
.element-preview {
  position: relative;
  left: 0px;
  transition: all 1s ease-out;
}

@keyframes clignoter {
  0%   { opacity:1; }
  40%   {opacity:0; }
  100% { opacity:1; }
}


.carousel__slide {
  align-items: initial;
}

#player-parameters .modal {
  margin-top: 160px;
  z-index: 99999;
}
#player-parameters .player-picture {
  text-align: center;
}
#player-parameters .player-picture img {
  border-radius: 200px;
  width: 100px;
}

#backdrop {
  display: none;
  z-index: 10000;
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 500%;
  background: #000;
  opacity: 0.5;
}


.battle-log-result .battle-result {
  border-top: 0px;
}

.nav-link {
  color: var(--bs-white);
}


.text-left {
  text-align: left;
}


.battle-log .attacker-picture {
  width: 100%;
  max-height: 200px;
  border-radius: 200px;
}

.battle-log-result .attacker-damages,
.battle-log-result .defender-damages
{
  font-size: 13px !important;
}

.battle-log-result .vs {
  margin-left: 60px;
}
#sidenav {
  box-shadow: 0px 0px 5px black;
  transition: all linear 0.2s;
  /* width linear 0.2s, height linear 0.2s, position linear 0.2s, top linear 0.2s */
}
#sidenav.p-fixed {
  position: absolute;
  width: 75%;
  z-index: 99;
  float: none;
  
}
#sidenav.p-fixed #show-full-menu{ 
right: -110px;
left: initial;
}
#sidenav .element-group-menu-item .element-group-name {
  position: absolute;
  opacity: 0;
  top: 9px;
  left: 70px;
}
#sidenav .element-group-menu-item {
  position: relative;
  text-align: left;
}
#sidenav.p-fixed .element-group-name {
  position: absolute;
  opacity: 1 !important;
  top: 9px;
  left: 70px;
}
#sidenav .game-logo .element-group-name {
  top: -23px;
  font-size: 25px;
}
.game-logo {
  padding: 0px !important;
}

.element-buy-form .form-text {
  font-size: 13px;
  color: #fff;
}

.dead-page img {
  width: 50%;
  border-radius: 200px;
  filter: grayscale(1); 
}
.characteristic-name small {
  font-size: 11px;
  display: block;
}

.player-characteristic-picture {
  float: none !important;
}

.player-characteristic-picture.player-filter-picture img {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.element-group-menu-item.game-logo:hover img, .element-group-menu-item.game-logo.current img {
  padding: 0;
}

#show-full-menu {
  position: absolute;
  top: -34px;
  left: 23px;
  /* border-top: solid 1px; */
  border-right: solid 1px;
  /* border-bottom: solid 1px; */
  border-radius: 15px;
  padding-left: 10px;
  z-index: -1;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 10px;
  font-size: 20px;
  cursor:pointer;
}

#sidenav.p-relative #show-full-menu {
  right: -80px;
}

.shoutbox .message-content {
  font-size: 12px;
  padding-bottom: 11px;
}
  
.shoutbox .message-author {
  font-size: 20px;
  display: block;
  text-decoration: none;
  margin-bottom: 5px;
}

#waiting-logo img {
    width: 30%;
    opacity: 0.8;
    animation-duration: 1s;
    animation-name: clignoter;
    animation-iteration-count: infinite;
    border-radius: 250px;
}

.modal {
  z-index: 9999999999;
}

#resources a {
  text-decoration: none;
}

.close-modal {
  font-size: 30px;
  padding: 20px;
  position: absolute;
  z-index: 1;
  right: -24px;
  top: -30px;
}

.ambiance.modal {
  top: 25%;
  width: 94%;
  left: 3%;
  z-index: 1;
}
.ambiance.modal .modal-content {
  padding: 10px;
}

.zindex1 {
  z-index: 1 !important;
}


.element-group-picture .gi {
  font-size: 49px;
    position: relative;
    left: -26px;
    top: -3px;
}

.ml-3 {
  margin-left: 5px;
}

.stat-details {
  z-index: 1;
  position: absolute;
    top: 30px;
    left: 0px;
    font-size: 12px;
}

.autostarting .spinner-border {
  position: relative; top: 8px; margin-right: 5px;
}



@media only screen and (min-width: 800px) {
  #bottom-menu, #bottom-bg {
      display: none;
  }
  .player-profile {
    margin-top: 25px;
  }
}
@media only screen and (max-width: 800px) {

  #bottom-menu, #bottom-bg {
      text-align: center;
      position: fixed; 
      bottom: 0px; 
      left: 0px; 
      width: 100%;
      overflow-x: scroll;
      max-height: 90px;
      overflow-y: hidden;
      height: 90px;
      padding-top: 25px;
  }
  #bottom-bg {
      
      padding-top: 0px;
      height: 70px;
  }
  #bottom-menu .bottom-element-groups,
  #bottom-menu .menu-element-groups {
      position: relative;
      white-space: nowrap;
      height: 90px;
      width: auto;
  }
  #bottom-menu .bottom-picture img,
  #bottom-menu .menu-picture img{
      width: 60px;
      height: 60px;
      border-radius: 120px;
      filter: grayscale(100%);
  
  }
  #bottom-menu a {
      text-decoration: none;
  }
  #bottom-menu .bottom-element-group,
  #bottom-menu .menu-element-group {
      display: inline-block;
      min-width: 90px;
      height: 80px; 
      padding-left: 10px;
      padding-right: 10px;
      position: relative;
      top: -25px;
  }
  #bottom-menu .bottom-element-group-name,
  #bottom-menu .menu-element-group-name {
      font-size: 12px;
  }

  #bottom-menu .bottom-element-group.current .bottom-picture img,
  #bottom-menu .menu-element-group.current .menu-picture img {
      filter: grayscale(0%);

  }
}

.bottom-element-group, .element-group-menu-item {
  transition: opacity 1s;  
}
.opacity0 {
  opacity: 0;
}

.ambiance.modal.d-block {
  display: block !important;
}

.bottom-picture {
  font-size: 40px;
}

#battle-log-notif.visible {
  box-shadow: 3px 0px 5px black;
  top: 0px;
}
#battle-log-notif a {
  text-decoration: none;
}
#battle-log-notif {
  position: fixed;
  width: calc(100% - 80px);
  padding-top: 10px;
  padding-left: 20px;
  opacity: 0.8;
  z-index: 114;
  left: 80px;
  top: -80px;
  height: 80px;
  font-size: 15px;
  transition: top 0.5s ease 0s;
  
}

#battle-log-notif img {
  float: left;
  width: 60px;
  margin-right: 10px;
}



.btn-close-white, [data-bs-theme=dark] .btn-close {
  filter: initial;
  opacity: 1;
}

#home-page-visitor {
  border-bottom: solid 1px #fff;
  margin-bottom: 20px;
}

.modal.show {
  z-index: 99999 !important;
}

.trigger-modal img {
  width: 40%;
}
.trigger-modal .sentence-obtain {
  display: block;
}

.trigger-modal .earning img  {
  width: 16px;
}

.trigger-title {
  font-size: 20px;
  border-bottom: solid 1px #fff;
}

.goal-earned {
  background-color: #000;
  opacity: 0.4;
  text-decoration : line-through;
}

.trigger-modal .element-picture.element-main-picture {
  width: 150px;
  height: 150px;
}



.goal {
  padding: 5px;
}

.goal-description {
  padding-left: 20px;
  font-size: 13px;
}

.carousel__slide {
  align-items: stretch !important;
}

.battle-title {
  font-size: 20px;
  border-bottom: solid 1px; 
  padding-bottom: 10px;
}

img.ranking-quantity {
  width: 16px; 
  max-height: 16px;
  margin-right: 5px;
}



/* MAP */
#map-container {
  width: 100%; 
  overflow-x: visible; 
  top: 0px; 
  left:0px; 
  position: absolute;
}

#map-container .map-with-dots {
  width:824px; 
  height: 824px; 
  position: relative; 
  background-position: top left; 
  background-repeat: no-repeat; 
  background-size: contain
}

.map-dot {
    border-radius: 250px;
    width: 25px;
    height: 25px;
    border: solid 1px #fff;
    position: absolute;
    top: 50%;
    left: 45%;
    animation-duration: 1.5s;
    animation-name: clignoter;
    animation-iteration-count: infinite;
    box-shadow: 0px 10px 40px #fff, 0px -10px 40px #fff, -30px 0px 40px #fff, 30px 0px 40px #fff;
}
.map-dot-container {
  position: absolute;
}
.map-dot-title {
  position: absolute !important;
    top: 48px;
    left: 0px;
    z-index: 1;
    min-width: 150px;
}
.map-dot-title img {
  float:left;
  margin-right: 5px;
}
.map-trait {
  border: solid 1px;
  rotate: -50°;
  transform: rotate(-40deg);
  position: relative;
  top: -47px;
  width: 92px;
  left: 76px;

}
@media only screen and (min-width: 800px) {

#attack-with-all {
  position: relative;
  top: -65px;
}

  #map-container {
      width: 824px;
      margin-left: auto;
      margin-right: auto;
      position: inherit;
  }

  .carousel .element {
    justify-content: center;
    display: flex;
  }
}
@media only screen and (min-width: 800px) and (max-width: 1024px) {
  #map-container {
    width: 824px;
    margin-left: auto;
    margin-right: auto;
    position: inherit;
    max-width: 100%;
  }
}


#logged-container .element-group-filter {
  display: none;
}

#logged-container .element-group-filter:first-child {
  display: block;
}


#attack-with-all {
  float: right;  
}

.clic-on {
  font-size: 40px;
    transform: rotate(30deg);
    float: right;
    top: 80px;
    position: absolute;
    z-index: 20;
    box-shadow: -1px 15px 40px white;
    text-shadow: 10px 10px 20px white;
}

.equipments {
  display: flex;
  align-items: center;
  justify-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 30%;
  position: relative;
  padding-bottom: 200px;
  background-attachment: fixed;
}
.equipments .player-picture {
  position: relative;
  min-height: 500px;
}



/* .equipment-stat {
  transition: opacity 1.5s ease-out;
}
.spinner-loading-stat {
  opacity: 0;
} */

.stats-details {
  position: relative;
  transition: left 0.5s ease-out;
  left: 0px;

}

#selecting-item-container .element-picture.element-main-picture {
    max-width: 50%;
}


#selecting-item-container {
  position: absolute; 
  z-index: 2;
  margin-top: 80px;

}

.equipments.equiping {
  opacity: 0.5;
}

.menu-picture .gi {
  font-size: 35px;
    border: solid 1px;
    border-radius: 150px;
    padding-right: 53px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 2px;
    text-align: center;
}

.slots-left, .slots-right {
  padding-top: 25px;
  padding-bottom: 25px;
  margin-top: 50px;
}

.player-stats {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.equipment-stats .spinner-border {
  position: absolute;
  top: 25%;
  left: 45%;
}

#equipment-button {
  
}

.stats-details .stat {
  width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.equiped {
  transition: opacity 0.5s ease-out; 
}


.equipment-slot {
  opacity: 0.3;
}
.equipment-slot.equiped {
  opacity: 1;
}

.equipments h5 {
  border-bottom: solid 1px;
  padding-bottom: 15px;
  font-size: 15px;
  opacity: 0.7;
}


.equipment-filter-picture {
  margin-bottom: 25px;
  border-radius: 150px;
  max-width: 40%;
  float: left;
  position:relative;
  z-index: 1;
  margin-right: 25px;
  top: -20px;
  left: -5px;
}


@media only screen and (min-width: 800px) and (max-width: 1025px) {
  #content {
    padding-left: 0px !important;
  }
}

#equipment-viewer .carousel__icon {
  display: none;
}

#equipment-viewer .modal-content {
  padding: 25px; 
  padding-top: 0px;
  margin-top: 100px; 
}

.percent-jauge {
  background-color: #000; 
  width: 100%; 
  height: 30px; 
  position:relative;
}

.percent-jauge .percent-pas {
  background-color:#40a96a; 
  position: absolute; top:0px; 
  left:0px;
  height: 100%;overflow-x: hidden;overflow-y: hidden;
}
.percent-jauge .percent-pas.less-than-60 {
  background-color:#ffc107; 
  position: absolute; top:0px; 
  left:0px;
  height: 100%;overflow-x: hidden;overflow-y: hidden;
}
.percent-jauge .percent-pas.less-than-10 {
  background-color:#dc3545; 
  position: absolute; top:0px; 
  left:0px;
  height: 100%;overflow-x: hidden;overflow-y: hidden;
}

.percent-jauge .percent-pas .percent-text {
  padding-left: 10px; padding-top: 5px;
}

.actions .costs-list,
.actions .costs-list .costs,
.actions .earnings-list,
.actions .earnings-list .earnings {
  margin-top: 0px !important;
}

.mr-3 {
  margin-right: 5px;
}


.action-button {
  display: inline-block;
  padding: 5px;
  min-width: 100px;
  text-align: center;
  border: solid 1px #fff;
  margin-left: 5px; margin-right: 5px;
}


.actions-module-picture img {
  border-radius: 200px;
}

.pd-3 {
  padding-bottom: 10px;
}
.pt-3 {
  padding-bottom: 10px;
}

.map-dot-container:hover {
  opacity: 1!important;
}

.max-width-80 {
  max-width: 80%;
}