﻿body, html, .container-fluid {
    height: 100%;
}

@font-face {
    font-family: "Sansation";
    src: url("../fonts/sansation/Sansation-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "avenir";
    src: url("../fonts/avenir/AvenirLTStd-Roman.otf") format("truetype");
}

body {
    font-family: 'avenir';
    background-color: #31405D;
}

    body.partner-body {
        background-color: #ffffff !important;
    }

form, #backToLoginForm {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login-company-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}
body #login-company-logo {
    width: 400px;
    height: 65px;
    background-image: url('/images/seacloud_logo.png?v2');
}
@media screen and (max-width: 1000px) {
    body #login-company-logo {
        width: 200px;
        height: 30px;
    }
}
body.urbancloud #login-company-logo {
    width: 150px;
    height: 150px;
    background-image: url('/images/urbancloud_logo.png');
}
body.urbancloud #lnkGoToPublicSensors {
    display: block !important;
}

/* @media screen and (max-width: 500px) {
    img {
        max-width: 90%;
    }
} */

form  {
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%);
    background-color: white;
    border-radius: 20px;
}
@media screen and (max-width: 1600px) {
    #loginform, #forget-form {
        width: 50%;
    }
}
@media screen and (max-width: 700px) {
    #loginform, #forget-form {
        width: 100%;
    }
}

.logininput {
    margin: 0 !important;
    color: #031223 !important;
    border-bottom: none !important;
    border: 1px solid #E0E0E0 !important;
    text-decoration: none !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 5px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    cursor: pointer;
}

.loginlabel {
    font-weight: 500 !important;
    color: #858585 !important;
    left: 1.2rem !important;
}

    .loginlabel.active {
        -webkit-transform: translateY(-170%) !important;
        transform: translateY(-170%) !important;
    }

.partner-body .logininput {
    color: #0447A0 !important;
    border-bottom: 1px solid #0447A0 !important;
}

label {
    color: #ECEFF1 !important;
}

#login-footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
}

@-webkit-keyframes autofill {
    to {
        color: #ffffff;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

#btnReset {
    width: 180px;
    margin: auto;
    display: block;
    border-radius: 15px;
}

#btnLogin, #btnLoginWithMicrosoft {
    width: 100%;
    margin: auto;
    display: block;
    border-radius: 15px;
    white-space: nowrap;
    padding: 0 1rem;
}

#btnLoginWithMicrosoft {
    background-color: #3F6DB5;
}
@media screen and (max-width: 1200px) {
    .loginButton {
        font-size: 11px;
    }
}

#btnBackToLogin {
    margin: auto;
    width: 100%;
    display: block;
    border-radius: 15px;
}

.loginButton {
    color: #ffffff;
    border-radius: 15px;
}

.public-button {
    width: 100%;
}
#publicForm p {
    color: #ffffff;
    text-align: center;
}
#btnGoToLogin {
    background-color: #58595B;
}
.fixed-center-bottom {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    z-index: 1;
}

@media screen and (max-height: 400px) {
    #login-footer {
        display: none;
    }
}
/*#region Notifications */
/* Error template */
.k-notification-error.k-group {
    background-color: none !important;
    background: rgba(100%,0%,0%,.7) !important;
    color: #ffffff !important;
    font-size: 18px !important;
}

/* Success template */
.k-notification-success.k-group {
    background-color: none !important;
    background: rgba(0%,60%,0%,.7) !important;
    color: #fff !important;
    font-size: 15px !important;
}

/*#endregion*/
/*#region PARTNER CUSTOMIZATIONS*/
/* GENERAL */
/*@media screen and (max-height: 540px) {
    #login-company-logo {
        display: none;
    }
}*/

@media screen and (max-height: 700px) {
    #login-company-footer {
        display: none;
    }
}

/*#endregion*/

body.urbancloud {
    background-color: #231F20;
    background-image: url('/images/urbancloud.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

    body.urbancloud #btnLogin {
        background-color: #58595B;
    }

/*#endregion*/

#invitedUserRegistrationForm .row {
    margin-bottom: 10px;
}