﻿html, body {
    height: 100%;
}

body {
    padding-top: 0;
    padding-bottom: 0;
    background: url(../content/images/perenso_background.jpg) no-repeat center fixed;
    background-size: cover;
}

.noise {
    padding-top: 80px;
    padding-bottom: 80px;
}

    .noise #parent-container {
        border-radius: 16px;
        background-color: #FFF;
        padding: 48px;
        text-align: center;
    }

/*portal header bar*/
#portal-header-bar {
    width: 100%;
    min-height: 78px;
    padding: 12px 0px;
    border: 2px solid #F6F6F6;
    border-radius: 12px;
    box-shadow: 0px 2px 20px rgba(85, 85, 85, 0.03), 0px 3px 10px -2px rgba(85, 85, 85, 0.01);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 27px;
    white-space: nowrap;
    text-align: center;
}

    #portal-header-bar:hover {
        background-color: rgba(37, 93, 134, 0.07);
    }

    #portal-header-bar .portal-icon-wrapper {
        width: 54px;
        height: 54px;
        background: rgba(37, 93, 134, 0.07);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #portal-header-bar #bar-left-panel {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0px 12px;
        gap: 16px;
    }

.portal-icon-wrapper .portal-icon {
    width: 24px;
    height: 24px;
    color: rgba(37, 93, 134, 0.3);
}

    .portal-icon-wrapper.hoverable:hover .portal-icon {
        color: #255D86;
    }

.portal-heading-text {
    color: #666666;
    font-size: 16px;
    font-weight: 600;
}

/*Other page settings*/
#logo {
    margin: 48px auto;
    max-width: 245px;
    height: auto;
}

.custom-login-logo {
    margin: 48px auto 40px auto;
    max-width: 245px;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.login-footer-logo {
    margin: 20px auto;
    max-width: 245px;
    height: auto;
}

.show-desc-header {
    margin: auto;
    padding: 8px 48px;
    background: #EAEAEA;
    border-radius: 37px;
    width: fit-content;
    max-width: 570px;
    min-height: 35px;
    text-align: center;
    color: #666666;
    font-weight: 600;
}

#login-header {
    color: #525252;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 30px auto 10px;
}

.form-login {
    max-width: 570px;
    padding: 15px 10px;
    margin: 15px auto;
}

    .form-login .form-login-heading,
    .form-login .checkbox {
        margin-bottom: 10px;
    }

    .form-login .login-form-label {
        color: #255D86;
        font-weight: 600;
        font-size: 16px;
        float: left;
    }

    .form-login input[type="text"],
    .form-login input[type="password"] {
        color: #525252;
        font-size: 14px;
        font-weight: 600;
        height: 52px;
        margin-bottom: 15px;
        padding: 16px;
        background-color: rgba(37, 93, 134, 0.07);
        border: 1px solid rgba(37, 93, 134, 0.14);
        border-radius: 4px !important;
    }

    .form-login input.dropdown-toggle-input {
        width: 100%;
    }

    .form-login .dropdown-menu {
        width: 100%;
        padding: 16px;
        border: 1px solid #F6F6F6;
        border-radius: 6px !important;
        box-shadow: 0px 2px 30px rgba(85, 85, 85, 0.03), 0px 2px 20px rgba(85, 85, 85, 0.06), 0px 3px 10px -2px rgba(85, 85, 85, 0.08);
        color: #525252;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        max-height: 230px;
        overflow-y: auto;
    }
    
    .form-login .password-eye-icon {
        position: absolute;
        cursor: pointer;
        right: 4%;
        top: 60%;
        font-size: 1.2em;
        color: #949494;
    }

.login-form-button {
    width: 100%;
    height: 59px;
    background-color: #F26721 !important;
    border-color: #F26721;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
}

.login-form-button:hover, .login-form-button:focus {
    background-color: #D04E33 !important;
    border-color: #D04E33;
}

.login-form-button:disabled {
    background-color: #F26721 !important;
    border-color: #F26721;
}

    .login-form-button:disabled:hover {
        background-color: #F26721 !important;
        border-color: #F26721;
    }

#exit-login-link {
    color: #333333;
    margin: 30px auto;
}

#login-footer{
    color: #000;
    text-align: center;
    font-size: 14px;
}

    #login-footer a {
        text-decoration: underline;
        color: #000;
    }

        #login-footer a:hover {
            color: #F26721;
        }

    #login-footer hr {
        max-width: 570px;
    }

.forgot-password {
    padding-top: 10px;
    padding-bottom: 10px;
}

.support-email {
    margin: 25px auto;
}

.privacy {
    padding-bottom: 10px;
}

.login-message {
    color: #fff; 
    font-size: larger; 
    padding-bottom: 20px;
}

#bottom-logo {
    margin: 0 auto 20px;
    width: 200px;
    height: 60px;
    background-image: url('images/login_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/*Validation*/
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
    border: 1px solid #D15B47;
    background-color: rgba(209, 91, 71, 0.07);
}

.form-group.has-error label {
    color: #D15B47;
}

.form-group.error input, .form-group.error select, .form-group.error textarea {
    border-color: #D15B47;
}

.notify-container {
    width: 532px;
    max-width: 80%;
    min-height: 78px;
    border-radius: 4px;
    padding: 20px;
    color: #FFF;
    display: flex !important;
    align-items: center;
}

    .notify-container .notify-icon {
        font-size: 20px;
        margin-right: 16px;
    }

    .notify-container .notify-message {
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        max-width: 85%;
        word-break: break-word;
    }

    .notify-container .notify-close {
        position: initial !important;
        color: #E0E0E0;
        margin-left: auto;
        font-size: 25px;
        margin-bottom: 5px;
    }

    .notify-container.alert-danger {
        background-color: #D15B47;
        border: 1px solid #D15B47;
    }

@media only screen and (max-width: 600px) {
    .portal-icon-wrapper {
        width: 45px !important;
        height: 45px !important;
    }

        .portal-icon-wrapper .portal-icon {
            width: 21px;
            height: 21px;
        }

    #logo, .custom-login-logo, .login-footer-logo {
        max-width: 220px;
        height: auto;
        margin: 24px auto;
    }
}

@media only screen and (max-width: 450px) {
    #logo, .custom-login-logo, .login-footer-logo {
        max-width: 165px;
        height: auto;
    }
}