/* Global */
*, *:after, *:before {
  outline: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  box-sizing: inherit;
}

html, body {
  -webkit-tap-highlight-color: transparent;
  color: #444444;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
  font-weight: 300;
}

@media (max-width: 720px) {
  html, body {
    font-size: 14px;
    line-height: 1.25;
  }
}

/* General */
.link,
.link:visited {
  color: #007FFF;
  text-decoration: none;
}

.link:hover,
.link:active {
  color: #007FFF;
  text-decoration: underline;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.btn {
  color: #444;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f0f0f0;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  padding: 10px 15px;
}

.btn:hover {
  background-color: #e0e0e0;
}

.btn--primary {
  color: #fff;
  border-color: #0084FF;
  background-color: #0084FF;
}

.btn--primary:hover {
  border-color: #007AFF;
  background-color: #007AFF;
}

.btn--primary-alt {
  color: #0084FF;
  border-color: #0084FF;
  background-color: #fcfcfc;
}

.btn--primary-alt:hover {
  color: #fcfcfc;
  border-color: #0084FF;
  background-color: #0084FF;
}

.btn--warning {
  color: #fff;
  border-color: #F25958;
  background-color: #F25958;
}

.btn--warning:hover {
  border-color: #e04342;
  background-color: #e04342;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1170px;
}

.container--small {
  width: 100%;
  margin: 0 auto;
  max-width: 720px;
}

.inline {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.inline-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.inline-space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vertical-align {
  display: flex;
  align-items: center;
}

.center-align {
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-section {
  border-bottom: 1px solid #eaeaea;
  background-color: #fcfcfc;
}

.heading-section > .container {
  padding: 30px;
}

.heading-section__text {
  font-size: 26px;
  font-weight: 300;
  text-align: center;
  margin: 0 auto;
}

.table {
  width: 100%;
}

.table a,
.table a:visited {
  color: #007CFF;
  text-decoration: none;
  display: block;
  max-width: 500px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.table a:hover,
.table a:active {
  color: #007CFF;
  text-decoration: underline;
}

.table td,
.table th {
  text-align: left;
  padding: 10px;
  vertical-align: middle;
}

.table th {
  font-size: 14px;
  font-weight: 600;
}

.table td {
  font-size: 15px;
}

.table td > img {
  vertical-align: middle;
}

.table thead > tr {
  border-bottom: 2px solid #e4e4e4;
}

.table tr {
  border-bottom: 1px solid #e4e4e4;
}

.table tbody > tr:nth-child(odd) {
  background-color: #fafafa;
}

.table tbody > tr:hover {
  background-color: #f5f5f5;
}

.table tbody > tr:last-child {
  border-bottom: 0 none;
}

.bullet-list {
  margin: 0;
  padding: 10px 60px;
}

.bullet-list > li {
  font-size: 16px;
  margin-bottom: 10px;
}

.bullet-list > li:last-child {
  margin-bottom: 0;
}

.highlight pre {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fafafa;
  color: #444;
  font-size: 13px;
  font-family: 'Andale Mono', AndaleMono, monospace;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.42857143;
  margin: 0;
  display: block;
  padding: 10px;
  overflow: auto;
}

.hljs,
.highlight code {
  font-family: 'Andale Mono', AndaleMono, monospace;
  width: 100%;
  display: block;
}

.hljs {
  border-radius: 4px;
  font-size: 16px;
  padding: 15px !important;
}

.hljs, .hljs-subst, .hljs-tag .hljs-title, .nginx .hljs-title {
  color: #444459;
}

.inline-code {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fafafa;
  color: #444;
  font-size: 13px;
  font-family: 'Andale Mono', AndaleMono, monospace;
  white-space: nowrap;
  top: -1px;
  padding: 3px 6px;
  position: relative;
}

.dropdown-wrapper {
  position: relative;
}

.dropdown {
  z-index: 9999;
  list-style: none;
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
  border-radius: 4px;
  background-color: #ffffff;
  top: 140%;
  right: 0;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  min-width: 150px;
}

.dropdown > .dropdown__item:first-child,
.dropdown > .dropdown__item:first-child .dropdown__item__link {
  border-radius: 4px 4px 0 0;
}

.dropdown > .dropdown__item:last-child,
.dropdown > .dropdown__item:last-child .dropdown__item__link {
  border-radius: 0 0 4px 4px;
}

.dropdown__item__link,
.dropdown__item__link:visited {
  color: #444;
  font-size: 14px;
  text-decoration: none;
  display: block;
  padding: 10px;
}

.dropdown__item__link:hover,
.dropdown__item__link:active {
  background-color: #007AFF;
  color: #fcfcfc;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.dropdown-caret {
  border-top: 5px solid #fcfcfc;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
  display: flex;
  margin-left: 5px;
}

.grey {
  color: #888;
}

.form {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  width: 100%;
  margin: 0 auto;
  max-width: 720px;
}

.form h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 30px;
}

.form p {
  font-size: 16px;
  margin: 0 0 30px;
}

.form p:last-child {
  margin-bottom: 0;
}

.form__title {
  border-bottom: 1px solid #eaeaea;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  padding: 30px;
}

.form__title > small {
  font-size: 14px;
}

.form__alert {
  text-align: center;
}

.form__alert,
.form__footer,
.form__content {
  padding: 30px;
}

.form__content .bullet-list {
  padding: 0 30px;
}

.form__footer {
  border-top: 1px solid #eaeaea;
  border-radius: 0 0 4px 4px;
  background-color: #fafafa;
}

.form__footer > .btn {
  font-size: 16px;
  flex: 1;
  margin-right: 15px;
}

.form__footer > .btn:last-child {
  margin-right: 0;
}

.form__group {
  display: block;
  margin-bottom: 30px;
}

.form__footer .form__group:last-child,
.form__content .form__group:last-child {
  margin-bottom: 0;
}

.form__group > p {
  margin-bottom: 15px;
}

.form__divider {
  border: 0 none;
  border-bottom: 1px solid #eaeaea;
  margin: 30px auto;
}

.label {
  cursor: pointer;
}

.label__text {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.label__info {
  color: #aaaaaa;
  font-size: 13px;
}

.label__error {
  color: #FF9090 !important;
}

.label > .textfield {
  cursor: text;
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

.label.has-error > .textfield {
  border-color: #FF9090;
  background-color: #ffffff;
}

.label-input {
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: row wrap;
}

.label-input > input {
  margin: 5px 10px 0 0;
  flex-shrink: 0;
}

.label-input > small {
  color: #888;
  align-self: flex-end;
  margin-left: 5px;
}

.textfield {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  background-color: #fcfcfc;
  font-size: 16px;
  padding: 10px;
}

.textfield:focus {
  border-color: #d0d0d0;
  background-color: #ffffff;
}

textarea.textfield {
  min-height: 150px;
}

.select {
  cursor: pointer;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  background-color: #fcfcfc;
  background-image: none;
  font-size: 16px;
  height: 44px;
  padding: 10px;
}

.select:focus {
  border-color: #d0d0d0;
}

.label > .select {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

.label.has-error > .select {
  border-color: #FF9090;
  background-color: #ffffff;
}

.pagination {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pagination__link,
.pagination__link:visited {
  color: #007CFF;
  text-decoration: none;
}

.pagination__link:hover,
.pagination__link:active {
  color: #007CFF;
  text-decoration: underline;
}

.pagination__link--prev {
  margin-right: 10px;
}

.pagination__link--next {
  margin-left: 10px;
}

.alert {
  cursor: pointer;
  text-align: center;
  padding: 30px;
  position: relative;
}

.alert a {
  color: #fff;
}

.alert--success {
  color: #fcfcfc;
  background-color: #40CD91;
}

.alert--error {
  color: #fcfcfc;
  background-color: #F25958;
}

.alert--danger {
  color: #555;
  background-color: #F8DB5F;
}

.alert--info {
  color: #555;
  background-color: #f0f0f0;
}

.alert--info [data-action="closeAlert"] {
  color: #555;
}

.alert--danger [data-action="closeAlert"] {
  color: #555;
}

[data-action="closeAlert"] {
  color: #fff;
  border-color: transparent;
  background-color: transparent;
  font-size: 32px;
  top: 20px;
  right: 20px;
  padding: 0 15px;
  position: absolute;
}

[data-action="closeAlert"]:hover,
[data-action="closeAlert"]:active,
[data-action="closeAlert"]:visited {
  border-color: transparent;
  background-color: transparent;
}

.progress {
  background-color: #eee;
  height: 6px;
  overflow: hidden;
}

.progress__bar {
  background-color: #007AFF;
  height: 6px;
  max-width: 100%;
}

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.breadcrumb__item {
  cursor: default;
  font-size: 14px;
  margin-right: 15px;
}

.breadcrumb__item:after {
  content: "\203A";
  margin-left: 15px;
}

.breadcrumb__item > .link {
  cursor: pointer;
}

.breadcrumb .breadcrumb__item:last-child {
  margin-right: 0;
}

.breadcrumb .breadcrumb__item:last-child:after {
  content: "";
  margin-left: 0;
}

.modal {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: none;
  outline: 0;
  overflow: hidden;
  position: fixed;
  -webkit-overflow-scrolling: touch;
}

.modal .modal-title {
  margin: 0;
}

.text-only {
  padding: 30px;
  min-height: 60vh;
}

.text-only > h3 {
  font-size: 24px;
  margin: 0 0 30px;
}

.text-only > p {
  font-size: 16px;
  margin: 0 0 15px;
}

.text-only > p:last-child {
  margin: 0;
}


@media (max-width: 720px) {
  .heading-section > .container {
    padding: 5%;
  }

  .heading-section__text {
    font-size: 22px;
    line-height: 32px;
  }

  .table-wrapper {
    width: 100%;
    overflow-x: scroll;
  }

  .table th,
  .table td {
    font-size: 13px;
    width: auto !important;
    padding: 5%;
  }
}

/* Header */
.header {
  background: #1e5799;
  background: -moz-linear-gradient(left,  #007EFF 0%, #62AEFF 100%);
  background: -webkit-linear-gradient(left,  #007EFF 0%,#62AEFF 100%);
  background: linear-gradient(to right,  #007EFF 0%,#62AEFF 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007EFF', endColorstr='#62AEFF',GradientType=1);
}

.header > .container {
  padding: 30px;
}

.header__navigation__link,
.header__navigation__link:visited {
  color: #fcfcfc;
  font-size: 16px;
  text-decoration: none;
}

.header__navigation__link:hover,
.header__navigation__link:active,
.header__navigation__link--active {
  text-decoration: underline;
}

.header__navigation__link[data-action="signin"],
.header__navigation__link[data-action="signin"]:visited {
  background-color: rgba(0, 0, 0, 0.09);
  border-radius: 3px;
  padding: 8px 15px;
}

.header__navigation__link[data-action="signin"]:hover,
.header__navigation__link[data-action="signin"]:active {
  background-color: rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

@media (max-width: 720px) {
  .header__navigation {
    flex-wrap: wrap;
  }
}

@media (max-width: 320px) {
  .header__navigation__link[data-action="signin"],
  .header__navigation__link[data-action="signin"]:visited {
    display: block;
    margin-top: 15px;
  }
}

/* Footer */
.footer > .container {
  border-top: 1px solid #F3F3F3;
  padding: 30px;
}

.footer__navigation__link,
.footer__navigation__link:visited {
  color: #999999;
  font-size: 14px;
  text-decoration: none;
}

.footer__navigation__link:hover,
.footer__navigation__link:active,
.footer__navigation__link--active {
  text-decoration: underline;
}

.footer__logo {
  color: #999999;
  font-size: 14px;
}

.footer__logo__link {
  margin-left: 10px;
}

/* Header/Footer Navigation */
.header__navigation__item,
.footer__navigation__item {
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.header__navigation__item:first-child,
.footer__navigation__item:first-child {
  padding-left: 0;
}

.header__navigation__item:last-child,
.footer__navigation__item:last-child {
  padding-right: 0;
}

@media (max-width: 720px) {
  .header > .container {
    padding: 5%;
    flex-direction: column;
  }

  .header__logo {
    margin-bottom: 5%;
  }

  .header__logo__img {
    width: 100%;
    height: auto;
    max-width: 185px;
  }

  .header__navigation__link {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .footer > .container {
    padding: 5%;
    flex-direction: column;
  }

  .footer__navigation {
    margin-bottom: 5%;
  }

  .footer__navigation__item {
    text-align: center;
  }
}

/* User */
.user__avatar {
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
}

/* Apps */
.applications-list-empty {
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  padding:30px;
}

.apps {
  margin-bottom: 15px;
}

.apps__header {
  border-bottom: 1px solid #eaeaea;
  padding: 30px;
  margin-bottom: 30px;
}

.apps__header__title {
  margin: 0;
}

.apps__header__title > small {
  font-size: 18px;
  font-weight: 600;
}

.apps__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* App Card */
.app-card {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  width: calc(100% / 3 - 20px);
  position: relative;
  margin-right: 20px;
  margin-bottom: 20px;
}

.apps__content > .app-card:nth-child(3n) {
  margin-right: 0;
}

.app-card__info {
  padding: 15px;
}

.app-card__platforms {
  top: 10px;
  right: 10px;
  height: 15px;
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: space-around;
}

.app-card__platform {
  margin-left: 5px;
}

.app-card__platforms > .app-card__platform:first-child {
  margin-left: 0;
}

.app-card__name {
  color: #0080FF;
  font-size: 32px;
  text-align: center;
  font-weight: 300;
  text-decoration: none;
  margin: 0 auto 10px;
  display: block;
}

.app-card__name > small {
  font-size: 16px;
  vertical-align: middle;
}

.app-card__owner {
  margin-bottom: 10px;
}

.app-card__usage {
  margin-bottom: 13px;
}

.app-card__owner,
.app-card__usage,
.app-card__api-key {
  font-size: 14px;
  text-align: center;
}

.app-card__actions {
  border-top: 1px solid #eaeaea;
  border-radius: 0 0 4px 4px;
  background-color: #fafafa;
  padding: 15px;
}

.app-card__actions > .btn {
  width: calc(100% / 2 - 10px);
}

/* Apps Nav */
.apps__nav__link {
  color: #555;
  border-radius: 4px;
  background-color: transparent;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 15px 11px;
}

.apps__nav__link:hover {
  color: #0080FF;
}

.apps__nav__link.active {
  color: #ffffff;
  background-color: #0080FF;
  text-decoration: none;
}

.apps__nav > .apps__nav__link:first-child {
  margin-left: 0;
}

/* Apps Update */
.apps-update__form {
  margin-bottom: 30px;
}

/* Apps Activity */
.apps-history,
.apps-delete__content,
.apps-actvity__content,
.apps-storage__content {
  padding: 0 30px 30px;
}

.apps-actvity__content__title,
.apps-storage__content__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 30px;
}

.apps-actvity__content__subheader {
  margin-bottom: 30px;
}

.apps-actvity__content__subheader__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.apps-actvity .pagination {
  margin-top: 30px;
}

.apps-actvity__content pre {
  margin: -25px 0 0;
}

/* Getting Started */
.getting-started {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  padding: 30px;
}

.getting-started__title {
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin: 0 auto 30px;
}

.getting-started__step {
  display: flex;
  padding: 30px;
  align-items: center;
  justify-content: flex-start;
}

.getting-started__step > img {
  flex-shrink: 0;
  margin-right: 30px;
}

.getting-started__sub-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 15px;
}

/* Apps Account */
.apps-account {
  padding: 0 30px;
}

.apps-account__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 30px;
}

.apps-account .form {
  margin: 30px auto;
}

[data-action="viewPaymentHistory"],
[data-action="cancelSubscriptionBack"] {
  margin-right: 15px;
}

/* Apps Change Card */
.apps-change-card {
  padding: 0 30px;
}

.apps-change-card .form {
  margin: 30px auto;
}

/* Apps Cancel Subscription */
.apps-cancel-subscription .form {
  margin: 30px auto;
}

/* User Email */
.user-email .form {
  margin: 30px auto;
}

.user-email__change-form .btn {
  flex: 1;
  margin-right: 15px;
}

.user-email__change-form .btn:last-child {
  margin-right: 0;
}

/* User Confirm Email */
.user-email__confirm-form .form__content p {
  margin: 0;
}

.user-email__confirm-form .btn {
  flex: 1;
  margin: 0;
}

/* User Password */
.user-password .form {
  margin: 30px auto;
}

/* Auth */
.user-auth .form {
  margin: 30px auto;
}

.inline-block {
  display: inline-block;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

@-webkit-keyframes spinner {
  to {-webkit-transform: rotate(360deg);}
}

.spinner {
  min-width: 16px;
  min-height: 16px;
}

.spinner:before {
  content: 'Loading...';
  position: absolute;
  width: 16px;
  height: 16px;
}

.spinner:not(:required):before {
  content: '';
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .3);
  border-top-color: rgba(0, 0, 0, .6);
  animation: spinner .6s linear infinite;
  -webkit-animation: spinner .6s linear infinite;
}

.apps-activity__filter {
  display: inline-block;
  position: relative;
}

.apps-activity__filter__select {
  /* display: block; */

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* width: 100%; */
  border: 0;
  border-bottom: 1px solid #dae1e7;
  border-radius: 0;
  padding: 0 20px 0 2px;
  font-size: 18px;
}

.apps-activity__filter__arrow {
  color: #606f7b;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 0 2px 0 2px;
}

.apps-activity__filter__arrow svg {
  width: 1rem;
  fill: currentColor;
  height: 1rem;
}
