html{
  width: 100%;
}
* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;
}
body{
  background:#fff;
  margin:0;
  padding:0;
  width: 100%;
  font-family: 'Lato', sans-serif;
  color: #4a4a4a;
}
button{
  font-family: 'Lato', sans-serif;
}
.printbg{
  background-image:url('../images/bg.png');
  background-repeat: repeat;
  background-position: center;
  background-color:white;
}
.container-full{
  min-height: 100vh;
  display: flex;
}
.container-large{
  width: 100%;
  max-width: 1000px;
  margin:0 auto;
  display: flex;
  flex-flow: row wrap;
}
.container-medium{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 100px;
  display: flex;
  flex-flow: column;
}
.flex-column{
  display: flex;
  flex-flow: column;
}
.flex-row{
  display: flex;
  flex-flow: row wrap;
}
.align-center{
  align-items: center;
  display: flex;
}
.justify-center{
  display: flex;
  justify-content: center;
}
.justify-spacebetween{
  display: flex;
  justify-content: space-between;
}
.full-width{
  width: 100%;
}
.mobile-max-width{
  max-width: 375px;
}
h1{
  text-align: center;
}

a{
  text-decoration: underline;
}
a:hover{
  text-decoration: none;
}
.bold{
  font-weight: 800;
}

.Button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 335px;
  padding: 10px 20px;
  border-radius: 25px;
  border: 0;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  flex: 0 0 24px;
  outline: none;
}

.Button-Primary{
  color: white;
  background: #647df9;
  text-align: center;
}
.Button-Primary:hover{
  background: #4861dc;
}
.Link{
  cursor: pointer;
  color: #0070e0;
}
.Link:hover{
  text-decoration: none;
}

.signup-form {
  width: 100%;
  max-width: 375px;
  padding: 50px 20px;
}

.FormGroup input {
  width: 100%;
  margin: 0;
  padding: 15px 10px;
  border: 1px solid #ededed;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 300;
}

.FormGroup {
    display: flex;
    margin: 10px 0px;
}
.FormDescription{
  font-size: 20px;
  text-align: center;
  margin: 20px 0;
}
.FormError{
  color:#D13336
}
.form-row{
  margin:20px 0;
}
.flex-column .Button-Primary{
  flex: 0 0 44px;
  height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

@-webkit-keyframes colorChange {
  0% { color: #647df9; }
  25% { color: #22b36e; }
  75% { color: #FBD145; }
  99% { color: #D13336; }
  100% { color: #647df9; }
}

@keyframes colorChange {
  0% { color: #647df9; }
  25% { color: #22b36e; }
  75% { color: #FBD145; }
  99% { color: #D13336; }
  100% { color: #647df9; }
}

.navbar-links {
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.navbar-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}
.navbar-links a:hover{
  text-decoration: underline;
}

.navbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  background: #647df9;
}
.navbar .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 40px;
  font-size: 30px;
  color: white;
}
code{
  white-space:pre;
  font-family: monospace;
}
pre .indent-one{
  margin-left: 0;
}
pre .indent-two{
  margin-left: 31px;
}
pre .indent-three{
  margin-left: 62px;
}
pre .indent-four{
  margin-left: 93px;
}
.refbar {
  background: rgba(251, 209, 69, 0.51);
  height: 75px;
  border-bottom: 1px solid #ededed;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  color: #4a4a4a;
  font-size: 18px;
}
/*End generic*/
.splash .navbar {
  background: transparent;
  position: absolute;
  top: 0;
  width: 100%;
}

.splash .navbar .logo {
  display: none;
}

.splash .navbar-links {
  margin-left: auto;
}

.splash .navbar-links a {
  color: #4a4a4a;
}
.loading-smile * {
  box-sizing: border-box;
}

.loading-smile {
  display: none;
  width: 32px;
  height: 32px;
  position: absolute;
  left: 50%;
  margin-left: -16px;
  top: 50%;
  margin-top: -16px;
}

.loading-smile .face {
  border: 4px solid #0097ee;
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.loading-smile .mouth-mask {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  background-color: #fff;
  z-index: 1;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.815, 0.005, 0.155, 1.000);
}

.loading-smile .mouth-mask-right {
  right: 0;
  animation-name: spinMouthMaskRight;
}

.loading-smile .mouth-mask-left {
  left: 0;
  animation-name: spinMouthMaskLeft;
  animation-delay: 0.533333s;
}

.loading-smile .dot {
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #0097ee;
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 2;
  animation-name: spinDot;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.815, 0.005, 0.155, 1.000);
}

.loading-smile .eye-right {}

.loading-smile .eye-left {
  animation-delay: 0.533333s;
}

@keyframes spinMouthMaskRight {
  0% {
    transform: rotate(0deg);
    transform-origin: left 50%;
  }
  75%, 100% {
    transform: rotate(360deg);
    transform-origin: left 50%;
  }
}

@keyframes spinMouthMaskLeft {
  0% {
    transform: rotate(0deg);
    transform-origin: right 50%;
  }
  75%, 100% {
    transform: rotate(360deg);
    transform-origin: right 50%;
  }
}

@keyframes spinDot {
  0% {
    transform: rotate(0deg);
    transform-origin: 50% 400%;
  }
  75%, 100% {
    transform: rotate(360deg);
    transform-origin: 50% 400%;
  }
}
section.demo{
  background:#f6f9fc;
  min-height: 100vh;
  padding: 100px 40px;
  display: flex;
  flex-flow: column;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
}
.demo h1, .example h1{
  font-size: 45px;
}
.demo p, .example p{
  font-size: 22px;
  font-weight: 300;
}

.demo-input-container{
  flex:50%;
  margin-top: 50px;
}
.demo-input-container pre{
  width: 100%;
  max-width: 315px;
  white-space: normal;
  min-height: 60px;
}
#demo-response{
  font-size: 13px;
  line-height: 13px;
  position: relative;
  flex:50%;
  margin-top: 50px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(50,50,93,.1);
}
#demo-curl-text{
  font-style: italic;
}
textarea#demo-input {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(50,50,93,.1);
  resize: none;
  font-size: 18px;
  font-weight: 300;
  display: flex;
  align-items: center;
  border:0;
  outline: none;
  margin: 40px 0 20px 0;
  width: 100%;
  padding: 10px;
  max-width: 315px;
  min-height: 60px;
}
#demo-input::-webkit-input-placeholder {
  color: #ccc;
}
.demo pre {
  white-space: pre-line;
  padding: 5px;
  margin: 0;
  display: flex;
  flex-flow: column;
}
.demo .string { color: #159570; }
.demo .number { color: #7a90ff; }
.demo .boolean { color: #fa755a; }
.demo .null { color: magenta; }
.demo .key { color: #4a4a4a; }
section.payment-page{
  min-height: 100vh;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
.account-details .bold{
  margin-right: 100px;
}
.account-details .FormGroup{
  font-size: 18px;
}
.account-details .FormGroup span:nth-child(2){
  margin-left: auto;
}
.account-details .FormGroup .Link{
  margin-top: 0;
  margin-left: 5px;
}
.splash h1{
  -webkit-animation: colorChange 15s ease-in-out infinite;
  animation: colorChange 15s ease-in-out infinite;
  font-size: 100px;
  padding: 0 10px;
  text-align: center;
  margin:0;
}
.splash{
  padding: 180px 0 100px;
  min-height: calc(100vh - 150px);
}
.splash .Link{
  font-size: 18px;
}
.splash .Link, .FormGroup .Link{
  margin-top:10px;
}
.splash p{
  color: #4a4a4a;
  text-align: center;
  font-size: 44px;
  padding: 0 10px;
}

/**/

/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
/*.StripeElement {
  background-color: white;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}*/
section {
  min-height: calc(100vh - 250px);
  width: 100%;
  position: relative;
}
.pricing-section {
  display: flex;
  flex-flow: row wrap;
  background: #647df9;
  color: #7a90ff;
  padding: 4em 0;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
.pricing {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto 3em;
}
.pricing-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  flex: 0 1 330px;
}
.pricing-action {
  color: inherit;
  border: none;
  background: none;
  font-size: 14px;
  line-height: 24px;
  cursor: pointer;
  text-decoration: none;
}
.pricing-action:focus {
  outline: none;
}

.pricing-feature-list {
  text-align: left;
}

.pricing-palden .pricing-item {
  font-family: 'Lato', sans-serif;
  cursor: default;
  color: #4a4a4a;
  background: #fff;
  box-shadow: 0 0 10px rgba(46, 59, 125, 0.23);
  border-radius: 20px 20px 10px 10px;
  margin: 1em;
}

@media screen and (min-width: 66.25em) {
  .pricing-palden .pricing-item {
    margin: 1em -0.5em;
  }

  .pricing-palden .pricing__item--featured {
    margin: 0;
    z-index: 10;
    box-shadow: 0 0 20px rgba(46, 59, 125, 0.23);
  }
}
.pricing-palden .pricing-deco {
  border-radius: 10px 10px 0 0;
  background: rgba(76, 70, 101, 0.99);
  padding: 4em 0 9em;
  position: relative;
}
.pricing-item:first-child .pricing-deco, .pricing-item:first-child .pricing-action{
  background: #22b36e;
}
.pricing-item:nth-child(2) .pricing-deco, .pricing-item:nth-child(2) button.stripe-button-el, .pricing-item:nth-child(2) .pricing-action{
  background: #FBD145;
}
.pricing-item:last-child .pricing-deco, .pricing-item:last-child button.stripe-button-el, .pricing-item:last-child .pricing-action{
  background:#D13336
}



.pricing-palden .pricing-deco-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
}
.pricing-palden .pricing-title {
  font-size: 0.75em;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #fff;
}
.pricing-palden .deco-layer {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}
.pricing-palden .pricing-item:hover .deco-layer--1 {
  -webkit-transform: translate3d(15px, 0, 0);
  transform: translate3d(15px, 0, 0);
}
.pricing-palden .pricing-item:hover .deco-layer--2 {
  -webkit-transform: translate3d(-15px, 0, 0);
  transform: translate3d(-15px, 0, 0);
}
.pricing-palden .icon {
  font-size: 2.5em;
}
.pricing-palden .pricing-price {
  font-size: 5em;
  font-weight: bold;
  padding: 0;
  color: #fff;
  margin: 0 0 0.25em 0;
  line-height: 0.75;
}
.pricing-palden .pricing-currency {
  font-size: 0.15em;
  vertical-align: top;
}
.pricing-palden .pricing-period {
  font-size: 0.15em;
  padding: 0 0 0 0.5em;
  font-style: italic;
}
.pricing-palden .pricing__sentence {
  font-weight: bold;
  margin: 0 0 1em 0;
  padding: 0 0 0.5em;
}
.pricing-palden .pricing-feature-list {
  margin: 0;
  padding: 0.25em 0 2.5em;
  list-style: none;
  text-align: center;
}
.pricing-palden .pricing-feature {
  padding: 1em 0;
}
.pricing-palden .pricing-action {
  font-weight: bold;
  margin: auto 3em 2em 3em;
  padding: 1em 2em;
  color: #fff;
  border-radius: 30px;
  background: #4d4766;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.pricing-palden .pricing-action:hover, .pricing-palden .pricing-action:focus {
  opacity: 0.88
}

.pricing-palden .pricing-item--featured .pricing-deco {
  padding: 5em 0 8.885em 0;
}
.subscribed {
    margin-top: auto;
    margin-bottom: 2em;
    font-weight: 800;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #f6f9fc;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    border-radius: 4px;
    border: 0;
    min-height: 200px;
}
.modal-content .Button-Primary{
  margin:0 auto;
}
#card-errors{
  color: #D13336;
  margin-top: 5px;
}

/* The Close Button */
.close {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*Payment Form Styling*/
#payment-form .group {
  background: white;
  box-shadow: 0 7px 14px 0 rgba(49,49,93,0.10),
              0 3px 6px 0 rgba(0,0,0,0.08);
  border-radius: 4px;
  margin-bottom: 20px;
}

#payment-form label {
  position: relative;
  color: #8898AA;
  font-weight: 300;
  height: 40px;
  line-height: 40px;
  margin-left: 10px;
  display: block;
}

#payment-form .group label:not(:last-child) {
  border-bottom: 1px solid #F0F5FA;
}

#payment-form label > span {
  width: 15%;
  text-align: right;
}

#payment-form .field {
  font-size: 16px;
  background: transparent;
  font-weight: 300;
  border: 0;
  color: #31325F;
  outline: none;
  padding: 8px 10px;
  cursor: text;
  width: 85%;
  height: 40px;
  float: right;
}

#payment-form .field::-webkit-input-placeholder { color: #CFD7E0; }
#payment-form .field::-moz-placeholder { color: #CFD7E0; }
#payment-form .field:-ms-input-placeholder { color: #CFD7E0; }

/*#payment-form button {
  float: left;
  display: block;
  background: #666EE8;
  color: white;
  box-shadow: 0 7px 14px 0 rgba(49,49,93,0.10),
              0 3px 6px 0 rgba(0,0,0,0.08);
  border-radius: 4px;
  border: 0;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 400;
  width: 100%;
  height: 40px;
  line-height: 38px;
  outline: none;
}

#payment-form button:focus {
  background: #555ABF;
}

#payment-form button:active {
  background: #43458B;
}*/

#payment-form .outcome {
  float: left;
  width: 100%;
  padding-top: 8px;
  min-height: 24px;
  text-align: center;
}

#payment-form .success, .error {
  display: none;
  font-size: 13px;
}

#payment-form .success.visible, .error.visible {
  display: inline;
}

#payment-form .error {
  color: #E4584C;
}

#payment-form .success {
  color: #666EE8;
}
/*End Payment Form Styling*/

/*Stripe Checkout*/
form.stripe-form {
  margin: auto 3em 2em 3em;
}
.stripe-form .stripe-button-el:not(:disabled):active span, .stripe-button-el.active span {
  background: transparent;
  box-shadow: none;
  border:0;

}
.stripe-form .stripe-button-el {
  width: 100%;
  box-shadow: none;
  padding: 1em 2em;
  color: #fff;
  border-radius: 30px;
  background: #4d4766;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  outline: none;
  font-family: 'Lato', sans-serif;
}

.stripe-form .stripe-button-el span {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: none;
  font-family: 'Lato', sans-serif;
}
/*End Stripe Checkout*/

/*Docs styling*/
.docs p {
  line-height: 30px;
}
.highlight{
  background: rgb(255, 255, 221);
  padding: 1px 5px;
  border: 1px solid #d7d794;
  border-radius: 4px;
  color: #66664f;
}
/*End Docs styling*/
.example-image-container{
  padding: 50px 0;
}
.example-image{
  text-align: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 50px;
  flex:50%;
  height: 800px;
}
#example-joy{
  background-image:url('/public/images/example-joy.png')
}
#example-you{
  background-image:url('/public/images/example-you.png')
}


@media (max-width: 740px) {
  .demo-input-container{
    align-items: center;
  }
  .refbar {
    height: auto;
    font-size: 14px;
    padding: 0 10px 10px;
  }
  .refbar .justify-center {
    text-align: center;
  }
  .refbar img {
    height: 40px !important;
  }
}
@media (max-width: 414px) {
  .example{
    padding: 40px 20px;
  }
  .example-image-container{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .example-image{
    flex:100%;
    background-position: center 50px;
    height: 650px;
  }
  .modal-content {
    width: 100%;
    height: 100%;
    margin:0;
    border-radius: 0;
    padding: 20px 10px;
  }
  .demo-container{
    display: flex;
    flex-flow: column;
  }
  .splash {
    padding: 100px 0;
  }
  .splash .Button-Primary{
    max-width: 80%;
  }
  section.demo{
    padding: 100px 20px;
  }
  .demo .Button-Primary, .container-large .Button-Primary, .container-full .Button-Primary, .modal-content .Button-Primary{
    display: block;
  }
  #demo-response{
    margin-top: 20px;
    flex:auto;
  }
  .demo-input-container{
    flex: auto;
  }
  .demo h1{
    font-size: 28px
  }
  .demo p{
    font-size: 16px;
    line-height: 24px;
  }
  .navbar .logo {
    display: none;
  }
  .container-full{
    padding-left: 20px;
    padding-right: 20px;
  }
  .container-medium > * {
      padding: 0 20px;
  }
}
