/* =========================================== */
/* Mobile Styling - Default Values */
/* =========================================== */
@media only screen and (max-width: 768px) {
  body #t2m-job.t2m-job-detail .job-content {
    margin-right: 10px;
  }
}

/* =========================================== */
/* General Styling - Default Values */
/* =========================================== */
#t2m-job h1,
#t2m-job h2,
#t2m-job h3,
#t2m-job h4,
#t2m-job h5,
#t2m-job h6 {
  margin: 0;
  padding: 9px 0 4px;
}

#t2m-job .job-listing-details {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: var(--t2m-details-overview-font-size);
}

#t2m-job .job-listing-details>* {
  flex-grow: 1;
  width: 100%;
}

#t2m-job span.key {
  font-weight: bold;
}

#t2m-job .job-listing-detail .val,
#t2m-job .job-listing-detail .key {
  font-size: var(--t2m-details-overview-font-size);
  font-family: var(--t2m-details-text-overview-font);
}

#t2m-job .job-body .job-content ul,
#t2m-job .job-body .job-content ol {
  list-style: disc;
}

#t2m-job .job-body .job-content ul li,
#t2m-job .job-body .job-content ol li {
  display: list-item;
  margin-left: 2.5em;
  text-align: match-parent;
}

/* =========================================== */
/* Overzichtspagina - Default Values */
/* =========================================== */
.job-listing {
  display: flex !important;
  flex-wrap: wrap;
}

#t2m-job .job-thumb {
  max-height: 225px;
  min-height: 225px;
  object-fit: cover;
  width: 100%;
}

#t2m-job .t2m-job-overview .job-card {
  display: block;
  /* margin: 10px; */
  margin-bottom: 20px; /* revert og css */
  position: relative;
}

#t2m-job .t2m-job-overview .job-card-inner {
  min-height: 50%;
}

#t2m-job .t2m-job-overview .job-footer-row {
  padding: 10px 20px 10px 20px;
}

#t2m-job .t2m-job-overview .job-under-wrapper {
  height: 100%;
  padding: 20px 20px 0 20px;
}

#t2m-job .t2m-job-overview h4 {
  margin-bottom: 15px;
}

/* =========================================== */
/* Overzichtspagina - Media Queries */
/* =========================================== */
@media (max-width: 768px) {
  :root {
    --columns-size-width: 100% !important;
  }

  #t2m-job .t2m-job-overview {
    grid-template-columns: repeat(1, 85vw);
  }

  #t2m-job.t2m-job-detail {
    display: block !important;
  }

  #t2m-job.t2m-job-detail {
    display: block;
  }

  #t2m-job.t2m-job-detail .job-container-detail {
    width: 100% !important;
  }

  #t2m-job.t2m-job-detail .t2m_sidebar {
    padding: 20px;
    width: 100% !important;
  }

  .t2m-login-button {
    width: auto !important;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  :root {
    --columns-size-width: 48% !important;
  }

  #t2m-job .t2m-job-overview {
    grid-template-columns: repeat(2, 90vw);
  }
}

/* =========================================== */
/* Data Template - Default Values */
/* =========================================== */
#t2m-job .job-row {
  display: flex;
  flex-direction: column;
}

#t2m-job[data-template="Default"] .job-thumb {
  float: left;
  min-height: 32em;
  width: 40%;
}

#t2m-job[data-template="Default"] .job-row {
  width: 60%;
  float: right;
}

#t2m-job[data-template="Default"] .t2m-job-overview .job-footer-row {
  padding: 20px;
}

#t2m-job .t2m-job-overview p {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  display: -webkit-box;
  overflow: hidden;
}

#t2m-job .job-row-details,
#t2m-job .job-row-department {
  margin-top: 20px;
}

@media only screen and (max-width: 1024px) {

  #t2m-job .job-row,
  #t2m-job .job-thumb {
    width: 100%;
  }

  #t2m-job .job-thumb {
    min-height: 13em !important;
  }
}

/* =========================================== */
/* Vacaturepagina */
/* =========================================== */
/* TODO: Classes uniek maken binnen de T2M classes / id's. */
.t2m-job-detail {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .t2m-job-detail {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .t2m-job-detail {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .t2m-job-detail {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .t2m-job-detail {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .t2m-job-detail {
    max-width: 1320px;
  }
}

body #t2m-job .job-container-detail {
  padding: 20px;
  background-color: var(--t2m-bg-color-vacancy) !important;
}

body #t2m-job.t2m-job-detail .job-content>*,
body #t2m-job.t2m-job-detail .job-content>p,
#t2m-job .filter-no-result {
  padding-left: 0 !important;
}

body #t2m-job.t2m-job-detail .job-content .job-text>p {
  padding-bottom: 0 !important;
}

body #t2m-job.t2m-job-detail .job-content .job-text .t2m-nl {
  line-height: 0.8rem;
}

body #t2m-job .job-text {
  margin-bottom: 20px;
}

body #t2m-job.t2m-job-detail {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  width: 95%;
}

body #t2m-job.t2m-job-detail .job-container-detail {
  width: 65%;
}

body #t2m-job.t2m-job-detail .t2m_sidebar .sub-title {
  font-weight: bold;
}

body #t2m-job.t2m-job-detail .job-content {
  margin-bottom: 20px;
}

body #t2m-job.t2m-job-detail img.recruiter-img {
  width: 100%;
}

/* Sidebar Disabled */
body #t2m-job[data-sidebar="false"] .job {
  width: 100%;
  float: unset;
}

body .job-body .job-tags {
  margin: 20px 0;
}

/* =========================================== */
/* Sollicitatiepagina */
/* =========================================== */
body .job-body .t2m-question-widget>table.table>tbody tr td:nth-child(2) {
  min-width: 125px;
}

body #t2m-job .job-container-solliciteren {
  background-color: var(--t2m-bg-color-apply);
  width: 100%;
}

body #t2m-job .job-container-solliciteren .job-body {
  padding: 20px;
}

body #t2m-job .job-container-solliciteren .form-control {
  margin-top: 15px;
  padding: 16px 20px;
  outline: none;
  min-height: 55px;
  position: relative;
  z-index: 2;
  width: 100%;
}

body #t2m-job .job-container-solliciteren .t2m-cv-column,
body #t2m-job .job-container-solliciteren .t2m-submit-section {
  margin-top: 30px;
}

body #t2m-job .job-container-solliciteren .t2m-input-field-firstname {
  display: inline-block !important;
  width: 50%;
  padding-right: 15px;
}

body #t2m-job .job-container-solliciteren .t2m-input-field-surname {
  display: inline-block !important;
  width: 50%;
  padding-left: 15px;
}

body #t2m-job .job-container-solliciteren .t2m-input-field {
  padding: 10px;
  display: flex;
  flex-direction: column;
}

input.form-control {
  padding: 10px !important;
  width: 100%;
  background: transparent;
  line-height: 1.5rem;
}

.job-text .t2m-submit-button{
  float: none;
}
.job-text{
  position: relative;
}

.rve-return {
  position: absolute;
  bottom: 18px;
  left: 50%;
  margin: 0 auto !important;
}

@media only screen and (max-width: 768px) {
  .rve-return {
    position: relative;
  }
}

/* =========================================== */
/* Button Styling */
/* =========================================== */
body .job-button.primary.solliciteren {
  width: unset !important;
}

body #t2m-job a.return-button {
  margin-bottom: 20px;
}

body #t2m-job .t2m-submit-button {
  margin: 20px 0;
}

body #t2m-job a,
body #t2m-job a.return-button,
body #t2m-job .job-detail-link.apply-button {
  text-decoration: none !important;
  box-shadow: none !important;
}

body #t2m-job button.job-button {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  body #t2m-job a.solliciteren-sidebutton {
    opacity: 0;
  }
}

body #t2m-job button.job-button,
body #t2m-job .t2m-submit-button,
body #t2m-job a.return-button,
a.job-button.primary.solliciteren,
a.solliciteren-sidebutton {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  transition: 250ms ease;
}

a.solliciteren-sidebutton {
  position: fixed !important;
  top: 50% !important;
  right: -25px !important;
  transform: rotate(-90deg) !important;
  z-index: 999 !important;
  opacity: 100;
}

body #t2m-job .socials_container>a {
  width: 30px;
  display: inline-block;
  margin-right: 15px;
  margin-top: 5px;
}

.t2m-login-button {
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  width: 95%;
  max-width: 300px;
  margin: 20px 0;
}

/* =========================================== */
/* Filter Styling */
/* =========================================== */
.t2m_filter select {
  transition: 250ms ease;
  width: fit-content;
  display: inline-flex;
  margin-right: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}

.t2m_filter select option {
  cursor: pointer;
  transition: 250ms ease;
}

.t2m_filter {
  margin: 10px 0;
}

/* =========================================== */
/* Sidebar Styling */
/* =========================================== */
.t2m_sidebar {
  height: 100%;
  width: 30%;
}

aside.t2m_sidebar .job-department-details span,
aside.t2m_sidebar .job-listing span.key,
aside.t2m_sidebar .job-listing span.val,
aside.t2m_sidebar .job-listing-detail,
aside.t2m_sidebar .job-recruiter-detail {
  display: block;
}

/* =========================================== */
/* PAGINATION */
/* =========================================== */
body #t2m-job .pagination {
  display: block !important;
  text-align: left;
  margin: 20px 0;
}

body #t2m-job .pagination .next.page-numbers,
body #t2m-job .pagination .prev.page-numbers {
  background-color: transparent;
  border: none !important;
  font-size: 1.35rem;
  color: var(--t2m-title-overview-color);
  font-weight: 400;
}

body #t2m-job .pagination span.page-numbers,
body #t2m-job .pagination a.page-numbers {
  padding: 5px 10px;
  border: 1px solid #e0e0e0 !important;
  background-color: var(--t2m-btn-bg-color);
  font-weight: 600;
  transition: 0.2s ease-in-out;
  cursor: pointer;
  font-family: var(--t2m-btn-font), sans-serif;
  font-size: 15px;
  border-radius: var(--t2m-btn-border-radius);
  color: var(--t2m-btn-text-color);
  margin: 0 2px;
}

body #t2m-job .pagination .pager.page-numbers.current {
  border: 1px solid var(--t2m-btn-bg-color-hover) !important;
  color: var(--t2m-btn-text-color-hover);
  background-color: var(--t2m-btn-bg-color-hover);
  cursor: auto;
  transition: 250ms ease;
}

#t2m-job iframe {
  border: 0;
}

.banner_image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
