.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;
}

p.__pfs.mobile-content span.__pfs:nth-of-type(1) {
  margin-right: 0 !important;
}

p.__pfs.mobile-content.topLayer span.__pfs:nth-of-type(1) {
  margin-right: auto !important;
  margin-left: 10px !important;
  font-weight: 600 !important;
}

.europe-hub.august .header-row {
  background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/dubai/dubai-hero.png) no-repeat !important;
  background-size: cover !important;
}

.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss {
  display: flex;
  flex-direction: column;
}

#flightOffers p.__pfs.__bss {
  margin: 40px auto 0;
  font-size: 16px !important;
}

div.__pfs#cabins {
  padding-top: 0 !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;
}

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;
}

.copenhagen #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;
}

.red-pill {
  color: #fff !important;
  margin-bottom: 10px !important;
  background-color: #D8292F !important;
} 

p.__pfs.red-pill+h3.__pfs {
  font-size: 24px !important;
  margin: 0 0 15px !important;
}

h2.__pfs::after {
  background-color: transparent !important;
}

.primary-btn {
  width: 200px;
  text-align: center;
}

#mll .primary-btn {
  width: 200px;
}

.bg-gradient {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(223,237,246,1) 100%);
}

#destinations .ae-content {
  padding: 0 !important;
}

#destinations h2.__pfs {
  margin-top: 32px;
}

#travel-perks .bg-gradient .ae-content {
  padding-top: 0 !important;
}

.bg-gradient + .ae-content {
  padding-top: 0 !important;
}

.hotel-deals {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}

.hotel-deals p.__pfs {
    text-align: center;
    padding: 0 20px;
}

.primary-btn {
    width: 200px !important;
    border-radius: 14px;
}

.gradient-clouds-bg {
  background: none !important;
  padding-bottom: 0 !important;
}

div.__pfs#flightOffers {
  background: none;
}

div.__pfs#offers {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(223,237,246,1) 100%) !important;
}

.hotel-deals h2.__pfs {
  font-size: 28px !important;
}

.tc-panel-content a.__pfs {
  font-size: 14px !important;
}

.tc-panel-content ul.__pfs li.__pfs a.__pfs {
  font-size: 14px !important;
}

@media only screen and (min-width: 767px) {
  :lang(fr) .europe-hub .ae-content#top {
      margin-bottom: -60px !important;
  }

  .copenhagen #mll ul.__pfs.slick-dots {
    margin-bottom: 10px;
  }

  .hotel-deals img.__pfs {
    max-width: 580px !important;
    margin-bottom: 25px;
 }
}

@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;
  }

  .copenhagen .offers-content .grid-container .offers-card {
      max-height: 400px;
  }

  .copenhagen .cabin-cards .desc-container {
      height: 200px !important;
  }

  :lang(fr) .copenhagen .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) {
  .copenhagen .offers-content .grid-container .offers-card {
    max-width: 225px;
    margin: 0 auto;
  }

  :lang(fr) .copenhagen .cabin-cards .desc-container {
    height: 255px !important; 
  }
}

@media only screen and (min-width: 801px) and (max-width: 912px) {
  .copenhagen .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;
  }

  .hotel-deals {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 767px) {
    .europe-hub.august .header-row {
      background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/dubai/dubai-hero-m.png) no-repeat !important;
      background-size: contain !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;
    }

    .hotel-deals {
      margin-bottom: 20px;
    }

    .hotel-deals p.__pfs {
      margin-top: 20px !important;
    }
}

@media only screen and (max-width:766px) {
  .card-reverse {
      display: flex;
      flex-direction: column-reverse;
  }

  .hotel-deals img.__pfs {
    max-width: 325px !important;
 }
}

@media only screen and (min-width: 1920px) {
    .europe-hub .header-row {
        height: 775px !important;
    }
}