/* START VARIABLES */
:root {
  --easing: cubic-bezier(0.260, 0.860, 0.440, 0.985);
    /* font */
  --lato-300: 'Lato300', sans-serif;
  --lato-400: 'Lato400', sans-serif;
  --lato-700: 'Lato700', sans-serif;

  /* colors */
  --stamps-orange: #ff6600;
  --new-stamps-orange: #FF7A00;
  --gray-line: #E0DFDF;
  --black-text: #58595B;
  --gray: #4d4d4d;
}
/* END VARIABLES */

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

/* for smartphone */
html {
    height: 100%;
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: 0;
}

.content {
    margin: 0;
}

.not-android {
    text-rendering: optimizelegibility;
}

/* HACK for ratchet modal on iOS8 */
/* see https://github.com/twbs/ratchet/issues/679 */
header.bar.bar-nav {
    transform: translateZ(0);
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.block-content-wrapper {
    min-height: 100%;
}

.mobile-app .block-content-wrapper {
    padding-bottom: 0px;
}

body.noscroll {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
}


/* Menu navigation stylings */
.menu-button, .modal-close-button {
    cursor: pointer;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
    width: 37px;
    height: 37px;
    background-color: rgba(255, 99, 0,0.45);
    border: solid 1px rgba(0, 0, 0, 0);
    position: absolute;
    top: 16px;
    right: 15px;
    border-radius: 50%;
    text-align: center;
    z-index: 3;

    &.active {
      background-color: rgba(246, 205, 72, 1);
      border: solid 1px black;
    }

    .menu-icon {
        list-style-type: none;
        padding: 0;
        margin: 10px 12px;
        transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu-icon-stripe {
        background-color: rgba(255, 255, 255, 0.45);
        height: 2px;
        width: 18px;
        margin-bottom: 3px;
        opacity: 1;
        position: relative;
        top: 2px;
        left: -3px;

        transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    &.active .menu-icon-stripe {
        background-color: rgba(0, 0, 0, 1);
    }

    &.active .menu-icon {
        transform: translateZ(0) translateX(-2px);
    }


    &.active .menu-icon .menu-icon-stripe:nth-child(1){
        transform: rotate(-45deg) translateZ(0) translateY(5px) translateX(-2px);
    }

    &.active .menu-icon .menu-icon-stripe:nth-child(2){
        opacity: 0;
    }

    &.active .menu-icon .menu-icon-stripe:nth-child(3){
        transform: rotate(45deg) translateZ(0) translateY(-5px) translateX(-2px);
    }
}

.orange_menu {
    .menu-button {
        border-color: var(--stamps-orange);
        background-color: transparent;
    }

    .menu-icon-stripe {
        background-color: var(--stamps-orange);
        height: 1px;
        margin-bottom: 4px;
    }

    .menu-button.active {
        background-color: #f6cd48;
        border: solid 1px black;

        .menu-icon-stripe {
            height: 2px;
            margin-bottom: 3px;
        }
    }

}

.menu-overlay {
    font-family: var(--lato-700);
    opacity: 0;
    z-index: -1;
    position: fixed;
    overflow-y: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(246, 205, 72, 1);

    transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1);

    &.show {
        opacity: 1;
        z-index: 2;
    }

    .stamps-logo {
        position: absolute;
        top: 15px;
        left: 15px;
    }

    ul {
        text-align: center;
        color: white;
        font-size: 40px;
        list-style-type: none;
        margin-top: 80px;
        padding-left: 0;
    }

    li {
      display: none;
      margin-bottom: 3px;
    }

    li.active {
        display: block;
        animation: 1s fade-down cubic-bezier(.23,1,.32,1) both;
        animation-delay: calc(var(--item-index, 1) * 0.08s);

        a {
          text-decoration: none;
        }
    }

    li a, li a:visited {
        text-decoration: none;
        color: #4d4d4d;
        font-size: 16px;
    }
}


/* Taken directly from https://stupid-studio.com/ */
/* TODO: change this */
@keyframes fade-down{
    from{
        opacity:0;
        transform: translateY(-20px) translateZ(0)
    }

    to{
        opacity:1;
        transform: translateY(0) translateZ(0)
    }

}

p {
    font-family: var(--lato-400);
    color: #4d4d4d;
    line-height: 25px;
    font-size: 16px;
}

a {
    color: var(--stamps-orange);
    text-decoration: none;
    font-family: var(--lato-700);
}

a:visited {
    color: var(--stamps-orange);
}

.orange-link {
    color: var(--stamps-orange);
    text-decoration: none;
    font-family: var(--lato-400);
}



/* HOME PAGE STYLING  */

.page-section {
    padding: 28px 20px 45px;

    h1 {
        font-size: 20px;
        color: var(--stamps-orange);
    }
}

.orange-button {
    font-size: 16px;
    border: solid 1px var(--stamps-orange);
    padding: 10px;
    margin: 6px;
    border-radius: 1px;
    text-decoration: none;
    color: var(--stamps-orange);
    min-width: 118px;
    display: inline-block;
}

.home {
    text-align: center;
    font-family: var(--lato-700);

    .white-button {
        font-size: 20px;
        border: solid 2px white;
        padding: 8px 0;
        margin: 6px;
        border-radius: 1px;
        text-decoration: none;
        color: white;
        min-width: 118px;
        display: inline-block;
        font-size: 18px;
    }

    .what-is-stamps {
        min-height: 200px;
        max-width: 500px;
        margin: 0 auto;

        p {
            margin: 15px 0;
        }
    }

    .white-link {
        text-decoration: none;
        color: white;
    }

    .merchant-logo.rounded {
        margin-top: 5px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 0 1px white, 1px 1px 1px #bcbcbc;
    }
}

img.round {
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px white, 2px 2px 8px black;
}

.open-modal {
    display: table;
    width: 100%;
}

.icon-merchantphoneicon, .icon-merchantmapicon {
    font-size: 43px;
    line-height: 50px;
    float: left;
}

.details-section {
    .page-section-bottom {
        padding: 0px 0px 45px 20px;
    }

    .page-section {
        padding: 22px 20px 0px;

        p {
          margin: 5px 0px;
        }

        .website {
            margin: 0px;
            padding-bottom: 25px;
        }

        h1 {
            text-align: left;
            font-size: 16px;
            color: #4d4d4d;
            margin: 0px;
            text-transform: uppercase;
            font-family: var(--lato-700);
        }
    }

    .playstore {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .stamps_count {
        color: var(--stamps-orange);
        font-size: 17px;
        font-family: var(--lato-700);
        margin-top: 5px;
        margin-bottom: 8px;
    }

    .social {
        position: relative;
        left: -5px;

        i {
            float: left;
            margin-right: -5px;
            font-size: 40px;
            margin: 10px 0px;
        }
    }

    .cover-screen {
        background-color: rgba(0, 0, 0, 0.2);
        background-size: 100% 100%;
        color: white;
        position: relative;
        min-height: 170px;

        img {
            position: absolute;
            bottom: -28px;
            right: 30px;
        }

        .inner-cover-screen {
            max-width: auto;
        }
    }

    .featured-merchants {
        background: none;

        .merchant-list {
            padding: 0 20px;
        }

        .merchant-list-wrapper {
            margin-top: 12px;
        }

        .featured-merchants-title {
            padding: 0 20px;
        }

        .merchant-wrapper {
            margin-right: 14px;
        }

        .featured-merchants-inner {
            padding: 10px 0;
            margin-bottom: 12px;
        }

        h2 {
            margin-left: 0px;
            margin-bottom: 2px;
            display: inline-block;
            font-weight: normal;
        }

        h3 {
            margin-top: 3px;
            margin-bottom: 5px;
            font-family: var(--lato-700);
            width: 90px;
            height: 32px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        p {
            margin-top: 5px;
            margin-bottom: 0px;
            font-size: 14px;
            line-height: 18px;
            font-family: var(--lato-400);
        }

        .merchant-wrapper:first-child {
            margin-left: 0px;
        }
        .merchant-wrapper:last-child {
            margin-right: 0px;
        }
    }

    h2, h3 {
        margin: 0px;
        font-family: var(--lato-700);
        text-align: left;
        font-size: 16px;
        color: #4d4d4d;
        font-weight: normal;
    }

    .store {
        margin-top: 30px;

        &.no_benefit_no_membership {
            margin-top: 0px;
        }
    }

    .list_wrapper {

        h3 {
            margin-top: 5px;
            text-transform: capitalize;
        }

        h2 {
            padding: 10px 0px;
        }

        p {
            margin-top: 3px;
            margin-bottom: 4px;
            line-height: 22px;
            width: 80%;
        }

        .section {
            position: relative;
            border-top: 1px solid #D9D9D9;
            padding: 7px 0px;
        }

        .section:last-child {
            border-bottom: 1px solid #D9D9D9;
        }

        .icon-redarrow {
            color: var(--stamps-orange);
            top: 30%;
            right: 15px;
            position: absolute;
        }

        .section-without-border {
            padding-top: 13px;
            margin-bottom: 25px;
        }

        .icon-star {
            position: absolute;
            font-size: 20px;
        }

        .silver-star {
            color: #8c8c8c;
        }

        .gold-star {
            color: #a68500;
        }

        .member-requirement {
            font-family: var(--lato-400);
            font-size: 16px;
            color: #4d4d4d;
            line-height: 25px;
            margin-top: 5px;
        }

        .member-requirement-content{
            margin-left: 25px;
        }
    }

    .modal {
        color: #4d4d4d;

        header.bar-nav {
            margin-left: 20px;
        }

        .title {
            font-family: var(--lato-700);
            color: #4d4d4d;
            text-align: left;
            bottom: 0px;
            line-height: 40px;
        }

        .bar-nav ~ .content {
            padding-top: 58px;
        }

        .bar {
            height: 58px;
        }

        .store-name {
            font-family: var(--lato-700);
            color: #4d4d4d;
        }

        .content {
            margin: 0px 0 0px 20px;
        }

        .content-padded {
            color: #4d4d4d;
            margin: 18px 0 6px;
            line-height: 25px;
        }

        .spacer {
            height: 0;
            margin-bottom: 3px;
        }

        hr {
            border-top: 1px solid #D9D9D9;
            border-right: none;
            border-left: none;
            border-bottom: none;
        }

        .telephone-link, .telephone-link:visited {
            font-family: var(--lato-400);
            color: #4d4d4d;
        }

        .gmap, .phone {
            color: var(--stamps-orange);
            font-family: var(--lato-400);
            font-size: 14px;
            line-height: 14px;
            display: inline-block;
        }

        .modal-close-button.active {
            background: transparent;
            border: none;
        }

        .modal-close-button {
            width: 22px;
            height: 22px;
        }

        .icon-close {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 50px;
            height: 50px;
            padding: 0;
        }

        .menu-icon {
            margin: 3px 6px;
        }

        .menu-icon-stripe {
            background-color: var(--stamps-orange);
            height: 1px;
            width: 20px;
            margin-bottom: 4px;
        }

        .contact_icon {
            position: relative;
            left: -3px;
        }
    }
}

.reward_detail {
    .merchant-name {
        line-height: 15px;
        margin-bottom: 4px;
    }

    .merchant-name, .back {
        color: var(--stamps-orange);
        font-size: 16px;
        font-family: var(--lato-400);

        a {
            font-family: var(--lato-400);
        }
    }

    .page-section h1 {
        font-size: 20px;
        text-transform: none;
        font-weight: normal;
        font-family: var(--lato-400);
    }

    .page-section p {
        font-size: 19px;
        margin: 4px 0px;
    }

    .icon-stamps-icon {
        position: relative;
        top: 2px;
        font-size: 21px;
    }

    .terms.list_wrapper {
        .icon-redarrow {
            top: 15px;
        }

        .section {
            border-bottom: none;
        }
    }

    .content.modal-terms {
        padding-right: 20px;
    }

    .left {
        margin-right: 13px;
        float: left;
    }

    .right {
        width: 55%;
        float: left;
    }

    .back {
        padding: 25px 20px 0px;
    }

    .terms h2 {
        margin-top: 30px;
    }

    .store {
        margin-top: 23px;
    }
}

.icon-stamps-icon, .icon-redarrow {
    color: var(--stamps-orange);
}

.cover-screen {
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("../img/image-home.jpg");
    background-size: 100% 100%;
    color: white;

    .inner-cover-screen {
        max-width: 500px;
        padding: 70px 20px;
        margin: 0 auto;
    }

    .cover-title {
        font-size: 34px;
        margin-bottom: 0;
    }

    .cover-content {
        font-family: var(--lato-400);
        font-size: 16px;
        line-height: 23px;
        margin-top: 5px;
        margin-bottom: 31px;
    }
}

.merchants-benefits {
    background-color: var(--stamps-orange);
    color: white;

    .merchants-benefits-inner {
        margin: 0 auto;
    }

    h1 {
        color: #fff;
    }

    p {
        color: #fff;
    }
}

.featured-merchants {
    background-color: #EDEDED;
    position: relative;
    font-family: var(--lato-400);

    &.odd {
        background-color: white;
    }


    .featured-merchants-inner {
        min-height: 200px;
        padding: 30px 0;
        margin: 0 auto;
        overflow: hidden;
    }

    h2 {
        text-align: left;
        font-size: 16px;
        color: #4d4d4d;
        margin-left: 20px;
    }

    .featured-merchants-see-all {
        position: absolute;
        top: 45px;
        right: 18px;
    }

    .merchant-list-wrapper {
        overflow-x: scroll;
        margin-top: 22px;
        -webkit-overflow-scrolling: touch;
    }

    .merchant-list {
        width: 1880px;  /* need to be calculated to be more precise */
    }

    .merchant-wrapper {
        float: left;
        width: 94px;
        margin-right: 20px;
    }

    .merchant-wrapper:first-child {
        margin-left: 20px;
    }

    .merchant-wrapper:last-child {
        margin-right: 0;
    }

    .merchant-name {
        margin-top: 5px;
        font-size: 14px;
        font-family: var(--lato-400);
        color: #4d4d4d;
    }
}

.connect-with-us {
    font-family: var(--lato-700);
    background-color: #40484A;
    color: #9FB2B3;
    text-align: left;
    .connect-with-us-inner {
        padding: 28px 20px 45px;
        margin: 0 auto;
    }
    .connect-with-us-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    i {
        float: left;
        margin-right: 10px;
        position: relative;
        top: 1px;
        font-size: 25px;
    }

    p {
        margin: 5px 0px;
    }

    .view-desktop-version {
        color: #F6CD48;
        text-decoration: none;
        font-family: var(--lato-400);
        padding-top: 40px;
        display: block;
    }

    .email, .telephone, .email:visited, .telephone:visited {
        text-decoration: none;
        color: #9FB2B3;
        font-family: var(--lato-400);
    }
}


.about .content, .faq .content {
  font-family: var(--lato-400);
  padding: 15px;
  color: #4d4d4d;

  .header {
      width: 230px;
  }

  .logo {
      width: 95px;
      height: 95px;
      margin: 5px 0 0 5px;
  }

  .subtitle {
      color: #4d4d4d;
      line-height: 28px;
      font-size: 18px;
      letter-spacing: -0.75px;
      margin-top: 16px;
  }

  .page_title {
      color: var(--stamps-orange);
      font: normal 26px/32px var(--lato-400);
      letter-spacing: -0.5px;
      margin: 0px;
      padding: 29px 0px 2px;
  }

  p, .question, .answer {
      color: #4d4d4d;
      line-height: 24px;
      letter-spacing: 0px;
      font-family: var(--lato-400);
      font-size: 15px;
  }

}

.faq {
    .content .page_title {
        padding-bottom: 20px;
    }

    .faq-wrapper {
        margin-bottom: 25px;
        overflow: auto;
        clear: both;
    }

    .faq-wrapper a {
        font-family: var(--lato-700);
    }

    .left {
        width: 4%;
        float: left;
        text-align: right;
        margin-right: 2px;
    }

    .right {
        float: left;
        width: 94%;
    }

    .question {
        font-weight: bold;
    }
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 8px solid var(--stamps-orange);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
}

.orange_button {
    text-decoration: none;
    border: 1px solid var(--stamps-orange);
    padding: 10px 15px;
}

.form-page {
    background: var(--stamps-orange);

    .menu-icon-stripe {
        background-color: rgba(255, 255, 255, .8);
    }

    .menu-button {
        background: var(--stamps-orange);
        border: 1px solid rgba(255, 255, 255, .8);
    }

    .page-section {
        min-height: 300px;
        color: white;
        background: var(--stamps-orange);

        a {
            color: #F6CD48;
        }

        p {
            color: white;
            line-height: 23px;
        }

        ::-webkit-input-placeholder { /* WebKit browsers */
            color: white;
            opacity:  0.6;
        }
        :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
            color: white;
            opacity:  0.6;
        }
        ::-moz-placeholder { /* Mozilla Firefox 19+ */
            color: white;
            opacity:  0.6;
        }
        :-ms-input-placeholder { /* Internet Explorer 10+ */
            color: white;
            opacity:  0.6;
        }

        button {
            color: #4d4d4d;
            background: #F6CD48;
            border: none;
            width: 100%;
            padding: 15px;
            margin-top: 32px;
            font-size: 18px;
            font-family: var(--lato-700);
        }

        h1, h2 {
            width: 70%;
            color: white;
            margin-top: 0px;
            font: normal 24px/32px var(--lato-700);
        }

        h3 {
            text-align: center;
            color: white;
            margin-top: 16px;
            margin-bottom: 0px;
            font: normal 18px/24px var(--lato-400);
        }

        table {
            width: 100%;

            tr {
                width: 100%;
                display: table;
                overflow: hidden;
            }
        }

        .errorlist {
            font-size: 17px;
            list-style-type: none;
            margin: 0px 0px 10px;
            padding-left: 0px;
            color: #F6CD48;
            font-family: var(--lato-400);
        }
    }

    input, textarea {
        font-family: var(--lato-400);
        background: var(--stamps-orange);
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, .6);
        padding: 8px 0px 6px 0px;
        width: 96%;
        margin-bottom: 10px;
        color: white;
        font-size: 17px;
        border-radius: 0px;
        line-height: 22px;
    }

    input:-webkit-autofill {
        -webkit-box-shadow:0 0 0px 1000px var(--stamps-orange) inset;
        -webkit-text-fill-color: white;
    }

    input:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0px 1000px var(--stamps-orange) inset;
        -webkit-text-fill-color: white;
    }

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

    input[type=date] {
        z-index: 1;
        position: relative;
        background-color: transparent;
        height: 37px;
    }

    .input-wrapper {
        position: relative;
    }

    .label {
        font-family: var(--lato-400);
        font-size: 17px;
        float: left;
        margin-right: 10px;
        opacity:  0.6;
    }

    .login p {
         margin-bottom: 10px;
    }
}

form {
    ul {
        font-family: var(--lato-400);
        font-size: 17px;
        margin: 0px;
    }

    li {
        float: left;
        list-style: none;
        margin-right: 8px;
    }

    label {
        color: white;
        opacity:  0.6;
    }
}

.birthday {
    .label {
        position: absolute;
        top: 8px;
        opacity: 0;
    }

    .active {
        opacity: 0.6;
        transition: all 500ms var(--easing);
    }
}

.gender {
    margin: 11px 0px 0px;

    .active {
        opacity: 1;
        transition: all 500ms var(--easing);
    }

    input {
        margin-bottom: 7px;
        width: 15px;
    }
}

.our-merchants {
    text-align: center;
    font-family: var(--lato-700);

    select {
        background: transparent;
        padding: 5px;
        line-height: 1;
        border: 0;
        border-radius: 0;
        height: 28px;
        -webkit-appearance: none;
        text-transform: uppercase;
        color: var(--stamps-orange);
        font-family: var(--lato-700);
        font-size: 16px;
    }

    select:focus{
        outline: 0;
    }

    .caret {
        position: relative;
        top: 10px;
        right: 5px;
        float: right;
    }

    .page-section {
        padding-top: 15px;
        padding-bottom: 0px;
    }

    .orange_button {
        float: left;
        padding: 5px 5px 3px;
    }

    ul {
        list-style-type: none;
    }

    .merchants {
        padding-left: 0px;
    }

    .merchant_row {
      width: 100%;
      margin: 0px;
      padding: 0px 20px;

        .auto_height {
            h3 {
                margin-top: 12px;
            }

            p {
                margin-bottom: 16px;
            }
        }

        &.gray {
            background: #EDEDED;
        }

        /* Alternating row styling using CSS pseudo-selectors */
        /* This automatically handles alternating colors for visible items */
        &:nth-child(even) {
            background: #EDEDED;
        }

        p span {
            color: var(--stamps-orange);
            font-family: var(--lato-700);
            margin-bottom: 5px;
        }

        .left {
            width: 70%;
            float: left;

            a {
                font-weight: normal;
                font-family: var(--lato-400);
            }

            p {
                width: 90%;
            }
        }

        .right {
            position: absolute;
            top: 0px;
            right: 0px;
            bottom: 0px;
            height: 100%;

            img {
                vertical-align: middle;
                display: inline-block;
            }
        }

        .right:before {
            content: ' ';
            display: inline-block;
            vertical-align: middle;
            height: 100%;
        }

        h3 {
            margin-top: 25px;
            font-weight: normal;
            font-family: var(--lato-700);
        }

        .merchant-name {
            text-align: left;
            font-size: 19px;
            color: #4d4d4d;
            margin-bottom: 0px;
        }

        p {
            text-align: left;
            margin: 10px 0px 24px;
            line-height: 21px;
        }

        .list {
            position: relative;
            display: table;
            width: 100%;
        }
    }
}

.promotions {

    .gray {
        background: #EDEDED;
    }

    .white {
        background: white;
    }

    /* Alternating row styling using CSS pseudo-selectors */
    .merchants li.merchant_row:nth-child(even) {
        background: white;
    }

    .merchants li.merchant_row:nth-child(odd) {
        background: #EDEDED;
    }


    .merchants {
        margin-top: 0px;
    }

    .title {
        text-align: left;
        font-size: 16px;
        font-family: var(--lato-700);
        text-transform: uppercase;
        color: var(--stamps-orange);
        margin: 35px 0px 10px;
    }

    .left {
        p {
            height: 60px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }
    }
}

.voucher_activation {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: table;

    .connect-with-us {
        display: none;
    }

    h2 {
        color: #E86731;
        font-weight: normal;
        font-family: var(--lato-400);
    }

    .footer {
        display: none;
    }

    .errorlist {
        text-align: left;
        margin: 0px 0px 15px;
    }

    .box {
        background: white;
        padding: 25px;
        margin: 115px auto;
        max-width: 360px;
        width: auto;
        display: table;

        strong {
            font-family: var(--lato-700);
        }

        label {
            display: block;
            padding: 0px 0px 10px;
            text-align: left;
            clear: both;
            color: #4d4d4d;
            font: normal 15px/15px var(--lato-400);
            opacity: 1;
        }

        img {
            margin: 0px;
            width: 100%;
        }

        .merchant-name {
            font-size: 33px;
            line-height: 45px;
            text-align: left;
            margin: 20px 0px;
            text-transform: uppercase;
        }

        .sub-title {
            text-align: left;
            margin: 0px 0px 12px;
            display: block;
            color: #4d4d4d;
            font: normal 23px var(--lato-400);
        }

        input, #id_user {
            width: 100%;
            padding: 9px;
            margin: 0px;
            border-radius: 8px;
            text-transform: uppercase;
            text-align: center;
            border: 1px solid #D9D8D9;
            color: #40484A;
            outline: none;

            &::placeholder {
                color: #d3d3d3;
                text-align: center;
                text-transform: uppercase;
                font: normal 15px/25px var(--lato-400);
            }
        }

        .description {
            margin-bottom: 18px;
            text-align: left;
            display: table;
            color: #4d4d4d;
            font: normal 15px/22px var(--lato-400);
        }

        form {
            margin: 0px;
        }

        form table td {
            margin: 0px;
            padding: 0px 0px 10px;
        }

        ul {
            margin: 0px 0px 5px;
            display: table;
            padding: 0px;
            list-style-type: none;

            li {
                float: left;
                margin-right: 10px;
            }

            input {
                float: left;
                display: table;
                width: auto;
                margin-right: 5px;
            }
        }

        select {
            padding: 5px;
            display: table;
            float: left;
            margin-right: 10px;
            margin-bottom: 15px;
        }

        label[for='id_birthday_month'] {
            margin-top: 5px;
        }

        .input-voucher-code {
            margin: 0px;
        }

        button, .sign_up {
            background: #E86731;
            color: white;
            border: 1px solid white;
        }

        .button {
            background-color: transparent;
            padding: 0px;
            margin: 0px;
            width: 100%;
        }

        .button a, button {
            width: 100%;
            display: table;
            font-size: 16px;
            padding: 10px 12px;
            margin-top: 12px;
            border-radius: 8px;
            text-align: center;
            font-family: var(--lato-400);
        }

        .button .member {
            color: white;
            background: #8E9F78;
        }
    }

    .scroll {
        margin-top: 25px;

        a {
            display: block;
            font: 17px/25px var(--lato-400);
            color: #E86731;
            text-align: left;
            margin-bottom: 5px;
        }
    }

    .change-wrapper {
        margin-bottom: 50px;
    }


    &.register-issue-voucher .box input {
        margin-bottom: 10px;
        text-align: left;
        text-transform: none;

        &::placeholder {
            text-align: left;
            text-transform: none;
        }
    }

    &.success-activate-voucher {
        .container {
            max-width: 100%;
        }

        .content {
            max-width: 960px;
            margin-left: auto;
            margin-right: auto;
        }

        .background {
            background-size: cover;
            width: 100%;
            height: 100%;
            display: table;
        }

        .sub-title {
            font-size: 17px;
            line-height: 27px;
            width: 90%;
        }

        .merchant-name {
            font-size: 25px;
            line-height: 35px;
        }

        .footer {
            display: block;
        }
    }

    .content {
        max-width: 980px;
        display: table;
        width: 100%;
    }

    #terms {
        background: white;
        display: table;
        width: 100%;
        padding: 60px 20px;

        h2 {
            margin-top: 0px;
            margin-bottom: 25px;
            text-align: left;
        }

        .description {
            text-align: left;
            margin: 0 auto;
            font: 15px/26px var(--lato-400);
        }

        p {
            padding-top: 0px;
            margin-bottom: 20px;
        }

        br {
            line-height: 35px;
        }
    }

    .list_wrapper {
        text-align: left;
        margin-top: 25px;

        .list {
            display: table;
            margin-bottom: 32px;
            color: #808080;
            width: 100%;
            font: 14px/25px var(--lato-400);
        }

        a {
            font: 14px/25px var(--lato-400);
            display: block;
        }

        .name {
            font: 17px/26px var(--lato-700);
            color: #9fb2b3;
            margin-bottom: 2px;
        }
    }

    #stores {
        padding: 45px 20px;
        background-color: #FAFAFA;

        .content {
            margin-bottom: 50px;
        }
    }

    .navbar .container {
        max-width: 960px;
    }
}


a.apps {
    width: 215px;
    height: 40px;
    margin-top: 20px;
    background-color: #5e6668;
    text-decoration: none;
    border-radius: 5px;
    font-family: var(--lato-400);
    font-size: 15px;
    color: white;
    padding: 11px 5px 5px;
    display: block;

    img {
        padding: 5px;
        margin-left: 9px;
        margin-right: 5px;
        float: left;
        margin-top: -10px;
    }

    span {
        font-family: var(--lato-700);
    }
}

.sso-login {

    h1 {
        &.sso-login__heading {
            width: 100%;
            text-align: center;
            margin-top: 10px;
        }
    }

    /* Dropdown container */
    .dropdown-container {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Hide the checkbox */
    .dropdown-toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* Dropdown select button */
    .dropdown-select {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background-color: white;
        border-radius: 4px;
        cursor: pointer;
        color: var(--new-stamps-orange);
        font: 16px var(--lato-400);
        font-weight: 500;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        opacity: 1;
    }

    /* Arrow icon */
    .dropdown-arrow {
        transition: transform 0.2s;
    }

    a {
        &.option {
            color: var(--black-text);
        }
    }

    /* Show dropdown when checkbox is checked */
    .dropdown-toggle:checked ~ .dropdown-options {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Rotate arrow when dropdown is open */
    .dropdown-toggle:checked ~ .dropdown-select .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Option links */
    .option {
        display: block;
        padding: 12px 16px;
        text-decoration: none;
        text-align: left;
        transition: background-color 0.2s;
        font: 16px var(--lato-400);
        color: var(--black-text);
    }

    .option:hover {
        color: var(--stamps-orange);
    }

    /* last options need rounded corners */
    .option:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }
}

.sso-login__heading {
    font: 16px var(--lato-400);
    color: var(--gray);
}

/* Dropdown options container */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    margin-top: -3px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
