/* fonts */

/* @font-face {
	font-family: 'Montserrat';
	src: url('../fonts/Montserrat-Thin.otf');
	font-weight: 200;
	font-style: normal;
	font-stretch: normal;
} */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.otf");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.otf");
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.otf");
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-ExtraBold.otf");
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
}

/* visibility */

.only-d {
    display: none;
}
.only-m {
    display: block;
}

@media (min-width: 700px) {
    .only-d {
        display: block;
    }
    .only-m {
        display: none;
    }
}

.only-d-inline {
    display: none;
}
.only-m-inline {
    display: inline;
}

@media (min-width: 700px) {
    .only-d-inline {
        display: inline;
    }
    .only-m-inline {
        display: none;
    }
}

/* main markup */

HTML {
    height: 100%;
    line-height: 1.45;
    -webkit-overflow-scrolling: touch;
    font-size: 100%;
    box-sizing: border-box;
    color: #fff;
    background: #181a1b;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

input:focus {
    outline: 0;
}
textarea:focus {
    outline: 0;
}

body {
    position: relative;
    font-family: "Montserrat", Arial, Tahoma, sans-serif;
    font-weight: 400;
    color: #fff;
    background: #181a1b;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 3vw;
}

@media (min-width: 700px) {
    body {
        font-size: 1vw;
    }
}

/* sticky footer */

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
main {
    flex: 1;
}

/* elements */

input.submit,
input.button,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
}

a {
    color: #fff;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

img {
    display: inline-block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* header */

header {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 3.3vw 0vw 3.3vw 21.8vw;
    background: #2b2d2f;
    box-shadow: 3px 5px rgba(17, 18, 19, 0.15);
}

@media (min-width: 700px) {
    header {
        padding: 0.8vw 10.9vw;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
    }
}

.header-logo-main img {
    width: 32.2vw;
    height: auto;
    display: inline-block;
}

@media (min-width: 700px) {
    .header-logo-main img {
        width: 10.7vw;
    }
}

.menu-toggle {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    padding: 3vw;
    transition: background 300ms ease;
    background: #2b2d2f;
}
.menu-toggle-warn {
    background: #ed1b35;
}
.menu-toggle img {
    width: 7.7vw;
    height: auto;
    transition: opacity 300ms ease;
}
.menu-toggle:hover img {
    opacity: 0.7;
}

body.menu .menu-toggle {
    background: #ed1b35;
}

/* header menu */

.header-menu {
    position: absolute;
    width: 100%;
    top: 12vw;
    left: 0;
    z-index: 1;
    background: #1c1e1f;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}
body.menu .header-menu {
    opacity: 1;
    pointer-events: all;
}

@media (min-width: 700px) {
    .header-menu,
    body.menu .header-menu {
        position: relative;
        opacity: 1;
        pointer-events: all;
        background: none;
        top: 0;
        width: 45vw;
    }
}

.header-menu ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .header-menu ul {
        width: 100%;
        opacity: 1;
        pointer-events: all;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        align-items: flex-start;
    }
}

.header-menu ul li {
    display: block;
    font-size: 6vw;
    font-weight: 700;
    border-bottom: 1px solid #2b2d2f;
}

@media (min-width: 700px) {
    .header-menu ul li {
        font-size: 1vw;
        border: 0;
        flex: 0 0 auto;
        width: auto;
        display: inline-block;
    }
}

.header-menu ul li a {
    text-decoration: none;
    padding: 4vw;
    display: block;
}
@media (min-width: 700px) {
    .header-menu ul li a {
        padding: 0;
        display: inline-block;
        position: relative;
        top: 0.1vw;
    }
}
.header-menu ul li a:hover {
    background: #494c4f;
}
@media (min-width: 700px) {
    .header-menu ul li a:hover {
        background: none;
        text-decoration: underline;
    }
}

body.menu main,
body.menu footer {
    opacity: 0.5;
    pointer-events: none;
}
@media (min-width: 700px) {
    body.menu main,
    body.menu footer {
        opacity: 1;
        pointer-events: all;
    }
}

#header-exit img,
#header-lk img {
    opacity: 1;
    transition: opacity 300ms ease;
}
#header-exit:hover img,
#header-lk:hover img {
    opacity: 0.7;
}
#header-exit {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    border-left: 2px solid #181a1b;
    display: inline-block;
    padding: 2.7vw;
}

#header-lk {
    position: absolute;
    top: 0;
    right: 13vw;
    z-index: 1;
    border-left: 2px solid #181a1b;
    display: inline-block;
    padding: 2.7vw;
}

@media (min-width: 700px) {
    #header-lk,
    #header-exit {
        padding: 0.8vw;
    }
    #header-lk {
        right: 3.8vw;
    }
}

#header-lk img,
#header-exit img {
    height: 7vw;
    width: auto;
}

@media (min-width: 700px) {
    #header-lk img,
    #header-exit img {
        height: 2vw;
    }
}

/* footer */

footer {
    position: relative;
    margin: 0;
    padding: 7vw 6.25vw 8vw;
    text-align: center;
    background: #2b2d2f;
}

@media (min-width: 700px) {
    footer {
        padding: 1.8vw 10.9vw 3vw;
    }
}

/* docs */

#docs-block {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 300ms ease;
    opacity: 0;
    pointer-events: none;
}
#docs-block.active {
    opacity: 1;
    pointer-events: all;
}
.docs-block-wrapper {
    position: relative;
    border: 1px solid #333;
    padding: 1em 2em;
    background: #050505;
}
.docs-block-wrapper h1 {
    margin-top: 0;
}
.docs-block-wrapper .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 1em;
    display: block;
}
.docs-block-wrapper .close img {
    width: 1.5em;
    height: auto;
}

/* code */

#code-block {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 300ms ease;
    opacity: 0;
    pointer-events: none;
    font-size: 0.9em;
}
@media (min-width: 700px) {
    #code-block {
        font-size: 1em;
    }
}
#code-block.active {
    opacity: 1;
    pointer-events: all;
}
.code-block-wrapper {
    position: relative;
    border: 1px solid #2b2d2f;
    padding: 1em 2em;
    background: #1c1e1f;
    max-width: 80%;
}
@media (min-width: 700px) {
    .code-block-wrapper {
        max-width: 25em;
    }
}
.code-block-wrapper img.code-img {
    width: 100%;
    height: auto;
    margin-bottom: 2em;
}
.code-block-wrapper h1 {
    margin-top: 0;
    text-transform: uppercase;
}

.code-block-wrapper .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 1em;
    display: block;
}
.code-block-wrapper .close img {
    width: 1.5em;
    height: auto;
}

.footer-text {
    margin-bottom: 7vw;
}

@media (min-width: 700px) {
    .footer-text {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
        width: 80%;
        margin: 0 auto 2em auto;
    }
}

.footer-text p {
    margin-bottom: 2em;
}
.footer-text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .footer-text p {
        margin-bottom: 0;
    }
}

.footer-social {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.footer-social > div {
    flex: 0 0 auto;
    margin: 0 5vw;
}
@media (min-width: 700px) {
    .footer-social > div {
        margin: 0 3vw 0 0;
    }
}
.footer-social > div img {
    height: 7.8vw;
    width: auto;
    display: block;
    transition: opacity 300ms ease;
}
@media (min-width: 700px) {
    .footer-social > div img {
        height: 2.135vw;
    }
}
.footer-social > div img:hover {
    opacity: 0.7;
}

/* main */

main {
    position: relative;
    background: #181a1b;
    padding-top: 10vw;
}

@media (min-width: 700px) {
    main {
        padding-top: 3vw;
    }
}

/* article */

article {
    padding: 8vw;
    border-bottom: 1px solid #2b2d2f;
}

@media (min-width: 700px) {
    article {
        padding: 3vw 10.9vw;
        border: 0;
    }
}

article h1 {
    text-align: center;
    font-weight: 700;
    font-size: 7vw;
    margin: 0 0 0.4em;
    padding: 0;
}

/* input's visibility */

#form-auth .form-item {
    display: none;
}
#form-auth .form-item.active {
    display: block;
}
#form-newcard .form-item {
    display: none;
}
#form-newcard .form-item.active {
    display: block;
}
#input-card-auth,
#input-phone-auth {
    display: none;
}
#input-card-auth.active,
#input-phone-auth.active {
    display: initial;
}
#newcard-button {
    margin: 1em 0;
}
@media (min-width: 700px) {
    #newcard-button {
        margin: 0;
    }
}

/* hero & auth  */

#auth h1.authh1 {
    font-size: 4.7vw;
    text-align: center;
    font-weight: 400;
    line-height: 1.05em;
    padding: 0;
    margin: 0 0 0.8em;
    z-index: 2;
    position: relative;
}

@media (min-width: 700px) {
    #auth h1.authh1 {
        font-size: 3.7vw;
        text-align: left;
        width: 49vw;
        font-weight: 900;
        line-height: 1em;
        margin: 0 0 0.5em;
    }
}

#auth img {
    margin: 0 auto 1em;
    /* width: 85%; */
    width: 100%;
    margin-top: -10vw;
    margin-bottom: -16vw;
    pointer-events: none;
}

@media (min-width: 700px) {
    #auth img {
        position: absolute;
        /* width: 50%; */
        width: 54%;
        height: auto;
        /* top: 0; */
        top: 3vw;
        right: 0;
        margin-top: 0;
        margin-bottom: 0;
        z-index: 1;
    }
}

/* form */

#authform {
    width: 80%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

@media (min-width: 700px) {
    #authform {
        text-align: left;
        width: 50%;
        margin: 0;
    }
    #authform h1 {
        text-align: left;
        margin: 0 0 0.3em;
        font-size: 1.7vw;
    }
}

.form-item {
    position: relative;
    margin-bottom: 4vw;
    text-align: center;
}

@media (min-width: 700px) {
    .form-item {
        margin-bottom: 2vw;
        text-align: left;
    }
}

.form-item-desc {
    font-size: 2.5vw;
    line-height: 1.4em;
    margin-bottom: 4vw;
}

@media (min-width: 700px) {
    .form-item-desc {
        font-size: 1vw;
        line-height: 1.45em;
        margin-bottom: 2vw;
    }
}

#newcard .form-item-desc {
    width: 80%;
    margin: 0 auto;
}

@media (min-width: 700px) {
    #newcard .form-item-desc {
        width: 100%;
        margin: 0;
    }
}

.form-item-desc a {
    color: #fff;
}

.input-desc {
    display: block;
    text-align: left;
    padding: 0.6em 0;
    font-size: 2.5vw;
}

.input-desc-centered {
    display: block;
    text-align: center;
    padding: 0.6em 0;
    font-size: 2.5vw;
}

@media (min-width: 700px) {
    .input-desc-centered,
    .input-desc {
        font-size: 1vw;
    }
}

/* new card block */

@media (min-width: 700px) {
    #form-newcard {
        max-width: 45vw;
    }
    #newcard {
        padding: 2vw 10.9vw;
        background: #2b2d2f;
    }

    #newcard input.text {
        max-width: 25vw;
    }
    .promod input.text {
        max-width: 25vw;
    }
    .promod h3 {
        max-width: 50vw;
    }

    #newcard h1 {
        font-size: 2.3vw;
        text-align: left;
        margin-bottom: 0.1em;
    }

    #newcard .form-item.flexed {
        display: flex;
        flex-direction: column;
    }
    #newcard .input-desc-centered {
        text-align: left;
        font-size: 1.2vw;
        padding-bottom: 1vw;
    }
    #newcard .form-item .form-item-desc {
        text-align: left;
        font-weight: 700;
    }

    #form-newcard-7 {
        margin-right: 1.4vw;
    }

    #newcard .form-item-desc {
        max-width: 40vw;
    }
}

/* form items */

form {
    position: relative;
}
form.sending {
    pointer-events: none;
}
form.sending > * {
    opacity: 0.15;
}
form .indicator {
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}
form .indicator:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3em;
    height: 3em;
    margin-top: -1.5em;
    margin-left: -1.5em;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    animation: spinner 1s linear infinite;
}
form.sending .indicator {
    opacity: 1 !important;
}
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
form .indicator > div {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    margin-top: 2.5em;
}
form .indicator > div span {
    max-width: 30em;
    display: inline-block;
    text-align: center;
}

.form-item-input {
    position: relative;
}
.form-item-cardlist-number,
.form-item-phonelist-number {
    margin-bottom: 0.5em;
}
.form-item-cardlist-number a,
.form-item-phonelist-number a {
    font-size: 1.2em;
    padding: 0.6em 1.5em;
    background: #24272d;
    display: inline-block;
    border: 1px solid #24272d;
    text-decoration: none;
}
.form-item-cardlist-number a:hover,
.form-item-phonelist-number a:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
}
input.text {
    width: 100%;
    background: #24272d;
    border: 1px solid #24272d;
    font-size: 5vw;
    color: #fff;
    padding: 2vw 3.5vw;
    transition: border 300ms ease;
}
input.error {
    border: 1px solid #ff0000;
}
input.text.textsmall {
    width: 44.5vw;
}
input.text:disabled {
    color: #90949f;
}
#main-error,
#newcard-error {
    color: #ff0000;
    text-align: left;
    line-height: 1.1em;
    margin-bottom: 1em;
}
@media (min-width: 700px) {
    #main-error {
        position: absolute;
        width: 13vw;
        font-size: 0.9em;
        top: 0;
        right: 0;
        z-index: 1;
        margin-bottom: 0;
    }

    #newcard-error {
        font-size: 0.9em;
    }
}

#sms-error,
#sms-newcard-error {
    color: #ff0000;
    text-align: left;
    line-height: 1.1em;
    margin-bottom: 1em;
}
@media (min-width: 700px) {
    #sms-error {
        position: absolute;
        width: 13vw;
        font-size: 0.9em;
        top: 0;
        right: 0;
        z-index: 1;
        margin-bottom: 0;
    }

    #sms-newcard-error {
        font-size: 0.9em;
    }
}

@media (min-width: 700px) {
    input.text {
        width: 100%;
        background: #24272d;
        font-size: 1.5vw;
        color: #fff;
        padding: 0.5vw 1vw;
        transition: border 300ms ease;
    }
    input.text.textsmall {
        width: 10vw;
    }

    #newcard input.text {
        background: #181a1b;
    }

    #auth input.text {
        max-width: 25vw;
    }
}

input.text-newcard {
    width: 1.8em;
    margin: 0 0.2em;
    text-align: center;
    padding: 2vw 0;
}

@media (min-width: 700px) {
    input.text-newcard {
        padding: 0.5vw 0;
        margin: 0 0.4em 0 0;
    }
}

input.text:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

::-webkit-input-placeholder {
    color: #414349;
}
:-moz-placeholder {
    color: #414349;
}
::-moz-placeholder {
    color: #414349;
}
:-ms-input-placeholder {
    color: #414349;
}

textarea {
    width: 100%;
    background: #24272d;
    border: 1px solid #24272d;
    font-size: 5vw;
    color: #fff;
    padding: 2vw 3.5vw;
    min-height: 30vw;
    transition: border 300ms ease;
}
textarea:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 700px) {
    textarea {
        font-size: 1.5vw;
        padding: 0.5vw 1vw;
        min-height: 15vw;
    }
}

button,
input.button {
    background: #24272d;
    border: 1px solid #24272d;
    font-size: 5vw;
    color: #fff;
    padding: 2vw 3.5vw;
    cursor: pointer;
    transition: background 300ms ease;
}

input.warning,
input.button.warning,
button.warning {
    background-color: #4d0303;
    border: 1px solid maroon;
}
input.activebutton,
button.activebutton {
    background-color: #4d0303;
    border: 1px solid maroon;
}
input.activebutton:hover,
button.activebutton:hover {
    background-color: #4d0303;
    border: 1px solid maroon;
}

/* button misc */

button.button.misc {
    background: #24272d;
    border: none;
    font-size: 3.5vw;
    color: #fff;
    padding: 2vw 3.5vw;
    cursor: pointer;
    transition: background 300ms ease;
}

button.button.misc img {
    width: auto;
    height: 1.4em;
}

@media (min-width: 700px) {
    button.button.misc {
        background: #24272d;
        border: none;
        font-size: 1vw;
        color: #fff;
        padding: 0.6vw 1.5vw;
        cursor: pointer;
        transition: background 300ms ease;
    }

    button.button.misc:hover {
        opacity: 0.8;
    }
    button.button.gift:hover {
        opacity: 0.8;
    }
}

/* button gift */

button.button.gift {
    background: #24272d;
    border: none;
    color: #fff;
    padding: 2.4vw 3.5vw 2vw 3.5vw;
    cursor: pointer;
    transition: background 300ms ease;
}

button.button.gift img {
    width: auto;
    height: 1.4em;
    margin-left: 0.3em;
}

@media (min-width: 700px) {
    button.button.gift {
        background: #24272d;
        border: none;
        color: #fff;
        padding: 0.6vw 1.5vw;
        cursor: pointer;
        transition: background 300ms ease;
    }
}

/* checkbox */

input[type="checkbox"] {
    transition: border-color 300ms ease;
    cursor: pointer;
    border: 1px solid #ddd;
    background-color: unset;
    appearance: none;
    width: 1em;
    height: 1em;
    border-radius: 3px;
    position: relative;
    top: 0.15em;
    margin-right: 0.2em;
}
input[type="checkbox"]:hover {
    border-color: #fff;
}
input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10l3 3l6-6%27/%3e%3c/svg%3e");
}

@media (min-width: 700px) {
    button,
    input.button {
        font-size: 1.5vw;
        padding: 0.5vw 4vw;
    }

    input.button.buttonsmall {
        padding: 0.5vw 2vw;
    }

    #newcard button,
    #newcard input.button {
        background: #181a1b;
    }
    #newcard button:hover,
    #newcard input.button:hover {
        background: #0c0d0e;
    }
    #newcard input.button.warning {
        background-color: #4d0303;
        border: 1px solid maroon;
    }
    #newcard input.button.warning:hover {
        background: #0c0d0e;
    }
}

button:hover,
input.button:hover {
    background: #1d1f24;
}
.form-item-title h2 {
    font-weight: 400;
    font-size: 1.3em;
    margin-bottom: 0.4em;
}

/* faq */

#faq.faq-bg {
    background: #2b2d2f;
    margin-bottom: 4vw;
}
@media (min-width: 700px) {
    #faq.faq-bg {
        margin-bottom: 2vw;
    }
}

@media (min-width: 700px) {
    #faq {
        padding-bottom: 0;
    }
    #faq h1 {
        font-size: 2.3vw;
        margin-bottom: 1em;
    }
}

.faq-list {
    margin: 0 auto;
    width: 90%;
}
@media (min-width: 700px) {
    .faq-list {
        width: 85%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.faq-item {
    margin-bottom: 2em;
}

@media (min-width: 700px) {
    .faq-item {
        flex: 0 0 30%;
        margin-bottom: 4vw;
    }
}

.faq-item h1 {
    text-align: left;
    font-size: 3.8vw;
    margin-bottom: 0.3em;
    line-height: 1.2em;
    cursor: pointer;
    text-decoration: underline;
}

.faq-item span {
    font-size: 3.8vw;
    max-height: 0;
    overflow: hidden;
    display: block;
    transition: max-height 0.2s ease-out;
}

@media (min-width: 700px) {
    #faq .faq-item h1 {
        text-align: left;
        font-size: 1.1vw;
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }

    #faq .faq-item span {
        font-size: 1.1vw;
    }
}

/* lk */

#lk h1 {
    font-weight: 400;
    margin: 0 0 0.3em 0;
    text-align: center;
    line-height: 1em;
    font-size: 5vw;
}
@media (min-width: 700px) {
    #lk h1 {
        font-size: 2.9vw;
        text-align: left;
        font-weight: 600;
        margin: 0 0 0.4em;
    }
}
#contactus h1.toggle {
    font-weight: 600;
    text-align: center;
    margin: 0 0 1em 0;
    line-height: 1em;
    font-size: 5vw;
}
@media (min-width: 700px) {
    #contactus h1.toggle {
        font-size: 2.2vw;
        text-align: center;
        font-weight: 400;
        margin: 0 0 0.4em;
    }
}
#lk h2 {
    font-weight: 400;
    margin: 0 0 5vw 0;
    text-align: center;
    line-height: 1em;
    font-size: 5vw;
}
@media (min-width: 700px) {
    #lk h2 {
        font-size: 1.8vw;
        text-align: left;
        font-weight: 600;
        margin: 0 0 2vw 0;
    }
}
#lk h2 strong {
    display: block;
    margin: 0.4em 0;
    text-decoration: underline;
    font-size: 6.5vw;
}
@media (min-width: 700px) {
    #lk h2 strong {
        margin: 0;
        display: inline;
        font-size: 1.8vw;
    }
}

#lk h3 {
    font-weight: 400;
    margin: 0 0 5vw 0;
    text-align: center;
    line-height: 1;
    font-size: 3.8vw;
}
@media (min-width: 700px) {
    #lk h3 {
        font-size: 1.4vw;
        text-align: left;
        font-weight: 400;
        margin: 0 0 1.6vw 0;
    }
}

h3.backlink {
    margin-bottom: 1.5em;
}
h3.backlink a img {
    margin-right: 0.5em;
}
h3.backlink a {
    text-decoration: none;
}
h3.backlink a span {
    text-decoration: underline;
}
h3.backlink a:hover span {
    text-decoration: none;
}

.codecards {
    margin-bottom: 10vw;
}
@media (min-width: 700px) {
    .codecards {
        margin-bottom: 2vw;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
}
.cc-code {
    text-align: center;
}
@media (min-width: 700px) {
    .cc-code {
        text-align: left;
        flex: 0 0 40%;
        width: 40%;
    }
}
.cc-code img {
    width: 70%;
    height: auto;
}
@media (min-width: 700px) {
    .cc-cards {
        text-align: left;
        flex: 0 0 55%;
        width: 55%;
        padding-top: 4vw;
    }
    .cc-cards img {
        width: 100%;
        height: auto;
    }
}
.qr-desc {
    position: relative;
    width: 70%;
    margin: 0 auto;
    background: #24272e;
    text-align: left;
    padding: 0.4em 1em;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-start;
}
@media (min-width: 700px) {
    .qr-desc {
        margin: 0;
    }
}

.qr-button {
    margin-bottom: 4vw;
}

@media (min-width: 700px) {
    input.qr-button {
        margin-bottom: 3vw;
        padding-left: 1em;
        padding-right: 1em;
    }
}

.qr-card-code {
    font-size: 5.5vw;
    font-weight: 600;
    text-decoration: underline;
}
@media (min-width: 700px) {
    .qr-card-code {
        font-size: 2.2vw;
    }
}
.qr-card-date {
    line-height: 1;
    text-align: left;
    padding: 0.4em 1em;
}
@media (min-width: 700px) {
    .qr-card-date {
        padding: 0.6em 1em;
    }
}

.card-dis {
    text-align: center;
}
@media (min-width: 700px) {
    .card-dis {
        text-align: left;
        position: absolute;
        top: 0;
        left: 60%;
        z-index: 1;
    }
}
.card-dis a {
    font-size: 5vw;
    position: relative;
    z-index: 2;
}
@media (min-width: 700px) {
    .card-dis a {
        font-size: 2vw;
    }
}
.card-dis-num strong {
    font-size: 25vw;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}
.card-dis-num strong span {
    pointer-events: none;
}
@media (min-width: 700px) {
    .card-dis-num strong {
        font-size: 10vw;
    }
}
.card-dis-num span {
    font-size: 4vw;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}
@media (min-width: 700px) {
    .card-dis-num span {
        font-size: 1.7vw;
    }
}

.card-link {
    text-align: center;
}
.card-link a {
    font-size: 5vw;
}
@media (min-width: 700px) {
    .card-link a {
        font-size: 2vw;
    }
}

/* contact us */

#contactus .form-item {
    text-align: center;
}
@media (min-width: 700px) {
    #contactus {
        background: #2c2d2f;
        border-bottom: 5vw solid #191a1c;
    }
    #contactus h1 {
        font-size: 3vw;
    }
}
textarea#cu-message {
    height: 50vw;
    font-size: 3.5vw;
}

@media (min-width: 700px) {
    #contactus input.button,
    #contactus input.text,
    #contactus textarea {
        background: #191a1c;
    }
    #contactus input.button:hover {
        background: #24272d;
    }
    #contactus .support-form {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 700px) {
    textarea#cu-message {
        height: 30vw;
        width: 70%;
        margin: 0 auto;
        font-size: 1.5vw;
        background: #191a1c;
    }
}

.footer-cards {
    width: 89vw;
    margin-bottom: -20vw;
    height: auto;
}

/* anchor */

.anchor {
    position: relative;
    top: -14vw;
    pointer-events: none;
}
@media (min-width: 700px) {
    .anchor {
        top: -4vw;
    }
}

/* text pages */

#text h1 {
    position: relative;
    font-size: 4.7vw;
    text-align: left;
    font-weight: 400;
    line-height: 1.05em;
    padding: 0;
    margin: 0 0 0.8em;
}

#text h1 .h1backlink {
    position: absolute;
    top: 0;
    line-height: 0;
    left: -1em;
    z-index: 1;
    text-decoration: none;
    font-weight: 400;
    background: #2b2d2f;
    padding: 0.23em 0.2em;
}
#text h1 .h1backlink img {
    height: 0.5em;
    vertical-align: middle;
    width: auto;
}

@media (min-width: 700px) {
    #text h1 {
        font-size: 2.7vw;
        text-align: left;
        font-weight: 700;
        line-height: 1em;
        margin: 0 0 1em;
    }
}

#text h2 {
    font-size: 3vw;
    text-align: left;
    font-weight: 400;
    line-height: 1.05em;
    padding: 0;
    margin: 0 0 1.3em;
}

@media (min-width: 700px) {
    #text h2 {
        font-size: 1.8vw;
        text-align: left;
        font-weight: 700;
        line-height: 1em;
        margin: 1em 0 0.5em;
    }
}

#text {
    font-size: 2.5vw;
}
@media (min-width: 700px) {
    #text {
        font-size: 1.2vw;
    }
}

#text p {
    margin-bottom: 1em;
}

/* Support form */

.support-form {
    padding-bottom: 10vw;
}
@media (min-width: 700px) {
    .support-form {
        max-width: 66%;
        padding-bottom: 4vw;
    }
}

@media (min-width: 700px) {
    .support-form-row {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .support-form-row .support-form-item {
        flex: 0 0 49%;
        width: 49%;
    }
}

.support-form-item {
    margin-bottom: 4vw;
}
@media (min-width: 700px) {
    .support-form-item {
        margin-bottom: 1vw;
    }
}
.support-form-buttons {
    text-align: right;
}

/* LK form */

.lk-form {
    padding-bottom: 10vw;
    display: flex;
    flex-flow: column nowrap;
}
@media (min-width: 700px) {
    .lk-form {
        padding-bottom: 4vw;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-end;
    }
}

@media (max-width: 700px) {
    .lk-form .lki1 {
        order: 1;
    }
    .lk-form .lki2 {
        order: 2;
    }
    .lk-form .lki3 {
        order: 3;
    }
    .lk-form .lki4 {
        order: 4;
    }
    .lk-form .lki5 {
        order: 5;
    }
    .lk-form .lki6 {
        order: 6;
    }
    .lk-form .lki7 {
        order: 7;
    }
    .lk-form .lki8 {
        order: 8;
    }
    .lk-form .lki9 {
        order: 9;
    }
    .lk-form .lki10 {
        order: 10;
    }
    .lk-form .lki11 {
        order: 11;
    }
}

.lk-form-item {
    margin-bottom: 4vw;
}
@media (min-width: 700px) {
    .lk-form-item {
        flex: 0 0 32.5%;
        width: 32.5%;
        margin-bottom: 1vw;
    }
    .lk-form-item-full {
        flex: 0 0 100%;
        width: 100%;
    }
    .lk-form-item-full-button {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 2.5vw;
    }
}
label {
    font-size: 1.2em;
    cursor: pointer;
}

/* Promo dish */
.promod {
    padding: 2.5vw 0;
    text-align: center;
    margin-bottom: 3vw;
}
.promod.promod-second {
    margin-bottom: 5vw;
}
.promod .entry-button-desc {
    margin: 0 auto;
    max-width: 40em;
}
@media (min-width: 700px) {
    .promod {
        padding: 1vw 0;
        margin-bottom: 1vw;
    }
    .promod.promod-second {
        margin-bottom: 3vw;
    }
}
.action-toggle-promod {
    line-height: 1em;
    margin-bottom: 0.7em;
}
.action-toggle-promod small {
    font-size: 0.7em;
}

.promo-error-message {
    color: #ff0000;
    font-size: 1.1em;
    padding: 1em 0;
}
.promod h3 {
    line-height: 1.2em !important;
}

/* Support */

#button-support {
    position: fixed;
    bottom: 5vw;
    right: 3vw;
    padding: 2vw;
    z-index: 100;
}

#button-support img {
    width: 10vw;
    height: auto;
    transition: opacity 400ms ease;
    opacity: 1;
}

@media (min-width: 700px) {
    #button-support {
        bottom: 4vw;
        right: 4vw;
        padding: 1vw;
    }

    #button-support img {
        width: 5vw;
        height: auto;
        transition: opacity 400ms ease;
        opacity: 0.5;
    }
    #button-support:hover img {
        opacity: 1;
    }
}

#overlay_message {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
}
#overlay_message.active {
    display: flex;
}

#overlay_message .overlay_message_content {
    max-width: 35em;
    text-align: center;
}
#overlay_message .overlay_message_content p.title {
    font-size: 1.3em;
    margin: 0 0 0.6em 0;
}
#overlay_message .overlay_message_content p.desc {
    font-size: 0.9em;
    margin: 0;
    opacity: 0.6;
}

#overlay_message .indicator {
    opacity: 1;
    pointer-events: none;
    position: relative;
    width: 3em;
    height: 3em;
    margin: 1.5em auto 0;
}

#overlay_message .indicator:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    animation: spinner 1s linear infinite;
}

/* Actions */

.actions-list-item {
    margin-bottom: 4em;
}

@media (min-width: 700px) {
    .actions-list {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .actions-list-item {
        flex: 0 0 23%;
        width: 23%;
        margin-right: 2%;
    }
}

.actions-list-item-image {
    margin-bottom: 1em;
}
.actions-list-item-image img {
    width: 100%;
    height: auto;
}

.actions-list-item-time {
    font-size: 1.1em;
    margin-bottom: 0.2rem;
}

.actions-list-item-name {
    margin-bottom: 0.5rem;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2em;
}
.actions-list-item-desc {
    font-size: 1.1em;
    line-height: 1.3em;
}
@media (min-width: 700px) {
    .actions-list-item-time {
        font-size: 0.8em;
        margin-bottom: 0.3rem;
    }
    .actions-list-item-name {
        font-size: 1.2em;
        margin-bottom: 0.8rem;
    }
    .actions-list-item-desc {
        font-size: 0.85em;
    }
}

/* Action full */

@media (min-width: 700px) {
    .action-full {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.action-full-img-timeblock {
    padding: 1em;
    border: 1px solid #333;
    margin-bottom: 2em;
}
.action-full-img-timeblock h3 {
    margin-bottom: 0.5em;
}
.action-full-img-time {
    margin-bottom: 1em;
}
.action-full-img-time img {
    width: 100%;
    height: auto;
}
@media (min-width: 700px) {
    .action-full-img-time {
        flex: 0 0 35%;
        width: 35%;
        margin-bottom: 0;
    }
    .action-full-img-timeblock {
        padding: 1em;
        border: 0;
        background: #1d1e20;
        margin-bottom: 2em;
        margin-top: 0.7em;
    }
}

.action-full-time {
    font-size: 1.1em;
    margin-bottom: 0.2rem;
}

.action-full-desc {
    font-size: 1.2em;
    line-height: 1.3em;
}
@media (min-width: 700px) {
    .action-full-time {
        font-size: 0.9em;
        margin-bottom: 0.3rem;
    }
    .action-full-where {
        font-size: 0.9em;
        margin-bottom: 0.3rem;
    }
    .action-full-desc {
        font-size: 1em;
        flex: 0 0 62%;
        width: 62%;
    }
}

/* Terms */

#text.meta-content ol h1 {
    font-size: 1.2em;
    margin-bottom: 0.3em;
    margin-top: 1em;
    display: inline;
}
.meta-content ul,
.meta-content ol,
.meta-content li {
    margin: 0;
    padding: 0;
}
.meta-content ol {
    list-style: none;
}

.meta-content ul,
.meta-content ol {
    margin: 0 0 1em 0;
}

.meta-content ul li,
.meta-content ol li {
    margin: 0 0 0.5em 0;
}

.meta-content ol ul,
.meta-content ol ol {
    margin-top: 0.5em;
}
.meta-content ol ul li {
    margin-left: 1em;
}

.meta-content ol {
    counter-reset: item;
}

.meta-content ol ol {
    padding: 0 0 0 1.5em;
}

.meta-content ol > li:before {
    content: counters(item, ".") ".";
    padding-right: 0.5em;
    counter-increment: item;
}

/* gift cards */

#giftcard h1 {
    text-align: left;
    font-size: 2em;
    line-height: 1.3em;
}

#giftcard .form-item {
    text-align: left;
}
#giftcard #form-item-mainbutton {
    margin-top: 3em;
    margin-bottom: 3em;
}

@media (min-width: 700px) {
    .giftcard-wrapper {
        margin-top: 2em;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .giftcard-img {
        order: 2;
        flex: 0 0 59%;
        width: 59%;
    }
    .giftcard-text {
        order: 1;
        flex: 0 0 38%;
        width: 38%;
    }
    #giftcard #form-item-mainbutton {
        margin-top: 4em;
        margin-bottom: 4em;
    }
}

.giftcard-img img {
    width: 100%;
    height: auto;
    margin: 1em 0 2em 0;
}

.overlay {
    position: fixed;
    display: none;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.overlay.active {
    display: block;
}

.overlay-bg {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
.overlayfull .overlay-bg {
    background-color: rgba(0, 0, 0, 0.8);
}

.overlay-content {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.overlay-banner {
    text-align: center;
    width: 100%;
}
.overlay-banner img.base {
    width: 100%;
    height: auto;
}

.overlay-banner-wrapper {
    position: relative;
    width: 86%;
    margin: 0 auto;
}

@media (orientation: landscape) {
    .overlay-banner-wrapper {
        width: 32%;
    }
}

.close-overlay {
    position: absolute;
    width: 20%;
    height: 20%;
    top: 0;
    right: 0;
    z-index: 1;
}
.close-overlay:hover {
    background: rgba(255, 255, 255, 0.4);
}

.overlay-promo-link {
    position: absolute;
    width: 39%;
    height: 20%;
    bottom: 3%;
    left: 0;
    z-index: 1;
}
.overlay-promo-link:hover {
    background: rgba(255, 255, 255, 0.4);
}

.overlay-promo-link-codes {
    position: absolute;
    width: 43.8%;
    height: 10.2%;
    bottom: 12%;
    left: 12.3%;
    z-index: 1;
}
.overlay-promo-link-codes:hover {
    background: rgba(255, 255, 255, 0.4);
}

.index-placeholder {
    height: 0vw;
}

@media (min-width: 700px) {
    .index-placeholder {
        height: 13vw;
    }
}

.promo-block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid #333;
}

.promo-c1 {
    flex: 0 0 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
@media (min-width: 700px) {
    .promo-c1 {
        flex: 0 0 75%;
    }
}

@media (min-width: 700px) {
    .promo-c2 {
        flex: 1 1 auto;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.promo-code {
    margin-bottom: 1.3em;
}
.promo-qr {
    flex: 0 0 30vw;
}
@media (min-width: 700px) {
    .promo-qr {
        flex: 0 0 12vw;
    }
}
.promo-title {
    flex: 0 0 100%;
}
@media (min-width: 700px) {
    .promo-title {
        flex: 0 0 25%;
    }
}

.promo-button button {
    font-size: 1.4em;
    width: 11em;
}
@media (min-width: 700px) {
    .promo-button button {
        font-size: 1em;
        width: 11em;
        padding: 0.5em 1em;
        margin-right: 2em;
    }
}
.promo-num {
    font-size: 4vw;
    font-weight: 400;
    line-height: 1.05em;
    padding: 0;
    margin: 0 0 1.3em;
}

@media (min-width: 700px) {
    .promo-num {
        font-size: 1.8vw;
        text-align: left;
        font-weight: 400;
        line-height: 1em;
        margin: 0 0 0.5em;
    }
}

.promo-qr img {
    width: 100%;
    height: auto;
}

#text .promo-title h2 {
    font-size: 4.4vw;
    font-weight: 700;
    line-height: 1.05em;
    padding: 0;
    margin: 0 0 1em;
}

@media (min-width: 700px) {
    #text .promo-title h2 {
        font-size: 2vw;
        text-align: left;
        font-weight: 700;
        line-height: 1em;
        margin: 0 0 0.5em;
    }
}

.promo-desc {
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid #333;
}
.promo-desc span {
    display: block;
    font-size: 0.9em;
    line-height: 1.3em;
}
@media (min-width: 700px) {
    .promo-desc span {
        display: block;
        font-size: 0.8em;
        line-height: 1.3em;
    }
}

/* promo popup */

.close-overlay-promo {
    top: 3%;
    right: 3%;
    width: 13%;
    height: 13%;
}

.overlay-promo-link-codes {
    width: 44.4%;
    height: 10.3%;
    bottom: 4.9%;
    left: 50.7%;
}

/* New Card Placeholder */

#newcardplaceholder {
    min-height: 167vw;
    background-color: #181a1b;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-image: url(../gfx/bg_ncph_mob.jpg);
    padding: 4vw;
}

#newcardplaceholder h1,
#newcardplaceholder p {
    width: 82%;
    margin-left: 15%;
    text-align: left;
}

#newcardplaceholder h1 {
    text-transform: uppercase;
    font-size: 2.1em;
    line-height: 1.1em;
    display: inline-block;
    padding-top: 24vw;
    padding-bottom: 7vw;
    max-width: 70%;
}

#newcardplaceholder p {
    font-size: 1.47em;
    line-height: 1.3em;
}
#newcardplaceholder p.hero_ph {
    padding-bottom: 10vw;
}

@media (min-width: 700px) {
    #newcardplaceholder {
        margin-top: 5vw;
        min-height: 72vw;
        background-image: url(../gfx/bg_ncph_desk.jpg);
        padding: 3vw 10.9vw;
    }

    #newcardplaceholder h1,
    #newcardplaceholder p {
        width: 88%;
        margin-left: 6%;
        text-align: center;
    }

    #newcardplaceholder h1 {
        text-transform: uppercase;
        font-size: 3.6em;
        padding-top: 11.5vw;
        padding-bottom: 7vw;
        max-width: 100%;
    }
    #newcardplaceholder p {
        font-size: 2.4em;
    }
    #newcardplaceholder p.hero_ph {
        padding-bottom: 7vw;
    }
}

.story_item {
    display: inline-block;
    position: relative;
    border: 2px solid #cccc42;
    margin-right: 1rem;
    transition: border-color 300ms ease;
    border-radius: 14px;
}
.story_item.viewed {
    border: 2px solid #444444;
}
.story_item:hover {
    border: 2px solid #ffffff;
}

.story_item img {
    width: auto;
    height: 120px;
    border: 4px solid #181a1b;
    border-radius: 12px;
}

.story_item span {
    pointer-events: none;
    position: absolute;
    display: block;
    line-height: 1.1em;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
    font-size: 1.1rem;
    padding: 0.3rem;
    color: #fff;
}

.overlaystories .close-overlay {
    padding: 0.6rem;
    background-color: #24272d;
    width: auto;
    height: auto;
    top: 0rem;
    right: 0rem;
}
@media (orientation: landscape) {
    .overlaystories .close-overlay {
        padding: 0.6rem;
        background-color: #e40428;
        width: auto;
        height: auto;
        top: 2rem;
        right: 2rem;
    }
}
.overlaystories .close-overlay img {
    width: 2rem;
    height: auto;
}
@media (orientation: landscape) {
    .overlaystories .close-overlay img {
        width: 1.3rem;
        height: auto;
    }
}
.overlaystories .overlay-banner-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

@media (orientation: landscape) {
    .overlaystories .overlay-banner-wrapper {
        max-width: 25rem;
        margin: 2rem auto 0;
    }
}

.stories_body {
    padding: 1.5rem;
    background-color: #24272d;
    text-align: left !important;
}

.stories_body h2 {
    font-weight: 400 !important;
    font-size: 1.6rem;
    line-height: 1.3em !important;
    text-align: left !important;
}

.stories_body h2.large {
    font-size: 2.7rem !important;
    margin-bottom: 0.4em !important;
}

.stories_body input.text {
    background-color: #444649;
}
.stories_body label.checkbox {
    font-size: 0.8rem;
}
.stories_body button.button {
    width: 100%;
    background-color: #e40428;
}
.stories_body button.button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.stories_body p.small {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}

.stories_body p.small:last-child {
    margin-bottom: 0;
}
.bd-desc {
    position: relative;
    top: -0.5rem;
    font-size: 0.1em;
    line-height: 1em;
}
.bd-desc a {
    font-size: 1em;
    line-height: 1em;
}
.bd-modifier {
    position: relative;
    top: -0.4rem;
    font-size: 0.8em;
    line-height: 1em;
}
.card-dis {
    margin-bottom: 2em;
}
