<template>
    <div class="job-listing">
        <div class="categories">
            <div class="category">
                <label>Countries</label>
                <select class="bluefire-selector" id="selHeaderCountry">
                    <option value="">All Countries</option>
                </select>
            </div>
            <div class="category">
                <label>Cities</label>
                <select class="bluefire-selector" id="selHeaderCity">
                    <option value="">All Cities</option>
                </select>
            </div>
        </div>
        <div class="listing" >
            <div class="job-item" v-for="(n,i) in 6" :key="n">
                <span class="job-no">{{ i+1 }}</span>
                <h2 class="job-title">Yuika Mitsumine</h2>
                <div class="job-location">
                    <div class="country">
                        <h2>Country</h2>
                        <p>Indonesia</p>
                    </div>
                    <div class="city">
                        <h2>City</h2>
                        <p>Jakarta</p>
                    </div>
                </div>
                <a href="#" class="bookmark">
                    <img src="../assets/images/bookmark.svg" >
                </a>
            </div>
        </div>

    </div>
</template>

<script>
export default {
    
}
</script>
<style>
.job-listing {
    display: flex;
    flex-direction: row;
}
.job-listing .categories {
    width: 25%;
}
.job-listing .listing {
    width: 75%;
}
.categories .category {
    background-color: rgba(242, 242, 242, 1);
    padding: 1.5rem;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.3);
    margin: 1rem 0.5rem;
}
.category label {
    font-size: 1.5rem;
    font-weight: bold;
    color: #322b6b;
}
.category .bluefire-selector {
    width: 100%;
    font-weight: bold;
    margin-top: 0.5rem;
}
.listing .job-item {
    background-color: rgba(242, 242, 242, 1);
    padding: 0.5rem 1.5rem;
    box-shadow: 5px 5px 14px rgba(0, 0, 0, 0.3);
    margin: 1rem 0.5rem;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    font-weight: bold;
}
.job-item .job-no {
    font-size: 1.5rem;
    color: #322b6b;
    margin-right: 1rem;
}
.job-item .job-title {
    font-size: 1.5rem;
    color: #333333;
    margin: 0;
}
.job-item .job-location {
    display: flex;
    flex-direction: row;
    margin-left: auto;
}
.job-item .job-location div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.25rem;
    font-weight: normal;
    margin: 0.5rem 3rem;
}
.job-item .job-location h2 {
    font-size: 1.125rem;
    color: #322b6b;
    margin: 0 0 0.25rem 0 ;
}
.job-item .job-location p {
    font-size: 1.125rem;
    margin: 0;   
}
.job-item .bookmark img {
    height: 1.5rem;
    margin: 0.5rem 0;
}
</style>