@font-face {
    font-family: 'Basefont';
    src:  url("../../static/fonts/Cabin/Cabin-Regular.woff"); format('woff'),
          url("../../static/fonts/Cabin/Cabin-Regular.woff2"); format('woff2'),
}

body {
    font-family: 'Basefont', sans-serif;
}

@media (max-width: 991.98px) {
    .modal-content {
        height: 100vh;
    }

    .standard-info {
        margin-bottom: 2rem;
    }

    .standard-info.add-new-address {
        margin-bottom: -2rem;
    }

    .change-address-link {
        font-size: 1rem;
    }

    .modal-save-button {
        margin-bottom: 1rem;
    }

    .modal-cancel-button {
        order: 2;
    }

    .b-checkout {
        margin: 0 auto;
        padding: 2rem;
    }

    .header-logo {
        height: 5rem;
        width: 12rem;
    }

    .content-wrapper {
        margin-top: 2rem;
    }

    .ticket-container {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #eeeeee;
    }

    .cco-button {
        padding: .8rem 2.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .cancel-button {
        font-size: 1rem;
        padding-right: 0;
    }

    .title {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .label {
        font-size: 1rem;
    }

    .info {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .img-wrapper {
        width: 5.5rem;
        height: auto;
        margin-right: 1rem;
    }

    .product-wrapper-left {
        margin-bottom: .5rem;
    }

    .ticket-price {
        font-size: 1.2rem;
        padding-left: 0;
    }

    .total-price-wrapper {
        margin: 2rem 0;
    }

    .price-title {
        margin-right: 1rem;
    }

    .logos-wrapper {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .logo {
        width: 1.6rem;
        height: 1.6rem;
    }

    .logos-wrapper > .logo:nth-child(-n+3) {
        margin-bottom: 2rem;
    }

    .footer {
        font-size: .8rem;
        margin-bottom: 1rem;
    }

    .footer-container {
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .modal-content {
        margin: auto;
        width: 70%;
        height: 95vh;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .addresses-wrapper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .address-card {
        max-height: 260px;
        min-height: 250px;
    }

    .change-address-link {
        font-size: 11px;
    }

    .b-checkout {
        box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.3);
        min-height: 30rem;
        width: 80vw;
        margin: 5rem auto 3rem;
        padding: 2.5rem;
    }

    .header-logo {
        height: 5rem;
        width: 14rem;
    }

    .content-wrapper {
        margin-top: 4rem;
    }

    .logo {
        width: 12rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .label {
        font-size: .6rem;
    }

    .info {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .img-wrapper {
        width: 10.2rem;
        height: auto;
        margin-right: 1.5rem;
    }

    .ticket-price {
        font-size: 1.2rem;
    }

    .total-price-wrapper {
        margin-bottom: 3rem;
    }

    .price-title {
        margin-right: 3rem;
    }

    .price-node {
        font-size: .6rem;
    }

    .footer-container {
        margin-top: 2rem;
    }

    .logos-wrapper {
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .logo {
        width: 7rem;
        height: 2.5rem;
    }
    .mack-logo {
        width: 4rem;
    }

    .footer {
        font-size: .8rem;
        margin-bottom: 5rem;
    }
}

.b-checkout {
    background: white;
    color: #1A2C56;
}

.header-logo {
    background: no-repeat center url("../../static/img/mack-one-logo-dark.svg");
    background-size: contain;
}

.user-data-container {
    margin-bottom: 1rem;
}

.user-info-container {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.has-border::before {
    content : "";
    position: absolute;
    left: 0;
    right: 20px;
    bottom: 0;
    border-bottom:1px solid #cdd6e7;
}

.title {
    margin-bottom: 1.5rem;
}

.label {
    color: #434343;
}

.cco-button {
    color: #fff;
    border-radius: 0;
    background-color: #7b682d;
}

.cco-button:hover {
    color: #fff;
    background-color: #a59051;
}

.cancel-button {
    color: #1a2c56;
}

.cancel-button:hover {
    color: #a59051;
}

.cancel-button:hover .arrow {
    border: solid #a59051;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.product-wrapper {
    margin-bottom: 1rem;
    padding: 0 15px 1rem;
    position: relative;
}

.product-wrapper::before {
    content : "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    border-bottom:1px solid #cdd6e7;
}

.product-wrapper-left {
    display: flex;
    padding-right: 0;
    padding-left: 0;
}

.img-wrapper {
    overflow: hidden;
    flex: 0 0 auto;
}

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

.ticket-no-img-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ticket-title {
    font-weight: bold;
    font-size: 1rem;
}

.ticket-sub-title {
    font-size: .8rem;
}

.ticket-info {
    font-size: .8rem;
    font-weight: normal;
}

.ticket-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    font-weight: bold;
    padding-right: 0;
    padding-left: 0;
}

.delivery-info {
    font-size: .8rem;
    font-weight: normal;
}

.download-description {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .5rem;
}

.price-infos-wrapper-row {
    display: flex;
    font-size: 1rem;
}

/* modifier */
.is-price-total {
    font-weight: bold;
    font-size: 1.5rem;
}

.price-infos-wrapper-row-title {
    flex-grow: 1;
    text-align: right;
}

/* OTS-2513: magic number for rwd alignment: width and min-width */
.price-infos-wrapper-row-value {
    width: 160px;
    min-width: 160px;
    text-align: right;
    padding-left: 1rem;
}

.delivery-information-wrapper {
    margin-bottom: 2rem;
}

.delivery-information-title {
    font-weight: bold;
    font-size: 1rem;
}

.delivery-information-description {
    font-size: .8rem;
}

.price-node {
    display: flex;
    margin-top: .5rem;
    justify-content: flex-end;
    color: #434343;
}

.price-node sup{
    line-height: 1.8;
    margin-right: .1rem;
}

.cancel-wrapper {
    display: flex;
    justify-content: flex-end;
}

.arrow {
    border: solid #1A2C56;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.logos-wrapper {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eeeeee;
}

.mack-logo {
    background: no-repeat center url("../../static/img/mack-international-logo.svg");
    background-size: contain;
}

.europapark-logo {
    background: no-repeat center url("../../static/img/europapark-logo.svg");
    background-size: contain;
}

.rulantica-logo {
    background: no-repeat center url("../../static/img/rulantica-logo.svg");
    background-size: contain;
}

.yullbe-logo {
    background: no-repeat center url("../../static/img/yullbe-logo.svg");
    background-size: contain;
}

.eatrenalin-logo {
    background: no-repeat center url("../../static/img/eatrenalin-logo.svg");
    background-size: contain;
}

.veejoy-logo {
    background: no-repeat center url("../../static/img/veejoy-logo.png");
    background-size: contain;
}

.footer {
    display: flex;
    justify-content: center;
    color: #434343;
}

.footer a {
    margin: 0 .6rem;
    color: #434343;
}

.error-headline {
    margin-top: 4rem;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    display: flex;
    flex-direction: row-reverse;
    font-size: 50px;
    font-weight: bold;
    margin-top: -.8rem;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* The Modal (background) */
.modal {
    display: none;
    justify-content: center;
    position: fixed;
    z-index: 1;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-header-wrapper {
    display: flex;
    justify-content: space-between;
}

.modal-content {
    position: absolute;
    overflow: scroll;
    background-color: #fefefe;
    padding: 20px;
    box-shadow: .1rem .35rem .5rem rgba(21,43,89,.5)!important;
}

.addresses-wrapper {
    display: grid;
    grid-gap: 1rem;
}

.address-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0;
    border: none;
    box-shadow: .1rem .35rem .5rem rgba(21,43,89,.5)!important;
}

.address-card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    place-content: space-between;
}

.standard-action {
    display: flex;
    flex-direction: column;
}

.change-address-link {
    color: #152b59;
    font-weight: 500;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.change-addresses-wrapper {
    font-size: 1.4rem;
    font-weight: bold;
}

.change-addresses-wrapper p {
    font-size: 1rem;
    margin: 0;
}

.addresses-label-wrapper {
    margin: 2rem 0;
    font-size: 1.2rem;
}

.modal-button-wrapper {
    margin: 2rem 0 1.8rem;
}

.modal-cancel-button {
    display: flex;
    justify-content: flex-end;
}

.modal-cancel-button .cco-button {
    color: #1A2C56;
    border-radius: 0;
    border: .2rem solid #1A2C56;
    background-color: #fff;
    padding: 0.175rem 1.75rem;
}

.modal-cancel-button .cco-button:hover {
    color: #fff;
    background-color: #434343;
}

.modal-save-button .cco-button {
    padding: 0.375rem 1.75rem;
}

.add-new-address-link {
    font-size: 1rem;
}

.add-new-address-wrapper {
    display: flex;
    justify-content: flex-end;
}

.add-new-address-icon {
    background: no-repeat center url("../../static/img/icons/plus-icon.svg");
    background-size: contain;
    height: 5rem;
    width: 5rem;
}

.standard-address-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.checkbox {
    position: relative;
    display: flex;
    color: #1A2C56;
    align-items: center;
    margin-bottom: 2rem;
    font-size: .8rem;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkbox label {
    position: relative;
    display: block;
    margin: 0;
    font-weight: 500;
    color: inherit;
    padding-left: 2rem;
    font-size: .8rem;
}

.checkbox label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #434343;
    width: 16px;
    height: 16px;
}

.checkbox label::after {
    top: 2px;
    left: 2px;
    content: '';
    opacity: 0;
    position: absolute;
    background-color: #434343;
    transition: opacity .2s;
    width: 12px;
    height: 12px;
}

.checkbox-link {
    color: #1A2C56;
    text-decoration: underline;
}

/* @ click / active */
.checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

#loyalty-card-form .loyalty-card-number input {
    display: inline-block;
    margin-right: 0.1rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

#loyalty-card-form .loyalty-card-form-row input {
    font-size: .85rem;
    letter-spacing: 0.1em;
    padding: .375rem 0;
    text-align: center;
    width: 2.6rem;
}

#loyalty-card-form .loyalty-card-form-row input:disabled {
    opacity: .65;
    text-align: left;
}

::-ms-reveal {
    display: none;
}

@media (min-width: 400px) and (max-width: 991.98px) {
    #loyalty-card-form .loyalty-card-pin-box {
        display: inline-block;
    }
}

@media (min-width: 1391.98px) {
    #loyalty-card-form .loyalty-card-pin-box {
        display: inline-block;
    }
}

.loyalty-card-pin-box .form-group {
    margin-bottom: 0;
}

.loyalty-card-description {
    margin-bottom: 1.5rem;
}

.loyalty-totals-row {
    border-bottom: 2px solid #cdd6e7;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#loyalty-card-form .form-control,
#loyalty-card-form .form-control:active,
#loyalty-card-form .form-control:focus,
#loyalty-card-form .form-control:valid {
    background: #fff;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid;
}

.loyalty-toggle-pin {
    cursor: pointer;
    display: inline-block;
    height: 20px;
    width: 20px;
}

.pin-hidden {
    background: no-repeat center url("../../static/img/icons/eye-closed.png");
    background-size: contain;
}

.pin-visible {
    background: no-repeat center url("../../static/img/icons/eye-open.png");
    background-size: contain;
}

.error {
    color: red;
}

.is-price-subtotal {
    font-weight: bold;
    font-size: 1.3rem;
}

.is-hidden {
    display: none;
}

@media (min-width: 992px) {
    .checkbox label {
        padding-left: 2.7rem;
    }

    .checkbox label::before {
        width: 20px;
        height: 20px;
    }

    .checkbox label::after {
        width: 16px;
        height: 16px;
    }
}

.loyalty-button-group .form-group {
    margin-bottom: 0;
}

.loyalty-remove-button {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
}
.loyalty-remove-button:before, .loyalty-remove-button:after {
    content: "";
    position: absolute;
    top: 8px;
    left: 4px;
    right: 0;
    height: 4px;
    background: #fff;
}
.loyalty-remove-button:before {
    transform: rotate(45deg);
    width: 60%;
}
.loyalty-remove-button:after {
    transform: rotate(-45deg);
    width: 60%;
}
