﻿
.invalid {
    outline: 1px solid red;
}

.clickable {
    cursor: pointer;
}

.validation-message {
    color: red;
}

.mdc-dialog__surface {
    padding: 16px;
}

#blazor-error-ui {
    background: lightyellow;
    color: black;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: black;
    }

    #blazor-error-ui > a {
        color: black;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

section.api-master-container {
}

article.api-key-container {
    display: flex;
    border: 1px solid var(--colour-trim-grey);
    padding: 24px 8px 16px 8px;
    margin-bottom: 32px;
}

.api-key-detail-container {
    flex-grow: 1;
}

.api-key-detail {
    display: flex;
    padding-bottom: 8px;
}

.api-detail-action {
}

.api-key-nav-block {
    position: relative;
    transform: translateY(33%);
    width: 80px;
    height: 80px;
    text-align: center;
}

.api-key-header {
    margin-left: 8px;
    margin-bottom: 4px;
    margin-top: 0;
    font-size: 16px;
}

.api-key-value {
    margin-bottom: 8px;
    width: 40%;
}

.api-key-value-container {
    width: calc(40% - 8px);
    display: flex;
    margin-left: 8px;
}

.api-detail-nav-link {
    width: 80px;
    height: 80px;
    text-align: center;
    vertical-align: middle;
    line-height: 80px;
    font-size: 32px;
}

.app-cat-nav-link {
    right: 0;
    height: 100%;
    top: 19%;
    text-align: center;
    vertical-align: middle;
    line-height: 80px;
    font-size: 24px;
}

.api-kv-key {
    margin-right: 16px;
}

.api-kv-value {
    margin-left: 8px;
}

h2.api-header {
    font-size: 28px;
    margin-bottom: 8px;
}

h3.api-header {
    border-bottom: 1px solid var(--colour-trim-grey);
    margin-bottom: 8px;
}

article.api-container {
    display: flex;
    margin-bottom: 8px;
}

.api-detail-container {
    padding-top: 4px;
}

.api-name {
    font-family: Open sans;
    font-weight: 600;
}

.api-description {
    font-family: Open sans;
    font-size: 12px;
}

.api-link-container {
    margin-left: auto;
    width: 48px;
    text-align: center;
}

.api-nav-link {
    display: inline-block;
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.app-key-input {
    margin: 8px;
    width: 352px;
}
/*@media screen and (max-width:768px) {*/

@media screen and (max-width:1024px) {
    .api-key-value {
        margin-right: 8px;
        width: 60%;
    }

    .api-key-value-container {
        margin-right: 24px;
        width: calc(60% - 8px);
    }

    .btn-standard {
        width: inherit !important;
        min-width: 136px !important;
        margin-bottom: 8px !important;
    }

    .btn-activity {
        display: none !important;
    }

    .app-key-input {
        width: 200px;
    }

    .content-block {
        margin-left: 0 !important;
    }
}

/* blue DONE */
.tag-get {
    background-color: #3363B4 !important;
    color: white !important;
    min-width: 72px;
}

/* orange DONE */
.tag-put {
    background-color: #AF6129 !important;
    color: white !important;
    min-width: 72px;
}

/* green DONE */
.tag-post {
    background-color: #338233 !important; 
    color: white !important;
    min-width: 72px;
}

/* red DONE */
.tag-delete {
    background-color: #cb2027 !important;
    color: white !important;
    min-width: 72px;
}

.app-cat-container {
    position: relative;
    display: flex;
    margin-bottom: 32px;
}

.app-cat-avatar {
    display: inline-flex;
    min-width: 56px;
    margin-right: 28px;
    color: #fff;
    border: 2px solid #fff;
    font-size: 30px;
    padding: 16px;
    height: 56px;
    width: 56px;
    border-radius: 28px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.app-cat-overlay {
    position: absolute;
    top: 44px;
    left: 14px;
    text-align: center;
    color: #fff;
    border: 1px solid #fff;
    font-size: 14px;
    min-width: 48px;
    margin-bottom: 8px;
    margin-right: 8px;
    padding: 0 8px 4px 8px;
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    z-index: 5;
}

.app-cat-title-overlay {
    position: relative;
    top: 4px;
    left: -4px;
    text-align: center;
    color: #fff;
    border: 1px solid #fff;
    font-size: 14px;
    min-width: 48px;
    margin-bottom: 8px;
    margin-right: 8px;
    padding: 0 8px 4px 8px;
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    z-index: 5;
    margin-left: -8px;
}

.app-cat-detail-container {
    padding-top: 16px;
    padding-right: 32px;
}

.app-link-container {
    margin-left: auto;
    width: 48px;
    text-align: center;
}

.app-cat-name {
    font-family: Open sans;
    max-width: 1000px;
    font-size: 18px;
}

.app-cat-description {
    font-size: 14px;
}

.app-avatar {
    display: inline-flex;
    min-width: 56px;
    margin-right: 28px;
    color: #fff;
    border: 2px solid #fff;
    font-size: 32px;
    padding: 16px;
    height: 56px;
    width: 56px;
    border-radius: 28px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #94048c;
    margin-top: 16px;
}

    .app-avatar > a img {
        margin-bottom: 10px;
    }

.api-header-block {
    display: flex;
    border-bottom: 1px solid var(--colour-trim-grey);
    margin-bottom: 24px;
}

.content-block {
    margin-left: 80px;
}

.nav-block {
    display: inline-block;
    width: 80px;
    height: 80px;
    font-size: 32px;
    text-align: center;
}

.aria-btn {
    border: 0;
    background-color: transparent
}

a.api-header-nav-link {
    height: 80px;
    width: 80px;
    text-align: center;
    vertical-align: middle;
    line-height: 80px;
    font-size: 32px;
}

h1.block-header {
    margin-top: 20px;
    margin-bottom: 0;
}

.api-block {   
    margin-bottom: 16px;
}

.api-link {
    font-size: 20px;
    min-width: 424px;
    color: #4070E6;
}

code {
    display: block;
    font-family: Consolas, Monaco, Lucida Console;
    padding: 8px;
    margin-bottom: 32px;
    width: 100%;
    min-height: 200px;
}

    code.api-model-input {
        background-color: #333333;
        color: white
    }

    code.api-model-response {
        background-color: #F2F2F2;
    }

input.api-request-input {
    display: block;
    width: 280px;
    margin-bottom: 8px;
    line-height: 22px;
    padding: 4px;
}

input.api-key-input {
    width: 280px;
    margin-bottom: 8px;
    line-height: 22px;
    padding: 4px;
    margin-right: 20px;
}

.request-label {
    margin-bottom: 16px;
}

.api-group-header {
    display: flex;
}

.api-method-header {
    margin-top: 24px;
}

.group-end {
    justify-content: end;
}

.api-group-element {
    margin-right: 24px;
    cursor: pointer;
}

.api-header-value {
    font-size: 24px;
    margin-right: 32px;
}

.group-selected {
    text-decoration: underline;
}

.api-subheader,
.api-metric-container {
    width: 112px;
    text-align: end;
}

.api-subheader {
    border-bottom: 1px solid var(--colour-trim-grey);
    margin-bottom: 8px;
    font-size: 1.2rem;
    letter-spacing: -0.07rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    margin-top: 8px;
}

.btn-container {
    display: block;
    width: 100%;
    margin-bottom: 48px;
}

button.btn-not-focussed,
button.btn-active,
button.btn-default {
    min-width: 160px;
    margin-bottom: 16px;
    margin-left: 8px;
    border: none;
    padding-bottom: 6px;
    padding-top: 6px;
    padding-left: 32px;
    padding-right: 32px;
    border-radius: 6px;
}

button.btn-active {
    background-color: #4070E6;
    color: #fff;
}

button.btn-not-focussed {
    background-color: white;
}

button.btn-default {
    background-color: lightgray;
    color: #000;
    border-radius: 0px;
    border: 1px solid #000;
}

.icon-suffix {
    margin-left: 12px;
    padding-left: 20px;
    padding-right: 20px;
    color: hsl(220, 17%, 17%);
    cursor: pointer;
}

/* -------------------------------------------*/
/* Updating modal css here*/
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    padding: 24px;
    width: 500px;
    min-height: 200px;
}

.modal-title, .modal-body {
    color: var(--colour-black-accent);
}

.modal-body {
    min-height: 64px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 32px;
}

button.close {
    border: none;
    background-color: white;
}

button.cancel {
    border: 1px solid;
}

.button-row {
    display: table-cell;
    width: 490px;
}

.btn-modal {
    width: 200px;
    margin-left: 8px !important;
    margin-bottom: 8px !important;
}

.modal-header {
    border-bottom: 0px;
}

.model-footer {
    border-top: 0px;
}

@media screen and (max-width:576px) {
    .modal-container {
        width: inherit;
        min-height: inherit;
    }

    .modal-body {
        padding-bottom: 16px;
    }

    .btn-modal {
        width: 100%;
    }

    .api-header-value {
        font-size: 16px;
        margin-right: 8px;
    }

    .api-subheader {
        margin-bottom: 4px;
        font-size: 20px;
    }
}
/* ------------------------------------------ */
.dev-link-container {
    width: 504px;
}

.alert {
    color: red;
    margin-left: 4px;
}

.json-key,
.json-null {
    color: #007ACC;
}

.json-string {
    color: #A31515;
}

.json-number {
    color: #008000;
}

.json-boolean {
    color: #1A1AA6;
}

.json-dark-key {
    color: #9CDCFE;
}

.json-dark-string {
    color: #CE9178;
}

.json-dark-number {
    color: #B5CEA8;
}

.json-dark-boolean {
    color: #569CD6;
}

.back-to-top {
    cursor: pointer;
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: right;
    text-decoration: none;
}

@media screen and (max-width: 576px) {
    section.api-master-container,
    .dev-link-container,
    input.api-request-input,
    input.api-key-input {
        width: 100%;
    }

    article.api-container {
        margin-bottom: 16px;
    }

    .api-link {
        font-size: inherit;
        min-width: 280px;
        margin-top: 4px;
    }

    .api-key-value,
    .api-kv-key,
    .api-kv-value {
        font-size: 12px;
    }

    .api-header-block > a.api-header-nav-link {
        height: 64px;
        width: 64px;
        line-height: 64px;
        font-size: 24px;
    }

    h1.block-header {
        margin-top: 16px;
        margin-bottom: 0;
        font-size: 32px;
    }

    h3.api-header {
        margin-bottom: 4px;
        font-size: 20px;
    }

    .app-cat-avatar {
        margin-right: 24px;
        font-size: 28px;
    }

    .app-cat-detail-container {
        padding-top: 12px;
    }

    .api-name > a {
        word-break: break-all;
        font-weight: 500;
    }

    .hidden {
        display: none;
    }
}

.api-message-container {
    width: 100%;
    color: red;
}
