﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    /* height: 100vh;*/
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Calibri;    
    /* overflow:hidden;*/
}



.bg-grey {
    background-color: #f0f0f0;
}

.nav-link.active{
    font-weight:bold;
    color:#000 !important;
    border-bottom: 2px solid #000;
}

footer {
    /*height: 60px;
    background-color: #f0f0f0;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;*/
    background-color: #f0f0f0;
    padding: 20px;
}

.logo-header {
    height: 50px;
}

/* Layout page */
/* Custom styles based on screenshots */
.api-group-title {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.api-item-table th, .api-item-table td {
    padding: 0.5rem;
    vertical-align: top;
}

    .api-item-table th:first-child, .api-item-table td:first-child {
        width: 30%; /* API Path */
    }

    .api-item-table th:nth-child(2), .api-item-table td:nth-child(2) {
        width: 70%; /* Description */
    }

.api-detail-section {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

    .api-detail-section h5 {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 1.2rem;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

.code-block {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre-wrap; /* Allows wrapping of long lines */
    word-wrap: break-word; /* Breaks long words */
}

.param-table th, .param-table td {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}

.param-table th {
    background-color: #f8f9fa;
}

.request-response-formats span {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 90%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
}
/* End of Layout */
