﻿:root {
    --env-font-family: Lato, sans-serif;
    --env-icon-font-family: "Font Awesome 6 Pro";
}

@font-face {
    font-family: 'tamarac custom';
    src: url('../fonts/tamarac-custom.eot');
    src: url('../fonts/tamarac-custom.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tamarac-custom.woff') format('woff'),
         url('../fonts/tamarac-custom.ttf') format('truetype'),
         url('../fonts/tamarac-custom.svg#tamarac-custom') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class*='tam-']:before{
	display: inline-block;
    font-family: 'tamarac custom';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.tam-corner-grip-left:before{content:'\0041';}
.tam-announcement:before{content:'\0042';}
.tam-corner-top-left:before{content:'\0043';}
.tam-corner-top-right:before{content:'\0044';}
.tam-columns-18x16:before{content:'\0045';}
.tam-autofit-columns-18x16:before{content:'\0046';}
.tam-icon-accountgroup:before{content:'\0047';}
.tam-unlink:before{content:'\0048';}
.tam-columns-16x16:before{content:'\0049';}
.tam-autofit-columns-16x16:before{content:'\004a';}
.tam-tradesummary-off-22x18:before{content:'\004b';}
.tam-tradesummary-on-22x18:before{content:'\004c';}
.tam-rebalancesummary-off-22x18:before{content:'\004d';}
.tam-rebalancesummary-on-22x18:before{content:'\004e';}
.tam-icon-related:before{content:'\004f';}
.tam-fingerprint:before{content:'\0050';}
.tam-Check-O:before{content:'\0051';}
.tam-link:before{content:'\0052';}
.tam-XPS-icon:before{content:'\0053';}
.tam-checklist:before{content:'\0055';}
.tam-sort-alpha-ascending:before{content:'\0056';}
.tam-sort-alpha-descending:before{content:'\0057';}
.tam-sort-date-ascending:before{content:'\0058';}
.tam-sort-date-descending:before{content:'\0059';}
.tam-sort-type:before{content:'\005a';}
.tam-EnvTamChevron:before{content:'\0061';}

body {
    font-family: Lato, sans-serif;
    margin: 0;
}

#main {
    background-image: url('../img_static/Tamarac-Platform-Logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 100px;  
    margin: 0 auto 12px;
    width: 292px;     
}

#divLogin {
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

.loginContainer {
    background-color: #ffffff;
    box-sizing: border-box;
    margin: 20vh auto;
    max-width: 100%;
    padding: 45px 10px 33px;
    width: auto;
}

.mobile #divLogin {
    height: 100%;
}

.mobile .loginContainer {
    margin: 0 auto;
}

#MessageDiv:empty {
    display: none;
}


@media (max-height: 1200px) {
    .loginContainer {
        margin-top: 180px;
    }
}

@media (max-height: 1000px) {
    .loginContainer {
        margin-top: 140px;
    }
}

@media (max-height: 900px) {
    .loginContainer{
        margin-top: 100px;
    }
}

@media (max-height: 736px) {
    .loginContainer {
        margin-top: 60px;
    }
}
@media (max-height: 670px) {
    .loginContainer {
        margin-top: 40px;
    }
}

@media (max-height: 610px) {
    .loginContainer {
        margin-top: 20px;
    }
}


@media(min-width: 456px){
    body:not(.mobile) {
        background-color: #f2f5f7;

    }

    body:not(.mobile) .loginContainer {
        -webkit-box-shadow: 0px 0px 10px 0px rgba(184,182,184,1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(184,182,184,1);
        box-shadow: 0px 0px 10px 0px rgba(184,182,184,1); 
        padding-left: 54px;
        padding-right: 54px;
        width: 456px;
    }
}

.mobile .k-switch {
    border-width: 0;
    font-size: 16px;
    box-shadow: none;
    -webkit-box-shadow: none
}

.mobile .km-switch-container,
.mobile .km-switch-background,
.mobile .km-switch-wrapper,
.mobile .km-switch-handle {
    border-radius: 15px
}

.mobile .km-switch-background {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px
}

.mobile .km-switch-background,
.mobile .km-switch-handle {
    color: #2EA2D7
}

input[type=text],
input[type=password],
input[type=tel] {
    background: #f7f7f7;    
    border: none;
    box-sizing: border-box;
    color: #000000;
    font-family: var(--env-font-family);
    font-size: 14px;
    font-weight: 400;
    height: 40px;
    outline: none !important;
    padding: 8px 10px;
    width: 100%;
}

input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f7f7f7 inset !important;
    box-shadow: 0 0 0px 1000px #f7f7f7 inset !important;
}

input.k-textbox, 
input.k-textbox:focus,
input.k-textbox:hover {
    background: transparent;
    -webkit-box-shadow:none;
    box-shadow: none;
    outline: none;
}

input::-webkit-input-placeholder {
    color: #a2acb5;
    font-style: normal;
}
input::-moz-placeholder {
    color: #a2acb5;
    font-style: normal;
}
input:-ms-input-placeholder {
    color: #a2acb5;
    font-style: normal;
}
input:-moz-placeholder {
    color: #a2acb5;
    font-style: normal;
}

.login.input {
    background: #f7f7f7;
    margin-bottom: 5px;
    padding: 0;
    position: relative;
}

.login.input .fa {
    color: #a2acb5;
    font-size: 15px;
    height: 40px;
    left: 0;
    line-height: 40px;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    width: 32px;
    z-index: 10;
}

.login.input .k-button {
    display: block;
    height: 40px;
    margin-bottom: 18px;
    width: 100%;
}

.error {
    background: #ffecec;
    color: #9e0b0f;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 12px 4px 12px 40px;
    position: relative;
    text-transform: uppercase;
}

.error:before {
    align-items: center;
    background: #f75656;
    bottom: 0;
    color: #fff;
    content: '\f06a';
    display: flex;
    font-family: var(--env-icon-font-family);
    font-weight: 900;
    font-size: 16px;
    justify-content: space-around;
    left: 0px;
    padding: 12px 4px;
    position: absolute;
    text-align: center;
    top: 0px;
    width: 24px;
}

.authInputError {
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    top: 0;
}

.authInputError:before {
    background: #f7f7f7;
    border-left: 3px solid #f75656;
    bottom: 0;
    color: #f75656;
    display: block;
    font-family: var(--env-icon-font-family);
    font-size: 15px;
    left: 0;
    line-height: 40px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 26px;
    z-index: 11;
}

.authInputError.noIcon:before {
    content: '' !important;
    width: 0;
}

.passwordResetError {
    display: block
}

#UserLogin_UserName,
#UserLogin_Password,
#PortalCode {
    height: 40px; /* fix for firefox kendo styling (.k-ff input.k-textbox)*/
    padding-left: 35px;
}

/* FontAwesome Icons for error fields */
#UserLogin_UserNameRequired:before,
#UserNameRequired:before {
    content: "\f2bd"; /* fa-user-circle-o*/
}

#UserLogin_PasswordRequired:before {
    content: "\f023"; /* fa-lock */
}

footer {
    position: relative;
    text-align: center;
    width: 100%;
}

@media (min-height: 700px) {
    footer {
        bottom: 0;
        position: fixed;
    }
}

@media (min-width: 1024px) {
    footer {
        width: 50vw;
    }
}

footer nav {
    margin-bottom: 10px;
}

footer nav .fa {
    transition: all 0.5s ease-out; 
}

footer nav a:hover .fa, 
footer nav a:visited:hover .fa{
    color: #207BA6;
}

footer ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .fa-brands {
    color: #2ea2d7;
    font-size: 32px;
}

footer li + li{
    margin-left: 30px;
}

footer .compactNav {
    font-weight: 700;
    text-transform: uppercase;
}

footer .compactNav a {
    color: #2ea2d7;
    text-decoration: none;
}

footer .compactNav a:hover {
    text-decoration: underline;
}

footer .compactNav li + li {
    margin-left: 5px;
}

footer .compactNav li + li:before {
    color: #2ea2d7;
    content: '/';
    margin-right: 5px; 
}

footer p {
    color: #999999;
    font-size: 10px;
    margin-bottom: 25px;
}