/* UZP Design System - Static CSS */

.uzp,
.uzp * {
    font-family: Arial, Sans-Serif;
    font-size: 16px;
    letter-spacing: normal;
}

.uzp p {
    margin: 0 0 0.75em;
    letter-spacing: normal;
}

.uzp a {
    text-decoration: none;
    box-shadow: none;
    color: #0075bd;
    transition: all 0.25s ease;
}

.uzp a:hover {
    text-decoration: underline;
    color: #0075bd;
    opacity: 0.8;
}

.uzp .text-muted {
    color: #777777;
    padding-bottom: 10px;
}

.uzp h1,
.uzp h2,
.uzp h3,
.uzp h4 {
    text-transform: none;
    margin-bottom: 0.75em;
    margin-top: 0;
    letter-spacing: normal;
}

.uzp h1,
.uzp h1 a {
    font-size: 32px;
    text-transform: uppercase;
    color: #333333;
}

.uzp h2,
.uzp h2 a {
    font-size: 20px;
    text-transform: none;
}

.uzp h3,
.uzp h3 a {
    font-size: 18px;
    text-transform: uppercase;
}

.uzp h4,
.uzp h4 a {
    font-size: 16px;
}

.uzp input[type='text'],
.uzp input[type='email'],
.uzp input[type='number'],
.uzp input[type='tel'],
.uzp input[type='date'],
.uzp input[type='url'],
.uzp textarea,
.uzp__form-control {
    box-sizing: border-box;
    border-radius: 0;
    -webkit-border-radius: 0;
    color: #000;
    background: #fff;
    border: 1px solid #ddd;
    display: block;
    padding: 0 8px;
    height: 34px;
    width: 100%;
    font-size: 16px;
    text-transform: none;
    font-weight: normal;
}

.uzp textarea,
.uzp__form-control.uzp-textarea {
    height: 8em;
    padding: 10px;
}

.uzp input::placeholder {
    font-weight: normal;
    font-family: Arial, Sans-Serif;
    color: #999;
    font-size: 16px;
}

.uzp input[type='text']:focus,
.uzp input[type='email']:focus,
.uzp input[type='number']:focus,
.uzp input[type='tel']:focus,
.uzp input[type='date']:focus,
.uzp input[type='url']:focus,
.uzp textarea:focus,
.uzp__form-control:focus {
    border-color: #bbb;
    outline: none;
}

.uzp__input {
    box-sizing: border-box;
    border-radius: 0;
    color: #000;
    background: #fff;
    border: 1px solid #ddd;
    display: block;
    padding: 0 8px;
    height: 34px;
    width: 100%;
    font-size: 16px;
}

.uzp__input:focus {
    border-color: #bbb;
    outline: none;
}

.uzp__select {
    width: 100%;
    outline: none;
    position: relative;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-border-radius: 0;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    display: block;
    height: 34px;
    font-size: 16px;
    text-transform: none;
    font-weight: normal;
    padding: 5px 8px;
}

.uzp button,
.uzp a.uzp-button,
.uzp input[type='button'],
.uzp input[type='submit'],
.uzp__vacancy-form button[type='submit'] {
    background-color: #0075bd;
    border: 1px solid #0075bd;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-weight: 600;
    font-size: 1em;
    padding: 0 8px;
    width: 100%;
    height: 2.3em;
    line-height: 2.3em;
    text-shadow: none;
    -webkit-transition: background 0.2s, border-color 0.2s;
    transition: background 0.2s, border-color 0.2s;
    text-align: center;
    text-decoration: none;
}

.uzp button.uzp-button--large,
.uzp a.uzp-button--large {
    line-height: 3em;
    height: 3em;
}

.uzp a.uzp-button:hover,
.uzp button:hover,
.uzp input[type='button']:hover,
.uzp input[type='submit']:hover,
.uzp__vacancy-form button[type='submit']:hover {
    background-color: #005a91;
    border-color: #005a91;
    outline: none;
    color: #ffffff;
    text-decoration: none;
}

/* Form groups */
.uzp__form-group {
    margin-bottom: 15px;
    overflow: hidden;
}

.uzp__form-group label,
.uzp__control-label {
    font-weight: 600;
    padding-top: 5px;
    display: block;
}

.uzp__form-group .uzp-col-sm-3 {
    padding-top: 5px;
}

.uzp__form-item {
    margin: 10px 0;
}

.uzp__checkbox label {
    min-height: 25px;
    padding-left: 30px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    display: block;
    padding-top: 0;
    position: relative;
}

.uzp__checkbox input[type='checkbox'] {
    position: absolute;
    margin-left: -28px;
    top: 5px;
}

.uzp__help-block {
    color: #a94442;
    font-size: 13px;
    margin-top: 4px;
}

.uzp__help-block--hidden {
    display: none;
}

.uzp__form-group--has-error label,
.uzp__form-group--has-error .uzp__help-block {
    color: rgb(169, 68, 66);
}

.uzp__form-group--has-error input,
.uzp__form-group--has-error .uzp__form-control {
    border-color: rgb(169, 68, 66) !important;
}

.uzp__form-success-message {
    display: none;
    width: 100%;
    border: 1px solid #DAE8C9;
    background: #E3EFDA;
    color: #4C7443;
    padding: 10px;
    border-radius: 0;
}

.uzp__form-error-message {
    width: 100%;
    margin: 20px 0;
    border: 1px solid #EBCCD1;
    background: #F2DEDE;
    color: #a94442;
    padding: 10px;
    border-radius: 0;
}

.uzp__form-success .uzp__form-success-message {
    display: block;
}

.uzp__form-success .uzp__form-group {
    display: none;
}

/* Job listing index */
.uzp__vacancy-container {
    display: flex;
    gap: 20px;
}

.uzp__filters {
    width: 26%;
    flex-shrink: 0;
}

.uzp.uzp_index {
    width: 74%;
    flex: 1;
}

.uzp__clear-filter {
    display: inline-block;
    color: #111;
    border-bottom: 1px solid transparent;
}

.uzp__current-filters {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,.5);
    width: 90%;
    padding-bottom: 10px;
}

.uzp__category {
    margin: 10px 0;
}

.uzp__category span {
    color: navy;
    text-transform: uppercase;
    font-weight: 700;
}

.uzp__tag {
    padding: 4px 0;
}

.uzp__tag a {
    color: #111;
    box-shadow: none;
}

.uzp__tag a:hover {
    text-decoration: none;
}

span.check {
    margin-right: 5px;
}

/* Job index cards */
.uzp__index-item {
    margin-bottom: 20px;
    padding: 14px;
    border: 2px solid #eee;
    background-color: #fdfdfd;
    border-radius: 6px;
    position: relative;
}

.uzp__index-item h2 {
    margin-bottom: 0.5em;
    font-size: 20px;
}

.uzp__index-item h2 a {
    color: #333333;
    text-decoration: none;
}

.uzp__index-item h2 a:hover {
    color: #0075bd;
    text-decoration: none;
}

.uzp__index-item p {
    margin: 0;
    font-weight: 400;
}

.uzp__meta {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Excerpt buttons override */
.uzp__index-item .btn-primary,
.uzp__index-item a.btn-primary {
    background-color: #0075bd;
    color: #ffffff !important;
    border: 1px solid #0075bd;
    border-radius: 4px;
    padding: 6px 14px;
    text-decoration: none !important;
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    height: auto;
    width: auto;
    margin-top: 10px;
}

.uzp__index-item .btn-primary:hover,
.uzp__index-item a.btn-primary:hover {
    background-color: #005a91;
    border-color: #005a91;
    text-decoration: none !important;
}

/* Search bar */
.uzp__search {
    margin-bottom: 20px;
}

.uzp__search .uzp__label {
    display: none;
}

/* Vacancy detail */
.uzp__vacancy_main {
    position: relative;
}

.uzp__details-info {
    background: rgba(243,243,243,0.5);
    padding: 10px;
    border: 1px solid #dddddd;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

.uzp__details-info.uzp__vacancy {
    display: flex;
    position: relative;
    z-index: 1;
}

.uzp__details-info table,
.uzp__details-info td {
    border: none;
    margin: 0;
    vertical-align: top;
}

.uzp__details-info td,
.uzp__details-info th {
    padding-bottom: 10px;
    border: none;
}

.uzp__details-info th {
    font-weight: bold;
    width: 35%;
    padding-right: 15px;
}

.uzp__details-info.uzp__vacancy table {
    width: 80%;
}

.uzp__details-content {
    position: relative;
    margin: 30px 0;
}

.uzp__details-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Vacancy form */
.uzp__vacancy-form {
    margin-top: 30px;
}

.uzp__vacancy-form h1,
.uzp__vacancy-form h3 {
    margin-bottom: 20px;
}

/* Pagination */
.uzp__pagination {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.uzp__pagination a,
.uzp__pagination .uzp__pagination-item {
    display: block;
    float: left;
    padding: 5px;
    font-weight: 400;
    font-size: 16px;
}

/* Widget */
.uzp__widget-header {
    background: #0075bd;
    color: #ffffff;
    padding: 10px;
    width: 100%;
}

.uzp__widget-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.uzp__widget-list li a {
    position: relative;
    display: block;
    width: 100%;
    color: #333333;
    padding: 10px;
    border-bottom: 1px solid #333333;
    text-decoration: none;
}

.uzp__widget-list li:last-child a {
    border-bottom: none;
}

/* Responsive */
@media only screen and (max-width: 767px) {
    .uzp__vacancy-container {
        flex-direction: column;
    }
    .uzp__filters,
    .uzp.uzp_index {
        width: 100%;
    }
    .uzp__details-info.uzp__vacancy {
        flex-direction: column;
    }
    .uzp__details-info.uzp__vacancy table {
        width: 100%;
    }
}

/* Loader override from original plugin */
.sjb-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: none;
    z-index: 999;
}

.uzp__vacancy-form .sjb-is-loading .sjb-loader-overlay {
    display: block;
}
