@font-face {
    font-family: "VsoIcons";
    font-weight: normal;
    src: url('../fonts/Icons/vsoPMSIcons.ttf');
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Light.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row > a, .main .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .main .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    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;
    }
/*------------------ Preloader ------------------*/
/* Loader */
.loader {
    position: fixed;
    top: 0;
    bottom: 0%;
    left: 0;
    right: 0%;
    z-index: 20000;
    transition: 1s ease-in-out;
}

    .loader.loginPage {
        display: none;
    }

    .loader:after {
        content: "";
        background-color: white;
        opacity: 0.9;
        position: absolute;
        top: 0;
        bottom: 0%;
        left: 0;
        right: 0%;
        display: flex;
    }

.loader_inner {
    height: 100vh;
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.loader_text a {
    display: inline-flex;
    justify-content: center;
    text-decoration: underline;
}

.loader-message {
    background: white;
    border: 1px solid black;
    color: red;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 50%;
    padding: 12px;
    transform: translate(-50%, -100%);
    z-index: 1;
}

.spinner_load {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .spinner_load div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: blue;
        border-radius: 50%;
        animation: spinner_load 1.2s linear infinite;
    }

        .spinner_load div:nth-child(1) {
            animation-delay: 0s;
            top: 29px;
            left: 53px;
        }

        .spinner_load div:nth-child(2) {
            animation-delay: -0.1s;
            top: 18px;
            left: 50px;
        }

        .spinner_load div:nth-child(3) {
            animation-delay: -0.2s;
            top: 9px;
            left: 41px;
        }

        .spinner_load div:nth-child(4) {
            animation-delay: -0.3s;
            top: 6px;
            left: 29px;
        }

        .spinner_load div:nth-child(5) {
            animation-delay: -0.4s;
            top: 9px;
            left: 18px;
        }

        .spinner_load div:nth-child(6) {
            animation-delay: -0.5s;
            top: 18px;
            left: 9px;
        }

        .spinner_load div:nth-child(7) {
            animation-delay: -0.6s;
            top: 29px;
            left: 6px;
        }

        .spinner_load div:nth-child(8) {
            animation-delay: -0.7s;
            top: 41px;
            left: 9px;
        }

        .spinner_load div:nth-child(9) {
            animation-delay: -0.8s;
            top: 50px;
            left: 18px;
        }

        .spinner_load div:nth-child(10) {
            animation-delay: -0.9s;
            top: 53px;
            left: 29px;
        }

        .spinner_load div:nth-child(11) {
            animation-delay: -1s;
            top: 50px;
            left: 41px;
        }

        .spinner_load div:nth-child(12) {
            animation-delay: -1.1s;
            top: 41px;
            left: 50px;
        }

@keyframes spinner_load {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.pdseparator.dragover {
    background-color: silver !important;
}

.api-admin-page {
    padding: 1px
}

@media (min-width: 1200px) {
    .api-admin-page .content-body > div {
        width: calc(50% - 10px);
        padding-left: 10px
    }

        .api-admin-page .content-body > div:first-child {
            padding-right: 10px
        }
}

@media (min-width: 1200px) {
    .api-admin-page .content-body .add_template {
        margin-bottom: 20px;
        margin-left: auto
    }
}

p {
    font-size: 18px
}

button.btn-secondary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--ColorButtonAndAccent), transparent 66%);
}

button.btn-success:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--ColorButtonAndAccent), transparent 66%);
}
