/* Start universal styles */

:root {
  font-size: calc(.5em + 1vw);
  --bg-color: #26272c;
  --primary-color: #bd9a60;
  --secondary-color: #aaa;
  --accent1-color: #2F3037;
  --accent2-color: #383A41;
  --feeling-color: #60bd9a;
  --thinking-color: #6083bd;
  --gut-color: #bd6083;
  --low-color: #8b526a;
  --medium-color: #988954;
  --high-color: #528b78;
  --link-color: #ce9e4f;
}

@media screen and (min-width: 800px) {
  :root {
    font-size: 16px;
  }
}


/* * {
    border: 1px solid red;
} */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
::before::after {
  box-sizing: inherit;
}

body {
  background-color: var(--bg-color);
  color: var(--secondary-color);
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

@media screen and (min-width: 992px) {
  body {
    margin-left: 60px;
  }
}

.program-fade {
  animation: fadeInAnimation ease 4.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  font-weight: 300;
}

h1 {
  font-size: 2.5rem;
  margin: 1.5rem 0 .75rem;
}

h2 {
  font-size: 2rem;
  margin: 1.2rem 0 .75rem;
}

h3 {
  font-size: 1.5em;
  margin: 1rem 0 .75rem;
}

h4 {
  font-size: 1.25em;
  margin: 1rem 0 .75rem;
}

h5 {
  font-size: 1.13em;
  margin: 1rem 0 .75rem;
}

h6 {
  font-size: 1em;
  margin: 1rem 0 .75rem;
}

p {
  margin-bottom: 2em;
  line-height: 1.6em;
}

@media screen and (max-width: 1530px) {

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  li {
    margin-right: 1.5rem;
  }

  .header-spacer {
    margin-bottom: 10vh;
  }

  .poetry-table h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-left: 0;
    margin-right: 0;
  }
}


table {
  border-spacing: 0;
  padding-bottom: 2em;
  width: 100%;
}

hr {
  width: 40%;
  height: 1px;
  background-color: var(--primary-color);
  border: none;
  margin: 2rem auto;

}

td {
  padding: 1.5em 1.2em;
  border-bottom: 1px solid var(--primary-color);
  border-right: none;
}

td,
th {
  vertical-align: middle;
}

th {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

a,
a:link,
a:hover,
a:visited,
a:focus,
a:active {
  text-decoration: none;
  /* color: var(--secondary-color); */
}

li {
  line-height: 1.7em;
}

figure {
  margin: 0;
}

figcaption {
  font-style: italic;
  text-align: center;
}

blockquote {
  font-style: italic;
  font-size: 1.2em;
  display: flex;
  margin-top: 3em;
  font-family: 'Lato', sans-serif;
  justify-content: center;
  align-self: center;
}

footer {
  padding-top: 4vh;
  padding-bottom: 4vh;
  /* margin-top: 2em; */
  background-color: var(--accent1-color);
}

blockquote p {
  margin-bottom: 1rem;
  padding: 0 1.5em;
}

blockquote p:last-child {
  font-style: normal;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

:any-link {
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

.emphasis {
  font-style: italic;
}

.flex-container {
  display: flex;
}

.nowrap {
  flex-wrap: nowrap;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.width-650 {
  width: 600px;
  max-width: 85vw;
  margin: 2rem 0 2rem 2rem;
  padding: .5rem;
}

.aside-margin {
  margin: 2rem 0 2rem 2rem;
}

.space-evenly {
  justify-content: space-evenly;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.justify-flex-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.align-content-center {
  align-content: center;
}

.width-60 {
  width: 60%;
}

.width-65 {
  width: 65%;
}

.width-70 {
  width: 70%;
}

.width-50 {
  width: 50%;
}

.width-45 {
  width: 45%;
}

.width-48 {
  width: 48%;
  max-width: 48%;
}

.width-40 {
  width: 40%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.width-28 {
  width: 28%;
}

.width-20 {
  width: 20%;
}

.width-18 {
  width: 18%;
}

.width-16 {
  width: 16%;
}

.width-30 {
  width: 30%;
}

.width-35 {
  width: 35%;
}

.width-34 {
  width: 34%;
}

.width-25 {
  width: 25%;
  max-width: 25%;
}

.width-100 {
  width: 100%;
}

.width-adapt {
  width: 70vw;
}

.width-75 {
  width: 75%;
}

.width-80 {
  width: 80%;
}

.width-90 {
  width: 90%;
}

.width-95 {
  width: 90%;
}

.width-12 {
  width: 12%;
}

.div-inline-block {
  display: inline-block;
}

.height-100 {
  height: 100%;
}

.hr-grey {
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, rgba(38, 39, 44, 1) 0%, rgba(170, 170, 170, 0.6) 20%, rgba(170, 170, 170, 0.6) 80%, rgba(38, 39, 44, 1) 100%);
}

.align-center {
  margin-left: auto;
  margin-right: auto;
}

.section-spacer {
  padding-top: 5%;
}

.content-spacer {
  padding-top: 2%;
}

.row-vert-center td {
  vertical-align: middle;
}

.padding-lr {
  padding: 0 1em;
}

.width-33 {
  width: 33.3%;
}

.quote-container {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
}

.quote {
  width: 1.1em;
}

.tbl-vert-center tr td {
  vertical-align: middle;
}

.quote-margin-btm {
  margin-bottom: .1rem;
}

.quote-margin-top {
  margin-top: .1rem;
}

.quote-end {
  width: 1.1em;
  align-self: flex-end;
}

.list-inside {
  list-style-position: inside;
}

.excerpt {
  width: calc(100% - 6vw);
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-size: 1.4em;
  margin: 3rem auto;
  color: var(--primary-color);
}

.excerpt-grey {
  width: calc(100% - 6vw);
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-size: 1.2em;
  margin: 3rem auto;
  color: var(--secondary-color);
}

.excerpt-empathy {
  width: calc(100% - 6vw);
  font-style: italic;
  font-family: 'Lato', sans-serif;
  margin: 3rem auto;
  color: var(--primary-color);
}

.excerpt--other {
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-size: 1.4em;
  margin: 3rem auto;
  color: var(--primary-color);
}

.excerpt-grey--other {
  font-style: italic;
  font-family: 'Lato', sans-serif;
  font-size: 1.2em;
  margin: 3rem auto;
  color: var(--secondary-color);
}

.related-content-container {
  margin-top: 8vh;
  padding: 2rem 0;
  background-color: var(--accent1-color);
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}



.related-content-container a p:first-of-type {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.related-content {
  margin-top: 2rem;
  margin-right: .5rem;
  margin-left: .5rem;
  background-color: var(--bg-color);
  width: 100%;
  border-radius: 8px;
}

.teachers-grid-container {
  max-width: 1024px;
  margin: 0 auto;
}

.teachers-grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.teachers-grid-item-container {
  flex-basis: 33.333333%;
  display: flex;
  justify-content: space-evenly;
}

.teachers-grid-item {
  height: 525px;
  max-width: 400px;
  position: relative;
  padding: 0.5rem 1rem 1rem 1rem;
  margin: 1rem 0;
  text-align: center;
  box-sizing: border-box;
}

.teachers-grid-item * {
  margin-left: auto;
  margin-right: auto;
}

.teachers-grid-item:hover {
  background-color: var(--accent1-color);
  border-radius: 8px;
  transition-duration: .65s;
}

.teachers-grid-item h4 {
  height: 8%;
}

.teachers-grid-item img {
  width: 200px;
  height: auto;
}

.teachers-grid-item p {
  height: 15%;
}

.container-accent1-bg {
  background-color: var(--accent1-color);
  border-radius: 8px;
  padding: 0 1.5em 1.5em;
}

.related-content-container-1 {
  max-width: 1024px;
  margin: 0 auto;
}

.related-content-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.related-content-item-container:nth-child(3n-1) {
  margin-left: 1.5%;
  margin-right: 1.5%;
}

.related-content-item-container {
  flex-basis: 32.333333%;
  display: flex;
  justify-content: space-evenly;
}

.related-content-item {
  max-width: 360px;
  height: 500px;
  position: relative;
  margin: 2em 0;
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px dotted #41434c;
}

.related-content-item:hover {
  background-color: var(--accent1-color);
  border-radius: 8px;
  transition-duration: .65s;
}

.related-content-item--alt-bg {
  background-color: var(--accent1-color);
  border: 1px dotted #141417;
}

.related-content-item--alt-bg:hover {
  background-color: var(--bg-color);
}

.related-content-item p {
  padding: 0 1rem;
}

.related-content-item p:nth-of-type(1) {
  height: 10%;
}

@media screen and (max-width: 1023px) {
  .teachers-grid-item-container {
    flex-basis: 50%;
  }

  .related-content-item-container {
    flex-basis: 50%;
  }

  .related-content-item-container:nth-child(3n-1) {
    margin-left: 0;
    margin-right: 0;
  }

  .related-content-item {
    height: 530px;
  }
}

@media screen and (max-width: 682px) {
  .teachers-grid-item-container {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 768px) {
  .related-content-item-container {
    flex-basis: 100%;
  }
}

.related-content-bg-alt {
  background-color: var(--accent1-color);
}

.related-content-title {
  text-align: center;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.related-content-img {
  border-radius: 8px 8px 0 0;
}

.related-content p {
  margin-left: 1rem;
  margin-right: 1rem;
}

.tab {
  margin-right: 1%;
}

.tab button {
  display: block;
  background-color: inherit;
  color: var(--secondary-color);
  padding: 1.5em 1em;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

.tab button:hover {
  background-color: var(--accent1-color);
}

.tab button.active {
  background-color: var(--accent2-color);
}

.tab-box {
  height: 90vh;
  position: sticky;
  top: 0;
  margin-bottom: 10%;
}

.tab-content {
  display: none;
}

.tab-default {
  display: block;
}

#tab-container {
  height: 100vh;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: none;
  /* for Firefox */
  overflow-y: scroll;
}

#tab-container::-webkit-scrollbar {
  display: none;
  /* for Chrome, Safari, and Opera */
}

#tab-description {
  height: 100vh;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: none;
  /* for Firefox */
  overflow-y: scroll;
}

#tab-description::-webkit-scrollbar {
  display: none;
}

.img--archetypes {
  float: left;
  width: 40%;
  padding: 0 1em 1em 0;
}

.instincts--red {
  position: relative;
  padding: 1rem 2rem;
  margin-top: 2rem;
  margin-right: 2rem;
  width: 100%;
  border-radius: 20px;
  border: 4px solid var(--gut-color);
}

.instincts--red>* {
  position: relative;
  z-index: 2;
}

.instincts--red:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  opacity: .7;
  border-radius: 20px;

}

.instincts--red-bg {
  background-image: url("/img/mindfulness/personality/the-instincts/flower.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.instincts--red p:first-child {
  color: var(--gut-color);
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
}

.instincts--green {
  position: relative;
  padding: 1rem 2rem;
  margin-top: 2rem;
  margin-right: 2rem;
  width: 100%;
  border-radius: 20px;
  border: 4px solid var(--feeling-color);
}

.instincts--green>* {
  position: relative;
  z-index: 2;
}

.instincts--green:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  opacity: .7;
  border-radius: 20px;

}

.instincts--green-bg {
  background-image: url("/img/mindfulness/personality/the-instincts/daisy.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.instincts--green p:first-child {
  color: var(--feeling-color);
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
}

.instincts--blue {
  position: relative;
  padding: 1rem 2rem;
  margin-top: 2rem;
  width: 100%;
  border-radius: 20px;
  border: 4px solid var(--thinking-color);
}

.instincts--blue>* {
  position: relative;
  z-index: 2;
}

.instincts--blue:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  opacity: .7;
  border-radius: 20px;

}

.instincts--blue-bg {
  background-image: url("/img/mindfulness/personality/the-instincts/spring-flowers.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.instincts--blue p:first-child {
  color: var(--thinking-color);
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
}

@media screen and (max-width: 968px) {
  .instincts--red {
    width: 100%;
    margin-right: 0;
  }

  .instincts--green {
    width: 100%;
    margin-right: 0;
  }

  .instincts--blue {
    width: 100%;
  }
}

.fixed-progress-container {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #26272c;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #26272c;
}

.progress-bar {
  height: 8px;
  background: #bd9a60;
  width: 0%;
}

/* use when image to right of quote */

.quote-margin-correct-right {
  margin-right: 2rem;
}

.aside-margin-quote {
  margin: 1rem 0 2rem 4rem;
}

.quote-img-right {
  margin-left: 0;
}

.feature-txt {
  border-bottom: 1px solid var(--secondary-color);
  padding: .1rem 2rem;
  margin-bottom: 3rem;
}

.feature-txt p {
  font-size: 1.7rem;
  margin-bottom: .8rem;
}

.feature-txt li {
  font-size: .9rem;
  line-height: 1.4rem;
}

.feature-txt ul li:last-of-type {
  margin-bottom: 1em;
}

.header-text {
  font-size: 1.3rem;
}

.sub-text {
  font-size: .8rem;
}

.callout-container {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 49%;
  padding: 1rem 0;
  background-color: var(--accent1-color);
}

.callout {
  max-width: 800px;
  margin: auto;
  font-style: italic;
}

.callout-img {
  width: 4rem;
  height: auto;
  padding-left: 1rem;

}

@media screen and (max-width: 795px) {
  .callout {
    padding-right: 1rem;
  }
}

@media screen and (min-width: 1531px) {
  .callout div p {
    margin-left: 1.5rem;
  }
}

.link a {
  text-decoration: underline;
  text-decoration-color: var(--link-color)
}

.link a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.anchor-list {}

.anchor-list a {
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
}

.anchor-list a:hover {
  color: #848484;
}

.glossary {
  text-decoration: dashed 1px underline var(--secondary-color);
  font-style: italic;
}

.glossary:hover {
  cursor: default;
}


.callout-list-adjust {
  margin-top: -.1rem;
}

.callout-margin-adjust {
  margin-right: 7.2%;
}

.padding-btm-1-5 {
  padding-bottom: 1.5rem;
}

.padding-btm-2 {
  padding-bottom: 2rem;
}

.padding-btm-4 {
  padding-bottom: 4rem;
}

.padding-right-2 {
  padding-right: 2em;
}

.padding-left-2 {
  padding-left: 2em;
}

.padding-left-5 {
  padding-left: 3.5em;
}

.padding-right-5 {
  padding-right: 3.5em;
}


.overflow-hidden {
  overflow: hidden;
}

.emotions {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.margin-auto {
  margin: auto;
}

.enneagram-examples {
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.img {
  border-radius: 8px;
  width: 100%;
  margin-bottom: 2rem;
}

.img-500-vert {
  max-height: 500px;
  width: auto;
}

.border-btm {
  border-bottom: 1px solid var(--primary-color)
}

.border-btm-grey {
  border-bottom: 1px solid var(--secondary-color);
}


.red {
  color: var(--gut-color);
}

.green {
  color: var(--feeling-color);
}

.blue {
  color: var(--thinking-color);
}

.gold {
  color: var(--primary-color);
}

.grey {
  color: var(--secondary-color);
}

.txt-left {
  text-align: left;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

.txt-vert-center {
  vertical-align: middle;
}

.lojong-point {
  font-size: 1.75rem;
  /* margin: 1.2rem 0 .75rem;
  padding-left: 2rem; */
  text-align: center;
  padding-top: 2%;
  color: var(--primary-color);
  font-style: italic;
}

.indent {
  padding-left: 1.5em;
}

.no-margin-btm {
  margin-bottom: 0;
}

.margin-btm-1 {
  margin-bottom: 1rem;
}

.margin-btm-2 {
  margin-bottom: 2rem;
}

.margin-btm-3 {
  margin-bottom: 3rem;
}

.margin-btm-4 {
  margin-bottom: 4rem;
}

.margin-top-1 {
  margin-top: 1rem;
}

.margin-top-2 {
  margin-top: 2rem;
}

.margin-top-3 {
  margin-top: 3rem;
}

.margin-top-4 {
  margin-top: 4rem;
}

.margin-right-1 {
  margin-right: 1rem;
}

.margin-right-2 {
  margin-right: 2rem;
}

.margin-left-1 {
  margin-left: 1rem;
}

.margin-left-2 {
  margin-left: 2rem;
}

.padding-top-0 {
  padding-top: 0;
}

.padding-top-2 {
  padding-top: 2rem;
}

.padding-top-4 {
  padding-top: 4rem;
}

.practices-header {
  padding: 1rem 0 1rem 2rem;
  margin-top: 10%;
  background: linear-gradient(90deg, rgba(38, 39, 44, 1) 0%, rgba(47, 48, 55, 1) 5%, rgba(38, 39, 44, 1) 100%);
}

.no-bullet {
  list-style-type: none;
}

.indent-nonhyphenated {
  padding-left: 4em;
}

.indent-hyphenated {
  padding-left: 4em;
}

.indent-hyphenated:before {
  content: "-";
  position: absolute;
  margin-left: -1em;
}

/* Breadcrumb present on all pages excluding Home and supplementary content (articles, practices, etc) */

.breadcrumb--background {
  background-color: #27292E;
  /* background-color: var(--accent1-color); */
  margin-top: 15px;
}

.breadcrumb {
  font-size: .9em;
  font-style: italic;
  font-weight: 600;
  padding: 1em 0;
  max-width: 1024px;
  margin-left: 70px;
}

.breadcrumb ul {
  display: flex;
  list-style-type: none;
  padding-inline-start: 0px;
}

.breadcrumb li:not(:first-child)::before {
  content: "—";
  padding-right: .5em;
}

.breadcrumb li:not(:last-child) {
  padding-right: .5em;
}

@media screen and (max-width: 1060px) {
  .breadcrumb li:not(:first-child)::before {
    margin-right: 0;
  }

  .breadcrumb li:not(:last-child) {
    margin-right: 0;
  }
}

.breadcrumb a {
  padding: 0 .5em;
  color: var(--link-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span {
  padding: 0 .5em;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.button {
  line-height: 1;
  padding: .8em 2em;
  margin: auto;
  background: none;
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: .3em;
  transition: box-shadow 0.25s, transform 0.25s;
}

.button:hover {
  box-shadow: 0 0.5em 0.8em -0.4em #f09f1a;
  transform: translateY(-0.25em);
  color: var(--secondary-color);
}

.button-anim {
  transition: box-shadow 0.25s, transform 0.25s;
}

.button-anim:hover {
  transform: translateY(-0.25em);
}

/* End universal styles */

/* Start header styles */

.logo-container {
  width: 20%;
}

.header-nav {
  padding: 0px;
  margin: 0px;
  /* width: auto; */
  list-style: none;
  position: relative;
  /* font-size: 1.3rem; */
  font-size: calc(0.5rem + 1vw);
  white-space: nowrap;
  z-index: 1000;
}

.header-nav ul {
  position: absolute;
  top: 100%;
  display: none;
  padding: 0px;
  margin: 0px;
}

.header-nav a {
  text-decoration: none;
  padding: .5rem calc(0.5rem + 1vw);
  background: var(--bg-color);
  color: var(--primary-color);
  float: left;
  border-bottom: 1px solid var(--bg-color);
}

.header-nav a:hover {
  background: var(--accent2-color);
  color: var(--secondary-color);
}

.header-nav li:hover ul {
  display: block;
}

.header-nav ul a {
  height: 35px;
  background: var(--accent1-color);
  font-size: 1rem;
  width: 168px;
}

.header-nav ul li {
  display: block;
  margin: 0px;
}

.header-nav-offset-1 ul {
  top: 0px;
  left: 100%;
}

.header-nav-offset-2 ul {
  top: calc(1em + 32px);
  left: 100%;
}

.header-nav-offset-3 ul {
  top: calc(2em + 64px);
  left: 100%;
}

.header-nav-offset-4 ul {
  top: calc(3em + 96px);
  left: 100%;
}

.header-nav-offset-5 ul {
  top: calc(4em + 128px);
  left: 100%;
}

.header-nav-offset-6 ul {
  top: calc(5em + 160px);
  left: 100%;
}

.header-nav-practicing-mindfulness-width li a {
  width: 295px;
}

.header-nav-listening-speaking-width li a {
  width: 195px;
}

.header-nav-personality-width li a {
  width: 310px;
}

.header-nav-trauma-width li a {
  width: 213px;
}

.header-nav-maturing-width li a {
  width: 232px;
}

.header-nav-emotional-intelligence-width li a {
  width: 265px;
}

.testingthing {
  top: calc(1em + 35px);
  left: 100%;
}

.test {
  top: 50px;
}

.header-nav li:hover ul ul {
  display: none;
}

.header-nav ul li:hover ul {
  display: block;
}

.header-spacer {
  margin-bottom: 15vh;
}

.active-link {
  color: var(--secondary-color);
}

/* End header styles */

/* Start navigation styles (Home + Submenus) */

.vertical-spacer {
  flex: 0 0 3.75%;
}

.section-desc {
  flex-direction: column;
  justify-content: space-evenly;
}

.flex-column {
  flex-direction: column;
}

.flex-between {
  justify-content: space-between;
}

.content-width--1440 {
  max-width: 1440px;
  margin: auto;
}

.section-header {
  text-align: center;
}

.trance-img-450 {
  min-width: 450px;
  max-width: 450px;
}

.bold-num li::marker {
  font-weight: bold;
}

/* End navigation styles (Home + Submenus) */

.gsc-webResult.gsc-result {
  font-family: 'Open Sans', sans-serif !important;
}

.gsc-control-cse .gsc-table-result {
  font-family: 'Open Sans', sans-serif !important;
}

.gsc-control-cse,
.gsc-control-cse .gsc-table-result {
  font-size: 14px !important;
}

.gsc-control-cse,
.gsc-control-cse .gsc-table-result {
  margin: 1.5rem 0 1 !important;
}

.gsc-above-wrapper-area {
  border: none !important;
}

.gsc-tabsArea {
  border-color: var(--primary-color) !important;
}

.gsc-selected-option-container {
  background-color: var(--bg-color) !important;
  color: var(--secondary-color) !important;
  border: 1px solid var(--primary-color) !important;
}

.gsc-control-cse .gsc-option-menu {
  background-color: var(--accent1-color) !important;
}

.gsc-option-menu-item-highlighted {
  background-color: var(--accent2-color) !important;
}

.gsc-option-menu-item {
  color: var(--secondary-color) !important;
}

.search-top-margin {
  margin-top: 10vh;
}

@media screen and (max-width: 991px) {
  .search-top-margin {
    margin-top: 0;
  }
}



/* Start Home styles */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.vid-text-fade-in {
  opacity: 0;
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 3s;
  -moz-animation-duration: 3s;
  animation-duration: 3s;
}

.vid-text-fade-delay--one {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

.vid-text-fade-delay--two {
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  animation-delay: 2s;
}

/* .elegantshadow {
  color: #131313;
  background-color: #e7e5e4;
  letter-spacing: 0.15em;
  text-shadow: 1px -1px 0 #767676, -1px 2px 1px #737272, -2px 4px 1px #767474, -3px 6px 1px #787777, -4px 8px 1px #7b7a7a, -5px 10px 1px #7f7d7d, -6px 12px 1px #828181, -7px 14px 1px #868585, -8px 16px 1px #8b8a89, -9px 18px 1px #8f8e8d, -10px 20px 1px #949392, -11px 22px 1px #999897, -12px 24px 1px #9e9c9c, -13px 26px 1px #a3a1a1, -14px 28px 1px #a8a6a6, -15px 30px 1px #adabab, -16px 32px 1px #b2b1b0, -17px 34px 1px #b7b6b5, -18px 36px 1px #bcbbba, -19px 38px 1px #c1bfbf, -20px 40px 1px #c6c4c4, -21px 42px 1px #cbc9c8, -22px 44px 1px #cfcdcd, -23px 46px 1px #d4d2d1, -24px 48px 1px #d8d6d5, -25px 50px 1px #dbdad9, -26px 52px 1px #dfdddc, -27px 54px 1px #e2e0df, -28px 56px 1px #e4e3e2;
}

.deepshadow {
  color: #e0dfdc;
  background-color: #333;
  letter-spacing: 0.1em;
  text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0, 0, 0, 0.9);
} */


/* video background */
#background-video {
  height: auto;
  width: 100vw;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  opacity: .8;
}



.video-container {
  /* position: relative;
    left: 0;
    width: 100%;
    height: auto; */
  width: 100vw;
  height: calc(100vw/3.243243);
}

.video-text-container {
  color: var(--primary-color);
  width: 100%;
  position: relative;
  top: calc(100vw/6);
  left: 2vw;
  /* left: 100px; */
}

.video-text-container p {
  margin-bottom: .5em;
  line-height: 2em;
  /* font-size: calc(1em + 1vw); */
  font-size: 2vw;
  position: absolute;
  z-index: 100;
  text-shadow: 1px 1px 10px var(--bg-color);
}

.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 991px) {
  #background-video {
    top: 100px;
  }

  .video-container {
    margin-bottom: 5vw;
  }

  .video-text-container p {
    font-weight: 600;
  }
}

#tabbed-video-text {
  margin-top: 5.5%;
  margin-left: 6vw;
}

.video--home {
  top: 0px;
  left: 0px;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  opacity: 0.5;
  z-index: -1000;
}

.txt-overlay {
  position: relative;
}

.txt-overlay div {
  font-size: 1.2rem;
  font-family: 'Lato';
  font-style: italic;
  color: var(--primary-color);
  position: absolute;
  bottom: 20%;
  left: 10%;
  z-index: 10;
}

.txt-overlay p:last-of-type {
  font-size: 1rem;
}

.txt-overlay:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  opacity: .5;
  border-radius: 8px;

}

@media screen and (max-width: 1024px) {

  .txt-overlay:after {
    border-radius: 0px;
  }
}

/* if txt-overlay requires changes to opacity or location copy this class, rename, customize, and remove unnecessary parameters
*/

.section-spacer--home {
  padding-bottom: 25vh;
}

.img-container--home {
  flex: 5;
  align-self: center;
}

.img--home {
  max-width: 720px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

@media screen and (min-width: 720px) {
  .img--home {
    border-radius: 8px;
  }
}

.img-500 {
  max-width: 500px;
  height: auto;
}


.flex-basis-section-desc--home {
  flex: 5;
}

.flex-basis-50 {
  flex-basis: 4;
}


/* End Home styles */

/* Start Level 1 styles (Home — This) */

.img--sub-1 {
  max-width: 560px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

@media screen and (min-width: 560px) {
  .img--sub-1 {
    border-radius: 8px;
  }
}

@media screen and (min-width: 510px) {
  .mindfulness-map {
    border-radius: 8px;
  }
}

.img-container--submenus {
  display: flex;
  flex: 0 0 48.125%;
  align-self: center;
  width: 100%;
  height: auto;
  flex-direction: row-reverse;
}

.section-spacer--submenus {
  padding-bottom: 15vh;
}

/* End Level 1 styles (Home — This) */

/* Start Level 2 styles (Home — Category — This) */

.img--sub-2 {
  max-width: 480px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

@media screen and (min-width: 480px) {
  .img--sub-2 {
    border-radius: 8px;
  }
}

.vertical-spacer--2x {
  flex: 0 0 7.5%;
}



/* End Level 2 styles (Home — Category — This) */

/*Start Content styles (Programs, Practices, Articles, etc) */

.content-width--1280 {
  max-width: 1280px;
  margin: auto;
  padding: 0 2em;
}

.content-width--1024 {
  max-width: 1024px;
  margin: auto;
}

.enneagram-top-margin {
  padding-top: 2rem;
}


.types {
  float: right;
  width: auto;
  height: auto;
  display: inline;
  border-radius: 8px;
  padding: 10px 0px 0px 40px;
  margin-bottom: 20px;
}

.full-width {
  float: right;
  width: 100%;
  height: auto;
  display: inline;
  padding: 10px 0px 0px 40px;
  margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
  .types {
    float: none;
    padding: 0;
  }
}

.trimergent-desc {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(100%/3);
  justify-content: space-between;
  margin: 1em;
}

.trimergent-desc p {
  margin-bottom: .5em;
}

.trimergent-desc h4 {
  flex: 12%;
}

.trimergent-desc p:nth-child(2) {
  flex: 75%;
}

.trimergent-desc p:nth-child(3) {
  flex: 10%;
  font-weight: bold;
}

.trimergence {
  width: 70%;
  height: auto;
  margin-left: 2em;
  margin-bottom: 1em;
}

.tri-brain {
  display: flex;
  align-content: flex-end;
  width: 30%;
  height: auto;
  margin-right: .5em;
  padding-left: 1em;
}

.enneagram-vector {
  width: 650px;
  height: auto;
}

.brain-vector {
  width: 225px;
  height: auto;
  padding-top: 3em;
}

.background--accent {
  background: var(--accent1-color);
}

.background--accent2 {
  background: var(--accent2-color);
}

.enneagram-img-margin {
  margin: 1rem 0 1rem 1rem;
}

.personality-img-margin-1 {
  margin: 1rem .5rem .1rem 0;

}

.personality-img-margin-2 {
  margin: 1rem 0 .1rem .5rem;

}

.personality-img-margin-3 {
  margin: .1rem .5rem 0 0;

}

.personality-img-margin-4 {
  margin: .1rem 0 0 .5rem;
}

.type-container {
  float: left;
  width: 400px;
  height: auto;
  padding: 2em 2em 2em 0;
}

.type-vectors {
  width: 100%;
  height: auto;
}



.type2 {
  width: 50%;
  height: auto;
  display: flex;
  flex-basis: 400px;
}

.tbl-bg {
  background: linear-gradient(90deg, rgba(38, 39, 44, 1) 0%, rgba(47, 48, 55, 1) 10%, rgba(47, 48, 55, 1) 90%, rgba(38, 39, 44, 1) 100%);
}


.tbl-btm {
  border-bottom: none;
}

.tbl-btm td {
  border-bottom: none;
}

.tbl-btm-padding {
  padding-bottom: 0em;
}

.tbl-archetypes {
  flex-wrap: wrap;
}

.tbl-archetypes-sub {
  padding: 0em 2em;
}

.tbl-archetypes-sub>table tr td:nth-child(1) {
  font-weight: normal;
}

.tbl-header {
  font-size: 1.5rem;
}

.tbl-vert-align td {
  vertical-align: middle;
}

.speaking {
  width: 30%;
}

/* Start Enneagram Type Summary styles */

.tbl-border-right {
  border-right: 1px solid var(--primary-color);
}

.tbl-width-types {
  width: 30%;
}

.tbl-margin-none p {
  margin-bottom: 0;
}

.tbl-spacing-none td {
  padding-bottom: 0;
}


/* Start Enneagram Communication styles */
.distortions {
  flex-basis: 25%;
  flex-grow: 0;
  flex-shrink: 0;
}

.flex-align-self-center {
  align-self: center;
}

.flex-align-self-right {
  align-self: flex-end;
}

.flex-align-items-center {
  align-items: center;
}

.flex-align-items-flex-end {
  align-items: flex-end;
}

.flex-align-items-flex-start {
  align-items: flex-start;
}

.distortions-padding {
  margin: 0 .5em;
}

.release-1758241 {
  color: #97d4bd;
}

.release-9369 {
  color: #3d9272;
}

.stress-1758241 {
  color: #d497ae;
}

.stress-9369 {
  color: #923d5d;
}

.svg-resize {
  width: 100%;
  height: auto;
}

.svg-resize-al {
  height: 80%;
  width: auto;
}

.book-height {
  min-height: 268px;
  max-height: 268px;
}

.padding-btm-1 {
  padding-bottom: 1rem;
}

.instinct-types-margin {
  margin: 0 0 1em 1em;
}

.main-section-flex {
  display: flex;
}

.txt-low {
  color: var(--low-color);
}

.txt-med {
  color: var(--medium-color);
}

.txt-high {
  color: var(--high-color);
}

/* start grid styles for site navigation pages */
.section-grid {
  margin-top: 8vw;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0 3em;
  grid-template-areas: "title"
    "img"
    "p"
    "button";
}

.mindfulness-adjust {
  margin-top: 0;
}

.poetry-navigator-width {
  width: 70%;
}

.poetry-table h2 {
  margin: 0 0 .3em;
}

.poetry-table h3 {
  margin: 0;
}

.poetry-table tr td {
  padding: .75em .75em;
}

.poetry-table tr td a {
  text-decoration: none;
}

/* .poetry-navigation-width link a {
    text-decoration: none;
} */

/* .poetry-navigator-width h2  */

@media screen and (max-width: 991px) {
  .section-grid:first-child {
    margin-top: 0;
  }
}

.img-grid {
  grid-area: img;
  place-self: center;
}

.title-grid {
  grid-area: title;
  align-self: center;
}

.p-grid {
  grid-area: p;
  place-self: center;

}

.button-grid {
  grid-area: button;
  place-self: center;
}

@media screen and (min-width: 968px) {
  .section-grid-mirror {
    grid-template-areas: "title img"
      "p img"
      "button img";
  }
}

@media screen and (max-width: 768px) {
  .breadcrumb--background {
    display: none;
  }

  .header-spacer {
    margin-bottom: 4vh;
  }
}

@media screen and (min-width: 968px) {
  .section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto 1fr;
    gap: 0 3em;
    grid-template-areas: "img title"
      "img p"
      "img button";
  }

  .section-grid-mirror {
    grid-template-areas: "title img"
      "p img"
      "button img";
  }

  .img-grid {
    grid-area: img;
    align-self: center;
    justify-self: end;
    margin-left: 1.5rem;
    margin-right: 0rem;
  }

  .section-grid-mirror .img-grid {
    margin-left: 0rem;
    margin-right: 1.5rem;
  }

  .title-grid {
    grid-area: title;
    align-self: center;
  }

  .p-grid {
    grid-area: p;
    align-self: center;
  }

  .button-grid {
    grid-area: button;
    place-self: center;
  }

  .breadcrumb--background {
    margin-top: 50px;
  }
}

@media screen and (min-width: 1293px) {
  .sub-grid {
    grid-template-columns: 560px 1fr;
  }
}

@media screen and (min-width: 1132px) {
  .sub-sub-grid {
    grid-template-columns: 480px 1fr;
  }
}

/*  end grid styles for site navigation pages */

@media screen and (min-width: 800px) {
  .header-nav {
    font-size: 20px;
  }

  .header-nav a {
    font-size: 20px;
  }
}

/* donation header styles */

.paypal-img {
  padding: 2px;

}

.paypal-img img {
  width: 70%;
  height: auto;
  margin-top: 2px;
  margin-left: 3px;
}

.unsui-menu-container {
  margin: 0 2em 0 2.5em;
}

@media screen and (min-width: 992px) {
  .unsui-menu-container {
    margin: 0 1em;
  }
}

#paypal-btn {
  font-size: 18px;
  cursor: pointer;
  color: var(--bg-color);
  background-color: var(--primary-color);
  border-radius: 6px;
  transition: 0.3s;
  justify-content: space-evenly;
  align-items: center;
  align-self: start;
  display: none;
  margin-left: 12px;
  margin-top: 20px;
}

#paypal-btn:hover {
  background-color: #f09f1a;
}

#paypal-btn p {
  font-weight: 600;
  padding-right: 5px;
  margin: 0;
  padding-bottom: 0;
}

@media screen and (min-width: 992px) {
  #paypal-btn {
    display: flex;
    margin-bottom: 2em;
  }
}

@media screen and (max-width: 991px) {

  #paypal-btn {
    margin-top: 15px;
    margin-left: 30px;
  }

  .poetry-navigator-width {
    width: 100%;
  }
}

.position-relative {
  position: relative;
}

.scrollbar-remove::-webkit-scrollbar {
  display: none;
}

.scrollbar-remove {
  -ms-overflow-style: none;
}

.nav-poetry-category {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0;
  z-index: 1020;
  height: 50px;
  background-color: #27292E;
  font-size: 1.5rem;
}

.nav-poetry-title {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 50px;
  z-index: 1020;
  height: 50px;
  background-color: var(--bg-color);
}

#death-1 {
  scroll-margin-top: 125px;
}

#death-2 {
  scroll-margin-top: 125px;
}

#death-3 {
  scroll-margin-top: 125px;
}

#death-4 {
  scroll-margin-top: 125px;
}

.poetry>h1 {
  font-size: ;
}

.poetry>h2 {
  font-size: ;
}

.poetry>h3 {
  font-size: ;
}

.poetry>p {
  font-size: ;
}