@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
div.pricing {
  background-color: #eaedf5;
  padding: 0;
}

div.pricing-notes {
  font-size: smaller;
  color: #777;
  background-color: #fffcf0;
  border: solid 2px #ddd;
  -webkit-border-radius: 0.7rem;
  -moz-border-radius: 0.7rem;
  -ms-border-radius: 0.7rem;
  border-radius: 0.7rem;
  margin: .5rem;
  padding: 1rem;
}
div.pricing-notes a {
  color: #777;
  font-weight: bold;
}
div.pricing-notes a:hover {
  text-decoration: underline;
}
div.pricing-notes dt {
  font-weight: bold;
}

div.plans_header {
  position: relative;
}
div.plans_header div.with-tooltip div.tooltip.product {
  color: #000;
  background-color: #fff;
  border: solid 2px #ccc;
  -webkit-border-radius: 0.7rem;
  -moz-border-radius: 0.7rem;
  -ms-border-radius: 0.7rem;
  border-radius: 0.7rem;
}
div.plans_header div.with-tooltip div.tooltip.product strong {
  color: #3670b9;
}

div.plans {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}
div.plans > div {
  width: 25%;
  margin: .5rem;
  padding: 15px;
  flex-grow: 2;
  border: solid 2px #ccc;
  background-color: #fff;
  -webkit-border-radius: 0.7rem;
  -moz-border-radius: 0.7rem;
  -ms-border-radius: 0.7rem;
  border-radius: 0.7rem;
}

@media screen and (max-width: 600px) {
  div.plans > div {
    width: 100%;
  }
}
div.plan h2 {
  font-size: 140%;
}
div.plan hr {
  color: #dedede3d;
}
div.plan div.actions {
  margin-top: 10px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
}
div.plan div.actions a, div.plan div.actions button {
  border: solid 1px white;
  font-family: arial;
  font-weight: bold;
  text-decoration: none;
  background-color: #00a9e2;
  color: white;
  padding: 15px;
  margin: 5px auto 5px auto;
  width: 90%;
  clear: both;
  display: block;
  text-align: center;
}
div.plan div.actions a:hover, div.plan div.actions button:hover {
  border: solid 1px blue;
  background-color: #0091D7;
}
div.plan div.actions button.try {
  background-color: #006f9f;
  padding: 5px 15px 5px 15px;
}
div.plan div.option {
  border-bottom: solid 1px #ccc;
}
div.plan div.option div.prices {
  margin: 5px 0 5px 0;
}
div.plan div.option button {
  width: 90%;
}

div.pricing .empty {
  height: 1rem;
}
div.pricing .plans {
  margin-top: 1.4rem;
}
div.pricing div.plan div.option.year, div.pricing div.plan div.option.month, div.pricing div.plan div.option.week, div.pricing div.plan div.option.day, div.pricing div.plan div.option.onetime {
  display: none;
  background-color: #999;
}
div.pricing input[type="radio"] {
  display: none;
}
div.pricing input[type="radio"] + label {
  display: inline-block;
  margin-left: 1rem;
  padding: 1rem;
  color: #00000055;
  font-weight: bold;
  background-color: #cccccc66;
  border: solid 2px #cccccc66;
}
div.pricing input[type="radio"] ~ input[type="radio"] + label {
  margin-left: .2rem;
}
div.pricing input[type="radio"]:checked + label {
  border: solid 2px #000;
  color: #000000;
  background-color: #fff;
  transition: all ease-out 0.2s;
  -webkit-transition: all ease-out 0.2s;
  -moz-transition: all ease-out 0.2s;
  -o-transition: all ease-out 0.2s;
  -ms-transition: all ease-out 0.2s;
}
div.pricing input[type="radio"].year:checked ~ div.plans div.plan div[data-interval="year"] {
  display: block;
  background-color: transparent;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}
div.pricing input[type="radio"].month:checked ~ div.plans div.plan div[data-interval="month"] {
  display: block;
  background-color: transparent;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}
div.pricing input[type="radio"].week:checked ~ div.plans div.plan div[data-interval="week"] {
  display: block;
  background-color: transparent;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}
div.pricing input[type="radio"].day:checked ~ div.plans div.plan div[data-interval="day"] {
  display: block;
  background-color: transparent;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}
div.pricing input[type="radio"].onetime:checked ~ div.plans div.plan div[data-interval="onetime"] {
  display: block;
  background-color: transparent;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
}

div.pay {
  padding: 10px;
}
div.pay div#card-element {
  margin: 20px;
  padding: 20px;
  border: dotted 1px #ccc;
}
div.pay button {
  margin: 10px;
  padding: 10px;
}

a.footnote {
  border: solid 1px blue;
  color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  vertical-align: super;
  font: 12px Arial, sans-serif;
  display: inline-block;
  text-align: center;
  margin-left: 2px;
  color: blue;
  cursor: pointer;
}
