﻿.page {
    min-width: 0;
}

h2 {
    text-align: center;
    font-size: 1.3rem;
    margin: 2rem 0;
}

.main {
    display: initial;
}

input, label {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 1rem;
}

legend {
    display: none;
}

.footer {
    font-size: 1.1em;
}

div.accountInfo {
    margin: 0 auto;
}

fieldset {
    padding: 20px !important;
}

.submitButton {
    text-align: center;
    padding: 0;
}

.failureNotification {
    font-size: 16px;
    margin-bottom: 32px;
    width: 355px;
    margin-left: auto;
    margin-right: auto;
}

    .failureNotification > span {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .failureNotification > span:empty {
        display: none;
    }

.nocaptcha-container {
    text-align: center;
}

    .nocaptcha-container .g-recaptcha {
        display: inline-block;
    }

@media screen and (max-width: 479px) {
    /* start of phone styles */

    .page {
        height: 100%;
    }

    div.accountInfo {
        width: 100%;
        margin: 0;
    }

    span.failureNotification {
        display: none;
    }

    .forgotten-password-link {
        font-size: 1rem;
    }

    .company-logo {
        display: block;
        text-align: center;
        max-width: 100%;
    }

    .mobile-menu {
        display: none;
    }

    input {
        margin-bottom: 20px;
        height: 27px;
    }

    label {
        font-weight: bold;
    }

    fieldset {
        padding: 10px !important;
        padding-top: 0 !important;
        border: 0;
        margin-top: 10px;
    }

    .submitButton {
        padding: 0 10px;
    }

    .login-button {
        -webkit-appearance: button;
        height: 27px;
    }

    .loading-spinner {
        background: url(../../Images/ajax-loader.gif) no-repeat 90% center;
    }
}
