/* Account Manager profile pages — scoped to these five pages only */

.single-page.account-manager-profile {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
}

.single-page.account-manager-profile .page-header {
  background: #000 url(../../assets/img/single_market_page/banner1.png) no-repeat center right;
  background-size: cover;
}

.single-page.account-manager-profile .page-first-text::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.single-page.account-manager-profile .risk-image {
  display: none !important;
}

.single-page.account-manager-profile .page-content-container {
  background: #fff;
  overflow-x: hidden;
}

.single-page.account-manager-profile .page-section .first-section {
  margin-left: 0 !important;
  padding-top: 40px !important;
}

html.single-market-page .single-page.account-manager-profile .market-facts-card .facts-item::before {
  color: #34E834;
}

.single-page.account-manager-profile .market-facts-card .facts-header {
  text-align: center;
}

.single-page.account-manager-profile .manager-profile-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.single-page.account-manager-profile .manager-profile-avatar__img,
.single-page.account-manager-profile .manager-profile-avatar__placeholder {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
}

.single-page.account-manager-profile .manager-profile-avatar__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #34E834;
  background: #161717;
  color: #34E834;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
}

html.single-market-page .single-page.account-manager-profile .market-facts-card .facts-header .header-title {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}

html.single-market-page .single-page.account-manager-profile .market-facts-card .facts-header .header-label {
  font-size: 16px;
  line-height: 1.3;
}

.single-page.account-manager-profile .market-facts-card .action-button {
  background: #34E834;
  text-decoration: none;
}

.single-page.account-manager-profile .page-content.pamm-cta .start-trading,
.single-page.account-manager-profile .page-content.pamm-cta .global-today {
  color: #fff !important;
}

.single-page.account-manager-profile .page-content.pamm-cta {
  min-height: 0 !important;
}

.single-page.account-manager-profile .page-first-text p,
.single-page.account-manager-profile .page-section.split-2 .right-section p,
.single-page.account-manager-profile .highlighted-content .content-inside.ordinary {
  text-align: justify;
}

.single-page.account-manager-profile .highlighted-content .content-inside.value + .content-inside.label {
  margin-top: 28px;
}

@media screen and (max-width: 960px) {
  .single-page.account-manager-profile:not(.page-demo):not(.page-live) .page-content:first-child {
    padding-top: 0 !important;
  }

  .single-page.account-manager-profile .page-section .first-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .single-page.account-manager-profile .page-content:first-child .page-section {
    display: flex;
    flex-direction: column;
  }

  .single-page.account-manager-profile .page-content:first-child .first-section {
    order: 1;
  }

  .single-page.account-manager-profile .page-content:first-child .market-facts-card {
    order: 2;
    float: none;
    margin: 24px auto 40px;
  }
}

@media screen and (max-width: 768px) {
  .single-page.account-manager-profile .page-header {
    margin: 0;
    padding-top: 20px !important;
    padding-bottom: 16px !important;
  }

  html.single-market-page .single-page.account-manager-profile .page-header .page-header__heading--style {
    font-size: 32px !important;
  }

  html.single-market-page .single-page.account-manager-profile .page-header .icm-button-wrapper.page-header__primary-button {
    margin: 20px 0 8px !important;
  }

  .single-page.account-manager-profile .page-section.split-2 {
    display: block !important;
  }

  .single-page.account-manager-profile .manager-profile-avatar,
  .single-page.account-manager-profile .manager-profile-avatar__img,
  .single-page.account-manager-profile .manager-profile-avatar__placeholder {
    width: 120px;
    height: 120px;
  }

  .single-page.account-manager-profile .manager-profile-avatar {
    margin: 0 auto 16px;
  }

  .single-page.account-manager-profile .manager-profile-avatar__placeholder {
    font-size: 28px;
  }
}
