.cards a, .articles a {
  text-decoration: none;
  color: inherit; }

.cards .item, .feature + .page-content, .articles .item, .page-home .content-wrapper, .home-news-item-wrapper, .home-about-wrapper {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #bbb; }

.cta-strip {
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd; }

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

body, html {
  font-family: Roboto, Helvetica Neue, Helvetica, sans-serif;
  font-size: 18px;
  color: #333;
  margin: 0;
  background-color: #333; }

.primary-navigation {
  max-width: 72em;
  margin: 0 auto;
  line-height: 1.5; }
  .primary-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1.15em 0;
    transition: 0.1s padding; }
    .scrolled .primary-navigation ul {
      padding: 0.25em 0; }
    .primary-navigation ul li {
      padding: 0 0 0 5%; }
      .primary-navigation ul li:first-child {
        position: relative;
        padding: 0;
        flex-grow: 1; }
        .primary-navigation ul li:first-child:after {
          z-index: 0;
          content: '';
          background-image: url(https://www.calgarystampede.com/sites/all/themes/calgarystampede2017/dist/_site/assets/img/header/header-logo.png);
          background-repeat: no-repeat;
          background-position: 5% center;
          background-size: auto 100%;
          display: block;
          position: absolute;
          top: -10%;
          left: 0;
          width: 100%;
          height: 120%; }
          .scrolled .primary-navigation ul li:first-child:after {
            background-image: url(https://www.calgarystampede.com/sites/all/themes/calgarystampede2017/dist/_site/assets/img/header/header-logo-mini.png);
            background-position: 40px center;
            background-size: auto 50%; }
        .primary-navigation ul li:first-child a {
          position: relative;
          z-index: 10;
          display: block;
          text-align: left;
          text-indent: -9999px; }
    .primary-navigation ul a {
      font-size: 0.9em;
      display: block;
      padding: 0.5em;
      text-decoration: none;
      text-align: center;
      text-transform: uppercase;
      color: #ddd;
      -webkit-font-smoothing: antialiased; }
      .primary-navigation ul a.nav-active {
        font-weight: bold; }

.site-header {
  background-color: #333;
  position: fixed;
  width: 100%;
  z-index: 10;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #555; }

.site-main-wrapper {
  max-width: 72em;
  margin: 0 auto;
  padding: 2em;
  display: flex; }
  .site-main-wrapper > .content-sidebar {
    flex: 1; }
  .site-main-wrapper > .content-wrapper {
    flex: 3; }

.site-nav, .site-main {
  position: relative;
  padding-top: 100px;
  z-index: 0; }

.site-nav {
  background-color: #fafafa;
  display: none; }
  .navigation-content .site-nav {
    display: block; }
  .site-nav-wrapper {
    max-width: 72em;
    margin: 0 auto;
    padding: 2em;
    display: flex; }
    .site-nav-wrapper > .content-sidebar {
      flex: 1; }
    .site-nav-wrapper > .content-wrapper {
      flex: 3; }

.utility-navigation {
  background-color: #666; }
  .utility-navigation ul {
    list-style: none;
    margin: 0 auto;
    display: flex;
    padding: 0.45em 1em;
    justify-content: flex-end;
    max-width: 72em; }
  .utility-navigation li {
    padding: 0 0 0 2em; }
  .utility-navigation a {
    color: white;
    padding: 0;
    display: block;
    line-height: 1;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.75em; }

.site-footer {
  background-color: #333;
  color: white; }
  .site-footer .footer-wrapper {
    max-width: 72em;
    margin: 0 auto;
    padding: 3em 1em 5em; }
  .site-footer a {
    color: inherit;
    text-decoration: none;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1em; }
  .site-footer nav {
    text-align: center; }
    .site-footer nav h3 {
      font-size: 1em;
      margin: 3em 0 1em; }
    .site-footer nav ul {
      display: flex;
      justify-content: center;
      list-style: none;
      padding: 0;
      margin: 0; }

.content-wrapper, .content-sidebar {
  margin: 1em 0; }

.content-sidebar {
  margin-right: 2em; }
  .content-sidebar nav {
    border: 1px solid #bbb; }
    .content-sidebar nav ul {
      list-style: none;
      padding: 0;
      margin: 0; }
    .content-sidebar nav ul li a.active {
      color: #a11;
      font-weight: bold; }
  .content-sidebar ul.nav-level-1 {
    background-color: #333; }
    .content-sidebar ul.nav-level-1 a {
      color: white;
      text-transform: uppercase; }
  .content-sidebar ul.nav-level-2 {
    background-color: white; }
    .content-sidebar ul.nav-level-2 a {
      font-weight: normal;
      color: #444;
      text-transform: none; }
  .content-sidebar ul.nav-level-3 {
    border: none;
    background-color: #f2f2f2; }
    .content-sidebar ul.nav-level-3 a {
      font-size: 0.9em;
      font-weight: normal;
      border: none;
      margin-top: 0; }
  .content-sidebar li {
    display: block; }
    .content-sidebar li:last-child > a {
      border-bottom: none; }
  .content-sidebar a {
    display: block;
    line-height: 1.2;
    padding: 0.75em;
    color: #444;
    text-decoration: none;
    border: 1px solid #bbb;
    border-width: 1px 0;
    margin-top: -1px; }

.page-content {
  padding: 1px 2rem 2rem;
  background-color: white;
  line-height: 1.6; }

.page-title {
  padding: 2rem 2rem 0;
  margin: 0;
  background-color: white; }

.cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  overflow: hidden; }
  @media (min-width: 767px) {
  .cards {
    flex-direction: row; } }
  .cards .item {
    flex: 1;
    min-width: 40%;
    margin: 1em;
    padding: 1em;
    display: flex; }
    .cards .item .item-image {
      min-width: 200px;
      max-width: 200px;
      background-color: #777;
      height: 200px;
      margin-right: 1em;
      border-radius: 50%; }

.cards {
  transform-origin: top right; }

.site-main {
  background-color: #fafafa;
  display: block;
  padding-bottom: 1px; }
  .navigation-content .site-main {
    display: none; }

.item {
  background-color: white; }

.feature {
  padding: 40% 0 0;
  background-color: #666; }
  .feature h1 {
    background-color: rgba(0, 0, 0, 1);
    color: white;
    padding: 1em;
    margin: 0;
    line-height: 1;
    font-size: 1em; }
  .articles .item {
    display: flex;
    align-items: flex-start;
    margin: -1px 0 0;
    padding: 1em; }
    .articles .item .item-image {
      min-width: 110px;
      min-height: 110px;
      background-color: #777;
      margin-right: 1em;
      border-radius: 50%; }
    .articles .item h3 {
      margin: 0.5em 0; }
    .articles .item p {
      margin: 0.5em 0; }

.home-banner {
  height: 70vh;
  max-height: 750px;
  background-color: gray;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .05) 35px, rgba(255, 255, 255, .05) 70px);
  margin-top: -100px;
  position: relative;
  z-index: -1; }
  .home-banner .dots {
    top: 50%;
    cursor: pointer;
    right: 30px;
    content: "˙ ˙ ˙ ˙";
    font-weight: bold;
    font-size: 3em;
    line-height: 20px;
    width: 1em;
    text-align: left;
    display: block;
    color: white;
    position: absolute; }
    .home-banner .dots span {
      display: block;
      opacity: 0.5; }
      .home-banner .dots span.dot-active {
        opacity: 1; }

.page-home .content-wrapper {
  margin: -100px auto 1em;
  margin-top: -100px;
  max-width: 52em; }
  .page-home .page-content {
    border: none; }

.cta-strip {
  padding: 0 1em;
  margin-bottom: 3em; }
  .cta-strip:last-child {
    margin-bottom: 0;
    border-bottom: none; }

.cta-wrapper {
  max-width: 72em;
  margin: 0 auto; }
  .cta-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center; }
    .cta-wrapper ul li {
      padding: 1em 0; }
    .cta-wrapper ul a {
      display: block;
      text-decoration: none;
      text-transform: uppercase;
      font-weight: 600;
      color: #777;
      font-size: 0.65em;
      letter-spacing: 0.05em;
      text-align: center; }
      .cta-wrapper ul a:before {
        content: '';
        display: block;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #bbb;
        margin: 0 auto 1em; }
    .cta-wrapper ul .text-cta {
      padding: 0; }
      .cta-wrapper ul .text-cta a {
        padding: 5em 8em;
        background-color: #777;
        color: white;
        margin: 0; }
        .cta-wrapper ul .text-cta a:before {
          display: none; }

.home-news-item {
  margin: 4em 0; }

.home-news-item-wrapper {
  max-width: 52em;
  margin: 0 auto;
  padding: 2em;
  display: flex; }
  .home-news-item-wrapper .home-news-img {
    flex: 1;
    padding: 10% 0;
    min-width: 35%;
    background-color: #777;
    margin-right: 2em; }
  .home-news-item-wrapper .home-news-content {
    flex: 3; }

.home-about {
  margin: 4em 0; }

.home-about-wrapper {
  max-width: 52em;
  margin: 0 auto;
  padding: 2em; }

.home-gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 2em -0.5em 1em; }
  .home-gallery .gallery-item {
    flex: 1;
    margin: 0 0.5em 1em;
    padding: 18% 0 0;
    min-width: 22%;
    background-color: #777; }

.read-more {
  text-align: right;
  margin: 2em 0 0; }
  .read-more a {
    color: white;
    background-color: #777;
    padding: 0.85em 2em;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold; }

@media (max-width: 768px) {
  .cards .item, .site-nav-wrapper, .site-main-wrapper, .primary-navigation ul, .utility-navigation ul, .site-footer nav ul, .home-news-item-wrapper {
    flex-direction: column; }

  .home-news-item-wrapper .home-news-img {
    width: 100%;
    margin: 0 auto;
    padding: 30% 0; }

  .site-header {
    min-height: 70px; }
    .site-header nav li {
      display: none; }
    .site-header .primary-navigation li:first-child {
      display: block; }
    .site-header .primary-navigation ul:after {
      content: '';
      width: 28px;
      height: 28px;
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA0ElEQVR4nO3YsQ3CMBRF0WtK6KhhhqzBNqwSBoGWrMEO1HSkNQUU6GM6iAT/nvLFhW1ZjvVAkiRJUkalFdZa10APbID5pDP6vBEYgG0p5Rw/vmxArXUFnIDl9+c2qQvQxU2YNQbu+L/Fw31NfQxbJ+DK7x/7d8ZSyuI5aJ2AVFobcJx8FtMZYuAlGEc9BnTAgfsv5NeNwJ7G4iVJUm72ATFI/xTGPsA+IBX7gBikvwTtAyRJUhb2ATFI/xTGPsA+IBX7gBikvwTtAyRJkiRlcAMWC2CaN2t8nwAAAABJRU5ErkJggg==);
      background-size: 100%;
      background-position: center;
      position: absolute;
      right: 1em; }

  .cta-wrapper ul {
    flex-wrap: wrap; }

  .cta-wrapper ul li {
    flex: 1;
    min-width: 30%; }

  .cards .item .item-image {
    min-width: 110px;
    height: 110px;
    margin: 0 auto 1em; } }
