@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700&family=Libre+Baskerville:700&display=swap);
html {
  scroll-behavior: smooth !important;
}

.card {
  background-color: #fff;
  border-radius: .25rem;
  box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.02);
  color: #4a4a4a;
  width: 100%;
  position: relative;
}

.card-content,
.card-footer,
.card-header{
  border-radius: .25rem;
}

.card-header {
  background-color: transparent;
  align-items: stretch;
  box-shadow: 0 .125em .25em rgba(10,10,10,.1);
  display: flex;
}

.card-header-title {
  display: flex;
  align-items: center;
  color: #363636;
  flex-grow: 1;
  font-weight: 700;
  padding: .75rem 1rem;
}

.card-header-icon,
.card-header-title.is-centered {
  justify-content: center;
}

.card-header-icon {
  appearance: none;
  background: none;
  border: none;
  color: currentColor;
  font-family: inherit;
  font-size: 1em;
  margin: 0;
  align-items: center;
  cursor: pointer;
  display: flex;
  padding: .75rem 1rem;
}

.card-image {
  display: block;
  position: relative;
}

.card-image:first-child img {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

.card-image:last-child img {
  border-bottom-left-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

.card-content {
  padding: 1.5rem;
  background-color: transparent;
}

.card-footer {
  border-top: 1px solid #ededed;
  align-items: stretch;
  display: flex;
  background-color: transparent;
}

.card-footer-item {
  align-items: center;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 0;
  justify-content: center;
  padding: .75rem;
  display: flex;
  border-right: 1px solid #ededed;
}

.card-footer-item:last-child {
  border-right: none;
}

.card .media:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Widget jobs container and spacing */
.widget-jobs {
  padding: 0;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs {
    padding: 0 0 0 0;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs {
    padding: 0 0 0 0;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs {
    padding: 0 0 0 0;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs {
    padding: 0 0 0 0;
  }
}

.intro-header{
  padding-bottom: 1rem;
  padding-top: 2.5rem;
  background: hsl(227deg 100% 97%);
}

/* Intro section inside widget jobs */
.widget-jobs .intro {
  padding: 0 6.25%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  gap: 3rem;
}

.widget-jobs .intro .title-adv {
  flex-grow: 1;
  text-align: center;
  width: 100%; 
  margin: 0 auto;
}

.widget-jobs .intro .desc {
  font-size: 1rem;
  color: #010e2e;
  line-height: 1.4;
  margin-top: 1.5rem;
	
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .intro .desc {
    font-size: 1.125rem;
    margin-top: 1.75rem;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .intro .desc {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .intro .desc {
    font-size: 1.375rem;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .intro .desc {
    font-size: 1.4375rem;
  }
}

.widget-jobs .intro .tagline {
  font-size: 1.25rem;
  color: #010e2e;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 1.5rem;
	
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .intro .tagline {
    font-size: 1.35rem;
    margin-top: 1.75rem;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .intro .tagline {
    font-size: 1.5rem;
    margin-top: 2rem;
  }
}


.widget-jobs .intro .careers-link {
  min-width: max-content;
}

.widget-jobs.mode-list .intro .col {
  flex-grow: 1;
}

.widget-jobs.mode-list .intro .col:nth-child(2) {
  display: none;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs.mode-list .intro .col:nth-child(2) {
    display: block;
    text-align: right;
  }
}

/* Jobs list container */
.widget-jobs .jobs-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 1.5rem 6.25% 6.25%;
  gap: 1rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .jobs-list {
    padding: 2rem 0 6.25% 6.25%;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .jobs-list {
    padding: 4.5rem 0 6.25% 6.25%;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .jobs-list {
    padding: 4.75rem 0 6.25% 6.25%;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .jobs-list.three-per-row .job-item {
    width: calc(33% - .75rem);
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .jobs-list.four-per-row .job-item {
    width: calc(25% - .75rem);
  }
}

/* Job item cards */
.widget-jobs .job-item {
  width: 100% !important;
  border-radius: 10px;
  flex-direction: column;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, .1);
}
.card.job-item {
  width: 100% !important;
}

@media only screen and (min-width: 641px) {
  .widget-jobs .job-item {
    width: calc(50% - .5rem);
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .job-item {
    width: 32%;
  }
}

.widget-jobs .job-item .card-content {
  padding: 0;
}

.widget-jobs .job-item .card-content .content {
  padding: 1.5rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-content .content {
    padding: 2rem;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .job-item .card-content .content {
    padding: 1.5rem;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .job-item .card-content .content {
    padding: 1rem 2rem 2rem;
  }
}

/* Entry metas inside job cards */
.widget-jobs .job-item .card-content .content .entry-metas {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: rgba(78, 71, 134, .6);
  margin-bottom: 1rem;
  font-size: .875rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-content .content .entry-metas {
    font-size: .9375rem;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .job-item .card-content .content .entry-metas {
    font-size: 1rem;
  }
}

.widget-jobs .job-item .card-content .content .entry-metas p {
  color: rgba(78, 71, 134, .6);
}

/* Job title */
.widget-jobs .job-item .card-content .content .title {
  color: #233344;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-content .content .title {
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .job-item .card-content .content .title {
    font-size: 1.375rem;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .job-item .card-content .content .title {
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .job-item .card-content .content .title {
    font-size: 1.375rem;
  }
}

@media only screen and (min-width: 1800px) {
  .widget-jobs .job-item .card-content .content .title {
    font-size: 1.4375rem;
  }
}

/* Paragraph inside job content */
.widget-jobs .job-item .card-content .content p {
  color: #010e2e;
  font-size: 1rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-content .content p {
    font-size: 1.0625rem;
  }
}

/* Card footer in job-item */
.widget-jobs .job-item .card-footer {
  border: 1px solid #010e2e;
  margin: 0 2rem 2rem;
  margin-top: auto
}

.widget-jobs .job-item .card-footer .card-footer-item {
  color: #233344;
  height: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1;
  transition: all .15s ease-in-out;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-footer .card-footer-item {
    padding-left: 2rem;
  	height: 2.8rem;
  }
}

@media screen and (min-width: 1280px) {
  .widget-jobs .job-item .card-footer .card-footer-item {
    padding-left: 1.5rem;
  	height: 2rem;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .job-item .card-footer .card-footer-item {
    padding-left: 2rem;
  }
}

/* Icon container inside footer */
.widget-jobs .job-item .card-footer .card-footer-item .ico {
  border-left: 1px solid #f1f4ff;
  height: 100%;
  width: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .15s ease-in-out;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .job-item .card-footer .card-footer-item .ico {
    width: 4rem;
  }
}

@media screen and (min-width: 1472px) {
  .widget-jobs .job-item .card-footer .card-footer-item .ico {
    width: 4.5rem;
  }
}

.widget-jobs .job-item .card-footer .card-footer-item .ico .icon-arrow-right {
  height: 20px;
  width: 20px;
  transition: all .15s ease-in-out;
}

/* Hover states */
.widget-jobs .job-item:hover {
  box-shadow: 0 0 16px rgba(0,0,0,.16);
}

.widget-jobs .job-item:hover .card-content .image {
  transform: scale(1.1);
}

.widget-jobs .job-item:hover .card-footer .card-footer-item {
  font-weight: 700;
  color: #010e2e;
}

.widget-jobs .job-item:hover .card-footer .card-footer-item .ico {
  background: #e3eaff;
}

.widget-jobs .job-item:hover .card-footer .card-footer-item .ico .icon-arrow-right {
  fill: #46eaf1;
}

/* Careers link bottom */
.widget-jobs .careers-link.is-bottom {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .careers-link.is-bottom {
    display: none;
  }
}

/* Job filters form */
.widget-jobs .aaa-jobs-filters {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  padding: 2rem 6.25%;
  gap: 1rem;
  width: 100%;
  position: relative;
  margin-top: 1.5rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .aaa-jobs-filters {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: auto;
	margin-top: 1.5rem;
  }
}

.widget-jobs .aaa-jobs-filters button.office-filter-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  background-color: #010e2e;
  color: #46eaf1;
  border-radius: 10px;
  border: none; 
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}

.widget-jobs .aaa-jobs-filters button.office-filter-card:hover, .widget-jobs .aaa-jobs-filters button.office-filter-card.active{
  background-color: #46eaf1;
  color: #010e2e;
}

.widget-jobs .aaa-jobs-filters button.office-filter-card h4 {
  display: flex;
  justify-content: center; 
  align-items: center;    
  width: 100%;            
  margin: 20px auto;         
}

@media print,
  screen and (min-width: 769px) {
	  .widget-jobs .aaa-jobs-filters button.office-filter-card {
  	  	font-size: 1.5rem;
	}
	  .widget-jobs .aaa-jobs-filters button.office-filter-card h4 {
	    display: flex;
	    justify-content: center; 
	    align-items: center;    
	    width: 50%;            
	    margin: 20px auto;         
	}
}

@media print,
  screen and (min-width: 1088px) {
	  .widget-jobs .aaa-jobs-filters button.office-filter-card h4 {
	    width: 40%;                  
	}
}
/* Filter inputs and buttons styling omitted here for brevity */

/* Pagination */
.widget-jobs .jobs-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 2rem;
}

@media print,
  screen and (min-width: 769px) {
  .widget-jobs .jobs-pagination {
    margin: 3rem 0 2rem;
  }
}

@media screen and (min-width: 1088px) {
  .widget-jobs .jobs-pagination {
    margin: 4rem 0 2rem;
  }
}

.widget-jobs .jobs-pagination .page-numbers {
  background: #fff;
  box-shadow: 0 2px 10px rgba(1, 14, 46, .16);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.25rem;
  margin: 0 .5rem;
  color: #46eaf1;
  transition: all .3s ease-in-out;
}

.widget-jobs .jobs-pagination .page-numbers.current {
  background: #e3eaff;
  color: #010e2e;
}

.widget-jobs .jobs-pagination .page-numbers:not(.current):hover {
  background: #46eaf1;
  box-shadow: none;
  color: #010e2e;
}

#job-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#job-popup-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

#job-popup-content {
  position: relative;
  background: white;
  border-radius: 10px;
  max-width: 80%;
  max-height: 100vh;
  overflow: hidden; 
  z-index: 2;
  box-sizing: border-box;
  color: #010e2e;
  padding: 3.5rem;
}

@media print,
  screen and (max-width: 769px) {
  	#job-popup-content {
      padding: 2rem;
  }
}

#job-popup-content #popup-job-title{
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}

#popup-job-scroll {
  max-height: calc(80vh - 8rem); 
  overflow-y: auto;
  padding-right: 1rem; 
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}

/* Close button */
#job-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

#popup-job-description ul {
  padding-left: 1.5em; /
  margin-bottom: 1em;
  list-style-type: disc;
}

#popup-job-description li {
  padding-left: 1.5rem;
}

#popup-job-description strong {
  font-weight:700;
}
.job-item-wrapper {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
    border-radius: .25rem;
    box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
    color: #4a4a4a;
}

.card-footer-ext {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1.5rem 0 1.5rem;
}

.apply-btn {
  background: #46eaf1;
  color: #010e2e;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  margin-left: 0.5rem;
  box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1);
  display: inline-block;
}

.apply-btn:hover,
.apply-btn:focus {
  background: #010e2e;
  color: #46eaf1;
  text-decoration: none;
}

@media print,
  screen and (min-width: 769px) {
	.job-item-wrapper {
		width: 45% !important;
	}
}

@media screen and (min-width: 1088px) {
	.job-item-wrapper {
		width: 30% !important;
	}
}