.job-section-container{
  background-color: rgb(250, 250, 250);
  height: 430px;
  width: 100%;
  transition: height 0.6s;
}

.job_sorting_results{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid #f3f3f3;
  overflow: hidden;
}

.job_sorting_results .sort_details{
  margin-right: auto;
  margin-left: 10%;
  font-size: large;
  color: #1f59a0;
  overflow: hidden;
  white-space: nowrap;
}

.job_sorting_results .scroll-btns{
  margin-right: 5%;
  overflow: hidden;
  white-space: nowrap;
}

.job_sorting_results button{
  height: 50px;
  background-color: rgba(0,0,0,0);
  border: none;
  cursor: pointer;
}

.job_sorting_results button img{
  object-fit: cover;
  width: 30px;
}

.job-section{
  display: flex;
  background-color: rgb(250, 250, 250);
  height: 377px;
  width: 100%;
  justify-content: left;
  align-items: center;
  overflow: hidden;
}

.job-section .scroll-btn-left{
  display: flex;
  width: 100%;
  justify-content: flex-start;
  position: absolute;
  white-space: nowrap;
}

.job-section .scroll-btn-right{
  display: flex;
  width: 100%;
  justify-content: flex-end;
  position: absolute;
  white-space: nowrap;
}

.job-section button{
  height: 50px;
  background-color: rgba(0,0,0,0);
  border: none;
  cursor: pointer;
}

.job-section button img{
  object-fit: cover;
  width: 30px;
}
.job-section #move_left,
.job-section #move_right{
  z-index: 2;
}

.job-section #move_left img,
.job-section #move_right img{
  object-fit: cover;
  width: 50px;
}

.job-section #job-scroll{
  display: flex;
  background-color: rgb(250, 250, 250);
  height: 377px;
  width: 100%;
  justify-content: left;
  align-items: center;
  transition: margin-left 0.8s, margin-right 0.8s, height 0.6s;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 5%;
}

.job-section #job-scroll::-webkit-scrollbar {
  display: none; 
}

.job-container{
  display: flex;
  flex-direction: column;
  background-color: #F6F6F6;
  height: 230px;
  width: 380px;
  min-width: 380px;
  border-radius: 30px;
  border: solid;
  border-color: #e6e6e6;
  align-items: center;
  margin-right: 30px;
  margin-top: -10px;
}

.job-container .job-heading{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30%;
  width: 100%;
  border-bottom: 2px solid #DFDFDF;
}

.job-container .job-heading h3{
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  width: 100%;
  margin-left: 0px;
  color: rgb(70, 70, 70);
}

.job-container .job-heading button{
  height: 50px;
  background-color: rgba(0,0,0,0);
  border: none;
  margin-right: 20px;
  cursor: pointer;
}
.job-container .job-heading img{
  object-fit: cover;
  width: 30px;
  height: 30px;
}

.job-container .job-title{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 32%;
}

.job-container .job-title h4{
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

.job-container .job-desc-container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.job-container .job-desc-container .job-desc{
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-left: 10px;
}

.job-container .job-desc-container .job-desc span{
  font-size: 1rem;
}

.job-container .job-desc-container .job-desc .date-of-post{
  font-size: 0.8rem;
  color: #848484;
  margin-top: -20px;
}

.job-container .job-desc-container .job-desc .date-of-post span{
  font-size: 0.8rem;
}

.job-container .job-desc-container .detail-btns{
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-right: 8px;
  margin-bottom: 10px;
}

.job-container .job-desc-container .detail-btns .detail{
  background-color: #004CA6;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 500;
}

.job-container .job-desc-container .detail-btns .detail:hover{
  background-color: #025ac5;
}

.job-container .job-desc-container .detail-btns .share{
  width: 35px;
  background-color: rgba(0,0,0,0);
  border: none;
  margin-left: 8px;
  cursor: pointer;
}

.job-container .job-desc-container .detail-btns .share img{
  object-fit: cover;
  width: 30px;
}

@media(max-width: 450px){
  .job-container{
    height: 220px;
    width: 350px;
    min-width: 350px;
  }
  .job-container .job-heading h3{
    font-size: 0.9rem;
  }
  .job-container .job-title h4{
    font-size: 1rem;
  }
  .job-container .job-desc-container .job-desc span{
    font-size: 0.9rem;
  }
  .job-container .job-desc-container .detail-btns .detail{
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .job-container .job-desc-container .detail-btns .share{
    width: 32px;
  }
  .job-container .job-desc-container .detail-btns .share img{
    object-fit: cover;
    width: 27px;
  }

  .job_sorting_results .sort_details{
    font-size: 1rem;
  }
  .job_sorting_results button img{
    object-fit: cover;
    width: 25px;
  }
}

/*

.expand-downwards{
  display: none;
}

.expand-downwards button{
  height: 50px;
  background-color: rgba(0,0,0,0);
  border: none;
  cursor: pointer;
}

.expand-downwards img{
  object-fit: cover;
  width: 50px;
}

@media (max-width: 700px){
  .job-section-container{
    background-color: white;
    height: 1000px;
    width: 100%;
  }

  .job-section-container .scroll-btns{
    visibility: hidden;
  }

  .job-section{
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 1000px;
    width: 100%;
    justify-content: start;
    align-items: center;
    overflow: clip;
    margin-left: 0;
  }

  .job-section #job-scroll{
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 1000px;
    width: 100%;
    justify-content: start;
    align-items: center;
    overflow: clip;
    margin-left: 0;
  }
  
  .job-container{
    display: flex;
    flex-direction: column;
    background-color: #F6F6F6;
    height: 220px;
    min-height: 220px;
    width: 380px;
    min-width: 380px;
    border-radius: 30px;
    border: solid;
    border-color: #e6e6e6;
    align-items: center;
    margin-top: 30px;
    margin-right: unset;
    padding-bottom: 15px;
  }

  .expand-downwards{
    display: flex;
    margin-top: 30px;
    position: absolute;
    justify-content: center;
    height: 50px;
    width: 100%;
    background-color: rgb(255, 255, 255);
   
  }
}

*/
