@media only screen and (max-width: 580px) {
  .job-desc {
    display: block !important;;
  }

}
div.footer-logos a {
    margin: 0px !important;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.footer-text {
  margin: 0;
}

.footer-logos img {
  max-width: 100%;
  height: auto;
}

/*  On small screens: stack vertically */
@media (max-width: 600px) {
  .footer-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logos {
    align-self: flex-start;
  }
}

/* fix for convert forms */
:root {
     scroll-behavior: initial;
}

.mod-popup-button.topleft {
  position: absolute;
  padding: 16px 20px !important;
}
.mod-popup-button.topleft:hover {
    padding: 16px 20px !important;
}
.mod-popup-button.topleft:before,
.mod-popup-button.topleft:after {
  display: none;
}

.mod-popup-bar {
  z-index: 999999;
}

/* design changes */

#jm-allpage {
  background: #F6F6F6;
}

#jm-page {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

.sticky-bar #jm-bar-wrapp {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1600px;
}

header#jm-bar-wrapp.nav-up {
  box-shadow: none;
}

header#jm-bar-wrapp.nav-up:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

.blog h1 {
  font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif !important;
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  color: #000000;
  margin-bottom: 50px;
}

.blog .category-desc .h3 {
  font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif !important;
  font-style: normal;
  font-weight: 600;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.blog .blog-item .item-image img{
  border-radius: 10px;
  margin-bottom: 12px;
  aspect-ratio: 526 / 789;
  object-fit: cover;
  width: 100%;
}

.blog .blog-item h2 {
  font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif !important;
  font-style: normal;
  font-weight: 600;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.blog .blog-item .field-function {
  margin-bottom: 25px;
}

.blog hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.location-group h3 {
  font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif !important;
  font-style: normal;
  font-weight: 600;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 18px;
}

@supports (display: grid) {
  .blog-items {
    grid-gap: 30px;
  }
}

@supports (display: grid) {
  @media (min-width: 481px) {
    .blog-items.columns-2 {
      grid-template-columns: 1fr 1fr;
    }
  }
}

@media (max-width: 575px) {
  #function-filter {
    margin-top: 15px;
  }
}

/* pagination */

#jm-main #jm-content .pagination {
  margin-top: 30px;
}

#jm-main #jm-content .pagination li {
  padding-left: 0 !important;
  font-size: 15px;
  line-height: var(--body-line-height);
}

#jm-main #jm-content .pagination li:before {
  display: none !important;

}

.page-link {
  color: #C60018;
  text-decoration: none;
}

.page-item.active .page-link {
    background-color: #C60018;
    border-color: #C60018;
}

.page-link:hover {
    color: #C60018;
    text-decoration: none;
}

h2.item-title a:hover, .item-title.h2 a:hover, .page-header > h2 a:hover, .page-header > .h2 a:hover, .content-category > h2 a:hover, .content-category > .h2 a:hover, .blog > h2 a:hover, .blog > .h2 a:hover, .cat-children > h3 a:hover, .cat-children > .h3 a:hover, .contact-category > h2 a:hover, .contact-category > .h2 a:hover, .weblink-category > h2 a:hover, .weblink-category > .h2 a:hover, .newsfeed > h2 a:hover, .newsfeed > .h2 a:hover, .newsfeed-category > h2 a:hover, .newsfeed-category > .h2 a:hover, .weblink-category > h2 a:hover, .contact > h3 a:hover, .contact > .h3 a:hover {
      color: #C60018;
}

/** fix header on mobile */

@media only screen and (max-width: 480px) {
    .sticky-bar #jm-bar-wrapp {
      left: auto;
        transform: none;
    }
}