/* override table width restrictions to make font size smaller and avoid the scrollbar */

.wide-table {
    font-size: smaller;
}

/* Target all tables generated by Sphinx with high specificity */
.rst-content table.docutils,
.rst-content table.docutils th,
.rst-content table.docutils td {
  border-left: none !important;
  border-right: none !important;
  border-collapse: collapse !important;
}

/* make selected table full width */

.full-width-table {
  width: 100% !important;
}

/* justify all the documentation content */

.section {
     text-align:justify;
}

/*Formatting for "h2" not included in TOC */

.no-toc-sub, .no-toc-sub-2, .no-toc-sub-3 {
    color: #333333;
    margin-top:20px;
    margin-bottom:15px;
    font-weight: 700;
    display: block;
}

.no-toc-sub {
    font-size: 150%; /* this equals the h2 size in the theme.css */
}

.no-toc-sub-2 {
    font-size: 120%;
}

.no-toc-sub-3 {
    font-size: 115%;
}

/* Customize the color for the "note" directive */
div.admonition.note {
    /* background-color: #dcdcf1;
    /* border-left: 4px solid #605f92;*/
    color: #333333; /* Text color */
    border-radius: 4px 4px 4px 4px; /* Optional: Round corners if needed */
}

/* Customize the title for the "note" directive */
div.admonition.note .admonition-title {
    /* color: white; /* Title color */
    /* background-color: #126684;
    border-color: white;
    font-weight: bold;
    /* padding: 5px; /* Optional: Adjust padding for the title strap */
    border-radius: 4px 4px 0 0; /* Optional: Round corners if needed */
}

/******************** API DOCUMENTATION FORMATTING **********************/
/*Formatting for code block */

code, pre {
    font-size: 14px;
    background-color: #f7f7f9;
    border: 1px solid #d0d0d5;
    border-radius: 6px;
    padding: 10px 14px;
    overflow-x: auto;
    font-family: Menlo, Consolas, "Courier New", monospace;
    line-height: 1.5;
  }

/* For sphinx_copybutton */
/* Hide default SVG or fallback icon */
.copybtn svg {
    display: none;
  }
  
.copybtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #f7f7f9;
  border-radius: 4px;
  cursor: pointer;
}

.copybtn::before {
    content: "\f0c5"; /* clipboard */
    font: var(--fa-font-regular);
    font-size: 15px;
    color: #126684;
}

/* example/response headers */
.api-request, .api-example, .api-description, .api-response {
    color: #126684;
    margin-top:20px;
    margin-bottom:15px;
    font-weight: 700;
    font-size: 110%;
    display: block;
}

.api-endpoint {
        color: #126684;
        font-family: var(--code-font-family, monospace);
        font-size: 100%;
        margin-top:20px;
        margin-bottom:15px;
        display: block;
        background-color: #f7f7f9;
        padding: 6px 10px;
        border-left: 12px solid #126684;
        border-radius: 4px;
    }

/* NEW sign in TOC */
.badge-new {
  background-color: #e74c3c;
  color: white;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
}

/*/Styles for the DRAFT version banner/*/

.draft-banner {
    background: linear-gradient(to left, #f6f6fb, #dfe4f6, #e62d3014); /* <- soft red tint at the end */
    border-bottom: 1px solid #c8d0f0;
    padding: 12px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    color: #2f3a69;
    font-family: inherit;
    margin-bottom: 20px;
}

.draft-banner i.fa-bell {
    margin-right: 8px;
    color: #2f3a69;
    font-size: 1.1em;
    vertical-align: middle;
    font-style: normal;
}

.draft-banner a {
    color: #2f3a69;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 6px;
}

.draft-banner .draft-icon {
    height: 1.2em;
    width: 1.2em;
    vertical-align: middle;
    margin-right: 8px;
}