body 
{
    text-align:center;
    font-size: 1.4rem;
}

a:link, a:active, a:hover, a:visited
{    
    color: black;
    text-decoration: none;
}

.header
{
    width: 100%; 
    height: 10%;
    padding-top: 2%; 
}

#footerArea
{
    position: fixed;
    /* display: none; */
    height: 10%;
    /*width: 20%;*/
    bottom: 0.2rem;
    right: 0.2rem;
    z-index: 1;
}

.header>p
{
    padding: 0;
    margin: 0; 
    font-weight: bold;
    overflow: hidden;
    display: inline;
    font-size: 3rem;
}

.wrapper
{
    padding-top: 2%;
    height:         80%;
    width:          100%;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.functionButton
{
    /*width: 33%;
    /*text-align: center;
    float: left;
    height: 33%;*/
    flex-basis: 33%;
    flex-grow: 0;
    flex-shrink: 0;
    height: 10rem;
}

.functionSelect
{
    width: 75%;
    height: 90%;
    margin: 0 auto;
    /*color: #000000;
    background-color: #CCCCCC;
    background: -webkit-gradient(linear, 0 100%, 0 0%, from(#FFFFFF), to(#AAAAAA));*/
    font-weight: bold;
    cursor: pointer;    
    display: table;

    border: 0.1rem solid #000;
    font-size: 2rem;
    border-radius:  0.25rem;
    -webkit-border-radius:  0.25rem;
    -moz-border-radius:     0.25rem;    
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
        
    /* see .blueBackground */
}

.functionSelect.selected
{
    /* see .greenBackground */
}

@media only all and (orientation: portrait)
{
    .functionButton
    {
        /*width: 50%;
        max-height: 10%;*/
    }    
    
    .functionSelect
    {
        width: 95%;
    }
    
    .functionButton
    {
        flex-basis: 50%;
    }
}

.functionSelect>p
{
    padding: 0;
    margin: 0; 
    overflow: hidden;
}

.functionSelect>p:nth-of-type(1)
{
    height: 70%;
    padding-top: 1%;
    font-size: 4rem;
}

.functionSelect>p:nth-of-type(2)
{
    height: 30%;
}

.packetSeperator
{
    padding-top: 0.2rem;
}

#logoimage
{
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
}

#logoimage
{
    border-radius: 0.25rem;
    border: 0.1rem solid #000;
}