﻿    /* Styling the bar itself */
#topbar {
    position:fixed;
    top: -60px; /* has to be around the height of the bar or more. */
    display: block;
    z-index: 99999;
    box-sizing: border-box;
    /*width: 100%;*/
    width:83%;
    padding: 10px;
    background-color: #c0392b;
    color: #fff;
    font-size: 25px;
    text-align: center;
    -webkit-box-shadow: 0 8px 6px -6px black;
       -moz-box-shadow: 0 8px 6px -6px black;
            box-shadow: 0 8px 6px -6px black;
    transition: top 1s;
    height: 55px;
}

/* Hiding the checkbox */
#toggleTop {
    display: none;
}
/* Styling the lables, to show and hide the bar */
#showTop {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 30px;
    display: block;
    padding: 10px;
    background-color: #000000;
    color: #fff;
}
#hideTop {
    float: right;
    display: inline-block;

}
/* Displaying the bar when the checkbox is checked */
#toggleTop:checked + #topbar {
    transition: top 1s;
    top:0px;
}