/* Additions to the legacy stylesheet (styles.css, copied unchanged from the old site) */
footer { position: static; }
html, body { min-height: 100%; }
a:hover { text-decoration: underline; }
header a:hover { text-decoration: none; }
a#logo:hover { text-decoration: none; }

#search-form, #searchForm { display: inline-block; width: 100%; }
#search-bar { -webkit-appearance: none; appearance: none; }

#companyInfo { padding-bottom: 5px; }
#resultInfo, #companyInfo { color: #666; padding-top: 15px; }
#errorMessage { color: #a00; padding-top: 15px; font-size: 20px; }
#loading { color: #666; padding-top: 15px; }
#intro { color: #666; padding-top: 15px; text-align: center; }
.text-muted { color: #666; }
.uppercase { text-transform: uppercase; }

#filter { text-align: center; }
a.filter__link { color: #003a79; }
a.filter__link:hover { background-color: #e8eff4; text-decoration: none; }
a.filter__link.active { color: #FFF; }

/* sortable table headers (legacy displaytag look) */
table#listing thead th.sortable { cursor: pointer; user-select: none; }
.max-div .table-wrapper { padding: 0; }

.parent-container { margin-top: 4px; font-size: 14px; }
.back-link { padding-top: 15px; color: #666; text-align: center; }

/* Image viewer: replaces the legacy Magnific Popup */
.image-modal {
	position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
	background: rgba(11, 11, 11, 0.8); padding: 40px 20px; box-sizing: border-box;
}
.image-modal__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.image-modal__image { max-width: 100%; max-height: calc(100vh - 170px); background: #FFF; box-shadow: 0 0 8px rgba(0,0,0,0.6); }
.image-modal__caption { color: #CCC; padding-top: 10px; font-size: 14px; text-align: center; }
.image-modal__frame { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
/* the close button sits above the top right corner of the image, not of the window */
.image-modal__close {
	position: absolute; top: -40px; right: 0; width: 40px; height: 40px; border: 0; background: transparent; color: #FFF;
	font-size: 32px; line-height: 40px; cursor: pointer; opacity: 0.65; -webkit-appearance: none;
}
.image-modal__close:hover, .image-modal__close:focus { opacity: 1; }
.image-modal__error { color: #FFF; }
