body.statusBody {
    overflow-x: hidden;
}

div.banner {
    display: inline-block;
    vertical-align: top;
    padding-right: 20px;
    width: 240px;
    box-sizing: border-box;
}

div.banner.openBanner {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.rideDiv {
    font-size: 0;
    padding: 10px 0;
}

.ddmDiv {
    font-size: 0;
    box-sizing: border-box;
}

.topRideDiv, .topRideGraphDiv, .ddmDiv {
    display: inline-block;
    width: 50%;
    min-width: 425px;
}

.topRideGraphDiv {
    min-width: 300px;
}

.ddmDiv.right {
    text-align: right;
    padding: 10px 20px 10px 0;
}

.ddmDiv.left {
    text-align: left;
    padding: 10px 0 10px 20px;
}

.ride {
    display: inline-block;
}

.rideName,
.rideNameWrap,
.topRideName,
.topRideGraphName,
.topRidePercent,
.normalRidePercent,
.ddmSmall,
.ddmBig,
.ddmTime,
.topRideGraphPercent,
div.graphBar > span.graphTooltip {
    margin: 0;
    display: inline-block;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 25px;
}

.normalRidePercent, .topRidePercent, .ddmBig {
    padding: 0 5px;
}

.topRideGraphNameWrap {
    display: inline-block;
    position: relative;
    width: calc(100% - 200px);
    min-height: 200px;
}

.rideNameWrap {
    width: 50%;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

.topRideName {
    width: 150px;
    text-align: right;
    letter-spacing: 1px;
    direction: rtl;
}

.rideName {
    text-align: right;
    max-width: calc(100% - 110px);
    vertical-align: top;
}

.topRideGraphDiv > * {
    vertical-align: bottom;
}

.topRideGraphName {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    font-size: 35px;
    text-align: right;
    letter-spacing: 1px;
}

.topRideGraphName.rc, .rideName.rc {
    color: #ff0000;
}

#ddmsWrap {
    font-size: 0;
}

#ddmsWrap > * {
    vertical-align: bottom;
}

.ddmSmall {
    display: block;
}

.ddmBig {
    font-size: 50px;
    letter-spacing: 1px;
    min-height: 114px;
}

.ddmSmall, .ddmTime {
    min-height: 28px;
}

.ddmTime {
    font-size: 25px;
    letter-spacing: 1px;
}

.topRideGraphWrap {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 200px;
    height: 200px;
}

.normalRideGraphWrap {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    height: 25px;
}

div.graphBar {
    position: relative;
    display: inline-block;
    height: 100%;
    transition: width 1s cubic-bezier(0.075, 0.820, 0.165, 1.000), filter 0.25s ease-in-out; /* easeOutCirc */;
}

div.graphBar:hover {
    -webkit-filter: brightness(110%);
    filter: brightness(110%)
}

div.graphBar > span.graphTooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    bottom: 125%;
    transform: translateX(-50%);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 5px;
    font-size: 12px;
    text-transform: none;
    white-space: nowrap;
    transition: visibility 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

div.graphBar:hover > span.graphTooltip, div.graphBar.hover > span.graphTooltip {
    visibility: visible;
    opacity: 1;
}

div.graphBar > span.graphTooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

div.graphBar.up {
    background-color: #27ae60;
}

div.graphBar.lc {
    background-color: #95a5a6;
}

div.graphBar.rcd {
    background-color: #f1c40f;
}

div.graphBar.sd {
    background-color: #cf000f;
}

div.graphBar.sss {
    background-color: #ff0000;
}

.topRideGraph {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.topRideGraphPercent {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 35px;
}

.topRidePercent {
    font-size: 80px;
    letter-spacing: 1px;
}

.average {
    font-size: 18px;
    font-weight: 300;
    padding: 10px 0 20px;
    margin: 0;
}

.perc {
}

.colourFade {
    -webkit-transition: color 1s ease-in-out;
    -moz-transition: color 1s ease-in-out;
    -ms-transition: color 1s ease-in-out;
    -o-transition: color 1s ease-in-out;
    transition: color 1s ease-in-out;
}

/*IPAD*/
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* For portrait layouts only */
    #normalRidesWrap {
        overflow-x: hidden;
        padding-top: 25px;
    }

    .topRideGraphName {
        font-size: 25px;
    }
}

/* MOBILE */
@media only screen and (max-device-width: 480px) {
    #normalRidesWrap {
        overflow-x: hidden;
        padding-top: 25px;
    }

    .ddmDiv, .ddmDiv.left, .ddmDiv.right {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 0;
    }

    .topRideName, .rideName {
        display: block;
        width: auto;
        direction: ltr;
        text-align: left;
    }

    .topRidePercent {
        padding: 0;
    }

    .normalRidePercent {
        padding: 10px 0 0;
    }

    .topRideGraphDiv {
        min-width: 0;
        width: 100%;
    }

    .topRideGraphNameWrap {
        width: calc(100% - 150px);
        min-height: 150px;
    }

    .topRideGraphWrap {
        width: 150px;
        height: 150px;
    }

    .topRideGraphPercent, .topRideGraphName {
        font-size: 25px;
    }
}
