﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

body {
    font-family: "Inter", sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: white;
}

#sidebar {
    min-width: 70px;
    transition: all .25s ease-in-out;
    background-color: #0e2238;
    display: flex;
    flex-direction: column;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 2rem 1.5rem;
}

    .toggle-btn i {
        font-size: 1.5rem;
        color: #FFF;
    }

.sidebar-logo {
    margin: auto 0;
}

    .sidebar-logo a {
        color: #FFF;
        font-size: 1.15rem;
        font-weight: 600;
    }

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.sidebar-nav {
    padding: 0rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    /*padding: .625rem 1.625rem .625rem 1.625rem;*/
    padding: .625rem 1.625rem .625rem 1.2rem;
    color: black;
    display: block;
    font-size: 14px;
    white-space: normal;
    border-left: 3px solid transparent;
    overflow-wrap: break-word;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown + .sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.submenu {
    display: none;
}

.sidebar:not(.expand) .submenu {
    display: none;
}

.arrow-up {
    display: none;
}

body {
    overflow: hidden;
}


.sidebar-item.expanded .arrow-up {
    display: inline;
}

.sidebar-item.collapsed .arrow-down {
    display: inline;
}

.arrow-down::before {
    content: '\25BE';
    display: inline-block;
    margin-right: 5px;
}

.arrow-up::before {
    content: '\25B4';
    display: inline-block;
    margin-right: 5px;
}

body {
    margin: 0;
    padding: 0;
}

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px;
}

main {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.request, .response {
    flex: 1;
    margin: 25px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.request-header, .response-header {
    background-color: #f5f5f5;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.method {
    padding: 5px;
    margin-right: 10px;
}

.url {
    flex: 1;
    padding: 5px;
    margin-right: 10px;
}

.send-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.request-body, .response-body {
    padding: 10px;
}

textarea {
    justify-self: center;
    width: 65%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    overflow: auto;
    /*margin-left: 15%;*/
    color: greenyellow;
    background-color: #0C2D57;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: .875em;
    font-family: var(--bs-font-monospace);
}

    textarea::-webkit-scrollbar {
        width: 10px;
    }

    textarea::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 5px;
    }

.response-body textarea {
    resize: vertical;
}

.response-header {
    background-color: #f0f0f0;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.status {
    font-size: small;
    font-family: Varela Round;
}

.response-body {
    white-space: pre-wrap;
}

.request-type input[type="radio"] {
    display: inline-block;
    vertical-align: middle;
}

.request-type label {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

button, input, select, textarea {
    vertical-align: inherit;
}

.request-type label {
    display: inline-block;
    vertical-align: inherit;
    margin-right: 10px;
}

input[type="radio"], input[type="checkbox"] {
    margin: 25px 0;
    line-height: normal;
    cursor: pointer;
}

h3 {
    font-size: 18px;
    line-height: 50px;
    font-weight: 700;
}

.description-col {
    width: 40% !important;
}

.length-col {
    width: 10% !important;
}

.required-col {
    color: red !important;
    font-weight: 500;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

    th:nth-child(1),
    td:nth-child(1),
    th:nth-child(2),
    td:nth-child(2) {
        width: 100px;
    }

    th:nth-child(3),
    td:nth-child(3) {
        width: 200px;
    }

.paramsSpec {
    flex: 1;
    margin: 10px 10px;
    padding: 10px;
    border-radius: 5px;
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

.spinner {
    font-size: 3em;
}

#sidebar {
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: thin;
}

#main {
    /*overflow-y: auto;*/
    height: 100vh;
    scrollbar-width: thin;
}

.containerHome {
    max-width: 100%;
    margin: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}

h1 {
    text-align: center;
    color: #333333;
}

h2 {
    margin-top: 20px;
    color: #007bff;
}

h3 {
    color: #555555;
}

p {
    line-height: 1.6;
    color: #666666;
}

ul, ol {
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
}

.highlight {
    background-color: #f7f7f7;
    padding: 10px;
    border-radius: 4px;
}

pre {
    justify-self: center;
    width: 65%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    overflow: auto;
    /*margin-left: 15%;*/
    color: greenyellow;
    background-color: #0C2D57;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
    box-shadow: 5px 5px 15px #283852, -5px -5px 15px #ffffff;
}

    pre::-webkit-scrollbar {
        width: 5px;
    }

    pre::-webkit-scrollbar-thumb {
        background-color: white;
        border-radius: 5px;
    }

#api-method-dd-btn {
    background-color: #53d953;
    border-color: initial;
    box-shadow: -2px 5px 8px #8892a1, -5px -5px 15px #fff;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    width: 80px !important;
}

.wide-textbox {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .wide-textbox {
        width: 500px;
        max-width: 100%;
    }
}

.custom-table {
    border-color: black !important;
    font-size: small;
}

.nav-link.active {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    border-bottom: 3px solid #0e99cf !important;
    border-radius: 0.25rem 0.25rem 0 0;
}

.nav-link {
    color: #495057;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 0.25rem 0.25rem 0 0;
    margin-right: 2px;
}

    .nav-link:hover {
        background-color: #e9ecef;
        color: #007bff;
        border-color: #dee2e6;
    }

.tab-content {
    border-radius: 0 0.25rem 0.25rem 0.25rem;
    /*padding: 5px;*/
}

.table > thead {
    font-size: medium !important;
}

.jumbotron {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    font-family: Varela Round;
}

    .jumbotron h2 {
        color: #007bff;
        font-size: 20px;
        margin-bottom: 18px;
    }

    .jumbotron p {
        font-size: 14px;
        line-height: 30px;
    }

    .jumbotron ol {
        padding-left: 20px;
        line-height: 25px;
        font-size: 14px;
    }

p {
    line-height: 1.6;
    color: #1a314a;
    font-size: 13px;
}

.sidebar-link:focus,
.sidebar-link:focus-within {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
    outline: none;
    Remove the default focus outline
}

#btnSend, #btnTryItOut {
    background-color: #43afb3 !important;
    border: double !important;
    box-shadow: -2px 5px 8px #8892a1, -5px -5px 15px #fff;
}

.form-control-sm {
    width: fit-content !important;
}

.submenuV1 {
    display: none;
    padding: 0px 0px 0px 15px;
}

.submenuV2 {
    display: none;
    padding: 0px 0px 0px 15px;
}

.submenuV3 {
    display: none;
    padding: 0px 0px 0px 15px;
}

.submenuV4 {
    display: none;
    padding: 0px 0px 0px 15px;
}

.custom-table {
    width: 100%;
    font-family: Varela Round;
}

    .custom-table th {
        font-size: 14px;
        font-weight: 600;
        line-height: 13pt;
        margin-top: 6px;
        margin-bottom: 6px;
        text-align: center;
        padding: 8px;
    }

    .custom-table td {
        font-size: 10pt;
        line-height: 17pt;
        margin-top: 6px;
        margin-bottom: 6px;
        padding: 15px;
    }

textarea#txtareaRawBody {
    box-shadow: 5px 5px 15px #283852, -5px -5px 15px #ffffff;
}

.header-label {
    margin-left: 195px;
    margin-bottom: 15px;
}

.form-control {
    border: var(--bs-border-width) solid #aec0d3;
}

.col-form-label {
    font-size: 13px;
    margin-left: 245px;
}


#button {
    display: block;
    margin: 20px auto;
    padding: 10px 30px;
    background-color: #eee;
    border: solid #ccc 1px;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

.sidebar-link.selected {
    background-color: rgba(255, 255, 255, .075);
    border-left: 5px solid #3b7ddd;
}

body {
    font-family: Arial, sans-serif;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

button {
    margin: 10px;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#confirmRedirect, #confirmVersionAlert {
    background-color: #4CAF50;
    color: white;
    border-radius: 0px;
}

#cancelRedirect {
    background-color: #f44336;
    color: white;
    border-radius: 0px;
}

.version-menu {
    display: none;
    padding: 0px 0px 0px 22px;
}


.formbodyContainer {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formbody-group {
    margin-bottom: 15px;
}

    .formbody-group label {
        display: block;
        font-size: small;
        line-height: 35px;
    }

.formbody-control {
    width: 100%;
    max-width: 400px;
    height: 30px;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #afb0b5;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {
    .formbody-group {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .formbody-group {
        width: 100%;
    }
}


#table-request, #table-response, #actioncode {
    overflow-x: auto;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
}

img, svg {
    vertical-align: middle;
    height: 60px;
    margin-top: 30px;
    margin-left: 20px;
}

#txtUrl {
    color: #464164;
    text-decoration: underline;
    font-size: 15px;
    background-color: white;
}

.response h3 {
    color: #4377af;
    font-family: Varela Round;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 100;
}

.raw-body h3 {
    color: #4377af;
    font-family: Varela Round;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 100;
}

.raw-body p {
    line-height: 2.5;
    color: #1a314a;
    font-size: 14px;
    font-family: Varela Round;
}

.card-body p {
    font-family: Varela Round;
    font-size: 14px;
    /* color: rgb(60 58 58);*/
}

.request-body.raw-body.httpBadDesc p {
    word-wrap: break-word;
    white-space: pre-wrap;
}

.popup-Alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

    .popup-Alert .popup p {
        font-family: Varela Round !important;
        line-height: 1.6 !important;
    }

#versionSearchBox {
    width: calc(100% - 20px);
    padding: 5px;
    margin: 10px;
    border: 0px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
}

    #versionSearchBox:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

.header_logo {
    height: 100px;
}

.logo {
    color: #0056b3;
    width: 160px !important;
}

img, svg {
    height: 60px;
    margin-left: 20px;
    margin-top: 30px;
    vertical-align: middle;
}

#sidebar {
    height: 100vh;
    transition: width .3s ease;
    width: 250px;
    min-width: fit-content;
    overflow-y: auto;
    scrollbar-width: thin;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    min-width: 70px;
    transition: all .25s ease-in-out;
}

    #sidebar.expand {
        background-color: #fff;
        font-family: system-ui;
        width: 310px;
    }

@media (min-width: 1200px) {
    .display-4 {
        font-size: 2rem;
        font-weight: 300;
    }
}

h1 {
    color: #333;
    text-align: center;
}

#versionSearchBox {
    border-bottom: 0 solid #ccc;
    border-bottom: 1px solid var(--ifm-toc-border-color);
    border-radius: 4px;
    border-top: 0 solid #ccc;
    border-top: 1px solid var(--ifm-toc-border-color);
    border-color: #e3dede #ccc;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    font-size: 14px;
    margin: 10px;
    padding: 5px;
    width: calc(100% - 20px);
}

.request-type label, button, input, select, textarea {
    vertical-align: inherit;
}

.sidebar-nav {
    border-right: 1px solid #e3dede;
    overflow-y: auto;
    scrollbar-width: thin;
    flex: 1 1 auto;
    padding: 0;
    scrollbar-color: white transparent;
}

    .sidebar-nav::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background-color: white;
        border-radius: 4px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: transparent;
    }

.sidebar-item {
    word-wrap: break-word;
}

#sidebar, .sidebar-item {
    overflow: hidden;
    white-space: normal;
}

.sidebar-item {
    position: relative;
}

li {
    margin-bottom: 12px;
}

li {
    list-style: none;
}

.sidebar-item {
    word-wrap: break-word;
}

a.sidebar-link.services {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 13px;
}

.nav-link {
    background-color: #e4fff0 !important;
    border: 1px solid #0000;
    border-bottom: none;
    border-radius: .25rem .25rem 0 0;
    box-shadow: -2px 5px 8px #8892a1, -5px -5px 15px #fff;
    color: #0d4f7e;
    font-family: system-ui;
    margin-right: 2px;
}


    .nav-link.active {
        background-color: white !important;
        color: #fff;
        border: 1px solid #007bff;
        border-bottom: 3px solid #0e99cf !important;
        border-radius: 0.25rem 0.25rem 0 0;
    }

.nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding-left: 25px;
}

.homeBody, .paramsSpec {
    max-height: 100vh;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: white transparent;
    padding-bottom: 100px;
}

#headingService {
    color: #637f9d;
    padding: 10px 0 0 20px;
}

.response-content {
    display: none;
}

    .response-content.active {
        display: block;
    }

.buttons-container {
    margin-bottom: 1em;
}

    .buttons-container button {
        padding: 10px 20px;
        margin-right: 10px;
        cursor: pointer;
    }

textarea::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #1a73e8;
    border-radius: 10px;
}

    textarea::-webkit-scrollbar-thumb:hover {
        background-color: #0c57a0;
    }

textarea::-webkit-scrollbar-track {
    background: #0C2D57;
    border-radius: 10px;
}

textarea {
    scrollbar-width: thin;
    scrollbar-color: white #0C2D57;
}

pre::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

pre::-webkit-scrollbar-thumb {
    background-color: #1a73e8;
    border-radius: 10px;
}

    pre::-webkit-scrollbar-thumb:hover {
        background-color: #0c57a0;
    }

pre::-webkit-scrollbar-track {
    background: #0C2D57;
    border-radius: 10px;
}

pre {
    scrollbar-width: thin;
    scrollbar-color: white #0C2D57;
}





.response {
    margin: 20px;
    font-family: Arial, sans-serif;
}

h3 {
    /* text-align: center;*/
    font-size: 1.5rem;
    /* margin-bottom: 20px;*/
}

.response-content {
    display: none;
    padding: 15px;
    /* border: 1px solid #ccc;*/
    border-radius: 5px;
    margin-bottom: 10px;
}

    .response-content.active {
        display: block;
    }

.status {
    font-weight: bold;
    margin-bottom: 10px;
}

.request-body {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-x: auto;
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

    .buttons-container button {
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .buttons-container button:hover {
            opacity: 0.8;
        }

@media (max-width: 768px) {
    h3 {
        font-size: 1.2rem;
    }

    .buttons-container button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .response-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }

        .buttons-container button {
            width: 100%;
        }
}

code {
    font-size: 15px !important;
    color: #6c6ccf;
    word-wrap: break-word;
    text-decoration: underline;
    line-height: 40px;
    font-family: system-ui;
}

.bearer-control {
    margin-left: 30px;
    width: 65%;
    padding: 10px 12px;
    border: 1px solid #007bff;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    background: #fefefe;
    transition: 0.2s ease-in-out;
}

    .bearer-control:focus {
        border-color: #0056b3;
        box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
    }
