/* Global modules */
:root
{

	--highlight-colour: #ef007c;
	--box-background: #1d6052;
	--header-background: #ffffff;
	--border-colour: #0044AB;
	--border-width: 2px;
	--menu-text-colour: #000000;
	--text-colour: #333333;
	--title-colour: #ffffff;
	
	--blog-colour-main: #ef007c;       /* * */
	--blog-colour-secondary: #ECF3A2;
	--blog-colour-highlight: #ef007c;
	--blog-colour-hover: #ef007c;

	--activity-colour-main: #ef007c;
	--activity-colour-secondary: #FD6B60;
	--activity-colour-highlight: #b29669;
	--activity-colour-hover: #ef007c;

	--user-colour-main: #1d6052;
	--user-colour-secondary: #DEF4E1;

	--event-colour-main: #1d6052;
	--event-colour-hover: #ef007c;

	--publication-colour-main: #ef007c;
	--publication-colour-hover: #ef007c;

	--studio-colour-main: #1d6052;

	--standard-colour-main: #1d6052;

	--blogpost-left-indent: 1em;

	--freshness-bar-colour: #b5dead;
}
/*
Reference:
--breakpoint-small (min-width: 740px);
--breakpoint-medium (min-width: 930px);
--breakpoint-large (min-width: 1040px);
*/
/*=== FONT FACES ===*/
@font-face {
	font-family: 'TTNorms';
	src: url('/static/fonts/ttnorms-regular-webfont.woff2') format('woff2');
    font-display: swap;
}
@font-face {
	font-family: 'Brandon';
	src: url('/static/fonts/Brandon-Text-Web-Regular.woff2') format('woff2');
	font-display: swap;
}
/*=== FONT STACKS ===*/
:root
{
	--standard-family: 'TTNorms', arial, sans-serif;
	--mono-family: 'TTNorms', arial, sans-serif;
	--title-family: 'Brandon', arial, sans-serif;
}
/*=== TYPOGRAPHICAL SCALE - Minor third ===*/
:root {
  --step-up-4: 2.074em;
  --step-up-3: 1.728em;
  --step-up-2: 1.44em;
  --step-up-1: 1.2em;
  /* baseline: 1em */
  --step-down-1: 0.833em;
  --step-down-2: 0.694em;
  --step-down-3: 0.578em;
}
:root
{
  --scale: 1.067;
  --font-size-1: 1rem;
  --font-size--1: calc(var(--font-size-0) / var(--scale));
  --font-size-0: calc(var(--font-size-1) / var(--scale));
  --font-size-2: calc(var(--scale) * var(--font-size-1));
  --font-size-3: calc(var(--scale) * var(--font-size-2));
  --font-size-4: calc(var(--scale) * var(--font-size-3));
  --font-size-5: calc(var(--scale) * var(--font-size-4));
  --font-size-6: calc(var(--scale) * var(--font-size-5));
  --lh: 1.6;
  --step: 1.6em;
}
@media (min-width: 740px)
{
  :root
  {
    --scale: 1.250
  }
}
h1, h2, h3, h4, h5, h6
{
  font-size: 1.44em;
  font-size: var(--step-up-2);
  line-height: 1.6;
  line-height: var(--lh);
  font-weight: bold;
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--standard-family);
}
html
{
  /*font-size: 1em;*/
  line-height: 1.6;
  line-height: var(--lh);
}
body
{
  font-feature-settings: "onum";
  font-variant-numeric: oldstyle-nums;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--standard-family);
  font-weight: normal;
  font-style: normal;
}
/*=== Main layout grid for activity pages ===*/
.Activity-layout
{
    display: flex;
    flex-direction: column;
    justify-content: flex-start   
}
@media (min-width: 930px)
    {
.Activity-layout
{
	flex-direction: row   
}
    }
.Activity-main
{
  display: flex;
  flex-direction: column;
}
.Activity-main-title
{
    font-family: 'Brandon', arial, sans-serif;
    font-family: var(--title-family);
    font-weight: bold;
    letter-spacing: 0.075em;
    font-size: 1.44em;
    font-size: var(--step-up-2);
    margin-bottom: 0.5em
}
@media (min-width: 930px)
    {
.Activity-main-title
{
	font-size: 1.728em;
	font-size: var(--step-up-3);
	margin-bottom: 1em
}
    }
.Activity-aside
{
	flex: 0 0 16em;
	display: flex;
	flex-direction: column
}
@media (min-width: 930px)
	{
.Activity-aside
{
	    min-width: 300px
}
	}
.Activity-aside-item
{
    margin-bottom: 1em;
}
.Activity-aside-subtitle
{
    margin-bottom: 1em;
    background: #1d6052;
    background: var(--box-background);
    color: #ffffff;
    color: var(--title-colour);
    text-align: center;
    width: 100%;
    font-size: 1.44em;
    font-size: var(--step-up-2)
}
@media (min-width: 930px)
    {
.Activity-aside-subtitle
{
	font-size: 1.728em;
	font-size: var(--step-up-3)
}
    }
.Activity-aside-related-list {
  /*list-style-type: circle;*/
}
.Activity-aside-related-item {
  padding-bottom: 1em;
}
.Activity-aside-related-link {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #999;
  position: relative;
}
.Activity-aside-title
{
  margin-bottom: 1em;
  border: 1px solid #666666;
  display: inline-block;
  padding: 4px 8px;
}
.Activity-aside-supporter {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.Activity-aside-supporter-link {
  display: flex;
  flex-direction: row;
  color: #333;
  text-decoration: none;
  align-items: center;
}
.Activity-aside-supporter-logo {
  width: 40px;
  height: 40px;
  margin-right: 1ch;
}
.Activity-aside-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.5em;
}
.Activity-aside-user-link {
  display: flex;
  flex-direction: row;
  color: #333;
  text-decoration: none;
  align-items: center;
}
.Activity-aside-user-img {
    border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 1ch;
}
/*=== Activity list items ===*/
.Activity-list-title {
	font-family: 'Brandon', arial, sans-serif;
	font-family: var(--title-family);
	margin-bottom: 1em;
	letter-spacing: 0.075em;
	background: #1d6052;
	background: var(--box-background);
	color: #ffffff;
	color: var(--title-colour);
    font-size: 1.44em;
    font-size: var(--step-up-2);
	text-align: center;
	width: 100%
}
@media (min-width: 740px) {
.Activity-list-title {
        font-size: 1.728em;
        font-size: var(--step-up-3)
}
	}
.Activity-list {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between
}
@media (min-width: 930px) {
.Activity-list {
		margin-top: 0
}
	}
.Activity-list-item {
	width: 100%
}
@media (min-width: 930px) {
.Activity-list-item {
		width: 48%
}
	}
.Activity-list-item--image
{
	margin-bottom: 1em;
	display: block;
	flex-direction: column
}
@media (min-width: 740px) {
.Activity-list-item--image
{
	    display: flex;
	    margin-bottom: 3em
}
	}
.Activity-list-item--no-image
{
	margin-bottom: 3em;
	display: flex;
	flex-direction: column
}
@media (min-width: 740px) {
.Activity-list-item--no-image
{
}
	}
.Activity-list-item-image span {
	margin-left: 1em;
	background-color: #b29669;
	background-color: var(--activity-colour-highlight);
	display: inline-block;
}
.Activity-list-item-image-set {
/*  filter: grayscale(100%)
  brightness(135%)
  contrast(120%);
  opacity: 0.9; */
  display: inline-block;
/*  transition: all 0.2s ease-in-out; */
}
.Activity-list-item-image-set > * {
  vertical-align: bottom; /* fixes issue with space below image left for descenders */
}
.Activity-list-item--image:hover .Activity-list-item-image-set,
.Activity-list-item--image:active .Activity-list-item-image-set {
/*  opacity: 1;
  filter: grayscale(0%)
  brightness(100%)
  contrast(100%);*/
}
.Activity-list-item-summary
{
  padding: 0
}
@media (min-width: 740px) {
.Activity-list-item-summary
{
  z-index: 10;
  margin-top: 0
}
}
.Activity-list-item-text
{
	margin-left: 1em;
  font-size: 0.833em;
  font-size: var(--step-down-1);
}
@media (min-width: 740px) {
  .Activity-list-item--image .Activity-list-item-text {
      font-size: 1em;
}
}
.Activity-list-item-text a {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #999;
}
.Activity-list-item-text a:hover, .Activity-list-item-text a:active {
  color: black;
  background-color: #ef007c;
  background-color: var(--activity-colour-main);
  border-bottom-color: transparent;
}
.Activity-list-item-title
{
    font-size: 1.2em;
    font-size: var(--step-up-1);
    margin: -1em 0 0.5em 0em;
    display: inline-block;
    padding: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #ef007c;
    background-color: var(--activity-colour-main)
}
@media (min-width: 740px) {
.Activity-list-item-title
{        
        font-size: 1.44em;        
        font-size: var(--step-up-2)
}
	}
.Activity-list-item-title-link:link, .Activity-list-item-title-link:visited
{
  text-decoration: none;
  display: inline;
  margin-top: 0.8em;
  color: #ffffff;
  color: var(--title-colour);
}
.Activity-list-item-title-link:hover, .Activity-list-item-title-link:active
{
  background-color: #ef007c;
  background-color: var(--activity-colour-hover);
  color: black;
}
.Activity-list-item-title-link:before
{
  content: ' ';
  display: inline-block;
  margin-top: 1em;
}
.Activity-list-item-metadata
{
  text-align: right;
}
.Activity-list-item-read-more-link {
  display: block;
  padding-right: 0.5ch;
  font-size: 0.833em;
  font-size: var(--step-down-1)
}
@media (min-width: 740px)
{
.Activity-list-item-read-more-link {
  display: inline;
  padding-right: 0;
  font-size: 1em
}
}
.Activity-list-item-read-more-link:link, .Activity-list-item-read-more-link:visited
{
  color: #666666;
  text-decoration: none;
  background-color: transparent;
  position: relative;
  z-index: 1;
}
.Activity-list-item-read-more-link:after
{
  content: ">";
  padding-left: 1ch;
}
.Activity-list-item-read-more-link:before
{
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 0px;
  background-color: #ef007c;
  background-color: var(--activity-colour-main);
  z-index: -1;
}
.Activity-list-item-read-more-link:hover:before
{
  width: 100%;
}
.Activity-list-item-metadata
{
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
  margin-top: 1em;
  text-align: right;
  font-size: var(--step-up--1);
  color: #666666;
}
.Activity-list-item-date
{
  padding-left: 0.5em;
}
.Activity-list-item-date:after
{
  content: '/';
  padding-left: 0.5em;
  color: #cccccc;
}
.Activity-list-item-date:before
{
  content: '/';
  padding-right: 0.5em;
  color: #cccccc;
}
.Activity-list-item-authors:after
{
  content: '/';
  color: #cccccc;
}
/*=== INDIVIDUAL ACTIVITY ===*/
.template-blog-index-page {
  background-color: white;
}
.Activitypage-layout
{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.5em;
  padding-bottom: 0.5em
}
@media (min-width: 930px)
{
.Activitypage-layout
{
  padding-top: 2em;
  padding-bottom: 2em;
  flex-direction: row;
  justify-content: space-between
}
}
.Activitypage-main
{
  display: flex;
  flex-direction: column
}
@media (min-width: 740px)
{
.Activitypage-main
{
  padding-right: 3em
}
}
.Activitypage-header {
  margin-bottom: 1em;
  display: flex;
  flex-direction: column
}
@media (min-width: 930px) {
.Activitypage-header {
  margin-bottom: 1em;
  display: block;
  position: relative
}
}
.Activitypage-header .Breadcrumb-nav {
  order: 1;
}
.Activitypage-image {
  flex: 1;
  order: 2;
  width: 100%;
}
@media (min-width: 930px) {
  .Activitypage-image {
    flex: none;
    width: auto;
    padding-left: 1em;
    padding-left: var(--blogpost-left-indent)
  }
}
.Activitypage-image span {
  background-color: #b29669;
  background-color: var(--activity-colour-highlight);
  display: inline-block;
}
.Activitypage-image-set {
  /*filter: grayscale(100%)*/
  /*brightness(135%)*/
  /*contrast(120%);*/
  /*opacity: 0.9;*/
  display: inline-block;
}
.Activitypage-image-set > * {
  vertical-align: bottom; /* fixes issue with space below image left for descenders */
}
.Activitypage-titles {
  display: block;
  order: 3
}
@media (min-width: 930px)
{
.Activitypage-titles {
  position: absolute;
  z-index: 10;
  bottom: 0
}
}
.Activitypage-main-title
{
    font-weight: bold;
    color: #ffffff;
    color: var(--title-colour);
    font-size: 1.44em;
    font-size: var(--step-up-2);
    margin-bottom: -0.5em;
    background: #ef007c;
    background: var(--highlight-colour);
    padding-left: 0.5em;
    padding-right: 0.5em
}
@media (min-width: 740px)
    {
.Activitypage-main-title
{
	font-size: 1.728em;
	font-size: var(--step-up-3)
}
    }
.Activitypage-main-title span {
}
.Activitypage-main-metadata
{
  display: inline;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
  color: #666;
  font-size: 0.833em;
  font-size: var(--step-down-1);
  line-height: 1;
  padding-left: 1ch
}
@media (min-width: 930px) {
.Activitypage-main-metadata
{
    padding-left: 0;
    background-color: #FD6B60;
    background-color: var(--activity-colour-secondary);
    display: inline-block;
    line-height: 1.6;
    font-size: 1em
}
  }
.Activitypage-body
{
	margin-top: 2em
}
@media (min-width: 930px) {
.Activitypage-body
{
    font-size: 1em;
    padding-left: 1em;
    padding-left: var(--blogpost-left-indent)
}
  }
.Activitypage-body h1, h2, h3, h4, h5, h6
{
	font-size: 1.44em;
	font-size: var(--step-up-2);
	line-height: 1.6;
	line-height: var(--lh);
	font-feature-settings: "lnum";
	font-variant-numeric: lining-nums;
	font-family: 'TTNorms', arial, sans-serif;
	font-family: var(--standard-family);
}
.Activitypage-footer {
  margin-top: 2em;
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
}
.Activitypage-footer-previous {
  margin-right: auto;
  text-align: left;
}
.Activitypage-footer-previous-link {
  color: #333;
  text-decoration: none;
}
.Activitypage-footer-previous-link:before {
  content: '<';
  padding-right: 0.5ch;
}
.Activitypage-footer-next {
  margin-left: auto;
  text-align: right;
}
.Activitypage-footer-next-link {
  color: #333;
  text-decoration: none;
}
.Activitypage-footer-next-link:after {
  content: '>';
  padding-left: 0.5ch;
}
.Activitypage-aside
{
	display: flex;
	flex-direction: column;
	flex: 0 0 16em;
	padding-top: 1.4em;
}
.Activitypage-aside-item {
  margin-bottom: 2em;
}
.Activity-aside-archives-list {
  list-style-type: none;
  padding: 0;
  margin: 0
}
.Activity-aside-archives-item {
  padding-left: 2ch;
}
.Activity-aside-archives-item-link {
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #666;
}
.Activity-aside-archives-item-link:hover {
  border-bottom-color: transparent;
  color: black;
}
/*=== freshness/age indicator ===*/
.Activity-freshness {
  margin-top: 0.5em;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.833em;
  font-size: var(--step-down-1)
}
@media (min-width: 740px) {
.Activity-freshness {
    font-size: 1em
}
  }
@media (max-width: 740px) {
  .Activity-freshness--pre {
    display: none;
  }
}
.Activity-list-item--no-image .Activity-freshness--pre {
  display: none;
}
.Activity-freshness--post {
  justify-content: flex-end
}
@media (min-width: 740px) {
.Activity-freshness--post {
    justify-content: flex-start
}
  }
@media (min-width: 740px) {
  .Activity-freshness--post {
    display: none;
  }
}
.Activity-list-item--no-image .Activity-freshness--post {
  display: flex;
}
.Activity-bar-holder {
  display: inline-block;
  width: 80px;
  height: 8px;
  background-color: #eee;
}
.Activity-bar {
  display: block;
  float: left;
  height: 8px;
  width: 7px;
  background-color: black;
  margin-right: 1px;
}
.Activity-bar:last-of-type {
  margin-right: 0;
}
.Activity-bar--level2 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activity-bar--level4 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activity-bar--level6 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activity-bar--level8 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activity-bar--level10 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activity-archived {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
.Activity-archived em {
  font-style: normal;
  color: #666;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
  font-size: 0.833em;
  font-size: var(--step-down-1);
  margin-right: 0.5ch;
  line-height: 0.5;
}
.Activitypage-freshness {
  margin-bottom: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
  color: #999;
  font-size: 0.833em;
  font-size: var(--step-down-1)
}
@media (min-width: 740px) {
.Activitypage-freshness {
    font-size: 1em
}
  }
.Activitypage-bar-holder {
  display: inline-block;
  background-color: #eee;
  margin-left: 0.5ch;
  width: 100px;
  height: 8px
}
@media (min-width: 740px) {
.Activitypage-bar-holder {
  width: 138px;
  height: 14px
}
}
.Activitypage-bar {
  display: block;
  float: left;
  background-color: black;
  margin-right: 2px;
  width: 8px;
  height: 7px
}
@media (min-width: 740px) {
.Activitypage-bar {
  height: 14px;
  width: 12px
}
}
.Activitypage-bar:last-of-type {
  margin-right: 0;
}
.Activitypage-bar--level2 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activitypage-bar--level4 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activitypage-bar--level6 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activitypage-bar--level8 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activitypage-bar--level10 {
  background-color: #b5dead;
  background-color: var(--freshness-bar-colour);
}
.Activitypage-archived
{
  color: #666;
  font-family: 'TTNorms', arial, sans-serif;
  font-family: var(--mono-family);
  margin-left: 1ch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
.Activitypage-archived-indicator {
  padding: 0.3em 1ch;
  /*border: 1px solid #999;*/
  /*border-top: none;*/
  background-color: #f8f8f8;
}
.Activitypage-archived em {
  font-style: normal;
  color: #333;
}
.Activitypage-archived img {
  margin-top: 2px;
  margin-right: 0.5ch;
}
.Activity-list-switch {
  font-size: 0.833em;
  font-size: var(--step-down-1);
  display: inline;
  margin-top: 3em;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #999;
}
.Activity-list-switch:hover, .Activity-list-switch:active {
  border-bottom-color: transparent;
  color: black;
}
.Activitypage-body blockquote {
    display: block;
    padding: 1em 2em;
    border-left: 3px solid #ef007c;
    border-left: 3px solid var(--highlight-colour);
    font-style: italic
}
.Activitypage-body code {
    font-family: monospace;
    white-space: pre;
    color: black;
    background: #bacdd4;
    border: 1px solid black;
    display: block;
    padding: 1em;
    font-size: 0.833em;
    font-size: var(--step-down-1);
    overflow-y: scroll;
}
.Activitypage-body .rich-text h2 {
  font-size: 1.2em;
  font-size: var(--step-up-1);
  margin-bottom: 0.5em
}
@media (min-width: 930px) {
.Activitypage-body .rich-text h2 {
  font-size: 1.44em;
  font-size: var(--step-up-2);
  margin-bottom: 1em
}
}
.Activitypage-body .rich-text h3,
.Activitypage-body .rich-text h4 {
  font-size: 1em;
  margin-bottom: 0.5em
}
@media (min-width: 930px) {
.Activitypage-body .rich-text h3,
.Activitypage-body .rich-text h4 {
  font-size: 1.2em;
  font-size: var(--step-up-1);
  margin-bottom: 1em
}
}
.Activitypage-body ol {
    padding-left: 1em;
    margin-bottom: 1em;
}
.Activitypage-body ul {
  list-style: none; /* Remove default bullets */
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.Activitypage-body ul li::before {
  font-size: 1em;
  content: "\25CF";
  color: #ef007c;
  color: var(--highlight-colour);
  display: inline-block; 
  width: 1em; 
  margin-left: -1em; 
}
