.hidden-row {
    display: none;
}

.more-btn {
    text-align: center;
  }

#showMoreCareerpath {
    /* margin: 1px auto; */
    background-color: #ffbe0b;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    box-shadow: var(--secondary-color) 2px 2px 0 0;
    padding: 4px 8px;
    margin-top: 0.5rem;
}

#showMoreCareerpath:hover {
    background-color: #ffd059;
    transition: 0.25s;
}

.filter-drp-btn {
    background-color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #422800;
    border-radius: 5px;
    /* background-color: #f0f8ff; */
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-drp-btn:hover {
    border-color: #422800;
}

.form-check-label {
    font-family: "Assistant", sans-serif;
    font-size: 16px;
    padding-bottom: 2px;
}

.btn-submit-filter {
    background-color: var(--primary-color);
    border-radius: 20px;
}

.btn-submit-filter:hover {
    background-color: #ffd059;
}

.hero-search {
    /* background: linear-gradient(50deg, #f6e1b0, #fcdc5d, #f1d372); */
    background: 
        radial-gradient(circle at 10% 10%, #ffbe0b 0%, transparent 5%),
        radial-gradient(circle at 90% 70%, #ffbe0b 0%, transparent 10%),
       #f7f6f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    padding: 12px;
    width: 90%;
    /* border-bottom: 1px solid var(--secondary-color); */
}

.search-categories {
    border-radius: 5px;
    padding: 5px;
    align-items: center;
    width: 50%;
    z-index: 10;
    margin: 0px auto;
}

.test {
    color: red;
}

/* autocomplete dropdown */

.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    border: 1px solid rgb(205, 205, 205);
    background-color: #ffffff;
    border-radius: 10px;
    list-style: none;
    top: 100% !important; /* Override jQuery UI if needed */
    margin-top: 8px;
    left: 0 !important;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100% !important;
    min-width: 300px;
    padding: 0;
    box-sizing: border-box;
}
  
.ui-autocomplete .ui-menu-item {
    border-radius: 8px;
    font-size: 18px;
    padding: 8px 8px;
    cursor: pointer;
    text-align: left;
    margin: 5px;
}
  
.ui-autocomplete .ui-menu-item:hover {
    background-color: #F8EED4;
}

.ui-autocomplete .ui-menu-item:focus {
    background-color: #F8EED4;
}

.ui-autocomplete .highlight {
    font-weight: 800 !important;
}

/* content */ 
.content {
    /* border-top: 1px solid rgb(192, 190, 190);  */
    margin: 20px auto;
    padding-top: 20px;
    width: 90%;
}

.masonry-grid-item{
  box-sizing:border-box;
  width:calc((100% - 30px)/2);
  margin-bottom:30px;
}

.content-Box {
    /* border: 1px solid grey; */
    box-sizing: border-box;
    margin: 0 0 30px;   
    break-inside: avoid;
    border: 2px solid rgb(228, 228, 228);
    transition: border-color 0.5s;
    border-radius: 12px;
    font-family: "Assistant", sans-serif;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    /* width: 48%; */
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.12);
}

.content-title {
    background-color: #f7f6f6;
    border-bottom: 2px solid var(--secondary-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* border-radius: 10px; */
    /* font-size: 22px; */
    height: 64px;
    margin-top: 10px;
    padding: 10px;
    text-align: left;
    width: 100%;
    min-height: 40px; /* Set a minimum height for the div */
    height: auto; /* Allow the height to adjust based on content */
    word-wrap: break-word;
    overflow: auto;
}

.jobtitle_branche {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-bottom: 0.2rem;
}

.job_title {
    color: var(--secondary-color);
    font-size: 22px;
    margin: 0;
}

.Industry {
    font-size: 16px;
    margin: 0;
}

.company_location {
    padding: 0;
    margin: 0;
}

.divider_1 {
    display: inline-block;
    width: 1px;
    height: 15px;
    background-color: #dcdcdc;
    margin: 0 4px;
}

.company_name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

.location_name {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    display: inline-block;
}

.content-Box:hover {
    border-color: #422800;
    /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3); */
    transition: transform 0.3s;
}

p {
    margin-bottom: 3.5px;
}

.card-text-content {
    background-color: #fbfbfb;
    border-radius: 5px;
    padding: 5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem;
    margin-top: 5px;
    margin-bottom: 5px;
    /* border-top: 1px solid #ddd; */
  }

.footer-left {
    display: flex;
    gap: 1.5rem; /* spacing between bookmark and comment */
    align-items: center;
}

  .footer-right {
    font-size: 0.9rem;
    color: #666;
  }

/* bookmark */
.bookmark-btn {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    position: relative;
    z-index: 1;
}

.bookmark-btn:hover {
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.bi-chat:hover {
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.card-icon {
    color: black;
    font-weight: 500;
}

.comment-container {
    align-items: center;
    display: flex;
    width: 10%;
}

.comment-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-date {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between icon and text */
  }
  
  .footer-date .card-stats {
    margin: 0; /* remove any default paragraph spacing */
  }
  

.bi-calendar {
    margin-bottom: 3px;
    margin-right: 1px;
}

.card-stats {
    color: rgb(201, 197, 197);
    margin-left: 5px;
}

/* table */
table {
    border-radius: 5px;
    margin: 15px auto;
    width: 100%;
}

.table_row {
  transition: all 0.3s ease;
}


/* .td_dates {
    font-size: 16px;
    width: 5%;
    padding-right: 1rem;
    border-bottom: 0.8px solid #f7f6f6;
} */

.td_timeline {
    /* border-bottom: 0.8px solid #f7f6f6; */
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 8%;
    padding: 0;
}

.td_timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* center the line */
    width: 1px;
    background-color: #422800; /* or any color you like */
    transform: translateX(-50%);
    z-index: 1;
}

.td_timeline svg {
    position: relative;
    z-index: 2;
    color: var(--primary-color);
}

.td_text {
    color: #422800;
    font-size: 18px;
    font-weight: 600;
    padding-left: 1rem; 
    padding-right: 5px;
    width: 92%;
    border-bottom: 0.8px solid #f7f6f6;
    line-height: 1.3;
}

.table_row:hover {
    background-color: #fcfafa;
}

.td_description {
    display: block;
    font-weight: 300;
    font-size: 1em;
    color: #000000;
    width: 100%;
    line-height: 1.1;
}

.td_dates, .td_text {
    /* border-bottom: 1px solid #ddd; */ 
    padding-top: 6px;
    padding-bottom: 6px;
}

.td_salary-text, .td_salary, .td_salary-bonus {
    font-size: 18px;
    border-bottom: 0.2px solid var(--grey-color); 
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.td_salary-text {
    font-size: 15px;
    font-weight: 400;
}

.td_salary, .td_salary-bonus {
    font-weight: 600;
    text-align: end;
}

.back-button-nav {
    margin: 30px auto 10px;
    width: 80%;
} 

.back-button {
    background-color: #422800;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 700;
    padding: 8px 20px;
    text-decoration: none;
}

.back-button:hover {
    background-color: #64420f;
    transition: all 0.3s ease;
}

/* media - queries */
@media (max-width: 772px) {
    .search-categories {
        width: 90%;
    }

    .search-bar {
        background: none;
    }
}

@media (max-width: 840px) {
    .hero_Search {
        width: 70%;
    }

    .masonry-grid, .grid-masonry {
        column-count: 1;
        column-gap: 0px;
    }

    .content-Box {
        font-size: 15px;
        margin-bottom: 15px;
        width: 100%;
    }

    .table_row {
        height: 40px;
    }

    .work_branche {
        float: inline-end;
    }
}


@media (max-width: 900px) {
    .search_field,
    .search_button {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .work_branche {
        float: inline-start;
        margin-top: 5px;
        width: 100%;
    }
}

@media (max-width: 1320px) {  
    .back-button-nav {
        width: 90%;
    }
    
    .content {
        width: 90%;
    }

    .content-Box {
        font-size: 15.5px;
    }

    .container-detail {
        width: 90%;
    }
}
