.block-ilslontfait-block {
  margin-top: 5em;
}

.ilf-container {
  color: var(--pes-blue-dark);
  background: url(../src/bg_ilf.png) no-repeat center;
  background-size: 100% 100%;
  overflow: visible;
  height: 1085px;
}

.ilf-title {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  text-align: center;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1em;
  line-height: 32px;
  color: #3B2D4C;
  padding-bottom: 2.3em;
  margin-bottom: 0;
  padding-top: 1.3em;
}

.ilf-title-mobile {
  display: none;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 45px;
  text-align: center;
  letter-spacing: -0.03em;
  color: #3B2D4C;
}

#block-ilslontfaitblock .tabs-to-dropdown {
  width: 75%;
  margin: auto;
}

#block-ilslontfaitblock .tabs-to-dropdown .nav-wrapper,
#block-ilslontfaitblock .tabs-to-dropdown .nav-wrapper > ul{
  width: 100%;
  flex-wrap: nowrap;
}

#block-ilslontfaitblock .tabs-to-dropdown ul.nav-pills > li,
#block-ilslontfaitblock .tabs-to-dropdown ul.nav-pills > li > button {
  flex-grow: 1;
}

#myTabContent {
  width: 75%;
  margin: auto;
  height: 65%;
}

.ilf-tab {
  margin : 50px 2px 0px 2px;
  margin-top: 0px;
  border:none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 112px;
  width: 16%;
}

.ilf-tab a {
  width: 100%;
}

.ilf-tab-button {
  height: 88px;
  filter: drop-shadow(0px 0px 70px rgba(0, 0, 0, 0.09));
  background: #FFFFFF;
  border: none;
  border-bottom: 4px solid #FFFFFF;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 112px;
}

.ilf-tab-button-all {
  margin-top: -4px;
  width: 100%;
  height: 166px;
  background: url(/modules/custom/acelys_pes_blocks/src/btn_red_ilf.png) no-repeat center;
  background-size: 100% 100%;
  overflow: visible;
  border: none;
}

.ilf-tab-title-all {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  color: #F2F9F7;
  font-size: 23px;
}

.ilf-tab-button:hover{
  border-bottom: 4px solid #4FDCB9;
  background-color: #F2F9F7;
}

.ilf-tab .active {
  border-bottom: 4px solid #4FDCB9;
  background-color: #F2F9F7;
}

.ilf-tab-button:hover .ilf-tab-title,
.ilf-tab .active .ilf-tab-title {
  color: #0050FF;
}

.ilf-tab-title {
  font-family: 'Oswald',sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
  color: #0B122D;
  font-size: 19px;
  width: 66%;
}

.ilf-slider-container {
  width: 100%;
  background: transparent;
  margin: 0 auto;
  overflow: visible;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.ilf-slider-description {
  position:relative;
  color: #F2F9F7;
  line-height: 44px;
  vertical-align: center;
  margin-left:0px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ilf-slider-description > * {
  margin: 0 !important;
}

.ilf-slider-description .icon{
  background: url("../src/vector_ilf.png") no-repeat center;
  float: left;
  width: 43px;
  min-width: 43px;
  height: 34px;
}

div[class^='ilf-slider-'] {
  position:relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 2em;
}

.carousel-content {
  padding: 0rem .4rem;
  position: relative;
}

.carousel-card {
  background-color: white;
  height: 478px;
  max-width: 468px;
  margin-right: 0.5em;
  position: relative;
  overflow:auto;
  margin-left: 0;
  max-width: 465px;
  position:relative;
  margin: auto;
  padding: 10%
}

.carousel-head {
  margin-bottom: 6em;
}

.carousel-tag {
  text-transform: uppercase;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  width:50%;
  float:left;
}

.carousel-category {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  width: 50%;
  float: right;
  text-align: right;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 27px;
  text-transform: uppercase;
}

.carousel-category .icon-category {
  width:auto;
  height:32px;
  margin-left:5%;
}

.carousel-title {
  margin-bottom: 8%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
}

.carousel-card .carousel-text p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.carousel-arrow {
  text-decoration: none;
  color: var(--pes-purple);
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0% 10% 8% 0%;
}

.ilf-slider-button {
  background-color: var(--pes-purple);
  color: white;
  text-decoration: none;
  padding: 1em 2em;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  float: right;
  transition: background-color 0.3s, color 0.3s;
}

.ilf-slider-button:hover {
  background-color: white;
  color: #3B2D4C;;
  text-decoration: var(--pes-blue-dark) underline;
}

.control {
  list-style: none;
}

.control li {
  position: absolute;
  z-index: 11;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: var(--pes-green);
  padding: 17px 22px;
  border-radius: 50%;
  cursor: pointer;
}

.control li:hover {
  background: #000;
}

.ilf-slider-control li.prev {
  left: -60px;
}

.ilf-slider-control li.next {
  right: -60px;
}

.ilf-slider-container .ilf-slider-footer .tns-nav {
  text-align: center;
  margin: 0;
  width: 50%;
  justify-content: flex-end;
  display: flex;
}

.ilf-slider-container .ilf-slider-footer .tns-nav button {
  height: 7px;
  width: 7px;
  background-color: transparent;
  border: none;
  margin-left: 7px;
  border-radius: 50%;
  border : 1px solid #eee;
  position: unset;
  padding: 0;
}

.ilf-slider-container .ilf-slider-footer .tns-nav .tns-nav-active {
  background-color: var(--pes-green);
  border : 4px solid var(--pes-green);
}

.slider-button-wrapper {
  width: 50%;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.dropdown-ilf {
  margin: -1em auto 1em auto;
  background: #FFFFFF;
  border-radius: 90px;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.1));
  height: 50px;
  padding: 5px 10px;
  text-align: center;
  vertical-align: middle;
  outline:none;
  text-decoration: none;
  z-index:999;
}

.dropdown-toggle-ilf::after {
  color:var(--pes-light-blue);
}

.ilf-container .dropdown, .ilf-container .dropdown-toggle, .ilf-container .dropdown button {
  outline:none;
}

.dropdown-toggle-ilf {
  width: 260px;
}

.dropdown-menu-ilf {
  width: 260px;
}

.menu-chevron-slider {
  color: var(--pes-light-blue);
  font-size: small;
  cursor: pointer;
}

#dropdownMenuButton {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 27px;
  text-align: center;
  text-transform: uppercase;
}

.btn.dropdown-toggle.dropdown-toggle-ilf > .menu-chevron-slider {
  display: flex !important;
}

.ilf-slider-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-items: baseline;
  justify-content: center;
  margin-top: 1em;
}

.ilf-container>.tab-content>.tab-pane {
  width: 100%;
}

@media screen and (max-width: 1400px) {
  .ilf-slider-footer {
    flex-direction: column;
  }

  .ilf-slider-container .ilf-slider-footer .tns-nav {
    width: 100%;
    justify-content: center;
  }

  .slider-button-wrapper {
    width: 100%;
    justify-content: center;
    margin-top: 1em;
  }

  .ilf-container {
    background-size: auto 100%;
  }
}

@media screen and (max-width: 992px) {
  .ilf-container {
    height: 1085px;
  }

  .ilf-title {
    padding-bottom: 1.9em;
  }

  .dropdown-ilf {
    margin: 2.5em auto 1em auto;
  }

  #myTabContent {
    height: 61%;
  }

  .carousel-title {
    font-size: 20px;
  }

  .carousel-head {
    margin-bottom: 4em;
  }

 .carousel-card .carousel-text p {
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 6;
   -webkit-box-orient: vertical;
 }

  .ilf-slider-button {
    position: absolute !important;
    left: 50%;
    transform: translate(-50%);
    margin-top: 6%;
  }

  #dropdownMenuButton.dropdown-toggle::after {
    display: none !important;
  }
}

@media screen and (max-width: 1200px) {
  .carousel-card {
    padding: 8%;
  }
}

@media screen and (max-width: 700px) {
  .dropdown-ilf {
    margin: -1em auto 0.5em auto;
  }

  .ilf-container {
    background: url(../src/bg_ilf_mobile.png) no-repeat center;
    background-size: 100% 100%;
    padding-top: 0.9em;
  }

  .ilf-title {
    padding-bottom: 1.3em;
    padding-top: 0;
  }

  .ilf-slider-description {
    line-height: initial;
  }

  .carousel-card {
    height: 460px;
  }

  .carousel-card.catalogue-ilf {
    height: 460px;
    width: 340px;
    overflow: hidden;
  }

  .ilf-slider-control li.next {
    right: -25px;
  }

  .ilf-slider-control li.prev {
    left: 25px;
  }



  .control li {
    padding: 8px 15px;
  }

  .carousel-category {
    display:none;
  }

  #block-ilslontfaitblock .tabs-to-dropdown {
    width: 75%;
    margin: auto;
    padding-top: 0%;
  }

  #myTabContent {
    width: 90%;
    margin: auto;
    margin-top: 1.5em;
  }

  #dropdownMenuButton.dropdown-toggle::after {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
  .ilf-slider-control li.prev {
    left: -22px;
  }

  .carousel-card .carousel-text p {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: #3B2D4C;
  }

  .ilf-slider-container {
    margin-top: 0 !important;
  }

  .ilf-slider-container .ilf-slider-description > p {
    padding-right: 5em;
  }

  .ilf-slider-container .ilf-slider-footer .tns-nav {
    position: absolute !important;
    left: 50%;
    transform: translate(-51.5%);
  }

  .ilf-slider-footer {
    margin: 2em auto;
  }
}

@media screen and (max-width: 538px) {
  .ilf-slider-control li.next {
      right: 4px;
    }

    .ilf-slider-control li.prev {
      left: 4px;
    }
}

@media screen and (max-width: 480px) {
  .block-ilslontfait-block {
    margin-top: 2em;
  }

  .ilf-slider-control li.next {
    right: 1px;
  }

  .ilf-slider-control li.prev {
    left: 1px;
  }

  .ilf-container > .tab-content > .tab-pane {
    width: 360px;
  }

  #myTabContent {
    width: 100%;
    height: 85%;
    margin: 0;
  }

  .ilf-container {
    padding-top: 0;
    height: 860px;
  }

  .ilf-title {
    padding-bottom: 2.2rem;
    padding-top: 0;
  }

  .ilf-slider-description {
    width: 96%;
    justify-content: space-around;
    align-self: center;
  }

  .ilf-slider-description > .truncated {
    width: 74%;
  }

  .ilf-slider-footer {
    margin-top: 0;
  }
}

@media screen and (max-width: 360px) {
  .ilf-title {
    display: none;
  }

  .ilf-title-mobile {
    display: flex;
    width: 84%;
    margin: auto auto -1.5rem;
  }

  #block-ilslontfaitblock .tabs-to-dropdown {
    padding-top: 4rem;
  }
}
