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

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

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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f5f5f5;
        /*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.logo {
            width: 100%;
        }

        .main .top-row a img {
            overflow: hidden;
            max-height: 3em;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

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

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

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}


.hero-full-screen .bg-image {
    top: 50px;
    height: 65vh;
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(128, 128, 128, 0.5), rgba(128, 128, 128, 0.5)), url("/images/banner-1-new.jpg") center center no-repeat;
    filter: blur(2px);
    background-size: cover;
}

.hero-full-screen .middle-content-section {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fefefe;
    white-space: nowrap;
}

    .hero-full-screen .middle-content-section a {
        text-transform: uppercase;
    }

.hero-full-screen .top-bar {
    background: transparent;
}

    .hero-full-screen .top-bar .menu {
        background: transparent;
    }

    .hero-full-screen .top-bar .menu-text {
        color: #fefefe;
    }

    .hero-full-screen .top-bar .menu li {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .hero-full-screen .top-bar .menu a {
        color: #fefefe;
        font-weight: bold;
    }


.button, a.button, button.button, input.button[type="submit"], input.button[type="image"] {
    background: #be1e2d;
    border: none;
    border-radius: 0;
    box-shadow: 0 1px 0 0 #a2111e,0 2px 10px 0 rgba(0,0,0,0.2);
    display: inline-block;
    width: 100%;
    position: relative;
    font-family: "freight-sans-pro",sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.063em;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-transform: uppercase;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    padding: 20px 15px;
    text-decoration: none !important;
}

.button, a.button, button.button, input.button[type="submit"], input.button[type="image"] {
    display: inline-block;
    width: auto;
    padding: 20px 34px;
}

.navbar-brand img {
    max-height: 65px;
}

a {
    outline: none;
}

a {
    color: #0366d6;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.footer {
    position: fixed;
    height: 40px;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
}

    .footer p {
        padding-left: 2em;
        padding-top: 10px;
    }

* {
    box-sizing: border-box;
}

*, ::after, ::before {
    box-sizing: border-box;
}
