
@font-face {
  font-family: 'AventurasAD';
  src: url('../dat/fonts/AventurasAD.ttf') format('truetype'); /* Safari, Android, iOS */       
}


.slot-body {
    background: #222;
    background: url(../dat/img/libreria.jpg) no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      overflow: hidden;
      overflow-x: hidden;

}
.slot-row {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 15px auto;
  }
  
  .slot {
    transform-origin: 50% 50%;
    max-width: 427px;
    transition: 0.5s ease-in-out;
    margin: 15px;
  }
  .slot:hover {
    transform: scale(1.125);
    transition: 0.5s ease-in-out;
  }
  .slot:hover .description {
    display: block;
    transition: 0.5s ease-in-out;
  }
  
  .upper {
    position: relative;
  }
  .upper:hover .play-icon {
    transform: scale(1.25);
    transition: 0.5s ease-in-out;
  }
  .upper:hover .play-icon circle {
    fill-opacity: 1;
    transition: 0.5s ease-in-out;
  }
  .upper:hover .sign-in polygon#background {
    fill: #ffd900;
    fill-opacity: 1;
  }
  .upper:hover .sign-in g {
    fill: #000000;
  }
  .upper:hover .sign-in tspan {
    fill: #000000;
  }
  .upper:hover .upgrade polygon#background {
    fill: #ffc600;
    fill-opacity: 1;
  }
  .upper:hover .upgrade g {
    fill: #000000;
  }
  .upper:hover .upgrade tspan {
    fill: #000000;
  }
  
  .slot .icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    transition: 0.5s ease-in-out;
  }
  
  .lower {
    background: #000;
    padding: 15px;
    height: -webkit-fill-available;
  
  }
  .lower:hover h4 {
    text-decoration: underline;
  }
  
  .primary-title {
    margin: 0;
    line-height: 18px;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 0.25px;
  }
  
  .episode-meta {
    letter-spacing: 2px;
  }
  
  .episode-title {
    font-weight: 300;
  }
  
  .episode-meta, .episode-title {
    line-height: 1.5;
    font-size: 10px;
  }
  
  .slot-description {
    font-size: 10px;
    font-weight: 300;
    transition: 0.5s ease-in-out;
  }
  
  .slot-hidden {
    display: none;
  }
  
  .slot-wrapper {
    display: grid;
    grid-template-rows: repeat(3, calc( 100vh / 3 - 20px * (3 - 1) / 3 - 50px * 2 / 3 ));
    grid-template-columns: repeat(3, auto);
    gap: 20px;
    overflow-y: auto;
    height: 100%;
  }
  
  
  .slots {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 50px;
    margin-top: 1%;
  }
  
  .slots_item {
    display: flex;
    padding: 1rem;
  }
  
  @media (min-width: 40rem) {
    .slots_item {
      width: 50%;
    }
  }
  
  @media (min-width: 56rem) {
    .slots_item {
      width: 33% !important;
    }
  }
  .slot {
    background-color: rgba(0, 0, 0, 0.457);
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 3%;
    border: #ffffffb5;
    border-style: outset;
    border-width: 2px;
  }
  




  /**********************************
new design of course card
***********************************/
.row-card-course {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px auto;
  }
  
  .row-card-course .course-card {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .row-card-course .course-card > .thumbnail {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .course-card .thumbnail {
    padding: 0;
    border: none;
    text-align: center;
    border-radius: 0;
    margin: 0 auto;
    width: 255px;
    background: transparent;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: normal;
  }
  
  .course-card .thumbnail .full-length {
    height: 5px;
    width: 100%;
    background: #bcbcbc;
    display: block;
  }
  
  .course-card .thumbnail .current-length {
    height: 100%;
    width: 68%;
    background: red;
    display: block;
  }
  
  .course-card .course-card-image {
    width: auto;
    height: auto;
    margin-bottom: -40px;
    min-height: 190px;
  }
  
  .course-card .course-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;    
  }
  
  .course-card .course-card-image > a > img {
    width: 100%;
    min-height: 185px;
  }
  
  .course-card .course-card-image > a:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
  }
  
  .course-card .course-card-image > a:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 166px;
    border: 0;
    background-image: url();
    background-repeat: no-repeat;
    background-position: center center;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
    opacity: 0;
  }
  
  .course-card .course-card-image > a:hover:before {
    filter: grayscale(0);
  }
  
  .course-card .course-card-image > a:hover:after {
    opacity: 1;
  }
  
  .course-card .thumbnail .caption {
    margin: 0 auto;
    /*width: 230px;*/
    padding: 10px;
    position: relative;
    box-sizing: border-box;
    background-color: #000000;
    height: 80%;
    color: white;

  }
  
  .course-card .course-title {
    min-height: 40px;
  }
  
  .course-title-heading {
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .course-title-heading a {
    font-size: 17px;
    font-weight: 400;
    color: #444;
    text-decoration: none;
    display: inherit;
    line-height: 20px;
  }
  
  .course-title-heading a:hover {
    color: #222;
  }
  
  .course-card .btn-group {
    width: 100%;
  }
  
  .course-card .btn-group .course-card-btn {
    background: transparent;
    border-color: transparent;
    color: #444;
    font-size: 18px;
  }
  
  .course-card .course-fav-cost {
    width: 100%;
    height: auto;
    display: contents;
    float: center;
    color: orange;
    padding: 4px 0;
    text-align: center;
    margin: 10px auto;
    font-family: 'AventurasAD';
    font-size: inherit;
  }
  
  .course-card .date {
    /*  border-top: 1px solid #bcbcbc;
      border-bottom: 1px solid #bcbcbc;*/
      width: 100%;
      height: auto;
      float: left;
      padding: 4px 0;
      text-align: center;
      margin: 10px auto;
      font-family: 'AventurasAD';
      font-size: x-large;
    }
    

  .course-card .course-fav-cost .course-rating-star {
    padding-left: 0;
    width: 70%;
    float: left;
  }
  
  .course-card .course-fav-cost .course-rating-star img {
    height: 10px;
    width: auto;
  }
  
  .course-card .course-fav-cost .course-rating-star .course-rating {
    unicode-bidi: bidi-override;
    direction: rtl;
  }
  
  .course-card .course-fav-cost .course-rating-star .course-rating > span > span {
    display: inline-block;
    position: relative;
    width: auto;
    color: #2c5f00;
  }
  
  .course-card .course-fav-cost .course-rating-star .course-rating > span > span.active:before,
  .course-card .course-fav-cost .course-rating-star .course-rating > span > span.active ~ span:before {
    content: "\2605";
    position: absolute;
  }
  
  .course-card .course-fav-cost .course-fav-price {
    padding-right: 0;
    width: 30%;
    float: left;
  }
  
  .course-card .course-fav-cost .course-fav-price .price-dollar {
    color: #2c5f00;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
  }
  
  .course-card .course-fav-cost .price {
    padding-right: 0;
  }
  
  .course-card .course-fav-cost .price .price-dollar {
    color: #2c5f00;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
  }
  
  .course-card-foot img {
    width: 35px;
    height: 35px;
    padding: 0 10px 0 0;
    box-sizing: content-box;
  }
  
  .course-card-foot-name {
    text-align: left;
  }
  
  .course-card-foot .main-name {
    color: #444;
    font-size: 13px;
    height: 100%;
    line-height: 35px;
    text-align: left;
    display: table;
  }
  
  .course-card-foot .main-name:hover,
  .course-card-foot .main-name:focus {
    text-decoration: none;
  }
  /* new design of course card end */

.miniaturaVideo {
    height: 180px !important;
    filter: sepia(1);
    width: 100%;
    object-fit: fill;
}

.miniaturaVideo:hover  {
    filter: sepia(0);
  }

  .delete-button {
    right: 1%;
    background-color: red;
    top: 1%;
    z-index: 500;
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.6em;
    position: absolute;
    color: white;
  }