@font-face {
    font-family: 'Konnect';
    font-weight: bold;
    font-style: normal;
    src: local('Konnect Black'), url('../fonts/Konnect-Black.otf') format('opentype');
}

@font-face {
    font-family: 'Konnect';
    font-weight: normal;
    font-style: normal;
    src: local('Konnect Bold'), url('../fonts/Konnect-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Konnect';
    font-weight: 100;
    font-style: normal;
    src: local('Konnect Medium'), url('../fonts/Konnect-Medium.otf') format('opentype');
}

body {
    margin: 0;
    font-family: 'Konnect', 'Roboto', 'Noto', sans-serif;
    font-size: 15px;
    font-weight: normal;
    /* line-height: 1.5; */
    min-height: 60vh;
    background-color: white;
}

body.loading #splash {
    background: white;
    opacity: 1;
}


.link {
    cursor: pointer;
    font-size: 1em;
    font-weight: normal;
    text-decoration: underline;
}

.link.white {
    color: white;
}

.link.primary {
    color: var(--app-primary-color);
}

div.payment-icon {
    display: flex;
    align-items: center;
    background: var(--app-primary-color);
    border-radius: 50%;
    height: 40px;
    margin-right: 15px;
    overflow: hidden;
    width: 40px;
}

div.payment-icon.small {
    height: 30px;
    width: 30px;
}

div.payment-icon.small img {
    height: auto;
    width: 30px;
}

div.payment-icon img {
    height: auto;
    width: 33px;
}

div.payment-icon.big {
    height: 80px;
    width: 80px;
    margin-right: 0;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

#splash {
    align-items: center;
    bottom: 0;
    display: flex;
    flex-direction: column;
    font-family: verdana, sans-serif;
    font-size: 18px;
    height: 100vh;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 500ms cubic-bezier(0,0,0.2,1);
    will-change: opacity;
    z-index: 1;
    /* max-width: 500px; */
    margin: 0 auto;
}

#splash p {
    color: #000;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 1em;
}

.spinner {
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #000;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

iframe {
    border: 0;
    max-height: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

paper-toast {
    /* box-shadow: none; */
    border-radius: 20px;
    display: flex;
    font-weight: bold;
    padding: 10px;
    margin-top: 20px;
    z-index: 10000000;
}

paper-toast > div.parent {
    display: flex;
    flex-direction: row;
    align-items: center;
}

paper-toast > div.parent > iron-icon {
    --iron-icon-fill-color: white;
    --iron-icon-height: 18px;
    --iron-icon-width: 18px;
    border-radius: 50%;
    left: 15px;
    padding: 6px;
    position: absolute;
    top: -15px;
}

paper-toast > div.parent > div {
    margin-left: 40px;
}

paper-toast.success {
    background-color: #81bd97;
}
paper-toast.success iron-icon {
    background-color: #03a057;
}

paper-toast.neutral {
    background-color: #85C1E9;
}
paper-toast.neutral iron-icon {
    background-color: #016dda;
}

paper-toast.error {
    background-color: #e15c5c;
}
paper-toast.error iron-icon {
    background-color: #d92f55;
}


#scan-start {
    background: white;
    border-radius: 15px;
    box-shadow: 2px 1px rgba(50, 50, 50, .35),
        1px 2px rgba(50, 50, 50, .35);
    bottom: 30px;
    cursor: pointer;
    display: inline-flex;
    padding: 12px;
    position: fixed;
    right: 30px;
    z-index: 100;
}

#video-container {
    position: fixed;
    align-content: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6000;
}

#video-container::before {
    background: #000;
    bottom: 0;
    content: '';
    opacity: 0.7;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}


#video-container > .container #scan-stop {
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 35px;
    width: 35px;
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 2;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#video-container .container {
    background: white;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    z-index: 1;
}


#video-container div#qr-video {
    display: flex;
    align-content: center;
    justify-content: center;
    max-width: 80vw;
    width: 600px;
}

#video-container #scan-result {
    background: black;
    display: block;
    padding: 10px;
    color: white;
    font-weight: bold;
    margin-top: 4px;
}

.hide {
    display: none !important;
    z-index: -1;
}

#video-container .scan-region-highlight-svg,
#video-container .code-outline-highlight {
    stroke: var(--app-primary-color, #64a2f3) !important;
}


.paymentIntegration {
    display: none;
    position: relative;
    padding: 10px;
    z-index: 9000;
    place-content: center;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.paymentIntegration::before {
    background: #000;
    bottom: 0;
    content: '';
    opacity: 0.7;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.paymentIntegration > .content {
    background: white;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    z-index: 1;
}

.paymentIntegration > .content #closePayzenWrapper, .paymentIntegration > .content #closePaygreenWrapper {
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 35px;
    width: 35px;
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 2;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

paper-button.primary {
    --paper-font-common-base_-_font-family: 'Konnect', 'Roboto', 'Noto', sans-serif;
    --paper-font-common-base_-_-webkit-font-smoothing: initial;
    visibility: visible;
    --paper-button-custom_-_font-size: 1.15em !important;
    --paper-button-mini-custom_-_bottom: -12px !important;
    text-align: var(--bottom-drawer-text-align, center);
    --paper-material_-_display: block;
    --paper-material_-_position: relative;
    --paper-material_-_max-height: initial;
    --paper-material_-_overflow: initial;
    --paper-material_-_padding: initial;
    --paper-material-elevation-1_-_box-shadow: var(--shadow-elevation-2dp_-_box-shadow);
    --paper-material-elevation-2_-_box-shadow: var(--shadow-elevation-4dp_-_box-shadow);
    --paper-material-elevation-3_-_box-shadow: var(--shadow-elevation-6dp_-_box-shadow);
    --paper-material-elevation-4_-_box-shadow: var(--shadow-elevation-8dp_-_box-shadow);
    --paper-material-elevation-5_-_box-shadow: var(--shadow-elevation-16dp_-_box-shadow);
    align-items: var(--layout-center-center_-_align-items);
    position: relative;
    box-sizing: border-box;
    min-width: 5.14em;
    margin: 0 0.29em;
    -webkit-tap-highlight-color: transparent;
    font: inherit;
    user-select: none;
    cursor: pointer;
    z-index: 0;
    font-family: var(--paper-font-common-base_-_font-family);
    -webkit-font-smoothing: var(--paper-font-common-base_-_-webkit-font-smoothing);
    width: var(--paper-button_-_width);
    transition: var(--shadow-transition_-_transition);
    display: var(--layout-horizontal_-_display);
    flex-direction: var(--layout-horizontal_-_flex-direction);
    justify-content: var(--layout-around-justified_-_justify-content);
    border: 2px solid white;
    border-radius: 26px;
    padding: 12px 28px;
    font-weight: normal;
    outline: none;
    text-transform: inherit;
    white-space: nowrap;
    --paper-button_-_width: max-content;
    font-size: var(--paper-button-custom_-_font-size, .9em) !important;
    background: var(--app-primary-color);
    border-color: var(--app-primary-color);
    color: white;
}

paper-button.thin {
    padding: 4px 20px;
}

paper-button.small {
    padding: 8px 18px;
    font-size: 0.85em !important;
}

#paygreenWrapper .button {
    cursor: pointer;
    outline: 0;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #0d6efd;
    border-color: #0d6efd;
    width: 33%;
}

#paygreenWrapper .button:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#paygreenWrapper #paygreen-pay-form {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

#paygreenWrapper #paygreen-pay-form > div {
    margin-top: 1rem;
}

#paygreenWrapper #paygreen-pay-form > label {
    color: grey;
    font-weight: 600;
}

#paygreenWrapper #paygreen-pay-form > .button {
    align-self: center;
    margin-top: 1rem;
}


#paygreenWrapper .paygreen-pan-frame, #paygreenWrapper .paygreen-cvv-frame, #paygreenWrapper .paygreen-exp-frame {
    background-color: rgb(243, 243, 243);
    padding: 0 0.5rem;
    border: none !important;
}

#paygreenWrapper .paygreen-pan-frame:hover, #paygreenWrapper .paygreen-cvv-frame:hover, #paygreenWrapper .paygreen-exp-frame:hover {
    border-bottom: #0d6efd solid 1px !important;
}


#paygreenWrapper .line {
    display: flex;
    justify-content: space-between;
}

#paygreenWrapper .line > div {
    max-width: 48%;
}

#paygreenWrapper #paygreen-reuse-checkbox-container {
    margin-top: 1rem;
    /* height: 60px; */
}

#paygreen-header > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#paygreen-message {
    display: flex;
    align-self: center;
    padding-top: 1.3em;
}

.simple-popup {
    align-items: center;
    display: none;
    height: 100vh;
    justify-content: center;
    position: relative;
    padding: 0;
    z-index: 9000;
}

.simple-popup::before {
    background: #000;
    bottom: 0;
    content: '';
    opacity: 0.7;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000;
}

.simple-popup > .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    position: relative;
    z-index: 10001;
}

.simple-popup > .container .popup {
    background: white;
    border-radius: 15px;
    max-width: 90%;
    text-align: center;
    padding: 15px;
    width: 500px;
}

.simple-popup > .container .popup .title {
    font-size: 1.5em;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f1f1;
}

.simple-popup > .container .popup .content {
    font-weight: thin;
    line-height: 1.6em;
    padding: 10px;
}

.simple-popup > .container .popup .content #updateCountdown {
    font-size: 1.4em;
    font-weight: normal;
}

.simple-popup > .container .popup .button {
    border-top: 1px solid #f1f1f1;
}

.simple-popup > .container .popup .button a {
    background: var(--app-primary-color, green);
    border-radius: 16px;
    color: white;
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    text-decoration: none;
}