md-toolbar.top_bar {
    height: 60px;
    min-height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
}

body,
html {
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

body {
    font-family: 'SFProTextRegular', Arial;
    text-rendering: geometricPrecision;
    font-smooth: always;
    font-weight: 400;
    font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
}

section {
    margin-top: 3px;
    min-height: 476px;
}

md-card {
    height: 450px;
    /*-webkit-transform: translate3d(0,0,0);*/
    /*-webkit-perspective: 1000;*/
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    /*transition: all .2s ease-in-out;*/
    /*width: 300px;*/
    /*margin-right: 30px;*/
    /*width: 290px!important;*/
}

@media (max-width: 959px) {
    div.top-head {
        display: block !important;
    }
}

div.top-head {
    margin-top: 60px;
    overflow: auto;
    height: auto;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

div.top-head-container {
    width: 100%;
}

div.top-head h1 {
    margin-bottom: 20px;
}

h1.heading-zl {
    font-size: 45px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.18;
    letter-spacing: normal;
    text-align: left;
    color: #000000;
}

p.small-heading {
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 38px;
    letter-spacing: normal;
    text-align: center;
    color: #979197;
    padding: 0 20px;
}

span.md-headline {
    font-size: 25px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.16;
    text-align: center;
    letter-spacing: normal;
    color: #000000;
}

md-card md-card-title md-card-title-text:only-child .md-subhead {
    font-size: 20px;
    font-weight: normal;
    padding-top: 0;
    font-style: normal;
    margin: 10px 0;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #6c6c6c;
}

md-card-title-text p {
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #6c6c6c;
}

md-card md-card-title {
    -webkit-box-flex: 0.1;
    -webkit-flex: 0.1 1 auto;
    flex: 0.1 1 auto;
    padding: 0px 16px 0px;
}

md-card {
    /*box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.16);*/
    border: solid 1px rgba(234, 237, 243, 0.6);
    box-shadow: none;
}

md-card:hover {
    transform: scale(1.03);
    /*box-shadow: 0 26px 80px 0 rgba(0, 0, 0, 0.21);*/
    box-shadow: 11px 28px 27px -26px rgba(0, 0, 0, 0.15)
        /*box-shadow: 0 10px 37px 0 rgba(0, 0, 0, 0.2);*/
}

md-card:hover span.open {
    font-weight: bold;
}

md-card a {
    /*transform: scale(1);*/
}

/*a.test {*/
/*position: absolute;*/

/*}*/
md-card img {
    width: 180px;
    height: 177px;
}

a:focus,
a:hover {
    /* color: #23527c; */
    text-decoration: none;
}

span.open,
span.open {
    width: 44px;
    height: 20px;
    font-size: 17px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.18;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: uppercase;
    color: #27ae60;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

span.open:hover,
span.open:active {
    font-weight: bold;
    text-decoration: none;

}

md-card div {
    margin-top: 19px;
    margin-bottom: 39px;
    text-align: center;
}

h1~p {
    margin-bottom: 3px;
}

/* start 'enter' transition on main view */
/* TRANSITION ANIMATIONS FOR MAIN VIEW
   ------------------------------------------*/
/* start 'enter' transition */
.ng-enter {
    /* transition on enter for .5s */
    transition: .5s;

    /* start with opacity 0 (invisible) */
    opacity: 0;
}

/* end 'enter' transition */
.ng-enter-active {
    /* end with opacity 1 (fade in) */
    opacity: 1;
}

/*Login Page*/
div.form-container {
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.form-wrapper {
    width: 410px;
    box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.04);
    border: solid 1px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.form-wrapper-title {
    font-size: 20px;
    font-family: 'SFProDisplayRegular';
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
    color: #3e3f42;
    margin-top: 26px;
    margin-bottom: 35px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e8e7e7;
}

.mx-home-link {
    margin-top: 16px;
    margin-bottom: 66px;
    font-size: 13px;
    text-decoration: underline;
    color: #2baf63;
}

.login_form {
    width: 280px;
    margin: 0 auto;
    margin-top: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.UP_login-form_fs_input {
    width: 100%;
    margin: 8px auto;
    height: 50px;
}

.UP_login-form_fs_input input {
    color: #000 !important;
    border-bottom-color: #969fab !important;
    background-color: white !important;
    font-size: 14px;
    font-weight: 600;
}

input:-internal-autofill-selected {
    background-color: white !important;
}

.UP_login-form_fs_input input label {
    color: #e74c3c !important;
}

.UP_login-form_fs_input .psw-icon-container {
    display: none;
    position: absolute;
    right: 0;
}

.UP_login-form_fs_input.bad-p .psw-icon-container:hover .psw-icon-tooltip {
    display: block;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    top: -4px;
    left: 45%;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip.type-1::after {
    left: 46%;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip.type-2::after {
    left: 45%;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip {
    display: none;
    font-family: SFProTextMedium;
    font-size: 10px;
    font-weight: 500;
    color: #000000;
    position: absolute;
    white-space: nowrap;
    top: 30px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 3px 13px -2px #efefef;
    border-radius: 5px;
    z-index: 2;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip.type-1 {
    left: -85px;
}

.UP_login-form_fs_input .psw-icon-container .psw-icon-tooltip.type-2 {
    left: -61px;
}

.UP_login-form_fs_input.good-p .psw-icon-container,
.UP_login-form_fs_input.bad-p .psw-icon-container {
    display: block;
}

.UP_login-form_fs_input.loading .psw-icon-container-loader {
    display: block;
    position: absolute;
    right: 6px;
    top: 10px;
}

.UP_login-form_fs_input .psw-icon-container-loader {
    display: none;
}

.UP_login-form_fs_input.good-p .psw-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 7px;
    top: 9px;
    background-size: 16px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAA/UlEQVRYCe1T2w3CMAx0Ogk/lHVAHQB3AlZghG5AFmjFPOWHSQh2hRGKmj7dDyRbilyll7vLJQGwsgQsAUtgwwQODVY0Ql7jNSWTpX6snc8b9MRx6XgcHFN8mxhgcQdwFtEQoJLvuBNOt2LxV4DyUXifUlE1MFecTakZWCKuZmCp+KABIaUL5NvClwzuK8HJv7EzF5z05Cugs+lusXOA9I5vsuC3rxVnrqQB3omI9ZnQEGf+wUu4rxEzB9/dy3FoiY8aYEBsgqaeNHY0upp75rJO+mACAuoxoSLOJJMMMDA2sXbnzMk12QCDPyYwOKjak7/znJUlYAlYAn+fwBuV8nY7keibhQAAAABJRU5ErkJggg==');
}

.UP_login-form_fs_input.bad-p .psw-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 7px;
    top: 9px;
    background-size: 16px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAABUElEQVRYCe2W0RHCIAxAwXMIncVzAs8ZrJOpM3hO4DmLboEJNVgKKUGjnnflpyWGvFcOmxrz42El/OtqsTfWbiS5Ice5/fx02YY5c1MUeAlOMIHEoECAO9eWtIPphDWmm1+QYCu+DCcNoURW4G14hUQioAYXSkQC6nCBRBCohc+OZyrvr7f1MponE+ZMTDCxFp4UlwToH4Qi1jbA3OEyLxC9ZChRUrQ2p1sbJHB5K0CFugkU0772GLGANkxQbxQYd+DnOzAVHNRsSvHNl12VBv93B6p7QfrwPhLvADUMJlkl3GO0As4dfHHsjb0EFSgV8Y3oMXkwvQB8vTYABgkw+JREgAMAWJ4JLogLI7RlAy0Tv0N7jSMk1t4wcCwTCWBAXWIAnhVQlSjAWQEVCQF8UOAtCSG8KBBL4KxydE47tzI5hLnE58HM/crEBHBm5XfDd+eEwKdxMlm9AAAAAElFTkSuQmCC')
}

div.error-message {
    color: #e74c3c;
}

div.error-message::first-letter {
    text-transform: uppercase;
}

.bad-p {
    color: #e74c3c;
}

.good-p {
    color: #27ae60;
}


button.change-pass {
    pointer-events: none;
    opacity: 0.3;
}

button.change-pass.good-p {
    pointer-events: all;
    opacity: 1;
}

.UP_login-form_fs_input.bad-p input {
    color: black !important;
    border-bottom-color: #e74c3c !important;
    /* font-size: 16px; */
}

.UP_login-form_fs_input.good-p input {
    color: black !important;
    border-bottom-color: #27ae60 !important;
    /* font-size: 16px; */
}

md-input-container.UP_login-form_fs_input ::-webkit-input-placeholder,
md-input-container.UP_login-form_fs_input.md-input-focused ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: darkgray;
}

md-input-container.UP_login-form_fs_input ::-moz-placeholder,
md-input-container.UP_login-form_fs_input.md-input-focused ::-moz-placeholder {
    /* Firefox 19+ */
    color: darkgray;
}

md-input-container.UP_login-form_fs_input :-ms-input-placeholder,
md-input-container.UP_login-form_fs_input.md-input-focused :-ms-input-placeholder {
    /* IE 10+ */
    color: darkgray;
}

md-input-container.UP_login-form_fs_input :-moz-placeholder {
    /* Firefox 18- */
    color: darkgray;
}

.login_form input:focus {
    outline: none;
}

.md-toolbar-tools {
    height: inherit;
    padding: 0 !important;
}

md-toolbar img,
tr img {
    /* margin-left: 8px;
    margin-right: 11px; */
}

div.navbar-brand img {
    height: 19px;
    margin-left: 0;
}

md-input-container .md-input {
    color: black !important;
    border-bottom-color: #dadada !important;
    background-color: white !important;
    border-bottom-width: 2px;
}

md-input-container label {
    color: #6c6c6c !important;
}

md-input-container.md-input-focused.UP_login-form_fs_input .md-input {
    border-bottom-color: #27ae60 !important;
    /* border-bottom-color: #b5b5b5 !important; */
}

md-input-container.md-input-focused.UP_login-form_fs_input.good-p .md-input {
    border-bottom-color: #27ae60 !important;
}

md-input-container.md-input-focused.UP_login-form_fs_input.bad-p .md-input {
    border-bottom-color: #e74c3c !important;
}

.UP_login-form_copyright {
    margin-top: 28px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
    color: #6c6c6c;
}

.button-login {
    position: relative;
    background: #27ae60;
    /* text-shadow: 1px 1px 0 rgba(39, 110, 204, 0.5); */
    margin-top: 65px;
    width: 150px;
    height: 36px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 0;
    cursor: pointer;
    border-radius: 24px;
    font-weight: 500;
}

button.button-login:hover {
    background-color: #26a05a !important;
}

button.button-login:active,
button.button-login:focus {
    outline: none;
}

/*MAIN STYLES*/

/* header */
.header-setting-area {
    display: flex;
    align-items: center;
}

/*/////////////////*/

.inactive {
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
    pointer-events: none;
}

md-card {
    margin: 8px 0;
}

div.main {
    background-color: #f9f9f9;
    display: flex;
    height: inherit;
}

/*.flex-20, .layout-row>.flex-20 {*/
/*width: 300px;*/
/*max-width: 300px;*/
/*}*/

md-card:nth-child(3) {
    margin-right: 10px;
}

@media (min-width: 1280px) {
    md-card {
        max-width: 300px;
    }
}

.md-card-row {
    margin: 0 auto;
    max-width: 1040px;
}

@media (max-width: 1279px) and (min-width: 960px) {

    .flex-md-20,
    .layout-row>.flex-md-20 {
        max-width: 300px !important;
        max-height: 100%;
    }
}

@media (max-width: 463px) {
    div.username {
        display: none;
    }

    .divider-av {
        top: 1px;
        left: 67px;
    }

    div.logout_btn {
        font-size: 14px;
        margin-right: 20px;
    }

    .navbar-brand {
        padding-right: 0;
    }

    div.navbar-brand img {
        height: 15px !important;
    }

}


@media (max-width: 959px) {
    div.setting-area {
        margin-right: 0;
    }
}

@media (min-width: 1280px) {
    .md-card-row {
        max-width: 1040px;
    }
}

@media only screen and (max-width: 470px) {
    .UP_login-form_logo {
        width: 320px;
        height: 230px;
    }
}


@media (min-width: 1400px) {
    /*.md-card-row{*/
    /*margin-left: 150px;*/
    /*margin-right: 150px;*/
    /*}*/
}

@media (max-width: 959px) and (min-width: 600px) {
    .card-holder {
        margin-bottom: 13px;
    }
}


@media only screen and (max-width: 470px) {
    .login_form {
        width: 320px;
    }
}


@media only screen and (min-width: 900px) and (max-width: 1700px) {
    md-card div {
        margin-top: 30px;
        margin-bottom: 35px;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1060px) {
    span.md-headline {
        font-size: 22px;
    }
}

@media only screen and (min-width: 900px) and (max-width: 5120px) {
    md-card div {
        margin-top: 30px;
        margin-bottom: 35px;
    }
}

@media (max-width: 470px) {
    h1.heading-zl {
        font-size: 27px;
    }

    p.small-heading {
        font-size: 22px;
    }

    /* div.top-head {
        margin-top: 15px;
    } */

    md-card {
        height: 385px;
    }

    md-card div {
        margin: 0;
    }
}

@media screen and (min-width: 1980px) {
    .md-card-row {
        width: 1560px;
    }

    md-card {
        width: 316px;
    }

    .md-card-row {
        margin: 0 auto;
    }

}

input[type=password] {
    font-size: 26px;
    letter-spacing: 2px;
}

/*This will work for firefox*/
@supports (-moz-appearance:none) {
    input[type=password] {
        font-size: 26px;
        letter-spacing: 2px;
        font-size-adjust: 0.2;
    }
}

md-toolbar:not(.md-menu-toolbar) {
    background-color: transparent !important;
}

input:-webkit-autofill+label {
    top: -20px;
    transform: scale(0.75);
}

.psw-tooltip {
    position: absolute;
    right: 6px;
    top: 7px;
    z-index: 10;
}

.psw-tooltip-icon {
    padding: 2px;
    background-color: #969494;
    color: white;
    font-weight: bolder;
    width: 20px;
    border-radius: 100%;
    height: 20px;
    text-align: center;
    cursor: pointer;
}

.psw-tooltip:hover>.psw-tooltip-text {
    display: flex;
}

.psw-tooltip-text {
    display: none;
    position: absolute;
    width: 300px;
    height: 200px;
    background-color: white;
    z-index: 40;
    margin-left: -80px;
    margin-top: 16px;
    /* box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.04); */
    border: solid 1px rgba(0, 0, 0, 0.05);
}

.psw-title {
    font-family: SFProTextMedium;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    color: #6c6c6c;
    margin-top: -20px;
    text-decoration: underline;
    cursor: pointer;
}

.psw-title:focus {
    outline: none;
}

#psw-hint-container {
    font-size: 12px;
    color: #6c6c6c;
    /* list-style-type: none; */
    margin-left: 0px;

    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    height: auto;
    overflow: hidden;
    margin-bottom: 13px;
    padding: 0px;
}

#psw-hint-container li {
    margin-top: 4px;
    margin-left: 28px;
}

#psw-hint-container.show {
    max-height: 300px;
}

md-input-container input {
    font-family: SFProTextSemiBold;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

md-input-container label {
    font-family: SFProTextSemiBold;
}

md-input-container.md-input-has-value label:not(.md-no-float),
md-input-container.md-input-focused label:not(.md-no-float) {
    text-transform: uppercase !important;
}

md-input-container .md-input {
    padding: 0 !important;
}