﻿.menubox {
    display: none;
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 3000;
    overflow: hidden;
    background: #ffffff;
    font-size: 100%;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.32),0 2px 10px 0 rgba(0,0,0,0.24);
}

@media screen and (min-width: 800px) {
    .menubox {
        right: calc(50% - 400px);
    }
}

/* Add padding and border to inner content */
.menubox-inner {
    width: 200px;
    padding: 10px;
}

    /* Style navigation menu links */
    .menubox-inner a {
        color: black;
        text-decoration: none;
        display: block;
        min-height: 32px;
    }

        /* Add a grey background color on mouse-over */
        .menubox-inner a:hover {
            background-color: #ddd;
            color: white;
        }

/* Dropdown Button */
.dropdown {
    position: relative;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    margin-left: 1em;
    min-width: 160px;
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* go-to-top button */
#topbtn {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 40px;
    z-index: 99;
    width: 1.2em;
    height: 3em;
    font-size: 0.8em;
    text-align: center;
    border: none;
    outline: none;
    background-color: #333333;
    color: white;
    cursor: pointer;
    padding: 0px;
    border-radius: 5px 0px 0px 5px;
}

    #topbtn:hover {
        background-color: #555;
    }


@media screen and (min-width: 800px) {
    #topbtn {
        visibility: hidden;
    }
}
