﻿.close-popup-btn {
    cursor: pointer;
    float: inline-end;
}

.content-center {
    align-content: center;
}

.FeedbackFailed {
    color: darkred;
}

.FeedbackInfo {
    color: teal;
}

.FeedbackSuccess {
    color: green;
    font-weight: bold;
}

.FeedbackWarning {
    color: darkgoldenrod;
}

.PasswordChangeField {
    color: #555;
    border: 1px solid lightgray;
    border-radius: 0.8em;
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 0.6em;
}

    .PasswordChangeField input {
        border-bottom: #ccc solid;
        min-height: 2em;
    }

    .PasswordChangeField > label,
    .PasswordChangeField > input[type=text],
    .field > input[type=password] {
        transition: all 0.2s;
        touch-action: manipulation;
    }

    .PasswordChangeField > input[type=text],
    .PasswordChangeField > input[type=password] {
        border: 0;
        border-bottom: 1px solid #ccc;
        font-family: inherit;
        -webkit-appearance: none;
        border-radius: 0;
        padding: 0;
        cursor: text;
    }

    .PasswordChangeField > input:focus {
        outline: 0;
        border-bottom: 1px solid #666;
    }

    .PasswordChangeField > label {
        letter-spacing: 0.05em;
    }

    .PasswordChangeField > input:placeholder-shown + label {
        cursor: text;
        max-width: 66.66%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transform-origin: left bottom;
        -webkit-transform: translate(0, 2.225rem) scale(1.3);
        -moz-transform: translate(0, 2.225rem) scale(1.3);
        -ms-transform: translate(0, 2.225rem) scale(1.3);
        -o-transform: translate(0, 2.225rem) scale(1.3);
        transform: translate(0, 2.225rem) scale(1.3);
    }

    .PasswordChangeField > input:focus::-webkit-input-placeholder {
        opacity: 1;
    }

    .PasswordChangeField > input:not(:placeholder-shown) + label,
    .PasswordChangeField > input:focus + label {
        transform: translate(0, 0) scale(1);
        cursor: pointer;
        box-sizing: border-box;
    }

::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
}

.PasswordChangeMsgGV {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: small;
}

.PasswordChangeTitleGV {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: small;
    background-color: #F2F2F2;
    padding: 3px 3px 3px 3px;
}

.pwd-grid-span {
    grid-column: span 2;
}

.switch {
    align-self: center;
    position: relative;
    display: inline-block;
    font-size: 11px;
    height: 1.8em;
    width: 3.8em; /* relative to element font size */
    margin-left: .8em;
    padding: .4em 0;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-label {
    display: inline;
    font-size: 11px;
    font-weight: bold;
    align-self: center;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 1.25em;
        width: 1.25em;
        margin: 0.3em 0.2em;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(1.8em);
    -ms-transform: translateX(1.8em);
    transform: translateX(1.8em);
}

input:required + label::after {
    content: '*';
    color: darkred;
    margin-left: 0.4em;
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Add animation (fade in the popup) */
@-webkit-keyframes popupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.validate-popup {
    position: relative;
    display: block;
}

    .validate-popup fieldset {
        border-color: rgba(0, 0, 0, 0.1);
    }

    /* The actual popup (oriented based on absolute position through JavaScript) */
    .validate-popup .validate-content {
        visibility: hidden;
        width: max-content;
        background-color: rgb(255, 255, 246);
        color: black;
        border-radius: 6px;
        padding: 8px 0;
        position: absolute;
        z-index: 1;
    }

    /* Popup [top] arrow on bottom */
    .validate-popup[data-gs-orientation='0'] .validate-content::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-top: 0;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }
    /* Popup [right] arrow on left */
    .validate-popup[data-gs-orientation='3'] .validate-content::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        margin-left: -10px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent #555 transparent transparent;
    }

    /* Popup [left] arrow on right*/
    .validate-popup[data-gs-orientation='9'] .validate-content::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        margin-left: 0;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent transparent #555;
    }

    /* Popup [bottom] arrow on top*/
    .validate-popup[data-gs-orientation='6'] .validate-content::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        margin-top: -10px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #555 transparent;
    }

    /* Toggle this class when clicking on the popup container (hide and show the popup) */
    .validate-popup .show {
        visibility: visible;
        -webkit-animation: popupFadeIn 400ms;
        animation: popupFadeIn 400ms
    }

    .validate-popup ul {
        list-style-type: none;
        padding-inline-start: 0;
    }

        .validate-popup ul li {
            margin: 0.4em 0;
        }

.validate-content {
    border-color: #808382;
    border-width: 1px;
    border-style: solid;
    min-width: 40em;
}

    .validate-content ul li span {
        font-size: 12px;
    }

    .validate-content ul li img {
        height: 14px;
        width: 14px;
    }

.btn-gs-pwd {
    box-sizing: border-box;
    min-width: 150px;
}

#ChangePasswordPanel {
    display: grid;
    grid: auto-flow min-content / repeat(2, 1fr);
}

#ChangePasswordPanel,
#EmailPanel {
    color: #555;
    font-size: 11px;
    gap: 10px;
    margin: 0.5em;
}

    #ChangePasswordPanel[data-gs-button-style="login"] input[type=submit] {
        border-color: rgb(0,0,0);
        border-width: 1.6px;
        border-style: solid;
    }

    #ChangePasswordPanel[data-gs-button-style="login"] .btn-grid-cell-begin {
        grid-column: span 2;
    }

    #ChangePasswordPanel[data-gs-button-style="login"] .btn-grid-cell-end {
        grid-column: span 2;
    }

    #ChangePasswordPanel[data-gs-button-style="login"] .PasswordChangeField,
    #EmailPanel[data-gs-button-style="login"] .PasswordChangeField {
        font-family: Montserrat-Regular;
        font-size: 1.3em;
        padding: 2em 1em;
    }

        #ChangePasswordPanel[data-gs-button-style="login"] .PasswordChangeField input,
        #EmailPanel[data-gs-button-style="login"] .PasswordChangeField input {
            background: rgb(232, 240, 254);
            line-height: 1.2;
        }

    #ChangePasswordPanel[data-gs-button-style="login"] #ShowPasswordLabel {
        font-family: Montserrat-Bold !important;
    }


    #ChangePasswordPanel[data-gs-button-style="login"] .btn-gs-pwd,
    #EmailPanel[data-gs-button-style="login"] .btn-gs-pwd {
        cursor: pointer;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        width: 100%;
        height: 50px;
        border-radius: 10px;
        font-family: Montserrat-Bold;
        font-size: 12px;
        color: #fff;
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: 1px;
        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    #ChangePasswordPanel[data-gs-button-style="login"][data-gs-content-mode="AUS"] .btn-gs-pwd {
        background: #00aa65;
    }

        #ChangePasswordPanel[data-gs-button-style="login"][data-gs-content-mode="AUS"] .btn-gs-pwd:hover {
            background: #008536;
        }

    #ChangePasswordPanel[data-gs-button-style="login"][data-gs-content-mode="ZAF"] .btn-gs-pwd {
        background: #6675df;
    }

        #ChangePasswordPanel[data-gs-button-style="login"][data-gs-content-mode="ZAF"] .btn-gs-pwd:hover {
            background: #333333;
        }

    #ChangePasswordPanel[data-gs-button-style="profile"] .btn-grid-cell-begin {
        justify-self: start;
    }

    #ChangePasswordPanel[data-gs-button-style="profile"] .btn-grid-cell-end {
        justify-self: end;
    }

    #ChangePasswordPanel[data-gs-button-style="profile"] .btn-gs-pwd
     {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 12px !important;
        padding-bottom: 4px;
        cursor: pointer;
        padding-top: 4px;
        font-family: Roboto !important;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        color: white !important;
        text-decoration: none;
        vertical-align: middle;
    }

    #ChangePasswordPanel[data-gs-button-style="profile"] .PasswordChangeField {
        padding: 0.3em;
    }

    #ChangePasswordPanel[data-gs-button-style="profile"] #ShowPasswordLabel {
        font-family: Roboto !important;
    }

    #ChangePasswordPanel[data-gs-button-style="profile"][data-gs-content-mode="AUS"] .btn-gs-pwd {
        background-color: #8241aa !important;
    }

        #ChangePasswordPanel[data-gs-button-style="profile"][data-gs-content-mode="AUS"] .btn-gs-pwd:hover {
            background-color: #a0a0a0 !important;
            text-shadow: 1px 1px grey;
        }

    #ChangePasswordPanel[data-gs-button-style="profile"][data-gs-content-mode="ZAF"] .btn-gs-pwd {
        background-color: #017fda !important;
    }

        #ChangePasswordPanel[data-gs-button-style="profile"][data-gs-content-mode="ZAF"] .btn-gs-pwd:hover {
            background-color: #a0a0a0 !important;
            text-shadow: 1px 1px grey;
        }

    #ChangePasswordPanel[data-gs-button-style="login"] .validate-content {
        font-family: Montserrat-Regular;
        font-size: 1.3em;
    }

        #ChangePasswordPanel[data-gs-button-style="login"] .validate-content legend {
            letter-spacing: .125em;
        }

    #ChangePasswordPanel[data-gs-button-style="profile"] .validate-content {
        font-size: 1.3em;
    }

#PasswordComparePopUp > div {
    background-color: rgb(255, 255, 246);
}
