/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    padding-bottom: 20px;
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #e9e9e9;

    height: 60px;
}

/* Navbar
-------------------------------------------------- */
.navbar small {
    display: block;
    color: inherit;
}

/* Margin and padding
-------------------------------------------------- */
.lg-margin-bottom {
    margin-bottom: 60px;
}

.md-margin-bottom {
    margin-bottom: 40px;
}

.lg-margin-top {
    margin-top: 106px;
}

.md-margin-top {
    margin-top: 40px;
}

.sm-margin-top {
    margin-top: 20px;
}

.lg-anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* Pagination no-wrap
-------------------------------------------------- */
ul.pagination span, ul.pagination a {
    white-space: nowrap;
}


/* Bootstrap overrides
-------------------------------------------------- */
label {
    font-weight: 400;
}

.checkbox input[type='checkbox'], .checkbox-inline input[type='checkbox'] {
    margin-left: 0;
}

.alert-small {
    padding: 5px;
    margin-bottom: 0;
}

.alert-error, .alert-message {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-error hr, .alert-message hr {
    border-top-color: #e4b9c0;
}

.alert-error .alert-link, .alert-message .alert-link {
    color: #843534;
}

.col-header {
    height: 26px;
}

dd {
    margin-bottom: 8px;
}

/* Admin dashboard
-------------------------------------------------- */
#bulk_actions {
    display: none;
    padding-bottom: 8px;
}

#scope {
    margin-bottom: 0;
    width: 160px;
    height: 29px;
    font-weight: 400;
    font-size: 12px;
}

.sort:after {
    content: '\f0dc';
    /*font-family: FontAwesome;*/ /* Older versions */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    color: #BBB;
}

.asc:after {
    content: '\f0dd';
    /*font-family: FontAwesome;*/
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    color: #444;
}

.desc:after {
    content: '\f0de';
    /*font-family: FontAwesome;*/
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 6px;
    color: #444;
}

/* TypeAhead.js CSS
-------------------------------------------------- */
/* This makes the dropdown menu scrollable */
#ta-surveyor-search .tt-dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
}

/* Image page buttons
-------------------------------------------------- */
.btn-form {
    display: inline;
}
.btn-group > .btn-group:not(:last-child) > .btn-form > .btn,
.btn-group > .btn-form:not(:last-child) > .btn:not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group > .btn-group:not(:first-child) > .btn-form > .btn,
.btn-group > .btn-form:not(:first-child) > .btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.btn-group > .btn-form > .btn:not(:first-child) {
    margin-left: -1px;
}
.btn-group > .btn-from > .btn {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

/* Map Search
-------------------------------------------------- */
.hmps-map form {
    width: 100%;
}
.hmps-map .btn {
    margin-bottom: 10px;
    width: 100%;
}
.hmps-map p {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}


/* Default FA Color
-------------------------------------------------- */
.fas {
    color: inherit;
}
