/* cards wrapper and close btn */

.profiles-wrapper {
  overflow: auto;
}

/* CARD */
.card {
  position: relative;
  width: 100%;
  height: 300px;
  margin: auto;
  padding-bottom: 20%;
}

@media only screen and (min-width: 62em) {
  .card {
      float: left;
      width: 46%;
      height: 300px;
      margin: 2%;
  }
}

@media only screen and (min-width: 75em) {
  .card {
      width: 29%;
      height: 360px;
      margin: 2%;
  }
}

.card__container {
  position: fixed;
  top: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  /* prevents flicker */

  -webkit-overflow-scrolling: touch;
}

.card__container--closed {
  position: absolute;
  overflow: hidden;
}

.card__image {
  position: relative;
  top: 5%;
  left: 50%;
  display: block;
  height: 100%;
  max-height: 500px;
  max-width: 80%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.card__container--closed .card__image {
  cursor: pointer;
}

.card__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding: 2rem;
  color: #888;
  background: #fff;
}

.female-player-profiles .card__content {
  width: 100%;
}

.card__container--closed .card__content {
  margin-top: 0;
  padding: 5px;
  pointer-events: none;
  background: transparent;
}

.card__caption {
  font-size: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 35px 0 0;
  color: #f5f5f5;
}

.card__container--closed .card__caption {
  font-size: .9rem;
  max-width: 280px;
  padding: 10px 0;
  margin: 0 0 0 auto;
  background: rgba(0, 0, 0, 0.3);
  -webkit-transform: translateY(-400%);
  -ms-transform: translateY(-400%);
  transform: translateY(-400%);
}


.card-stat {
  margin: 0 0 1rem 0;
  line-height: 1.75rem;
}

.card::hover .card__container--closed .card__caption {
  font-size: 1.25rem;
}

@media only screen and (min-width: 75em) {
  .card__container--closed .card__caption {
  -webkit-transform: translateY(-480%);
  -ms-transform: translateY(-480%);
  transform: translateY(-480%);    
  }	
  
}

.card__title {
  font-size: 2rem;
  line-height: 1;
  margin: 5px 0 0 0;
  color: #3b393d;
}

.coaches .card__title {
  margin: 5px auto 0;
}

.card__container--closed .card__title {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.coaches .card__container--closed .card__title {
  margin: 5px 0 0 0;
}

.card__subtitle {
  font-size: 1.5rem;
  line-height: 1;
  margin: 5px 0 0;
  color: #91a0a9;
}

.card__container--closed .card__subtitle {
  color: #f5f5f5;
  font-size: 1rem;
}

.card__number {
  font-size: 3rem;
  margin: 0;
  font-weight: bold;
  color: #2c69aa;
  text-align: right;
}

.card__container--closed .card__number {
  color: #DE6723;
  font-size: 2rem;
  line-height: 1;
  text-align: right;
}

.female-player-profiles .coaches .card__container--closed .card__caption {
  background: none;
}

@media only screen and (min-width: 62em) {
  .card__title {
    font-size: 3rem;
  }

  .card__subtitle {
    font-size: 2rem;
  }
  
  .card__number {
    font-size: 4rem;
    line-height: 1;
  }
}

.card__copy {
  font-size: 1.25rem;
  padding: 50px 0 25px;
  color: #3b393d;
}

.card__btn-close {
  font-size: 30px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
  cursor: pointer;
}

.card__container--closed .card__btn-close {
  display: none;
}

@media only screen and (min-width: 48em) {
  .card__caption {
 
      padding: 35px 0px 0px;
  }
}

.profiles-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.profiles-wrapper label {
  padding: 0 1.5rem;
  cursor: pointer;
  order: 1;  
  text-align: center;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #e6e6e6;
}

.profiles-wrapper label:hover,
.profiles-wrapper label:focus {
  color: #fff;
}

.profiles-wrapper .tab-content {
  width: 100%;
  padding: 0;
  order: 2; 
  text-align: left;
}

.profiles-wrapper input[type=radio],
.profiles-wrapper .tab-content {
  display: none;
}

.profiles-wrapper input[type=radio]:checked + label {
  font-weight: bold;
  color: #FACC37;
}

.profiles-wrapper input[type=radio]:checked + label + .tab-content {
  display: block;
}

.profiles-wrapper .tab-content {
  color: #fff;
}
