/**
 * This file Copyright (c) 2021 Magnolia International
 * Ltd.  (http://www.magnolia-cms.com). All rights reserved.
 *
 *
 * This program and the accompanying materials are made
 * available under the terms of the Magnolia Network Agreement
 * which accompanies this distribution, and is available at
 * http://www.magnolia-cms.com/mna.html
 *
 * Any modifications to this file must keep this entire header
 * intact.
 *
 */

/* Magnolia font faces */
@font-face {
    font-family: "Roboto";
    src: url('./fonts/roboto/light/Roboto-Light.woff2') format("woff2"), url('./fonts/roboto/light/Roboto-Light.woff') format("woff");
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url('./fonts/roboto/regular/Roboto-Regular.woff2') format("woff2"), url('./fonts/roboto/regular/Roboto-Regular.woff') format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url('./fonts/roboto/bold/Roboto-Bold.woff2') format("woff2"), url('./fonts/roboto/bold/Roboto-Bold.woff') format("woff");
    font-weight: 700;
}

/* Overriding default font-family */
.swagger-ui .opblock-tag {
  font-size: 26px;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  letter-spacing: -0.6px;
  color: #232323;
  border-bottom: none;
  margin-top: 20px;
}

.swagger-ui .opblock .opblock-summary-method,
.swagger-ui .parameter__name.required::after,
.swagger-ui button, .swagger-ui input, .swagger-ui optgroup, .swagger-ui select, .swagger-ui textarea,
.swagger-ui select,
.swagger-ui, .swagger-ui .info, .swagger-ui .info .title, .swagger-ui .info b, .swagger-ui .info strong, .swagger-ui .info .model-signature, .swagger-ui .info h1, .swagger-ui .info form.formtastic fieldset.inputs ol li.text textarea, .swagger-ui .info ul#resources, .swagger-ui .info ul#resources li.resource div.heading h2, .swagger-ui .info p#colophon, .swagger-ui .info .error, .swagger-ui .info .errors__title, .swagger-ui .info .markdown ol, .swagger-ui .info .markdown ul, .swagger-ui .btn, .swagger-ui .opblock-tag, .swagger-ui .opblock .opblock-summary-method, .swagger-ui .opblock .opblock-section-header h4, .swagger-ui .opblock .opblock-section-header > label, .swagger-ui .opblock-description-wrapper p, .swagger-ui .opblock-external-docs-wrapper p, .swagger-ui .opblock-title_normal p, .swagger-ui .response-col_status, .swagger-ui table thead tr td, .swagger-ui table thead tr th, .swagger-ui section.models h4, .swagger-ui .model-title,
.swagger-ui .tab li {
  font-family: Roboto, sans-serif;
}

.swagger-ui,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui .btn,
.swagger-ui table thead tr td, .swagger-ui table thead tr th,
.swagger-ui .parameter__name,
.swagger-ui .response-col_status,
.swagger-ui .response-col_links {
  font-family: Roboto, sans-serif;
  color: #232323;
}

.swagger-ui .opblock .opblock-section-header h4 {
  font-size: 18px;
  letter-spacing: -0.4px;
}

.swagger-ui .opblock .opblock-section-header {
  box-shadow: none;
}

.swagger-ui .response-col_description {
  font-size: 14px;
}

.swagger-ui .opblock {
  border-color: #dbdbdb !important;
  box-shadow: none;
  background: none !important;
  margin: 0 0 -1px;
  border-radius: 0;
}

.swagger-ui .operation-tag-content > span:first-child .opblock {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.swagger-ui .operation-tag-content > span:last-child .opblock {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.swagger-ui .opblock.is-open .opblock-summary {
  border-bottom: none;
}

.swagger-ui .opblock .opblock-summary-path {
  color: #232323;
}

.swagger-ui .opblock .opblock-summary-path__deprecated {
  color: #383838;
}

.swagger-ui section.models,
.swagger-ui section.models.is-open h4 {
  border-color: #dbdbdb;
}