/* Alignment styles for images, videos and iframes in editable regions */

/* Center (default) */
[data-editable] iframe,
[data-editable] image,
[data-editable] [data-ce-tag=img],
[data-editable] img,
[data-editable] video {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* SOURCE CODE */
[data-editable] pre{
    background-color: #eee;
}

[data-editable] h1:not(:first-child){
    margin-top: 80px;
}

[data-editable] h2:not(:first-child){
    margin-top: 50px;
}

[data-editable] h1, [data-editable] h2{
    color: #505771;
}

[data-editable] h1{
    font-size: 37px;
}

[data-editable] h2{
    font-size: 28px;
}



/* Left align */
[data-editable] .align-left {
    clear: initial;
    float: left;
    margin-right: 0.5em;
}

/* Right align */
[data-editable].align-right {
    clear: initial;
    float: right;
    margin-left: 0.5em;
}

/* Alignment styles for text in editable regions */
[data-editable] .text-center {
    text-align: center;
}

[data-editable] .text-left {
    text-align: left;
}

[data-editable] .text-right {
    text-align: right;
}

.note-info, .note-danger, .note-success, .note-warning{
    padding: 24px 48px 24px 24px;
    width: inherit;
    letter-spacing: normal;
    white-space: normal;
    word-spacing: normal;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
}

.note-info{
    border-left: 10px solid #067acc;
    background-color: rgba(6, 122, 204, 0.1)
}

.note-danger{
    border-left: 10px solid #d11a28;
    background-color: rgba(209, 26, 40, 0.1)
}

.note-success{
    border-left: 10px solid #009c64;
    background-color: rgba(0, 156, 100, 0.1)
}

.note-warning{
    border-left: 10px solid #ffad1f;
    background-color: rgba(255, 173, 31, 0.1)
}

h1.article-title{
    font-size: 45px;
    letter-spacing: -1px;
    line-height: 48px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 30px;
}

h2.subtitle-1
{
    font-size: 24px;
    border-left: 4px solid #4f5670d3;
    color: #4f5670d3 !important;
    padding-left: 5px;
}

h2.subtitle-2{
    font-size: 20px;
    border-left: 3px solid #4f5670ce;
    color: #4f5670ce !important;
    padding-left: 5px;
}

.url{
    --tw-bg-opacity: 1;
    background-color: rgb(229 231 235);
    border-radius: 0.125rem;
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
    overflow-wrap: break-word;
    padding: 1px 0.25rem;
}

h1.overline {
    border-top: 2px solid #ddd;
    padding-top: 46px !important;
    margin-top: 92px !important;
}

h2.overline {
    border-top: 1.4px solid #ddd;
    padding-top: 46px !important;
    margin-top: 92px !important;
}

.fig-label{
    font-size: 14px;
    margin-bottom: 50px;
    text-align: justify;
    padding: 0 10px;
    color: #555;
}

.table-label{
    font-size: 14px;
    margin-top: 50px;
    text-align: justify;
    color: #555;
}

img.margin{
    margin-top: 50px;
}

/* BASIC TABLE */
table.basic{
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    border-style: hidden;
    width: 100%;
    margin-bottom: 40px;
}

table.basic td, table.basic th{
    border: 1px solid white;
    padding: 8px;
    font-size: 14px;
}

table.basic thead tr{
    background-color: rgba(80, 87, 113, 0.2);
}


table.basic tr:nth-child(even){
    background-color: rgba(80, 87, 113, 0.05);
}

table.basic tfoot td {
    border-top: 2px solid #00000026 !important;
    font-size: 12px !important;
}

/* BORDER TABLE */
table.border{
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    /* border-style: hidden; */
    width: 100%;
    margin-bottom: 40px;
}

table.border td, table.border th{
    padding: 8px;
    font-size: 14px;
}

table.border th:not(:last-child)
{
    border-right: 1.5px solid white;
}

table.border td, table.border th
{
    border: 1.5px solid rgba(80, 87, 113, 0.2);;
}

table.border thead tr{
    background-color: rgba(80, 87, 113, 0.2);
}

table.border tfoot td {
    border-top: 3px solid #0000004d !important;
    background-color: rgba(80, 87, 113, 0.02);
    padding-top: 12px;
    font-size: 12px !important;
}

/* API ENDPOINT TABLE */
table.api-endpoint-description{
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

table.api-endpoint-description td, table.api-endpoint-description th {
    border: 1px solid #eee;
    padding: 8px;
}

table.api-endpoint-description tr td:first-child{
    background-color: rgba(50, 166, 248, 0.1);
    border: 1px solid #fff;
    font-weight: bold !important;
}

table.api-endpoint-description td.api-parameters,
table.api-endpoint-description td.api-rt,
table.api-endpoint-description td.api-method{
    line-height: 1.5em;
}

table.api-endpoint-description td.api-parameters b,
table.api-endpoint-description td.api-rt b,
table.api-endpoint-description td.api-method b
{
    font-weight: 100;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
}

table.api-endpoint-description td.api-parameters b{
    background: rgba(6, 122, 204, 0.6);
}
table.api-endpoint-description td.api-rt b{
    background: rgba(0, 156, 100, 0.6);
}
table.api-endpoint-description td.api-method b{
    background: rgba(190, 121, 0, 0.6);
}

