body {
    box-sizing: border-box;
    min-width: 320px;
}

body .swagger-section .swagger-ui-wrap {
    min-width: auto !important;
    max-width: auto !important;
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

.swagger-section .swagger-ui-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    max-width: 100%;
    min-width: auto;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.swagger-section .swagger-ui-wrap .info {
    width: 100%;
    max-width: 960px;
    padding: 1.5rem;
}

.swagger-section .swagger-ui-wrap .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 960px;
}

.swagger-section .swagger-ui-wrap .container #resources {
    width: 100%;
}

/* END OF BOOTSTRAP OVERRIDES */

/* CUSTOMISED ENDPOINT SECTIONS */

.endpoints {
    min-width: 800px;
}

.swagger-section .swagger-ui-wrap ul#resources li.resource {
    overflow-x: auto;
}

.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.heading h3 span.http_method a {
    padding: 1rem 0;
    letter-spacing: 1px;
    min-width: 6rem;
}

table.fullwidth.parameters th {
    white-space: nowrap;
}


/* TABS WITHIN ENDPOINTS SECTION */
.signature-container .description {
    padding: 0.6em;
    background: rgb(252, 246, 219);
    border: 1px solid #e5e0c6;
}
.swagger-section .swagger-ui-wrap .model-signature pre:hover {
    background: #fcf6db;
}
.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav li {
    position: relative;
    top: 2px;
    float: left;
    margin: 0;
    padding: 0 !important;
    border-right: 0;
    cursor: pointer;
}
.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav a {
    display: inline-block;
    padding: 8px;
    border: 1px solid #e4ddbd;
    border-bottom: 1px solid #e5e0c6;
    background: #efe7c6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}
.swagger-section .swagger-ui-wrap .model-signature ul.signature-nav a.selected {
    background: #fcf6db;
    border: 1px solid #e5e0c6;
    border-bottom: 0 !important;
}

/*
=TYPE SECTION SPECIFIC STYLES
*/

table.enum-type-table {
    table-layout: fixed;
    width: 100%;
}

table.enum-type-table tr {
    display: table-row;
    height: 3rem;
}

table.enum-type-table th {
    padding: 6px;
    background: #f1f1f1;
}
