hr {
    color: #ccc;
}

#jb-page {
max-width: 1320px;
margin: 0px auto;
/*background-color: aqua;*/
}

#jb-logo {
    padding: 10px 0px 10px 0px;
    display: flex;
    justify-content: space-between;
}

img.manage-now-logo {
    max-width: 300px;
}

.jb-list-item {
    display: block;
    color: #333;
    background-color: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.07999999821186066);
    padding: 10px 10px 10px 10px;
    margin: 10px 10px 10px 10px;
    min-height: 40px;
    text-decoration: none;
}

.jb-list-titel {
    display: flex;
    margin-bottom: 10px;
    font-size: 18px;
}

.jb-list-info {
    font-size: 16px;
}

#jb-backbanner {
    background: #0a1d4a;
    padding: 0.8em;
    margin-top: 20px;
    display: block;
}

#jb-backbanner a {
    text-decoration: none;
    color: #d5dce6;
}

.jb-detail-title {
    font-size: 18px;
    margin: 50px 0px 10px 0px;
}

.jb-detail-info {
    font-size: 16px;
}

.jb-detail-desc {
    padding: 30px 0px 10px 20px;
    /*box-shadow: 0 2px 8px 0 rgba(0,0,0,.07999999821186066);
    background: #fff;*/
    margin-bottom: 20px;
}

.jb-detail-desctitel {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.jb-detail-descvalue {
    font-size: 16px;
}
/* Ensure everything uses the Aptos font */
body, td {
    font-family: 'Aptos', Arial, sans-serif;
    background: #d5dce6;
}

.jb-footer {
    background: #0a1d4a;
    margin-top: 3em;
    padding: 0.8em;
    text-align: right;
}

.jb-footer a, .jb-footer a:visited {
    color:#d5dce6;
    text-decoration: none;
}
.jb-footer a:hover {
    color:#83ea00;
    text-decoration: none;
}

.hero-container {
    /* border-top: 0.3em solid #0a1d4a;
    border-bottom: 0.3em solid #0a1d4a; */
    background-color: #0a1d4a;
    background-image: url("/images/mn_banner.jpg");
    background-size: cover; 
    background-position: top;
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center; 
    color: #0a1d4a;
    font-size: 24px; 
    font-weight: bold;
    text-shadow: 2px 2px 5px white, -2px -2px 5px white;
    text-align: center;
       
}
/* Media Query für Bildschirme kleiner als 600px */
@media screen and (max-width: 600px) {
    .hero-container {
        height: 80px;    /* Höhe des Banners für mobile Geräte */
        font-size: 18px; /* Kleinere Schriftgröße für mobile Geräte */
    }
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 18vh;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

/* Search bar styling */
.search-bar {
    margin: 20px auto;
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;   
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
}

.search-bar input,
.search-bar select,
.search-bar button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: none;
}

#search-btn {
    padding: 10px 20px;  
    background-color: #999;
    color: white;
    border: none;
    cursor: pointer;
    max-width: 20%;
}

#search-btn:hover {
    background-color: #666;
}  

 
@media (max-width: 768px) {
  .search-bar {
    flex-direction: row;
  }
 
  .search-bar input,
  .search-bar select {
    flex: 1 1 50%;
  }
 
  .search-bar button {
    flex: 1 1 100%;
    max-width: 100% !important;
  }
    #search-subcompany { 
        margin: 0;
    }
    #search-input{
         margin: 0;
    }
}


 
  
  /* Department links */
.department-links {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    width: 75%; /* Same width as the search bar */
    justify-content: flex-start; /* Aligns the items to the left */
}

.jb-departments-item {
    padding: 10px 20px;
    background-color: #ccc;
    color: black;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.jb-departments-item:hover {
    background-color: #666;
    color: white;
}

  /* Department links */
.subcomp-links {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    width: 75%; /* Same width as the search bar */
    justify-content: flex-start; /* Aligns the items to the left */
}

.jb-subcomp-item {
    padding: 10px 20px;
    background-color: #ccc;
    color: black;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.jb-subcomp-item:hover {
    background-color: #666;
    color: white;
}
  
  /* Job list styling */
  .jb-list-item {
      display: block;
      margin: 10px;
      /* width: 100%; */
      background-color: white;
      padding: 15px;
      border-radius: 5px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      text-decoration: none;
      color: black;
      position: relative;
  }
  
  .jb-list-item:hover {
      background-color: #f2f2f2;
  }
  
  .jb-arrow {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5rem;
      color: darkgray;
  }

  /* Subcompany headers */ 
  h2 {
      margin-left: 10px;
      margin-right: 10px;
      font-size: 1.75rem;
  }
  .jb-list-compblock {
      margin: 20px auto;
      width: 75%;
      border: 1px solid #ccc;
      border-radius: 5px;
 }  
  
  /* Department headers */
  h3 {
      margin-left: 10px;
      margin-right: 10px;
      font-size: 1.2rem;
  }
  
  .nojobs {
    width: 75%;
    display: block;
    margin: auto;
    text-align: center;
}
  
/* Styling for job.php page */

/* Logo Styling */
.logo-img {
    display: block;
    margin: 0 auto;
    width: 80%;
    max-width: 80%;
}

/* Backbanner Styling */

.backarrow {
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 10px;
}

/* Job Details Box */
.job-details-box {
    /*background-color: white; */
    width: 75%;
    margin: 10px auto;
    padding: 15px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    border-radius: 8px;
    font-family: 'Aptos', Arial, sans-serif;
}

.jb-detail-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.jb-detail-info {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.job-details-box hr {
    margin: 20px 0;
}

/* About Us Section */
.about-us {
    width: 75%;
    margin: 10px auto;
    padding: 15px;
    /*background-color: white;*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: 'Aptos', Arial, sans-serif;
    line-height: 1.6;
    text-align: left;
}

.about-us strong {
    font-size: 1.8rem;
    color: #333;
}

.apply-test01 {
    width: 75%;
    margin: 10px auto;
    padding: 15px;
    font-family: 'Aptos', Arial, sans-serif;
    line-height: 1.6;
    text-align: left;    
}

/* Video Styling */
.video-container {
    width: 75%;
    margin: 30px auto;
    text-align: center;
}

.video-container iframe {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Apply Button */
.job-apply {
    text-align: center;
    margin: 30px auto;
}

/* Ensure iframe displays full height */
.video-container iframe {
    width: 100%;
    height: 315px; /* Ensure it has enough height to display fully */
    max-width: 100%;
}

.apply-form-box {
    background-color: white;
    width: 70%;
    margin: 40px auto;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Aptos', Arial, sans-serif;
}

/* Flex layout for inline inputs */
.inline-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.inline-group .input-half, .input-full {
    width: 48%;
    padding: 15px;
    font-size: 1rem;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}

.inline-group label {
    width: 48%;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Full-width styling for Telefon and E-Mail */
.input-full {
    width: 100%;
}

.form-group label {
    margin-bottom: 15px;
    display: block;
}

/* Checkbox styling */
.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.form-group-checkbox input[type="checkbox"] {
    margin-right: 10px;
    align-items: center;
}

/* Button alignment */
.form-group-buttons {
    display: block;
    /*justify-content: space-between; */
    margin-top: 50px;
}

.apply-button, .cancel-button {
    padding: 30px 40px;
    background-color: #83EA00;
    color: #0A1D4A;
    font-size: 1.2rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    width: 250px;
    border: 1px solid black;
    margin-bottom: 10px;

}

.apply-button:hover, .cancel-button:hover {
    background-color: #0a1d4a;
    color: #d5dce6; 
}

.jb-message {
    text-align: center;
    margin-top: 20%;
    margin-bottom: 20%;
}

.jb-list-intern {
    display: block;
    border: 1px solid black;
    font-size: 0.5em;
    padding: 3px;
    height: max-content;
    margin: 0px 0px 0px 20px;
    background: #83ea00;
}



