/* Common: */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}
header {
    padding: 126px 0 100px;
}
.bg-header {
    background: #2e6b5e; /* top header bg color */
}
section {
    padding: 10px 0;
}
h5 {
    padding-left: 10px;
}
h4 {
    margin-top: 30px;
}

div.code {
    border: 1px solid rgb(229, 229, 229);
    background-color: #fafafa;
    width: 100%;
    padding: 20px 120px 20px 20px;
    position: relative;
}
div.code > code {
    color: black;
}
.copy-code-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    color: lightslategray;
    border: 1px solid lightslategray;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}


.hint {
    color: lightslategray;
    font-size: smaller;
    font-style: italic;
}


.params-table {
    border: solid 1px #DDEEEE;
    border-collapse: collapse;
    border-spacing: 0;
    font: normal 13px Arial, sans-serif;
    margin-top: 10px;
}
.params-table thead th {
    background-color: lightgray;
    border: solid 1px #DDEEEE;
    color: black;
    padding: 10px;
    text-align: left;
    text-shadow: 1px 1px 1px #fff;
}
.params-table tbody td {
    border: solid 1px #DDEEEE;
    color: #333;
    padding: 10px;
    text-shadow: 1px 1px 1px #fff;
}



.api-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}
.api-box, .api-box:hover, .api-box:visited {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
}
.api-box > img {
    width: 100%;
    max-height: 150px;
    object-fit: scale-down;
    border-radius: 5px;
    margin-bottom: 10px;
}
.api-box > h2 {
    font-size: 18px;
    margin: 0;
    color: #333;
}
.api-box > p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0;
}



/*custom*/
.information-container, .scheme-container { display: none; } /* Swagger */
.swagger-ui { width: 100%; } /* Swagger */
/* Try it: */
#try-form {
    width: 100%;
}
#try-result {
    margin-top: 15px;
    min-height: 64px;
}
#try-result img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid rgb(229, 229, 229);
    padding: 4px;
    margin-right: 10px;
}
/* JavaScript library demo: */
#js-demo figure {
    width: 25%;
    min-width: 150px;
    text-align: center;
    font-size: 0.85em;
    word-break: break-all;
}
#js-demo img {
    object-fit: contain;
}
#js-demo img.favicon-missing {
    opacity: 0.4;
}
