﻿
.mrating {
    text-align: center;
    /* margin-top: 120px;*/
    position: relative;
   /* width: 50%;*/
    float: left;
    
}

.mhidden {
    opacity: 0;
}

.mstar {
    display: inline-block;
    margin-top: 10px;
    margin-left:3px;
    font-size: 10px;
    color: whitesmoke;
    position: relative;
}

    .mstar.animate {
        -webkit-animation: stretch-bounce 0.5s ease-in-out;
    }

    .mstar.hidden {
        opacity: 0;
    }

.mfull:before {
    font-family: fontAwesome;
    display: inline-block;
    content: "";
    position: relative;
    float: right;
    z-index: 2;
}

.mhalf:before {
    font-family: fontAwesome;
    content: "";
    position: absolute;
    float: left;
    z-index: 3;
}

.mstar-colour {
    color: #ffd700;
}

@-webkit-keyframes stretch-bounce {
    0% {
        -webkit-transform: scale(1);
    }

    25% {
        -webkit-transform: scale(1.5);
    }

    50% {
        -webkit-transform: scale(0.9);
    }

    75% {
        -webkit-transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

.mselected:before {
    font-family: fontAwesome;
    display: inline-block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: scale(1);
    opacity: 1;
    z-index: 1;
}

.mselected.pulse:before {
    -webkit-transform: scale(3);
    opacity: 0;
}

.mselected.is-animated:before {
    transition: 1s ease-out;
}

.mscore {
    font-family: arial;
    font-size: 20px;
    color: green;
    margin-top: 20px;
    margin-left: 50px;
}

.mscore-rating {
    vertical-align: sup;
    top: -5px;
    position: relative;
    font-size: 150%;
}

.mtotal {
    vertical-align: sub;
    top: 0px;
    position: relative;
    font-size: 100%;
}

.maverage {
    font-family: arial;
    font-size: 20px;
    color: indianred;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

    .maverage .mscore-average {
        padding-top: 30px;
    }
