.gradient-blue-bg .row.white-panel{
    padding: 0px;
    margin: 30px 0;
    display: flex;
}
.gradient-blue-bg .row.white-panel div.__pfs.col-50 {
    padding: 30px;
    margin-right: auto;
}

.gradient-blue-bg .row.white-panel div.__pfs.col-50 p.__pfs {
    text-align: left;
}

.gradient-blue-bg .row.white-panel img.__pfs.col-50 {
    max-height: 220px;
    width: auto;
    max-width: 475px;
}

.europe-hub .ae-content#top {
  /* border-radius: 10px 10px 0 0 !important; */
}

/* img.__pfs.desc_acv-img.__pfs.__bss {
  width: 300px !important;
  margin: 0 !important;
} */

.__pfs.ae-content.eu-destination-des.row.__bss {
  margin-top: 2em !important;
}

#flightOffers p.__pfs.btn-book-now {
  margin: -30px auto 10px !important;
}

.px-3.py-4 button {
  color: #fff !important;
}

button.slick-next:before {
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}

.tc-panel-content.active {
  display: block;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

div.__pfs#tc-panel-container .tc-panel.active i {
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}

.backToTop{
  font-weight: 700 !important;
}

.europe-hub p.__pfs.mobile-content span.__pfs:nth-of-type(1) {
  margin-right: 0 !important;
}

.europe-hub.august .header-row {
  background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-hub-hero-d.png) no-repeat !important;
  background-size: cover !important;
  position: relative;
}

.__pfs.ae-ready-banner.ae-content.__bss {
  background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-ready-banner-d.png) !important;
  /* border-radius: 10px; */
}

/* .__pfs.ae-ready-banner.ae-content h3.__pfs {
  color: #fff !important;
} */

.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#flightOffers p.__pfs.__bss {
  margin: 40px auto 0;
  font-size: 16px !important;
}

div.__pfs#cabins {
  padding-top: 3em !important
}

div.__pfs#mll .ae-carousel img.__pfs {
  /* border-radius: 10px !important; */
}

.offers-card {
  /* border-radius: 10px !important; */
}

div.__pfs#tc-panel-container {
    display: block !important;
    padding: 5px;
}

.col-lg-6.col-md-6.col-sm-12.col-xs-12.des_img img.__pfs {
  /* border-radius: 10px; */
}

.__pfs.ae-join-banner.ae-content.__bss {
  background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-join-banner-d.png) !important;
  /* border-radius: 10px; */
}

div.__pfs#flightOffers .ae-content {
  padding-top: 1em;
}

div.__pfs#vacationOffers {
  padding-top: 3em;
}

div.__pfs#offers .eu-destination-des:nth-of-type(1) {
  margin-top: 2em !important;
}

.des h3.__pfs {
  margin-bottom: 1em !important;
}

/* ul.__pfs.slick-dots li.__pfs.slick-active:before {
  background-color: transparent !important;
} */

.toulouse #mll ul.__pfs.slick-dots {
  margin-top: 0;
  position: relative;
}

.slick-slider:not(.carousel-slider):not(.slider) .slick-dots {
  bottom: 0;
}

.__pfs.cabin-cards.ae-carousel-mobile.__bss.slick-initialized.slick-slider.slick-dotted {
  margin-bottom: 0;
}

.slick-slider:not(.carousel-slider):not(.slider) .slick-dots {
  margin: 0 auto;
}

#cabins .primary-btn {
  margin-top: 20px;
  margin-bottom: 0;
}

div.__pfs#vacationOffers h2.__pfs.__bss::after,
div.__pfs#flightOffers h2.__pfs.__bss::after {
    display: none !important;
}

div.__pfs#vacationOffers h2.__pfs.more-offers {
    margin: 40px auto -20px auto;
}

div.__pfs#flightOffers h2.__pfs.more-offers {
    margin: 40px auto;
}

#travel-perks #top-offers .gradient-blue-bg {
    background: none;
}

.europe-hub.august .header-row::after {
    content: '';
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(1px);
    position: absolute;
    height: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    transform: scale(1.1);
}

img.__pfs.desc_acv-img.__pfs.__bss {
    width: 400px;
    margin: 0 auto 30px;
    max-width: 80%;
}

@media only screen and (min-width: 767px) {
  :lang(fr) .europe-hub .ae-content#top {
      margin-bottom: -60px !important;
  }

  .toulouse #mll ul.__pfs.slick-dots {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
  div.__pfs#travel-perks .ae-content {
      padding-left: 0;
      padding-right: 0;
  }
  
  .offers-content .grid-container .desc-container .Subtext {
      opacity: 1 !important;
  }

  .toulouse .offers-content .grid-container .offers-card {
      max-height: 400px;
  }

  .toulouse .cabin-cards .desc-container {
      height: 200px !important;
  }

  :lang(fr) .toulouse .cabin-cards .desc-container {
      height: 240px !important; 
  }

  div.__pfs#tc-panel-container {
    max-width: 90%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 800px) {
  .toulouse .offers-content .grid-container .offers-card {
    max-width: 225px;
    margin: 0 auto;
  }

  :lang(fr) .toulouse .cabin-cards .desc-container {
    height: 255px !important; 
  }
}

@media only screen and (min-width: 801px) and (max-width: 912px) {
  .toulouse .offers-content .grid-container .offers-card {
    max-width: 240px;
    margin: 0 auto;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .gradient-blue-bg .row.white-panel img.__pfs.col-50 {
      max-height: none;
      min-height: 200px;
      width: auto;
      max-width: 50%;
      object-fit: cover;
  }
}

@media only screen and (max-width: 767px) {
.europe-hub.august .header-row {
  background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-hub-hero-t.png) no-repeat !important;
  background-size: cover !important;
} 
    .gradient-blue-bg .row.white-panel {
        flex-direction: column;
    }
    .gradient-blue-bg .row.white-panel:nth-of-type(even) {
        flex-direction: column-reverse;
    }
    .gradient-blue-bg .row.white-panel img.__pfs.col-50 {
        max-height: 260px;
        min-height: 100px;
        width: auto;
        max-width: 100%;
        object-fit: cover;
        object-position: top;
    }

    .des_img {
        padding-bottom: 20px;
    }

    div.__pfs#mll {
      padding-top: 0 !important;
    }

    div.__pfs#mll .ae-carousel ul.__pfs.slick-dots {
      bottom: 0 !important;
    }
}

@media only screen and (max-width:426px) {
  .__pfs.ae-join-banner.ae-content.__bss {
      background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-join-banner-m.png) !important;
  }    

  .__pfs.ae-ready-banner.ae-content.__bss {
      background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-ready-banner-m.png) !important;
  }

  .europe-hub.august .header-row {
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/toulouse/toulouse-hub-hero-m.png) no-repeat !important;
    background-size: contain !important;
  } 
  
  div.__pfs#offer-tabs {
    position: relative;
  }
  
  #destinations .__pfs.ae-content.eu-destination-des.row.__bss,
  #offers .__pfs.ae-content.eu-destination-des.row.__bss {
    margin-top: 0 !important;
  }
  
  div.__pfs#vacationOffers h2.__pfs.more-offers {
    margin: 40px auto -5px auto;
  }
}

@media only screen and (max-width:766px) {
  .card-reverse {
      display: flex;
      flex-direction: column-reverse;
  }
}

.toulouse .header-row .ae-content img.__pfs {
    display: block;
    margin: 40px auto;
}
  
.toulouse .header-row .ae-content p.__pfs {
    max-width: 75%;
    display: block;
    margin: 30px auto;
    font-size: 18px !important;
}

@media only screen and (max-width:766px) {
    .toulouse .header-row .ae-content p.__pfs {
        font-size: 14px !important;
    }
}