.slider-wrapper {
  position: relative;
  background-color:#152331;
  padding:60px 0;
}

.text-box-slider h2 {
color:#ffffff;
}

.background-image {
  display:none;
}

.slider-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.slider-wrapper .slider-container .text-box-slider .content-title{
  color:#ffffff;!important;
}

.slider-container {
  background-color:#152331;
  position: relative; 
  max-width: 1260px;
  margin: 0 auto; 
  padding-left: 15px; 
  padding-right: 15px;
  overflow: hidden; 
}

.slider-container .content-title {
  color:#ffffff;
}

.slider-link-btn {
  margin-top:30px;
}

.text-box-slider {
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#ffffff;
  padding:0;
  margin-bottom:20px;
  max-width:1260px;
  margin:0 auto;
  margin-bottom:20px;
}

.slider-move-container {
  width: fit-content;
  display: flex;
  transition: transform 0.3s ease-in-out;  
}

.dots-nav {
  display:flex;
  justify-content:center;
}

.card {
  background-color: #ffffff;
  margin-top: 16px;
  margin-bottom:16px;
  margin-right:16px;
  min-width: 280px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

.text-card{
  padding:20px;
}

.text-card h5 {
  margin-bottom:8px;
}

.slider-nav {
  position: absolute; 
  top: 50%; 
  right: 15px; 
  transform: translateY(-50%);
  display: flex; 
  justify-content: space-between; 
  width: 100px; 
}

#nextButton {
  background-image: url('https://info.lis.no/hubfs/Symboler/Group%20468.svg'); 
  background-repeat: no-repeat; 
  background-position: center; 
  background-size: cover; 
  border: none; 
  cursor: pointer; 
  height: 32px; 
  width: 48px; 
  outline: none; 
  background-color: transparent;
  margin:4px;
}

#prevButton {
  background-image: url('https://info.lis.no/hubfs/Symboler/Group%20468.svg'); 
  background-repeat: no-repeat; 
  background-position: center; 
  background-size: cover; 
  border: none; 
  cursor: pointer;
  height: 32px; 
  width: 48px;
  outline: none; 
  background-color: transparent; 
  transform: scaleX(-1); 
  margin:4px;
}

#prevButton, #nextButton {
  position: absolute;
  top: 0; 
}

#prevButton {
  left: -15px; 
}

#nextButton {
  right: 0; 
}



.nav-button {
  width: 10px;
  height: 2px;
  background-color: #ffffff;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  outline: none;
}

.nav-button.active {
  background-color: #2B5884;
}

.card-img-container img {
  width: 100%; 
  height: 200px;
  object-fit: cover;
}

@media screen and (min-width:800px) {
  .slider-move-container {
    padding:16px 0;
  }

  .background-image {
    display:block;
    position:absolute;
    bottom:-5%;
    left:-15%;
  }

  .nav-button {
    width:25px;
  }

  .hidden {
    display: none;
  }

  .slider-nav {
    position: absolute;
    top: 60%;
    left: 80%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: end;
    margin: 20px;
  }




  .slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px; 
    background: linear-gradient(to left, rgba(21, 35, 49, 1) 0%, rgba(21, 35, 49, 0.8) 50%, rgba(21, 35, 49, 0) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .card {
    min-width: 360px; 
    height:auto;
  }
}

@media screen and (max-width: 800px) {
  #prevButton, #nextButton {
    display: none !important; 
  }
}

@media screen and (min-width:1000px) {  
  .slider-wrapper {
    padding:130px 0;
  }

  .card {
    min-width:385px;
  }

  .card-img-container img {
    height: 320px;
  }

  .dots-nav {
    display:flex;
    justify-content:end;
    margin-right:20px;
    z-index: 2;
  }

  .slider-wrapper {
    padding:130px 0;
  }
}

@media screen and (min-width:1260px) {
  .slider-nav {
    left: 88%;
  }

  .slider-container {
    max-width: none; 
    padding-left: 0;
    padding-right: 0;
  }

}

