/* Flexboxgrid style overrides */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.row {
  margin: 0 auto;
}

/* End overrides */

body {
  width: 100%;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
  background-color: #FEFEFF;
  word-wrap: break-word;
  line-height: 1.5rem;
}

a {
  text-decoration: none;
  color: #0AA9F7;
}

a:hover {
  color: #0884C1;
}

button[type=submit] {
  display: block;
  background-color: #4c4c4c;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.5rem 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  text-transform: uppercase;
  transition: .3s;
  font-weight: 300;
  line-height: inherit;
}

button[type=submit]:hover {
  background-color: #333;
}

dt {
  font-weight: bold;
  margin: 1.5rem 0 0.5rem;
}

dd {
  margin: 0 0 1.5rem;
  padding: 0;
}

em {
  font-weight: 400;
  font-style: normal;
}

fieldset {
  border: 0;
  background-color: rgb(245, 245, 248);
  /* padding: 0 1.5em; */
}

fieldset h4 {
  margin: 1.5rem 1rem 0;
}

h1 {
  margin: 1.5rem 0;
  line-height: 3rem;
}

input, select {
  margin-top: 0.5em;
  border: none;
  padding: 0.5rem;
  border-radius: 0.25rem;
  max-width: calc(100% - 1rem);
}

p, pre, ul, ol {
  margin: 1.5rem 0;
  padding: 0;
  line-height: 1.5em;
}

pre, code {
  font-size: 0.85em;
  font-weight: inherit;
  line-height: inherit;
  background: #F5F5F5;
  padding: 0.15em 0.35em;
  border: 1px solid #d6d6d6;
  border-radius: 0.2em;
}

td {
  vertical-align: top;
}

td:first-child {
  padding-right: 1em;
}

thead {
  font-weight: bold;
  border-bottom: 1px solid #333;
}

menu, dir {
  padding: 0;
}

/* Main layout */
.center-content {
  text-align: center;
}
.wrap {
  box-sizing:border-box;
  /*max-width:1200px;*/
  margin:0 auto;
  width: 100%;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.wrapper h1, .wrapper h2, .wrapper h3 {
  color: #333;
  text-align: center;
}
.wrapper p {
  color: #333;
  margin-left: 15px;
}
.error p {
  text-align: center;
  margin: 0;
  color: #333;
}
.max-container {
  max-width: 1200px;
  margin: 0 auto;
}
.main {
  /*padding-bottom: 4em;*/
  flex: 1;
}
.button {
  border-width: 1px;
  border-radius: 5px;
  border-style: solid;
  padding: 6px 14px;
  font-weight: 300;
  margin: 5px 7px;
}
.centered {
  text-align: center;
}
.email {
  font-weight: 400;
}
.error {
  color: #960000;
  font-weight: 400;
}
.error:last-child {
  margin-bottom: 1em;
}
/* End main layout */

/* Forms */
.stand-alone {
  width: 100%;
  text-align: center;
}
.input-label {
  font-weight: 400;
  display: block;
}

.help-text {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}

.help-text a {
  color: #48BDF6;
}

.help-text a:hover {
  color: #0AA9F7;
}

/* End forms */

/* Header and header nav */
.header {
  /*height: 56px;*/
  background-color: rgb(49, 49, 52);
  color: #FFF;
  font-size: 14px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  width: 20%;
}

.header-links {
  display: inline-block;
  vertical-align: middle;
  width: 79%;
}

.branding {
  align-items: center;
}

img.logo {
  margin-top: -3px;
}

.logo {
  height: 32px;
  display: flex;

}

.logo:hover > .svg-logo-container > svg > path, .logo:hover > .company-name {
  fill: #0AA9F7;
  color: #0AA9F7;
}

.svg-logo-container svg {
  width: 32px;
  margin-top: -3px;
}

.logo-image {
  height: 32px;
  width: 32px;
  margin-top: -3px;
  background-image: url("/img/icon.svg");
  background-repeat: no-repeat;
}

.logo-image:hover {
  background-image: url("/img/icon_hover.svg");
}

.logo.company-name {
  color: #FFF;
  font-size: 24px;
  font-weight: 300;
  margin-top: 3px;
  padding-left: 0.25em;
}

.logo.company-name:hover {
  /*color: #0AA9F7;*/
}

.nav {
  text-align: right;
  text-transform: uppercase;
}

.nav .links li {
  display: inline;
  font-weight: 300;
}
.nav .divider {
  padding-left: 15px;
}
.nav .links a:hover {
  color: #40c4ff;
}

.nav .links a {
  color: #FFF;
  margin: 19px 8px;
}

.nav .links .button {
  border-color: #f7f7f7;
  font-size: 14px;
  font-weight: 300;
  margin: 0px 5px;
}

.nav .links .button:hover {
  border-color: #40c4ff;
  color: #40c4ff;
}

.nav .links .button.filled {
  color: #000;
  background: #f7f7f7;
  border-color: #000;
}

.nav .links .button.filled:hover {
  background-color: #40c4ff;
  /*color: #f7f7f7;*/
  color: rgb(49, 49, 52);
}

#messages-info-container {
  margin: 10px auto;
  font-weight: bold;
}

.info {
  margin :3px 0;
}
/* End header and header nav */

/* Footer */
footer {
  background: rgb(245, 245, 248);
  color: #aaa;
  padding: 2em;
  font-size: 16px;
  text-align: left;
  text-align: center;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer nav {
  text-align: center;
  margin-bottom: 5px;
}
footer li {
  display: inline;
}
footer li + li {
  margin-left: 14px;
}

footer a {
  /*color: #0091ea;*/
  color: #4990d1;
  font-size: 14px;
}

footer a:hover {
  /*color: #0277bd;*/
  text-decoration: underline;
}

#footer {
  box-sizing: border-box;
  text-align: center;
  clear: both;
  width: 100%;
  /*margin: 60px 0 0;*/
  padding: 2em;
  /*text-transform: uppercase;*/
  font-size: 14px;
  /*letter-spacing: 1px;*/
  color: #AAA;
  background-color: #EEE;
  font-weight: 300;
}


#footer ul {
  display: inline-block;
  vertical-align: top;
  margin: 0 50px;
  text-align: left;
  line-height: 2.0em;
}

#footer ul li {
  float: left;
  margin: 0 20px;
  font-weight: 300g;
  list-style-type: none;
}
#footer a {
  color: #4990d1;
}

#footer a:hover {
  text-decoration: underline;
}
#footer .copyright, .trademark {
  /*display: block;*/
  font-size: 10px;
}
#footer div.copyright {
  line-height: normal;
  margin: 15px 5px 0 5px;
}
/* End footer */

/* Profile Settings */
.card {
  margin-bottom: 1em;
}
.brand, .last-four {
  /*font-weight: 400;*/
}
.street {
	display: block;
}
.state::after {
  content: ',';
}
.brand-header {
  display: block;
  font-weight: 400;
  font-size: 20px;
}
.address-header {
  font-weight: 400;
  font-size: 20px;
}
.address {
  margin-top: 10px;
}

/* Dashboard */

.account-body h1 {
  margin: 1.5rem 0;
  font-size: 2.2em;
}

.account-body h2 {
  margin: 1.5rem;
}

.account-body h3 {
  margin-bottom: .2em;
}

.account-body h3 + * {
  margin-top: 0;
}

.api-key-section-container {
  box-sizing: border-box;
  width: 100%;
  /*background-color: #F5F5F5;*/
  background-color: rgb(245, 245, 248);
  padding: 25px 10px;
}

.api-key-section {
  margin: 0 auto;
  max-width: 1200px;
}

.api-key-section h2 {
  margin-top: 0;
}

#reset-key {
  margin: 1.5rem 0;
  padding: 0.75rem 0;
  border: 1px solid #d7d7d7;
  border-radius: 0.25rem;
  background-color: #fff;
}

#reset-key input {
  padding: 0;
}

.api-key-section-container pre {
  background: white;
  padding: 0.75rem 0;
  text-align: center;
}

.api-usage-section {
  margin-top: 3em;
}

.api-usage-section h2 {
  text-align: center;
  font-size: 1.8em;
  /*margin-bottom: 50px;*/
}

.api-usage-section #no-api-use-message {
  text-align: center;
  margin-bottom: 3em;
}

.attribution {
  margin: 0 auto;
  font-size: 16px;
  font-style: italic;
  text-align: center;
  max-width: 1024px;
  padding: 0 20px;
}

#no-billing-history-message {
  margin-bottom: 1em;
  text-align: center;
}

.cost::before {
	content: '$';
}
.chart {
	display: block;
  margin: 0 auto;
}
table.consumption thead {
  border-bottom: 0;
}
.svg-container {
    display: inline-block;
    /*display: block;*/
    /*margin: 0 auto;*/
    position: relative;
    width: 100%;
    padding-bottom: 55%; /* aspect ratio */
    vertical-align: top;
    overflow: hidden;
}
.svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
}
.bar {
  fill: steelblue;
}

.bar:hover {
	/*fill: orange;*/
  fill: #333;
}

.bar:hover text {
	fill: #333;
	opacity: 1;
}

.bar text {
  fill: #BBB;
  font: 10px sans-serif;
  text-anchor: middle;
  opacity: 0;
}

.axis text {
  text-anchor: middle;
  font-size: 10px sans-serif;
  fill: black;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.rule path {
	fill: none;
}

.rule line {
  shape-rendering: crispEdges;
  stroke: #EEE;
  stroke-width: 1px;
}

.rule text {
	display: none;
}

.month path,
.month line {
	display: none;
}

.month text {
	font-weight: bold;
	color: #333;
}

.billing-history-section {
  margin-top: 3em;
  margin-bottom: 6em;
}

.billing-history-section h2 {
  text-align: center;
  font-size: 1.8em;
}

.charges {
	counter-reset: payment;
  margin: 2em auto;
  width: 50%;
}

tr.charges-initial-row td {
  font-weight: bold;
  padding-left: 7px;
}

.charge::before {
	counter-increment: payment;
	content: counter(payment) ".\00a0";
  position: relative;
  top: 10px;
  font-weight: bold;
  padding-left: 5px;
}

.charge:nth-child(even) {
  background-color: #f5f5f5;
}

.charge > td {
  padding: 10px 5px;
}

.status {
	text-transform: capitalize;
	color: red;
}

.status.paid {
	color: green;
}

.amount::before {
	content: '$';
}
.consumption-container {
  background-color: rgb(245, 245, 248);
  margin: 25px 0;
  padding: 2em;
}
.consumption {
  width: 100%;
  /*margin-top: 2em;*/
  /*margin-bottom: 1em;*/
}

.chart-range {
  background-color: transparent;
  border-color: #ccc;
  /*margin: 0 7px;*/
  border-radius: 3px;
}

.chart-range:focus {
  outline: 0;
}

.chart-range:hover{
  /*color: #40c4ff;*/
  background-color: #efefef;
}

.chart-range-current {
  background-color: #4c4c4c;
  color: #fff;
}

.chart-range-current:hover {
  background-color: #4c4c4c;
  color: #fff;
  cursor: text;
}

.chart-ranges {
  text-align: center;
}

.chart-js-container {
  padding: 0 100px;
}

.chartjs-hidden-iframe {
  position: inherit !important;
}

.consumption .billable {
  background-color: #F5F5F8;
}

.consumption .title {
	text-align: right;
  font-weight: bold;
}

.consumption .count {
  text-align: right;
  padding-right: 0.25em;
}
.consumption .unit {
  text-align: left;
}
button.reset-key {
  margin-top: 0;
}

.secret-key {
  text-align: center;
}

/* End dashboard */

/* API Docs */
.doc-body-bottom {
  margin-bottom: 50px;
}

.box ul {
  padding-left: 25px;
}

.box .doc-nav, .box .doc-nav-secondary {
  padding-left: 0;
  /*font-weight: 400;*/
}

.doc-nav {
  margin: 1.5rem 0;
  list-style-type: none;
}

.doc-nav li {
  font-weight: 400;
}

.doc-nav li a {
  color: #333;
  display: block;
  padding: 7px 0;
  padding-left: 10px;
  margin: 6px 0;
}

.doc-nav > li > a:hover {
  /*color: #7d7d7d;*/
  background-color: #F5F5F5;
}

.doc-nav li ul {
  list-style-type: none;
}

.doc-nav li ul li {
  font-weight: 300;
  background-color: #fff;
  margin: 0;
}

.doc-nav li ul li a {
  background-color: #fff;
  padding: 0;
}

.doc-nav li ul li a:hover {
  text-decoration: underline;
}

.doc-nav-secondary {
  list-style-type: none;
  /*margin-left: 25px;*/
  padding-top: 10px;
  padding-left: 0;
  border-top: 1px solid #D6D6D6;
}

.doc-nav-secondary li {
  margin: 10px 0;
}

.doc-nav-secondary li a {
  display: block;
  color: #333;
  padding-left: 10px;
}

.doc-nav-secondary li a:hover {
  color: #7d7d7d;
}

.current-doc-tab-background {
  background-color: #F0F0F2 !important;
}

.current-doc-tab-underline {
  text-decoration: underline;
}

.parameters, .parameter, .fields, .field {
  margin: 0;
  padding: 0;
  list-style: none;
}

.parameter, .field {
  padding: 0;
}

.parameter .optional {
  color: #8899A6;
}

.parameter .optional code {
  color: black;
}

.parameter .deprecated, .errors {
  color: #960000;
}

.field .type {
  color: #8899A6;
  padding-left: 8px;
}

.parameter .name, .field .name {
  font-weight: bold;
  font-size: 1.1rem;
}

.parameter .description, .field .description {
  margin: 0 0 1.5rem;
}

.parameter .description ul {
  list-style-type: disc;
}

.parameter .description ul ul {
  list-style-type: circle;
}

.parameter .description p:first-child {
  margin-top: 0;
}

.warning {
  font-style: italic;
}

.units dt, .units dd {
  display: inline;
}
.units dt::after {
	content: ":";
}
.units dd:after {
  content: '\A';
  white-space: pre;
}

.units .units {
  padding-left: 40px;
}
.units .units dt::before {
  content: '\2022';
  margin-right: 0.5em;
  float: left;
}

.query.parameter .example::before {
  content: "Example usage: ";
  font-weight: 400;
}

.change time::after {
	content: ": ";
	font-weight: bold;
}

.change time {
	font-weight: bold;
}

.change p {
	display: inline;
}

.edit::before {
	content: "Edit ";
	font-weight: bold;
}
.edit time {
	font-weight: bold;
}

.field .only {
	font-style: italic;
}
.field .only::before {
	content: "Only in ";
}

.field .only::after {
	content: " data points.";
}

.field .example {
  display: block;
}

/* Edit Profile Page */
.edit-profile-section {
  margin-bottom: 150px;
  width: 70%;
}

.edit-profile-section form {
  /*width: 70%;*/
  /*min-width: 500px;*/
  margin: 0 auto;
}

.edit-profile-section h1 {
  font-size: 2.5em;
  margin: 1em 0;
  text-align: center;
}

.edit-profile-section h2 {
  font-size: 1.7em;
}

/* Billing Section */
.edit-account-settings-section {
  margin: 75px 0;
}

.expir-date-container div.form-field select {
  background-color: #FFF;
}

.cvc-container span.input-label {
  width: 40px;
}

.cvc-container input {
  text-align: center;
}

.billing-address-line-2 input {
  width: calc(100% - 1rem);
}

/* Register email sections */
.confirmation-sent-container {
  /*margin-left: 15px;*/
  text-align: center;
}

form {
  margin: 1.5rem 0;
}

form p {
  text-align: center;
}

.full {
  width: calc(100% - 1rem);
}

.half {
  width: calc(50% - 2rem);
}

.form-field {
  margin: 1.5rem 0 0;
}

.form-last {
  margin: 1.5rem 0;
}

.attribution-dark {
  background: #333;
}

.attribution-two-line {
  margin-right: 3em;
}

.attribution-one-line {
  margin-left: 2em;
}

.faq-question {
  color: #333;
  padding-right: 1.25em;
}

.faq-question:hover {
  background-image: url("/dev/img/link-icon.png");
  background-position-x: right;
  background-repeat: no-repeat;
  background-size: 16px;
}