#menu{
    position: absolute;
    z-index: 99;
    margin: 0 auto;
    padding: 0;
    float: left;
    top:0px;
    width: 100vw;
    display: block;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    color: white;
    background-color: #a30c0c;
}

@media screen and (min-width: 500px) { #menu{ height: 50px;} }
@media screen and (max-width: 499px) { #menu{ height: 10vw;} }

#logomenu{
    margin: 0 auto;
    padding: 0;
    margin-top: 3px;
    margin-bottom: 3px;
    width: 210px;
    height: 44px;
    background: transparent url('../images/logomarca/logomenu.png') no-repeat;
    background-position: center;
    background-size: contain;
    float: left;
    cursor: pointer;
}

.buttons{
    position: relative;
    padding-left: 10%;
    width: calc(86% - 200px);
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    float:left;
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
    word-wrap: break-word;
}

@media screen and (min-width: 500px) { .buttons{ width: calc(86% - 200px); } }
@media screen and (max-width: 499px) { .buttons{ width: calc(86% - 40vw); } }

.buttons::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.buttons::-webkit-scrollbar-thumb {    
    background-color: white;
}

.buttons::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
}

.button{
    position:relative;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    color:white;
    font-family: 'Roboto', sans-serif;
    text-decoration:none;
}

@media screen and (min-width: 500px) { .button{ height: 50px; font-size: 1em; padding-left:15px; padding-right:15px;} }
@media screen and (max-width: 499px) { .button{ height: 10vw; font-size: 3.2vw;  padding-left:3vw; padding-right:3vw;} }

.loginbox{
    position: relative;
    width: 40vw;
    max-width: 200px;
    height: 100%;
    background-color: #555555;
    float: right;
    text-align: left;
}

@media screen and (min-width: 500px) { .loginbox{ font-size: 1em;} }
@media screen and (max-width: 499px) { .loginbox{ font-size: 3.2vw;} }

#logininfo{
    position: relative;
    top:0px;
    left:0px;
    width: 60%;
    cursor: pointer;
    color:white;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

@media screen and (min-width: 500px) { #logininfo{ height: 50px;} }
@media screen and (max-width: 499px) { #logininfo{ height: 10vw;} }

#logout{
    position: absolute;
    margin: 0 auto;
    padding: 0;
    right: 0px;
    width: 0px;
    height: 80%;
    visibility: hidden;
    background: transparent url('../images/icons/icon_output.png') no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}

@media screen and (min-width: 500px) { #logout{ top: 5px;} }
@media screen and (max-width: 499px) { #logout{ top: 0.5vw;} }