/* this file contains app-level styling for navigation, layout, etc. */

/* fonts */

@font-face {
  font-family: "Pressura";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/GT-Pressura-Mono-Regular.eot");
  src: url("../fonts/GT-Pressura-Mono-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/GT-Pressura-Mono-Regular.woff") format("woff"), url("../fonts/GT-Pressura-Mono-Regular.ttf") format("truetype"), url("../fonts/GT-Pressura-Mono-Regular.svg#Pressura") format("svg");
}

@font-face {
  font-family: "PressuraLight";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/GT-Pressura-Mono-Light.eot");
  src: url("../fonts/GT-Pressura-Mono-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/GT-Pressura-Mono-Light.woff") format("woff"), url("../fonts/GT-Pressura-Mono-Light.ttf") format("truetype"), url("../fonts/GT-Pressura-Mono-Light.svg#PressuraLight") format("svg");
}

@font-face {
  font-family: "PressuraBold";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/GT-Pressura-Bold.eot");
  src: url("../fonts/GT-Pressura-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/GT-Pressura-Bold.woff") format("woff"), url("../fonts/GT-Pressura-Bold.ttf") format("truetype"), url("../fonts/GT-Pressura-Bold.svg#PressuraBold") format("svg");
}

/* core */

body {
  margin: 0;
  background-color: #ececea;
  visibility: hidden;
}

.dp-state-background { background-color: #000; }

.dp-container {

}

.dp-container, .dp-container a {
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
  text-decoration: none;
}

/* this is a uniform link style which is used across the app */

.dp-story-link {
  color: #ff0b3a;
  font-family: PressuraLight;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.dp-story-link:hover {
  color: #111;
}

/* animates hover for all links on page */

.dp-container a, .dp-container a:hover {
  webkit-transition: color 0.25s ease-in-out;
  -moz-transition: color 0.25s ease-in-out;
  -o-transition: color 0.25s ease-in-out;
  -webkit-transition: color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out;
}

/* classes to hide/display on mobile or desktop only */

.dp-mobile { display: none; }
.dp-desktop { display: block; }

/* header (navigation and branding) */

.dp-header {
  font-family: "Pressura";
  font-size: 14px;
}

.dp-menu {
  position: absolute;
  left: 30px;
  top: 30px;
  text-transform: uppercase;
  z-index: 1;
}

.dp-project-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.dp-project-logo svg path {
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-project-logo svg:hover path {
  fill: #ff0b3a !important;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-menu a {
  text-decoration: none;
  color: #111111;
}

.dp-menu a:hover {
  text-decoration: none;
  color: #ff0b3a;
}

.dp-menu-active {
  color: #ff0b3a !important;
}

.dp-menu-active:hover {
  color: #ff0b3a !important;
}

.dp-menu-list {
  list-style-type: none;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  -webkit-padding-start: 0;
  padding-left: 0px;
}

.dp-menu-list li {
  margin-bottom: 2px;
}

.dp-menu-divider {
  width: 40px;
  height: 1px;
  background-color: #c1c1c1;
  margin-top: 15px;
  margin-bottom: 12px;
}

.dp-title {
  position: absolute;
  top: 30px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 28px;
  line-height: 18px;
  word-spacing: -6px;
  letter-spacing: -2px;
  text-decoration: none;
  transition: color .2s linear;
}

a .dp-title {
  color: #111;
}

.dp-title h1 {
  margin: 0;
  font-weight: normal;
  font-size: 28px;
}

.dp-title span {
  display: block;
  text-align: center;
  font-size: 10px;
  line-height: 6px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 12px;
  font-family: PressuraLight;
  word-spacing: 0;
}

.dp-title a {
  text-decoration: none;
  color: #111;
}

.dp-title a:hover {
  text-decoration: none;
  color: #ff0b3a;
}

.dp-title a:hover span {
  text-decoration: none !important;
}

.dp-partner {
  position: absolute;
  right: 30px;
  top: 30px;
}

.dp-partner:after { content: ""; display: table; clear: both; }

.dp-tmp-logo {
  width: 50px;
  height: 50px;
}

.dp-tmp-logo svg polygon {
  fill: #111111;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-tmp-logo svg:hover polygon {
  fill: #ff0b3a !important;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-partner-logo {

}

.dp-partner-logo span {
  font-family: PressuraLight;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
  line-height: 8px;
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.dp-tmp-state-logo {
  margin-bottom: 5px;
}

.dp-tmp-state-logo svg path, .dp-tmp-state-logo svg polygon {
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-tmp-state-logo svg:hover path, .dp-tmp-state-logo svg:hover polygon  {
  fill: #ff0b3a;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-dark .dp-tmp-state-logo svg path, .dp-dark .dp-tmp-state-logo svg polygon {
  fill: #ffffff;
}

.dp-dark .dp-tmp-state-logo svg:hover path, .dp-dark .dp-tmp-state-logo svg:hover polygon {
  fill: #ff0b3a;
}

/* viz, countdown */


.dp-viz {
  margin-top: 190px;
  margin-bottom: 0px;
}

.scene_wrapper {
  height: 550px;
  max-width: 600px;
  margin: 0 auto;
  z-index: -1;
}

.dp-viz-fallback {
  display: none;
  margin-left: calc(50% - 57px);
  height: 550px;
}

.dp-viz-outline svg path {
  fill-opacity: 0;
  stroke: #111111 !important;
}

.dp-countdown {
  text-align: center;
  font-family: PressuraLight;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 40;
  position: relative;
  bottom: 70px;
  padding-left: 30px;
  padding-right: 30px;
}

.dp-countdown-name, .dp-countdown-time {
  font-family: Pressura;
}

.dp-countdown-deck {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-size: 15px;
  font-family: Utopia-std;
  letter-spacing: 0;
  text-transform: none;
}


.dp-countdown-new-deck {
  max-width: 800px;
  margin: auto;
  position: relative;
  text-transform: none;
  letter-spacing: 0px;
  font-family: Utopia Std;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 38px;
  /* or 160% */
  text-align: center;

  color: #FFFFFF;


  top: 5px;
  bottom: 50px;
  margin-bottom: 90px;

}

.dp-countdown-new-deck a{
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid #ff0b3a;
}

.dp-countdown-new-deck a:hover {
  text-decoration: none;
  color: #ff0b3a;
}

/* read-more teaser */

.dp-bazemore {
  position: absolute;
  top: 270px;
  left: calc(50% + 70px);
  z-index: 1;
  text-align: right;
  overflow: hidden;
  padding-left: 10px;
  width: 158px;
}

.dp-bazemore-skew {
  -ms-transform: skew(-45deg, 0deg);
  -webkit-transform: skew(-45deg, 0deg);
  transform: skew(-45deg, 0deg);
  border-left: 1px solid black;
  border-top: 1px solid black;
  height: 20px;
}

.dp-bazemore-upper {
  margin-bottom: 10px;
  font-family: PressuraLight;
  letter-spacing: -0.2px;
  font-size: 14px;
}

.dp-bazemore-upper span {
  font-family: Pressura;
}

.dp-bazemore-lower {
  margin-top: -16px;
  z-index: 2;
  right: 0;
  position: absolute;
}

/* modules */

.dp-module {
  max-width: 860px;
  margin: 0 auto;
}

.dp-module {
  margin-top: 60px;
}

.dp-module-divider {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  border-style: none;
  border-width: 0;
  border-bottom: 1px solid #111111;
  opacity:.1;
}

.dp-kicker {
  font-family: Pressura;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #111111;
  display: inline-block;
  padding: 12px 15px 13px 15px;
}

/* custom grid */

.dp-column { float: left; margin-bottom: 60px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.dp-row:after { content: ""; display: table; clear: both; }
.dp-grid-33 { width: 33.33%; }
.dp-grid-50 { width: 50%; }
.dp-grid-66 { width: 66.66%; }
.dp-grid-100 { width: 100%; }
[class*='dp-grid-'] { padding-right: 30px; padding-left: 30px; }

.dp-split {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  column-fill: balance;
  -moz-column-fill: balance;
  -webkit-column-fill: balance;
  -webkit-column-gap: 60px;
  -moz-column-gap: 60px;
  column-gap: 60px;
}

/* footer */

.dp-footer-list {
  text-align: center;
}

.dp-footer-list li {
  display: inline;
  margin-right: 8px;
  font-family: "Pressura";
  font-size: 14px;
  text-transform: uppercase;
  color: #111111;
}

.dp-footer-list li:last-of-type {
  margin-right: 0;
}

.dp-footer-list a {
  text-decoration: none;
  color: #111111;
}

.dp-footer-list a:hover {
  color: #ff0b3a;
  text-decoration: none;
}

.dp-footer-list-active {
  color: #ff0b3a !important;
}

.dp-footer-list-active:hover {
  color: #111111 !important;
}

.dp-footer-logo {
  margin: 0 auto;
  margin-top: 30px;
  width: 20px;
  height: 20px;
}

.dp-footer-logo svg polygon {
  fill: #111111 !important;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

.dp-footer-logo svg:hover polygon {
  fill: #ff0b3a !important;
  webkit-transition: fill 0.25s ease-in-out;
  -moz-transition: fill 0.25s ease-in-out;
  -o-transition: fill 0.25s ease-in-out;
  -webkit-transition: fill 0.25s ease-in-out;
  transition: fill 0.25s ease-in-out;
}

/* darkness (overriding above styles for dark page) */

/* dark type */

.dp-light {
  color: #111 !important;
}

.dp-dark {
  color: #fff !important;
}

.dp-dark .dp-title a {
  color: #fff !important;
}

.dp-dark .dp-title a:hover {
  color: #ff0b3a !important;
}

/* dark svgs */

.dp-dark .dp-tmp-logo svg polygon, .dp-dark .dp-footer-logo svg polygon  {
  fill: #ffffff !important;
}

.dp-dark .dp-tmp-logo svg:hover polygon, .dp-dark .dp-footer-logo svg:hover polygon {
  fill: #ff0b3a !important;
}

.dp-dark .dp-project-logo svg path {
  fill: #ffffff !important;
}

.dp-dark .dp-project-logo svg:hover path {
  fill: #ff0b3a !important;
}

/* dark border and background-color */

.dp-dark .dp-bazemore-skew {
  border-left: 1px solid white;
  border-top: 1px solid white;
}

.dp-dark .dp-temp-circle {
  background-color: white;
}

.dp-dark .dp-kicker {
  background-color: #ffffff;
  color: #111111;
}

.dp-dark .dp-module-divider {
  border-bottom: 1px solid #fff;
  opacity:.1;
}

.dp-dark .dp-story-link:hover {
  color: #ffffff;
}

.dp-dark .dp-menu a {
  color: #ffffff;
}

.dp-dark .dp-menu a:hover {
  color: #ff0b3a;
}

.dp-dark .dp-footer-list li {
  color: #ffffff;
}

.dp-dark .dp-footer-list a {
  color: #ffffff;
}

.dp-dark .dp-footer-list a:hover {
  color: #ff0b3a;
}

/* mobile */

@media (max-width: 739px) {

  .dp-previous {
    font-size: 14px !important;
    line-height: 34px !important;
  }

  .dp-split {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
  }

  /* desktop/mobile visibility */

  .dp-desktop { display: none; }
  .dp-mobile { display: initial; }

  .dp-menu, .dp-bazemore {
    display: none;
  }

  .dp-title { top: 45px; font-size: 26px;}

  .dp-updates-split {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
  }

  /* viz */

  .dp-viz {
    margin-top: 100px;
    margin-bottom: 0px;
  }

  .dp-countdown {
    padding-left: 18%;
    padding-right: 18%;
    text-transform: none;
    bottom: 60px;
    letter-spacing: -0.2px;
  }

  .dp-countdown-button {
    padding-top: 20px !important;
    display: block !important;
  }

  /* modules */

  .dp-partner {
    top: 15px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .dp-tmp-state-logo, .dp-partner-logo {
    display: inline-block;
  }

  .dp-tmp-state-logo {
  }

  .dp-tmp-state-logo svg, .dp-partner-logo svg, .dp-tmp-full-logo svg {
    height: 14px;
  }

  .dp-module {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* custom grid */

  .dp-column { padding-right: 0px; padding-left: 0px; float: none; width: 100%; }

  /* fixes spacing between connected charts and caption on mobile */

  .dp-body-margin, .dp-chart-margin-fix { margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .dp-countdown {
    padding: 0 30px;
  }

  .dp-countdown-new-deck {
    line-height: 1.4;
  }
}


.refer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'PressuraLight';
  position: relative;
  letter-spacing: -0.2px;
  float: right;
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 25px;
  color: #FFFFFF;
  margin: 15px 20px 20px 30px;
}

.case-refer-container {
  margin: 0;
  float: none;
}

.refer-container.dp-mobile {
  width: 100%;
  float: none;
  display: none;
  margin: 30px 0;
  padding: 0;
}

.refer-container.dp-mobile .refer-box {
  width: 100%;
}

@media (max-width: 739px) {
  .refer-container.dp-mobile {
    display: flex;
  }

  .refer-container.dp-desktop {
    display: none;
  }
}

.refer-box a {
  color: #FFFFFF;
  text-decoration: none;
}

.refer-box a:hover {
  color: #ff0b3a;
}

.refer-container p {
  text-decoration: underline;
  text-transform: uppercase;
}

.refer-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  width: 220px;
  color: #FFFFFF;
  padding: 20px;
  padding-left: 0;
  box-sizing: border-box;
}

.case-refer-container .refer-box {
  width: 100%;
  padding: 0;
}

.refer-box ul {
  text-decoration: none;
  text-transform: none;
  list-style-position: inside;
  padding-inline: 5px;
}

.refer-box li {
  list-style: none;
  padding-left: 2.5em;
  text-indent: -1.75em;
  text-decoration:none;
}

.refer-box li::before {
  height: 1em;
  width: 1em;
  content: '→ ';
  color:#ff0b3a;
  font-size:24px;
}

.subscribe-button {
  font-family: 'PressuraBold', sans-serif;
  display: block;
  padding: 15px;
  width: 100%;
  border: 2px solid #ff0b3a;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  background-color: #ff0b3a;
  cursor: pointer;
  transition: all .1s linear;
  box-sizing: border-box;
}

.subscribe-button:hover {
  color: #fff;
  text-decoration: none;
  background-color: #be0025;
  border-color: #be0025;
}

.subscribe-button.inline-block {
  display: inline-block;
  width: auto;
  padding: 8px 20px 10px 20px;
}



/* IE 9&10 fall backs */

@media screen\0 {
  .scene_wrapper { display: none !important; }
  .dp-upcoming-viz { display: none !important; }
  .dp-viz-fallback { display: block !important; }
  .dp-upcoming-viz-fallback { display: block !important; }
  .dp-upcoming-viz-outline svg path { fill-opacity: 1 !important; }
  .dp-viz-outline svg path { fill-opacity: 1 !important; }
}

/* Subscribe promo */
.subscribe-promo {
  font-family: 'PressuraBold', sans-serif;
  width: 100%;
  margin-bottom: 60px;
  box-sizing: border-box;
}


.subscribe-promo .subscribe-button {
  padding: 10px;
}

.subscribe-promo .dp-column {
  margin-bottom: 0;
}

.subscribe-tagline {
  color: #111;
  font-size: 24px;
  line-height: 2;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 0;
}

.dp-dark .subscribe-tagline {
  color: #fff;
}

@media (max-width: 800px) {
  .subscribe-promo .subscribe-button {
    font-size: 14px;
    padding: 7px;
  }

  .subscribe-tagline {
    font-size: 20px;
  }
}

@media (max-width: 739px) {
  .subscribe-promo .subscribe-button {
    font-size: 16px;
    padding: 15px;
  }

  .subscribe-tagline {
    line-height: 1.4;
    padding-bottom: 20px;
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .subscribe-tagline {
    font-size: 22px;
  }
}
