﻿html {
    height: 100%;
    width: 100%;
    position: fixed;
}

.login-body {    
    padding-top: 56px; /* For bootstrap navbar */
}

body {
    font-family: 'Roboto', sans-serif !important;
    height: 100%;
    width: 100%;
    position: relative;
    overscroll-behavior: contain;
    -webkit-touch-callout: none;  /*Disables ios long touch select mode*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.no-user-select {
    -webkit-touch-callout: none; /*Disables ios long touch select mode*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Aligns the forget password button (link) to the same level with email field */
#forgotPasswordButton {
    padding-left: 0px;
    padding-right: 0px;
}

/* Fixes negative right margin from navbar-right last item:
    https://stackoverflow.com/questions/20429229/bootstrap-3-navigation-bar-right-margin-is-not-supposed-to-be-15px */
.navbar-right:last-child {
    margin-right: 0;
}

/* Grayed version of font-awesome icons*/
.fa.fa-gray {
    color: #ccc;
}

.fuu-login-form {
    max-width: 400px;
    background: rgba(255,255,255,0.5);
    padding: 20px;
}

.fuu-login__unsupported-browser-message {
    display: none;
}

.fuu-password-reset-form {
        max-width: 400px;
    }

.fuu-display-none {
    display: none;
}

/* Remove button focus caused by bootstrap css. */
button:focus {
    outline: none !important;
}

.hidden {
    visibility: hidden;
}

.external-login-providers {
    margin-top: 50px;
    text-align: center;
}

.external-login-button {
    border-width: 1px;
    border-style: solid;
    min-height: 40px;
    min-width: 200px;
    background: white;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
    cursor: pointer;
    padding-left: 15px;
}
.external-login-button:hover {
    background-color: lightgray;
}

.external-login-button:active {
    box-shadow: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
}
.external-login-button span {
    font-size: 16px;
    margin-left: 10px;
    opacity: 0.7;   
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* Targets IE10+ */
    .fuu-login-form {
        display: none;
    }

    .fuu-login__unsupported-browser-message {
        display:block;
    }
}

/*
    Microsoft Edge Browser 12-18 (All versions before Chromium)
    https://stackoverflow.com/a/32202953/12308149
*/
@supports (-ms-ime-align:auto) {
    .fuu-login-form {
        display: none;
    }

    .fuu-login__unsupported-browser-message {
        display: block;
    }
}