body {
  /* Colors */
  --primary-color: #005CBE;
  --dark-black: #000000;
  --dark-white: #ffffff;
  --light-grey: #ECECEC;
  --bright-green: #14D990;
  --error-red: #f2545b;

  --text-color: #000000;
  --link-color: var(--primary-color);
  --button-text-color: #fff;
  --input-error-text-color: var(--error-red);
  --emoji-text-color: #FFC02B;
  --header-text-color: #000000;
  --feed-text-color: var(--dark-black);
  --ad-text-color: #0A1C2D;
  --category-card-text-color: var(--dark-black);

  --bg-color: #EFF8FD;
  --header-bg-color: #fff;
  --link-bg-color: #D2F5FF;
  --button-bg-color: var(--primary-color);
  --input-bg-color: var(--light-grey);
  --card-bg-color: #fff;
  --category-card-bg-color: var(--dark-white);
  --avatar-bg-color: var(--light-grey);
  --attachment-bg-color: var(--light-grey);
  --emoji-button-bg-color: #fff;
  --emoji-button-hover-bg-color: #005CBE;

  --button-border-color: var(--primary-color);
  --input-border-color: #DCDDDE;
  --input-error-border-color: var(--error-red);
  --card-border-color: #DCDDDE;

  --avatar-online-color: var(--bright-green);

  /* Styles */
  font-family: 'GT America', sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding: 0;
  margin: 0;
}

.margin-top-50 {
  margin-top: 30px;
}

.academy-container {
  display: none;
}

.academy-container.academy-container-initialized {
  display: block;
}

.row-fluid-wrapper.row-number-3.dnd-section.height {
  height: 104px;
}


.academy-container.academy-container-initialized.top {
  top: 0px;
}

.navbar.c--standalone-header-navigation.hide {
  display: none!important;
  height: 0px!important;
}

.academy-container * {
  /*padding: 0;
  margin: 0;*/
  box-sizing: border-box;
}

.academy-container a,
.academy-container a:link,
.academy-container a:hover,
.academy-container a:focus,
.academy-container a:visited {
  color: var(--link-color);
  text-decoration: none;
}

.academy-container h1,
.academy-container h2 {
  margin-bottom: 16px;
}

.academy-container h3,
.academy-container h4 {
  margin-bottom: 8px;
}

.academy-container h5,
.academy-container h6 {
  margin-bottom: 4px;
}

.academy-container button {
  font-size: 16px;
  font-weight: normal;
  line-height: 25px;
  padding: 5px 15px;
  margin: 4px 0;
  color: var(--button-text-color);
  background-color: var(--button-bg-color);
  border: 1px solid var(--button-border-color);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.academy-container button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.academy-container input {
  width: 100%;
  height: 35px;
  padding: 5px 10px;
  background-color: var(--input-bg-color);
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  outline-width: 0;
}

.academy-container .error {
  color: var(--input-error-text-color);
}
.academy-container input.error {
  color: var(--input-error-text-color);
  border-color: var(--input-error-border-color);
}

.academy-container .page-content {
  max-width: inherit;
  width: 100%;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  float: none;
}

@media (min-width: 768px) {
  .academy-container .page-content {
    max-width: inherit;
    padding: 0px;
  }
}

@media (min-width: 980px) {
  .academy-container .page-content {
    max-width: inherit;
    padding: 0px;
  }
}

@media (min-width: 1900px) {
  .academy-container .page-content {
/*     max-width: 1900px; /* 1378 before */ */
    padding: 0px;
  }
}


/* Avatars */
.academy-feed-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 100%;
  margin-right: 12px;
  background-color: var(--avatar-bg-color);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.academy-feed-avatar.academy-feed-user-online::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--avatar-online-color);
  border-radius: 100%;
}

/* Academy Navbar */
.academy-navbar-spacer {
  /*height: 58px;*/
  min-height: 124px;
}

@media (max-width: 768px) {
  .academy-navbar-spacer {
    /*height: 58px;*/
    height: 124px;
  }
  .academy-container.academy-container-initialized {
    margin-top: 0px;
    height: 56px;
  }
}


/* Guest Banner */
.academy-guest-banner {
  background-color: var(--header-bg-color);
  padding: 60px 0;
  transition: height ease-in-out .3s;
}

.academy-is-authed .academy-guest-banner {
  display: none;
}

.academy-guest-banner .page-content {
  text-align: center;
}

.academy-guest-banner h1 {
  font-family: 'GT America';
  font-size: 52px;
  font-weight: normal;
  line-height: 68px;
}

.academy-guest-banner h1 strong {
  font-weight: bold;
}

.academy-guest-banner-description {
  max-width: 400px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: 300; /* 400/normal looks too big */
  line-height: 30px;
}

@media (min-width: 768px) {
  .academy-guest-banner .page-content {
    max-width: 670px;
  }
}

.academy-guest-banner-description a {
  text-decoration: underline;
}

/* Title Card */
.academy-title-card {
  display: none;
  text-align: center;
  padding: 20px;
  background-color: var(--card-bg-color);
  margin-bottom: 20px;
  border-radius: 8px;
}

.academy-is-authed .academy-title-card {
  display: block;
}

.academy-title-card h2 {
  font-family: 'GT America';
  font-size: 25px;
  font-weight: normal;
  line-height: 30px;
  margin-bottom: 0;
}

.academy-title-card h2 strong {
  font-weight: bold;
}

/* Feed */
.academy-feed-content {
  padding: 20px 0 0 0;
  color: var(--feed-text-color);
  background: #F5F8FA;
}

.academy-feed-content > .page-content {
  display: flex;
  flex-direction: column !important;
  justify-content: center;
  align-items: flex-start;
}

.academy-feed-content > .page-content > * {
  margin-bottom: 20px;
}

.academy-feed-content > .page-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 500px) {
.academy-feed-content {
  padding: 0!important;
  }
}

@media (min-width: 1024px) {
  .academy-feed-content .page-content {
    flex-direction: row !important;
    justify-content: space-between;
  }

  .academy-feed-content .page-content > * {
    margin-bottom: 0;
  }
}

/* Main Feed Content */
.academy-feed-content-main {
  width: 100%;
  min-width: 100%;
}

.academy-feed-content-sidebar {
  width: 100%;
  min-width: 100%;
}

@media (min-width: 1024px) {
  .academy-feed-content-main {
    width: 48.62%; /*670px/1378px;*/
    min-width: 48.62%;
  }

  .academy-feed-content-sidebar {
    width: 24.24%; /*334px/1378px;*/
    min-width: 24.24%;
  }

  .academy-feed-content-sidebar.academy-feed-content-sidebar-home {
    width: 32.49%; /*450px/1385px;*/
    min-width: 32.49%;
  }

  .academy-feed-content-main .inspire-card-list-wrapper,
  .academy-feed-content-main .inspire-search-results-page {
    padding: 0px 0 60px;
  }

  .academy-feed-content-sidebar.academy-feed-content-sidebar-home .il-feed-container-wrapper {
    margin: 0 0 40px;
  }

  .academy-feed-content-sidebar.academy-feed-content-sidebar-home .il-feed-dropdown-picker.il-feed-dropdown-picker-open .il-feed-dropdown-picker-popover {
    transform: none;
    left: auto;
    right: -15px;
  }
}

.academy-section-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  color: #222;
  /*margin-bottom: 12px;*/
  margin-bottom: 20px !important;
}

@media (min-width: 768px) {
  .academy-section-title {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (min-width: 1024px) {
  .academy-section-title {
    font-size: 18px;
    line-height: 25px;
  }
}

@media (min-width: 1400px) {
  .academy-section-title {
    font-size: 24px!important;
    line-height: 30px!important;
    font-family: 'GT America'!important;
    color: #222!important;
    font-weight: 500!important;
  }
}



/* Sidebars */
.academy-feed-content-sidebar-card {
  padding: 20px 10px;
  background-color: var(--card-bg-color);
  border-radius: 8px;
  margin-bottom: 20px;
}

.academy-feed-content-sidebar-card h2 {
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
  margin-bottom: 20px;
}


/* Resource Card */
.academy-feed-resource-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
  margin-top: 10px;
  border-bottom: 1px solid var(--card-border-color);
}

a.academy-feed-resource-card,
a.academy-feed-resource-card:link,
a.academy-feed-resource-card:hover,
a.academy-feed-resource-card:focus,
a.academy-feed-resource-card:visited {
  color: var(--feed-text-color);
  text-decoration: none;
  cursor: pointer;
}

.academy-feed-resource-card:hover,
.academy-feed-resource-card:focus {
  background-color: var(--light-grey);
}

.academy-feed-resource-card:first-child {
  margin-top: 0;
}

.academy-feed-resource-card:last-child {
  border-width: 0;
}

.academy-feed-resource-card img {
  width: 80px;
  margin-right: 12px;
  /*box-shadow: 0px 3.68543px 7.37086px rgba(0, 0, 0, 0.1), 3.68543px 3.68543px 14.7417px rgba(0, 0, 0, 0.17);*/
}

.academy-feed-resource-card-content {
  flex-grow: 1;
  word-break: break-word;
}

.academy-feed-resource-card-content h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 6px;
}

.academy-feed-resource-card-content-author-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.academy-feed-resource-card .academy-feed-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin-right: 8px;
}

.academy-feed-resource-card-content-author {
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  opacity: 0.6;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .academy-feed-resource-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .academy-feed-resource-card-content {
    margin-top: 10px;
    text-align: center;
  }
}

/* Category Card */
.academy-feed-category-container {
  margin-bottom: 40px;
  font-family: 'GT America';
}
.academy-feed-category-card {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background-color: var(--category-card-bg-color);
  border-radius: 8px;
  overflow: hidden;
}

.academy-feed-category-card::after {
  content: '';
  position: absolute;
  display: block;
  width: 8px;
  height: 100%;
  right: 0;
  top: 0;
}
.academy-feed-category-card:nth-child(5n + 1)::after {
  background-color: #582583;
}
.academy-feed-category-card:nth-child(5n + 2)::after {
  background-color: #EB589A;
}
.academy-feed-category-card:nth-child(5n + 3)::after {
  background-color: #14D990;
}
.academy-feed-category-card:nth-child(5n + 4)::after {
  background-color: #FF4A12;
}
.academy-feed-category-card:nth-child(5n)::after {
  background-color: #F7EB61;
}

.academy-feed-category-card-image {
  position: relative;
  width: 80px;
  min-width: 80px;
  height: 80px;
  min-height: 80px;
  margin-right: 12px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.academy-feed-category-card:hover .academy-feed-category-card-image,
.academy-feed-category-card:focus .academy-feed-category-card-image {
  opacity: 1;
}

.academy-feed-category-card-image-overlay {
  width: 100%;
  height: 100%;
}

.academy-feed-category-card:hover .academy-feed-category-card-image-overlay,
.academy-feed-category-card:focus .academy-feed-category-card-image-overlay {
  display: none;
}

.academy-feed-category-card-content {
  flex-grow: 1;
  color: var(--category-card-text-color);
  word-break: break-word;
  padding-right: 2rem;
}

.academy-feed-category-card-content-verb {
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  opacity: 0.6;
  margin-bottom: 2px;
}

.academy-feed-category-card-content h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

@media (min-width: 768px) {
  .academy-feed-content-main .academy-feed-category-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .academy-feed-content-main .academy-feed-category-container .academy-feed-category-card {
    width: calc(50% - 5px);
  }

  .academy-feed-content-main .academy-feed-category-container .academy-feed-category-card .academy-feed-category-card-image {
    width: 72px;
    min-width: 72px;
    height: 72px;
  }

  .academy-feed-content-main .academy-feed-category-container .academy-feed-category-card .academy-feed-category-card-content h4 {
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
  }
}

@media (min-width: 1200px) {
  .academy-feed-content-main .academy-feed-category-container .academy-feed-category-card {
    width: calc(25% - 5px);
  }
}


/* Product Card */
.academy-feed-product-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.academy-feed-product-card:hover,
.academy-feed-product-card:focus {
  background-color: var(--light-grey);
}

.academy-feed-product-card:last-child {
  border-width: 0;
}

.academy-feed-product-card img {
  width: 64px;
  margin-right: 12px;
}

.academy-feed-product-card-content {
  flex-grow: 1;
  word-break: break-word;
}

.academy-feed-product-card-content h4 {
  color: var(--ad-text-color);
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  margin-bottom: 0;
}


/* User Card */
.academy-feed-user-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.academy-feed-user-card:hover,
.academy-feed-user-card:focus {
  background-color: var(--light-grey);
  cursor: default;
}

.academy-feed-user-card:hover .academy-feed-avatar,
.academy-feed-user-card:focus .academy-feed-avatar {
  background-color: #fff;
}

.academy-feed-user-card-content {
  flex-grow: 1;
  word-break: break-word;
}

.academy-feed-user-card-content h4 {
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  margin-bottom: 6px;
}

.academy-feed-user-card-content-role {
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  opacity: 0.6;
}

/* Skeletons */
.skeleton-card.skeleton-resource-card {
  --skeleton-card-height: 120px;
  --skeleton-card-padding-x: 10px;
  --skeleton-card-padding-y: 20px;

  --skeleton-avatar-width: 80px;
  --skeleton-avatar-height: 80px;
  --skeleton-avatar: linear-gradient(var(--light-grey) var(--skeleton-avatar-height), transparent 0);

  height: var(--skeleton-card-height);
  background-image:
    var(--skeleton-avatar),
    var(--skeleton-title),
    var(--skeleton-subtitle),
    var(--skeleton-card);
  background-size:
    var(--skeleton-avatar-width) var(--skeleton-avatar-height),
    var(--skeleton-title-width) var(--skeleton-title-height),
    var(--skeleton-subtitle-width) var(--skeleton-subtitle-height),
    100% 100%;
  background-position:
    var(--skeleton-avatar-position),
    var(--skeleton-title-position),
    var(--skeleton-subtitle-position),
    0 0;
  background-repeat: no-repeat;
  max-width: 317px;
  margin: 0;
  border-bottom: 1px solid var(--card-border-color);
}

.skeleton-card.skeleton-user-card {
  /* User Card */
  --skeleton-card-height: 96px;
  --skeleton-card-padding-x: 10px;
  --skeleton-card-padding-y: 20px;

  height: var(--skeleton-card-height);
  background-image:
    var(--skeleton-avatar),
    var(--skeleton-title),
    var(--skeleton-subtitle),
    var(--skeleton-card);
  background-size:
    var(--skeleton-avatar-width) var(--skeleton-avatar-height),
    var(--skeleton-title-width) var(--skeleton-title-height),
    var(--skeleton-subtitle-width) var(--skeleton-subtitle-height),
    100% 100%;
  background-position:
    var(--skeleton-avatar-position),
    var(--skeleton-title-position),
    var(--skeleton-subtitle-position),
    0 0;
  background-repeat: no-repeat;
  max-width: 317px;
  margin: 0;
}


/* Navbar */
/* .search-component__searchbox button[type=submit] {
  top: 0 !important;
} */

.contact-component__dropdown {
  box-shadow: 4px 5px 13px 0 #00000014 !important;
}


.user-component__user-button {
  margin-left: 20px !important;
  background-color: inherit !important;
  padding: 8px 0 !important;
  flex-direction: row-reverse !important;
}

.user-component .user-component__user-button-name {
  margin-left: 12px;
}

@media (max-width: 576px) {
  .user-component__user-button {
    margin-left: 20px !important;
  }

  .user-component__user-button-name {
    display: block !important;
    margin-left: 5px;
  }
}

/* Auth classes */
.academy-auth-only,
.academy-auth-only-inline {
  display: none;
}

.academy-is-authed .academy-auth-only {
  display: block;
}

.academy-is-authed .academy-auth-only-inline {
  display: inline;
}

.academy-is-authed .academy-guest-only {
  display: none;
}

.entry-search-filters-wrapper {
  display: none;
}

/* Topics Manager */
.academy-topics-manager {
  margin: 30px 0 20px;
}

.academy-topics-manager .page-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.academy-topics-manager-title {
  font-size: 14px;
  font-weight: 600;
  /*line-height: 27px;*/
  line-height: 40px;
  color: #222;
  margin-right: 16px;
}

.academy-topics-manager-topics-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.academy-topics-manager-button {
  line-height: 40px;
}

.academy-topics-manager-topics {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.academy-topics-manager-topic {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  color: #222;
  background-color: #fff;
  padding: 5px 12px;
  margin-right: 16px;
  margin-bottom: 4px;
  border-radius: 100px;
  cursor: not-allowed;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .academy-topics-manager {
    margin: 55px 0 20px;
  }

  .academy-topics-manager-title {
    font-size: 20px;
    /*line-height: 27px;*/
    line-height: 40px;
  }

  .academy-topics-manager-topic {
    font-size: 16px;
    padding: 10px 16px;
  }
}

/* Legacy cards */
.inspire-entry-card-wrapper.inspire-entry-card-personalized .inspire-entry-card-content {
  height: auto;
}

.inspire-entry-card-wrapper.inspire-entry-card-personalized .inspire-entry-card-content .il-feed-tags {
  display: block !important;
  margin: 5px 0;
}

.inspire-entry-card-wrapper.inspire-entry-card-personalized .inspire-entry-card-content .inspire-entry-card-details-agency {
  display: none;
}