/* the wrapper element that will become the outer circle */
.arrow-wrap {
  z-index:1;
  top:25em;
  margin-left:-5em;
  background:#111;
  width:5em;
  height:5em;
  padding:2em 1em;
  border-radius:50%;
  font-size:0.5em;
  display:block;
  box-shadow:0px 0px 5px 0px #333;
}

.arrow-container {
  float: right;
  margin-right: 45%;
  margin-top: 5%;
}

/* a triangle to make the main part of the arrow. Adjust the border-color to fit your needs */
.arrow {
  float:left;
  position:relative;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 1.5em 1.5em 0 1.5em;
  border-color: #ffffff transparent transparent transparent;
  -webkit-transform:rotate(360deg);/* added for better anti-aliasing on webkit browsers */
}

/* a pseudo element arrow placed on top of the other one with the same color as the wrapper */
.arrow:after {
  content:'';
  position:absolute;
  top:-1.6em;
  left:-1.5em;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 1.5em 1.5em 0 1.5em;
  border-color: #111 transparent transparent transparent;
  -webkit-transform:rotate(360deg);/* added for better anti-aliasing on webkit browsers */
}

@-webkit-keyframes arrows {
  0% { top:0; }
  10% { top:12%; }
  20% { top:0; }
  30% { top:12%; }
  40% { top:-12%; }
  50% { top:12%; }
  60% { top:0; }
  70% { top:12%; }
  80% { top:-12%; }
  90% { top:12%; }
  100% { top:0; }
}

.arrow-wrap .arrow {
  -webkit-animation: arrows 2.8s 1.4s infinite;
     -moz-animation: arrows 2.8s 1.4s infinite;
          animation: arrows 2.8s 1.4s infinite;
  -webkit-animation-delay: 1s;
     -moz-animation-delay: 1s;
          animation-delay: 1s;
}

a {
  color: #00B7FF;
}

* {
          box-sizing: border-box;
     -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  line-height: 1;
  font-family: 'Merriweather', serif;
  margin: 0;
}

.pawel-newsletter-hero-image {
  height: 80vh;
  margin-left: 5%;
  float: left;
}

.pawel-hero {
  background:
    linear-gradient(
      rgba(213,193,146, 0.7),
      rgba(186,165,115, 0.95)
    );
  background-size: cover;
  width: 100%;
  height: 80vh;
  position: relative;
  display: block;
}

.pawel-projects-wrapper {
  margin: 1em auto;
  width: 80%;
}

.pawel-hero-headers-wrapper {
  width: 60%;
  vertical-align: top;
  height: 80vh;
  float: right;
}

.pawel-hero-header {
  color: #414141;
  text-align: right;
  margin-top: 10%;
  margin-right: 20%;
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
}

.pawel-hero-subheader {
  color: #414141;
  text-align: right;
  margin-top: 1em;
  margin-right: 20%;
  font-weight: 300;
  font-size: 1.15em;
  line-height: 1.3em;
}

.overlay h2, .overlay h1 {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.cgc-notes-list {
  padding-left: 1em;
}

.cgc-notes-list li {
  margin-bottom: 1em;
}

.cgc-app-component {
  margin: 2em auto;
  width: 96%;
}

.cgc-share-section {
  margin: 1em auto 0;
  text-align: center;
}

.cgc-share-button {
  display: inline-block;
  margin-right: 1em;
  vertical-align: top;
}

.cgc-hero {
  background:
    linear-gradient(
      rgba(44, 48, 55, 0.8),
      rgba(44, 48, 55, 0.8)
    ),
    url('/images/writing.jpg');
  background-size: cover;
  width: 100%;
  height: 75vh;
  position: relative;
  display: block;
}

.cgc-graph-header {
  text-align: center;
  font-size: 1.25em;
  margin-bottom: 1.25em;
  font-family: 'Montserrat', sans-serif;
}

.cgc-header {
  top: 20%;
  text-align: center;
  margin: 1em auto;
  z-index: 9999;
  color: #FFF;
  font-family: 'Montserrat', sans-serif;
}

.cgc-subheader {
  text-align: center;
  margin: 0 auto 2em;
  font-weight: 300;
  font-size: 1.25em;
  width: 70%;
  color: #FFF;
  top: 50%;
  line-height: 2em;
}

.cgc-footer {
  text-align: center;
  margin: 0 auto 2em;
  font-size: 0.75em;
}

.cgc-terms {
  width: 70%;
  margin: 2em auto;
}

.cgc-terms-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 2em;
}

.cgc-legend {
  padding: 0.25em 15% 1em;
  margin: 2em auto;
  background-color: #F5F8FA;
}

.cgc-header-no-margin {
  margin: 0;
  padding-top: 1em;
}

.cgc-legend p {
  font-weight: 300;
  font-size: 1.1em;
  line-height: 1.75em;
}

.cgc-legend h5 {
  font-size: 1.25em;
  margin-bottom: 0;
  margin-top: 2em;
}

.cgc-legend li {
  margin-bottom: 0.75em;
}

.cgc-notes-container--header {
  margin-top: 0;
}

.cgc-legend-list {
  margin-top: 2em;
}

.cgc-legend-list-visitors {
  float: left;
  clear: both;
  width: 49%;
  margin-bottom: 1.5em;
}

.cgc-legend-list-header {
  margin-top: 0;
  color: #43C1E0;
  font-size: 1em;
}

.cgc-legend-list-description {
  font-weight: 300;
  color: #777;
  font-size: 0.85em;
  width: 80%;
  line-height: 1.75em;
}

.cgc-legend-list-growth-rate {
  float: right;
  width: 49%;
  margin-bottom: 1.5em;
}

.cgc-notes-container {
  width: 32%;
  padding: 1em;
  border: 1px solid #CCC;
  border-radius: 2px;
  display: inline-block;
  vertical-align: top;
  height: 250px;
}

.budget-container, .time-distributor-container, .initial-conditions-box {
  margin-top: 2em;
  margin-right: 1%;
  width: 32%;
  padding: 1em;
  border: 1px solid #CCC;
  border-radius: 5px;
  display: inline-block;
  vertical-align: top;
  min-height: 250px;
}

.cgc-component-header--initial {
  margin-bottom: 1em;
}

.cgc-component-label--initial {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.cgc-component-label {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.cgc-component-header {
  margin-bottom: 1.5em;
}

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

.graph {
  width: 65%;
  margin-right: 1%;
  height: 250px;
  border: 1px solid #CCC;
  border-radius: 2px;
  padding: 5px;
}

*:before,
*:after {
  box-sizing: border-box;
}
.rc-slider {
  position: relative;
  height: 4px;
  width: 100%;
  border-radius: 6px;
  background-color: #e9e9e9;
}
.rc-slider-track {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 6px;
  background-color: #abe2fb;
  z-index: 1;
}
.rc-slider-handle {
  position: absolute;
  margin-left: -7px;
  margin-top: -5px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  border-radius: 50%;
  border: solid 2px #96dbfa;
  background-color: #fff;
  z-index: 2;
}
.rc-slider-handle:hover {
  border-color: #57c5f7;
}
.rc-slider-handle-active:active {
  border-color: #57c5f7;
  box-shadow: 0 0 5px #57c5f7;
}
.rc-slider-mark {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  font-size: 12px;
  z-index: 3;
}
.rc-slider-mark-text {
  position: absolute;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  color: #999;
}
.rc-slider-mark-text-active {
  color: #666;
}
.rc-slider-step {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1;
}
.rc-slider-dot {
  position: absolute;
  top: -2px;
  margin-left: -4px;
  width: 8px;
  height: 8px;
  border: 2px solid #e9e9e9;
  background-color: #fff;
  cursor: pointer;
  border-radius: 50%;
  vertical-align: middle;
}
.rc-slider-dot:first-child {
  margin-left: -4px;
}
.rc-slider-dot:last-child {
  margin-left: -4px;
}
.rc-slider-dot-active {
  border-color: #96dbfa;
}
.rc-slider-disabled {
  background-color: #e9e9e9;
}
.rc-slider-disabled .rc-slider-track {
  background-color: #cccccc;
}
.rc-slider-disabled .rc-slider-handle {
  border-color: #cccccc;
  background-color: #fff;
  cursor: not-allowed;
}
.rc-slider-disabled .rc-slider-mark-text,
.rc-slider-disabled .dot {
  cursor: not-allowed !important;
}
.rc-slider-tooltip {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 4;
  visibility: visible;
}
.rc-slider-tooltip-hidden {
  display: none;
}
.rc-slider-tooltip-placement-points-bc-tc {
  padding: 4px 0 8px 0;
}
.rc-slider-tooltip-inner {
  padding: 6px 0;
  width: 24px;
  height: 24px;
  font-size: 12px;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #6c6c6c;
  border-radius: 6px;
  box-shadow: 0 0 4px #d9d9d9;
}
.rc-slider-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.rc-slider-tooltip-placement-points-bc-tc .rc-slider-tooltip-arrow {
  bottom: 4px;
  left: 50%;
  margin-left: -4px;
  border-width: 4px 4px 0;
  border-top-color: #6c6c6c;
}

@media (max-width: 580px) {
  .cgc-hero {
    min-height: 30vh;
    max-height: 100vh;
  }

  .cgc-header {
    top: 12%;
    position: relative;
    font-size: 1.5em;
    line-height: 1.25em;
  }

  .cgc-subheader {
    margin: 0 auto;
    font-weight: 300;
    font-size: 1em;
    width: 80%;
    position: relative;
    line-height: 2em;
  }

  .cgc-footer {
    line-height: 1.75em;
    width: 70%;
    margin: 0 auto 1em;
  }

  .cgc-legend {
    padding: 0.25em 5%;
    margin: 1em auto;
  }

  .cgc-share-button {
    display: block;
    margin: 1em auto;
  }

  .cgc-legend-list-visitors, .cgc-legend-list-growth-rate {
    float: none;
    width: 100%;
    margin: 0 auto 1.5em;
  }

  .cgc-legend-list-description {
    width: 100%;
  }

  .cgc-legend p {
    font-size: 0.95em;
    line-height: 1.75em;
  }

  .cgc-legend h5 {
    font-size: 1.15em;
    margin-bottom: 0;
    margin-top: 2em;
  }

  .cgc-legend ul {
    padding-left: 1em;
    font-size: 0.75em;
  }

  .graph, .cgc-notes-container, .initial-conditions-box, .budget-container, .time-distributor-container {
    width: 100%;
    margin: 0.25em auto;
    height: 250px;
    margin-bottom: 0.5em;
  }
}

@media (max-width: 1200px) {
  .pawel-hero-headers-wrapper {
    width: 50%;
  }
}

@media (max-width: 925px) {
  .pawel-newsletter-hero-image {
    height: 50vh;
    padding-top: 1em;
    margin-left: auto;
    margin-right: auto;
    float: none;
    display: block;
  }

  .pawel-hero-headers-wrapper {
    width: 100%;
    padding: 0 5%;
    height: auto;
    float: top;
  }

  .pawel-hero {
    height: auto;
  }

  .pawel-projects-wrapper {
    width: 90%;
  }

  .pawel-hero-subheader, .pawel-hero-header {
    text-align: center;
    margin: 0.5em auto;
    font-size: 0.95em;
  }

  .overlay h2, .overlay h1 {
    margin: 0;
    position: relative;
    left: 0;
    transform: none;
    -webkit-transform: none;
  }
}