/*
 * BP Job Manager Select2 Compatibility 1.0.1
 * Keep the original native multiple selects visible and hide only the
 * duplicate Select2 presentation for Job Type and Job Category.
 */

.job-manager-form select#job_type,
.job-manager-form select#job_category,
.job-manager-form select[name="job_type[]"],
.job-manager-form select[name="job_category[]"] {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 120px;
    margin: 0 !important;
    padding: initial;
    overflow: auto !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    border: revert;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide only the Select2 container created immediately after these fields. */
.job-manager-form select#job_type + .select2,
.job-manager-form select#job_category + .select2,
.job-manager-form select[name="job_type[]"] + .select2,
.job-manager-form select[name="job_category[]"] + .select2 {
    display: none !important;
}
