.bloq_deck{
  margin-top: $marginTop;
}

.cab_deck {
  margin: 0 0 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  .TitleSelect {
    margin: 0;
    padding: 0;
  }
  .TitleSelect2 {
    display: none;
    margin: 0 0 0 15px !important;
    padding: 0;
  }

  svg {
    width: 36px;
    margin: -12px 0;
    display: inline-block;
    vertical-align: inherit;
  }

  .card_select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-left: -3px;
    text-decoration: none !important;
    cursor: default;
    font-style: italic;
    font-size: 91%;
    height: 30px;
    p{
      padding: 0;
      line-height: 0;
      margin: 0;
    }
  }

}


  /////////////////////////////////////  DECK
  #barajar {
    cursor: pointer;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    text-decoration: none;
    margin: 0;
    padding: 5px 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  
    
    svg {
      width: 18px;
      display: inline-block;
    }
    &:focus svg,
    &:hover svg {
      color: inherit;
    }
  }
  
  #deck {
    display: grid;
    grid-gap: 4px;
    margin-bottom: 45px;

    .rotate {
      pointer-events: none;
      -webkit-transform: rotateY(180deg) !important;
              transform: rotateY(180deg) !important;
    }

    .card {
      visibility: hidden;
      opacity: 0;
      width: 100%;
      height: 100%;
      border-radius: 3px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-item-align: start;
          align-self: flex-start;
    }



    .backface {
      background-repeat: round !important;
      -webkit-box-shadow: none;
              box-shadow: none;
      text-decoration: none;
    }


    .flip-card-inner {
      position: relative;
      text-align: center;
      -webkit-transition: -webkit-transform 0.8s;
      transition: -webkit-transform 0.8s;
      -o-transition: transform 0.8s;
      transition: transform 0.8s;
      transition: transform 0.8s, -webkit-transform 0.8s;
      -webkit-transform-style: preserve-3d;
              transform-style: preserve-3d;
    }


    .flip-card-front {

      position: absolute;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;

      & img {
        border-radius: 6px;
      }
    }



    .flip-card-back {
      -webkit-transform: rotateY(180deg);
              transform: rotateY(180deg);
      position: relative;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      height: 100%;
      cursor: pointer;
    }


    .flash {
      visibility: visible;
      color: #fff;
      opacity: 1;
      -webkit-animation-name: flashs;
      animation-name: flashs;
      -webkit-animation-duration: 0.4s;
      animation-duration: 0.4s;
      -webkit-animation-iteration-count: 3;
      animation-iteration-count: 3;
      -webkit-animation-delay: 1s;
      animation-delay: 1s;
    }

    @-webkit-keyframes flashs {
      0% {
        opacity: 1;
      }

      50% {
        opacity: .1;
      }

      100% {
        opacity: 1;
      }
    }

    @keyframes flashs {
      0% {
        opacity: 1;
      }

      50% {
        opacity: .1;
      }

      100% {
        opacity: 1;
      }
    }


  }