/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

#apply-button {
    height: 50px !important;
    text-transform: none !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 12px !important;
    padding-top: 12px !important;
    margin-top: 24px !important;
    font-family: 'BarlowCondensedMedium' !important;
    font-size: 16px !important;
    border-radius: 0 !important;
}

#application-form {
    max-width: 600px;
}


/* Tags section */
.tags {
    background-color: #f2f2f2;
    padding-top: 1rem;
    border-bottom: 1rem;
}

.tags ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.tags li {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.tags a {
    color: #fff;
    text-decoration: none;
    /* background-color: #000; */
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Content blocks section */
.content-blocks {
    padding: 48px 0;
}

.content-block-heading {
    display: flex;
    justify-content: center;
}

.search-container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.search-container form {
    display: flex;
    align-items: center;

    @media (max-width: 768px) {
        width: 100%;
    }

    @media (min-width: 768px) {
        width: 35%;
    }
}

.search-container input[type="text"] {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 20px 20px;
    width: 100%;
    margin-right: 10px;
}

.tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    width: calc(50% - 10px);
    height: 400px;
}

.tile-content {
    flex: 1;
}

.tile-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tile-content .description {
    margin-bottom: 10px;
    padding: 10px;
}

.view-button {
    /* background-color: #000; */
    color: #fff;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    height: 50px;
}

.view-button:hover {
    color: white;
}

.search-button:hover {
    box-shadow: unset;
}

@media (max-width: 768px) {
    .tile {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        height: auto;
        width: 100%;
        padding-bottom: 50px;
    }

    .view-button {
        /* margin-top: 40px; */
        width: calc(100% - 40px);
        margin-right: 4px;
    }
}

.vacancy-text-area {
    /* height: 42px; */
    font-size: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.vacancy-container {
    @media (min-width: 768px) {
        padding: 96px;
    }

    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 96px;
}

.vacancy-input {
    height: 42px;
    font-size: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.vacancy-input-label {
    font-size: 16px;
    font-weight: 600;
}

.top-apply-button {
    margin-bottom: 24px;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.bottom-apply-button {
    margin-top: 24px;

    @media (max-width: 768px) {
        width: 100% !important;
    }

    @media (min-width: 768px) {
        width: 200px !important;
    }
}

.no-results-container {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
}

.no-results-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.no-results-content p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}


.form-container {
    padding: 20px;
}

.apply form {
    margin: 0 auto;
    max-width: 50%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.apply-message-error {
    margin: 0 auto;
    max-width: 50%;
    text-align: center;
    color: red;
}

.apply input[type="text"], input[type="textarea"], input[type="email"], input[type="tel"], input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 16px;
}

/* .apply textarea {
    height: 160px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 16px;
} */

/* .apply label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
} */

.apply input[type="submit"] {
    background-color: black;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .apply form {
        max-width: 100%;
    }

    .apply label {
        display: block;
        margin-bottom: 5px;
    }
}

.apply-button {
    background-color: #000;
    color: #fff;
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    /*width: 150px;*/
    border-radius: 5px;
    margin: 20px;
    box-shadow: unset !important;
}

.apply-button a:hover {
    /* background-color: #333; */
    box-shadow: unset !important;
}