﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

body {
    font-size: 14px !important;
}

a, .btn-link {
    color: #0366d6;
}

.nav-link {
    color: rgba(255, 255, 255, 0.5);
}

    .nav-link:hover {
        color: rgba(255, 255, 255, 1);
    }

.dropdown-menu {
    font-size: 14px;
}

.navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.page {
    position: relative;
    display: flex;
    flex-direction: row;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 999;
}

img.profile-picture {
    border-radius: 50%;
    height: 32px;
}

.main {
    flex: 1;
}

    .main .top-row, .main .frame .content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .main .top-row {
        padding-left: 1.0rem;
        background-color: #0054a6;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 0;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.0rem;
            color: white;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.app-menu {
    padding-left: 1.5rem;
    padding-top: 1rem;
    flex: none;
    height: calc(100vh - 3.5rem);
    background-color: #f8f9fa;
    transition: all .25s ease;
    width: 17em;
    z-index: 100;
    left: -18em;
    position: fixed;
}

    .app-menu .coats-sidenav-menu-heading {
        padding-top: 1rem;
        font-size: 0.75rem;
        font-weight: bold;
        text-transform: uppercase;
        color: #B0B0AF;
        letter-spacing: 1px;
    }

    .app-menu .nav {
        margin-right: 2rem;
    }

        .app-menu .nav .nav-item {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }

            .app-menu .nav .nav-item a.nav-link {
                padding: 0;
                color: #58595b;
            }

                .app-menu .nav .nav-item a.nav-link.active {
                    color: #0054a6;
                }

.navbar-toggler {
    padding: 0;
    font-size: 1rem;
    line-height: 1rem;
    border-radius: 0;
    color: white;
}

    .navbar-toggler > span.oi.oi-menu {
        color: white;
    }

.card {
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.04), 0 0 3px rgba(0,0,0,.025);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
}

    .card:hover {
        transform: scale(1.02);
        box-shadow: 0 5px 10px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.03);
    }

.parallax {
    position: relative;
    text-align: center;
    background: linear-gradient(90deg, #00aeef 0%, #0054a6 100%);
    color: white;
}

.header {
    position: relative;
    text-align: center;
    background: linear-gradient(90deg, #00aeef 0%, #0054a6 100%);
    color: white;
}

path#gentle-wave {
    position: relative;
    text-align: center;
    background: linear-gradient(90deg, #00aeef 0%, #0054a6 100%);
    color: white;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
    vertical-align: middle;
    position: relative;
    text-align: center;
    background: linear-gradient(90deg, #00aeef 0%, #0054a6 100%);
    color: white;
}

.parallax > use {
    -webkit-animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

    .parallax > use:nth-child(1) {
        -webkit-animation-delay: -2s;
        animation-delay: -2s;
        -webkit-animation-duration: 7s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        -webkit-animation-delay: -3s;
        animation-delay: -3s;
        -webkit-animation-duration: 10s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        -webkit-animation-delay: -4s;
        animation-delay: -4s;
        -webkit-animation-duration: 13s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        -webkit-animation-delay: -5s;
        animation-delay: -5s;
        -webkit-animation-duration: 20s;
        animation-duration: 20s;
    }

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-6 {
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.1;
}

@keyframes move-forever {
    0% {
        -webkit-transform: translate3d(-90px, 0, 0);
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(85px, 0, 0);
        transform: translate3d(85px, 0, 0);
    }
}

.text-shadow {
    text-shadow: 0 2px 8px #50d6ff;
}

.fixed-top,
#layoutSidenav_nav,
.coats-topnav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

#layoutSidenav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#layoutSidenav_nav {
    -ms-flex-preferred-size: 260px;
    flex-basis: 260px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: -webkit-transform 0.15s ease-in-out;
    transition: -webkit-transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
    z-index: 1038;
    -webkit-transform: translateX(-260px);
    transform: translateX(-260px);
}

#layoutSidenav_content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-height: calc(100vh - 56px);
}

#layoutSidenav_nav.coats-sidenav-toggled {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

#layoutSidenav_content.coats-sidenav-toggled:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1037;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.top-row {
    z-index: 1039;
}

#layoutSidenav_nav {
    width: 260px;
    height: 100vh;
    z-index: 1038;
}

    #layoutSidenav_nav .coats-sidenav {
        padding-top: 56px;
    }

        #layoutSidenav_nav .coats-sidenav .coats-sidenav-menu {
            overflow-y: auto;
        }

.loading {
    position: absolute;
    display: grid;
    height: 100vh;
    width: 100vw;
    place-items: center;
}

#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;
    }
