/* -----------------------lotto card-------------------- */
/* .ribbon-lotto {
    background: rgba(0, 0, 0, .3);
    height: 30px;
    width: auto;
    display: inline-block;
    position: absolute;
    color: #FFF;
    line-height: 30px;
    padding: 0px 10px;
    margin-top: 5px;
    border-left: rgba(0, 0, 0, .3) 1px solid;
}

.ribbon-lotto:after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    border: 15px solid rgba(0, 0, 0, .3);
    right: -15px;
    height: 30px;
    border-left-width: 0px;
    border-right-color: transparent;
    filter: drop-shadow(6px 6px 3px rgba(0, 0, 0, 0.04));
}
 */
.lotto-card {
    width: 100%;
    display: inline-block;
}

a .lotto-card {
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(255, 255, 255, 0.5) 0 0 10px;
}

a .lotto-card:hover,
a.lotto-card:focus {
    box-shadow: #555 0px 0px 10px;
    /* border: 2px solid rgba(0,0,0,0.5); */

}

.lotto-head {
    width: 100%;
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px;
    color: white;
    text-align: right;
    text-shadow: rgba(0, 0, 0, .3) 1px 1px 0;
}

.lotto-head>h5 {
    font-weight: 400 !important;
    text-align: right;
    margin-bottom: 0px;
}

.lotto-head span {
    font-weight: 400;
}
.ribbon-lotto span.round {
    font-size: 10px;
    line-height: 10px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    background: rgba(0, 0, 0, .5);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    padding: 1px 2px;
    padding-bottom: 3px;
    margin-top: -2px;
    margin-right: 2px;
    font-family: tahoma;
    transform: scaleX(0.90);
}

.lotto-head.lotto-government {
    background-color: #17a2b8;
    border: #108496 1px solid;
}
.lotto-head.lotto-yeekee {
    background-color: #dc3545;
    border: #aa1423 1px solid;
}

.lotto-time {
    width: 100%;
    display: flex;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px;
    background: white;
    border: #ccc 1px solid;
    border-top: none;
    text-align: right;
    font-size: 20px !important;
    line-height: 30px;
    color: #bbb;
    flex-direction: row;
    justify-content: space-between;
}

.lotto-time i {
    display: inline-flex;
}
.lotto-time.time-active{
    color: #00af09;
}

@media screen and (max-width:480px) {

    .lotto-time span {
        font-size:70%;
    }
    .lotto-head h5{
        font-size:80%;
    }
}