html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
}

main {
    /* make space for the navbar and footer */
    padding-top: 70px;
    padding-bottom: 70px;

}

footer {
    height:70px;
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #f5f5f5;
}

footer.fixed {
    position: fixed;
}

footer:empty {
    display: none;
}

footer .submit-row {
    padding-top: 15px;
}



/* hack for some padding on top of anchor-linked elements */
#personDetailsColumn span.anchor{
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}


a.inline-edit-link {
    display: none;
}


div#exporter-tab {
    z-index: 100;
    position: fixed;
    right: 20px;
    bottom: 20px;
    min-width: 10em;
}

/* twitter typeahead stuff*/
/* http://stackoverflow.com/questions/21749179/typeahead-js-v0-10-1-and-bootstrap-3 */

.twitter-typeahead {
     width: 100%;
     position: relative;
 }

.tt-dropdown-menu {
    width: 100%;
    min-width: 160px;
    margin-top: 2px;
    padding: 5px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}
.tt-suggestion {
    display: block;
    padding: 3px 20px;
}
.twitter-typeahead .tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
.tt-suggestion.tt-cursor a {
    color: #fff;
}
.tt-suggestion p {
    margin: 0;
}