﻿body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    background-color: slategray;
    margin: 0;
    min-height: 100vh;
}

.master-container {    
    display: inline-block;
    justify-items: center;
    justify-content: space-evenly;
    resize: none;
    overflow: hidden;
    height: 450px;
    width: 100%;
    max-width: 600px;
}

.header {
    position: relative;
    top: 50px;
    margin: 8px;
    padding-left: 4px 8px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.content {
    /* Was fit-content; now set to a flexible 100% width and auto height */
    width: 100%;
    background-image: url("/Images/backgrounds/physicianbk.jpg");
    background-repeat: no-repeat;
    background-size: auto;
    justify-content: space-evenly;
    border-radius: 12px;
}

.login-form {
    top: 50px;
    min-height: 275px;
}

/* The login panel container */
#pnlLog {
    position: relative;
    top: 50px;
    align-items: center;
    color: black;
    padding: 4px 8px;
    border-radius: 8px;
    height: 100%;
    width: 500px; /* let it size itself up to max-width */
    min-width: 260px; /* do not shrink below 260px */
    max-width: 560px; /* do not grow beyond 460px */
    box-sizing: border-box;
    margin: 12px;
}

.errMsg {
    display: flex;
    height: 4px;
    flex-wrap: wrap-reverse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #fd1d1d;
    position: relative;
    text-align: left !important;
    top: -10px;
    left: -45px;
    box-sizing: border-box;
}

#img-person-logo {
    height: 48px !important;
    width: 48px !important;
}

#pnlLog h4 {
    font-size: 16px;
    color: maroon;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
}

#pnlLog .RadLabel {
    display: inline;
    text-align: center;
    font-size: 10px;
}

/* Outer wrapper of the inputs */

.middle-right img {
    height: 300px;
    width: 300px;
    border-radius: 8px;
}

.footer {
    background-color: white;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding-left: 15px;
    padding-top: 10px;
    text-align: center;
    padding-bottom: 10px;
    border-top: solid 1px white;
    font-size: 10px;
}
/* RESPONSIVE BREAKPOINTS */
@media (max-width: 968px) {
    .content {
        flex-direction: column;
    }

    .middle-left, .middle-right {
        margin: 12px;
    }

        .middle-right img {
            width: 100%;
            max-width: 400px;
            height: auto;
        }


    #pnlLog {
        width: 100%;
        max-width: 460px;
    }
}

@media (max-width: 480px) {
    #pnlLog {
        padding: 1rem;
    }

    .middle-right img {
        max-width: 94%;
    }

    .footer {
        font-size: 0.65rem;
    }
}
