/* BASE OVERRIDES */
@font-face {
  font-family: "Helvetica";
  src: url("../fonts/HelveticaNeueRoman.woff") format("woff"),
    url("../fonts/HelveticaNeueRoman.it.woff") format("woff");
}

body {
  font-family: "Helvetica", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Helvetica", sans-serif;
  position: relative;
}

/* Add buffer for nicer anchor links */
.prose h2:first-child {
  padding-top: 20px;
}

.prose h3:first-child {
  padding-top: 20px;
}

/* Header gets big */
@media only screen and (max-width: 960px) {
  .prose h2:first-child {
    padding-top: 60px;
  }

  .prose h3:first-child {
    padding-top: 60px;
  }
}

/* Header gets bigger */
@media only screen and (max-width: 640px) {
  .prose h2:first-child {
    padding-top: 100px;
  }

  .prose h3:first-child {
    padding-top: 100px;
  }
}

/* tables are too giant */
.prose table,
.prose table code {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.5;
}

.prose table th,
.prose table td {
  padding: 5px;
}

.dark.keyline-top,
.dark.keyline-bottom {
  border-color: #313131;
}

html,
body,
#app,
.container {
  height: 100%;
}

body pre {
  padding: 0;
}

/* BASE ADDONS */
.fill-dark2 {
  background-color: #313131;
}
.fill-dark2 .rounded-toggle input[type="radio"]:checked + label,
.fill-dark2 .rounded-toggle .active {
  background-color: #313131;
}
.space-top3 {
  margin-top: 30px;
}
.space-top5 {
  margin-top: 50px;
}
.line-height15 {
  line-height: 15px;
}
.pad00y {
  padding-top: 2px;
  padding-bottom: 2px;
}
.space-bottom00 {
  margin-bottom: 3px;
}

.endpoint {
  width: 100%;
  display: flex;
}

.endpoint-method {
}

.endpoint-url {
  flex-grow: 1;
  word-wrap: break-word;
}

.endpoint-url a {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  font-weight: bold;
  padding: 2px;
  color: #fff;
}

.endpoint-url a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.endpoint-token {
}

a.hljs-linked {
  border-radius: 2px;
  color: #a5c261;
  background: #383c2f;
  padding: 2px;
}

body .prose blockquote {
  padding: 5px 10px;
  background: #232323;
}

.preview {
  background-image: -webkit-linear-gradient(#f1f075, #f1f075);
  background-size: 10px 10px;
  background-repeat: repeat-y;
}

.preview h2::after,
.preview h3::after {
  content: "PREVIEW";
  background-color: #f1f075;
  border-radius: 2px;
  font-size: 9px;
  font-weight: normal;
  padding: 2px 5px;
  color: rgba(0, 0, 0, 0.5);
  margin-left: 10px;
  vertical-align: middle;
}

.selfly-logo {
  background-color: white;
  background-image: url(https://cdn.selflystore.com/images-general/logos/selfly-logo-small.svg);
  background-size: cover;
  width: 32px;
  height: 32px;
}

.fill-dark {
  background-color: #515151;
}

.border-top {
  border-top: 3px solid #118bd6;
}

h1::after,
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background-color: #118bd6;
}

.first-header {
  font-size: 1.2em;
  padding-bottom: 0.3em;
  padding-top: 0.5em;
  color: #515151;
}

.keyline-top {
  border-top: none;
}

.keyline-top:first-child {
  border-top: none;
}
