﻿/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
{
  border-top-color: #f2f2f2 !important;
  -webkit-text-fill-color: #37474f;
  -webkit-box-shadow: 0 0 0px 1000px #f2f2f2 inset;
  transition: background-color 5000s ease-in-out 0s;
}

html
{
    font-size:62.5%;
}

html body 
{
    font-size: 1.1rem;

}

.stsMainLogo
{
    top:0px;
    position: absolute;
    margin-left: -35px;
    left: 50%;
    /*Same height as top-bar*/
    z-index: 3000;
    background-repeat: no-repeat;
}

.stsLoginInPanel
{
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #f2f2f2;
    font-family: "Open-Sans", "Segoe UI Regular", "Helvetica", "Sans-serif";
}

/* Don't show IE's clear andd reveal buttons */
.stsLoginInPanel input[type=text]::-ms-clear,
.stsLoginInPanel input::-ms-reveal
{
    display: none;
}

.stsLoginInPanel a,
.stsLoginInPanel input
{
    outline: none;
}


.stsLoginInPanel .stsHeader
{
    flex-shrink: 0;
    height: 34px;
    background-color: #36474f;
}

.stsLoginInPanel .stsMain
{
    flex: 1;
    overflow: auto;
}

/* css layout for a div table */
.layout-table
{
    display:table;
    height: 100%;
    width:100%;
}

.layout-table-row
{
    display:table-row;
}

.layout-table-cell
{
    display:table-cell;
    text-align: center;
    vertical-align: middle;
}
.layout-table-cell-alignment
{
    display:inline-block;
}
/* end css layout for a div table */

.stsLoginInPanel .stsMain .stsLoginDetails
{
    height: auto;
    width: 300px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.stsLoginInPanel .stsLoginUserName,
.stsLoginInPanel .stsPassword
{
    position:relative;
}

.stsLoginInPanel .stsFooter
{
    flex-shrink: 0;
    background-color: #e2e5e5;
    height: 34px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stsLoginDetails .input-control
{
    color: #37474f;
    font-family: inherit;
    font-style: normal;
    background-color: transparent;
    box-sizing: border-box;
    min-height: 24px;
    width: 300px;
    font-size: 1.2rem;
    padding: 0px;
    padding-bottom: 4px;
    border: 1px solid transparent;
    border-bottom-color: rgba(55, 71, 79, 0.5);
    border-left-width: 0px;
    border-right-width: 0px;
}

.stsLoginDetails .validation-error
{
    font-family: inherit;
    padding-top: 10px;
    font-size: 1rem;
    text-align: center;
    color:rgba(183, 28, 28, 0.5);
}

.input-control-watermark
{
    display:none;
}

.legacyIE .input-control-watermark
{
    display:block;
    color: #9ca3ac;
    font-style: italic;
    font-size: 1.2rem;
    padding-left: 0px;
    padding-right: 0px;
}

.input-control::placeholder
{ /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #9ca3ac;
    font-style: italic;
    opacity: 1; /* Firefox */
}

.input-control:-ms-input-placeholder
{ /* Internet Explorer 10-11 */
    color: #9ca3ac;
    font-style: italic;
}

.input-control::-ms-input-placeholder
{ /* Microsoft Edge */
    color: #9ca3ac;
    font-style: italic;
}

.stsLoginDetails .input-control:focus
{
    border-bottom-color: rgba(33,150,243, 0.8);
}

.stsLoginDetails .input-control.invalid
{
    border-bottom-color: rgba(183, 28, 28, 0.5);
}

.stsLoginUserNamePlaceHolder
{
    height: 56px;
}

.stsPasswordPlaceHolder
{
    min-height: 40px;
    max-height: 100px;
    padding-bottom: 10px;
}

.stsRememberMePlaceHolder
{
    height: 100px;
    display: none;
}

.stsSignInButton
{
    text-align: center;
}

.stsSignInButton .button
{
    font-family: inherit;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2rem;
    text-overflow: ellipsis;
    color: #FFFFFF;
    display: inline-block;
    background-color: #2196f3;
    background-clip: border-box;
    box-sizing: border-box;
    margin: 0 auto;
    float: none;
    width: 80px;
    height: 30px;
    line-height: 28px;
    padding-left: 20px;
    padding-right: 20px;
    border-color: transparent;
    border-style: solid;
    border-width: 1.2px;
    box-shadow: none;
    border-radius: 2px;
}

.stsSignInButton .button:hover
{
    background-color: #29b6f6;
}

.stsSignInButton .button:focus
{
    border-color: #1b7ecd;
    border-style: solid;
    border-width: 1.2px;
}

.stsSignInButton .button:focus:hover
{
    background-color: #29b6f6;
    border-color: #1b7ecd;
}

.stsSignInButton .button.disabled,
.stsSignInButton .button.disabled:hover,
.stsSignInButton .button.disabled:focus,
.stsSignInButton .button.disabled:focus:hover
{
    color: #f0f0f1;
    background-color:#bfc1c2;
    border-color: transparent;
    pointer-events: none;
}

.stsFooter .PageHelpLink > a
{   
    font-size: 1.4rem;
    display: block;
    opacity: 0.7;
    color: rgba(33, 150, 243, 0.8);
    text-decoration: none;
    padding: 4px;
    padding-left: 34px;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-image: url("Platinum2/images/Icons/DesignerLogin/LearnMore24.png");
    background-position: 4px center;
    border-style: solid;
    border-color: transparent;
    border-width: 1px;
}

.stsFooter .PageHelpLink > a:hover
{
    opacity: 1;
    color:  rgba(33, 150, 243, 1);
}

.stsFooter .PageHelpLink > a:focus
{
    border-color: #2196f3;
}

.stsSignInButton .button.loading
{
    pointer-events: none;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 50%;
    color: transparent;
}

.preload-icon
{
    display: none;
}

/* Screen 1650px: Dimensions for big screen size */
@media only screen and (min-width:1650px)
{
    .legacyIE .input-control-watermark
    {
        font-size: 2rem;
    }
    .stsLoginInPanel .stsHeader
    {
        height: 50px;
    }

    .stsLoginInPanel .stsMain .stsLoginDetails
    {
        width: 500px;
    }

    .stsLoginInPanel .stsFooter
    {
        height: 68px;
    }

    .stsLoginDetails .input-control
    {
        min-height: 30px;
        width: 500px;
        font-size: 2rem;
        padding: 0px;
        padding-bottom: 4px;
    }

    .stsLoginDetails .validation-error
    {
        padding-top: 14px;
        font-size: 2.2rem;
    }

    .stsLoginUserNamePlaceHolder
    {
        height: 80px;
    }

    .stsPasswordPlaceHolder
    {
        height: 80px;
        min-height: 70px;
        max-height: 160px;
        padding-bottom: 10px;
    }

    .stsRememberMePlaceHolder
    {
        height: 130px;
        display: none;
    }

    .stsSignInButton .button
    {
        font-size: 2.4rem;
        width: 150px;
        height: 50px;
        line-height: 46px;
        border-width: 1.5px;
    }

    .stsSignInButton .button:focus
    {
        border-width: 1.5px;
    }

    .stsFooter .PageHelpLink > a
    {   
        font-size: 2rem;
        height: 46px;
        line-height: 44px;
        padding: 4px;
        padding-left: 50px;
    }
}

/*Images - normal*/
@media only screen and (max-resolution: 1.5dppx) and (max-width: 1650px), 
    (max-resolution: 144dpi) and (max-width: 1650px), 
    (-webkit-max-device-pixel-ratio: 1.5) and (max-width: 1650px), 
    (-o-max-device-pixel-ratio: 3/2) and (max-width: 1650px)
{
    .stsMainLogo
    {
        margin-left: -35px;
        width: 70px;
        height: 70px;
        background-size: 70px 70px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2Logo70.png");
    }

    html.designer .stsMainLogo
    {
        margin-left: -35px;
        margin-top: 0px;
        width: 70px;
        height: 91px;
        background-size: 70px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoDesigner70.png");
    }

    html.management .stsMainLogo
    {
        margin-left: -50px;
        margin-top: 0px;
        width: 99px;
        height: 91px;
        background-size: 99px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoManagement70.png");
    }

    html.workspace .stsMainLogo
    {
        margin-left: -44px;
        margin-top: 0px;
        width: 88px;
        height: 91px;
        background-size: 88px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoWorkspace70.png");
    }

    .stsFooter .PageHelpLink > a
    {   
        background-size: 24px 24px;
        background-image: url("Platinum2/images/Icons/DesignerLogin/LearnMore24.png");
        background-position: 4px center;
    }

    .stsSignInButton .button.loading,
    .preload-icon.button.loading
    {
        background-image: url("Platinum2/images/Icons/DesignerLogin/LoadingControl_2196f3_16.gif");
    }

}

@media only screen and (max-resolution: 1.5dppx) and (min-width: 1650px), 
    (max-resolution: 144dpi) and (min-width: 1650px), 
    (-webkit-max-device-pixel-ratio: 1.5) (min-width: 1650px), 
    (-o-max-device-pixel-ratio: 3/2) (min-width: 1650px)
{
    .stsMainLogo
    {
        margin-left: -50px;
        width: 100px;
        height: 100px;
        background-size: 100px 100px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2Logo100.png");
    }

    html.designer .stsMainLogo
    {
        margin-left: -50px;
        margin-top: 0px;
        width: 100px;
        height: 130px;
        background-size: 100px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoDesigner100.png");
    }

    html.management .stsMainLogo
    {
        margin-left: -70px;
        margin-top: 0px;
        width: 140px;
        height: 130px;
        background-size: 140px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoManagement100.png");
    }

    html.workspace .stsMainLogo
    {
        margin-left: -63px;
        margin-top: 0px;
        width: 126px;
        height: 130px;
        background-size: 126px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoWorkspace100.png");
    }

    .stsFooter .PageHelpLink > a
    {   
        background-size: 32px 32px;
        background-image: url("Platinum2/images/Icons/DesignerLogin/LearnMore32.png");
        background-position: 4px center;
    }

    .stsSignInButton .button.loading,
    .preload-icon.button.loading
    {
        background-image: url("Platinum2/images/Icons/DesignerLogin/LoadingControl_2196f3_24.gif");
    }
}

/*Images@2x - hi-dpi*/
@media only screen and (min-resolution: 1.5dppx) and (max-width: 1650px), /*this is for retina graphics, apple/samsung devices*/
    (min-resolution: 144dpi) and (max-width: 1650px), 
    (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 1650px), 
    (-o-min-device-pixel-ratio: 3/2) and (max-width: 1650px)
{
    .stsMainLogo
    {
        margin-left: -35px;
        width: 70px;
        height: 70px;
        background-size: 70px 70px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2Logo70@2x.png");
    }

    html.designer .stsMainLogo
    {
        margin-left: -35px;
        margin-top: 0px;
        width: 70px;
        height: 91px;
        background-size: 70px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoDesigner70@2x.png");
    }

    html.management .stsMainLogo
    {
        margin-left: -50px;
        margin-top: 0px;
        width: 99px;
        height: 91px;
        background-size: 99px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoManagement70@2x.png");
    }

    html.workspace .stsMainLogo
    {
        margin-left: -44px;
        margin-top: 0px;
        width: 88px;
        height: 91px;
        background-size: 88px 91px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoWorkspace70@2x.png");
    }

    .stsFooter .PageHelpLink > a
    {   
        background-size: 24px 24px;
        background-image: url("Platinum2/images/Icons/DesignerLogin/LearnMore24@2x.png");
        background-position: 4px center;
    }

    .stsSignInButton .button.loading,
    .preload-icon.button.loading
    {
        background-image: url("Platinum2/images/Icons/DesignerLogin/LoadingControl_2196f3_16@2x.gif");
    }
}

@media only screen and (min-resolution: 1.5dppx) and (min-width: 1650px), /*this is for retina graphics, apple/samsung devices*/
    (min-resolution: 144dpi) and (min-width: 1650px), 
    (-webkit-min-device-pixel-ratio: 1.5) and (min-width: 1650px),
    (-o-min-device-pixel-ratio: 3/2) and (min-width: 1650px)
{
    .stsMainLogo
    {
        margin-left: -50px;
        width: 100px;
        height: 100px;
        background-size: 100px 100px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2Logo100@2x.png");
    }

    html.designer .stsMainLogo
    {
        margin-left: -50px;
        margin-top: 0px;
        width: 100px;
        height: 130px;
        background-size: 100px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoDesigner100@2x.png");
    }

    html.management .stsMainLogo
    {
        margin-left: -70px;
        margin-top: 0px;
        width: 140px;
        height: 130px;
        background-size: 140px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoManagement100@2x.png");
    }

    html.workspace .stsMainLogo
    {
        margin-left: -63px;
        margin-top: 0px;
        width: 126px;
        height: 130px;
        background-size: 126px 130px;
        background-image: url("Platinum2/images/Icons/DesignerHome/K2LogoWorkspace100@2x.png");
    }

    .stsFooter .PageHelpLink > a
    {   
        background-size: 32px 32px;
        background-image: url("Platinum2/images/Icons/DesignerLogin/LearnMore32@2x.png");
        background-position: 4px center;
    }
    .stsSignInButton .button.loading,
    .preload-icon.button.loading
    {
        background-image: url("Platinum2/images/Icons/DesignerLogin/LoadingControl_2196f3_24@2x.gif");
    }
}


