.ts-tax-wrapper {
    margin: 50px 0;
}
[class*="ts-list-grid-"] {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}
.ts-tax-wrapper li {
    border-bottom: 1px solid;
}
.ts-tax-wrapper li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.7;
    font-family: var(--primary-font);
}
.dark-mode .ts-tax-wrapper li a {
    color: #fff;
}
.ts-tax-wrapper h2,
.ts-job-list-title {
    margin: 0;
    text-align: center;
    font-family: var(--primary-font);
}
.job-tax-content span {
    color: var(--link-color);
}
.ts-list-grid-4 {
    grid-template-columns: repeat(4,minmax(0,2fr));
}
.ts-list-grid-5 {
    grid-template-columns: repeat(5,minmax(0,2fr));
}
.ts-list-grid-6 {
    grid-template-columns: repeat(6,minmax(0,2fr));
}
#main-job-employer-content {
    width: 100%;
}
.inner-container-job-default {
    display: flex;
    gap: 30px;
}
.inner-job-content > header {
    padding-bottom: 20px;
}
.inner-job-content .ts-post-content {
    padding-top: 20px;
}
.inner-job-detail tr:last-child th, 
.inner-job-detail tr:last-child td,
.inner-job-detail td:last-child, 
.inner-job-detail :last-child,
.inner-job-detail th,
.inner-job-detail td {
    border: none;
}
.inner-job-detail .job-featured-job {
    float: right;
    width: 23%;
}
.inner-job-detail .job-featured-job img {
    border-radius: 0;
}
.inner-job-detail th {
    float: left;
    text-wrap: nowrap;
}
.inner-job-detail th,
.inner-job-detail td {
    font-size: .94em;
    line-height: 1.3;
}
.inner-job-detail tbody {
    background-color: lavender;
    border: 1px solid #ccc !important;
}
.inner-job-detail caption {
    float: left;
    text-wrap: nowrap;
    margin-bottom: 20px;
}
.inner-job-employer-default {
    padding: 50px;
    background-color: var(--primary-color);
}

.inner-job-employer-default .featured-image img {
    width: 30%;
    float: left;
}
.ts-item-detail,
.ts-job-type a,
.widget_ts_job_category a,
.widget_ts_job_location a,
.widget_ts_job_type a {
    color: var(--secondary-color);
    font-weight: 500;
}
.widget_ts_job_category a,
.widget_ts_job_location a,
.widget_ts_job_type a {
    font-weight: var(--font-weight);
}
.dark-mode .ts-item-detail,
.dark-mode .ts-job-type a,
.dark-mode .widget_ts_job_category a,
.dark-mode .widget_ts_job_location a,
.dark-mode .widget_ts_job_type a {
    color: var(--link-color);
}
.ts-item-detail:hover {
    text-decoration: underline;
}
.ts-employer-post-header {
    padding: 20px 0 9px 0;
    font-size: x-large;
    font-weight: 700;
}
.ts-employer-details {
    padding-top: 15px;
}
.ts-employer-details li {
    color: #fff;
}
.ts-employer-details li a {
    font-weight: 600;
}
.job-apply-link {
    padding: 5px 60px;
    background-color: var(--link-color);
    border-radius: 25px;
    border-color: var(--link-hover-color);
    font-weight: 600;
    margin-top: 15px;
}
.job-apply-link a,
.dark-mode .job-apply-link a {
    color: #fff;
}
.dark-mode .inner-job-detail tbody  {
    background-color: transparent;
}
.job-featured-job {
    float: left;
    width: 15%;  
}
.job-meta-info .job-featured-job {
    width: 6%;
}
.job-featured-job img {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
.single-job-footer .ts-post-header {
    float: right; 
}
.single-job-footer .ts-post-header {
    width: 85%;
}
.job-post-container {
    display: flex;
    border: 1px solid #ccc;
    padding: 15px;
}
.job-post-container h2 {
    margin: 0;
}
.job-post-container a {
    text-decoration: none;
}
.job-post-container:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.job-post-container .metas {
    text-wrap: nowrap;
    font-family: var(--secondary-font);
}
.job-post-container time {
    font-family: var(--secondary-font);
}
.job-post-container .ts-meta-info {
    flex-wrap: wrap;
}
.job-post-container .job-featured-job {
    height: 100%;
    width: 20%;
}
.single-job-footer .related-post-container {
    flex-direction: column;
}
.ts-job-meta {
    flex-wrap: wrap;
}

#ts-advanced-form {
    padding: 0 10px;
    flex-direction: row;
    align-items: center;
}
#ts-advanced-form input[type="text"],
#ts-advanced-form select,
#ts-advanced-form input[type="submit"] {
    font-family: var(--secondary-font);
}
#ts-advanced-form input[type="submit"] {
    width: 11%;
}

#ts-advanced-form input[type="text"],
#ts-advanced-form select {
    margin-right: 10px;
}
#ts-advanced-form input[type="text"] {
    width: 30%;
}
#ts-advanced-form select {
    width: 25%;
}
.advanced-search-container {
    width: var(--site-header-size);
    margin: 40px auto;
    max-width: 100%;
}
.view-more-text {
    text-align: center;
    margin: auto;
    width: 150px;
    background-color: var(--primary-color);
    border-radius: 25px;
}

.view-more-text a {
    color: #fff;
    text-decoration: none;
    font-family: var(--primary-font);
}

/* Style the tab */
.tab-list {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 500px;
  margin: auto;
  border-radius: 25px;
  max-width: 100%;
}

.dark-mode .tab-list {
    background-color: #353535;
}

/* Style the buttons inside the tab */
.tab-list button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  width: 25%;
  padding: 8px 16px;
  transition: 0.3s;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.6;
  font-family: var(--secondary-font);
}

/* Change background color of buttons on hover */
.tab-list button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab-list button.active {
  background-color: #ccc;
}

.dark-mode .tab-list button.active {
    background-color: var(--link-color);
}
/* Style the tab content */
.job-tax-content {
  display: none;
  padding: 6px 12px;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

@media (max-width:599px) {
    #ts-advanced-form {
        flex-direction: column;
    }
    #ts-advanced-form input[type="text"],
    #ts-advanced-form select,
    #ts-advanced-form input[type="submit"] {
        width: 100%;
    }
    #ts-advanced-form select:not(:last-child) {
        margin-bottom: 15px;
    }
    #ts-advanced-form input[type="text"], 
    #ts-advanced-form select {
        margin-right: unset;
    }
    .tab-list button {
        font-size: .8em;
    }
}

@media (max-width:600px) {
    [class*="ts-list-grid-"] {
        grid-template-columns: auto !important;
    }
}

@media (min-width:600px) and (max-width:767px) {
    #ts-advanced-form input[type="text"] {
        width: 50%;
    }
}
@media (max-width:767px) {
    .inner-container-job-default {
        flex-direction: column;
    }
    .inner-job-content,
    .inner-job-detail,
    .single-job-footer {
        width: 100%;
    }
    .job-meta-info .job-featured-job {
        width: 40px;
    }
    [class*="ts-list-grid-"] {
        grid-template-columns: repeat(3,minmax(0,2fr));
    }
}

@media (max-width:1024px) {
    [class*="ts-list-grid-"] {
        grid-template-columns: repeat(4,minmax(0,2fr));
    }
}

