/***************/
/* master page */
/***************/

@font-face
{
    font-family: 'BebasNeue';
    src: url('BebasNeue.otf');
}

h1
{
    font-family: 'BebasNeue', sans-serif;
}

#templates, .template
{
    display: none;
}

#master_container
{
    width: 100vw;
    height: 100vh;
/*
    overflow: hidden;
*/
    overflow-x: hidden;
    position: fixed;
/*
    background-color: #AA3333;
*/
    background-color: #000000;
}

#master_welcome
{
    float: right;
    margin-right: 20px;
    text-align: right;
}

html
{
    width: 100vw;
    height: 100vh;
    overflow-y: hidden;
    font-family: 'Open Sans', sans-serif;
    color: #DDDDDD;
}

body
{
    margin: 0px;
    overflow-y: hidden;
}

#modal
{
    position: fixed;
    bottom: 0px;
    left: 0px;
    display: none;
    box-shadow: 0 0 20px;
    width: 100vw;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #FFFFFF;
    color: #000000;
    max-height: calc(100vh - 120px);
    overflow-y: scroll;
    z-index: 2;
    background-color: #BBBBBB;
}

#logo
{
    background-image: url(http://www.onesmash.net/css/OneSmash_11_icon_400px);
    background-size: 100px 100px;
    height: 100px;
    /* background-position: -224px -44px; */
    width: 100px;
    /* margin: 0px auto; */
    float: left;
}

#page_name
{
    position: fixed;
    top: 0px;
    margin-top: 0px;
    width: 100vw;
    text-align: center;
    z-index: -1;
    font-size: 160px;
    color: #000000;
    height: 148px;
    overflow: hidden;
}

#page
{
    min-height: calc(100vh - 206px);
    margin-top: 166px;
}

#footer
{
/*
    position: fixed;
    bottom: 0px;
    left: 0px;
*/
    clear: both;
    width: 100vw;
    border-top: 1px #000000 solid;
    background-color: #AA3333;
    height: 40px;
}

#header
{
    position: fixed;
    top: 0px;
    background-color: #CC3333;
    width: 100vw;
/*
    height: 169px;
*/
/*
    border-bottom: 10px solid #771111;
*/
    z-index: 1;
    background-image: linear-gradient(#991111, #CC3333, #CC3333, #CC3333);
}

a
{
    color: #FFFFFF;
    font-weight: bold;
}

.nav_links
{
    clear: both;
}

.nav_links .link
{
    width: 109px;
    height: 35px;
    float: left;
    background-color: #000000;
    color: #FFFFFF;
    margin: 2px;
    padding: 5px;
    line-height: 35px;
    text-align: center;
    background-color: #444444;
    background: repeating-linear-gradient(
        135deg,
        #222222,
        #222222 4px,
        #444444 4px,
        #444444 6px
    );
}

/***********/
/* generic */
/***********/

.helpbox
{
    display: none;
}

.hidden
{
    display: none;
}

hr
{
    clear: both;
}

.fake_link
{
    color: #FFFFFF;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

#bitnami-banner
{
    display: none;
}

.highlight
{
    background-color: #EEEEFF;
}

.divider
{
    clear: both;
    height: 1px;
}

#test_div
{
    position: fixed;
    bottom: 0px;
    left: 0px;
    border: 1px solid #000000;
    background-color: #FFFFFF;
    color: #000000;
}

/****************/
/* mobile stuff */
/****************/

@media (max-width: 1024px)
{

    #logo
    {
        background-size: 50px 50px;
        height: 50px;
        width: 50px;
    }

    h1
    {
        font-size: 20px;
    }

    .nav_links .link
    {
        height: 15px;
        line-height: 15px;
        width: calc(33% - 14px);
        margin-top: 20px;
    }

    #page
    {
        min-height: calc(100vh - 163px);
    }

    #page_name
    {
        position: fixed;
        top: 20px;
        margin-top: 0px;
        width: 100vw;
        text-align: center;
        z-index: -1;
        font-size: 40px;
        color: #000000;
        height: 40px;
    }

}
