body
{
    padding: 0;
    overflow: hidden;
}
#page-frames
{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.scroll-frame
{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transition: left 0.5s;
}
iframe
{
    width: 100%;
    height: 100%;
    position: absolute;
}
#pre-load
{
    width: 10px;
    height: 10px;
    position: absolute;
    top: -10px;
    left: -10px;
}
#menu-underlay
{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 90;
    display: none;
}
#menu-underlay.open
{
    display: block;
}
#menu-button
{
    z-index: 100;
}
.navigation
{
}
.image
{
    display: block;
    width: 40px;
    width: 4.0rem;
    height: 30px;
    height: 3.0rem;
    cursor: pointer;
}
#nav
{
    box-sizing: border-box;
    padding: 2px 2px 0 10px;
    padding: 0.2rem 0.2rem 0 1.0rem;
    width: 150px;
    width: 15.0rem;
    margin-left: -150px;
    margin-left: -15.0rem;
    transition: margin-left 0.5s;
    position: absolute;
    top: 30px;
    top: 3.0rem;
    z-index: 100;
}
#nav.open
{
    margin-left: 0;
}
li.nav-button
{
    list-style: none;
}
#query
{
    display: none;
}
.Admin #query
{
    display: block;
}
#name
{
    float: right;
    margin: -26px 20px 0 0;
    margin: -2.6rem 2.0rem 0 0;
    cursor: pointer;
    z-index: 100;
}
.Student #name,
.Disciple #name,
.Privileged #name,
.Teacher #name,
.Admin #name
{
    color: rgb(166,19,19);
}
.user
{
}
#user
{
    box-sizing: border-box;
    width: 0;
    padding: 0;
    margin-right: -150px;
    margin-right: -15.0rem;
    /*display: none;*/
    transition: margin-right,width 0.5s;
    position: absolute;
    top: 3.0rem;
    top: 3.0rem;
    right: 0;
    z-index: 100;
    overflow: hidden;
}
#user.open
{
    /*display: block;*/
    width: 150px;
    width: 15.0rem;
    padding: 2px 20px 0 2px;
    padding: 0.2rem 2.0rem 0 0.2rem;
    margin-right: 0;
}
#user-name
{
    display: block;
    width: 11rem;
}
.user-button
{
    font-family: tahoma;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 6px;
    padding: 0.6rem;
    width: 11rem;
    margin-bottom: 2px;
    margin-bottom: 0.2rem;
    cursor: pointer;
}
.link
{
    text-decoration: none;
    display: block;
}
a:link, a:visited, a:active
{
    color: black;
}
.copyright
{
    float: left;
    font-weight: bold;
    font-size: 10px;
    font-size: 1.0rem;
    opacity: 0.6;
}
@media (min-width: 768px) /* ipad portait*/
{
    #menu-button
    {
        visibility: hidden;
        position: absolute;
    }
    #nav
    {
        position: static;
        margin-left: 0;
        transition: margin-left 0s;
        float: left;
        margin-top: 22px;
        margin-top: 2.2rem;
        width: 20%;
    }
    #name
    {
        margin-top: 4px;
        margin-top: 0.4rem;
    }
    #page-frames
    {
        float: left;
        width: 80%;
    }
}
