* {
  box-sizing: border-box;
}

/*body {
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;  
  font-family: 'Playfair Display', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
}*/

.anciensjoueurs {
  overflow: hidden;
  cursor: grab;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 400px;
  
  &.is-dragging {
    cursor: grabbing;
  }
  
 .anciensjoueurs--wrapper {
    counter-reset: count;
    display: flex;
    /*position: absolute;*/
    z-index: 1;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
  }
  
 .anciensjoueurs--item {
    counter-increment: count;
    /*position: absolute;*/
    z-index: 1;
    top: 0;
    left: 0;
    width: 404px;
    height: 100%;
    /*padding: 0 1.5vw;*/
    overflow: hidden;
    
    @media (max-width: 767px) {
      width: 40vw;
      height: 40vw;
	  overflow: inherit;
    }
    
    /**&:nth-child(n+10):before {
      content: counter(count);
    }*/
    
    figure {
      position: absolute;
      z-index: 1;
      display: block;
      user-select: none;
      -webkit-appearance: none;
      padding: 0;
      border: none;
      outline: none;
      box-shadow: none;
      cursor: pointer;
      width: 100%;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
      transform-origin: center;
      
      img {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        vertical-align: middle;
        transform-origin: center;
      }
    
      &:before {
        position: absolute;
        z-index: 2;
        bottom: 1vw;
        left: 1vw;
        display: inline-block;
        content: "0" counter(count);
        color: #ffffff;
        font-size: 3vw;
      }
    }
  }
}

.joueurs-item {
  background: #fff;
  padding: 1rem;
  border-top: 3px solid rgba(255,0,0,1);
   -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.text-center {
	text-align: center !important;
}
.joueurs-content p, .joueurs-content h3 {
  margin-top: 24px;
  margin-bottom: 24px;
}
.joueurs-score img {
 /* max-width: 4.5rem;*/
  margin-left: var(--spacing-sm);
  margin-right: var(--spacing-sm);
}
@media (min-width: 1600px) {
 .joueurs-score .score {
    margin: 0px 20px;
    font-size: 36px;
  }
}
.joueurs-score .score .highlight {
  background: none;
  color: rgba(255,0,0,100);
}
.joueurs-actions {
  margin-top: 24px;
}
.btn.btn-outline-primary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.team-logo-img {
  width: 56px;
  height: 56px;
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  position: relative;
  left: 26px;
  top: 30.8rem;
  text-align: center;
}
