div#naples {
  margin-bottom: 48px;
}

.__pfs.col-lg-6.col-md-6.col-sm-6.col-xs-12.text-right.container-img.__bss {
  margin-top: 0;
}

div.__pfs.tc-panel-container {
  padding: 20px;
  border-radius: 14px;
  margin-top: 0 !important;
}

div.__pfs.tc-panel-content.active {
  display: block;
  border: none !important;
  padding: 20px 0 !important;
}

div.__pfs#tc-panel-container .tc-panel.active i {
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}

div.__pfs.tc-panel-content.active p,
div.__pfs.tc-panel-content.active a,
div.__pfs.tc-panel-content.active li {
  font-size: 14px;
}

img.__pfs.img-responsive.__bss {
  border-radius: 14px;
}

/* AE Widget? */
#offers
  > div.__pfs.ae-content.eu-destination-des.des-ae-eu.row.__bss
  > div.__pfs.ae-content.eu-destination-des.row.__bss
  > div.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss
  > h2::after {
  content: "";
  display: block;
  background-color: #bba88d;
  width: 20px;
  height: 2px;
  margin: 20px 0px 20px 0px;
}
#offers
  > div.__pfs.ae-content.eu-destination-des.des-ae-eu.row.__bss
  > div.__pfs.ae-content.eu-destination-des.row.__bss
  > div.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss
  > h2 {
  text-align: start;
  padding: 0;
}
#offers
  > div.__pfs.ae-content.eu-destination-des.des-ae-eu.row.__bss
  > div.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss
  > h2 {
  text-align: start;
  padding: 0;
}
#offers
  > div.__pfs.ae-content.eu-destination-des.des-ae-eu.row.__bss
  > div.__pfs.col-lg-6.col-md-6.col-sm-12.col-xs-12.des.__bss
  > h2::after {
  content: "";
  display: block;
  background-color: #bba88d;
  width: 20px;
  height: 2px;
  margin: 20px 0px 20px 0px;
}
div#tc-panel-container a {
  font-size: 14px !important;
}

.europe-hub.august .header-row {
  background: url("https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/europe-hub/euro-hub-fall-winter-hero-d.png")
    no-repeat center center;
  background-size: cover;
}
/* Themes section */
.gradient-blue-bg .row.white-panel {
  padding: 0px;
  margin: 30px 0;
  display: flex;
}
.gradient-blue-bg .row.white-panel div.col-50 {
  padding: 30px;
  margin-right: auto;
}

.gradient-blue-bg .row.white-panel div.col-50 p {
  text-align: left;
}

.gradient-blue-bg .row.white-panel img.col-50 {
  max-height: 220px;
  width: auto;
  max-width: 475px;
}

#flightOffers .eu-destination-des p.__pfs.__bss,
#flightOffers .eu-destination-des h2 {
  text-align: left;
}

.europe-hub.europe-testing h2.__pfs.__bss:after,
.europe-hub h2:after,
.usa-hub h2.__pfs.__bss:after,
.usa-hub h2:after {
  content: none;
}

.europe-hub.europe-testing #vacationOffers h2.__pfs.__bss::after {
  content: none;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .gradient-blue-bg .row.white-panel img.col-50 {
    max-height: none;
    min-height: 200px;
    width: auto;
    max-width: 50%;
    object-fit: cover;
  }
}
.europe-hub.august .header-row {
  background: url("https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/europe-hub/euro-hub-fall-winter-hero-d.png")
    no-repeat center center;
  background-size: 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/europe-hub/euro_hub_t.png) no-repeat;
    background-size: cover;
} */
  .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.col-50 {
    max-height: 260px;
    min-height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: top;
  }
}

@media only screen and (min-width: 767px) and (max-width: 1024px) {
  .offers-content .grid-container .desc-container {
    height: 200px !important;
  }

  .offers-content .grid-container .desc-container .Subtext {
    opacity: 1 !important;
  }

  .offers-content .grid-container .offers-card {
    max-height: 400px !important;
  }

  div#travel-perks .ae-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .offers-content .grid-container .offers-card {
    margin: 0 auto 15px !important;
  }
}

@media only screen and (max-width: 767px) {
  .ae-content.eu-destination-des.des-ae-eu.row.second-tile {
    flex-direction: column-reverse;
    padding-top: 0;
    padding-bottom: 0;
  }

  div#vacationOffers h2.__pfs.__bss {
    padding-top: 20px !important;
  }

  #flightOffers .eu-destination-des p.__pfs.__bss,
  #flightOffers .eu-destination-des h2 {
    text-align: center;
  }
}
/* aeroplan offer block styles */
#europe-hub div#earn-bonus-points div.row .col-50 {
  width: calc(50% - 30px);
  display: flex;
  flex-direction: column;
}
div#earn-bonus-points div.row .col-50.white-panel {
  border-radius: 20px;
}
span.__pfs.blue.bg-text.ae-text.__bss {
  color: #2a2a2a !important;
  font-weight: 700;
}
div#join-aeroplan h3,
div#join-aeroplan h3.__pfs.__bss {
  font-weight: 700;
}
#earn-bonus-points
  > div
  > div
  > div:nth-child(1)
  > div
  > div
  > div
  > p:nth-child(2) {
  text-align: start;
  margin-top: 25px;
  margin-bottom: 15px;
}
#earn-bonus-points
  > div
  > div
  > div:nth-child(1)
  > div
  > div
  > div
  > p:nth-child(1) {
  text-align: start;
  margin-top: 15px;
}
.__pfs.item.item-ae.__bss {
  padding: 0px !important;
}
.gradient-blue-bg .row.white-panel {
  padding: 0px;
  margin: 30px 0;
  display: flex;
}

.gradient-blue-bg .row.white-panel div.col-50 {
  padding: 30px;
  margin-right: auto;
}

.gradient-blue-bg .row.white-panel div.col-50 p {
  text-align: left;
}

.gradient-blue-bg .row.white-panel img.col-50 {
  max-height: 220px;
  width: auto;
  max-width: 475px;
}
.__pfs.gradient-blue-bg.__bss {
  background: none !important;
}
input#acDbaasSubmit {
  border-radius: 14px;
}
#acDbaasRulesCheck {
  margin: 6px 0 0 !important;
}
.offer-panel {
  border-radius: 14px;
}
.offer-panel.white-panel {
  margin: 0;
}
#flightOffers .offer-panel ul {
  list-style: none;
  padding: 0px;
}
#flightOffers .offer-panel li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
#flightOffers .offer-panel li:nth-child(1) {
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 20px;
}
#flightOffers .offer-panel img {
  max-width: 50px;
}
#flightOffers .offer-panel ul li p {
  margin: 0px 0px 0px 16px;
  text-align: left !important;
}
#flightOffers .offer-panel ul li p span {
  font-size: 18px;
}
.dates-container div:nth-child(1) {
  margin-right: 20px;
}
.dates-container div {
  display: flex;
}
/* .dates-container div:nth-child(1) {
  margin-right: 10px;
} */
.dates-container div:nth-child(2) {
  border-left: 2px solid #c8c8c8;
  padding-left: 20px;
}
.dates-container {
  display: flex;
  padding-bottom: 25px;
}
.dates-container div img {
  /* max-width: 15px !important; */
  max-width: 20px !important;
  width: 100%;
  margin: 0 10px 0px 0;
}
@media only screen and (max-width: 1200px) and (min-width: 768px) {
  div#earn-bonus-points .row {
    flex-direction: row !important;
  }
  #tc-panel-container .tc-panel-content {
    max-width: 100%;
  }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  #earn-bonus-points > div > div > div:nth-child(1) > div {
    justify-content: start !important;
  }
}
@media only screen and (max-width: 769px) {
  div#earn-bonus-points div.row .col-50 {
    width: calc(100% - 30px) !important;
    margin: 10px auto !important;
  }
}
@media only screen and (max-width: 767px) {
  div#earn-bonus-points .row {
    flex-direction: column;
  }
  .europe-hub div#flightOffers p.mobile-content span:nth-of-type(1) {
    margin-left: auto;
    margin-right: 10px;
  }
}
@media only screen and (max-width: 426px) {
  div#flightOffers .eu-destination-des.des-ae-eu.row.second-tile {
    margin-top: 30px !important;
  }
  #europe-hub.europe-hub .header-row .hero-image,
  .usa-hub .header-row .hero-image {
    margin: 0px 0 19em;
  }
}
@media only screen and (max-width: 425px) {
  .offer-panel ul li {
    flex-direction: column;
  }
  #flightOffers .offer-panel ul li div p {
    text-align: center !important;
  }
  #earn-bonus-points > div > div > div:nth-child(1) > div > div > div > p {
    text-align: center !important;
  }
}
.ws-promo .promo-pill {
  background-color: #d8292f;
  color: white !important;
  font-weight: 700 !important;
  padding: 10px;
  border-radius: 20px;
  display: inline-block;
}
div#all-destinations .ws-promo {
  padding: 0;
}
div#all-destinations .ws-promo .col-60 {
  padding: 30px;
}
/* .europe-hub.august.europe-testing .header-row {
background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/europe-hub/euro-hub-fall-winter-hero-d.png)no-repeat top center !important;
background-size: cover;
} */
.ws-promo .col-60 p {
  text-align: left !important;
}
.ws-promo .dates-container div:nth-child(2) {
  border: none;
  padding-left: 0;
}
/* #earn-bonus-points .dates-container div:nth-child(2) {
border: none;
padding-left: 0;
} */
.europe-hub .exclusive-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/europe-hub/europe-rail.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  min-height: 550px;
  padding-top: 0;
}
.europe-hub .exclusive-section .ae-content .des h2 {
  text-align: left;
}
.europe-hub .exclusive-section .des {
  text-align: center;
}
.europe-hub .exclusive-section .ae-content .des h2,
.europe-hub .exclusive-section .ae-content .des p {
  text-align: center !important;
}
.europe-hub .exclusive-section .des p a {
  color: white;
  background-color: #005078;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 13px;
}

.__pfs.dates-container.__bss {
  flex-direction: column;
}

.__pfs.dates-container.__bss div {
  display: flex;
  align-items: flex-start;
  /* align-items: center; */
  margin-bottom: 8px;
}

.dates-container div:nth-child(2) {
  border-left: none !important;
  padding-left: 0 !important;
}

div.__pfs.tc-panel-container h3.__pfs.__bss.__pfs.__bss.tc-panel, div.__pfs.tc-panel-container h3.__pfs.tc-panel {
  padding: 0;
}

i.__pfs.material-icons.icon-down-arrow.__bss {
  top: 0;
}

.error-check p.__pfs.__bss {
  font-weight: 700;
}

p.__pfs.conditional.__bss {
  font-size: 14px;
}

#acDbaasRegisterForm > p > a {
  font-weight: 700;
}

section#tc-section.ae-content {
    padding-top: 0;
}

div.__pfs#join-aeroplan h3.__pfs, div.__pfs#join-aeroplan h3.__pfs.__bss {
  margin: 16px;
}

h3.congrats {
  font-size: 18px;
}

h2.naples-header {
  font-weight: 700;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
  div.__pfs#join-aeroplan {
    background: #fff !important;
    max-height: 500px;
  }
}

@media only screen and (max-width: 767px) {
  div.__pfs#join-aeroplan, div.__pfs#join-aeroplan form .form-control {
      background: #fff !important;
  }
  div.__pfs#earn-bonus-points {
    flex-direction: column;
    margin: 0;
    width: 100%;
  }

  .__pfs.tc-panel-content.__bss.active {
    display: block;
    margin-left: 0;
    margin: 0;
    width: 100%;
  }

  section#tc-section {
    padding-top: 20px !important;
    padding-left: 0;
    padding-right: 0;
  }

  .__pfs.bonus-pts.desc.__bss {
    text-align: left;
  }

  .__pfs.desc.__bss {
    text-align: left;
  }

  .tc-panel-content ul.__pfs.__bss {
    padding: 0;
    padding-left: 20px;
  }
}