/* Adjust USGS VIS header and footer. ******************************************************************************* */

html, body {
    height: 100%;
    margin: 0;
}
 
.header-search button[type="submit"] { 
    right: 0px;
    top: -5px;
}

/* Add left and right margins to entire webapp if wide device. ****************************************************** */

@media only screen and (min-width:1302px) {

    .tmp-container, .main-container {
        width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-doi {
        width: 65%;
        float: left;
    }

    .footer-social-links {
        margin-top: 1em;
        width: 30%;
        float: right;
    }
}

/* Sticky Footer **************************************************************************************************** */

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}