@import "https://fonts.googleapis.com/css?family=PT Sans Narrow:light,lightitalic,normal,italic,bold,bolditalic";

body .opening-cards-enviroment .cardContainer , 
body .opening-cards-enviroment .cardContainer h3, 
.ui-widget{
  font-family:'PT Sans Narrow' !important;
}

.opening-cards-enviroment .cardContainer h2, .opening-cards-enviroment .cardContainer h4, .opening-cards-enviroment .cardContainer p, .opening-cards-enviroment .cardContainer ul, .opening-cards-enviroment .cardContainer li {
  margin: 0;
  padding: 0;
}

.opening-cards-enviroment .cardContainer h1 {
  text-transform: uppercase;
  color: white;
  font-size: 45px;
  text-align: center;
  text-shadow: 0px 0px 4px #ffffff;
  position: absolute;
  top: 0;
}

.opening-cards-enviroment .cardContainer h2, .opening-cards-enviroment .cardContainer h4 {
  text-transform: uppercase;
  color: white;
}

.opening-cards-enviroment .cardContainer h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0px 0px 4px #ffffff;
}

.opening-cards-enviroment .cardContainer h3{
  font-size: 17px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 5px;
  width: 100%;
  color: #fdfd47;
  background-color:rgba(0, 0, 0, 0.6);
  margin-bottom: 3px;
}

.opening-cards-enviroment .cardContainer h3 label{
  font-weight: normal;
  text-transform: none;
  color: rgba(255,255,255,0.85);
}

  .opening-cards-enviroment .cardContainer {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 400px;
    min-width: 300px;
    min-height: 400px;
    margin: 4px;
    -webkit-perspective: 1000px;
            perspective: 1000px;
/*
    -moz-transform: translate(0px, 30px);
    -webkit-transform: translate(0px, 30px);
    -o-transform: translate(0px, 30px);
    -ms-transform: translate(0px, 30px);
    transform: translate(0px, 30px);*/
  }
  
  .opening-cards-enviroment a{
    color: lightgoldenrodyellow;
    font-weight: bold;
  }

  .card.active {
    -webkit-transform: translateZ(0px) rotateY(180deg) !important;
            transform: translateZ(0px) rotateY(180deg) !important;
  }
  .card.active:after {
    display: none;
  }
  
  body.opening-cards-enviroment .card{
    cursor: pointer;
  }

   .card {
    display: inline-block;
    width: 100%;
    height: 100%;
    -moz-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transform: translateZ(-100px);
            transform: translateZ(-100px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);


  }
   .card:after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 14px 50px -4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
  }
   .card:hover {
    -webkit-transform: translateZ(0px);
            transform: translateZ(0px);
  }
   .card:hover:after {
    opacity: 1;
  }
   .card .side {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    
    background-color: #091217;
    border: 6px double rgba(255, 255, 255, 0.5);
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  .card .front {
    z-index: 2;
    /*background-color: #091217;*/
    border: 6px double rgba(255, 255, 255, 0.5);
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

       }

       .popo{
  background: #030d14; /* Old browsers */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, -moz-linear-gradient(top,  #030d14 0%, #2c5268 100%) !important; /* FF3.6+ */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#030d14), color-stop(100%,#2c5268)) !important; /* Chrome,Safari4+ */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, -webkit-linear-gradient(top,  #030d14 0%,#2c5268 100%) !important; /* Chrome10+,Safari5.1+ */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, -o-linear-gradient(top,  #030d14 0%,#2c5268 100%) !important; /* Opera 11.10+ */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, -ms-linear-gradient(top,  #030d14 0%,#2c5268 100%) !important; /* IE10+ */
  background:url("../../images/cards/bg-left.png") repeat-y left top, url("../../images/cards/bg-right.png") repeat-y right bottom, linear-gradient(to bottom,  #030d14 0%,#2c5268 100%) !important; /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#030d14', endColorstr='#2c5268',GradientType=0 ) !important; /* IE6-9 */

}

.card .back {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }

  
  .card .info {
    padding: 12px;
  }

  .card .front .info {
    padding: 12px;
    background-color: rgba(0,0,0,0.45);
    height: 165px;
    border: 1px solid rgba(255,255,255,0.25);
  }
  
  .card .front .img {
    
    background:rgba(255,255,255,0.05); /* Old browsers */

    border-radius: 5px 5px 0 0;
    width: 100%;
    height: 200px;
    margin-bottom: 4px;
  }

  
 
  .card  .front .img222 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+1,091217+100 */
background: #7db9e8; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #7db9e8 1%, #091217 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, #7db9e8 1%,#091217 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, #7db9e8 1%,#091217 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#091217',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  }

  .card .front .img .logo{
    background-image: url("../images/cards/blue.logo.png");
    background-position: 50% 25% !important;
    background-repeat: no-repeat;
    background-attachment: local;
    
    width: 100%;
    height: 250px;
  }

  .mainPic{
    border-radius: 28px 0 0 0;
    width: 100%;
    height: 200px;
    background-size: cover;
    border: 1px solid #FFC324;
    border-bottom-width: 5px;
  }
/*
  .mainPic.img-wijnaldum { background-image: url("../../images/cards/bg-cards/wijnaldum.jpeg"); }
  .mainPic.img-fichaje { background-image: url("../../images/cards/bg-cards/fichaje.jpg"); }   
  .mainPic.img-revalorizacion { background-image: url("../../images/cards/bg-cards/revalorizacion.jpg"); }   
  .mainPic.img-energia { background-image: url("../../images/cards/bg-cards/energia.jpg"); }   
  .mainPic.img-moral { background-image: url("../../images/cards/bg-cards/moral.jpg"); }   
  .mainPic.img-ef { background-image: url("../../images/cards/bg-cards/ef.jpg"); }   
  .mainPic.img-crack-juvenil { background-image: url("../../images/cards/bg-cards/crack.juvenil.jpg"); }   
  .mainPic.img-nominas { background-image: url("../../images/cards/bg-cards/nominas.jpg"); }   
*/
  .mainPic .mini-logo{
    background-image: url("../../images/cards/white.logo.png");
    background-position: 5px 5px !important;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: 50px 50px;
    width: 80px;
    height: 100px;
    margin: 0px;
    display: inline-block;
  }

  .mainPic .legend{
    float: right;
    color: black !important; /*rgba(255,255,255, 0.75);*/    
    border: 1px solid rgba(255,255,255,0.25);
    background-color: #FFC324 !important;
    border-top: none;
    border-right: none;
    padding: 3px 10px 3px;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
  }

  .mainPic .img4 {
     background-image: url("../../images/cards/wijnaldum.jpeg");
    }
   
    .card .back {
    position: relative;
  }
  .card .back h2 {
    margin-top: 6px;
    margin-bottom: 18px;
  }

  .opening-cards-enviroment  h5{
    color: lightyellow;
    text-align: center;
    margin: -10px auto 10px;
    font-size: 13px;
    font-weight: normal;
    background-color: rgba(0,0,0,0.5);
    padding: 5px;
    min-height: 55px;
    line-height: 15px;
    vertical-align: middle;
  }

  .card .back .reviews {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
  }
  .card .back .reviews p {
    color: #c4c4c4;
    font-weight: 300;
    margin: 1px 0 0 6px;
    transition: 0.3s ease-in-out;
  }
  .card .back .reviews:hover p {
    color: #555;
  }
  .card .back li {
    line-height: 22px;
    margin: 2px 0 6px 0;
  }
  .card .back .code {
    background-color: #FFC324;
    background-image: linear-gradient(-90deg, #FFB714, #FFE579);
    border-radius: 5px;
    float: left;
    width: 100%;
    padding: 2px;
    font-size: 19px !important;
    text-align: center;
    border: 1px solid white;
  }
 
  .card .back .code h4 {
    color: black;
    font-size: 19px !important;
    font-family: 'PT Sans Narrow' !important;
    line-height: normal;
  }
  
  .card .back .code i {
    position: absolute;
    color: black;
    font-size: 17px;
    right: inherit;
    cursor: pointer;
    left: 30px;
    margin-top: 3px;
  }
  
  .card .back .code i.fa-copy{
    right: 30px;
    left: inherit;
  }

  .info-card{
    font-size: 13px;
  }

  .info-card span{
    margin: 0 2px;
    white-space: nowrap;
    float: left;
    font-weight: bold;
    text-align: left;
  }    

  .info-card span:nth-child(even),
  .info-card span.right{
    text-align: right;
    float: right;
  }    

  .info-card span:nth-last-child{
    margin-left: 5px;
  }   
  
  .info-card span label{
    color: rgba(255,255,255,0.85);
    font-weight: normal;
  }  
  .api-uf-view .card label{
    margin-bottom: initial;
  }
  #rt-mainbody article .card p.description,
  .opening-cards-enviroment .card p.description{
    float: left;
    width: 100%;
    font-size: 11px !important;
    height: 53px;
    line-height: 15px !important;
    border: 3px double rgba(255,255,255,0.35);
    padding: 2px 5px 0;
    text-align: left;
    margin: 8px 0 !important;
    overflow: hidden;
    opacity: 1 !important;
    background-color:rgba(0,0,0,0.5);
    border-radius: 3px;
    font-weight: normal !important;
    font-family: 'PT Sans Narrow' !important;
  }

  /* Dialog */
  .ui-dialog .ui-dialog-title {
    font-size: 1em;
  }
  
  .ui-dialog .ui-dialog-content ol {
    list-style-type: decimal;
    margin: 0 0 0 15px;
    padding: 10px;
   }
  

  .ui-dialog .ui-dialog-content,
  .ui-dialog .ui-dialog-content li {
    font-size: 0.9em !important;
    color: black !important;
  }

  .ui-dialog .ui-dialog-content li {
    text-align: left;
    font-size: 15px !important;
    color: black !important;
    font-weight: bold;
    line-height: 18px;
  }


  .ui-dialog .ui-dialog-content img{
    border: 2px solid rgba(0, 0, 0, 0.65);
    margin: 10px;
    display: inline-block;
    height: 200px;
  }

  .click-here{
    z-index: 99999;
}

.click-here i{
  margin-left: 5px;
  margin-right: 5px;
}

.inside-cover{
  position: absolute;
  color: white;
  transform: translateY(356px);
}

.inside-cover.envelope-title{
  -webkit-transform: translateY(160px) rotate(357deg);
  -moz-transform: translateY(160px) rotate(357deg);
  -ms-transform: translateY(160px) rotate(357deg);
  -o-transform: translateY(160px) rotate(357deg);
  transform: translateY(160px) rotate(357deg);

  font-size: 1.1em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.5);
  width: 460px;
  background-color: rgba(0,0,0,0.5);
  margin-left: -30px;
  text-align: center;
  z-index: 2;
}

.inside-cover.envelope-contains{
  right: 0;
  background-color: rgba(0,0,0,0.5);
  padding: 4px 10px;
  font-size: 1em;
  color: lightyellow;
  transform: translateY(390px);

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.inside-cover.envelope-stars{
  left: 0;
  background-color: rgba(0,0,0,0.5);
  padding: 4px 10px;
  font-size: 1em;
  color: lightyellow;
  transform: translateY(390px);

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.inside-cover.envelope-stars i.far{
  opacity: 0.5;
}

.card-stars{
  background-color: rgba(0,0,0,0.65);
  padding: 4px 10px;
  font-size: 10px;
  color: lightyellow;
  transform: translateY(69px);
  text-align: center;
}

.opening-cards-enviroment .cardContainer.have-not{
  -webkit-filter: grayscale(100%) sepia(100%) hue-rotate(-202deg) brightness(50%);
  filter: grayscale(100%) sepia(100%) hue-rotate(-202deg) brightness(50%);
  /*opacity: 0.5;*/
}

.mainPic.card-legend-training{ border-color: rgb(0, 204, 102) !important; }
.mainPic.card-legend-training .legend{ background-color: rgb(0, 204, 102) !important; }

.mainPic.card-legend-youth{ border-color: rgb(253, 179, 104) !important; }
.mainPic.card-legend-youth .legend{ background-color: rgb(255, 153, 102)  !important; }

.mainPic.card-legend-market{ border-color: rgb(255, 162, 138) !important; }
.mainPic.card-legend-market .legend{ background-color: rgb(255, 162, 138) !important; }

.mainPic.card-legend-enviroment{ border-color: rgb(102, 153, 204) !important; }
.mainPic.card-legend-enviroment .legend{ background-color: rgb(102, 153, 204) !important; }

.mainPic.card-legend-locker{ border-color: rgb(255, 215, 235) !important; }
.mainPic.card-legend-locker .legend{ background-color: rgb(255, 215, 235) !important; }

.mainPic.card-legend-finance{ border-color: rgb(170, 234, 234) !important; }
.mainPic.card-legend-finance .legend{ background-color: rgb(170, 234, 234) !important; }