/* Slide On Up — Structural Styles Only */

.to-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
}

/* Visible state */
.to-top.top-is-visible {
    visibility: visible;
    opacity: 1;
}

/* Fade state */
.to-top.top-fade-out {
    opacity: .5;
}

.to-top:hover {
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .to-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .to-top {
        height: 50px;
        width: 50px;
        right: 30px;
        bottom: 30px;
    }
}
