/* Adjust the logo size */
nav#navbar a img[src*="/static/cpanel-whm"] {
    height: 25px !important
}

nav#navbar ul > li {
    font-weight: 300;
}

nav#navbar ul > li > a {
    color: #ffffff;
    padding: .5rem 1rem;
}

nav#navbar ul > li > a:hover {
    color: #ff6c2c;
}

nav#navbar ul > li > a:focus {
    color: #ff6c2c;
}

@media only screen and (max-width: 1350px) {
    nav#navbar {
        font-size: 0.75em;
    }

    nav#navbar ul > li {
        padding: 0.625em 1em;
    }

    nav#navbar ul > li > a {
        padding: 0.5em;
    }
}


[class^="Footer__FooterWrapper"] span {
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    padding: .5rem 1rem;
}

[class^="Footer__FooterWrapper"] a {
    text-decoration: none;
    color: rgba(255,255,255,0.3) !important;
    font-weight: 300;
    font-size: .875rem;
    font-family: 'Montserrat', sans-serif;
}

[class^="Footer__FooterWrapper"] a:hover {
    color: rgba(255,255,255,0.45) !important;
}

.consent-button {
    background-color: rgb(255, 108, 44);
    border-color: rgb(255, 255, 255);
    border-radius: 4px;
    border-width: 0;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: "open sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 36px;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    text-align: center;
    transition-delay: 0s, 0s, 0s, 0s;
    transition-duration: 0.15s, 0.15s, 0.15s, 0.15s;
    transition-property: color, background-color, border-color, box-shadow;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
    user-select: none;
    vertical-align: middle;
    white-space: normal;
}


.decline-button {
    background-color: #293a4a;
    border-color: rgb(255, 255, 255);
    border-radius: 4px;
    border-width: 0;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: "open sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 36px;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    text-align: center;
    transition-delay: 0s, 0s, 0s, 0s;
    transition-duration: 0.15s, 0.15s, 0.15s, 0.15s;
    transition-property: color, background-color, border-color, box-shadow;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
    user-select: none;
    vertical-align: middle;
    white-space: normal;
}

.consent-content {
    background-color: #293a4a;
}

@media only screen and (max-width: 900px) {
    .consent-content {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .consent-button-wrapper {
        margin: 0 auto;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

.consent-container {
    align-items: baseline;
    background-color: #293a4a;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    left: 0px;
    position: fixed; 
    width: 100%;
    z-index: 999;
    bottom: 0px;
    padding: 10px;
}

.operation-type {
    display: none !important;
}

.external-url::after {
    background-image: none !important;
}

#coming-soon-cpanel {
    position: relative;
    top: -20px;
    right: -300px;
    height: 34px;
    border: 2px solid white;
    border-radius: 4px;
    color:  #293A4A;
    display: inline-block;
    background-color: white;
    padding: 8px;
}

@media only screen and (max-width: 900px) {
    #coming-soon-cpanel {
        right: -200px;
    }
}

@media only screen and (max-width: 400px) {

    #coming-soon-cpanel {
        display: none;
    }

    #coming-soon-cpanel + a {
        display: none;
    }

    #navbar + h1 {
        font-size: 2.5em;
    }
}

#cpanel-inline-feedback {
    position: relative;
    float: right;
    right: -40px;
    z-index: 1;
}

#cpanel-inline-feedback::after {
    clear: both;
}

#gatsby-focus-wrapper > div > div > div > div > aside > div > a {
    font-size: 0.9em;
}

/* increase the size of the x-tagGroup parent headers */
#gatsby-focus-wrapper > div > div > aside > ul > ul > span {
    font-size: 0.95em;
}

/* Let markdown content use the full available width.
   The ContentWrapper keeps width: 90% and margin: 0 auto, so the
   5% side gutters remain; only the 688px cap is removed.
   !important is required because the theme injects its own
   --md-content-max-width: 688px on :root after this stylesheet loads. */
:root {
    --md-content-max-width: none !important;
}

/* Style raw HTML <table> elements (used throughout cpanel-api-2) the same
   way the theme styles Markdown-syntax tables. The theme scopes its table
   borders to "table.md", a class only added to Markdown-pipe tables, so raw
   HTML tables render with no borders. These rules mirror the theme's
   table.md rules — reusing the same CSS variables — and target tables
   without the .md class so genuine Markdown tables are left untouched. */
[class^="Markdown-sc"] table:not(.md) {
    width: 100%;
    overflow: hidden;
    word-break: keep-all;
    border-spacing: 0;
    margin: var(--md-table-margin-vertical) 0;
    border-radius: var(--md-table-border-radius);
    border: 1px solid var(--md-table-border-color);
}

[class^="Markdown-sc"] table:not(.md) th,
[class^="Markdown-sc"] table:not(.md) td {
    padding: var(--md-table-cell-padding);
    color: var(--md-table-cell-text-color);
    font-size: var(--md-table-font-size);
    line-height: var(--md-table-line-height);
    vertical-align: top;
}

[class^="Markdown-sc"] table:not(.md) thead td,
[class^="Markdown-sc"] table:not(.md) thead th,
[class^="Markdown-sc"] table:not(.md) tbody td {
    border-bottom: 1px solid var(--md-table-border-color);
}

[class^="Markdown-sc"] table:not(.md) tbody tr:last-child td {
    border-bottom: none;
}

/* Vertical column dividers. The theme's table.md styling only draws
   horizontal row lines, so add a right border between columns (the outer
   table border covers the rightmost edge). */
[class^="Markdown-sc"] table:not(.md) th:not(:last-child),
[class^="Markdown-sc"] table:not(.md) td:not(:last-child) {
    border-right: 1px solid var(--md-table-border-color);
}

[class^="Markdown-sc"] table:not(.md) thead {
    background-color: var(--md-table-header-bg-color);
}

[class^="Markdown-sc"] table:not(.md) th {
    text-align: left;
    font-weight: var(--md-table-head-font-weight);
    color: var(--md-table-head-text-color);
}
