@font-face
{ font-family: 'Roboto'; font-style: normal; font-weight: 400; src: local('Roboto Regular'), local('Roboto-Regular'), url(https://themes.googleusercontent.com/static/fonts/roboto/v11/2UX7WLTfW3W8TclTUvlFyQ.woff) format('woff'); }


:focus
{
    outline: none;
}

body
{
    background-color:#ECECEC;
    font-family: Roboto;
    margin: 0px;
    padding: 0px;
}

.clear
{
    clear: both;
}

div.forgotten-password
{
    width: 610px;
    margin: 0px auto;
}

.forgotten-form, .forgotten-message
{
    min-height: 200px;
    padding: 19px;
}

div.browser-warning
{
    margin: 0px 0px 15px 0px;
    border: 4px solid #004892;
    background: #FFFFFF;
    padding: 15px;
}

div.browser-warning h2
{
    font-size: 14px;
    margin: 0px 0px 5px 0px;
    line-height: normal;
}

div.browser-warning .btn-download
{
    line-height: 48px;
    padding-right: 60px;
    width: 190px;
}

#browser-warning-no-xp, #browser-warning-xp
{
    display: none;
}

div.browser-warning .btn-ie
{
    background: #004892 url(/images/ie-logo.png) 210px center no-repeat;
}

div.browser-warning .btn-ie:hover
{
    background-color: #F49422;
}

div.browser-warning .btn-chrome
{
    background: #004892 url(/images/chrome-logo.png) 210px center no-repeat;
}

div.browser-warning .btn-chrome:hover
{
    background-color: #F49422;
}

div.browser-warning .btn-firefox
{
    background: #004892 url(/images/firefox-logo.png) 210px center no-repeat;
}

div.browser-warning .btn-firefox:hover
{
    background-color: #F49422;
}

div.form.login
{
    margin: 0px 0px 32px 0px;

    box-shadow:0px 3px 13px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.3);

    border-radius: 3px;
    position: relative;
}

div.form-holder h1
{
   color: #004892;
}

div.message-panel
{
    padding: 20px;
    display:block;
    width: 100%;
    height: 175px;
    overflow: hidden;
    background-color:#FFFFFF;
    background-size: contain;
    background-repeat: no-repeat;
}

div.message-panel .login-message
{
    background: #FFFFFF;
    border: 0px solid #FFFFFF;
    border-radius: 3px;

    -webkit-box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 25px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 25px rgba(0, 0, 0, 0.75);

    color: #333333;
    padding: 20px;
    margin-bottom: 20px;
    width: 650px;
    position: relative;
}

div.message-datetime
{
    width: 80px;
    float: left;
    margin-right: 20px;
}

.login-message.odd div.message-datetime
{
    float: right;
    margin-right: 0px;
    margin-left: 20px;
}

div.message-datetime label.message-time
{
    background: #004892;
    color: #FFFFFF;
    display: block;
    text-align: center;
    padding: 6px;
    font-size: 16px;
    border-radius: 3px;
}

div.message-datetime p
{
    font-size: 12px;
    text-align: center;
    margin: 0px;
}

div.message-content
{
    float: left;
    width: 524px;
}

div.message-content label
{
    display: inline-block;
    color: #004892;
    font-weight: bold;
}

div.login-panel
{
    display:block;
    width: 100%;
    padding: 20px;

    background: #ffffff;
}

div.login-panel .welcome-text
{
    line-height: normal;
    margin: 24px 0px 0px 0px;
    padding: 0px;
    color: #000000;
    text-indent: -9999px;
    background: url("/images/welcome-text.png") no-repeat;
    background-size: contain;
    width: 210px;
    height: 43px;
}

div.login-panel h2
{
    line-height: normal;
    color: #000000;
    margin: 0px;
    padding: 0px;
    font-size: 20px;
    font-weight: normal;
}

div.login-panel .form-group {
    margin-bottom: 10px;
}

div.login-panel input[type="text"],
div.login-panel input[type="password"] {
	padding: 4px 6px;
    height: 30px;
}

.form-control
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

div.inline-alert
{
    margin-top: 12px;
}

footer
{
    background: url("/images/aag_logo.png") center bottom no-repeat;
    height: 100px;
    margin-bottom: 100px;
}

footer ul
{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    height: 16px;
    margin: 0px auto;
}

footer ul li
{
    float: left;
    margin: 0 10px;
    text-align: center;
}

footer ul li a
{
    color: #004892;
}

footer ul li a:hover
{
    color: #004892;
    text-decoration: underline;
}

.alert
{
    font-size: 12px;
    margin-top: 0px;
}

div.message-holder
{
    height: 108px;
    padding-top: 18px;
}

a.forgotten, a.register
{
    color: #004892;
    font-size: 13px;
    display: block;
    margin: 10px 0px 12px 0px;
    display: inline;
}

a.forgotten:hover, a.register:hover
{
    color: #f49422;
    cursor: pointer;
}

button.sign-in
{
    border: none;
    font-weight: bold;
    color: #FFFFFF;
    padding:8px 16px 8px 16px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: 100%;
    margin: 15px 0;

    background-color: #004892;

    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

.btn:focus
{
    outline: none;
}

.btn-primary
{
    color: #fff;
    text-shadow: none;
    font-weight: bold;
    background: #004892;

    border-color: #000 #000 #000;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled]
{
    color: #fff;
    background-color: #F49422;
    border-color: #000 #000 #000;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

.account-error {
    color: red;
}

.validation-error {
    box-shadow: 0px 0px 2px 1px rgba(255, 14, 14, 1) !important;
}

div.mainContent
{
    width: 100%;
    margin: 60px auto 0px auto;
}

@media (min-width: 768px) {
    div.mainContent
    {
        width: 100%;
        margin: 60px auto 0px auto;
    }

    div.form.login {
        height: 370px;
    }

    div.login-panel {
        position: absolute;
        width: 28%;
        height: 370px;
    }

    div.message-panel {
        position: absolute;
        width: 72%;
        height: 370px;
        right: 0px;
        top: 0px;
    }

    footer ul {
        width: 696px;
    }

    footer ul li {
        width: 116px;
        margin: 0;
    }
}

@media (min-width: 980px) {
    div.mainContent
    {
        width: 980px;
        margin: 130px auto 0px auto;
    }

    div.login-panel {
        position: absolute;
        width: 250px;
        height: 370px;
    }

    div.message-panel {
        position: absolute;
        width: 730px;
        height: 370px;
        right: 0px;
        top: 0px;
    }
}

.password-toggle-icon {
    position: absolute;
    right: 10px;
    /* top:-24px; */
    /* transform: translateY(-150%); */
    cursor: pointer;
}

.password-toggle::-ms-reveal {
    display: none;
}

.password-toggle-container {
    position: relative !important;
    height: 0px !important;
    width: 0px !important;
    float: right !important;
}


.mobile-logo
{    
    margin-bottom: 25px;
}

.mobile-logo img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 50% !important;

}

@media only screen and (max-width: 768px) {

    div.mainContent{
        margin: 40px auto 0px auto;
    }

    .mobile-view {
        display: block !important;    
    }

    .desktop-view {
        display: none !important;
    }

    div.form.login {
        margin: 0px 10px 32px 10px !important;
        box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.3) !important;
        -webkit-box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.3) !important;
        -moz-box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.3) !important;
        border-radius: 15px !important;
        position: sticky !important;    
    }

    div.form.login  .login-panel{
        border-radius: 15px !important;
        padding-bottom: 50px;
    }

    div.message-holder {
        height: auto;
        min-height:50px;
    }

    .h1, h1 {
        font-size: 26px !important;
        font-family: Corbel Light !important;
    }

    element.style {
        margin: 0px 10px 32px 10px !important;
    }

    article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
        display: inline !important;
        text-align: center !important;
    }

    article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
        display: inline !important;
        text-align: center !important;
    }


    footer {
        background: none !important;
    }

    footer nav ul {
        text-align: center !important;
        padding: 0 25px !important;
    }

    footer nav ul li
    {
        float: none !important;
        display:inline !important;
        margin:0px;
    }

    .footer-sep
    {
        display: inline !important;
        font-weight: bold;
    }

}