/*
Theme Name: Common 20191103
Author: John Holdun
*/

@font-face {
  font-family: 'Apercu Pro';
  src: url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_regular_pro.otf') format('opentype'), url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_regular_pro.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Apercu Pro';
  src: url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_medium_pro.otf') format('opentype'), url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_medium_pro.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Apercu Pro';
  src: url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_bold_pro.otf') format('opentype'), url('/blog/wp-content/themes/common-20191103/assets/fonts/apercu_bold_pro.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Tiempos Headline';
  src: url('/blog/wp-content/themes/common-20191103/assets/fonts/TiemposHeadline-Semibold.otf') format('opentype'), url('/blog/wp-content/themes/common-20191103/assets/fonts/TiemposHeadlineWeb-Semibold.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

html {
  font: 16px/1.5 "Apercu Pro";
  font-weight: 100;
  font-weight: 50;
  background: #fff;
  color: rgba(42, 42, 42, .9);
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 769px) {
  .admin-bar {
    padding-top: 32px;
  }
}

.container {
  margin: 0 auto;
  max-width: 1256px;
  padding: 0 28px;
}

.container--content {
  padding-top: 5rem;
}

a {
  color: #2e2e2e;
}

h1 {
  font: 36px/1 "Tiempos Headline";
  font-weight: 300;
  margin-bottom: 1rem;
}

h2 {
  font: 28px/1 "Tiempos Headline";
  font-weight: 300;
  margin: 3rem 0 2rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffffd8;
  z-index: 2;
}

.admin-bar .header {
  top: 32px;
}

@media (max-width: 768px) {
  .admin-bar .header {
    top: 0;
    position: -webkit-sticky;
    position: -ms-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    position: sticky;
  }
}

.header__inner {
  max-width: 1256px;
  margin: 0 auto;
  padding: 1rem 28px .875rem;
  display: flex;
  justify-content: space-between;
}

.wordmark {
  float: left;
  z-index: 2;
  position: relative;
  color: inherit;
  height: 3rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wordmark a {
  display: block;
  width: 133px;
  height: 35px;
  white-space: nowrap;
  color: inherit;
}

.wordmark svg {
  display: block;
  width: 133px;
  height: 35px;
}

.wordmark svg path {
  fill: currentColor;
  -webkit-transition: fill 0.3s ease-in-out;
  -o-transition: fill 0.3s ease-in-out;
  -webkit-transition: fill 0.3s ease-in-out;
  transition: fill 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .header--expanded {
    color: #fff;
    background: none;
  }
}

.nav--small li {
  display: block;
}

.nav--small .nav__link {
  color: currentColor;
}

.nav--small .nav__subnav {
  margin-left: -1.5rem;
  border-left: 1px solid #e0e0e080;
  padding-left: 2.5rem;
}

.menu {
  width: 30px;
  cursor: pointer;
  z-index: 2;
  position: relative;
  margin-top: calc((3rem - 16px) / 2);
}

.menu__line {
  width: 30px;
  height: 2px;
  background-color: currentColor;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.header--expanded .menu__line:nth-child(1) {
  -webkit-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

.header--expanded .menu__line:nth-child(2) {
  opacity: 0;
}

.header--expanded .menu__line:nth-child(3) {
  -webkit-transform: translateY(-7px) rotate(-45deg);
  -ms-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

.nav--small .nav__links {
  background: rgba(0,0,0,0.8);
  position: fixed;
  z-index: 1;
  top: 0px;
  left: 0px;
  bottom: 0;
  padding: 102px 0 0 3rem;
  opacity: 0;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.header--expanded .nav--small .nav__links {
  opacity: 1;
  right: 0px;
  width: 100%;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.nav--large {
  line-height: 3rem;
  display: none;
}

@media (min-width: 768px) {
  .nav--small {
    display: none;
  }

  .nav--large {
    display: block;
  }
}

.nav ul,
.nav li {
  list-style: none;
}

.nav--small li {
  display: block;
  margin: 0;
}

.nav__link {
  color: #787878;
  text-decoration: none;
}

.nav__link--current {
  font-weight: 600;
}

.nav--large .nav__item {
  display: inline-block;
  line-height: 36px;
  position: relative;
  margin: 0 .75rem;
}

.nav--large .nav__link--with-children:after {
  content: " ";
  width: 0;
  height: 0;
  border: .3rem solid transparent;
  border-top-color: currentColor;
  display: inline-block;
  margin-left: .125rem;
  transform: translateY(.125rem);
}

.nav--large .nav__subnav {
  /*display: none;*/
  position: absolute;
  background: #ffffffe2;
  top: 100%;
  margin-top: 1.25rem;
  width: 13rem;
  left: 50%;
  margin-left: -6.5rem;
  border: 1px solid #e0e0e0;
  padding: 1rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  transform: scale(.9);
}

.nav--large .nav__subnav:before {
  content: " ";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border: .5rem solid transparent;
  border-bottom-color: #fff;
  bottom: 100%;
  margin-left: -.5rem;
  z-index: 2;
}

.nav--large .nav__subnav:after {
  content: " ";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border: .5rem solid transparent;
  border-bottom-color: #e0e0e0;
  bottom: 100%;
  margin-left: -.5rem;
  margin-bottom: 1px;
  z-index: 1;
}

.nav--large .nav__item:target .nav__subnav,
.nav--large .nav__link--toggled + .nav__subnav {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.header__actions {
  display: none;
}

@media (min-width: 500px) {
  .header__actions {
    display: flex;
  }
}

.search-container {
  position: relative;
}

.search-container summary {
  list-style: none;
  outline: 0;
  display: block;
  width: 4rem;
  height: 3rem;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.search-container summary::-webkit-details-marker {
  display: none;
}

.search-container summary:before {
  content: " ";
  background: url("/blog/wp-content/themes/common-20191103/assets/images/search.svg") no-repeat center center;
  background-size: auto 1.25rem;
  display: block;
  width: 100%;
  height: 100%;
}

.search-container[open] summary:before {
  background-image: url("/blog/wp-content/themes/common-20191103/assets/images/search-close.svg");
}

.search-form {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  height: 100%;
  background: #fff;
  overflow: hidden;
  width: calc(1200px - 150px);
  animation: fadein .1s both;
}

.search-form--small {
  position: relative;
  height: auto;
  width: calc(100% - 1rem);
  margin: 0 -.5rem;
  animation: none;
  background: none;
}

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

  100% {
    opacity: 1;
  }
}

.search-form label {
  position: absolute;
  display: block;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 3rem;
}

.search-form label:before {
  content: " ";
  background: url("/blog/wp-content/themes/common-20191103/assets/images/search.svg") no-repeat center center;
  background-size: auto 1.25rem;
  display: block;
  width: 100%;
  height: 100%;
}

.search-form button {
  position: absolute;
  top: 150%;
}

.search__input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  width: 600px;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  line-height: 2rem;
  height: 3rem;
  border-radius: 0;
  float: right;
}

.search__input:focus {
  outline: 0;
}

.search__input::-webkit-search-cancel-button {
 -webkit-appearance: none;
  display: none;
}

.search__input--small {
  width: 100%;
  color: inherit;
  border-color: currentColor;
  margin-bottom: 1rem;
}

.previews {
  margin: 0 0 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .previews {
    display: block;
  }
}

.preview {
  flex: 0 0 calc((100% - 4rem) / 3);
  margin: 0 0 2rem;
  background: #F8F8F8;
  position: relative;
  z-index: 1;
}

.preview--empty {
  background: transparent;
}

.preview--empty-2 {
  flex-basis: calc(100% - ((100% - 4rem) / 3));
}

.preview--featured {
  position: relative;
}

.preview--featured.preview--1-of-1 {
  flex: 0 0 100%;
}

.preview--featured.preview--1-of-1 {
  flex: 0 0 100%;
}

.preview--featured.preview--1-of-2 {
  flex: 0 0 calc(2rem + (100% - 4rem) / 3 * 2);
}

.preview--featured.preview--2-of-2 {
  flex: 0 0 calc((100% - 4rem) / 3);
}

.preview--primary {
  width: 100%;
  margin: 0;
  background: none;
  margin-bottom: 3rem;
  height: 75vh;
}

.preview__poster {
  padding-bottom: 75%;
  background-size: cover;
  background-position: center center;
}

.preview--primary .preview__poster {
  padding-bottom: 0;
  height: 75vh;
}

.preview--featured .preview__poster {
  padding-bottom: 0;
  height: 327px;
}

@media (min-width: 768px) {
  .preview--primary {
    height: auto;
  }

  .preview--primary .preview__poster {
    height: auto;
    padding-bottom: 30%;
  }
}

.preview__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.preview__title {
  font-family: "Tiempos Headline";
  font-weight: 300;
  font-size: 28px;
  line-height: 2rem;
  margin: .5rem 0;
}

.preview--featured .preview__title {
  max-width: 20rem;
  min-height: 4rem;
  overflow: hidden;
}

.preview__text {
  padding: 2rem;
  line-height: 24px;
}

.preview--primary .preview__text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #00000066;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.preview__text-primary-inner {
  padding: 54px 38px;
  max-width: 560px;
  margin: 0 auto;
}

.preview--featured .preview__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000066;
  color: #fff;
}

.preview__category {
  opacity: .65;
  font-weight: bold;
  margin-bottom: .5rem;
}

.preview__subhed {
  margin: 1.5rem 0 1rem;
  color: #787878;
}

.preview__image {
  display: block;
  width: 100%;
}

.preview--primary .preview__excerpt {
  margin: 41px 0;
}

.preview__cta {
  font-size: 14px;
  font-weight: bold;
  padding: 0 1.5rem;
  height: 3rem;
  line-height: 2.75rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  border: 2px solid currentColor;
}

.subhed {
  margin-bottom: 1rem;
  font-family: "Apercu Pro";
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
  padding-bottom: 20px;
  border-bottom: 3px solid #E6E6E6;
}

.previews + .subhed {
  margin-top: -2rem;
}

.banner {
  margin-bottom: 4rem;
  padding-bottom: 40%;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 768px) {
  .banner {
    margin: 0 -1rem 2rem;
    padding-bottom: 75%;
  }
}

.article-wrapper {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

@media (max-width: 768px) {
  .article-wrapper {
    display: block;
  }
}

.article-wrapper .article {
  padding: 0 3rem;
  -webkit-flex: 0 1 66.667%;
  -ms-flex: 0 1 66.667%;
  flex: 0 1 66.667%;
  max-width: 66.667%;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: flex-start;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .article-wrapper .article {
    padding: 0;
    margin: 0 0 3rem;
    max-width: 100%;
  }
}

.article-wrapper .preview {
  margin: 0;
  -webkit-flex: 0 1 33.333%;
  -ms-flex: 0 1 33.333%;
  flex: 0 1 33.333%;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: flex-start;
  align-self: flex-start;
}

.article p {
  margin: 1rem 0;
}

/* Some posts have a weird CSS thing that's setting font-weight to 400. Stop that! */
.article span[style*="font-weight: 400;"] {
  font-weight: inherit !important;
}

.article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

.article__title {
  margin-bottom: 30px;
}

.article__meta {
  margin: 30px 0 50px;
  color: #787878;
  font-size: .9em;
}

.article__meta p {
  margin: 0;
}

.article__categories a {
  color: inherit;
}

.article-related {
  padding: 0 3rem;
}

.category-description {
  max-width: 50%;
}

.category-description > * {
  margin: 1rem 0;
}

.pagination {
  margin: 64px auto;
  display: flex;
  justify-content: center;
}

.page-numbers {
  flex: 0 0 43px;
  display: block;
  width: 43px;
  height: 48px;
  margin: 0 8px;
  text-align: center;
  line-height: 48px;
}

.page-numbers.current {
  color: #fff;
  background: #D44F35;
}

.btn {
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: bold;
  background: #D44F35;
  width: auto;
  padding: 0 2rem;
  height: 3rem;
  line-height: 3rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  color: #fff;
  transition: background-color 0.3s, opacity 0.3s;
}

.newsletter {
  background: url("/blog/wp-content/themes/common-20191103/assets/images/feature.jpg") no-repeat center center;
  background-size: cover;
  margin: 6rem 0 0;
  text-align: center;
  padding: 4rem 0;
  overflow: hidden;
  color: #fff;
  position: relative;
}

.newsletter__banner {
  content: " ";
  background: rgba(0, 0, 0, .35);
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.newsletter__body {
  position: relative;
  z-index: 1;
}

.newsletter__title {
  color: inherit;
  font: 36px/1 "Tiempos Headline";
  font-weight: 300;
  margin-bottom: 1rem;
}

.newsletter__subtitle {
  margin: 1rem auto 2rem;
}

.newsletter__label {
  position: absolute;
  top: -1000%;
}

.newsletter__input {
  width: 100%;
  max-width: 20rem;
  height: 3rem;
  border: 0;
  background: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 3rem;
  padding: 0 1.5rem;
  margin-right: -.5ex;
}

@media (max-width: 768px) {
  .newsletter__input {
    display: block;
    margin: 0 auto 1rem;
  }
}

.newsletter__input:focus {
  outline: 0;
}

.footer {
  background: #333;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 32px;
}

.footer__inner {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 35px 22px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: #d34d35;
}

.footer__column {
  padding-top: 79px;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.footer__menu {
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-around;
  -webkit-justify-content: space-around;
  -ms-flex-pack: space-around;
  justify-content: space-around;
}

.footer__menu-column:first-child {
  margin-left: 75px;
}

.footer__menu-column:last-child {
  margin-right: 60px;
}

.footer__column--primary {
  margin-top: 0;
  -webkit-flex-basis: 50%;
  -moz-flex-basis: 50%;
  -ms-flex-basis: 50%;
  flex-basis: 50%;
}

.footer__title {
  font-family: "Tiempos Headline";
  color: #fff;
  font: inherit;
  font-weight: 500;
  margin: 0 0 12px;
  padding: 0;
  opacity: .9;
}

.footer__logo {
  -webkit-flex-basis: 100%;
  -moz-flex-basis: 100%;
  -ms-flex-basis: 100%;
  flex-basis: 100%;
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  margin: 0;
  padding: 40px 0 26px;
  font: 36px/1 "Tiempos Headline";
  font-weight: 300;
}

.footer__logo a {
  display: block;
  width: 28px;
  height: 35px;
  background: url("/blog/wp-content/themes/common-20191103/assets/images/logo2.svg") no-repeat center center;
  overflow: hidden;
  text-indent: -200px;
  white-space: nowrap;
  background-size: 28px 35px !important;
}

.footer__info-column {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.social-link {
  white-space: nowrap;
  text-indent: -200em;
  overflow: hidden;
  background: no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 18px;
  margin-top: 4px;
}

.social-link--facebook {
  background-image: url("https://common.com/static/images/footer/s-fb.svg");
}

.social-link--facebook:hover {
  background-image: url("https://common.com/static/images/footer/s-fb-a.svg");
}

.social-link--twitter {
  background-image: url("https://common.com/static/images/footer/s-tw.svg");
}

.social-link--twitter:hover {
  background-image: url("https://common.com/static/images/footer/s-tw-a.svg");
}

.social-link--instagram {
  background-image: url("https://common.com/static/images/footer/s-ig.svg");
}

.social-link--instagram:hover {
  background-image: url("https://common.com/static/images/footer/s-ig-a.svg");
}

.social-link--pinterest {
  background-image: url("https://common.com/static/images/footer/s-p.svg");
}

.social-link--pinterest:hover {
  background-image: url("https://common.com/static/images/footer/s-p-a.svg");
}

.footer__info {
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.footer__bottom {
  margin-top: 88px;
  font-size: 13px;
  line-height: 19px;
  -webkit-order: 4;
  -ms-flex-order: 4;
  order: 4;
  -webkit-flex-basis: 100%;
  -moz-flex-basis: 100%;
  -ms-flex-basis: 100%;
  flex-basis: 100%;
}

.footer__bottom a {
  color: rgba(255, 255, 255, .75);
}

.footer__bottom-item {
  float: left;
}

.footer__bottom-item--copyright {
  margin-left: 5px;
  opacity: .9;
}

.footer__bottom-item--privacy {
  margin-left: 5px;
}

.footer__bottom-item--terms {
  margin-left: 10px;
}

.footer__bottom-item--eho {
  margin-left: 10px;
}

.footer__bottom img {
  display: inline-block;
  vertical-align: middle;
  float: left;
  margin-top: 1px;
}

@media (max-width: 1024px) {
  .footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__menu {
    -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
    -webkit-flex-basis: 100%;
    -moz-flex-basis: 100%;
    -ms-flex-basis: 100%;
    flex-basis: 100%;
    margin-bottom: 36px;
  }

  .footer__menu-column {
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    margin: 0 !important;
  }

  .footer__info {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .footer__social {
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }

  .footer__bottom {
    margin-top: 65px;
  }

  .footer__bottom-item {
    padding-top: 5px;
  }

  .footer__bottom-item--copyright {
    margin-left: 0;
  }

  .mobile-tablet-hidden {
    display: none;
  }
}
