/* Typography + base spacing */
#vacancy_details p,
.job p {
    margin-bottom: 8px !important;
    color: #333;
    line-height: 1.5;
}

/* Job listing container */
.job {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

/* Labels */
.job label,
#vacancy_details label,
.searchlabel {
    float: left;
    width: 180px;
    font-weight: 600;
    color: #222;
}

.view_morebtn,
.jobapply {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid #EE8C24;
    background-color: #EE8C24;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.view_morebtn:hover,
.jobapply:hover {
    background-color: #004f9e;
}

/* Forms & selects */
.search_form select,
.search_form .search_form_Keywordsearch {
    width: 160px;
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
}

/* Job summary layout */
.job_summary {
    display: table-cell;
    text-align: justify;
}

.desc-wrapper,
.title-wrapper {
    display: table;
    text-align: left;
}

/* Alerts – subtle, flat */
.alert {
    padding: 10px 15px;
    margin-bottom: 18px;
    background-color: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    color: #333;
}

.alert-success {
    background-color: #e9f5ee;
    border-color: #cde5d8;
    color: #276738;
}

.alert-danger,
.alert-error {
    background-color: #fdecea;
    border-color: #f5c2c7;
    color: #842029;
}

/* Pagination */
.pageul {
    margin: 10px 0;
    text-align: center;
}

.pageul li {
    list-style: none;
    display: inline-block;
    margin: 0 4px;
    padding: 4px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 14px;
    background-color: #ffffff;
    cursor: pointer;
}

/* Checkbox filters */
.chk_filter {
    margin: 8px 10px;
}

.chk_filter label {
    vertical-align: middle;
    margin-left: 5px;
}

/* Login submit */
input[name='login_submit'] {
    margin: 10px 0;
    padding: 8px 14px;
    border: 1px solid #005eb8;
    background-color: #005eb8;
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
}

/* Misc */
.star {
    color: #d5281b;
}

.search-control-all {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .job label,
    #vacancy_details label {
        width: 40%;
    }

    article section table td {
        padding: 0;
    }

    .chk_filter {
        float: left;
        width: auto;
    }
}
