html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Main styling */

body {
  line-height: 1.5em;
  margin: 0;
  width: 100%;
  height: 100%;
  clear: both;
  background-color: #2E435D;
  color: #fcfcfc;
  padding-top: 100px;
  padding-bottom: 64px;
}

body * {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5 {
  color: #fcfcfc;
  text-align: left;
  font-weight: 700;
  line-height: 1.3em;
  font-family: 'Open Sans Condensed', sans-serif;
}

a {
  color: rgb(112, 184, 231);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: #8dc6ec;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.5em;
  font-size: 16px;
  margin: 8px 0 16px 0;
}


.center {
  text-align: center;
  font-size: 18px;
}

h1 {
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2em;
}

h2 {
  font-weight: 600;
  font-size: 40px;
  margin: 64px 0 24px 0;
  width: 100%;
  text-align: center;
}

h3 {
  font-weight: 600;
  font-size: 32px;
  margin: 32px 0 16px 0;
}

h4 {
  font-weight: 600;
  margin: 32px 0 0 0;
  font-size: 24px;
}

.subtitle {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
}

h5 {
  font-size: 20px;
}



.content {
  margin: 0 auto;
  width: 100%;
  padding: 10px;
  max-width: 1300px;
}

header {
  height: 80px;
  width: 100%;
  clear: both;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

header.solid {
  background-color: #2E435D;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

header .inner {
  display: block;
  clear: both;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 16px;
}

header .logo {
  float: left;
  background-image: url('/logo.svg') ;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  user-select: none;
  width: 160px;
  height: 60px;
  margin-top: 10px;
  color: transparent;
}

header .button {
  float: right;
  margin: 18px 0 0 18px !important;
}

@media (max-width: 600px) {
  header .button {
    padding: 0;
    background-color: transparent;
    margin: 26px 4px 0 0 !important;
    color: rgb(112, 184, 231);
  }

  header .button:hover {
    background-color: transparent;
    color: #8dc6ec;
  }
}

header img {
  filter: brightness(0) invert(1);
}

.change-plan {
  margin-top: 50px;
  text-align: center;
}

section.form {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

form {
  flex: 1;
  width: 100%;
}

section.form label {
  display: none;
}

input[type="text"], input[type="password"] {
  display: block;
  color: #fcfcfc;
  background-color: #485466;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  max-width: 400px;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 46px;
  border: 2px solid transparent;
}

.actions {
  margin: 20px 0;
}
.actions a {
  color: #fcfcfc;
  text-decoration: underline;
  font-weight: lighter;
}

.flashes {
  margin: 20px 0;
}

.button, input[type="submit"] {
  background: rgb(112, 184, 231);
  border-radius: 46px;
  border: 2px solid transparent;
  display: block;
  padding: 10px 50px;
  margin: 0;
  text-align: center;
  width: auto;
  display: block;
  color: #fcfcfc;
  text-decoration: None;
  font-size: 18px;
  cursor: pointer;
  -webkit-transition: all .1s ease-out;
  -moz-transition: all .1s ease-out;
  -o-transition: all .1s ease-out;
  transition: all .1s ease-out;
}

.button:hover {
  background-color: #8dc6ec;
  border-color: rgb(112, 184, 231, 0.8);
  text-decoration: none;
  color: #fff;
}

input[type="submit"] {
  float: right;
}

#remember {
  display: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fcfcfc;
  opacity: 0.8; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fcfcfc;
  opacity: 0.8;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #fcfcfc;
  opacity: 0.8;
}

.toc {
  font-size: 12px;
  text-align: center;
}

strong.quota {
  display: inline-block;
  margin: 0 20px;
  font-size: 32px;
}

@media (max-width: 768px) {
  .inner {
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media (min-width: 768px) {
  .inner {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .inner {
    max-width: 1024px;
  }
}


/** Price blocks **/
.blocks {
  clear: both;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.blocks ul {
  display: block;
  flex: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .blocks {
      flex-direction: column;
      align-items: center;
  }
}

.blocks li {
  font-weight: 700;
}

.blocks {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.price {
  display: block;
  margin: 20px 0;
  width: 300px;
  padding: 0 20px 20px 20px;
}

.price-header {
  display: block;
  background: rgb(112, 184, 231);
  padding: 20px;
  position: relative;
  z-index: 1;
}

.price.current .price-header {
  background: #85CEC3;
}

.current-plan {
  display: block;
  font-weight: 600;
  border-radius: 100px;
  background: #fff;
  color: #696969;
  padding: 10px;
  margin: 0 0 20px 0;
  text-align: center;
  height: 48px;
  font-size: 18px;
}

.price-header .name {
  letter-spacing: 0.5em;
  text-align: center;
  width: 100%;
  font-size: 18px;
  display: block;
  text-transform: uppercase;
}

.price .number {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 64px;
  font-weight: 600;
  margin-top: 20px;
  font-family: 'Open Sans Condensed', sans-serif;
}

.price .per-month {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 18px;
  margin: 20px 0 10px 0;
}

.price .ask {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  width: 100%;
  display: block;
  line-height: 1.6em;
  margin: 35px 0;
}

.price-info {
  padding: 0;
}

.price p {
  color: #454545;
  display: flex;
  padding: 10px;
  margin: 0;
  font-size: 18px;
  width: 100%;
  min-height: 70px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.price-info > p {
  background: #EEEEEE;
}

.price-info p:nth-of-type(2n+1), .price-info p:last-of-type {
  background-color: #ffffff;
}



/* API KEY*/
.api-key input {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.quota-container span {
  font-size: 28px;
  text-align: center;
  display: block;
}

.upgrade-button form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background: transparent !important;
}

.upgrade-button {
  background: #EEEEEE !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upgrade-button.current {
  background: transparent !important;
}

.upgrade-button.current p {
  color: #EEEEEE;
  background: transparent;
}

.upgrade-button input[type="submit"], .upgrade-button .button {
  background: #67C1B3;
  border-color: #67C1B3;
  min-width: 90%;
}

.upgrade-button input[type="submit"]:hover, .upgrade-button .button:hover {
  background: #85CEC3;
  border-color: #85CEC3;
  text-decoration: none;
  color: #fff;
}

.upgrade-button form select {
  width: 90%;
  height: 48px;
  padding: 10px 50px;
  font-size: 16px;
  border: 1px solid transparent;
  border-radius: 46px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align-last: center;
  background: url(/down.png) 92% / 6% no-repeat #FFFFFF;
}

.upgrade-button .button {
  margin-top: 20px;
  margin-bottom:20px;
}

.upgrade-button p {
  font-style: italic;
}

.downgrade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.downgrade .button {
  margin-bottom: 0;
}

.downgrade p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

span.highlight {
  font-weight: bold;
}

.confirm-subscription {
  width: 720px;
}
.vat {
  margin: 20px 0;
  font-size: 14px;
}
.confirm-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  margin-top: 20px;
}
.confirm-buttons form {
  width: auto;
  flex: 0;
}
.discount {
  display: block;
  text-align: center;
  color: #67C1B3;
  font-size: 18px;
}

.change-plan.button, .button.green, input[type="submit"].green {
  background: #67C1B3;
  border-color: #67C1B3;
  margin: 20px auto;
}

.change-plan.button {
  margin: 0 auto 20px auto;
  font-weight: 600;
}

.change-plan.button:hover, .button.green:hover, input[type="submit"].green:hover {
  background-color: #85CEC3;
  border-color: #85CEC3;
}

.g-recaptcha div {
  margin: 0 auto;
}

.hidden {
  display: none;
}

.authenticate-payment {
  position: fixed;
  top: 80px;
  width: 100%;
  text-align: center;
  color: #ffeef2;
  background-color: #FF5454;
  border-color: #B33A3A;
  border: 1px solid #B33A3A;
  border-left: none;
  border-right: none;
  padding: 10px;
}

.authenticate-payment a {
  color: #491217;
}

.subscription-and-billing {
  margin: 40px 0 80px 0;
}

.subscription-and-billing .button {
  margin: 40px auto;
  font-weight: 600;
}

.subscription-and-billing strong {
  color:rgb(112, 184, 231);
  cursor: pointer;
}

.subscription-and-billing strong:hover {
  color: #8dc6ec;
}
