@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: Averta-Regular, Verdana, Arial, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #434b56;
}

html {
    min-height: 100%;
    position: relative;
}

h1 {
	font-weight: bold;
}

.btn {
    border-radius: 2rem;
    /*min-width: 4rem;*/
	padding-left: 1rem;
    padding-right: 1rem;
}

.btn-primary {
    color: #434b56;
    background-color: transparent;
	border-color: #434b56;
}

    .btn-primary:not(:disabled):not(.disabled):hover {
        color: #434b56;
        background-color: #e8e7ea;
        border-color: #434b56;
    }

    .btn-primary:not(:disabled):not(.disabled):active {
        color: #434b56;
        background-color: #e8e7ea;
	    border-color: #434b56;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus,
        .btn-primary:not(:disabled):not(.disabled):focus {
            color: #434b56;
            background-color: #e8e7ea;
	        border-color: #434b56;
            box-shadow: 0 0 0 .2rem rgba(207,207,207,.5);
        }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #434b56;
        background-color: transparent;
	    border-color: #434b56;
    }

.button.disabled {
	opacity: 0.65;
	pointer-events: none;
}

a, .btn-link {
    color: #0366d6;
}

app {
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .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;
}

.content {
    padding-top: 1.1rem;
    overflow: auto;
}

body {
    margin-bottom: 60px;
    height: 100%;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
}

    footer .md-logo {
        font-weight: bold;
        font-size: 1.1rem;
        float: right;
	    margin-right: 1rem;
	    color: #989898;
    }

.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;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show {
    position: fixed;
    inset: 0px;
    z-index: 1050;
    display: block;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    opacity: 0.9;
    transition: visibility 0s linear 500ms;
    visibility: visible;
}

.multi-line {
    white-space: pre-line;
}

.color-light-gray {
    background-color: #f4f4f4;
}

#navbarNav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    max-width: 80%;
    width: 0;
    transition: 0.2s;
    z-index: 1;
    overflow-x: hidden;
    background-color: #212529;
    box-shadow: 0 0 10px #212529;
}
#navbarNav.show {
    transition: 0.3s;
    width: 300px;
}
#navbarNav > * {
    width: 300px;
}

#navbarNavCloseButton {
    font-size: 3rem;
    color: #f4f4f4;
}

.navbar-light .navbar-brand {
	color: #434b56;
}

    .navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover {
	    color: #434b56;
    }

.nav-item a,
.nav-item select,
.nav-item select:focus {
    color: #f4f4f4;
    font-size: 1.5rem;
    background-color: #212529;
}

nav .navbar-title {
	margin-left: 0.9rem;
}

nav .navbar-title,
nav .navbar-toggler {
    font-size: 1.7rem;
}
@media (min-width: 370px) {
    nav .navbar-title {
        font-size: 2.2rem;
    }
}

