/*
All Emoncms code is released under the GNU Affero General Public License.
See COPYRIGHT.txt and LICENSE.txt.

---------------------------------------------------------------------
Emoncms - open source energy visualisation
Part of the OpenEnergyMonitor project:
http://openenergymonitor.org

*/
 html, body {
    height: 100%;
}
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -40px;
}

#login-form input[type="text"], #login-form input[type="password"] {
    width: 94%;
}

#push, #footer {
    height: 30px;
}
#footer {
    background-color: #f5f5f5;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding-top:10px;
}
#footer a {
    color: #77b4d9;
    text-decoration: none;
}
#footer span {
    color:#999;
}
#submenu {
    width:100%;
    background-color:#ddd;
    height:27px;
}
#topspacer {
    padding-top: 42px;
}

div#account {
    width:230px;
}

.account-item {
    margin-bottom:10px;
}

input[type=text][class=variable-name-edit] {
    margin-bottom:0px;
}

@media (min-width: 768px) and (max-width: 979px) {
    #topspacer {
        margin-top:-20px;
        padding-top: 0px;
    }
}
/* Lastly, apply responsive CSS fixes as necessary */
 @media (max-width: 767px) {
    #submenu, #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #topspacer {
        margin-top:-20px;
        padding-top: 0px;
    }
}
