html {
    min-height: 100%;
}

body {
    position: absolute;
    top: 0;
    font-family: 'Open Sans', serif;
    font-size: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available; /* iOS layout fix */
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

.mdc-card {
    height: 100%;
    min-height: calc(100% - 100px);
    overflow-y: auto;
}

@media all and (min-width: 830px) {
    .mdc-card {
        height: auto;
    }
}

.mdc-button {
    height: 44px;
}

.mdc-button--raised {
    --mdc-elevation-box-shadow-for-gss: none;
}

.mdc-text-field--filled:not(.mdc-text-field--disabled) {
    background-color: white;
}

.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor {
    background-color: white;
}

.fa-eye, .fa-eye-slash {
    cursor: pointer;
    color: #00000099;
}

.fa-eye-slash {
    margin-left: -1px;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.text-left {
    text-align: left;
}

.text-centered {
    text-align: center;
}

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

.centered {
    margin-left: auto;
    margin-right: auto;
}

.fa-eye {
    transform:translateY(-5px);
}

.fa-eye-slash {
    transform: translate(2px, -5px);
}

.mdc-text-field-helper-text {
    opacity: 100 !important;
}

.social-provider-image #zocial-MyTrustID, .social-provider-image #zocial-MyTrustID:hover {
    background-color: #ff0000 !important;
    border: 1px #ff0000 solid;
}

.social-provider-image #zocial-HealthID, .social-provider-image #zocial-HealthID:hover {
    background-color: #007F0E !important;
    border: 1px #007F0E solid;
}

.social-provider-image #login-with-trustid, .social-provider-image #login-with-trustid:hover {
    background-color: #ffffff !important;
    border: 1px #bbbbbb solid;
}

.mdc-button--outlined {
    background-color: #ffffff;
}

/*
 These font definitions have been generated with:
 https://google-webfonts-helper.herokuapp.com/fonts/open-sans?subsets=latin
*/

/* merriweather-regular - latin */
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/merriweather-v30-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/merriweather-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/merriweather-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/merriweather-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/merriweather-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/merriweather-v30-latin-regular.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* merriweather-italic - latin */
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 400;
    src: url('../webfonts/merriweather-v30-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/merriweather-v30-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/merriweather-v30-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/merriweather-v30-latin-italic.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/merriweather-v30-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/merriweather-v30-latin-italic.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* merriweather-700 - latin */
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/merriweather-v30-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/merriweather-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/merriweather-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/merriweather-v30-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/merriweather-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/merriweather-v30-latin-700.svg#Merriweather') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/open-sans-v29-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/open-sans-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/open-sans-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/open-sans-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/open-sans-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/open-sans-v29-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/open-sans-v29-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/open-sans-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/open-sans-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/open-sans-v29-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/open-sans-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/open-sans-v29-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../webfonts/open-sans-v29-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../webfonts/open-sans-v29-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../webfonts/open-sans-v29-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../webfonts/open-sans-v29-latin-italic.woff') format('woff'), /* Modern Browsers */
    url('../webfonts/open-sans-v29-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../webfonts/open-sans-v29-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* 
remove double eyball on edge browser
https://learn.microsoft.com/en-us/microsoft-edge/web-platform/password-reveal 
*/
::-ms-reveal {
    display: none;
}

/* Fix Chrome's ugly blue background in text fields */
.mdc-text-field__input {
    &:-webkit-autofill {
        box-shadow: 0 0 0 30px white inset !important; /* Paint over the autofill background with white */
        -webkit-box-shadow: 0 0 0 30px white inset !important; /* Vendor-prefixed version for better support in Web-Kit based browsers */
        -webkit-text-fill-color: #000 !important; /* Sets the autofilled text color to black */
    }
}