/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: "Ivar Headline";
  src: url("https://emacontent.com/libs/ivarfont/1.0.0/IvarHeadline-SemiBold.woff") format("woff"),
    url("https://emacontent.com/libs/ivarfont/1.0.0/IvarHeadline-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "econs";
  src: url("https://emacontent.com/libs/econs/0.3/fonts/econs-0.3.otf") format("opentype"),
    url("https://emacontent.com/libs/econs/0.3/fonts/econs-0.3.woff") format("woff"),
    url("https://emacontent.com/libs/econs/0.3/fonts/econs-0.3.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body,
body p,
body.embed h2.headerSubtitle {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

body.embed h1.headerTitle,
body.embed div.headerTitle {
  font-family: "Ivar Headline", serif;
  font-weight: 600 !important;
}

body.embed h3.featureTitle {
  font-family: "Inter", sans-serif;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
}

.embed .headerTitle,
.embed .headerSubtitle,
.embed .featureTitle {
  font-size: 20px !important;
}

/* ==========================================================================
   Interior drawer
   ========================================================================== */

.beamer_beamer.right {
  right: -560px;
  width: 560px !important;
}

.beamer_hide .beamer_beamer.right {
  right: -560px;
}

#beamerLoader,
#beamerLoaderPreview {
  width: 560px;
  background-size: 280px;
}

/* ==========================================================================
   Announcement bar & snippet
   ========================================================================== */

#beamerAnnouncementBar {
  background-color: #F2FAFF !important;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

.beamerAnnouncementSnippet {
  background-color: #F2FAFF !important;
  border: 1px solid #D9F0FF !important;
  font-family: "Inter", sans-serif !important;
}

.beamerAnnouncementSnippet .beamerAnnouncementSnippetTitle {
  color: #254666 !important;
  font-family: "Inter", sans-serif !important;
}

.beamerAnnouncementSnippet .beamerAnnouncementSnippetText {
  color: #4A5568 !important;
  font-family: "Inter", sans-serif !important;
}

/* ==========================================================================
   Announcement popup (overlay)
   ========================================================================== */

.feature.boostedAnnouncementPopup {
  border-radius: 8px !important;
}

/* Title drops below the tag/date; Beamer's own rule uses this same selector */
.feature.boostedAnnouncementPopup .featureTitle {
  display: block !important;
  font-family: "Ivar Headline", serif !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   Header (TBE)
   ========================================================================== */

.embed .header {
  border-bottom: 1px solid #DBE0E8 !important;
}

.embed .headerTitle {
  padding: 16px 80px 16px 24px !important;
}

.embed .headerClose svg,
.embed .headerNav svg {
  fill: #677385 !important;
}

/* ==========================================================================
   Categories
   ========================================================================== */

.category {
  border-style: solid !important;
  border-width: 1px !important;
  border-radius: 5px !important;
  line-height: 130% !important;
  padding: 4px 6px 2px !important;
}

/*
  Beamer sets each tag's background inline, so every variant overrides it
  with a light tint. Text/background contrast is at least 6:1 (AA needs 4.5:1).
*/
.category.announcement {
  background-color: #F8F3E4 !important;
  border-color: #D7CCAB !important;
  color: #362A11 !important;
}

/* planning */
.category.color-9 {
  background-color: #EEF3F8 !important;
  border-color: #BCCDD9 !important;
  color: #315F87 !important;
}

/* client portal */
.category.color-3 {
  background-color: #EAF5F4 !important;
  border-color: #B5D8D5 !important;
  color: #1A4F46 !important;
}

/* platform */
.category.color-5 {
  background-color: #FAF0E6 !important;
  border-color: #E1BC96 !important;
  color: #402614 !important;
}

/* integrations & data */
.category.color-1 {
  background-color: #EEEEF7 !important;
  border-color: #C1C3DB !important;
  color: #23254D !important;
}

/* advisor experience (was white on teal, 2.25:1) */
.category.color-6 {
  background-color: #E8F6F3 !important;
  border-color: #A9DCD4 !important;
  color: #14504A !important;
}

/* color-0 had no override; same tint treatment */
.category.color-0 {
  background-color: #E7F1F6 !important;
  border-color: #A9C8D6 !important;
  color: #12475E !important;
}

/*
  Coming Soon: Beamer sets its green background with !important in a page
  stylesheet, so the `body` prefix is needed to win on specificity.
*/
body .category.categoryComingSoon,
body .category.COMINGSOON,
body .category.comingsoon {
  background-color: #E9F8E8 !important;
  border-color: #A9DFA7 !important;
  color: #1E5A1D !important;
}

/* ==========================================================================
   Features
   ========================================================================== */

.feature {
  box-shadow: none;
  -webkit-box-shadow: none;
}

.embed.beamer_active .feature {
  padding-bottom: 80px !important;
  margin-bottom: 32px !important;
  border-bottom: 1px solid #DBE0E8 !important;
}

.featureDate span {
  font-size: 12px;
  line-height: 150%;
}

.featureDate .date,
.featureDate span {
  color: #677385 !important;
}

/* Read more: content fade */

.feature.hasReadMore .featureContent {
  overflow: visible !important;
}

.feature.hasReadMore .featureContent:after {
  bottom: -96px !important;
  height: 200px !important;
  background: #FFF;
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 0) 100%);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(
    startColorstr="#FFFFFF",
    endColorstr="#FFFFFF1A",
    GradientType=0
  );
}

/* Read more: button */

.feature.hasReadMore .featureContent .readmoreButton,
.feature.hasReadMore .readmoreButton {
  border-radius: 6px !important;
  text-decoration: none !important;
  left: 59px !important;
  font-weight: 600 !important;
  color: #2D3645 !important;
  background-color: #FFF !important;
  border: 1px solid #C5CDD9 !important;
  box-shadow: 0px 1px 2px 0px rgba(16, 23, 31, 0.05) !important;
  bottom: -36px !important;
}

.feature.hasReadMore .featureContent .readmoreButton::after,
.feature.hasReadMore .readmoreButton::after {
  display: inline-block;
  vertical-align: middle;
  content: "\e94d" !important;
  font-family: "econs" !important;
  color: #2D3645 !important;
  margin-left: 4px !important;
  width: 12px !important;
  height: 16px !important;
  position: relative !important;
  top: -2px !important;
  filter: none !important;
  background-image: none !important;
}