@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@import url('resthour.css');
@import url('custom.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text */
}

.footer.blazor {
    display: none; /* Until initialized. */
    overflow: hidden;
    background-color: lightgray;
    min-height: 120px;
}




/* Detta nedanför är från gamla Blazor site.css som vi behöver för de är refererade ifrån någonstans */



app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    

.sidebar {
   
}

    

.content {

}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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;
}

/* This adjusts labels in floating form groups.
   They were sticking out the left side otherwise.
-------------------------------------------------- */
.form-floating label {
    margin-left: 30px;
    margin-top: 5px;
}

/* Styling for the authentication code input boxes at login with 2FA. */
.auth-digits {
    margin: 10px 0px 10px 0px;
}
div.auth-digits input.form-control {
    display: inline;
    margin: 3px;
    padding: 10px 5px;
    width: 10%;
    font-size: 24px;
    text-align: center;
}
/* Remove spinner buttons from authentication code input boxes. */
div.auth-digits input[type=number]::-webkit-inner-spin-button,
div.auth-digits input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
div.auth-digits input[type=number] {
    -moz-appearance: textfield;
}
