﻿/*

    Company: Sysero
       Date: Apr 2019
     Author: R. Lambert

*/

html, body, #form1 {
    height: 100%;
    color: #000;
}
a {
    text-decoration: none;
}
.ValidationErrorText { color: red; }
.login2_aspx, .errorpage {
    margin: 0;
    padding: 0;
    font: normal 16px/20px 'Segoe UI light', Arial;
    user-select: none !important;
    -moz-user-select: none !important;
    -khtml-user-select: none !important;
    -webkit-user-select: none !important;
    -o-user-select: none !important;
}

.loginWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 100%;
    background: url('../largeimages/landing_imanage.jpg') center center/cover;
}

    .loginWrapper:before {
        width: 100%;
        height: 100%;
        position: fixed;
        content: '';
        display: block;
        top: 0;
        left: 0;
        background: linear-gradient(to top, #000, #2854a5);
        opacity: 0.75;
    }
.errorpage .loginWrapper:before { background: linear-gradient(to top, #000, red); }
.login_box_metro {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,1);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    height: auto;
    z-index: 2;
    margin: 10px;
    border-radius: 6px;
    box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 8px 10px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
}

.login_box_icon {
    order: 1;
    flex-grow: 1;
    float: none;
    margin: 0;
    padding: 10px;
    height: 40px;
}

    .login_box_icon img {
        max-height: 40px;
    }

.login_box_help {
    order: 2;
    flex-grow: 2;
    padding: 10px;
    height: 40px;
    text-align: right;
}

    .login_box_help a {
        display: inline-block;
        line-height: 40px;
        margin: 0 10px;
        color: #2854a5;
    }

        .login_box_help a:hover {
            text-decoration: underline;
        }

        .login_box_help a:last-child {
            margin-right: 0;
        }

.login_box_input {
    order: 3;
    flex-basis: calc(100% - 20px);
    padding: 10px;
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .login_box_input .HeaderLabel {
        display: block;
        width: 100%;
        text-align: center;
        margin: 50px 0 10px 0;
        padding: 0;
        font: normal 48px/58px 'Segoe UI light', Arial;
    }
    .errorpage .HeaderLabel { margin: 10px 0; }

.login_box_input .HeaderMetro {
    display: block;
    width: 100%;
    text-align: center;
    font: normal 16px/20px 'Segoe UI light', Arial;
    color: #333;
    margin: 0 0 80px 0;
}
    .errorpage .HeaderMetro { margin-bottom: 20px; }
    .errorpage p { width: 100%; text-align: center; margin: 0 0 10px 0; }

.login_box_fields {
    width: 100%;
}

    .login_box_fields #pnlPassword {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

.wrapEmail, .wrapPass {
    margin: 5px 10px;
    width: 100%;
    max-width: 300px;
}

.loginrememberme {
    flex-basis: 100%;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
    font: normal 14px/18px 'Segoe UI light', Arial;
}

.login_box_input_box {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}

    .login_box_input_box img {
        display: none;
    }

    .login_box_input_box .btnSubmit {
        display: block;
        width: 300px;
        height: 50px;
        background: linear-gradient(to top, #091327, #2854a5);
        border-radius: 25px;
        text-align: center;
        transition: all 0.8s ease;
    }

        .login_box_input_box .btnSubmit:hover {
            box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 8px 10px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
            width: 310px;
        }

            .login_box_input_box .btnSubmit:hover .FieldLabelMetro {
                letter-spacing: 2px;
            }

        .login_box_input_box .btnSubmit .FieldLabelMetro {
            display: block;
            width: 100%;
            margin: 0;
            padding: 0;
            color: #fff;
            font: normal 16px/50px 'Segoe UI', Arial;
            transition: all 0.8s ease;
        }

    .login_box_input_box .btnForgottonPassword .FieldLabelMetro {
        margin: 5px 0;
        font: normal 14px/20px 'Segoe UI light', Arial;
        color: #333;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .login_box_input_box .btnForgottonPassword:hover .FieldLabelMetro {
        text-decoration: underline;
    }

.login_box_oauth {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .login_box_oauth span {
        flex-basis: 100%;
        text-align: center;
    }

    .login_box_oauth a img {
        height: 40px;
        max-height: 40px;
    }

    .login_box_oauth a {
        padding: 10px;
        margin: 5px;
        border-radius: 10px;
        transition: all 0.8s ease;
        border: 1px solid #fff;
        background: transparent;
    }

        .login_box_oauth a:hover {
            border: 1px solid #ddd;
            background: #f7fbff;
        }

.login_box_fields .metroinputLabel {
    font: normal 14px/20px 'Segoe UI';
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 5px;
}

.login_box_fields input.FormInputMetro {
    width: calc(100% - 32px);
    max-width: 290px;
    height: 38px;
    font: normal 16px/38px 'Segoe UI light', Arial;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #f7fbff;
    padding: 5px 15px;
    color: #000;
}

    .login_box_fields input.FormInputMetro:focus {
        border: 1px solid #2854a5;
    }

    .login_box_fields input.FormInputMetro::placeholder {
        color: #f7fbff;
    }

    .login_box_fields input.FormInputMetro:-webkit-autofill {
        box-shadow: 0 0 0 1000px #f7fbff inset;
    }

.btnForgottonPassword {
    margin: 20px 0;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    visibility: hidden;
}

    [type="checkbox"]:not(:checked) + label,
    [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 1.95em;
        cursor: pointer;
    }

        [type="checkbox"]:not(:checked) + label:before,
        [type="checkbox"]:checked + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 1.25em;
            height: 1.25em;
            background: #e9edf2;
            border-radius: 5px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
        }

        [type="checkbox"]:checked + label:before {
            background: #2854a5;
        }

        [type="checkbox"]:not(:checked) + label:hover:before {
            background: #2854a5;
            opacity: 0.5;
        }

        [type="checkbox"]:checked + label:hover:before {
            opacity: 0.5;
        }

        [type="checkbox"]:not(:checked) + label:after,
        [type="checkbox"]:checked + label:after {
            content: '✓';
            position: absolute;
            top: 2px;
            left: 3px;
            font-size: 1.1em;
            line-height: 0.8;
            color: #ffffff;
            transition: all .2s;
        }

        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            transform: scale(0);
        }

        [type="checkbox"]:checked + label:after {
            opacity: 1;
            transform: scale(1);
        }
#pnlTwoFactor {
  max-width: 300px;
  margin: 0 auto;
}

@media(max-width:519px) {
    .login_box_icon { text-align: center; }
    .login_box_metro { padding: 10px; width: calc(100% - 20px); }
    .login_box_help { order: 5; text-align: center; height: auto; padding-top: 0; }
    .login_box_help a { margin: 0 5px; font-size: 13px; line-height: 20px; }
    .login_box_input .HeaderLabel {
        margin: 10px 0;
        font: normal 32px/32px 'Segoe UI light', Arial;
    }
    .login_box_input .HeaderMetro { margin-bottom: 20px; }
    .login_box_oauth { margin-top: 20px; }
    .btnForgottonPassword { margin: 5px 0; }
    .wrapEmail, .wrapPass { margin: 0 0 10px 0; }
}

/* cookie warning css --- also located in styles.css */
.cookieWarning {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: #333;
  border: 3px solid #f1f1f1;
  border-radius: 6px;
  width: 270px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 8px 10px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
}
.cookieWarning div {
  padding: 10px;
}
.cookieTitle {
  display: inline-block;
  vertical-align: top;
  font-size: 22px;
  font-weight: bold;
  color: #2854a5;
}
.cookieTitle span {
  display: block;
  padding-bottom: 10px;
  border-bottom: 3px solid #2854a5;
}
.cookieDesc {
    flex-grow: 1;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.cookieDesc a {
  color: #2854a5;
  display: block;
  margin-top: 13px;
}
.cookieDesc a:hover { text-decoration: underline; }
.cookieButton {
    display: flex;
}
.cookieButton span {
  flex-grow: 1;
}
.cookieButton a {
  display: inline-block;
  vertical-align: top;
  padding: 10px 20px;
  background: #2854a5;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cookieButton a:hover {
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.3);
  color: #fff;
  transition: all 0.3s ease;
}
.cookieButton #cookieReject {
    background: #f1f1f1; color: #777;
}
/* end cookie css */

.pnlOneTimePasswordReset {
    display: flex;
    flex-flow: row wrap;
}

.login_box_input_box {
    flex-flow: row wrap;
}

    .login_box_input_box .metroinputLabel {
        flex-basis: 100%;
        margin-top: 20px;
    }

.btnSubmit.lbOneTimeReset {
    margin-top: 50px;
}

.OfficeLogon .login_box_help {
    display: none;
}

.OfficeLogon .login_box_input .HeaderLabel, .OfficeLogon .login_box_oauth {
    margin-top: 0px;
}

.OfficeLogon .login_box_input .HeaderMetro {
    margin-bottom: 30px;
}

.OfficeLogon .login_box_metro {
    margin: 20px;
    max-width: 700px;
}

.btnMobileTwoFactor {
    font: normal 14px/20px 'Segoe UI light', Arial;
    color: #333;
    text-align: center;
    letter-spacing: 0.5px;
}

    .btnMobileTwoFactor:hover {
        text-decoration: underline;
    }