:root {
    --black: rgb(42,44,50);
    --black-rgb: 42,44,50;
    --white: #fff;
    --white-rgb: 255, 255, 255;
    --background: rgb(252, 252, 252);
    --teaser-bg: #EDF0F2;
    --green: rgb(44, 232, 146); 
    --green-rgb: 44, 232, 146; 
    --blue-gradient: linear-gradient(225deg, #0080CC 0%, #2B20C3 100%);
    --roboto-condensed-700: 700;
    --android-inset-top: 0px;
    --android-inset-bottom: 0px;
    --android-inset-right: 0px;
    --android-inset-left: 0px;
}

* { 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    box-sizing: border-box; 
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html { 
    height: 100%; 
}

body { 
    font-family: 'Roboto Condensed', sans-serif; 
    font-size: 14px; font-weight: 400; 
    position:relative; 
    margin: 0; 
    padding: 0; 
    max-width: 100%; 
    overflow: hidden; 
    color: #2a2c32; 
    width: 100%;
    background-color: var(--background);
}

#scrollContainer {
    width: 100%;
    height: 100svh;
    overflow-y: auto;
    padding-top: calc(env(safe-area-inset-top) + var(--android-inset-top));
    padding-right: env(safe-area-inset-right);
    padding-bottom: calc(env(safe-area-inset-bottom) + var(--android-inset-bottom));
    padding-left: env(safe-area-inset-left);
}

iframe.fbpx {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity:0;
    max-height: 1px;
    max-width: 1px;
    overflow: hidden;
}

button, input, select, textarea { 
    font-family: 'Roboto Condensed', sans-serif; 
    outline: none; 
    border: none; 
    white-space: normal; 
    padding: 0; 
    -webkit-appearance: none;
}

button { 
    background: none; 
    cursor: pointer; 
    display: inline-block; 
}

.body { 
    max-width: 100vw; 
    overflow-x: hidden; 
    min-height: 100vh; 
    position: relative; 
    min-width: 100vw; 
}

img { 
    max-width: 100%; 
    max-height: 100%; 
    display: block; 
}

label { 
    display: block; 
}

a { 
    text-decoration: none; 
    color: #2a2c32; 
    outline: none; 
}

p { 
    margin: 0; padding: 0; 
}

ul, ol { 
    padding: 0; margin: 0 0 0 30px; 
}

[status="hide"] {
    display: none;
}

.bold { 
    font-weight: 700; 
}

.noscrollbar::-webkit-scrollbar {
    display: none;
}

.noscrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    overflow: -moz-scrollbars-none; /* Firefox */
}

/* Buttons */

.btn__tips {
    background-color: var(--black);
    display: inline-block;
    font-family: 'Russo One', sans-serif;
    color: var(--white);
    border-radius: 3px;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.btn__tips-center {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.btn__tips-white {
    background-color: var(--white);
    color: var(--black)
}

.btn__tips-green {
    background-color: var(--green);
    color: var(--black)
}

.btn__tips-ghost {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(var(--black-rgb),0.3);
    color: var(--black);
}

.btn__tips-small {
    padding: 6px 10px 5px 10px;
    font-size: 11px;
}

.btn__tips-textlink {
    box-shadow: 0 2px 0 0 rgba(var(--green-rgb),1);
    padding: 0 0 1px 0;
    cursor: pointer;
}

.btn__tips-medium {
    padding: 6px 10px 5px 10px;
    font-size: 16px;
}

.btn__tips-large {
    padding: 11px 14px 10px 14px;
    font-size: 16px;
}

.btn__tips-extralarge {
    padding: 23px 20px 23px 20px;
    font-size: 16px;
}

.btn__tips-small.btn__tips-arrow {
    padding-right: 22px;
}

.btn__tips-medium.btn__tips-arrow {
    padding-right: 22px;
}

.btn__tips-large.btn__tips-arrow {
    padding-right: 30px;
}

.btn__tips-extralarge.btn__tips-arrow {
    padding-right: 30px;
}

.btn__tips-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 7px;
    background-image: url("/files/img/tips/btn-tips-arrow-green.svg");
    background-size: contain;
    transform: translateY(-50%);
    background-repeat: no-repeat;
}

.btn__tips-green.btn__tips-arrow::after {
    background-image: url("/files/img/tips/btn-tips-arrow-white.svg");
}

.btn__tips-small.btn__tips-arrow::after {
    width: 7px;
    height: 10px;
}

.btn__tips-medium.btn__tips-arrow::after {
    width: 10px;
    height: 14px;
}

.btn__tips-large.btn__tips-arrow::after {
    width: 10px;
    height: 14px;
    right: 12px;
}

.btn__tips-extralarge.btn__tips-arrow::after {
    width: 10px;
    height: 14px;
    right: 12px;
}

.btn__tips-arrow-animate::after {
    animation: btn__tips-arrow-animate-after .5s ease-in-out alternate infinite;
}

@keyframes btn__tips-arrow-animate-after {
    0% {
      transform: translate(-1px, -50%);
    }
    100% {
      transform: translate(3px, -50%);
    }
  }

  .btn__tips-amount {
    text-align: left;
    display: flex;
    align-items: center;
  }

  .btn__tips-amount-value {
    font-size: 24px;
    color: var(--green);
    line-height: 1px;
    margin: 1px 8px 0 0;
}

.btn__tips-amount-label {
    line-height: 12px;
}

[animation="bump"] { 
    animation: animation-bump .5s ease-in-out 0s infinite alternate; 
}

@keyframes animation-bump {
    0% { 
        transform: scale(1);
    } 
    100% { 
        transform: scale(0.95);
    } 
}

/*  */
/* Overlay Basic */

body[layover] {
    overflow: hidden;
}

.layover {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    transition: opacity .25s .5s ease-in, z-index .1s .75s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.layover[status="show"] {
    opacity: 1;
    z-index: 10;
    transition: opacity .25s ease-out;
}

.overlay__closebtn {
    content: "";
    position: absolute;
    top: calc(20px + env(safe-area-inset-top) + var(--android-inset-top));
    right: 20px;
    background-image: url("/files/img/basic/icon_close-22-black.svg");
    width: 25px;
    height: 25px;
    padding: 10px;
    background-size: contain;
    z-index: 2;
    opacity: 0.2;
}

.overlay__closebtn--light {
    background-image: url("/files/img/basic/icon_close-22-white.svg");
    opacity: 0.3;
}

.overlay__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--black-rgb),.75);
}

.overlay__content {
    position: relative;
    z-index: 1;
    width: 100%;
    opacity: 0;
    transform: translateY(50%);
    transition: opacity .5s .1s, transform .35s ease-in .1s;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.layover[status="show"] .overlay__content {
    opacity: 1;
    transform: translate(0);
    transition: opacity .25s .1s, transform .35s ease-out .1s;
}

/* Fullsize Mode */

.layover-fullsize { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--background);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .2s .8s, transform .5s cubic-bezier(.56,.01,.68,.77) .2s, z-index 0s 1s;
}

.layover-fullsize[status="show"] {
    transform: translateY(0);
    opacity: 1;
    transition: opacity .25s .1s, transform .35s ease-out .1s;
}

.layover-fullsize .layover__header {
    transform: translateY(-50px);
    opacity: 0;
    transition: all .25s .0s;
}

.layover-fullsize[status="show"] .layover__header {
    transform: translateY(0px);
    opacity: 1;
    transition: all .25s .4s;
}

.layover-fullsize .overlay__content {
    opacity: 1;
}

/* Scrollbar */

.layover-fullsize .overlay__background { 
    display: none;
}

.layover-noscrollbar .overlay__content::-webkit-scrollbar {
    display: none;
}

.layover-noscrollbar .overlay__content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    overflow: -moz-scrollbars-none; /* Firefox */
}

[openOverlay] {
    cursor: pointer;
}

/* Form */

form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.fieldHolder {
    position: relative;
    margin: 0 0 10px 0;
}

select.fieldStyle, input.fieldStyle {
    font-size: 16px;
    width: 100%;
    height: 60px;
    border: none;
    outline: none;
    color: var(--black);
    -webkit-appearance: none;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(var(--black-rgb),.1);
    padding: 17px 15px 0 50px;
}

textarea.fieldStyle {
    height: 140px;
    width: 100%;
    border: none;
    padding: 19px 15px;
    background-color: rgba(var(--black-rgb),0.05);
    box-shadow: inset 0 -2px 0 0 var(--orange);
    -webkit-appearance: none;
    outline: none;
    font-size: 16px;
    border-radius: 0;
    -webkit-border-radius: 0;
}

input.fieldStyle:not(:placeholder-shown) + .floating-label,
input.fieldStyle:focus + .floating-label,
textarea.fieldStyle:not(:placeholder-shown) + .floating-label,
textarea.fieldStyle:focus + .floating-label {
    font-size: 11px;
    top: 12px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.floating-label {
    /* font-size: 16px; */
    position: absolute;
    pointer-events: none;
    top: 22px;
    left: 50px;
    transition: 0.2s ease all;
    color: rgba(var(--black-rgb), 0.5);
}

input.fieldStyle[readonly] {
    background: rgba(var(--black-rgb), 0.05);
    color: rgba(var(--black-rgb), .5);
    box-shadow: none;
}

input.fieldStyle[readonly] ~ .floating-label {
    display: none;
}

input[type="submit"] {
    font-size: 16px;
    outline: none;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.fieldHolder .pwdView {
    position: absolute;
    top: 21px;
    right: 15px;
    width: 22px;
    height: 25px;
    background-image: url("input-eye-black.svg");
    cursor: pointer;
    opacity: .5;
}

.fieldHolder.password input {
    padding: 0 50px 0 15px;
}

.fieldHolder[status="visible"] .pwdView {
    background-image: url("input-eyeoff-black.svg")
}

select::-ms-expand {
    display: none;
}

.fieldHolder[type="select"]::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 14px;
    height: 8px;
    background: url("select-arrow-black.svg");
    z-index: 1;
}

select:invalid, form select [disabled] {
    color: rgba(var(--black-rgb), .5)
}

select option[disabled], form select option {
    color: rgba(var(--black-rgb), .5)
}

.fieldHolder .fieldIcon {
    position: absolute;
    top: 18px;
    left: 15px;
    opacity: .25;
}

form label.error {
    color: red;
    font-size: 11px;
    margin: 5px 0 10px 0;
}

.overlay__form-error {
    color: red;
    margin: 0 0 10px 0;
    text-align:center; 
}

.fieldLink {
    display: flex;
    justify-content: flex-end;
}

.fieldLink-label {
    cursor: pointer;
    text-align: right;
    margin: 0 0 15px 0;
    font-size: 12px;
    box-shadow: 0 2px 0 0 rgba(var(--black-rgb),0.1);
    padding: 0 0 1px 0;
    display: inline-block;
    color: rgba(var(--black-rgb),0.75);
}

/* View Management */

[viewHref], [href], [openOverlay], [closeoverlay] {
    cursor: pointer;
}

div[view] .content__child {
    opacity: 0;
    transform: translateX(50%);
    transition: 0.35s ease;
}

div[view][viewBack] .content__child {
    transform: translateX(-50%);
}

div[view][status="show"] .content__child {
    opacity: 1;
    transform: translateX(0);
    transition: 0.35s ease;
}

div[view][status="fadeOut"] .content__child {
    opacity: 0;
    transform: translateX(-50%);
    transition: 0.35s ease;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.content__child {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: calc(50px + env(safe-area-inset-top) + var(--android-inset-top));
    padding-right: 20px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom) + var(--android-inset-bottom));
    padding-left: 20px;
    width: 100%;
    max-width: 500px;
}

/* Content */

.contentPage h1 {
    font-weight: var(--roboto-condensed-700);
    font-size: 20px;
    margin: 0 0 10px 0;
}

.contentPage p {
    line-height: 20px;
    margin: 0 0 20px 0;
}

.contentPage ul, .contentPage ol {
    padding: 0;
    margin: 0px 0px 0px 15px;
    line-height: 20px;
}

.contentPage li {
    margin: 0 0 5px 0;
}