﻿:root {
    --ph-blue: #0085ca;
    --bs-body-bg: #f5f5f5;
    --bs-bg-opacity: 1;
    --bs-body-bg-rgb: rgb(var(--bs-body-bg));
}

html, body {
    /* Disables pull-to-refresh but allows overscroll glow effects. */
    overscroll-behavior-y: contain;
}

body {
    padding-top: 4rem;
    padding-bottom: 5rem;
    height: 100vh;
}

a {
    color: #212529;
    text-decoration: none;
}

#app {
    height: 100%;
}

#particles-js {
    position: fixed;
    z-index: -100;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.ph-logo {
    width: 100%;
    max-width: 332px;
    margin-top: 2rem;
    margin-bottom: 1rem !important;
    margin-left: auto;
    margin-right: auto;
}

.border-ph {
    border-color: var(--ph-blue);
}

.text-ph {
    color: #0085ca;
}

.btn-ph {
    background-color: #0085ca;
    border-color: #0085ca;
    color: white;
}

.btn-icon {
    border-radius: 50% !important;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2.5rem;
}

#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;
    }

    .form-signin {
        width: 100%;
        max-width: 332px;
        padding: 15px;
        margin-bottom: 2rem;
        text-align: center;
    }
    
        .form-signin .checkbox {
            font-weight: 400;
        }
    
        .form-signin .form-control {
            position: relative;
            box-sizing: border-box;
            height: auto;
            padding: 10px;
            font-size: 16px;
        }
    
            .form-signin .form-control:focus {
                z-index: 2;
            }
    
        .form-signin input[type="email"] {
            margin-bottom: -1px;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
        }
    
        .form-signin input[type="password"] {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }
    
        .form-signin .alert {
            padding: .75rem;
        }
    
    .field-icon {
        float: right;
        margin-right: 10px;
        margin-left: -25px;
        margin-top: -28px;
        position: relative;
        z-index: 2;
    }
    
    .validation-summary-errors ul {
        list-style: none;
        padding: 0px;
    }
    
    .login-nav {
        display: inline-block;
        margin: 0 2rem;
    }
    
    a.login-nav span.button {
        display: block;
        margin: auto;
        border-radius: 50%;
        color: white;
        background-color: #0085ca;
        line-height: 48px;
        height: 48px;
        width: 48px;
        font-size: xx-large;
    }
    
    a.login-nav span.text {
        color: black;
        font-size: smaller;
        font-weight: bold;
    }

.img-sm {
    max-height: 40vh;
    max-width: fit-content;
}
.img-md {
    max-height: 50vh;
    max-width: fit-content;
}
.img-lg {
    max-height: 60vh;
    max-width: fit-content;
}
.img-xl {
    max-height: 80vh;
    max-width: fit-content;
}

@media print {
    body {
        overflow: auto;
        padding: 0;
        background-color: unset !important;
        width: 8.5in;
    }
    
    body *:not(.print, .print *) { 
        visibility: hidden; 
        overflow: unset; 
        height: 0 !important; 
        padding: 0 !important; 
    }

    .print {
        position: static;
        height: fit-content;
        width: 100% !important;
        padding: 0 !important;
    }

    .print, .print * {
        visibility: visible;
    }
}

.no-break,
.no-break *
{ 
    page-break-inside: avoid;
}

.carousel-control-next,
.carousel-control-prev {
    width: 12% !important;
}

.validation-message {
    color: var(--bs-danger);
}

.vh-25 {
    height: 25vh;
}

.vh-50 {
    height: 50vh;
}

.vh-75 {
    height: 75vh;
}

.mh-25 {
    max-height: 25vh;
}

.mh-50 {
    max-height: 50vh;
}

.mh-75 {
    max-height: 75vh;
}

.navbar-verticle {
    border-top: solid 1px red;
    position: fixed;
}

.navbar-verticle > *.navbar-collapse {
    flex-direction: column;
    height: 100vh;
    width: fit-content;
}