/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open_sans/OpenSans-Regular.ttf");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open_sans/OpenSans-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open_sans/OpenSans-Italic.ttf");
    font-style: italic;
    font-weight: normal;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open_sans/OpenSans-BoldItalic.ttf");
    font-style: italic;
    font-weight: 700;
}
body {
    background-color: #285a8a;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}
header.top {
    margin: auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
}

@media (min-width: 600px) {
    body {
        /* background: linear-gradient(
                rgba(40, 90, 138, 0.8),
                rgba(40, 90, 138, 0.8)
            ),
            url("../images/changepwd/pss-bg.png") no-repeat center center
            fixed; */
        background: url("../images/changepwd/pss-bg.png") no-repeat center
            center fixed;
        background-color: #595964;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    /* h1 {
        width: 460px;
    } */
    body .learn_more {
        margin-left: 25px;
    }

    header.top {
        height: 125px;
        width: auto;
    }
}

@media (min-width: 600px) and (min-height: 600px) {
    main {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 800px;
        margin: auto;
        /* 100 viewport height - 125px height of header */
        height: calc(100vh - 125px);
    }
}
@media (min-width: 800px) {
    body header.top {
        height: 125px;
    }
    body header.top .logo,
    body header.top .top,
    body header.top .right {
        margin: 25px 0;
    }
    body .learn_more {
        margin-left: 75px;
    }
    body h1 {
        text-align: left;
    }
    body h1 br {
        display: block;
    }
}
strong {
    font-weight: bold;
}
h1 br {
    display: none;
}
header.top .logo {
    background: url("../images/changepwd/pss-logo.svg");
    background-repeat: no-repeat;
    display: inline-block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    vertical-align: middle;
    height: 34px;
    width: 139px;
    margin: 25px auto;
}

header.top .right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
}
.dropdown {
    display: inline-block;
    color: #ffffff;
    font-family: "Open Sans";
    font-size: 13px;
    margin: auto;
    /* padding: 0 20px; */
    position: relative;
    padding: 3px 0;
}
.dropdown-toggle {
    cursor: pointer;
}
.dropdown-menu {
    position: absolute;
    background: #ffffff;
    padding: 20px 75px 20px 25px;
    margin-top: 25px;
    right: 0;
}
.dropdown-menu a {
    text-decoration: none;
    cursor: pointer;
    color: #444444;
    margin-bottom: 5px;
    display: inline-block;
    padding: 5px 0;
}
.dropdown .caret {
    background-image: url("../images/arrow_white.png");
    background-repeat: no-repeat;
    height: 16px;
    width: 18px;
    display: inline-block;
}

/* https://medium.com/idea42/floating-labels-with-only-css-81079b14fccb */
fieldset {
    /* This keeps the label and input field together*/
    position: relative;
    /* margin: 45px auto; */
    margin: 25px 0;
}
fieldset input {
    font-size: 16px; /* font-size is up to you, not required */
    padding: 20px 10px; /* padding is up to you */
    display: block; /* just to make sure display is block */
    width: 100%; /* width is up to you */
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #f5f5f6;
    border-radius: 4px;
}
fieldset label {
    position: absolute;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    left: 10px; /* determines space to left of label */
    top: 22px; /* determines space above label */
    pointer-events: none; /* enables click through on label */
    transition: 0.2s ease all; /* determines animation during */
    -moz-transition: 0.2s ease all; /* user interaction */
    -webkit-transition: 0.2s ease all;
    color: #888888;
}
fieldset input:focus,
fieldset input:active {
    -webkit-box-shadow: inset 2px 0 0 0 #285a8a;
    box-shadow: inset 2px 0 0 0 #285a8a;
}
fieldset input:focus ~ label,
/* fieldset input:valid ~ label, */
fieldset input.has-value ~ label {
    top: 6px; /* where the label goes upon interaction */
    font-size: 12px; /* font-size change on interaction */
}
fieldset input:-webkit-autofill ~ label {
    top: 6px; /* where the label goes upon interaction */
    font-size: 12px; /* font-size change on interaction */
}
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
.toggle-visibility {
    position: absolute;
    top: 25px;
    right: 25px;
    height: 20px;
    width: 20px;
    display: inline-block;
    background: url("../images/changepwd/show.svg") no-repeat;
    cursor: pointer;
}
.toggle-visibility.showing {
    background: url("../images/changepwd/hide.svg") no-repeat;
    top: 22px;
}
form {
    margin: 0;
}
#signin-wrapper,
.userinteraction {
    width: 325px;
    margin: auto;
    order: 2;
    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: calc(100% - 40px); */
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
.checkbox {
    margin-left: -15px;
    padding: 20px 0;
}
input[type="checkbox"] + label {
    background-image: url("../images/uncheck_blue.png");
    background-repeat: no-repeat;
    height: 25px;
    display: inline-block;
    color: #285a8a;
    font-family: "Open Sans";
    padding-left: 40px;
    padding-right: 25px;
    line-height: 25px;
    cursor: pointer;
}
input[type="checkbox"]:checked + label {
    background-image: url("../images/check_blue.png");
    background-repeat: no-repeat;
}
input[type="checkbox"] {
    opacity: 0;
}
input[type="checkbox"]:hover + label,
input[type="checkbox"]:active + label,
input[type="checkbox"]:focus + label {
    text-decoration: underline;
    /* outline: auto; outline-color: -webkit-focus-ring-color; */
}

.disabled input[type="checkbox"] + label {
    color: #bdbdbd;
    background-image: url("../images/uncheck_gray.png");
}
.disabled input[type="checkbox"]:checked + label {
    background-image: url("../images/check_gray.png");
}
.disabled input[type="checkbox"]:hover + label,
.disabled input[type="checkbox"]:active + label,
.disabled input[type="checkbox"]:focus + label {
    text-decoration: none;
    cursor: default;
}
.card {
    background-color: #ffffff;
    box-shadow: 4px 4px 4px 0px rgba(56, 56, 56, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.card .inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 500px;
    /* align-items: center; */
}
.info {
    background: #285a8a;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.33px;
    padding: 40px;
    justify-content: center;
    flex-direction: column;
    display: flex;
    width: 100%;
    order: 1;
}
.info h1 {
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.2px;
    margin-bottom: 16px;
}
.info h2 {
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.2px;
    margin-bottom: 16px;
}
.info a {
    color: #ffffff;
    font-weight: 600;
}
.info a:hover,
.info a:focus,
.info a:active {
    color: #dddddd;
}

.helptext {
    margin-top: 20px;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.2px;
}
@media (min-width: 800px) {
    .info {
        flex: 1;
        order: 2;
        flex-grow: 2;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }
    #signin-wrapper.signin,
    .userinteraction {
        flex: 2;
        order: 1;
        flex-grow: 3;
    }
}
.securitycode {
    display: none;
}
.squarebutton {
    display: block;
    width: 100%;
    height: 60px;
    background-color: #285a8a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin: 25px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 45px;
    letter-spacing: 0.33px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.squarebutton:hover,
.squarebutton:focus,
.squarebutton:active {
    background-color: #084a8a;
}
.squarebutton[disabled] {
    cursor: default;
}
.inputWithButton {
    display: flex;
    align-items: center;
    margin: 25px 0;
}
.inputWithButton fieldset {
    flex-grow: 2;
    margin: 0;
}
.inputWithButton fieldset input {
    border-right: none;
}
.inputWithButton .squarebutton {
    flex-grow: 1;
    width: auto;
    margin: 0;
}

.login-buttons,
.buttons-holder {
    display: flex;
    align-items: center;
}
.button {
    border-radius: 31px;
    -moz-border-radius: 31px;
    -webkit-border-radius: 31px;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    background-color: #285a8a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.33px;
    width: 120px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
}
.button:hover,
.button:focus,
.button:active {
    background-color: #084a8a;
}
.wide {
    width: 100%;
}
.square {
    border-radius: 0;
}
.cancel-button {
    height: 40px;
    width: 40px;
    margin-right: 25px;
    display: inline-block;
    background: url("../images/changepwd/cancel.svg") no-repeat;
    cursor: pointer;
}
.select-buttons {
    width: 100%;
}
.select-button {
    display: block;
    border: 1px solid #ededed;
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 600;
    line-height: 45px;
    letter-spacing: 0.33px;
    color: #444444;
    text-decoration: none;
    font-weight: 400;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: normal;
    padding: 5px 10px 5px 5px;
}
a[disabled],
a[disabled]:hover,
button[disabled],
input[disabled],
button[disabled]:hover,
button[disabled]:active,
button[disabled]:focus {
    background: #ededed;
    color: #bdbdbd;
    cursor: auto;
}

.select-button:hover,
.select-button:focus,
.select-button:active {
    text-decoration: none;
}
.select-button .methodimage,
.select-button .placeholder {
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-right: 20px;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    flex-shrink: 0;
}
.select-button .placeholder {
    background: #285a8a;
}
.select-button .label {
    display: flex;
    align-items: center;
}
.select-button .arrow {
    height: 22px;
    margin-left: 10px;
}
.learn_more {
    background-color: #ffffff;
    color: #285a8a;
    display: inline-block;
    margin: 25px auto;
}
.validator {
    margin: 20px auto;
    display: flex;
    align-items: center;
}
.validator .indicator {
    height: 25px;
    width: 25px;
    margin-right: 18px;
    display: inline-block;
    background: url("../images/changepwd/disapprove.svg") no-repeat;
    flex-shrink: 0;
}
.validator.valid .indicator {
    background: url("../images/changepwd/approve.svg") no-repeat;
}
.possibleCaptcha {
    display: flex;
    justify-content: center;
}
.possibleCaptcha .checkbox {
    padding: 0;
}
/* .polling {
    display: flex;
    justify-content: center;
    flex-direction: column;
} */
.polling .waiting {
    background-image: url("../images/uncheck.png");
}
.polling .waiting-done {
    background-image: url("../images/check.png");
}

.progress {
    display: flex;
    align-items: center;
    margin: 20px auto;
}
.waiting {
    display: inline-block;
    background-image: url("../images/uncheck_blue.png");
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    /* margin-right: 18px; */
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
.validator .text {
    display: inline-block;
    width: 70%;
    margin-left: 18px;
}
.waiting-done {
    background-image: url("../images/check_blue.png");
    background-repeat: no-repeat;
}
.error-holder {
    background: #e60000;
    padding: 10px;
    margin-top: 20px;
}

.securitycode {
    display: none;
}

.hidden {
    display: none;
}
fieldset.custom-select select {
    font-size: 16px; /* font-size is up to you, not required */
    padding: 20px 10px; /* padding is up to you */
    display: block; /* just to make sure display is block */
    width: 100%; /* width is up to you */
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
    border: 1px solid #f5f5f6;
    min-width: 300px;
}

.user-info .label {
    font-weight: 700;
}

@media (max-width: 30em) {
    .card {
        box-shadow: none;
    }
    .info {
        display: flex;
        order: 1;
    }
    #signin-wrapper,
    .userinteraction {
        order: 2;
    }
    fieldset {
        margin: 15px 0;
    }
    .info {
        padding: 0 30px 10px 30px;
    }
    .password-validator {
        margin: 10px -30px;
    }
    .password-validator h2 {
        text-align: center;
        margin-bottom: 10px;
    }
    .validator-holder {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-around;
    }
    .validator {
        display: block;
        margin: 5px auto;
        width: 30%;
        margin: 10px 5px;
    }
    .validator .indicator {
        height: 12px;
        width: 12px;
        margin-right: 8px;
    }
    .validator.hidden {
        display: none;
    }
    #in_progress,
    #confirmed {
        display: none;
    }
}
div.custom-dropdown {
    border: 1px solid #ededed;
    background: #ffffff;
    position: relative;
    font-family: "Open Sans";
    font-size: 13px;
    line-height: 45px;
    /*letter-spacing: 0.33px;*/
    color: #444444;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 10px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 600px) {
    div.custom-dropdown {
        line-height: normal;
        padding: 10px 20px;
    }
    .select-button .label {
        line-height: normal;
    }
}

div.custom-dropdown:hover {
    color: black;
    background: #eaeaea;
    cursor: pointer;
}
.custom-dropdown-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
div.custom-dropdown .custom-list {
    width: 100%;
    position: absolute;
    left: 10px;
    overflow-y: auto;
    max-height: 250px;
    background: #ffffff;
}
div.custom-dropdown .custom-list .custom-list-item {
    border: 1px solid #ededed;
    font-family: "Open Sans";
    font-size: 13px;
    line-height: normal;
    letter-spacing: 0.33px;
    color: #444444;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}
div.custom-dropdown .custom-list.hidden {
    display: none !important;
}
div.custom-dropdown .custom-list .custom-list-item:not(:first-child) {
    border-top: 0px;
}

.custom-list-item:hover {
    background: #4183c4;
    color: #ffffff !important;
}
.custom-list-item:hover .arrow,
.custom-list-item:hover .label {
    color: #ffffff !important;
}
.custom-list-item .methodimage,
.custom-list-item .placeholder {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 20px;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background: #285a8a;
}
.custom-list-item .label {
    display: flex;
    width: 100%;
    align-items: center;
}
.custom-list-item .label span {
    margin: 0px 18px;
}
.custom-dropdown-text {
    width: 100%;
}
.custom-dropdown-text span.caret {
    float: right;
}
.phone-img {
    background: url(../images/changepwd/iphone8-ppss.png);
    background-repeat: no-repeat;
    display: inline-block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    vertical-align: middle;
    height: 204px;
    width: 174px;
    display: block;
    margin: 0 auto 15px auto;
}
.phone-img.pocket-pass {
    background: url(../images/changepwd/iphone8-pocketpass.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    vertical-align: middle;
}

.hidden {
    display: none;
}
.show {
    display: block;
}
.dropdown-menu {
    z-index: 1;
    padding: 0px;
}
.dropdown-menu li a {
    padding: 10px 50px;
    margin: 0;
}
@media (max-width: 600px) {
    .dropdown-menu {
        margin-top: 3px;
    }
}
