/* Custom elements style */

.wrapperPerformance {
    position: relative;
    padding: 0 0 50px 0;
}

.topbar {
    position: relative;
    padding: 10px 0;
    margin: 0 0 40px;
    border-bottom: solid 1px #aaa;
}

.back {
    width: 100px;
    height: 40px;
    position: absolute;
    left: 88%;
    top: 50%;
    margin: -20px 0 0 -20px;
    text-align: center;
    line-height: 38px;
    color: #999;
    cursor: pointer;
    display: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.no-touch .back:hover {
    background: #fff;
    background: rgba(255, 255, 255, 0.9);
}

.topbar h4,
.topbar h5 {
    display: inline-block;
    font-weight: 300;
    font-size: 20px;
    width: 49%;
    min-width: 320px;
}

.topbar h4 {
    padding-right: 20px;
    color: #666;
    padding: 0;
    margin: 0;
}

.topbar h5 {
    text-align: left;
    padding-left: 20px;
    color: #aaa;
    padding: 0;
    margin: 0;
}


/* Loader */

.loader {
    left: 50%;
    position: absolute;
    margin-left: -120px;
}

.loader i {
    display: inline-block;
    width: 40px;
    height: 40px;
    -webkit-animation: loading 1s linear infinite forwards;
    -moz-animation: loading 1s linear infinite forwards;
    -o-animation: loading 1s linear infinite forwards;
    -ms-animation: loading 1s linear infinite forwards;
    animation: loading 1s linear infinite forwards;
}

.cssanimations .loader span {
    display: none;
}

.no-cssanimations .loader i {
    display: none;
}

.loader i:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -o-animation-delay: 0.1s;
    -ms-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.loader i:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -o-animation-delay: 0.2s;
    -ms-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.loader i:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -o-animation-delay: 0.3s;
    -ms-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.loader i:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    -o-animation-delay: 0.4s;
    -ms-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.loader i:nth-child(6) {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    -ms-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

@-webkit-keyframes loading {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155, 155, 155, 0.9);
    }
}

@-moz-keyframes loading {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        -moz-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155, 155, 155, 0.9);
    }
}

@-o-keyframes loading {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        -o-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155, 155, 155, 0.9);
    }
}

@-ms-keyframes loading {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        -ms-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155, 155, 155, 0.9);
    }
}

@keyframes loading {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 1;
        transform: scale(0.25) rotate(75deg);
        background-color: rgba(155, 155, 155, 0.9);
    }
}

@media screen and (max-width: 680px) {
    .topbar h4,
    .topbar h5 {
        text-align: left;
        padding: 0;
        display: block;
    }
    .back {
        left: auto;
        right: 0px;
        margin-left: 0px;
    }
}
