:host {
    padding: 30px 30px;
    display: block;
    .details-box {
        height: 240px;
        border-radius: 3px;
        background-color: #FFFFFF;
        box-shadow: 0 3px 10px 0 rgba(189, 159, 189, 0.08);
        text-align: left;
        opacity: 0.7;
        padding: 30px;
        line-height: 11px;
        margin-right: 5px;
        .text-box {
            min-height: 150px;
        }
        .discription-box{
            height: 110px;
            overflow-y: auto;
            overflow-x: hidden;           
        }
        h3 {
            color: #002940;
            font-size: 16px;
            font-weight: 500;
            line-height: 19px;
            opacity: 1;
            margin-top: 0;
        }
        .card-level {
            opacity: 0.7;
            color: #002940;
            font-size: 13px;
            line-height: 15px;
        }
        .mat-chip.mat-primary {
            border: 0.5px solid #d4e4ec;
            border-radius: 25px;
            background-color: #FFFFFF;
            box-shadow: 0 3px 10px 0 rgba(189, 159, 189, 0.08);
            font-size: 13px;
            opacity: 0.7;
            line-height: 10px;
        }
        .description {
            opacity: 0.7;
            color: #002940;
            font-size: 13px;
            line-height: 18px;
        }
        .footer-left-box{
            min-height: 34px;
            padding-top: 10px;            
        }
        .footer-right-box{
            min-height: 34px;
        }
    }
}
.assessment-box{
    padding: 0px;
}
.learning-details-box{
    padding-right: 0px;
}
.count-box {
    height: 240px;
    border-radius: 3px;
    background-color: #FFFFFF;
    box-shadow: 0 3px 10px 0 rgba(189, 159, 189, 0.08);
    text-align: center;
    padding: 40px;
    h2 {
        color: #335466;
        font-size: 40px;
        text-align: center;
    }
    h3 {
        color: #335466;
        font-family: Roboto;
        font-size: 30px;
    }
    .course-text {
        font-size: 20px;
        opacity: 0.7;
        color: #002940;
        text-align: center;
    }
    .assessment-text {
        opacity: 0.7;
        color: #002940;
        font-size: 13px;
        text-align: center;
        line-height: 15px;
    }
    .box-img {
        min-height: 60px;
    }
}

#coursecard {
    border: none;
}

#coursecard:hover {
    padding-left: 15px;
    padding-right: 15px;
    cursor: default;
}

//ribon css


    #ribbon-container {
    //   position: absolute;
    //   top: 15px;
    //   right: -20px;
    //   overflow: visible;
    //   /* so we can see the pseudo-elements we're going to add to the anchor */
      
    //   font-size: 18px;
    //   /* font-size and line-height must be equal so we can account for the height of the banner */
      
    //   line-height: 18px;
        position: absolute;
        top: 5px;
        right: 0px;
        overflow: visible;
        font-size: 12px;
        line-height: 25px;
    }
    
    #ribbon-container:before {
        content: "";
        height: 0;
        width: 0;
        display: block;
        position: absolute;
        top: 1px;
        left: 11px;
        border-top: 12px solid rgba(0, 0, 0, 0.3);
        border-bottom: 10px solid rgba(0, 0, 0, 0.3);
        border-right: 0px solid rgba(0, 0, 0, 0.3);
        border-left: 18px solid transparent;
    }
    
    #ribbon-container:after {
      /* This adds the second part of our dropshadow */
        content: "";
        height: 3px;
        background: rgba(0, 0, 0, 0.3);
        display: block;
        position: absolute;
        bottom: -3px;
        left: 29px;
        right: 5px;
    }
    
    #ribbon-container a {
    //   display: block;
    //   padding: 20px;
    //   position: relative;
    //   /* allows us to position our pseudo-elements properly */
      
    //   background: #0089d0;
    //   overflow: visible;
    //   height: 58px;
    //   margin-left: 29px;
    //   color: #fff;
    //   text-decoration: none;
        display: block;
        padding: 0px 11px;
        position: relative;
        background: #f5586c;
        overflow: visible;
        height: 20px;
        margin-left: 29px;
        color: #fff;
        text-decoration: none;
    }
    
    #ribbon-container a:after {
      /* this creates the "folded" part of our ribbon */
      
        content: "";
        height: 0;
        width: 0;
        display: block;
        position: absolute;
        top: 0;
        left: -18px;
        border-top: 9px solid #f5586c;
        border-bottom: 11px solid #f5586c;
        border-right: 0px solid transparent;
        border-left: 18px solid transparent;
    }
    
    #ribbon-container a:before {
      /* this creates the "forked" part of our ribbon */
      
        content: "";
        height: 0;
        width: 0;
        display: block;
        position: absolute;
        bottom: -5px;
        right: 0;
        border-top: 5px solid #f5586c;
        border-right: 5px solid transparent;
    }
    
    #ribbon-container a:hover {
      background: #f5586c;
      .text-mindetroy{
          display: unset;
      }
    }
    
    #ribbon-container a:hover:before {
      /* this makes sure that the "forked" part of the ribbon changes color with the anchor on :hover */
      
        border-top: 5px solid #f5586c;
        border-right: 5px solid transparent;
    }
    .text-mindetroy{
        display: none;
    }