@media (max-width: 499px)
{
    .menu-mobile {
        display: block;
    }

    .menu-desktop {
        display: none;
    }
}

@media (min-width: 500px)
{
    .menu-mobile {
        display: none;
    }

    .menu-desktop {
        display: block;
    }
}

.topnav, .dropdown-content
{
    background-color: white;/* setting.menu_background_color */
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a
{
    float: none;
    display: block;
    color: white;/* setting.hamburger_color */
    text-align: right;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 15px;
    font-family: Arial,Helvetica,sans-serif;
}

/* Change the color of links on hover */
/*.topnav a:hover {
    background-color: #ddd;
    color: black;
}*/

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.dropdown-content {
    display: none;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%; /* setting.menu_width */
    top: 51px;
    right: 0;
}

.show {
    display: block;
}

.dropdown-content a
{
    float: none;
    display: block;
    text-align: center;/* setting.menu_text_align */
    z-index: 1;
    padding: 10px 16px;
    color: black; /* setting.menu_text_color */
    font-size: 24px;/* setting.menu_text_size */
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

@media screen and (max-width: 499px) {
  /*.topnav a:not(:first-child) {display: none;}*/
    .topnav .icon
    {
        /*float: right;*/
        display: block;
        position: relative;
    }

    .topnav
    {
        position: absolute;
        top: 0;
        right: 0;
        background: transparent;
        /*width: 100%;*/
    }
}

