/** Tooltip Styles https://chrisbracco.com/a-simple-css-tooltip/ */
/* Base styles for the element that has a tooltip */
[data-tooltip], .tooltip { position: relative; cursor: pointer; }

/* Base styles for the entire tooltip */
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after { position: absolute; visibility: hidden; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; -webkit-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, -webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24); -moz-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, -moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24); transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24); -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); pointer-events: none; }

/* Show the entire tooltip on hover and focus */
[data-tooltip]:hover:before, [data-tooltip]:hover:after, [data-tooltip]:focus:before, [data-tooltip]:focus:after, .tooltip:hover:before, .tooltip:hover:after, .tooltip:focus:before, .tooltip:focus:after { visibility: visible; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; }

/* Base styles for the tooltip's directional arrow */
.tooltip:before, [data-tooltip]:before { z-index: 1001; border: 6px solid transparent; background: transparent; content: ""; }

/* Base styles for the tooltip's content area */
.tooltip:after, [data-tooltip]:after { z-index: 1000; padding: 8px; width: 160px; background-color: #000; background-color: rgba(51, 51, 51, 0.9); color: #fff; content: attr(data-tooltip); font-size: 14px; line-height: 1.2; }

/* Directions */
/* Top (default) */
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after, .tooltip-top:before, .tooltip-top:after { bottom: 100%; left: 50%; }

[data-tooltip]:before, .tooltip:before, .tooltip-top:before { margin-left: -6px; margin-bottom: -12px; border-top-color: #000; border-top-color: rgba(51, 51, 51, 0.9); }

/* Horizontally align top/bottom tooltips */
[data-tooltip]:after, .tooltip:after, .tooltip-top:after { margin-left: -80px; }

[data-tooltip]:hover:before, [data-tooltip]:hover:after, [data-tooltip]:focus:before, [data-tooltip]:focus:after, .tooltip:hover:before, .tooltip:hover:after, .tooltip:focus:before, .tooltip:focus:after, .tooltip-top:hover:before, .tooltip-top:hover:after, .tooltip-top:focus:before, .tooltip-top:focus:after { -webkit-transform: translateY(-12px); -moz-transform: translateY(-12px); transform: translateY(-12px); }

/* Left */
.tooltip-left:before, .tooltip-left:after { right: 100%; bottom: 50%; left: auto; }

.tooltip-left:before { margin-left: 0; margin-right: -12px; margin-bottom: 0; border-top-color: transparent; border-left-color: #000; border-left-color: rgba(51, 51, 51, 0.9); }

.tooltip-left:hover:before, .tooltip-left:hover:after, .tooltip-left:focus:before, .tooltip-left:focus:after { -webkit-transform: translateX(-12px); -moz-transform: translateX(-12px); transform: translateX(-12px); }

/* Bottom */
.tooltip-bottom:before, .tooltip-bottom:after { top: 100%; bottom: auto; left: 50%; }

.tooltip-bottom:before { margin-top: -12px; margin-bottom: 0; border-top-color: transparent; border-bottom-color: #000; border-bottom-color: rgba(51, 51, 51, 0.9); }

.tooltip-bottom:hover:before, .tooltip-bottom:hover:after, .tooltip-bottom:focus:before, .tooltip-bottom:focus:after { -webkit-transform: translateY(12px); -moz-transform: translateY(12px); transform: translateY(12px); }

/* Right */
.tooltip-right:before, .tooltip-right:after { bottom: 50%; left: 100%; }

.tooltip-right:before { margin-bottom: 0; margin-left: -12px; border-top-color: transparent; border-right-color: #000; border-right-color: rgba(51, 51, 51, 0.9); }

.tooltip-right:hover:before, .tooltip-right:hover:after, .tooltip-right:focus:before, .tooltip-right:focus:after { -webkit-transform: translateX(12px); -moz-transform: translateX(12px); transform: translateX(12px); }

/* Move directional arrows down a bit for left/right tooltips */
.tooltip-left:before, .tooltip-right:before { top: 3px; }

/* Vertically center tooltip content for left/right tooltips */
.tooltip-left:after, .tooltip-right:after { margin-left: 0; margin-bottom: -16px; }

/* SASS VARIABLES
// ------------------------- */
/* GENERAL
// ------------------------- */
* { font-family: 'Helvetica Neue', Helvetica, sans-serif; }

html { overflow-y: scroll; }

body { color: #333; }

header, main, #no-results, footer { width: 1000px; margin: 0 auto; }

main { min-height: 360px; }

#left-column { float: left; width: 23%; }

#right-column { width: 74%; margin-left: 26%; }

/* SEARCH INPUT
// ------------------------- */
header { position: relative; height: 80px; margin-top: 40px; }

header img.logo { position: absolute; top: 9px; left: 0; float: left; max-width: 23%; }

#search-input { font-size: 28px; font-weight: 100; width: 74%; margin-left: 26%; padding: 10px 0 6px; border: none; border-bottom: 5px solid #e0e0e0; }

#search-input, #search-input:focus { transition: border-color .3s ease-in; outline: 0; }

#search-input:focus { border-color: #49BF9D; }

#search-input::-webkit-input-placeholder, #search-input:-moz-placeholder, #search-input::-moz-placeholder, #search-input:-ms-input-placeholder { font-weight: 100; color: #999; }

#search-input-icon { position: relative; }

#search-input-icon:before { position: absolute; right: 0; bottom: 15px; width: 20px; height: 20px; content: ''; cursor: default; background: url(/irs-990-search/assets/img/search_icon.png) no-repeat; }

#search-input-icon.empty:before { cursor: pointer; background-image: url(/irs-990-search/assets/img/delete_icon.png); }

/* HITS
// ------------------------- */
#hits { margin: 4px 0; padding: 10px 0; border-top: 2px solid #e0e0e0; }

.hit { font-size: 0; padding: 8px 0; border-bottom: 1px solid #e0e0e0; }

.hit-image { display: inline-block; width: 16%; }

.hit-image img { max-width: 100%; max-height: 180px; }

.hit-content { font-size: 13px; font-weight: 300; display: inline-block; width: 83%; margin-left: 1%; vertical-align: top; }

.hit-content .hit-price { font-size: 20px; float: right; margin-left: 20px; color: #49BF9D; }

.hit-content .hit-price, .hit-content .hit-name { font-weight: normal; margin-top: 0; }

.hit-content em, .hit-location em { font-style: normal; background: #E2FBF4; }

.hit-content .hit-description { color: #999; }

/* PAGINATION
// ------------------------- */
#pagination { margin-top: 60px; }

#pagination ul { font-size: 0; list-style-type: none; text-align: center; }

#pagination li { font-size: 14px; display: inline; }

#pagination a { padding: 8px 12px; text-decoration: none; color: #333; border: 1px solid #e0e0e0; border-right: none; }

#pagination a:hover { background: #f7f7f7; }

#pagination li:first-child a { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }

#pagination li:last-child a { border-right: 1px solid #e0e0e0; border-top-right-radius: 4px; border-bottom-right-radius: 4px; }

#pagination li.active a { color: white; border-color: #49BF9D; background: #49BF9D; }

#pagination li.active a:hover { cursor: default; }

#pagination li.disabled a { cursor: not-allowed; }

#pagination li.disabled a:hover { background: none; }

/* SORT-BY
// ------------------------- */
#sort-by { font-weight: 300; position: relative; float: right; color: #999; }

#sort-by select { font-size: 16px; padding-right: 14px; cursor: pointer; border: none; outline: none; background: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; }

#sort-by .caret { position: absolute; top: 8px; right: 0; display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; pointer-events: none; color: #333; border-top: 4px dashed; border-right: 4px solid transparent; border-left: 4px solid transparent; }

/* STATS
// ------------------------- */
#stats { min-height: 18px; }

#stats .found-in { font-size: 12px; color: #999; }

/* FACETS
// ------------------------- */
.facet { margin-bottom: 24px; }

.facet h5 { margin: 0 0 6px; padding: 0 0 6px; text-transform: uppercase; border-bottom: 2px solid #e0e0e0; }

.facet ul { margin: 0; padding: 0; list-style-type: none; }

.facet li { margin-bottom: 3px; }

.facet-link { font-size: 13px; line-height: 1.2; text-decoration: none; color: #333; }

.facet-link:hover { text-decoration: none; }

.facet-link:hover, .facet-link.facet-refined { color: #49BF9D; }

.facet .facet-link.facet-refined:hover { text-decoration: line-through; color: #49BF9D; }

.facet-count { position: relative; top: 3px; float: right; color: #999; }

/* Checkboxes */
.facet-disjunctive { font-weight: normal; position: relative; margin-left: 18px; }

.facet-disjunctive:before { position: absolute; top: 0px; left: -18px; width: 16px; height: 16px; font-family: FontAwesome; color: #999; display: inline-block; content: '\f1db'; background: none; }

.facet-disjunctive:hover:before { color: #49BF9D; }

.facet-disjunctive.facet-refined:before { color: #49BF9D; content: '\f00c'; }

.facet-disjunctive.facet-refined:hover:before { content: '\f00d'; }

/* No-result
// ------------------------- */
.no-results #pagination, .no-results #sort-by, .no-results #stats, .no-results #facets { display: none; }

#no-results-message { text-align: center; }

#no-results-message p { font-size: 28px; font-weight: 100; }

#no-results-message ul { list-style-type: none; }

#no-results-message li { font-size: 12px; position: relative; display: inline-block; margin: 4px 2px; padding: 4px 8px 4px 8px; color: #999; border: 1px solid #e0e0e0; border-radius: 12px; }

#no-results-message li span.value { font-weight: bold; color: #333; }

#no-results-message i { font-size: 17px; margin-left: 5px; opacity: .5; }

#no-results-message li a.remove img { position: absolute; top: 3px; right: 5px; float: right; width: 17px; height: 17px; opacity: .5; }

#no-results-message i:hover, #no-results-message li a.remove:hover img { opacity: 1; cursor: pointer; }

a.clear-all { font-size: 12px; line-height: 1; display: inline-block; margin: 10px; padding: 8px 12px; text-decoration: none; color: #fff; background-color: #49BF9D; border-radius: 4px; }

a.clear-all-full-width { display: block; margin: 10px 0px; color: #999; background-color: #f7f7f7; }

a.clear-all:hover, a.clear-all-full-width:hover { text-decoration: none; cursor: pointer; color: #fff; border-color: #49BF9D; background-color: #49BF9D; }

/* FOOTER
// ------------------------- */
footer { font-size: 14px; margin-top: 200px; margin-bottom: 24px; text-align: center; }

footer a { text-decoration: none; color: #49BF9D; }

footer a:hover { text-decoration: underline; color: #49BF9D; }

/* IRS SEARCH SPECIFIC
// ------------------------- */
a { color: inherit; text-decoration: none; }

a:hover { text-decoration: underline; }

a img { border: none; outline: none; }

.algolia-loading { color: #999; }

#sort-by, .hit-image { display: none; }

header { height: 140px; }

#search-input:focus { border-color: #49BF9D; }

.search-img-algolia { display: inline-block; margin-top: 15px; font-size: 11px; color: #999; float: right; }

.search-img-algolia a:hover { text-decoration: none; }

.search-img-algolia img { width: 50px; height: 19px; vertical-align: middle; }

.try { position: absolute; top: 55px; left: 23%; margin-top: 15px; margin-left: 30px; color: #999; font-size: 13px; line-height: 1.5em; }

.try ul { list-style: none; margin: 0; padding: 0; }

.try li { display: inline; margin-right: 10px; }

.try a { text-decoration: none; padding: .2em 1em; color: #999; background-color: #f7f7f7; border-radius: 3px; }

.try a:hover { color: #fff; background-color: #49BF9D; }

.hit-content { width: 96%; padding: 2%; }

a .hit-content:hover { background-color: #dedede; }

.hit-content .hit-price { font-size: 13px; color: #999; }

.hit-content .hit-description { color: #999; }

.irs-line-mid, .irs-line-left, .irs-line-right, .irs-bar, .irs-bar-edge, .irs-slider { background-image: url(/irs-990-search/assets/img/sprite-skin-nice.png); background-repeat: repeat-x; }

.hit-filings-wrapper ul { margin: 0; padding: 0; list-style-type: none; }

.hit-filings-wrapper ul li { display: inline; }

.hit-filings-wrapper ul li a { text-decoration: none; padding: .2em 1em; color: #999; background-color: #f7f7f7; border-radius: 3px; }

.hit-filings-wrapper ul li:first-child a { background-color: #e0e0e0; }

.hit-filings-wrapper ul li a:hover { color: #fff; background-color: #49BF9D; }

.hit-location, .hit-assets, .hit-ein { color: #333; display: block; text-align: right; }

.hit-assets, .hit-ein { color: #999; }

[data-tooltip-facet] { display: none; }

[data-tooltip] { display: inline-block; text-transform: none; text-align: center; }

.facet-info { color: #999; }

.facet-clear-all { text-align: center; }

#footer-alert { font-size: 12px; position: fixed; bottom: 0; left: 0; width: 100%; color: #f7f7f7; background-color: black; box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.4); z-index: 1; }

.footer-alert-wrapper { padding: 12px 35px; }

.footer-alert-left { text-align: left; }

.footer-alert-right { float: right; }

.footer-alert-tip { color: #79A3D6; display: inline-block; }

.footer-alert-tip a { border-bottom: 1px dotted; }

.footer-alert-tip a:hover { border-bottom: 1px solid; text-decoration: none; color: #5288ca; }

.footer-viewer-link { display: block; font-size: 12px; color: #999; }

.footer-viewer-link a { color: #fff; padding: 3px 6px; border-radius: 3px; border: 2px solid #c54e00; }

.footer-viewer-link a:hover { text-decoration: none; background-color: #c54e00; }

footer { border-top: 1px solid #e0e0e0; padding-top: 50px; }

#learn-more img { margin: 50px; width: 200px; }
