html { position: relative; min-height: 100%; font-size: 16px; }
@media (max-width: 768px) { html { font-size: 14px; } }

body { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; font-smooth: always; margin: 0; color: #444; min-height: 100vh; display: flex; flex-direction: column; font-family: "avenir-roman", sans-serif; }

a { cursor: pointer; transition: all 0.15s ease; text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: underline; color: #0e6ec2; }

hr { height: 2px; padding: 0; margin: 2rem 0; background-color: rgba(216, 216, 216, 0.7); border: 0; }

.txt-right { text-align: right; }

.p-top-xs { padding-top: 0.5rem; }

.fill { fill: currentColor; }

.stroke { stroke: currentColor; }

@font-face { font-family: 'avenir-black'; src: url("../fonts/avenir-black.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-bold'; src: url("../fonts/avenir-bold.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-heavy'; src: url("../fonts/avenir-heavy.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-italic'; src: url("../fonts/avenir-italic.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-light'; src: url("../fonts/avenir-light.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-medium'; src: url("../fonts/avenir-medium.woff") format("woff"); font-weight: normal; font-style: normal; }
@font-face { font-family: 'avenir-roman'; src: url("../fonts/avenir-roman.woff") format("woff"); font-weight: normal; font-style: normal; }
h1 { font-size: 1.75rem; font-weight: 900; font-family: "avenir-heavy", sans-serif; }

h2 { font-size: 1.5rem; font-weight: 500; font-family: "avenir-medium", sans-serif; }

h3 { font-size: 1.125rem; font-weight: 500; font-family: "avenir-medium", sans-serif; }

h4 { font-size: 1rem; font-weight: 500; font-family: "avenir-medium", sans-serif; }

h5 { font-size: 1rem; font-weight: 500; font-family: "avenir-medium", sans-serif; }

h6 { font-size: 1rem; font-weight: 500; font-family: "avenir-medium", sans-serif; text-transform: uppercase; }

strong { font-weight: 500; font-family: "avenir-medium", sans-serif; }

label { font-weight: 500; color: #777; }

.underline { text-decoration: underline; }

.txt-italic { font-style: italic; }

.txt-reset { font-weight: normal; line-height: 1; }

.txt-uppercase { text-transform: uppercase; }

.txt-small { font-size: 85%; }

.highlight { font-weight: 500; font-family: "avenir-medium", sans-serif; display: inline-block; background: rgba(255, 255, 0, 0.4); }

.txt-intro { font-size: 16px; padding-bottom: 2rem; }

.txt-gray { color: #999; }

.color-error { color: #d9534f; }

.color-success { color: #93C461; }

@media (min-width: 768px) { .landing:after { position: relative; z-index: -1; content: ""; position: absolute; top: 0; left: 0; width: 100%; left: 50%; transform: translateX(-50%); height: 100vh; background-repeat: no-repeat; background-image: url("../img/patient_background_login.jpg"); background-position: center top; } }
.landing .page-container { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; padding-bottom: 0; }
.landing .nh-header { width: 100%; }
.landing .header-wrapper { display: flex; align-items: center; justify-content: center; }

.login-content-wrapper { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 5; }
.login-content-wrapper .page-heading { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 7.5vh 0 1rem; }
@media (width: 1024px) { .login-content-wrapper .page-heading { padding: 2rem 0; } }
@media (max-width: 600px) { .login-content-wrapper .page-heading { padding: 2rem 2rem 0; } }
.login-content-wrapper .page-heading h1 { font-weight: 900; font-family: "avenir-heavy", sans-serif; color: #413737; margin: 0; padding: 0; }
@media (max-width: 600px) { .login-content-wrapper .page-heading h1 { font-size: 1.6rem; } }
.login-content-wrapper .page-heading h2 { font-weight: 400; font-style: italic; color: #367f7d; }

.login-card { max-width: 500px; padding: 3rem; border-radius: 8px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 20px rgba(51, 51, 51, 0.19), 0 6px 6px rgba(51, 51, 51, 0.23); }
@media (max-width: 600px) { .login-card { border-radius: 0; padding: 2rem 2rem 4rem; } }
.login-card .input-lg { font-size: 0.8rem; }

.forgot-password { margin: 2rem 0; text-align: center; display: block; text-decoration: underline; color: #5db7b5; font-weight: 500; font-family: "avenir-medium", sans-serif; font-size: 1rem; }

.btn-xl { padding: 1rem; font-weight: 900; font-family: "avenir-heavy", sans-serif; font-size: 1rem; }

.agreement { margin-top: 2rem; }

.login-footer { padding: 1rem 2rem; color: #413737; font-size: 0.8rem; }
@media (max-width: 767px) { .login-footer { padding: 1rem 2rem; background: #eee; font-size: 0.8rem; width: 100%; text-align: center; } }
