/* Variables */
/* Animations */
@-webkit-keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
}

.navbar {
  padding-top: 1.5rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.smcx-embed, .smcx-iframe-container {
  max-width: 100% !important;
}

.navbar-brand {
  padding: 0;
  height: 93px;
  width: 259px;
  margin-bottom: 1.5rem;
}

.survey-page-body {
  margin-top: 0px !important;
  padding-top: 0px !important;
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    width: 200px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1700px;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 100%;
  }

  .latest_container--event p {
    font-size: 14px;
  }
}

a {
  color: #006CFF;
}

p {
  margin-bottom: 2rem;
}

.page-section {
  /* padding: 3rem 0; */
}

.page-section--fill {
  padding: 0;
}

.page-section--purple--light {
  background-color: #ebe0eb;

  a {
    color: #68217a;
    text-decoration: underline;
  }

  .site-button {
    color: #ffffff;
    text-decoration: none;
  }
}

.page-section--purple {
  background-color: #68217a;
  color: #fff;

  a {
    color: #fff;
  }
}

.page-section_container {
  padding: 15px;
}

.page-section_column {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .page-section_column {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1200px) {
  .page-section_column {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.page-section_column--narrow {
  padding-left: 34px;
  padding-right: 34px;
}

@media (min-width: 768px) {
  .page-section_column--narrow p {
    min-height: 145px;
  }
}

.page-section_column {
  &.pad-fix--all {
    padding-top: 0;
  }

  &.pad-fix--none, &.pad-fix_add--md {
    padding-top: 0;
    padding-bottom: 0;
  }

  &.color-fix--white {
    color: #fff;
  }

  > * {
    + * {
      margin-top: 2rem;
    }

    &:only-child {
      margin-bottom: 0;
    }
  }
}

@media screen and (max-width: 1140px) {
  .page-section_column.pad-fix--xl {
    padding-top: 0;
  }
}

@media screen and (max-width: 960px) {
  .page-section_column.pad-fix--lg {
    padding-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .page-section_column.pad-fix--md {
    padding-top: 0;
  }
}

@media screen and (max-width: 576px) {
  .page-section_column.pad-fix--sm {
    padding-top: 0;
  }

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

@media screen and (max-width: 768px) {
  .page-section_column.pad-fix_add--md {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.page-section h1, h2, h3, h4 {
  font-family: "Bree Serif", serif;
}

.page-section {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 2.4rem;

    &.centered {
      font-size: 2.4rem;
      margin-left: 2.2rem;
    }
  }

  h4 {
    font-size: 2rem;
  }

  ul li {
    font-size: 16px;
    margin-bottom: 0;
  }

  .media-list > * + * {
    margin-top: 2rem;
  }
}

/* .page-section p {
    font-size: 16px;
} */

@font-face {
  font-family: "Bree Serif";
  font-display: swap;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  font-family: "Avenir", "Adobe Heiti Std", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 1.5rem;
  overflow-x: hidden;
  height: 100%;
}

.wf-active body {
  font-family: "Lato", "Avenir", "Adobe Heiti Std", "Segoe UI", "Trebuchet MS", sans-serif;
}

h1, h2, h3, h4, h5, h6, div.p, ol.p, ul.p, span.p, figure.p {
  margin-bottom: 2rem;
}

p > a {
  color: #68217a;
  text-decoration: underline;

  &:visited {
    color: #68217a;
  }

  &:hover {
    color: #e2068c;
  }
}

.page-section--purple p > a {
  color: #fff;

  &:visited {
    color: #fff;
  }
}

img {
  max-width: 100%;
}

svg.svg-inline--fa {
  color: #666666;
}

.site-button {
  font-size: 1.8rem;
  padding: 0.5em 1em;
  display: inline-block;
  transition: all ease 0.3s;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  text-align: center;
  margin: 5px;
}

.site-button_row {
  margin-right: -1rem;
  margin-left: -1rem;
  margin-top: 0;

  .site-button {
    margin: 2rem 1rem 0 1rem;
  }
}

.site-button {
  &:hover {
    text-decoration: none;
  }

  &:visited {
    color: #fff;
  }
}

.site-button--pink {
  border: 2px solid #e2068c;
  background-color: #e2068c;
  color: #fff;

  &:hover {
    color: #e2068c;
    background-color: #ebe0eb;
  }
}

.site-button--orange {
  border: 2px solid #ff6a00;
  background-color: #ff6a00;
  color: #fff !important;

  &:hover {
    opacity: 0.8;
  }
}

.animation-delay--8 {
  animation-delay: 0.8s;
}

.animation-delay--2 {
  animation-delay: 0.2s;
}

.animation-delay--4 {
  animation-delay: 0.4s;
}

.animation-delay--6 {
  animation-delay: 0.6s;
}

#speakers {
  .sort {
    background-color: #086DD9;
  }

  .card {
    .profile-name a {
      color: #006CFF;
    }

    a {
      color: #086DD9;
    }

    .btn-dark {
      background-color: #086DD9;
      border-color: #086DD9;
      color: #ffffff;
    }
  }
}

#speakers-map {
  height: 600px;
  width: 100%;
}

#speaker-map {
  height: 300px;
}

@media screen and (max-width: 480px) {
  #site-logo {
    max-width: 200px;
    width: 100%;
  }
}

.link_title {
  font-size: 2.1rem;
  text-decoration: underline;
  font-family: "Bree Serif", serif;
}

.site-nav_container {
  position: relative;
}

@media screen and (max-width: 768px) {
  #main-menu {
    text-align: center;
  }
}

.main-menu_item {
  font-size: 2rem;
  font-family: "Lato", sans-serif;
  line-height: 1em;
  padding-bottom: 1.3rem;
  border-bottom: 3px solid transparent;
}

.dropdown-menu {
  border-radius: 0;
  top: 104%;
  font-size: 16px;
  background: #ffffff;
}

@media screen and (max-width: 1400px) {
  .about-menu {
    left: -143px;
  }
}

.main-menu_item {
  &:hover {
    border-bottom: 3px solid #602876;
  }

  a {
    color: #212529;
  }
}

li.active a.nav-link, .main-menu_item a:hover {
  color: #68217a;
}

@media screen and (min-width: 769px) {
  .main-menu_item + .main-menu_item {
    margin-left: 2rem;
  }
}

.community-image {
  height: 115px;
  width: 122px;
  object-fit: contain;
}

.main-menu_toggle span {
  width: 3rem;
  background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgb(104, 33, 122)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.navbar-toggler {
  margin-bottom: 1.5rem;
}

.site-social_container {
  top: 0;
  right: 0;
  margin-right: 15px;
}

.site-social_icon {
  background-color: #f1f1f1;
  transition: all ease 0.3s;

  a {
    padding: 7px 10px;
    display: block;
    font-size: 1.8rem;
    min-width: 40px;
    text-align: center;
  }

  .fas:before, .fab:before {
    color: #666666;
    transition: all ease 0.3s;
  }

  svg {
    fill: #666666;
    transition: all ease 0.3s;
  }
}

.dropdown-item {
  color: #212529 !important;

  &:hover {
    background: transparent;
    color: #602876 !important;
  }
}

.site-social_icon--meetup:hover {
  background-color: #e0393e;

  svg {
    fill: #ffffff;
  }

  .fas:before, .fab:before {
    color: #ffffff;
  }
}

.site-social_icon--rss:hover {
  background-color: #ef922f;

  svg {
    fill: #ffffff;
  }

  .fas:before, .fab:before {
    color: #ffffff;
  }
}

.site-social_icon--twitter:hover {
  background-color: #00aced;

  svg {
    fill: #ffffff;
  }

  .fas:before, .fab:before {
    color: #ffffff;
  }
}

.icon-box {
  background-color: #f6f6f6;
  padding: 2rem;
  box-shadow: 0px 4px 20px -5px rgba(0, 0, 0, 0.43);
  border-radius: 8px;

  > * + * {
    margin-top: 2rem;
  }

  .animated {
    opacity: 0;
    animation-name: none;
    animation-duration: 1s;
  }
}

.icon-box_stat {
  font-size: 4.8rem;
  color: #666666;
  font-family: "Bree Serif", serif;
  line-height: 1em;
}

.icon-box_label {
  font-size: 2rem;
  color: #666666;
  text-transform: uppercase;
}

.icon-box_icon {
  height: 70px;

  img {
    height: 100%;
  }
}

.latest_container {
  display: flex;
  margin-top: 2rem;
}

.latest_container--news .latest_date {
  font-size: 14px;
  background-repeat: no-repeat;
  background-size: 55px 45px;
  background-position-x: 50%;
  background-position-y: 35%;

  span {
    position: relative;
    margin-top: 55px;
    line-height: 1em;
  }

  &.newstype-community {
    background-image: url(../img/chat.png);
  }

  &.newstype-product {
    background-image: url(../img/bullhorn.png);
  }
}

.latest_container--event p {
  margin-bottom: 0;
}

.latest_date {
  font-size: 2.1rem;
  font-family: "Bree Serif", serif;
  min-width: 80px;
  flex-basis: 20%;
  min-height: 95px;
  background-color: #f0e8f1;
  padding: 8px 5px;

  img {
    max-height: 80px;
  }
}

@media screen and (max-width: 767px) {
  .latest_date {
    flex-basis: 30%;
    font-size: 14px;
  }
}

.latest_container:nth-child(even) .latest_date {
  background-color: #e1d2e4;
}

.latest_meta {
  flex-basis: 80%;
  padding-left: 10px;
}

.latest_title a {
  margin-bottom: 5px;
  font-size: 18px;
  color: inherit;
  text-decoration: none;
}

.latest_copy {
  font-size: 14px;
  margin-bottom: 0;
}

.flash {
  background-color: #e2068c;
  position: relative;
  display: flex;

  .alert {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
    font-size: 2rem;
    font-weight: lighter;
    margin-bottom: 0;
    padding: 1.5rem 2.5rem;
  }

  a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;

    &:hover {
      text-decoration: underline;
      color: #fff;
    }

    &:visited {
      color: #fff;
    }
  }

  .close {
    font-size: 3.2rem;
    margin-top: 5px;
  }
}

#site-footer_container {
  position: relative;
}

#site-footer_menu {
  font-size: 14px;
  font-family: Helvetica, sans-serif;
  text-align: right;
  color: #68217a;
  margin-bottom: 0;

  a {
    color: #68217a;

    &:hover {
      font-weight: bold;
      text-decoration: none;
    }
  }

  li {
    list-style-type: none;

    + li {
      margin-top: 3px;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }
}

#site-footer_bookend {
  background-color: #68217a;
}

.site-footer_textSection {
  color: #fff;
  font-size: 14px;
  margin-bottom: 0;
}

p.site-footer_textSection > a {
  color: #fff;

  &:hover, &:visited {
    color: #fff;
  }
}

.site-footer_row {
  padding: 2rem 0;
}

#swag-store {
  background-image: url(../img/swag_background.png);
  background-image: url(../img/swag_background.webp);
  background-size: cover;
}

#search {
  .form-control {
    font-size: 1.6rem;
    height: 3rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .btn-primary {
    font-size: 1.6rem;
    height: 3rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #e2068c;
    border-color: #e2068c;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.container-fluid {
  padding: 0;
}

body.pages {
  .row {
    margin-right: 0;
    margin-left: 0;
  }

  main.col {
    padding-right: 0;
    padding-left: 0;
  }
}

div.blogroot {
  max-width: 1200px;
  margin: auto;
}

#newPostLink {
  position: absolute;
  top: 70px;
  right: 0px;
}

#editPostLink {
  position: absolute;
  top: 100px;
  right: 0px;
}

#unpublishPostLink {
  position: absolute;
  top: 130px !important;
  right: 0px !important;
}

#pageManagerLink {
  position: absolute;
  top: 70px;
  right: 0px;
}

#newPageLink {
  position: absolute;
  top: 100px;
  right: 0px;
}

#editPageLink {
  position: absolute;
  top: 130px;
  right: 0px;
}

#unpublishPageLink {
  position: absolute;
  top: 160px !important;
  right: 0px !important;
}

article.post {
  margin-left: 3rem;

  header.jumbotron {
    background-color: inherit;
    padding: 0;
  }
}

@media screen and (max-width: 812px) {
  article.post {
    margin-left: 0;
  }
}

#sidenavtoggle {
  position: absolute;
  top: 120px;
  right: 5px;
}

@media screen and (max-width: 812px) {
  #sidenavtoggle, #sidenavmenu {
    display: none;
  }
}

/*
 * adapted from
 * https://bryanlrobinson.com/blog/2017/07/26/howto-css-grid-layout-to-make-a-simple-fluid-card-grid/
 */

.card-container {
  display: grid;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
}

.comma-list {
  padding: 0;
  text-decoration-line: underline;

  > * {
    display: inline;

    &:after {
      content: ",";
    }

    &:last-child:after {
      content: "";
    }
  }
}

@media (min-width: 768px) {
  .comma-list {
    display: inline-block;
    text-align: left;
    width: 50%;
    margin-left: 200px;

    li {
      float: left;
      list-style: outside none none;
      width: 50%;
    }

    > *:after {
      content: "";
    }
  }
}

.bg-foundation {
  background-color: #68217a !important;
}

.card {
  display: grid;
  box-shadow: inherit !important;
}

.card--features {
  height: 400px;
}

.card {
  .button {
    align-self: end;
  }

  box-shadow: 0px 1px 5px #555;
  background-color: white;
}

.card__title {
  font-size: 2rem;
  padding: 0.5rem;
  text-align: center;
}

.card__description {
  padding: 0.5rem;
  line-height: 1.6em;
}

.card__button {
  display: block;
  background-color: #68217a;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  text-align: center;
  transition: 0.3s ease-out;

  &:hover {
    color: #ffffff;
  }
}

.card__thumbnail {
  text-align: center;

  img {
    height: 128px;
  }
}

/**/

svg:not(:root).svg-inline--fa {
  overflow: visible;
}

.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;

  &.fa-lg {
    vertical-align: -0.225em;
  }

  &.fa-w-1 {
    width: 0.0625em;
  }

  &.fa-w-2 {
    width: 0.125em;
  }

  &.fa-w-3 {
    width: 0.1875em;
  }

  &.fa-w-4 {
    width: 0.25em;
  }

  &.fa-w-5 {
    width: 0.3125em;
  }

  &.fa-w-6 {
    width: 0.375em;
  }

  &.fa-w-7 {
    width: 0.4375em;
  }

  &.fa-w-8 {
    width: 0.5em;
  }

  &.fa-w-9 {
    width: 0.5625em;
  }

  &.fa-w-10 {
    width: 0.625em;
  }

  &.fa-w-11 {
    width: 0.6875em;
  }

  &.fa-w-12 {
    width: 0.75em;
  }

  &.fa-w-13 {
    width: 0.8125em;
  }

  &.fa-w-14 {
    width: 0.875em;
  }

  &.fa-w-15 {
    width: 0.9375em;
  }

  &.fa-w-16 {
    width: 1em;
  }

  &.fa-w-17 {
    width: 1.0625em;
  }

  &.fa-w-18 {
    width: 1.125em;
  }

  &.fa-w-19 {
    width: 1.1875em;
  }

  &.fa-w-20 {
    width: 1.25em;
  }

  &.fa-pull-left {
    margin-right: 0.3em;
    width: auto;
  }

  &.fa-pull-right {
    margin-left: 0.3em;
    width: auto;
  }

  &.fa-border {
    height: 1.5em;
  }

  &.fa-li {
    width: 2em;
  }

  &.fa-fw {
    width: 1.25em;
  }
}

.fa-layers {
  svg.svg-inline--fa {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform-origin: center center;
    transform-origin: center center;
  }

  display: inline-block;
  height: 1em;
  position: relative;
  text-align: center;
  vertical-align: -0.125em;
  width: 1em;
}

.fa-layers-counter {
  display: inline-block;
  position: absolute;
  text-align: center;
}

.fa-layers-text {
  display: inline-block;
  position: absolute;
  text-align: center;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.fa-layers-counter {
  background-color: #ff253a;
  border-radius: 1em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  height: 1.5em;
  line-height: 1;
  max-width: 5em;
  min-width: 1.5em;
  overflow: hidden;
  padding: 0.25em;
  right: 0;
  text-overflow: ellipsis;
  top: 0;
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  -webkit-transform-origin: top right;
  transform-origin: top right;
}

.fa-layers-bottom-right {
  bottom: 0;
  right: 0;
  top: auto;
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
}

.fa-layers-bottom-left {
  bottom: 0;
  left: 0;
  right: auto;
  top: auto;
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
}

.fa-layers-top-right {
  right: 0;
  top: 0;
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  -webkit-transform-origin: top right;
  transform-origin: top right;
}

.fa-layers-top-left {
  left: 0;
  right: auto;
  top: 0;
  -webkit-transform: scale(0.25);
  transform: scale(0.25);
  -webkit-transform-origin: top left;
  transform-origin: top left;
}

.fa-lg {
  font-size: 1.3333333333em;
  line-height: 0.75em;
  vertical-align: -0.0667em;
}

.fa-xs {
  font-size: 0.75em;
}

.fa-sm {
  font-size: 0.875em;
}

.fa-1x {
  font-size: 1em;
}

.fa-2x {
  font-size: 2em;
}

.fa-3x {
  font-size: 3em;
}

.fa-4x {
  font-size: 4em;
}

.fa-5x {
  font-size: 5em;
}

.fa-6x {
  font-size: 6em;
}

.fa-7x {
  font-size: 7em;
}

.fa-8x {
  font-size: 8em;
}

.fa-9x {
  font-size: 9em;
}

.fa-10x {
  font-size: 10em;
}

.fa-fw {
  text-align: center;
  width: 1.25em;
}

.fa-ul {
  list-style-type: none;
  margin-left: 2.5em;
  padding-left: 0;

  > li {
    position: relative;
  }
}

.fa-li {
  left: -2em;
  position: absolute;
  text-align: center;
  width: 2em;
  line-height: inherit;
}

.fa-border {
  border: solid 0.08em #eee;
  border-radius: 0.1em;
  padding: 0.2em 0.25em 0.15em;
}

.fa-pull-left {
  float: left;
}

.fa-pull-right {
  float: right;
}

.fa.fa-pull-left, .fab.fa-pull-left, .fal.fa-pull-left, .far.fa-pull-left, .fas.fa-pull-left {
  margin-right: 0.3em;
}

.fa.fa-pull-right, .fab.fa-pull-right, .fal.fa-pull-right, .far.fa-pull-right, .fas.fa-pull-right {
  margin-left: 0.3em;
}

.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}

.fa-pulse {
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);
}

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.fa-rotate-90 {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.fa-rotate-180 {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.fa-rotate-270 {
  -webkit-transform: rotate(270deg);
  transform: rotate(270deg);
}

.fa-flip-horizontal {
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.fa-flip-vertical {
  -webkit-transform: scale(1, -1);
  transform: scale(1, -1);
}

.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
  -webkit-transform: scale(-1, -1);
  transform: scale(-1, -1);
}

:root {
  .fa-flip-both, .fa-flip-horizontal, .fa-flip-vertical, .fa-rotate-180, .fa-rotate-270, .fa-rotate-90 {
    -webkit-filter: none;
    filter: none;
  }
}

.fa-stack {
  display: inline-block;
  height: 2em;
  position: relative;
  width: 2.5em;
}

.fa-stack-1x, .fa-stack-2x {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.svg-inline--fa {
  &.fa-stack-1x {
    height: 1em;
    width: 1.25em;
  }

  &.fa-stack-2x {
    height: 2em;
    width: 2.5em;
  }
}

.fa-inverse {
  color: #fff;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.sr-only-focusable {
  &:active, &:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
  }
}

/*
 * Corporate Sponsors
 */

.corporate-sponsor-card-container {
  display: grid;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
}

.corporate-sponsor-card {
  display: grid;
  background-color: white;
  padding: 4rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  &:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  }
}

.corporate-sponsor-card__thumbnail {
  text-align: center;
  padding: 1rem;

  img {
    height: 128px;
    object-fit: contain;
  }
}

#back-button {
  display: none;
}

.alph {
  margin-bottom: 50px;

  hr {
    border-top: 1px solid #757575;
  }
}

.alph-box {
  display: flex;
}

.letter {
  font-size: 36px;
  font-family: "Bree Serif";
  color: #757575;
  margin-right: 25px;
  min-width: 36px;
}

.list {
  margin-top: 10px;
}

.project-item {
  font-family: Lato;
  font-size: 16px;
  line-height: 1.75;
  color: #682077 !important;
  text-decoration: underline !important;
  cursor: pointer;
  display: block;
}

#rss-feeds {
  display: none;
}

.tabbed-index {
  margin-top: 30px;
  border-bottom: 1px solid #682077;

  a {
    font-size: 16px;
    min-width: 170px;
    background: #f0e8f1;
    padding: 7px 0;
    text-align: center;
    color: black;
    margin-right: 4px;
    display: inline-block;
    font-weight: bold;
    cursor: pointer;

    &:last-child {
      margin-right: 0;
    }

    &.selected {
      background: #682077;
      color: white;

      &:hover {
        color: white;
      }
    }
  }
}

@media screen and (max-width: 475px) {
  .tabbed-index a {
    min-width: auto;
    padding: 7px 15px;
  }

  .post header h1 {
    font-size: 26px;
  }
}

.logo-footer {
  width: 135px;
  height: 135px;
}

.hidden {
  display: none;
}

.committee_container {
  display: flex;
  margin-top: 2rem;

  &:first-child .committee_img_container {
    margin-top: -10px;
  }

  h2 {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  .committee_meta {
    flex-basis: 80%;
    padding-left: 10px;
  }
}

.committee_meta .committee_img_container {
  margin: 20px 0;
}

.committee_img_container {
  min-width: 120px;
  flex-basis: 20%;
  min-height: 120px;

  img {
    height: 120px;
    width: 120px;
  }
}

.sign-up-to-newsletter {
  margin-top: 10px;
}

/* Profiles */

.rounded-image {
  border-radius: 50%;
}

.profile {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;

  a {
    color: #006CFF;
    text-decoration: none;
  }

  span a {
    color: #086DD9;

    i {
      color: #006CFF;
    }
  }
}

@media screen and (min-width: 768px) {
  .profile {
    align-items: center;
    max-width: 30%;
    min-width: 26%;
    border-radius: 1%;
    box-sizing: border-box;
    padding: 2rem;
    background-color: #F6F6F6;
  }
}

.profile-name {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.profile-image {
  display: block;
  margin: 0 auto 1rem auto;
  object-fit: cover;
  object-position: top;
}

@media screen and (min-width: 768px) {
  .profile-image {
    align-items: center;
  }
}

/* TODO: remove element - requires cleanup of overall body styles */

p {
  &.profile-location {
    font-size: 1.35rem;
    margin: 0 2px;
  }

  &.profile-company {
    font-size: 1.35rem;
    margin: 0 2px;
    font-weight: 700;
  }
}

.profile-intro {
  margin: 0.5rem 0;

  p {
    margin: 0;
  }
}

.profile-details {
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;

  .pr-2 {
    padding: .15em;
  }
}

.topic-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;

  > .btn {
    margin: .15em;
  }
}

@media (min-width: 768px) {
  .navbar-expand-md {
    .navbar-toggler {
      display: block;
      margin-left: auto;
    }

    .navbar-nav {
      -ms-flex-direction: column;
      flex-direction: column;
    }
  }

  .main-menu_item + .main-menu_item {
    margin-left: 0;
  }

  .navbar-expand-md {
    -ms-flex-flow: wrap;
    flex-flow: wrap;

    .navbar-collapse {
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
      -ms-flex-positive: 1;
      flex-grow: 1;
      -ms-flex-align: center;
      align-items: center;
      display: block !important;
    }
  }

  .collapse:not(.show) {
    display: none !important;
  }

  .navbar-expand-md .ml-auto {
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) {
  .navbar-expand-md {
    .navbar-toggler {
      display: none;
    }

    .navbar-nav {
      -ms-flex-direction: row;
      flex-direction: row;
    }

    .navbar-collapse {
      display: -ms-flexbox !important;
      display: flex !important;
      -ms-flex-preferred-size: auto;
      flex-basis: auto;
    }
  }

  .main-menu_item + .main-menu_item {
    margin-left: 2rem;
  }

  .navbar-expand-md {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;

    .ml-auto {
      margin-left: auto !important;
    }
  }

  .mobile-items {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .dropdown-menu.show {
    display: none;
  }

  .mobile-items.show {
    max-height: inherit;
  }

  .main-menu_item {
    border: none;

    &:hover {
      border: none;
    }

    a {
      text-align: left;
      color: #212529;
      font-size: 20px;
      font-weight: 600;
      margin-left: 2rem;
    }
  }

  .mobile-items {
    max-height: 1px;
    overflow: hidden;
    transition: all 0.5s linear;

    a {
      line-height: 24px;
      font-size: 16px;
    }
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar-nav .dropdown-menu {
    display: none;
  }
}

.office-form-notice-report {
  color: #006CFF !important;
}

.video-iframe {
  margin: auto;
  width: 100%;
  max-width: 560px;
}

.video-iframe-item {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    border: none;
  }
}

iframe {
  max-width: 100%;
  min-width: 100%;
  height: 315px;
  @media (min-width: 768px) {
    min-width: 560px;
    height: 315px;
  }
}

table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;

  th, td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
  }

  thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
  }

  tbody + tbody {
    border-top: 2px solid #dee2e6;
  }

  border: 1px solid #dee2e6;

  th, td {
    border: 1px solid #dee2e6;
  }

  thead {
    th, td {
      border-bottom-width: 2px;
    }
  }
}

@media (max-width: 767.98px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
  }
}

.cc_dialog {
  &.simple {
    max-width: 100% !important;
    padding: 1rem !important;
  }

  .cc_dialog_headline {
    font-size: 18px !important;
  }

  .cc_dialog_text {
    font-size: 13px !important;
  }
}

@media (min-width: 768px) {
  .cc_dialog {
    .cc_dialog_headline {
      font-size: 24px !important;
    }

    .cc_dialog_text {
      font-size: 16px !important;
    }

    &.simple {
      padding: 2rem !important;
    }
  }
}

@media (min-width: 992px) {
  .cc_dialog.simple {
    max-width: 50% !important;
    padding: 3rem !important;
  }
}

.sort {
  &.asc::after {
    content: "\002B06";
    padding-left: 3px;
  }

  &.desc::after {
    content: "\002B07";
    padding-left: 3px;
  }
}

.social-links {
  a {
    color: #0068FA;
  }
}