/*HTML BODY & CONTAINER*/
html, body {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E5E5E5;
    margin: 0;
}

body.member-ui {
    background-color: #000;
}
.member-ui #cancel {
    color: rgba(255,255,255,.69);
}

#page_container {
    width: 540px;
    min-height: 480px;
    padding-bottom: 60px; /*this is to offset the buttons at the bottom*/
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0px 1px 2px rgba(0,0,0,.1);
}

.member-ui #page_container {
    background-color: #2C2C30;
}

@media screen and (max-width: 600px) {
    #page_container {
        height: 92%;
        width: 100%;
    }
}

/*FONT & TEXT ELEMENTS*/
h1, h2, p, label, input, a, span, .error.itemLevel, #verifying_blurb {
    font-family: FuturaPT-Book,Futura,"Trebuchet MS",Arial,sans-serif;
    font-weight: normal;
}

h1, h2 {
    text-align: center;
}


p {
    color: #99999A;
}

.member-ui h1,
.member-ui h2,
.member-ui p {
    color: #FFF !important;
}

a, a:active, a:visited {
    color: #BA9E5E;
}

/*LISTS*/
ul, li {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
}

/*LOGO*/
img {
    display: block;
    margin: 50px auto 1rem;
}

/*B2C INPUT WRAPPER*/
.entry, .attrEntry  {
    width: 345px;
    margin: auto;
    position: relative;
}

.member-ui .entry,
.member-ui .attrEntry {
    width: 320px;
}


/*PASSWORD ICON STYLING*/
.entry-item {
    position: relative;
    margin-top: 15px;
}

.password-icon {
    position: absolute;
    right: 3px;
    top: 12px;
    cursor: pointer;
    margin: 0;
}

/*INPUTS*/
.member-ui select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    border: 1px solid #8D8D93;
    width: 100%;
    font-size: 1rem;
    line-height: 2rem;
    padding: 12px 30px 12px 10px;
    font-weight: lighter;
    margin-top: 3px;
    color: rgba(255,255,255,.69);
    font-family: FuturaPT-Book;

    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238D8D93'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
    background-size: 12px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-color: #2C2C30;
}

select:focus {
    border: 1px solid #BA9E5E;
    outline: 0 !important;
}

.member-ui select:focus {
    background-color: #2C2C30;
}

input {
    display: block;
    box-sizing: border-box;
    border: 1px solid #EEEEEE;
    width: 100%;
    font-size: 1rem;
    line-height: 2rem;
    padding: 20px 30px 0px 10px;
    font-weight: lighter;
    margin-top: 3px;
}


input:focus {
    border: 1px solid #BA9E5E;
    outline: 0 !important;
}

input::placeholder {
    /* input placeholder hidden in favor of floating label*/
    opacity: 0;
}

/*FLOATING LABELS*/
.entry-item label, .attrEntry label {
    position: absolute;
    top: 1.1rem;
    left: 10px;
    transition: top .2s ease-out;
    display: block;
    color: #99999A;
    font-weight: lighter;
}

input[style*="display: none;"] ~ label {
    display: none;
}

/* input:not(:placeholder-shown) ~ label, */
input.has-value ~ label,
input[readonly="readonly"] ~ label,
input:focus ~ label, 
input:-webkit-autofill ~ label {
    top: 5px;
    transition: top .2s ease-out;
}

.member-ui .entry-item label,
.member-ui .attrEntry label {
    color: rgba(255,255,255,.69);
}

input[style*="display: none;"] ~ label {
    display: none;
}

/*PAGE TITLE*/
#bannerText {
    color: rgba(0,0,0,.65);
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: .25px;
    margin: 0 auto;
    width: 300px;
}

.member-ui #bannerText {
    color: white;
}

/*BUTTONS*/
button {
    border: 2px solid #BA9E5E;
    background-color: #BA9E5E;
    text-transform: uppercase;
    color: white;
    font-size: .9rem;
    line-height: 1.1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: .5rem 1rem;
}

button:disabled {
    cursor: not-allowed;
    background-color: white;
    color: #9E9E9E;
    border-color: #9E9E9E;
}

/*ERRORS*/
.error {
    max-width: 350px;
    margin: auto;
}

.error,
.error p {
    color: #E76170 !important;
}

.error.pageLevel {
    text-align: center;
    font-family: FuturaPT-Demi;
}

.error.itemLevel p {
    margin: 0;
}

/*VERIFYING MODAL*/
.verifying-modal {
    font-size: 1rem;
    font-family: FuturaPT-Book,Futura,"Trebuchet MS",Arial,sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: default;
    color: white;
}

.member-ui .entry-item input,
.member-ui .attrEntry input {
    background-color: transparent !important;
    color: white !important;
    -webkit-text-fill-color: white;
}

.member-ui .attrEntry input:-webkit-autofill,
.member-ui .attrEntry input:-webkit-autofill:hover,
.member-ui .attrEntry input:-webkit-autofill:focus,
.member-ui .attrEntry input:-webkit-autofill:active,
.member-ui .entry-item input:-webkit-autofill,
.member-ui .entry-item input:-webkit-autofill:hover,
.member-ui .entry-item input:-webkit-autofill:focus,
.member-ui .entry-item input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    transition-delay: 5000s;
}

/*MEMBER INPUTS*/
.member-ui input,
.member-ui input:-internal-autofill-selected,
.member-ui input:-webkit-autofill,
.member-ui input:-webkit-autofill:hover, 
.member-ui input:-webkit-autofill:focus {
    filter: none;
    -webkit-appearance: none;
    background-color: transparent !important;
    border: 1px solid #8D8D93 !important;
    color: white !important;
    -webkit-box-shadow: 0 0 0 30px #2C2C30 inset !important;
    -webkit-text-fill-color: white;
    -webkit-border-radius: 0;
    font-family: FuturaPT-Book,Futura,"Trebuchet MS",Arial,sans-serif;
}

@media screen and (max-width: 600px) {
    .member-ui input {
        -webkit-appearance: none;
        background-color: transparent !important;
        color: white !important;
        -webkit-text-fill-color: white !important;
    }

    .member-ui input:-webkit-autofill,
    .member-ui input:-webkit-autofill:hover,
    .member-ui input:-webkit-autofill:focus,
    .member-ui input:-webkit-autofill:active {
        transition: background-color 5000s ease-in-out 0s;
        transition-delay: 5000s;
    }
}

.extraNotificationLabel{
    margin-top: 5px;
    margin-bottom: -15px;
    text-align: center;
}

/* LOADER */
.loader {
    border: 5px solid rgba(255,255,255,.69);
    border-top: 5px solid #BA9E5E;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: -4rem auto;
    animation: spin 1s linear infinite
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
