/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_self
 */

html { 
  background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.02em;
}

p {
  line-height: 26px;
}

section.section {
  padding: 0.5rem 0.5rem 2rem 0.5rem;
}

.navbar {
  background: linear-gradient(to right, #09203F 20%, #537895) #09203F;
}

.navbar-menu {
  background-color: inherit;
}

.navbar-end > a.navbar-item:hover {
  background-color: inherit;
}

.hero .title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .hero {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

.footer {
  background-color: #DDE0E2;
  background-image: url("/assets/small-truck-7f4b6cc3.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  margin-bottom: 6rem;
}

.footer a {
  color: #2062A5;
  display: inline-block;
  height: 35px;
}

.footer .level {
  align-items: baseline;
}

.footer .level .level-item {
  justify-content: left;
}

#fixed-newsletter-footer {
  display: none;
  padding: 16px 8px;
}

#fixed-container {
  background: #fff;
  bottom: 0;
  background-color: #537895;
  color: #FFF;
  left: 0;
  right: 0;
  position: fixed;
  z-index: 30;
}

a {
  color: #2062A5;
}

a.highlighted {
  color: #FFF;
  text-decoration: underline;
}

a.highlighted:hover {
  color: #00d4FF;
}

.text-highlight {
  color: #00d4FF !important;
}

.text-white {
  color: #fff !important;
}

.highlighted-job {
  font-weight: bold;
  color: #8A7400;
}

.subheading {
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subheading img {
  margin-bottom: -4px;
  margin-right: 4px;
  width: 20px;
}

.subheading span {
  white-space: nowrap;
}

.subheading span:not(:last-child) {
  margin-right: 12px;
}

.title-subheading {
  margin-top: -1.25rem;
}

.filter-tile {
  background-color: #FFF;
  margin: 0 !important;
  margin-bottom: 1rem;
}

.unavailable {
  text-decoration: line-through;
  color: #4a4a4a85;
}

.highlighted-bg {
  background-color: #fff9c9;
}

.job-tile {
  background-color: #fff;
  border: 1px solid #c2c2c2;
  padding: 1.2rem 1.2rem 0.8rem;
  margin-bottom: 1rem;
  box-sizing: border-box !important;
  color: #4a4a4a;
}

.job-tile h2 {
  color: #2062A5;
  font-size: 1.3rem;
  font-weight: bold;
}

.content.job-tile h2 {
  color: inherit;
}

.job-tile p {
  margin: 8px 0;
}

.job-tile-flex div.tile {
  padding: 0 12px 5px 12px;
}

.job-tile-flex div.tile a {
  width: 100%;
}

.job-tile-flex div.tile h2 {
  font-weight: 400;
}

.grid-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.grid-tile .job-tile {
  height: 100%;
}

@media (min-width: 1024px) {
  .grid-tile {
    grid-template-columns: repeat(auto-fill, minmax(472px, 1fr));
  }
}

.filter-title {
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.filter-btn {
  margin-top: 8px;
  margin-right: 16px;
  display: inline-block;
}

.similar-link {
  padding-bottom: 1em;
  border-bottom: 1px solid #DDE0E2;
}

h1.title {
  font-size: 1.8rem;
  font-weight: bold;
}

h2.title {
  font-size: 1.4rem;
  font-weight: bold;
}

h2.title:not(:first-child) {
  margin-bottom: 0.75rem;
}

.title {
  color: #0A2540;
}

.search-tag {
  margin-top: 3px;
  background-color: #DDE0E2 !important;
}

.pagination-container {
  text-align: center;
}

.pagination-container a {
  position: relative;
  top: 2px;
}

.autocomplete p {
  max-width: 466px;
}

.autocomplete #search-input {
  font-size: 1.1rem;
}

.autocomplete .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  max-width: 466px;
  margin: 0 auto;
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete .autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete .autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.autocomplete .autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.label {
  padding-top: 5px;
}

h4 {
  margin-top: 1.5em;
}

.tag-checkbox-container {
  padding-left: 16px;
  display: inline-block;
}

.country-width {
  width: 130px;
}

input[type=text] {
  max-width: 466px;
}

.field_with_errors {
  background-color: hsl(347, 90%, 96%);
}
.field_with_errors label {
  color: red;
}
