@font-face {
    font-family: 'ProximaNova-Light';
    src: url('fonts/Proxima-Nova-Light.otf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNova-Regular';
    src: url('fonts/Proxima-Nova-Regular.otf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNova-Semibold';
    src: url('fonts/Proxima-Nova-Semibold.otf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNova-Bold';
    src: url('fonts/Proxima-Nova-Bold.otf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNova-Black';
    src: url('fonts/Proxima-Nova-Black.otf') format('truetype');
    font-style: normal;
}

html, body {
    background-color: white;
    box-sizing: border-box;
    font-family: 'ProximaNova-Regular', Arial, sans-serif;
    height: 100%;
    margin: 0;
    width: 100%;
}

*, *:before, *:after {
    box-sizing: inherit;
    font-family: 'ProximaNova-Regular', Arial, sans-serif;
}

.main {
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(12, 1fr);
    -ms-grid-columns: (1fr)[12];
    grid-template-rows: none;
    -ms-grid-rows: none;
    height: 100vh;
}

@media only screen and (max-width: 1024px) {
    .main {
        grid-template-columns: repeat(6, 1fr);
        -ms-grid-columns: (1fr)[6];
        width: 100%;
        max-width: 1024px;
    }
}

@media only screen and (min-width: 1025px) {
    .main {
        width: 100%;
    }
}

.loginContainer {
    background-image: url('../img/loginBackground.png');
    background-size: cover;
    display: flex;
    flex-flow: column;
    grid-column-start: 1;
    -ms-grid-column: 1;
    grid-column-end: span 6;
    -ms-grid-column-span: 6;
    height: 100vh;
}

.heroContainer {
    align-items: center;
    background-image: url('../img/heroBackground.jpg');
    background-size: cover;
    grid-column-start: 7;
    -ms-grid-column: 7;
    grid-column-end: span 6;
    -ms-grid-column-span: 6;
    display: flex;
    flex-flow: column;
    height: 100vh;
    justify-content: center;
}

.heroContainer .title {
    color: #FFFFFF;
    font-family: ProximaNova-Regular;
    font-size: 24px;
    letter-spacing: 9.76px;
    text-transform: uppercase;
}

.heroContainer .subtitle {
    color: #FFFFFF;
    font-family: ProximaNova-Bold;
    font-size: 52px;
    letter-spacing: 0.62px;
    margin-top: 16px;
    text-transform: uppercase;
}

.heroContainer .description {
    color: #FFFFFF;
    font-family: ProximaNova-Regular;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 24px;
    margin-bottom: 50px;    
    margin-top: 18px;
    max-width: 60%;
    text-align: center;
}

.heroContainer a {
    text-decoration: none;
}

.heroContainer .registration {
    align-items: center;
    background: #F27C21;
    border-radius: 2px;
    color: #FFFFFF;
    display: flex;
    font-family: ProximaNova-Semibold;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    letter-spacing: 1.2px;
    width: 200px;
    text-align: center;
    text-transform: uppercase;
}

.heroContainer .productImage {
    height: 320px;
    margin-top: 70px;
    width: 556px;
}

@media only screen and (max-width: 1024px) {
    .heroContainer {
        display: none;
    }
}

.loginBoxContainer {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
}

.loginBoxSubContainer {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
    display: flex;
    max-width: 520px;
    padding: 24px 40px 100px 40px;
}

/* 
 * IE needs the form element to have a display flex to keep
 * the content from spreading around.
*/
#loginForm {
    display: flex;
    max-width: 440px;
}

.loginBox {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 24px;
    width: 100%;
}

.xactlyLogo {
    height: 85px;
    width: 151px;
}

@media only screen and (max-width: 480px) {
    .loginBoxSubContainer {
        max-width: 94%;
        padding: 20px 20px 48px 20px;
    }
    
    .loginBox {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #loginForm {
        display: flex;
        max-width: 90%;
    }
}

.xactlyLogo {
    margin-bottom: 20px;
}

.usernameLabel {
    margin-bottom: 6px;
}

.normalLabel {
    font-size: 13px;
    color: #333333;
}

.errorLabel {
    color: #F76321;
}

.textInput {
    border: 1px solid #64ADC2;
    border-radius: 2px;
    font-size: 13px;
    height: 32px;
    outline: none;
    padding: 0 8px 0 8px;
}

.errorTextInput {
    border: 1px solid #F76321;
}

.validationMessage {
    color: #F76321;
    font-size: 12px;
    margin-top: 10px;
}

.show {
    visibility: visible;
}

.hide {
    visibility: hidden;
}

.products {
    color: #666666;
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 8px;
}

.errorMessage {
    background-color: rgba(247,99,33,0.08);
    border-radius: 2px;
    color: #F76321;
    font-size: 12px;
    margin-bottom: 8px;
    padding: 8px;
}

.username {
    width: 100%;
}

.buttonContainer {
    display: flex;
    flex-direction: row;       
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.leftButtonContainer {
    align-items: left;
    display: flex;
    flex: auto;
}

.rightButtonContainer {
    align-items: right;
    display: flex;
    flex: initial;
}

.footer {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: row;       
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 16px;
}

.leftFooter {
    color: #333333;
    display: flex;
    align-items: left;
    flex: auto;
}

.rightFooter {
    color: #2895AD;
    display: flex;
    flex-direction: row;
    align-items: right;
    flex: initial;
}

.rightFooter a {
    color: inherit;
    text-decoration: none;
}

.privacyContainer {
    padding-right: 8px;
}

.legalContainer {
    border-left: solid 1px #999999;
    border-right: solid 1px #999999;
    padding-left: 8px;
    padding-right: 8px;
}

.securityContainer {
    padding-left: 8px;
}

.loginLabel {
    color: #333333;
    font-family: ProximaNova-Semibold;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.button {
    cursor: pointer;
    font-size: 13px;
    line-height: 16px;
    padding: 6px 0 6px 0;
    text-align: center;
}

.secondaryButton {
    color: #2E95AC;
}

.primaryButton {
    border-radius: 2px;
    background-color: #64ADC2;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    color: #FFFFFF;
    min-width: 80px;
    padding: 6px 12px 6px 12px;
}

.primaryButtonContainer {
    margin-left: 12px;
}

.dropDown{
    width: 100%;
    border: 1px solid #64ADC2;
    border-radius: 2px;
    font-size: 13px;
    height: 32px;
    outline: none;
    padding: 0 8px 0 8px;
}

.errorDropDown {
    border: 1px solid #F76321;
}

