﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.flex-parent {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 30px 0;
}


.long-and-truncated {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vertical-center {
    min-height: 100%; /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh; /* These two lines are counted as one :-)       */

    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #5B3A85;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.rounded-bottom-20 {
    border-bottom-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.margin-l-r-t {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.btn-primary {
    color: #fff;
    background-color: #A86BFA;
    border-color: #A86BFA;
}

    .btn-primary.focus, .btn-primary:focus {
        box-shadow: 0 0 0 0 rgb(38 143 255 / 50%);
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #5B3A85;
        border-color: #5B3A85;
    }

.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 4.5rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.fixheight500{
    height:500px;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.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;
}




/* Blazored forms opened from a MudDrawer belong to the dialog layer. */
.bm-container { z-index:var(--mud-zindex-dialog,1400) !important; }
.bm-container .mud-popover-cascading-value { z-index:calc(var(--mud-zindex-dialog,1400) + 3); }

/* Off-screen drawers must not create a second page-wide scrolling surface. */
.mud-drawer--closed:not(.mud-drawer-mini){display:none!important}
html,body{max-width:100%;overflow-x:clip}
#app,.page,.main,.content{min-width:0;max-width:100%}
