﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

span.forgot-span{
    width: 100%;
    align-content: end;
    display: flex;
    flex-direction: column;
}

a.forgot-link {
    color: #6354C0;
    text-align: right;
    font-variant: all-petite-caps;
}

.btn-primary {
    color: #fff;
    background-color: #6354C0;
    border-color: #6354C0;
    font-variant: all-petite-caps;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #6354C038;
    border-color: #6354C038;
    color: #6354C08A;
}

.btn-primary.disabled:hover, .btn-primary:hover, .btn-primary:focus {
    background-color: #322A60;
    border-color: #322A60;
    color: #FFFFFF;
}

.btn-outline-primary {
    color: #6354C0;
    background-color: #F0EEFC;
    border-color: #F0EEFC;
    font-variant: all-petite-caps;
}

.btn-outline-primary:hover, .btn-outline-primary.disabled:hover, .btn-outline-primary:focus  {
    color: #6354C0;
    background-color: #6354C014;
    border-color: #6354C014;
    font-variant: all-petite-caps;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Nav Menu (_NavMenuPartial.cshtml) */
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.sidebar, .sidebar-thin {
    background-color: #181828;
}

.sidebar-thin .nav-item span {
    display: none;
}

.sidebar-thin .px-3 {
    padding: 0.25rem !important;
}

.sidebar .brand-logo, .sidebar-thin .brand-logo-thin {
    display: block;
}

.sidebar .brand-logo-thin, .sidebar-thin .brand-logo {
    display: none;
}

.navbar-brand {
    font-size: 1.1rem;
    padding: 0;
}

.fa-light {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
    margin-right: 0.25rem;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .sidebar-thin {
        width: 60px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

/* Main Layout (_Layout.cshtml) */
main {
    flex: 1;
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row a:hover, .top-row .btn-link:hover {
    text-decoration: underline;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-password-eye {
    display: inline;
    margin-left: 10px;
    cursor: pointer;
}

.toggle-password-eye-reset {
    display: inline;
    margin-left: -30px;
}

.emailbox, .loginpasswordbox {
    display: inline-block;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}