#jobs {
    display: flex;
    flex-direction: column;
}

#jobs .search {
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: .3rem;
    padding: 0.8rem 2.25rem 0.8rem 1.25rem;
    font-size: 0.9rem;
}


@media screen and (min-width: 768px){
    #jobs .search {
        width: 30%;
        align-self: flex-end;       
    }
}
@media screen and (min-width: 768px) {
    #jobs .no-jobs-available{
        margin: 0;
        align-self: flex-end;
        font-size: 0.85rem;
        padding-right: 8px;
    }
}
@media screen and (max-width: 767px) {
    #jobs .no-jobs-available{
        display: none;
    }
}

#jobs ul {
    list-style-type: none;
    padding: 0;
}

#jobs .list .list-item {
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: .3rem;
    background-color: #F9F6EF;
    border: 1px solid #E5E5E5;
    cursor: pointer;
    margin-bottom: 1.25rem;
    box-shadow: 7px 7px 10px 0 rgba(0,0,0,0.05);
}
@media screen and (max-width:767px){
    #jobs .list-item {
        display: block;
        padding: 1.25rem;
    }
}
#jobs .list .list-item:hover {
    border: 1.2px solid #004650;

}

/* log/image div  */
@media screen and (min-width: 768px){
    #jobs .list .list-item {
        display: flex;
        align-items: center;
    }
}
@media (max-width: 767px){
    .list-item .list-item-image {
        position: absolute;
        width: 84px;
        top: 1.25rem;
        right: 1.25rem;
    }
}

/* logo/image div */
@media screen and (min-width: 768px){
    #jobs .list-item-image{
        position: relative;
        flex: 0 0 150px;
        margin-right: 2rem;
    }
}

@media screen and (max-width: 767px){
    #jobs .list-item-image{
        position: absolute;
        width: 90px;
        top: 1.25rem;
        right: 1.25rem;
    }
    #jobs .list-item-image img {
        max-height: 2.5rem;
    }
}
/* logo */
#jobs .list-item-image img {
    max-width: 100%;
    height: auto;
}

@media screen and (min-width: 768px){
    #jobs .list-item-image img {
       margin-bottom: 33px
    }
}

#jobs .list-item-content {
    position: relative;
    flex: 1 1 auto;
    vertical-align: middle;
}

/* header div */
#jobs .list-item-content .list-item-header {
    display: flex;
    margin-bottom: 0.5rem;
}
@media screen and (max-width: 767px){
    #jobs .list-item-content .list-item-header {
        align-items: flex-start;
        max-width: calc(100% - 84px - 1.25rem);
        overflow: hidden;
        text-overflow: ellipsis;
    } 
}

#jobs .list-item-content .list-item-header h5 {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 500;
}


/* @media screen and (max-width: 765px){
    #jobs .list-item-content .list-item-header h5 {
        font-size: 1.33rem;
    }
} */
#jobs .list-item .list-item-content .list-item-header .city-date {
    margin-left: auto;
    text-align: left;
    font-size: 0.825rem;
    font-weight: 500;
}
@media screen and (max-width: 767px){
    #jobs .list-item .list-item-content .list-item-header .city-date {
        display: none;
    }
}

#jobs .list-item-header .title, #jobs .list-item-header .company_name {
    margin-bottom: 0; 
}
#jobs .list-item-header .company_name {
    /* color: #183560; */
    color: #004650;

}

@media screen and (min-width: 768px) {
    #jobs .list-item-header {
        align-items: baseline;
    }
    #jobs .list-item-header .title, #jobs .list-item-header .company_name {
        flex: 70%;
        padding-right: 32px;   
    }
    #jobs .list-item-content .list-item-bottom .city-date-div {
        margin-top: .25rem!important;
        position: absolute;
        top: 0;
        right: 0;
       
    } 
}

/* list item bottom */
#jobs .list-item-content .list-item-bottom{
    display: flex;
    align-items: flex-end;
    
}
@media screen and (min-width: 768px){
    #jobs .list-item-content .list-item-bottom{
        justify-content: flex-end;
    }
}
#jobs .list-item-content .list-item-bottom .city-date-div {
    margin-top: 1rem!important;
    font-size: 0.825rem;
    
}
#jobs .list-item-content .list-item-bottom .city-date-div .deadline {
    margin-top: .25rem!important;
}

#jobs .arrow-right {
    content: url('../../../../themes/custom/accountor/images/icons/src/keyboard_backspace_blue.svg');
    transform: rotate(180deg);
}
@media screen and (max-width: 767px){
    #jobs .arrow-right {
        display: none;
    }
}

/* start styling pagination */
.pagination {
    justify-content: flex-end!important;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}

.pagination li {
    display: inline-block;
    vertical-align: middle
}
.pagination li a {
    border: 1px solid #E5E5E5;
    background-color: #F9F6EF;
    display: block;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    color: #1D1D1D;
    border-radius: 0;
    font-weight: 500;
}
.pagination .active>a {
    border-color: #1D1D1D;
}