/*
 Theme Name:   ES | karriere child
 Template:     karriere
*/

input[type=checkbox]+label, input[type=radio]+label {
    vertical-align: inherit !important;
}

#wizard a[href="#next"], #wizard a[href="#finish"], #wizard a[href="#previous"] {
    background-color: #438854 !important;
    color: white;
}

table.dataTable {
    word-break: initial !important;
}

.table-container {
    margin: auto;
    width: 95%;
}

.dataTables_scroll th, .dataTables_scroll td {
    border: 1px solid #000 !important;
}

.table-container .pagination {
    max-width: unset !important;
}

#filtered-data .response-data, #filtered-data .request-data {
    margin: 5px auto !important;
    display: block !important;
}

#filtered-data_wrapper {
    margin-top: 5em !important;
}

#table-info {
    margin: 0.5em;
}

#filtered-data_wrapper .dt-button {
    color: #000;
    background-color: unset !important;
}

#filter-form .form-check-label {
    vertical-align: sub !important;
}

#filter-form .file-type-name {
    font-weight: bold;
}

#filtered-data_wrapper .dt-buttons {
    float: left !important;
}

.dataTables_wrapper, .dataTables_filter label {
    font-size: 13px !important;
}

#filter-form .form-check-inline {
    align-items: unset !important;
}

#filter-form input[type="radio"]+label {
    margin-left: 0.5rem !important;
}

.application-form input[type="checkbox"]+label {
    vertical-align: bottom !important;
}

#filter-page-table .page-item {
    margin-top: 0.5rem;
}

#filter-form .form-control {
    height: auto !important;
}

/* For loading icon */

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.badge {
    white-space: unset !important;
}

/* APPLICATION FORM */

.app-form-section {
    padding-top: 20px;
}

#wizard.wizard.vertical>.content {
    margin: 0px;
    width: 100%;
}

#wizard .badge.badge-success {
    color: #008E54;
    border-radius: 0px;
    font-size: 2em;
    padding: 0.5em;
}

#wizard .dropzone .dz-preview .dz-error-message {
    top: 155px !important;
}

#wizard .dropzone .dz-error-mark svg g g {
    fill: #c00;
}

#wizard form label.form-label {
    font-size: 1.4em;
}

#wizard form .subtext {
    font-size: 1em !important;
}

#wizard table thead .jobs-header {
    font-weight: bold;
}

#wizard table thead tr {
    font-weight: bold;
}

#wizard table tbody tr:hover {
    background-color: #f9f9f9;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 10%);
}

#wizard #form-preview a.goToStep {
    cursor: pointer;
}

#wizard.wizard.vertical>.actions {
    width: 100%;
    margin: 0 !important;
    margin-bottom: 30px !important;
    
}


#wizard .actions ul {
    width: 100%;
}

#wizard .actions li.disabled a {
    opacity: 0.3;
    cursor: not-allowed;
}

#wizard .actions li.previous-btn {
    float: left;
    margin-left: 0px;
}

#wizard .actions li.next-btn, #wizard .actions li.finish-btn  {
    float: right;
    margin-right: 0px;
}

#wizard a[href="#next"], #wizard a[href="#finish"], #wizard a[href="#previous"] {
    background-color: #008E54 !important;
}

#wizard .actions li a {
    font-size: 0.9em;
    font-weight: 700;
}

#job-list-block {
    border: 1px solid;
    min-height: 800px;
    /* width: max-content; */
}

#map {
    width: 100%;
    height: 400px;
}

#wizard .map-job-search table tr td {
    padding: 10px 5px;
    width: 25%;
    line-height: 20px;
    font-size: 12px;
}

#wizard .marker-popup .location img {
    height: 12px;
}

.wizard>.content>.body {
    float: none !important;
    margin-top: 100px;
}

#show-error {
    top: 100px;
    text-align: center;
}

#wizard .dropzone {
    border-radius: 14px !important;
}

#wizard .dropzone .dz-button {
    font-size: 1.2em;
    color: grey !important;
}

#wizard .text-success {
    color: #008E54 !important;
}

#wizard .bg-success {
    background-color: #008E54 !important;
}

#wizard .badge {
    padding: 0.5em 0.6em;
}

/* JOB DETAILS */
.job-details .main-details .main-desc .desc_subtitle1, .job-details .main-details .main-desc .desc_subtitle2 {
    font-size: 1.2em;
    color: #008e54;
    margin-top: 40px;
    margin-bottom: 0px;
}

.job-details .main-details .main-desc .desc_subtitle1 strong, .job-details .main-details .main-desc .desc_subtitle2 strong {
    color: #008e54;
}

job-details .main-details .main-desc ul, .job-details .main-details .main-desc ul {
    margin-top: 0px;
}


/* END JOB DETAILS */

#wizard .text-separator {
    font-size: 1.5em;
}

@media (max-width: 991px) {
    .wizard>.content>.body {
        margin-top: 30px;
    }

    #show-error {
        top: 0px;
    }
}

@media (max-width: 768px) {
    #wizard form label.form-label {
        font-size: 1.2em;
    }

    #wizard table thead tr td {
        font-size: 10px !important;
    }

    #wizard table tbody tr {
        border-bottom: 1px solid #262b35;
    }

    #wizard table tbody tr td {
        font-size: 10px;
        line-height: 16px;
    }

    #wizard table tbody tr td a.btn {
        padding: 6px 5px;
        font-size: 7px;
    }

    #wizard form .subtext {
        font-size: 0.8em !important;
        line-height: 1.6em;
        margin: -10px 0 10px 0;
    }
    
    #wizard form .form-check-label {
        font-size: 14px;
    }
}

.list-style-07.filter-category li, .list-style-07.filter-size li {
    padding: 0 0 0 30px !important;
}

.filter-category li.subcategory {
    margin-left: 0 !important;
}

.display-max991 {
    display:block;
}

@media (max-width: 991px) {
    .display-max991 {
        display:grid;
    }
}

.jobs-text {
    width: auto;
    vertical-align: top;
    overflow: hidden;
    background-clip: padding-box;
    border-top: 1rem solid #fff;
    border-bottom: 1rem solid #fff;
    position: relative;
}

.desc-title {
    color: #2d8e54;
    display: block;
    font-weight: 700;
}

.ul-list {
    margin-bottom: 25px !important;
}

.main-desc .ul-list li::before {
    font-size: 24px !important;
}

.custom-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #009845;
    color: white;
    z-index: 1051; /* above .fixed-top */
    background-color: #008E54;
    padding: 20px;
    text-align: center;
}

.custom-banner .banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.custom-banner .banner-content p {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.custom-banner img {
    max-height: 50px;
}

.custom-banner .close-banner {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
.fixed-top {
    position: fixed;
    top: 90px; /* match the banner height */
    right: 0;
    left: 0;
    z-index: 1030;
}

.custom-banner .visible {
    display: block;
}

.img-arbeitgeber {
    max-width: 75%;
}

/* ES Footer Styles */
.footer-bottom {
  overflow-x: hidden;
}

.footer-bottom .container {
  max-width: 100%;
  overflow-x: hidden;
}

.footer-bottom .row.align-items-center {
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
}

@media (min-width: 992px) and (max-width: 1122px) {
    .footer-bottom .row.align-items-center {
        flex-direction: column;
        gap: 15px !important;
    }
}

/* Desktop - centered horizontal layout */
@media (min-width: 992px) {
  .footer-bottom .row.align-items-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  .footer-horizontal-link {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-horizontal-link::after {
    content: "";
    display: inline-block;
    flex: 0 0 30px;
  }

  .footer-bottom .social-icon-style-12 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-bottom .col-md-12,
  .footer-bottom .col-lg-8,
  .footer-bottom .col-lg-4 {
    display: contents;
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .footer-bottom .row.align-items-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .footer-bottom .col-lg-8 {
    width: 100%;
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  .footer-bottom .col-lg-4 {
    width: 100%;
    text-align: center !important;
  }

  .footer-horizontal-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-horizontal-link::after {
    display: none;
  }

  .footer-bottom .social-icon-style-12 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
  .footer-bottom .row.align-items-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .footer-bottom .col-md-12,
  .footer-bottom .col-lg-8,
  .footer-bottom .col-lg-4 {
    width: 100%;
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  .footer-horizontal-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-horizontal-link::after {
    display: none;
  }

  .footer-bottom .social-icon-style-12 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

/* Common styles for all screen sizes */
.footer-horizontal-link li {
    margin-right: 0 !important;
}

.footer-horizontal-link li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s ease-in-out;
}

.footer-horizontal-link li a:hover {
  color: #fff;
}

.footer-bottom .social-icon-style-12 ul li a {
  color: #ccc;
  transition: color 0.2s ease-in-out;
}

.footer-bottom .social-icon-style-12 ul li a:hover {
  color: #fff;
}

.featured_items_group .feature-box-content a.collapse-link.collapsed::after {
    content: 'más' !important;
}

.featured_items_group .feature-box-content a.collapse-link:not(.collapsed)::after {
    content: 'menos' !important;
}