@import url("https://fonts.googleapis.com/css?family=Raleway:800|Merriweather+Sans|Share+Tech+Mono");

:root {
  --logo-font: "Share Tech Mono", monospace;
  --header-font: "Raleway", sans-serif;
  --core-font: "Merriweather Sans", sans-serif;

  --primary: #ffffff;
  --secondary: #2a3747;

  --highlight: #fa4141;

  --ui-shawdow: 0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 4px 5px 0 rgba(0, 0, 0, 0.06), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
  fill: rgba(0, 0, 0, 0.54);
  --ui-shawdow-border: 1px solid rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}
html {
  position: relative;
  min-height: 100%;
  height: unset;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  padding-bottom: 100px;
  background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  padding: 0;
  margin: 0;
  color: var(--secondary);
}
h1,
h2,
h3 {
  text-transform: uppercase;
}

h1 {
  font-size: 40px;
}
.subheader {
  font-size: 24px;
  color: #f0f0f0;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
.top-bar-container {
  background-color: white;
  border-bottom: 1px solid #dedede;
}

@media (max-width: 768px) {
  .top-bar-container {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  h1 {
    font-size: 30px;
  }
  .subheader {
    font-size: 20px;
    color: #f0f0f0;
  }
  .callout {
    padding: 20px 10px !important;
  }
  .banner-image {
    display: none !important;
  }
  .banner-button {

    margin-top: 20px;
  }
}
.top-bar,
ul.menu {
  background-color: white;
}
.top-bar-right {
  float: right;
}
.top-bar-left {
  float: left;
}
.callout {
  border: none;
}
.callout.primary {
  background-color: #293e4c;
}
.callout h1,
.callout h4 {
  text-align: left;
}
.callout h1 {
  color: white;
}
.callout h4 {
  color: #efefef
}
.banner {
  display: flex;
}
.banner-image {
  display: flex;
  flex: 1;
  justify-content: center;
}
.banner-image img {
  max-height: 400px;  
}
.banner-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
@media (min-width: 960px) {
  .banner-heading {
    margin-left: 50px;
  }
}

.logo img {
  height: 40px;
}
.logo h2 {
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
}

.dashboard-section {
  background-color: white;
  padding: 16px 20px;
  margin: 20px auto;
  box-shadow: 0px 0px 2px #dedede;
}
.dashboard-header {
  display: flex;
  flex-direction: row;
}
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: center;
  }
  .dashboard-header .NavButton {
    margin-top: 30px;
  }
}
.download-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}
@media (max-width: 768px) {
  .download-container {
    margin-top: 20px;
  }
}
.download-container img {
  margin-bottom: 10px;
  max-width: 80px;
  border-radius: 4px;
  border: 1px solid lightgrey;
  padding: 6px;
  box-sizing: content-box;
  box-shadow: 0 0 2px 0px lightgrey;
}
.download-container a {
  text-decoration: underline;
}

.dashboard-section .creds-container {
  flex: 1;
}

.table-message {
    display: none;
}

@media (max-width: 768px) {
  .table-message {
    display: block;
  }
  .table,
  .messages-note {
    display: none;
  }
}
.cred-title {
  display: inline-block;
  min-width: 120px;
  font-weight: 500;
}
.api-detail {
  display: flex;
}
@media (max-width: 768px) {
  .api-detail {
    flex-direction: column;
  }
}
.api-detail > div {
  display: flex;
  margin-bottom: 10px;
}
code {
  border: none;
  padding: 2px 6px;
  background-color: #f5f5f5;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
code.full-width {
  width: 100%;
  padding: 10px;
}
@media (max-width: 1200px) {
  code:not(.full-width) {
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  code:not(.full-width) {
    max-width: 180px;
  }
}

.NavButton {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 55px;
  width: 150px;
  background: var(--highlight);
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-transform: capitalize;
  border-bottom: var(--ui-shawdow-border);
  box-shadow: var(--ui-shawdow);
}

#CreateApiAction {
  display: flex;
  width: 180px;
}
.copy-action {
  outline: none;
  font-size: 12px;
  border: 1px solid #dedede;
  padding: 4px 2px;
  margin: 0 3px;
}
.heading-section {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.table {
  width: 100%;
  margin-top: 20px;
}
.table-header {
  background-color: #efefef;
  border-bottom: 1px solid lightgrey;
}
.table-header span {
  font-weight: 600;
}
.table-row {
  display: grid;
  grid-gap: 10px;
  padding: 6px 10px;
}
.table-row:not(.full-width) {
  grid-template-columns: 1fr 2fr 1fr 0.5fr;
}

.table-row > *:not(:last-child) {
  margin-right: 20px
}
.table-row .message {
  flex: 1
}
.table-row:nth-child(odd) {
  background-color: #f7f7f7;
}
.message-content {
  font-style: italic;
}
.phone {
  font-weight: 600;
}

#load-more {
  display: flex;
  justify-content: center;
  padding: 20px 10px 10px;
  font-size: 18px;
}
button#load-more-action {
  text-decoration: underline;
  font-weight: 600;
  padding: 5px;
}

.footer {
  border-top: 1px solid #efefef;
  background-color: #293e4c;
  color: white;
  padding: 20px;
  height: 80px;
  position: absolute;
  width: 100%;
  bottom: 0;
}
.footer a.disabled,
.footer a.disabled img {
  opacity: 0.4;
}
.footer > .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.footer > .row div {
  flex: 1;
}
.footer div.end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

img.footer-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 4px;
}

.footer .end img {
  margin-right: 0;
  margin-left: 10px;
  background-color: white;
  padding: 4px;
  width: 30px;
  height: 30px;
}
img.footer-icon + span {
  font-weight: 600;
}
.footer a:hover,
.footer a:active {
  text-decoration: underline;
}
.footer a:hover,
.footer a:active,
.footer a:visited {
  color: white;
}

.footer .text-sm {
  display: none;
}
@media (max-width: 768px) {
  .footer .text-lg {
    display: none;
  }
  .footer .text-sm {
    display: initial;
  }
}

.break {
  margin-bottom: 50px;
}
