﻿/*
    This is the Page specific css for the home page.

    All CSS classes in this file should be prefixed with a 'home-'
    Ex. home-main-margin

*/

/* -------------------------------_HomeLayout.cshtml------------------------------------------*/
#homeBody {
    background-color: #fff;
    height: 105vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    /*justify-content: center;*/
    background-repeat: no-repeat;
    background-size: cover;
    overflow:auto;
}

/*------------------------------- /Home/Index.cshtml-------------------------------*/


.home-wrapper {
    min-height: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 1em;
}

#homeWelcome {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#homeLogin {
    height: 100%;
    width: 40%;
    flex: 1 1 auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#homeInfo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 75px 0 75px;
}

#register-prompt-container {
    background-color: #473b7e;
    height: 20%;
    width: 100%;
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.home-user-selector {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/*-------------------------------HomeWelcome.cshtml-------------------------------*/

.home-welcome-container {
    width: 1205px;
    height: 466px;
    background: url('/Images/Home Page.png') no-repeat;
    background-size: cover;
}

.home-welcome-container .home-text-container {
    display:none;
    background: rgba(255,255,255,.86);
    height: 100%;
}

.home-welcome-link, .home-welcome-link:link, .home-welcome-link:visited {
    color: #473b7e;
    font-size: 20px;
}
.home-welcome-link:hover{
    color: #473b7e;
    font-size: 20px;
    background-color:lightgray;
}

.home-practitioner-options, .home-patient-options {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    opacity: 1;
}

.home-option {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 15px;
    width: 33%;
    padding-top: 45px;
}

.home-option-descriptor {
    width: 80%;
    min-width: 50%;
}

.home-login-modal {
    display: flex;
    width: 500px;
    justify-content: center;
    min-width: 500px;
}
    .home-login-modal .modal-content {
        padding: 15px 25px;
    }

.home-button {
    width: 175px;
    margin: 25px;
}

/*-------------------------------LoginArea / PasswordReset-------------------------------*/

#login-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login_usr_entr {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.login_usr_entr .login-text-box {
    border: 1px solid lightgrey;
}
.login-text-box:focus {
    outline:inherit;
    border: 1px solid lightgrey;
}

/*reference:https://css-tricks.com/almanac/selectors/p/placeholder/ */
/*You CANNOT combine these 4 into one section, doesn't work*/
.login-text-box::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: lightgrey;
    text-align:center;
}

.login-text-box::-moz-placeholder { /* Firefox 19+ */
    color: lightgrey;
    text-align: center;
}

.login-text-box:-moz-placeholder { /* Firefox 18- */
    color: lightgrey;
    text-align: center;
}

.login-text-box:-ms-input-placeholder { /* IE 10+ */
    color: lightgrey;
    text-align: center;
}

.login_pswd_container {
    flex: 1 0 auto;
    width: 100%;
}

.login_frgt_pswd, .login_frgt_pswd:link, .login_frgt_pswd:visited {
    color: grey;
    font-size: 16px;
    font-family: "Open Sans Semibold";
}

.confirmNextStepBtn{
    width: 300px;
}

.confirmOfficeBtn {
    width: 150px;
}

.home-portalButton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 1);
    color: white;
    font-size: 24px;
    padding: 20px;
    cursor: pointer;
    font-family: 'Open Sans Semibold';
}

    .home-portalButton:hover, .home-portalButton-selected {
        background-color: #DBDBDB;
        color: #868686;
    }

    .home-portalButton:hover span, .home-portalButton-selected span {
        background-color: #DBDBDB;
        color: #464646;
    }

    .home-portalButton-not-selected {
        background-color: white;
        color: #BFBFBF;
    }

    .home-portalButton-not-selected span {
        background-color: white;
        color: #464646;
    }

.home-portalButton-logged-in {
    display: none;
}

.home-option-focused {
    display: flex;
}

#mobileLogo {
    display:none;
}

@media only screen and (max-width:1024px) {
    .home-wrapper {
        max-height: 3000px;
        height: 100%;
        flex-direction: column;
    }

    #homeWelcome {
        flex-direction: column;
        justify-content: flex-start;
        overflow-x: hidden;
    }

    .home-portalButton {
        width: 200px;
        height: 220px;
    }

    .home-user-selector {
        flex-direction: row;
        height: 220px;
    }

    .home-patient-options, .home-practitioner-options {
        flex-direction: column;
        align-items: center;
    }

    .home-welcome-container{
        width: 100%;
    }

    .home-option {
        justify-content: center;
        padding-top: 10px;
    }

    .home-text-container {
        justify-content: center;
        overflow-y: scroll;
    }

    #homeInfo {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    #homeLogin {
        width: 400px;
        flex: 0 1 auto;
    }

    #register-prompt-container {
        height: 10%;
    }

    .login-form {
        justify-content: unset;

    }

    #login-area {
        margin-top: auto;
        margin-bottom: auto;
    }

    #mobileLogo {
        display: unset;
        width: 90%;
        margin: 5px;
    }
    .password-strength-meter-wrapper {
        flex: 0 0 auto;
    }
}

@media only screen and (max-width: 400px) {
    .home-wrapper {
        height: 100%;
        width: 100%;
        flex-direction: column;
        min-height: unset;
        max-height: unset;
    }

    #homeWelcome {
        display: none;
    }

    #homeLogin {
        height:100%;
        width: 100%;
        flex: 0 1 auto;
        overflow-y:auto;
    }

    #register-prompt-container {
        height:10%;
    }

    .login-form {
        justify-content:unset;
    }
    
    #login-area {
        margin-top:auto;
        margin-bottom:auto;
    }

    #mobileLogo {
        display: unset;
        width: 90%;
        margin: 5px;
    }


    .password-strength-meter-wrapper {
        flex: 1 0 auto;
    }

    .confirmNextStepBtn {
        width: 200px;
    }
}

@media only screen and (max-width : 3840px) {
    .home-wrapper {
        max-width: 2160px;
    }
}

@media only screen and (max-width : 2560px) {
    .home-wrapper {
        max-width: 1520px;
    }
}

@media only screen and (max-width : 1920px) {
    .home-wrapper {
        max-width: 1440px;
    }
}

@media only screen and (max-width : 1366px) {
    .home-wrapper {
        max-width: 1280px;
    }
}

@media only screen and (max-width : 1280px) {
    .home-wrapper {
        max-width: 100%;
    }
}

@media only screen and (max-width : 1024px) {
    .home-wrapper {
    }
}

@media only screen and (max-width : 768px) {
    .home-wrapper {
    }
}


/* --------------------------AboutUs and Practitioner Directory.cshtml----------------------------*/

.home-menu-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.home-title {
    font-size: 3.2em;
    padding-bottom: 10px;
}

.home-subtitle {
    font-size: 2.0em;
    padding-bottom: 10px;
}
