/*
 * Dataestur look for Swagger UI on the API page (/apidata/, template pageswagger.php).
 * Author: Telefónica
 *
 * Loaded after the vendor swagger-ui.css, which stays as published in
 * swagger-ui-dist so it can be replaced on upgrades. These rules used to live at
 * the top of that file. Some selectors are global on purpose: the page only
 * loads this file there.
 */

/* Hide the API title block, the server/authorize bar and the tag headers. */
.info, .scheme-container, .opblock-tag{
  display: none;
}

#operations-tag-default{
  display: none;
}

.opblock-summary-control:hover, .opblock-summary-control{
  background-color: #EFF7FF !important;
}

.col_header, .header-col{
  background-color: #EFF7FF !important;
}

.parameters-col_name, .parameters-col_description, .response-col_status, .response-col_description{
  padding: 2% !important;
}

.parameters-col_name{
  width: 30% !important;
}

.parameters-col_description, .response-col_description{
  text-align: center !important;
}

.response-col_description a{
  color: blue !important;
  border: 2px solid blue;
  padding: 1%;
}

.response-col_description h5, .response-col_description a{
  margin-bottom: 30px !important;
}

.response-col_description div{
  margin-bottom: 30px !important;
}

.response-col_description a:hover{
  color: red !important;
  text-decoration: underline;
}

.header-col{
  padding: 2% !important;
}

input{
  padding: 10px 0px 10px 10px !important;
  margin: 0px !important;
  width: 100% !important;
  max-width: 1920px !important;
}

.headers th{
  text-align: center !important;
  width: 50px !important;
}

/*
 * Hide the per-operation lock button while no key is set.
 * Swagger UI 5 marks the state on the button's aria-label (3.x used a class).
 */
.swagger-ui .authorization__btn[aria-label="authorization button unlocked"]{
  display: none;
}

/* Larger copy button on the generated curl command. */
.swagger-ui .curl-command .copy-to-clipboard{
  bottom: 8px;
  height: 32px;
  width: 27px;
}
