/* FONTS */
@font-face {
    font-family: 'Source Sans Pro';
    src: url("../fonts/SourceSansPro-Regular.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'icon';
    src: url('../fonts/applicationIcon.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


/* MAIN */
body, div.main-body {
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #333;
}


.ui-fullscreen {
    display: flex;
    flex-flow: column nowrap;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.ui-dialog-content {
    display: flex;
    flex-flow: column nowrap;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


.ui-footer {
    height: 100% !important;
    background: #434f60 url(../images/backgroundBottom.png) bottom left repeat-x;
    flex: 1 1;
}



.ui-header {
    display: flex;
    max-height: 88px;
    background: #434f60;
    width: 100%;
    flex: auto;
    justify-content: center;
    align-items: center;
    height:100%;
}

.ui-ident {
    max-width: 512px;
    width: 100%;
    padding: 0 24px;
}

.ui-logo {
    margin-top: 24px;
    font-family: icon;
    font-size: 24px;
    color: #0eb5eb;
}



.ui-content {
    position: relative;
    background: #fff;
    justify-content: center;
    align-items: center;
    flex: auto;
    display: flex;
}

.ui-loginContainer {
    max-width: 512px;
    width: 100%;
    padding: 0 24px;
}

#PIMLogo {
    font-family: icon;
    font-size: 48px;
    color: #434f60;
}


#loginApplicationSubTitle {
    font-family: Lato;
    font-size: 24px;
    font-weight: 400;
    color: #aaa;
}

#dialogMessage.error {
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 600;
    color: #c20101;
    font-size: 13px;
}

#dialogMessage {
    float: right;
    margin-top: 7px;
    margin-left: 2px;
    color: #b4b4b4;
}

#loginForm {
    padding-bottom: 100px;
    font-size: 12px;
    float: none;
    clear: both;
}

form {
    padding: 14px;
}


    form label {
        font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
        margin-bottom: 5px !important;
        font-weight: 400;
        display: inline-block;
        font-size: 13px;
        line-height: 24px;
        margin-left: 3px;
        padding-top: 0;
        padding-bottom: 0;
        text-transform: uppercase;
        color: #8d8d8d;
        position: relative;
        height: 20px;
        max-width: 100%;
    }

#loginForm .notLastField {
    margin-bottom: 17px;
}

#loginForm input[type="input"],
#loginForm input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.labelDescriptor {
    font-size: inherit;
    position: static;
    left: 0;
    padding-top: 2px;
}

form .labelDescriptor {
    float: right;
}

.link {
    color: #2c90ba;
    cursor: pointer;
}

    .link:hover {
        text-decoration: underline;
    }

.labelDescriptor .content {
    font-size: inherit;
}

.qrTable {
    width: 100%;
}

body .linked-text, body a {
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 400;
    color: #2c90ba;
    cursor: pointer;
    text-decoration: none;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

    body .linked-text:hover, body a:hover {
        text-decoration: underline;
    }

form input {
    font-size: 14px !important;
    border: 1px solid #b4b4b4;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1) inset;
    outline: 0;
    -webkit-appearance: none;
    height: 28px;
    background-image: none;
    color: #4d4d4d;
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 400;
    color: #323232;
    border: 1px solid #ccc;
    box-shadow: none !important;
    padding: 0 5px;
    position: relative;
    box-sizing: border-box;
}

    form input[type="text"],
    form input[type="password"] {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        margin-bottom: 17px;
    }

    form input[type="radio"] {
        -webkit-appearance: radio;
        float: left;
        border: none;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: none;
    }

form label.required::after {
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #b83b14;
    content: " *";
    line-height: 0;
}

.radioSelector {
    position: relative;
    display: inline-block;
}

    .radioSelector label {
        float: left;
        display: block;
        margin-left: 10px;
        line-height: 24px;
        text-transform: none;
        font-size: 14px;
        color: #3f3f3f;
        height: 28px;
    }

.btn-bar {
    float: right;
    margin-bottom: 15px;
}

    .btn-bar button {
        position: static;
        float: left;
        min-width: 80px;
        margin-left: 6px;
    }

.btn {
    cursor: pointer;
    display: inline-block;
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-image: linear-gradient(#fff,#fff 25%,#e6e6e6);
    padding: 5px 14px 6px;
    text-shadow: 0 1px 1px rgba(255,255,255,.75);
    color: #333;
    font-size: 13px;
    line-height: 17px;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    border-radius: 4px;
    box-shadow: rgba(255,255,255,.2) 0 1px 0 0 inset,rgba(0,0,0,.05) 0 1px 2px 0;
    height: 32px;
}

    .btn.pn-blue {
        -webkit-appearance: none;
        -webkit-box-shadow: #ced2db 1px 1px 1px 0px;
        -webkit-user-select: none;
        background-image: -webkit-linear-gradient(top,#60728a,#314052);
        background-image: -moz-linear-gradient(top,#60728a,#314052);
        background-image: linear-gradient(to bottom,#60728a,#314052);
        background-color: #4b5d75;
        border-radius: 4px;
        border: 1px solid #3c4757;
        box-shadow: #ced2db 1px 1px 1px 0px;
        box-sizing: border-box;
        color: #fff;
        cursor: pointer;
        display: block;
        float: left;
        font-family: 'Source Sans Pro', calibri, 'trebuchet ms', sans-serif;
        font-size: 13px;
        font-weight: 600;
        height: 32px;
        letter-spacing: normal;
        margin-bottom: 0px;
        margin-left: 6px;
        margin-right: 0px;
        margin-top: 0px;
        min-width: 80px;
        padding-bottom: 6px;
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 5px;
        position: relative;
        text-align: center;
        text-decoration: none;
        text-indent: 0px;
        text-shadow: rgb(0, 0, 0) -1px -1px 0px;
        text-transform: none;
        vertical-align: middle;
        white-space: nowrap;
    }

        .btn.pn-blue:hover:not(.disabled),
        {
            background-color: #4b5d75;
            text-decoration: none;
        }

#loginCopyright {
    font-family: 'Source Sans Pro',calibri,trebuchet ms,sans-serif;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    color: #434f60;
    font-size: 11px;
}

.ui-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ui-widget-overlay.dimmed {
    background: #000;
    opacity: .1;
}

.qrTable {
    width: 100%;
}

.TwoFAQrCodeModal {
    display: none;
}

    .TwoFAQrCodeModal .modalContent {
        font-size: 1.1em;
        padding: 15px;
    }



#TwoFAFeedback .error {
    color: red;
}

/* MODAL */
.ui-dialog {
    height: auto;
    max-width: 512px;
    width:calc(100% - 32px);
    overflow: hidden;
    position: relative;
    z-index: 1002;
    background-color: #fff;
    border: 1px solid #c2c2c2;
    border-radius: 6px;
    box-shadow: 2px 2px 7px 0 rgba(0,0,0,.2);
    align-self: center;
    justify-self: center;
    margin: auto;
}

.ui-dialog .ui-dialog-titlebar {
    background-image: linear-gradient(#fbfbfb,#f3f3f3);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #dcdcdc;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 40px;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-title {
    font-family: Lato,tahoma,calibri,trebuchet ms,sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #455d7c;
    line-height: 21px;
    margin-right: 60px;
    padding-left: 15px;
    padding-top: 10px;
}

.ui-dialog .ui-dialog-title {
    float: left;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog .ui-dialog-titlebar .ui-button-icon-only {
    background: 0 0;
    border: none;
    min-width: 0;
    top: 6px;
    right: 5px;
    width: 28px;
    height: 28px;
    margin: 0;
    position: absolute;
}


.ui-dialog-titlebar-close:before {
    display: block;
    font-family: "icon";
    content: "\e615";
    font-size: 16px;
    -webkit-font-smoothing: antialiased !important;
    line-height: 24px;
    font-size: 18px;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    text-align: center;
}

.ui-icon {
    width: 16px;
    height: 16px;
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}

#mbDiv {
    min-width: 320px;
    max-width: 560px;
    width: 100%;
}

.ui-dialog .mb-body {
    border-bottom: none;
    padding: 18px 16px;
    min-height: 21px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.ui-dialog .mb-footer {
    background-color: inherit;
    border-top: none;
    padding: 6px 16px 24px;
    height: 62px;
    width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-sizing: border-box;
}

.mb-buttons {
    float: right;
    margin-right: 12px;
    margin-top: 12px;
}

.ui-dialog .mb-footer .mb-buttons {
    margin: 0;
}
