/*@media screen and (max-height: 700px) and (orientation:landscape) {
    div.content {    
        margin-top: 320px !important;        
    }
}*/

@media screen and (max-width: 700px) {

html {
    margin:0;
    padding:0;
}

body {
    margin:0;
    padding:0;
    font-size: 1.0em;
    font-family: Arial, Verdana, Helvetica;
    min-height: 1024px;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

    h1 {
        font-size: 1em;
    }

div.header {
    position: relative;
    background-color: #141339;
    height: 100px;
    width: 100%;
    padding: 0px;
    vertical-align: middle;
    box-sizing: border-box;
    z-index: 100;
}

div.header div.header-content {
    width: 100%;    
    margin: 0 auto;
    text-align: center;
}

    div.header div.header-content img {
        width: auto;
    }

    div.header .search {
        display: none;
    }

div.top-menu {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 40px;    
    color: #fff;
    margin: 0 auto;
    white-space: nowrap;
    text-align: center;    
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

    div.top-menu .mobile-menu {
        position: absolute;
        display: block;
        z-index: 200;
        width: 100%;
        height: 40px;
        background-image: url(../img/mobile-menu-button.png);
        background-size: 25px 25px;
        background-position: 97% 7px;
        background-color: #61b522;
        background-repeat: no-repeat;
    }

    div.top-menu ul {
        display: block;
        padding: 0px;
        margin: 0;
        list-style-type: none;
        background-color: #61b522;
        height: 320px;
        position: absolute;
        margin-top: 39px;
        width: 100%;
        transition-property: all;
        transition-duration: .2s;
    }

    div.top-menu ul.collapsed {
        display: none;        
        height: 50px;
    }

        div.top-menu ul li {            
            display: block;
            width: 100%;
            height: 50px;
            white-space: nowrap;
            padding-top: 15px;
            padding-left: 15px;
            box-sizing: border-box;
            text-align: left;
            border-bottom: 1px solid #4ec52e;
        }

            div.top-menu ul li.selected {
                background-color: #61b522; 
            }

            div.top-menu ul li a {
                text-decoration: none;
                color: #fff;
            }

            div.top-menu ul li a:hover {
                color: #eee;
            }


div.footer {
    background-color: #61b522;
    width: 100%;
    height: 160px;    
}

    div.footer .footer-content {        
        width: 100%;
        height: 160px;
        margin: 0 auto;
        background-image: url(../img/footer-bi-logo.png);
        background-repeat: no-repeat;
        background-position: 50% 10px;      
    }

    div.footer .footer-bottom {
        background-color: #18113b;
        width: 100%;
        height: 20px;
    }

    div.footer .copyright {
        width: 100%;
        text-align: center;
        margin-top: 137px;
        display: block;
        color: #fff;
        font-size: .9em;
        box-sizing: border-box;
    }

    .field-text {
        font-size: 1.0em;
        padding: 10px;
        box-sizing: border-box;
        height: 40px;
        margin-bottom: 20px;
    }

    .field-select {
        display: block;
        margin: 5px 0 0 0;
        border-radius: 5px;
        border: 1px solid #aaa;
        height: 47px;
        width: 100%;
        padding: 2px 4px;
        margin-bottom: 10px;        
    }

    .validation-error {
        margin-top: -11px;
    }

    .sign-out {
        display: none;
    }

    .align-right-top {
        clear: both;
        float: none;
        margin: auto;
        width: 90%;
        text-align: center;
    }

    .short {
        width: 100%;
    }
}


/**** Landscape ***/

@media only screen and (max-width: 640px) {

html {
    margin:0;
    padding:0;
}

body {
    margin:0;
    padding:0;
    font-size: 1.5em;
    font-family: Arial, Verdana, Helvetica;
    min-height: 1024px;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

    h1 {
        font-size: 1em;
    }

div.header {
    position: relative;
    background-color: #141339;
    height: 100px;
    width: 100%;
    padding: 0px;
    vertical-align: middle;
    box-sizing: border-box;
    z-index: 100;
}

div.header div.header-content {
    width: 100%;    
    margin: 0 auto;
    text-align: center;
}

    div.header div.header-content img {
        width: 100%;
    }

    div.header .search {
        display: none;
    }

div.top-menu {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 40px;    
    color: #fff;
    margin: 0 auto;
    white-space: nowrap;
    text-align: center;    
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

    div.top-menu .mobile-menu {
        position: absolute;
        display: block;
        z-index: 200;
        width: 100%;
        height: 40px;
        background-image: url(../img/mobile-menu-button.png);
        background-size: 25px 25px;
        background-position: 97% 7px;
        background-color: #61b522;
        background-repeat: no-repeat;
    }

    div.footer {
        background-color: #61b522;
        width: 100%;
        height: 160px;    
    }

    div.footer .footer-content {        
        width: 100%;
        height: 160px;
        margin: 0 auto;
        background-image: url(../img/footer-bi-logo.png);
        background-repeat: no-repeat;
        background-position: 50% 10px;      
    }

    div.footer .footer-bottom {
        background-color: #18113b;
        width: 100%;
        height: 20px;
    }

    div.footer .copyright {
        width: 100%;
        text-align: center;
        margin-top: 137px;
        display: block;
        color: #fff;
        font-size: .5em;
        left: 0 !important;
        padding-left: 0px;
    }
    
    .sign-out {
        display: none;
    }

    .align-right-top {
        clear: both;
        float: none;
        margin: auto;
        width: 90%;
        text-align: center;
    }

    .short {
        width: 100%;
    }
}