@font-face {
  font-family: 'Roboto-Condensed';
  font-weight: 400;
  font-style: normal;

  src: local('Roboto-Condensed Regular'), local('Roboto-Condensed-Regular'), url('../fonts/Roboto-Condensed/Roboto-Condensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Condensed-Bold';

  src: local('Roboto-Condensed Bold'), local('Roboto-Condensed-Bold'), url('../fonts/Roboto-Condensed/Roboto-Condensed-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Mono';
  font-weight: 400;
  font-style: normal;

  src: local('RobotoMono Regular'), local('RobotoMono-Regular'), url('../fonts/Roboto-Mono/RobotoMono-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Medium';

  src: local('RobotoMono Medium'), local('RobotoMono-Medium'), url('../fonts/Roboto-Mono/RobotoMono-Medium.ttf') format('truetype');
}


/* ------------------------------------------------------------------------------------------
 * Content
 * ------------------------------------------------------------------------------------------ */

.nicescroll-rails-hr {
  margin-left: 2px !important;
}

*:focus, *:active {
  outline: none !important;
}

body, p, a, div, th, td {
  font-family: 'Roboto-Condensed', monospace, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

td.code {
  font-family: 'Roboto-Mono';
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  
  vertical-align: middle !important;
}

.form-group input {
  font-family: 'Roboto-Medium', monospace, sans-serif;
  font-size: 13px;
}

#content {
  padding-top: 16px;
}

p {
  margin: 0;

  color: #555;
}

h1 {
  font-family: 'Roboto-Condensed-Bold', sans-serif;
  font-size: 44px;
  font-weight: normal;
  line-height: 50px;

  margin: 0 0 10px 0;
  padding: 0;
}

h2 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 40px;

  margin: 0 0 20px 0;
  padding: 0;
}

section {
  padding: 10px 0;

  border-top: 1px solid #ebebeb;
}

section#api-Messages .button-filter-compose {
  display: none;
}

section h1 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;

  margin: 0 0 20px 0;
  padding: 0;
  padding-bottom: 14px;
}

article {
  padding: 14px 0 30px 0;
}

article h1 {
  font-family: 'Roboto-Condensed Bold', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 26px;
}

article h2 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;

  margin: 0 0 10px 0;
}

article h3 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;

  margin: 0 0 10px 0;
}

article h4 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;

  margin: 0 0 8px 0;
}

table {
  width: 100%;
  margin: 0 0 20px 0;

  border-collapse: collapse;

  border-top: 1px solid #ddd;
}

th {
  font-family: 'Roboto-Condensed', sans-serif;
  font-weight: 700;

  padding: 4px 8px;

  text-align: left;

  border: #e0e0e0 1px solid;
  background-color: #f5f5f5;
}

td {
  padding: 2px 8px;

  vertical-align: middle;
  word-break: break-word;

  border: #e0e0e0 1px solid;
}

#generator .content {
  padding: 10px 0;

  color: #b0b0b0;
  border-top: 1px solid #ebebeb;
}

.label-optional {
  float: right;
}

.open-left {
  right: 0;
  left: auto;
}

.btn .glyphicon {
  top: 2px;
  left: -3px;
}

.btn, .query-builder, .rules-group-container, .input-group-addon, .form-control, .rule-container, .rule-container {
  border-radius: 0;
}

.query-builder .rule-value-container {
  padding-left: 8px;
}

input.form-control {
  padding: 0 10px !important;
}

.label {
  font-size: 90%;
  font-weight: normal;

  border-radius: .15em;
}

.btn:focus, .btn:active {
  border-color: transparent;
  outline: none;
  outline-offset: 0;
}


/* ------------------------------------------------------------------------------------------
 * apidoc - intro
 * ------------------------------------------------------------------------------------------ */

#apidoc .apidoc {
  padding: 30px 0;

  border-top: 1px solid #ebebeb;
}

#apidoc h1 {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;

  margin: 0 0 20px 0;
  padding: 0;
  padding-bottom: 14px;
}

#apidoc h2 {
  font-family: 'Roboto-Condensed Bold', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;

  padding-top: 14px;
}


/* ------------------------------------------------------------------------------------------
 * pre / code
 * ------------------------------------------------------------------------------------------ */

pre {
  position: relative;

  margin: -1px 0 8px 0;
  padding: 10px;

  color: #fff;
  border-radius: 0;
  background-color: #263238;
}

code.language-text {
  word-wrap: break-word;
}

pre.language-json {
  overflow: auto;
}

pre.language-html {
  margin: 20px 0 20px 0;
}

pre.language-html:before {
  font-family: 'Roboto-Condensed', monospace, sans-serif;
  font-size: 15px;
  font-weight: 600;

  position: absolute;
  top: -30px;
  left: 0;

  display: inline-block;

  padding: 2px 5px;

  content: attr(data-type);
  text-transform: uppercase;

  color: #fff;
  border-radius: 0;
  background-color: #3387cc;
}

pre.language-html[data-type='get']:before, .sidenav > li:not(.nav-header) > a[data-type='get']:after {
  background-color: green;
}

pre.language-html[data-type='put']:before, .sidenav > li:not(.nav-header) > a[data-type='put']:after {
  background-color: #e5c500;
}

pre.language-html[data-type='post']:before, .sidenav > li:not(.nav-header) > a[data-type='post']:after {
  background-color: #4070ec;
}

pre.language-html[data-type='delete']:before, .sidenav > li:not(.nav-header) > a[data-type='delete']:after {
  background-color: #ed0039;
}

pre.language-html[data-type='graphql']:before, .sidenav > li:not(.nav-header) > a[data-type='graphql']:after {
  background-color: #e10098;
}

pre.language-api .str {
  color: #fff;
}

pre.language-api .pln, pre.language-api .pun {
  color: #65b042;
}

pre code {
  font-family: 'Roboto-Mono';
  font-size: 13px;
  font-weight: 400;
  font-style: normal;

  display: block;

  white-space: pre;
  word-wrap: normal;
}

pre code.sample-request-response-json {
  overflow: auto;

  max-height: 500px;

  white-space: pre-wrap;
}

/* ------------------------------------------------------------------------------------------
 * GraphQL editor
 * ------------------------------------------------------------------------------------------ */

.dashboardGraphQL {
  margin: 0;
  height: 500px;
  width: 100%;
  border: 1px solid #ccc;
}

/* ------------------------------------------------------------------------------------------
 * Categories
 * ------------------------------------------------------------------------------------------ */

[data-category] {
  margin-top: 10px;
}

[data-category]::before {
  content: attr(data-category);
  font-size: 18px;
  font-weight: 600;
  margin-left: 6px;
}

.empty-category {
  margin-top: 10px;
}

/* ------------------------------------------------------------------------------------------
 * Sidenav
 * ------------------------------------------------------------------------------------------ */

.sidenav {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;

  overflow-x: hidden;
  overflow-y: auto;

  margin: 0;
  padding: 20px;

  background-color: #f5f5f5;
}

.sidenav > li > a {
  font-family: 'Roboto-Condensed', monospace, sans-serif;
  font-size: 14px;
  font-weight: 400;

  display: block;

  margin: 0;
  padding: 2px 11px;

  border: 0;
  border-right: transparent 4px solid;
  border-left: #337ab7 4px solid;
}

.sidenav > li.nav-header > a {
  font-family: 'Roboto-Condensed', monospace, sans-serif;
  font-size: 16px;
  font-weight: 700;

  padding: 5px 15px;

  border: 1px solid #e5e5e5;
  background-color: white;
}

.sidenav > li a {
  border-left: #e4e4e4 4px solid;
}

.sidenav > li.is-new a {
  border-left: #e4e4e4 4px solid;
}

.sidenav > li.active a {
  position: relative;
  z-index: 2;

  border-left: #337ab7 4px solid;
  background-color: white;
}

.sidenav > li > a:hover {
  background-color: white;
}

.sidenav > li.has-modifications a {
  border-right: #60d060 4px solid;
}

.sidenav > li.nav-header > a {
  border-left: #e4e4e4 4px solid;
}

.sidenav > li.nav-header.active > a {
  color: white;
  background-color: #08c;
}

.sidenav > li:not(.nav-header) {
  counter-increment: list-counter;
}

.sidenav > li.nav-header {
  counter-reset: list-counter;
}

.sidenav > li:not(.nav-header) > a:after {
  font-family: 'Roboto-Condensed', sans-serif;
  font-size: 11px;
  font-weight: 100;

  position: absolute;
  right: 0;

  display: inline-block;

  width: 50px;
  margin: 2px 2px;
  padding: 1px 2px;

  content: attr(data-type);
  text-align: center;
  text-transform: uppercase;

  color: #fff;
  border-radius: .15em;
  background-color: #3387cc;
}


/* ------------------------------------------------------------------------------------------
 * Compare
 * ------------------------------------------------------------------------------------------ */

ins {
  text-decoration: none;

  color: #000;
  background: #60d060;
}

del {
  color: #000;
  background: #f05050;
}

.label-ins {
  background-color: #60d060;
}

.label-del {
  text-decoration: line-through;

  background-color: #f05050;
}

pre.ins {
  background-color: #60d060;
}

pre.del {
  text-decoration: line-through;

  background-color: #f05050;
}

table.ins th, table.ins td {
  background-color: #60d060;
}

table.del th, table.del td {
  text-decoration: line-through;

  background-color: #f05050;
}

tr.ins td {
  background-color: #60d060;
}

tr.del td {
  text-decoration: line-through;

  background-color: #f05050;
}


/* ------------------------------------------------------------------------------------------
 * Spinner
 * ------------------------------------------------------------------------------------------ */

#loader {
  position: absolute;

  width: 100%;
}

#loader p {
  margin-left: -4px;
  padding-top: 80px;
}

.spinner {
  position: relative;

  width: 60px;
  height: 60px;
  margin: 200px auto;
}

.container1 > div, .container2 > div, .container3 > div {
  position: absolute;

  width: 14px;
  height: 14px;

  -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
          animation: bouncedelay 1.2s infinite ease-in-out;

  border-radius: 100%;
  background-color: #08c;
  /* Prevent first frame from flickering when animation starts */

  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.spinner .spinner-container {
  position: absolute;

  width: 100%;
  height: 100%;
}

.container2 {
  -webkit-transform: rotateZ(45deg);
          transform: rotateZ(45deg);
}

.container3 {
  -webkit-transform: rotateZ(90deg);
          transform: rotateZ(90deg);
}

.circle1 {
  top: 0;
  left: 0;
}

.circle2 {
  top: 0;
  right: 0;
}

.circle3 {
  right: 0;
  bottom: 0;
}

.circle4 {
  bottom: 0;
  left: 0;
}

.container2 .circle1 {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}

.container3 .circle1 {
  -webkit-animation-delay: -1.0s;
          animation-delay: -1.0s;
}

.container1 .circle2 {
  -webkit-animation-delay: -.9s;
          animation-delay: -.9s;
}

.container2 .circle2 {
  -webkit-animation-delay: -.8s;
          animation-delay: -.8s;
}

.container3 .circle2 {
  -webkit-animation-delay: -.7s;
          animation-delay: -.7s;
}

.container1 .circle3 {
  -webkit-animation-delay: -.6s;
          animation-delay: -.6s;
}

.container2 .circle3 {
  -webkit-animation-delay: -.5s;
          animation-delay: -.5s;
}

.container3 .circle3 {
  -webkit-animation-delay: -.4s;
          animation-delay: -.4s;
}

.container1 .circle4 {
  -webkit-animation-delay: -.3s;
          animation-delay: -.3s;
}

.container2 .circle4 {
  -webkit-animation-delay: -.2s;
          animation-delay: -.2s;
}

.container3 .circle4 {
  -webkit-animation-delay: -.1s;
          animation-delay: -.1s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(.0);
  }
  40% {
    -webkit-transform: scale(1.0);
  }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(.0);
            transform: scale(.0);
  }
  40% {
    -webkit-transform: scale(1.0);
            transform: scale(1.0);
  }
}

/* ------------------------------------------------------------------------------------------
 * Tabs
 * ------------------------------------------------------------------------------------------ */

ul.nav-tabs {
  margin: 0;
}

.nav-tabs > li > a {
  border-radius: 0;
}

.nav-tabs > li > a:hover {
  border-color: transparent;
}

[data-group='_footer'] {
  display: none !important;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-fileContent"],
label[for="sample-request-param-field-fileContent"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-metadata.id"],
label[for="sample-request-param-field-metadata.id"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-metadata.name"],
label[for="sample-request-param-field-metadata.name"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-metadata.value"],
label[for="sample-request-param-field-metadata.value"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-annotations.title"],
label[for="sample-request-param-field-annotations.title"] + div,
label[for="sample-request-param-field-annotations.type"],
label[for="sample-request-param-field-annotations.type"] + div,
label[for="sample-request-param-field-annotations.x"],
label[for="sample-request-param-field-annotations.x"] + div,
label[for="sample-request-param-field-annotations.y"],
label[for="sample-request-param-field-annotations.y"] + div,
label[for="sample-request-param-field-annotations.description"],
label[for="sample-request-param-field-annotations.description"] + div,
#api-Flows label[for="sample-request-header-field-Content-type"],
#api-Flows label[for="sample-request-header-field-Content-type"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
#api-Flows-SetFlowData label[for="sample-request-param-field-data"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data"] + div,
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.x"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.x"] + div,
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.y"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.y"] + div,
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.description"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.description"] + div,
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.title"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.title"] + div,
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.type"],
#api-Flows-SetFlowData label[for="sample-request-param-field-data.annotations.type"] + div {
  display: none;
}

/* We hide couple of fields for all request, because not needed to fill them*/
label[for="sample-request-param-field-annotation.title"],
label[for="sample-request-param-field-annotation.title"] + div,
label[for="sample-request-param-field-annotation.type"],
label[for="sample-request-param-field-annotation.type"] + div,
label[for="sample-request-param-field-annotation.x"],
label[for="sample-request-param-field-annotation.x"] + div,
label[for="sample-request-param-field-annotation.y"],
label[for="sample-request-param-field-annotation.y"] + div,
label[for="sample-request-param-field-annotation.description"],
label[for="sample-request-param-field-annotation.description"] + div {
  display: none;
}



/* ------------------------------------------------------------------------------------------
 * Print
 * ------------------------------------------------------------------------------------------ */

@media print {
  #sidenav, #version, #versions, section .version, section .versions {
    display: none;
  }
  #content {
    margin-left: 0;
  }
  a {
    text-decoration: none;

    color: inherit;
  }
  a:after {
    content: ' [' attr(href) '] ';
  }
  p {
    color: #000;
  }
  pre {
    position: relative;

    margin: 10px 0 20px 0;
    padding: 10px;

    color: #000;
    border: #808080 1px solid;
    border-radius: 0;
    background-color: #fff;
  }
}

@media print {
  .hide-print {
    display: none;
  }
}