@charset "UTF-8";

/********** NORMALIZE **********/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/********** MIXINS **********/

/********** COLORS **********/

/********** STRUCTURE **********/

body {
  background: linear-gradient(to right, #b3b1b2, #fcfbf9, #fcfbf9);
  display: flex;
  align-items: center;
  flex-direction: column;
  /*grid-template-areas:
    "header"
    "main";*/
  margin-bottom: 2rem;
}

body > header {
  transition: background-color 2s;
  width: 100%;
  background: linear-gradient(to right, rgba(179, 177, 178, 0.85), rgba(252, 251, 249, 0.85), rgba(252, 251, 249, 0.85));
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  top: 0;
  margin-bottom: 1rem;
  /*padding: 0 2rem;
  box-sizing: border-box;*/
  /*&:after {
    content: "";
    display: block;
    height: 1rem;
    //border-top: 2px solid $black;
    //opacity: .5;
    //background: linear-gradient(to right, #b3b1b2, #fcfbf9, #fcfbf9);
    //box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
  }*/
}

body > header > div {
  width: calc(100% - 4rem);
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: calc(.5rem + 1.5vw) 0 calc(.5rem + 1.5vw - 9px) 0;
  margin: 0 auto;
}

body > main {
  box-sizing: border-box;
}

body.home {
  margin-bottom: 0;
}

body.home > main {
  width: 100%;
  padding: 0 2rem 2rem 2rem;
}

body.home > main p:first-child,
body.home > main h1:first-child,
body.home > main h2:first-child,
body.home > main h3:first-child,
body.home > main img:first-child,
body.home > main hr:first-child {
  margin-top: 0;
}

body:not(.home) > main {
  width: calc(100% - 4rem);
  max-width: 1000px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 1.8rem;
}

body:not(.home) > main article:not(.category-portfolio) {
  text-align: center;
}

body:not(.home) > main article:not(.category-portfolio) > p {
  text-align: justify;
  max-width: 700px;
}

body:not(.home) > main article:not(.category-portfolio) > * {
  text-align: left;
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  body {
    /*& > main {
      padding: 0;
    }*/
    margin-bottom: 0;
  }

  body > header {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.7rem;
  }

  body > header > div {
    width: 100%;
  }

  body:not(.home) {
    /*& > header {
      &:after {
        height: 0;
      }
    }*/
  }

  body:not(.home) > main {
    width: 100%;
  }
}

aside#portfolio {
  box-sizing: border-box;
  width: 100%;
  padding: 2rem;
}

/********** TYPOGRAPHY **********/

@font-face {
  font-family: cou;
  src: url("/themes/atuo/assets/fonts/coub.woff") format("woff");
  font-weight: bold;
}

@font-face {
  font-family: cou;
  src: url("/themes/atuo/assets/fonts/coubi.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: opensans;
  src: url("/themes/atuo/assets/fonts/OpenSans-Regular.woff") format("woff");
}

@font-face {
  font-family: opensans;
  src: url("/themes/atuo/assets/fonts/OpenSans-Bold.woff") format("woff");
  font-weight: bold;
}

@font-face {
  font-family: opensans;
  src: url("/themes/atuo/assets/fonts/OpenSans-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: opensans;
  src: url("/themes/atuo/assets/fonts/OpenSans-Italic.woff") format("woff");
  font-style: italic;
}

@media (max-width: 900px) {
  :root {
    font-size: calc(1rem + ((1vw - (900px / 100)) * (100 * 4 / 500)));
    /*
      font-size: calc(1rem + ((1vw - (viewportWidthMinimum / 100)) * (100 * fontSizeDifference / viewportWidthDifference))));
      fontSizeDifference = maxFontSize - minFontSize
      fontSizeDifference = 1rem - .75rem = .25rem = 4px
      viewportWidthDifference = viewportMax - viewportMin
      viewportWidthDifference = 900px - 400px = 500px
      100 * 4 / 500 = .8
    */
  }
}

body,
button,
input,
select,
optgroup,
textarea,
p {
  color: #221f20;
  font-family: opensans, Arial, Sans-Serif;
  font-size: 0.9rem;
  line-height: 1.4rem;
}

a {
  color: #fd7a72;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fd7a72;
  font-family: opensans, "Trebuchet MS", Sans-Serif;
  font-weight: bold;
  line-height: 1.2em;
  margin: 0 0 0.7em 0;
  text-transform: uppercase;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 1em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #fd7a72;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0.7em auto;
  text-align: justify;
}

li {
  text-align: justify;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5rem;
}

address {
  margin: 0 0 1.5rem;
}

pre {
  background: #221f20;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9375rem;
  line-height: 0.9375rem;
  margin-bottom: 1.6rem;
  max-width: 100%;
  overflow: auto;
  padding: 1.6rem;
}

code,
kbd,
tt,
var {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9375rem;
}

mark,
ins {
  background: #221f20;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/********** GENERAL **********/

@supports (-webkit-appearance: none) {
  html {
    max-height: calc(100% + 100px);
  }
}

*::selection {
  color: #221f20;
  background: #fd7a72;
}

th {
  text-align: left;
}

a {
  text-decoration: none;
  transition: 0.4s;
}

article {
  /** {
    text-align: left;
    //max-width: 100%;
    //max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }*/
}

article hr {
  height: 1px;
  width: 33%;
  background-color: #221f20;
  border: 0;
  opacity: 0.3;
  margin: 2rem auto;
}

article h3,
article h4 {
  color: #888;
}

figure {
  margin: 1.4em 0;
}

.em_obsc {
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.em_obsc .domain {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.em_obsc .domain:after {
  content: "@";
}

.em_obsc .domain:before {
  content: ".";
}

/********** HEADER **********/

body > header > div {
  transition: all 0.35s;
  display: flex;
  align-items: center;
}

body > header > div #logo {
  height: 5rem;
  margin: -0.5rem 1rem;
}

body > header > div #logo a {
  /*transition: color $transition-time;
  color: $coltxt_main;
  font: {
    family: $font_headings;
    size: 2.4rem;
    font-weight: bold;
  }*/
}

body > header > div #logo a img {
  display: block;
  height: 5rem;
}

body > header > div > nav {
  flex-grow: 1;
  margin-top: -0.5rem;
  /*&:first-of-type {
    flex-grow: 1;
    margin-top: -1.1rem;
  }
  &:not(:first-of-type) {
    flex-basis: 100%;
    ul li {
      font-size: 1rem;
    }
  }*/
}

body > header > div > nav ul {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

body > header > div > nav ul li {
  display: block;
  margin: 0;
  padding: 0;
  height: 4rem;
  font-family: cou, "Trebuchet MS", Sans-Serif;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body > header > div > nav ul li:hover {
  background-color: transparent;
}

body > header > div > nav ul li:hover span,
body > header > div > nav ul li:hover a,
body > header > div > nav ul li:hover div {
  color: #fd7a72;
}

body > header > div > nav ul li.active span,
body > header > div > nav ul li.active a,
body > header > div > nav ul li.active div {
  color: #fd7a72;
}

body > header > div > nav ul li span,
body > header > div > nav ul li a,
body > header > div > nav ul li div {
  transition: all 0.35s;
  box-sizing: border-box;
  display: block;
  line-height: 4rem;
  width: 100%;
  height: 100%;
  color: #221f20;
}

body > header > div > nav ul li.social {
  margin-left: 1rem;
  height: 1.5rem;
}

body > header > div > nav ul li.social a {
  display: inline;
  line-height: 100%;
}

body > header > div > nav ul li.social a svg {
  height: 1.5rem;
  width: 1.5rem;
}

body > header > div > nav ul li.social a svg path {
  transition: fill 0.35s;
}

body > header > div > nav ul li.social a svg:hover path {
  fill: #fd7a72;
}

body > header > div #sandwich-button {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 2rem;
  z-index: 10;
  cursor: pointer;
}

body > header > div #sandwich-button div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background-color: #221f20;
  transition: 0.4s;
  pointer-events: none;
  transition: transform 0.4s, opacity 0.4s;
}

body > header > div #sandwich-button div:first-child {
  transform: translate(0, 25%) scale(1, 0.666);
}

body > header > div #sandwich-button div:nth-child(2) {
  transform: translate(0, 150%) scale(1, 0.666);
}

body > header > div #sandwich-button div:last-child {
  transform: translate(0, 275%) scale(1, 0.666);
}

body > header > div #sandwich-button.opened div:first-child {
  transform: translate(0, 150%) rotate(45deg) scale(1, 0.666);
}

body > header > div #sandwich-button.opened div:nth-child(2) {
  opacity: 0;
}

body > header > div #sandwich-button.opened div:last-child {
  transform: translate(0, 150%) rotate(-45deg) scale(1, 0.666);
}

body > header > div #tags-button {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 2rem;
  z-index: 10;
  cursor: pointer;
}

body > header > div #tags-button div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background-color: #221f20;
  pointer-events: none;
  transition: transform 0.4s, opacity 0.4s;
}

body > header > div #tags-button div:first-child {
  transform: translate(-15%, 150%) rotate(100deg) skew(10deg) scale(1, 0.56);
}

body > header > div #tags-button div:nth-child(2) {
  transform: translate(2%, 85%) scale(0.85, 0.56);
}

body > header > div #tags-button div:nth-child(3) {
  transform: translate(-2%, 215%) scale(0.85, 0.56);
}

body > header > div #tags-button div:last-child {
  transform: translate(15%, 150%) rotate(100deg) skew(10deg) scale(1, 0.56);
}

body > header > div #tags-button.opened div:first-child {
  transform: translate(0, 150%) rotate(135deg) scale(1, 0.666);
}

body > header > div #tags-button.opened div:nth-child(2) {
  transform: translate(0, 150%) rotate(45deg) scale(1, 0.666);
}

body > header > div #tags-button.opened div:nth-child(3),
body > header > div #tags-button.opened div:last-child {
  opacity: 0;
}

.esg-filterbutton {
  cursor: pointer;
}

@media (min-width: 900px) {
  body > header > div #sandwich-button,
  body > header > div #tags-button,
  body > header > div .tags {
    display: none;
  }

  body > header > div nav {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  body > header > div {
    position: relative;
  }

  body > header > div #sandwich-button {
    display: flex;
  }

  body > header > div #tags-button {
    display: block;
  }

  body > header > div nav li {
    order: 1;
  }

  body > header > div > nav:first-of-type,
  body > header > div > .tags {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    z-index: 5;
    background: linear-gradient(to right, #b3b1b2f5, #fcfbf9f5, #fcfbf9f5);
  }

  body > header > div > nav:first-of-type ul,
  body > header > div > .tags ul {
    box-sizing: border-box;
    padding: 3rem 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body > header > div > nav:first-of-type ul li,
  body > header > div > .tags ul li {
    text-align: center;
    align-self: center;
    font-size: 1.2rem;
    flex-grow: 0;
    /*a, span {
      background-color: transparent;
      color: $colbkg_menu;
      text-align: center;
      &:hover {
        background-color: transparent;
        color: $colbkg_menu_hover;
      }
    }*/
    height: auto;
  }

  body > header > div > nav:first-of-type ul li span,
  body > header > div > nav:first-of-type ul li a,
  body > header > div > nav:first-of-type ul li div,
  body > header > div > .tags ul li span,
  body > header > div > .tags ul li a,
  body > header > div > .tags ul li div {
    line-height: calc(1rem + 3vh);
  }

  body > header > div > nav:first-of-type ul li.esg-filterbutton span,
  body > header > div > .tags ul li.esg-filterbutton span {
    color: #221f20;
  }

  body > header > div > nav:first-of-type ul li:after,
  body > header > div > .tags ul li:after {
    display: none;
    content: "";
  }

  body > header > div > nav:first-of-type ul li#logo,
  body > header > div > .tags ul li#logo {
    order: 0;
    display: flex;
    align-items: center;
    margin: 0 0 calc(-1.5rem + 12vh) 0;
  }

  body > header > div > nav:first-of-type ul li#logo a,
  body > header > div > .tags ul li#logo a {
    display: block;
    height: auto;
  }

  body > header > div > nav:first-of-type ul li#logo a img,
  body > header > div > .tags ul li#logo a img {
    height: 6rem;
  }

  body > header > div > nav:first-of-type ul li.social,
  body > header > div > .tags ul li.social {
    line-height: inherit;
    margin: calc(-1.5rem + 10vh) 0 0 0;
  }

  body > header > div > nav:first-of-type ul li.social a svg,
  body > header > div > .tags ul li.social a svg {
    height: 2rem;
    width: 2rem;
    margin: 0 0.5rem;
  }

  main > .tags {
    display: none;
  }
}

/*
nav#site-navigation {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  #sandwich-button {
    width: 2.25em;
    height: 2.25em;
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    &:hover {
      & > div {
        //background-color: $pink;
      }
    }
    cursor: pointer;
    div {
      //height: $sandwich_size;
      flex-basis: 16.666%;
      background-color: $coltxt_btn;
      //margin: $sandwich_size 0;
      transition: 0.4s;
    }
    ul {
      display: block;
    }
    a {
      padding: 10px 15px;
    }
    .sub-menu {
      padding-left: $margin;
      position: relative;
    }
  }
}
nav.main-navigation {
  display: flex;
  .esg-filter-wrapper {
    // fix essential grid
    //visibility: visible;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 !important;
    div {
      max-width: none;
      padding: 0;
      margin: 0;
      border: 0;
    }
  }
}
header#masthead.opened {
  #sandwich-button {
    & > div {
      background-color: $white;
    }
    div:first-child {
      transform: translate(0, 200%) rotate(-45deg);
    }
    div:nth-child(2){
      opacity: 0;
    }
    div:last-child {
      transform: translate(0, -200%) rotate(45deg);
    }
    &:hover {
      & > div {
        background-color: $black;
      }
    }
  }
}
*/

/********** MAIN **********/

main ul {
  padding-left: 1.2em;
  list-style: none;
}

main li {
  text-align: justify;
}

main li:before {
  content: "\2022";
  opacity: 0.8;
  color: #fd7a72;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

main a:not(.eg-atuofull-element-3),
main .esg-filterbutton span {
  position: relative;
}

main a:not(.eg-atuofull-element-3):before,
main .esg-filterbutton span:before {
  content: "";
  position: absolute;
  transition: transform 0.3s ease;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #fd7a72;
  transform: scaleX(0);
}

main a:not(.eg-atuofull-element-3):hover:before,
main .esg-filterbutton span:hover:before {
  transform: scaleX(1);
}

main .wp-block-columns {
  margin: 0;
}

main .wp-block-columns:not(:first-child) {
  margin-top: 1.6rem;
}

main .wp-block-columns:not(:last-child) {
  margin-bottom: 1.6rem;
}

main .wp-block-columns:last-child figure:last-child {
  margin-bottom: 0;
}

main .wp-block-column:not(:first-child) {
  margin-left: 1.6rem;
}

main .wp-block-column > *:first-child {
  margin-top: 0;
}

main .wp-block-column > figure:last-child {
  margin-bottom: 0;
}

main .entry-content > *:first-child {
  margin-top: 0;
}

main .entry-content > figure:last-child {
  margin-bottom: 0;
}

main figure.wp-block-image {
  line-height: 0;
  margin-bottom: 1.6rem;
  margin-top: 1.6rem;
}

main div.wp-block-image > figure:first-child {
  margin-top: 0;
}

main div.wp-block-image:last-child > figure:last-child {
  margin-bottom: 0;
}

main > article:first-child {
  margin-top: 0;
}

main .wp-block-image figure.alignright {
  margin-left: 0;
}

main .wp-block-image figure.alignleft {
  margin-right: 0;
}

@supports (-ms-ime-align: auto) {
  body > main {
    margin-top: 1em;
  }
}

@media (max-width: 1000px) {
  #page {
    margin: 0;
  }
}

@media (max-width: 599px) {
  main .wp-block-columns {
    display: block;
  }

  main .wp-block-columns div.wp-block-column {
    margin-left: 0;
  }

  main .wp-block-column:not(:last-child) {
    margin-bottom: 1.6rem;
  }

  main .wp-block-column:not(:first-child) {
    margin-top: 1.6rem;
  }

  main .wp-block-columns:not(:first-child) {
    margin-top: 1.6rem;
  }
}

footer.entry-footer {
  display: none;
}

.entry-content h2:not(:first-child) {
  margin-top: 2em;
}

.entry-content h2:before {
  content: "> ";
  /*content: "► ";
  line-height: 1.8em;
  font-size: .8em;*/
}

.entry-content h3:not(:first-child) {
  margin-top: 1.4em;
}

main article {
  position: relative;
}

main article header time {
  display: block;
  font-size: 0.9em;
  font-style: italic;
  color: #888;
  margin-top: -1.2rem;
}

main article header > h1:first-child {
  margin-top: 0;
}

main article div.back {
  position: absolute;
  width: 1.9rem;
  height: 1.9rem;
  float: right;
  margin-left: -1.9rem;
  margin-top: 1rem;
  display: block;
  top: 0;
  right: 0;
  z-index: 100;
}

main article div.back a {
  position: fixed;
  width: 1.9rem;
  height: 1.9rem;
}

main article div.back a:before {
  display: none;
}

main article div.back a svg circle {
  transition: fill 0.35s;
}

main article div.back a svg:hover circle {
  fill: #fd7a72;
}

.category-portfolio h1 {
  color: #221f20;
  font-size: 1.6rem;
  margin-top: 0.6em;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  position: relative;
  /*&:before {
    content: none;
    display: none;
  }*/
}

.category-portfolio h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 1px;
  background-image: linear-gradient(to right, black 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 0.5rem 1px;
  background-repeat: repeat-x;
}

.category-portfolio h1:first-child {
  margin-top: -0.2em;
}

.category-portfolio p,
.category-portfolio ul:not(.esg-fgc-1) {
  max-width: 700px;
  margin: 0.7em 0;
  padding-bottom: 1em;
  position: relative;
}

.category-portfolio p:after,
.category-portfolio ul:not(.esg-fgc-1):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 1px;
  background-image: linear-gradient(to right, black 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 0.5rem 1px;
  background-repeat: repeat-x;
}

.category-portfolio ul:not(.esg-fgc-1) {
  margin-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.category-portfolio .entry-meta {
  display: none;
}

@media (max-width: 900px) {
  .entry-content.portfolio {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "details" "content";
  }

  body main article div.back {
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
  }

  body main article div.back a {
    position: static;
  }
}

figure a:before {
  content: none;
  display: none;
}

.byline {
  display: none;
}

body.category article.post {
  display: flex;
  width: 100%;
  max-width: 700px;
  margin: 1.5rem auto 0 auto;
}

body.category article.post:first-child {
  margin-top: 0;
}

body.category article.post > .entry-thumbnail {
  flex-shrink: 0;
  width: 9rem;
  margin-right: 1.5rem;
}

body.category article.post > .entry-thumbnail > img {
  width: 100%;
  height: auto;
}

body.category article.post > .entry-text {
  flex-grow: 1;
}

body.category article.post > .entry-text h2 {
  margin-top: -0.3rem;
}

body.single article.post > .entry-thumbnail {
  max-width: 700px;
  margin: 1.5rem auto;
}

body.single article.post > .entry-thumbnail > img {
  max-width: 100%;
  height: auto;
}

body > * {
  z-index: 1;
}

#blurred_bg {
  opacity: 0.7;
  width: calc(100% + 100% + 160px);
  height: calc(100% + 100% + 160px);
  z-index: 0;
  position: fixed;
  top: calc(-50% - 80px);
  left: calc(-50% - 80px);
}

#blurred_bg img {
  transform: rotate(180deg);
  width: 100%;
  height: 100%;
  -webkit-filter: blur(80px);
          filter: blur(80px);
}

.altbg {
  background: rgba(255, 255, 255, 0.75);
}

article .post-thumbnail {
  margin-bottom: 1.6rem;
}

article .post-thumbnail img {
  max-width: 100%;
  height: auto;
}

/********** FOOTER **********/

/********** ESSENTIAL GRID **********/

article.esg-filters {
  display: none;
}

.home main .tags {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.5s ease, margin 1.5s ease, opacity 1.5s ease;
  line-height: 1.5rem;
  opacity: 0;
  margin: 0 auto;
  width: calc(100% - 4rem);
  max-width: 1000px;
  box-sizing: border-box;
}

.home main .tags.opened_tags {
  opacity: 1;
  max-height: 3rem;
  margin: 0 auto 1rem auto;
}

@media (max-width: 1130px) {
  .home main .tags {
    width: 100%;
  }
}

.tags {
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
}

.tags ul {
  display: inline;
  padding: 0;
}

.tags li {
  display: inline;
}

.tags li:before {
  content: none;
  display: none;
}

.tags li:after {
  content: ", ";
}

.tags li:last-child::after {
  content: "";
}

.esg-grid li.eg-simple-wrapper {
  overflow: hidden;
}

.esg-grid li.eg-simple-wrapper .esg-media-cover-wrapper {
  transform-origin: center center;
  transition: transform 0.3s ease-out;
}

.esg-grid li.eg-simple-wrapper .esg-media-cover-wrapper:hover {
  transform: scale(1.05, 1.05) !important;
}

.esg-grid li:before {
  content: none;
  display: none;
}

.eg-clearfix {
  display: none;
}

.esg-filterbutton span {
  color: #fd7a72;
}

.eg-atuofull-element-10 {
  white-space: pre;
}

.esg-grid li.eg-atuofull-wrapper .esg-entry-media-wrapper {
  overflow: hidden;
}

.esg-grid li.eg-atuofull-wrapper .esg-entry-media-wrapper .esg-entry-media .esg-media-poster {
  transform-origin: center center;
  transition: transform 0.5s ease, -webkit-filter 0.3s ease-out;
  transition: transform 0.5s ease, filter 0.3s ease-out;
  transition: transform 0.5s ease, filter 0.3s ease-out, -webkit-filter 0.3s ease-out;
}

.esg-grid li.eg-atuofull-wrapper:hover .esg-entry-media-wrapper .esg-entry-media .esg-media-poster {
  transform: scale(1.1) !important;
  -webkit-filter: blur(5px) brightness(0.7);
          filter: blur(5px) brightness(0.7);
}

.eg-atuofull-wrapper .esg-tc {
  height: 100%;
}

div.eg-atuofull-element-0-a {
  display: none !important;
}

div.eg-atuofull-element-3-a {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 10;
}

div.eg-atuofull-element-3-a a.eg-atuofull-element-3 {
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 1rem 36px 1rem;
}

.esgbox-container .esgbox-caption {
  border-top: none;
}

.esgbox-container .esgbox-caption-wrap {
  background: none;
}

.esgbox-container .esgbox-caption-wrap .esgbox-caption {
  display: inline-block;
  background: rgba(30, 30, 30, 0.6);
  margin: 30px 0;
  padding: 4px 6px;
}

.esgbox-container.esgbox-is-open .esgbox-bg {
  opacity: 0.95;
}

.esg-entry-cover .esg-cc {
  display: none;
}

.esg-entry-cover .esg-bc div {
  margin-bottom: 1rem;
}

/********** THE EVENTS CALENDAR **********/

#tribe-events .tribe-events-back,
#tribe-events .tribe-events-gmap,
#tribe-events .tribe-events-ajax-loading,
#tribe-events .tribe-events-visuallyhidden,
#tribe-events .tribe-events-schedule__all-day {
  display: none;
}

#tribe-events .tribe-block__venue {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#tribe-events .tribe-block__venue .tribe-block__venue__meta {
  margin-right: 2rem;
}

#tribe-events .tribe-block__venue .tribe-block__venue__meta h3 {
  margin-top: -0.3rem;
}

#tribe-events .tribe-block__venue .tribe-block__venue__meta address {
  margin-bottom: 0.5rem;
}

#tribe-events .tribe-block__venue .tribe-block__venue__map {
  flex-grow: 1;
}

@media (max-width: 900px) {
  #tribe-events .tribe-block__venue {
    flex-direction: column;
  }

  #tribe-events .tribe-block__venue__map {
    margin-top: 1rem;
  }
}

#tribe-events .tribe-events-sub-nav {
  display: flex;
  justify-content: space-between;
  padding: 0;
}

#tribe-events .tribe-events-sub-nav li {
  display: block;
}

#tribe-events .tribe-events-sub-nav li a span {
  display: none;
}

#tribe-events .tribe-events-sub-nav li:first-child:before {
  content: "\25C4";
  color: #888;
  font-size: 0.7em;
  line-height: 1.3rem;
  vertical-align: top;
  margin-right: 0.5rem;
}

#tribe-events .tribe-events-sub-nav li:last-child:after {
  content: "\25BA";
  color: #888;
  font-size: 0.7em;
  line-height: 1.3rem;
  vertical-align: top;
  margin-left: 0.5rem;
}

#tribe-events .tribe-events-sub-nav li:last-child:before {
  content: none;
  display: none;
}

#tribe-events #tribe-events-content > img {
  width: 100%;
  height: auto;
}

#tribe-events #tribe-events-content > h1 {
  margin-top: 0;
}

/********** THE EVENTS CALENDAR SHORTCODE **********/

ul.ecs-event-list {
  padding: 0;
  margin-top: 2rem;
}

ul.ecs-event-list > .ecs-event {
  display: grid;
  grid-template-columns: 6rem auto 1fr;
  grid-template-rows: 1.2rem 1.8rem auto;
  grid-template-areas: "thumb title title" "thumb date venue" "thumb excerpt excerpt";
  gap: 0 0.8rem;
  margin: 1rem 0 1.5rem 0;
  place-items: start start;
}

ul.ecs-event-list > .ecs-event:before {
  content: none;
  display: none;
}

ul.ecs-event-list > .ecs-event > img {
  grid-area: thumb;
  width: 6rem;
  height: 6rem;
}

ul.ecs-event-list > .ecs-event > h4 {
  grid-area: title;
  margin: -4px 0 0 0;
  height: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

ul.ecs-event-list > .ecs-event > span.time {
  grid-area: date;
  font-size: 0.9em;
  font-style: italic;
  color: #888;
  height: 1rem;
}

ul.ecs-event-list > .ecs-event > span.venue {
  grid-area: venue;
  font-size: 0.9em;
  font-style: italic;
  color: #888;
  height: 1rem;
}

ul.ecs-event-list > .ecs-event > .ecs-excerpt {
  grid-area: excerpt;
  margin: 0;
}

