@import "../fonts/fonts.css";

body {
  margin: 0;
  padding: 0;
  font-family: 'Founders Grotesk', sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --headergray: #f2f2f2;
  --gray: #d3d3d3;
  --hovergray: #7f7f7f;
  --bordergray: #dadada;
  --red: rgb(168, 33, 40);
  --red-lightened: #e46267;
  --newGray: #EBEBEB;
  --newBlue: #5C9ECB;
  --newGreen: #49842A;
  --sliderBgBlue: #9BC4D8;
  --headerHeight: 150px;
  --containerWidth: 960px;
  --containerPadder: 20px;
}

.hidden {
  display: none;
}

#jobkarusell_content {
  margin-inline: auto;
}

#jobkarusell_content .carousel_image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: .75rem;
  margin: 0;
  background: var(--newGray);
}
#jobkarusell_content .carousel_image img {
  object-fit: contain;
  max-width: 100%;
  max-height: 130px;
}

#jobkarusell_content .header {
  box-sizing: border-box;
  width: 100%;
  border-top: 10px solid var(--newBlue);
  padding: 0 30px;
  padding-top: .75rem;
  padding-bottom: 1rem;
}
#jobkarusell_content .header .combiner {
  display: flex;
  gap: 1rem;
}


#jobkarusell_content .header a, 
#jobkarusell_content .header .combiner h3 {
  font-size: 10pt;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: flex-end;
}
#jobkarusell_content .header .combiner h3.sitename .logo-text {
  background: url('../img/MS-vertical.svg');
  background-repeat: no-repeat;
  height: 15px;
  width: 100px;
}

#jobkarusell_content .header img {
  max-height: 15px;
}
@media (min-width: 620px) {
  #jobkarusell_content .header img {
    max-height: 30px;
  }
  #jobkarusell_content .header .combiner h3.sitename .logo-text {
    height: 30px;
    width: 190px;
  }
}
#jobkarusell_content .header a {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
#jobkarusell_content a,
#jobkarusell_content a:visited,
#jobkarusell_content a:hover,
#jobkarusell_content a:active {
  color: black;
  text-decoration: none;
}

#jobkarusell_content {
  max-width: 980px;
  /* background-color: var(--sliderBgBlue); */
  height: 360px;
  position: relative;
}

#jobkarusell_content .prev_button, 
#jobkarusell_content .next_button {
  position: absolute;
/*   background: red; */
  bottom:0;
  height: 80%;
  width: 15%;
  z-index: 100;
}
#jobkarusell_content .next_button {
  right: 0;
  cursor: e-resize;
}
#jobkarusell_content .prev_button {
  cursor: w-resize;
}

#jobkarusell_content .carousel_holder {
  margin: 0 20px
}

#jobkarusell_content .my_slider {
  margin: 0 .5rem;
  position: relative;
}

#jobkarusell_content .my_slider::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(--newBlue);
  z-index: 100;
}

#jobkarusell_content .my_slider h2 {
  padding: 0;
  margin: 0;
  font-family: 'Founders Grotesk X-Condensed', sans-serif;
  line-height: 1;
  font-weight: 500;
  font-size: 1.4rem;
  display: flex;
  align-items: flex-end;
  color: #000;
  text-decoration: none;
  width: 100%;
  padding-bottom: .25rem;
  height: 80px;
}
#jobkarusell_content .my_slider a.text {
  display: flex;
  /* align-items: flex-end; */
  flex-direction: column;
  border-bottom: 8px solid var(--newBlue);
  height: 100px;
}

#jobkarusell_content .my_slider a.text .listing_info {
  font-family: 'Founders Grotesk', sans-serif;
  font-size: 10pt;
  display: flex; 
  overflow: auto;
  justify-content: space-between;
  overflow: hidden;
  line-height: 1;
  padding-bottom: .3rem;
  
}
/* #jobkarusell_content .my_slider a.text .listing_info span {
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
} */
#jobkarusell_content .my_slider a.text .listing_info span:first-child {
  margin-right: 1rem;
}


@media (min-width: 980px) {
  #jobkarusell_content .my_slider h2 {
    height: 120px;
  }
  #jobkarusell_content {
    width: 980px
  }
  #jobkarusell_content .my_slider .carousel_image img {
    max-width: 265px;
  }
}

@media (min-width: 728px) and (max-width: 979px) {
  #jobkarusell_content {
    width: 728px
  }
  #jobkarusell_content .my_slider .carousel_image img {
    max-width: 220px;
  }
}

@media (min-width: 620px) and (max-width: 727px) {
  #jobkarusell_content {
    width: 620px
  }
  #jobkarusell_content .my_slider  {
    max-width: 220px;
  }
  #jobkarusell_content .carousel_image img {
    max-height: 80px;
  }
}

@media (min-width: 468px) and (max-width: 619px) {
  #jobkarusell_content {
    width: 468px
  }
  #jobkarusell_content .my_slider {
    max-width: 180px;
  }
  #jobkarusell_content .carousel_image img {
    max-height: 60px;
  }
  #jobkarusell_content .my_slider a.text .listing_info {
    display: block;
  }
  #jobkarusell_content .my_slider a.text .listing_info span {
    display: block!important;
  }
  /* #jobkarusell_content .my_slider a.text {
    height: 140px;
  }
  #jobkarusell_content .my_slider h2 {
    height: 40px;
  } */

}

@media (max-width: 467px) {
  #jobkarusell_content {
    width: 320px
  }
  #jobkarusell_content .carousel_image img {
    max-height: 100px;
  }

}

@media (max-width: 319px) {
  #jobkarusell_content {
    width: 300px
  }
  #jobkarusell_content .my_slider {
    max-width: 200px;
  }
  #jobkarusell_content .carousel_image img {
    max-height: 80px;
  }

}
