/* General */
body, div
{
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
}

html
{
    width: 100%;
    height: 100%;
}

body
{
    display: block;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    font-size: 10pt;
    color: #444444;
    background: #fff;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font: 14px/21px;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
    background-color: #ffffff;
    margin: 0px;
}

#authPane
{
    position: absolute;
    right: 0pt;
    top: 0pt;
    margin-top: 8px;
    margin-right: 5px;
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    vertical-align: middle;
}
#authPane span
{
    margin-right: 10px;
    white-space: nowrap;
    color: #999999;
}

    #authPane span.action
    {
        color: #3297d6;
        cursor: pointer;
    }

.float-container
{
    width: auto;
    height: auto;
    position: relative;
    border: none;
    text-align: center;
}

    .float-container .login-container
    {
        margin: auto;
        display: inline-block;
        max-width: 1250px;
        width: 100%;
        height: auto;
    }

        .float-container .login-container .label
        {
            text-align: left;
            font-size: 16px;
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
            width: 90%;
            padding-left: 5px;
        }

        .float-container .login-container .background-panel
        {
            display: inline-table;
            height: 100%;
            margin: auto;
            padding-top: 30px;
            padding-bottom: 30px;
        }

            .float-container .login-container .background-panel .login-panel
            {
                height: auto;
                min-width: 300px;
                max-width: 600px;
                border: none;
                box-sizing: border-box;
                display: inline-table;
                margin: auto;
                text-align: initial;
            }

                .float-container .login-container .background-panel .login-panel .center
                {
                    width: 350px;
                    height: auto;
                    margin: auto;
                    min-width: 200px;
                }

.login-panel
{
    border: none;
    box-sizing: border-box;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

h2
{
    color: #3297d6;
    margin: 0px;
    margin-bottom: 16px;
    padding: 0px;
    font-weight: 300;
}

.float-container .login-container h2.label
{
    padding-left: 0px;
    width: 100%;
}

    .float-container .login-container h2.label#message
    {
        color: #F00000;
        font-size: 14px;
    }

    .float-container .login-container h2.label.centered
    {
        text-align: center;
    }

img
{
    border: 0;
}

.login-panel .row
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 8px;
}

.login-panel input,
.login-panel select
{
    width: 100%;
    height: 40px;
    display: inline-block;
    margin: 0px;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 4px;
    border-width: 1px;
    border-color: #C0C0C0;
    border-style: solid;
    padding: 5px;
    outline-width: 1px;
}

.login-panel input
{
    background-color: rgba(255, 255, 255, .50);
}

/* ============ */
#header, #headerBg
{
    top: 0px;
    height: 150px;
}

#header, #footer
{
    width: 100%;
    position: absolute;
    left: 0px;
    float: none;
    clear: both;
}

.footer
{
    background-image: url(../images/background.png);
    background-repeat: no-repeat;
    background-position-y: -150px;
    background-position-x: -40px;
    position: fixed;
    text-align: center;
    bottom: 0px;
    background-color: #ffffff;
    width: 100%;
    border-top: solid 1px #3297d6;
    padding-bottom: 5px;
}

    .footer *
    {
        text-decoration: none;
        white-space: nowrap;
        color: #3297d6 !important;
    }

/****************************/
/* Structure */
.header
{
    height: 125px;
    border-bottom-color: #3297d6;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    background-color: transparent;
}

    .logo-container
    {
        height: 145px;

        background-color: transparent;
        overflow: hidden;
    }

    .logo-container img
    {
	    margin: 29px 64px;
	    float:left;
        width: 260px;
    }


/* Buttons */
.btnPane
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 5px;
}
/* #Buttons
================================================== */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"]
{
    background: #ccc;
    border: solid 1px transparent;
}

    .button:hover,
    button:hover,
    input[type="submit"]:hover,
    input[type="reset"]:hover,
    input[type="button"]:hover
    {
        background: #aaa;
        border: 1px solid #808080;
        border-top: 1px solid #A0A0A0;
        border-left: 1px solid #A0A0A0;
    }

    .button:active,
    button:active,
    input[type="submit"]:active,
    input[type="reset"]:active,
    input[type="button"]:active
    {
        background: #666;
        border: solid 1px transparent;
    }

    /* Fix for odd Mozilla border & padding issues */
    button::-moz-focus-inner,
    input::-moz-focus-inner
    {
        border: 0;
        padding: 0;
    }
/* --------------------------- */

.loginbtn,
.loginbtn:hover
{
    width: 100%;
    height: 40px;
    line-height: 32px;
    display: inline-block;
    margin: 0px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 500;
    padding: 1px;
    vertical-align: middle;
    background-color: #3297d6;
    text-align: left;
    color: #FFFFFF;
    cursor: pointer;
}

    .loginbtn div
    {
        display: inline-block;
        line-height: 18px;
        vertical-align: middle;
        position: relative;
    }

.imgcont
{
    border-right: solid 1px rgba(255, 255, 255, .50);
}

.imgbtn
{
    width: 36px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: top center;
    margin-top: -2px;
}

.separator
{
    display: inline-table;
    background-color: transparent;
    margin-top: auto;
    margin-bottom: auto;
}

    .separator #prev,
    .separator #post
    {
        display: block;
        height: 68px;
        width: 1px;
        background-color: #3297d6;
        background-color: #D0D0D0;
        margin: 15px;
    }

    .separator #prev
    {
        margin-top: 0px;
    }

    .separator #post
    {
        margin-bottom: 0px;
    }

.floatRight
{
    float: right;
}

/* Footer */
#footer
{
    font-family: Verdana,Arial,sans-serif;
    clear: both;
    border-top: 1px solid #3297d6;
    color: #3297d6;
    padding: 6px 14px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    bottom: 5px;
    z-index: 0;
    font-size: 8pt;
}

    #footer p a
    {
        border: none;
    }

    #footer h6
    {
        float: right;
        font-size: 10pt;
    }

#footer .wrapper { width: 97% }
#footer a {
    color: inherit;
    text-decoration: none;
}
/* ---------- Mini ------------ */
@media only screen and (max-width: 800px)
{

    .float-container .login-container .background-panel
    {
        width: 90%;
        height: 100%;
        margin: auto;
        margin-bottom: 20px;
    }

    .float-container .login-container h2.label
    {
        text-align: center;
    }

    .separator
    {
        display: block;
        height: 32px;
        line-height: 32px;
        vertical-align: middle;
    }

        .separator span:first-of-type
        {
            display: none;
        }

        .separator span
        {
            margin-top: auto;
            margin-bottom: auto;
        }

        .separator #prev,
        .separator #post
        {
            display: inline-block;
            width: 135px;
            height: 1px;
            margin-top: auto;
            margin-bottom: auto;
        }
}

@media only screen and (max-width: 528px)
{
    .hiddenThin
    {
        display: none;
    }
}

@media only screen and (max-width:450px)
{
    .float-container .login-container .background-panel .login-panel .center
    {
        width: 100%;
    }

    .separator #prev,
    .separator #post
    {
        width: 30%;
        max-width: 30%;
        height: 1px;
        margin-top: auto;
        margin-bottom: auto;
    }
}

@media only screen and (max-width: 412px)
{
    .header
    {
        text-align: center;
    }

    .logo
    {
        max-width: 85%;
        margin-left: 0px;
        margin-top: 14px;
    }
}

@media only screen and (max-height: 640px)
{
    .header
    {
        height: 100px;
    }

    .logo-container img
    {
        height: 60px;
        width: auto;
    }
}

@media only screen and (max-height: 540px)
{
    .float-container .login-container .background-panel
    {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .float-container .login-container h2.label
    {
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .header
    {
        height: 70px;
        text-align: left;
    }

}

@media only screen and (max-height: 480px)
{
    .float-container .login-container .background-panel
    {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .float-container .login-container h2.label
    {
        margin-top: 6px;
        margin-bottom: 4px;
    }

    .separator
    {
        display: block;
        height: 20px;
        line-height: 20px;
        vertical-align: middle;
    }
}

@media only screen and (max-height: 400px)
{
    .login-panel .row,
    #login-page .row
    {
        padding-bottom: 5px;
    }
}

@media only screen and (max-width: 320px)
{
    #login-page
    {
        max-width: 280px;
    }
}

.lnkButton
{
    text-decoration: none;
    white-space: nowrap;
}

    .lnkButton:hover,
    .lnkButton:visited
    {
        color: #ffffff;
    }

    .lnkButton .imgbtn
    {
        height: 36px;
        margin-top: 0px;
        background-color: #FFFFFF;
        background-position: center center;
        border-top-left-radius: 2px;
        border-bottom-left-radius: 2px;
    }

    .loginbtn .labelbtn,
    .lnkButton .labelbtn
    {
        margin-left: 10px;
    }

/** OAUTH/2 BUTTONS DEFINITION  **/
#google { background-color:#4285F4; }
#google .imgbtn { background-image: url(../images/sso/google.png); }

#facebook { background-color:#2f4e9e; }
#facebook .imgbtn { background-image: url(../images/sso/facebook.png); }

#yahoo { background-color:#6839af; }
#yahoo .imgbtn { background-image: url(../images/sso/yahoo.png); background-size: 30px; }

#linkedin { background-color:#00A0DC; }
#linkedin .imgbtn { background-image: url(../images/sso/linkedin.png); }

#dropbox { background-color:#007ee6; }
#dropbox .imgbtn { background-image: url(../images/sso/dropbox.png); background-size: 30px; }