html,
body {
    background: var(--primaryColor);
    width: 100%;
    height: 100%;
    font-family: "Roboto";
    font-weight: 300;
}

#app {
    width: 100%;
    z-index: 1;
    position: relative; /* needed for footer positioning*/
    height: auto !important; /* real browsers */
    min-height: 100%; /* real browsers */
}

#app::after {
    content: "";
    position: fixed;
    bottom: -35vw;
    right: -35vw;
    z-index: -1;
    height: 100vw;
    width: 100vw;
    opacity: 0.1;
    background: url(../img/golfball-white.svg) center no-repeat;
    animation: rotateBackground linear infinite 120s;
}

#app-content {
    width: calc(100% - 50px);
    padding: 25px 25px 100px 25px;
    max-height: calc(100% - 129px);
    overflow-y: auto;
}

#app-content > p {
    color: var(--primaryTextColor);
    line-height: 1.4;
}

@-webkit-keyframes rotateBackground {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotateBackground {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    #app {
        width: calc(100% - 75px);
        margin-left: 75px;
        padding-bottom: 0px;
    }
    #app-content {
        width: 80%;
        margin: 25px auto 100px auto;
        max-height: none;
        overflow: auto;
        padding-bottom: 50px;
    }
    #app-content > p {
        font-size: 21px;
    }
}

/**
 * UI-Elements
 */
.btn {
    background: var(--primaryColor);
    color: var(--primaryTextColor);
    border-radius: 5px;
    font-size: 16px;
    padding: 10px 0;
}

.btn-white {
    background: var(--secondaryColor);
    color: var(--secondaryTextColor);
    border-radius: 5px;
    font-size: 16px;
    padding: 15px 0;
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
}

.btn-white i {
    width: 50px;
    text-align: center;
}

.btn-white:hover {
    color: var(--primaryColor);
}

.back-button {
    float: left;
    background: transparent;
    border: 2px solid var(--primaryTextColor);
    color: var(--primaryTextColor);
    border-radius: 5px;
    font-size: 16px;
    padding: 15px;
    text-decoration: none;
}

.next-button,
.calendar-next-button {
    float: right;
    background: var(--primaryTextColor);
    border: 2px solid var(--primaryTextColor);
    color: var(--primaryColor);
    border-radius: 5px;
    font-size: 16px;
    padding: 15px;
    text-decoration: none;
}

.button-secondary {
    display: block;
    background: var(--secondaryColor);
    border: 2px solid var(--secondaryTextColor);
    color: var(--secondaryTextColor);
    border-radius: 5px;
    font-size: 16px;
    padding: 15px;
    text-decoration: none;
    width: 100%;
    margin-top: 15px;
}

.next-button.disabled {
    opacity: 0.5;
}

.calendar-next-button {
    float: none;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

h1 {
    color: var(--primaryTextColor);
    font-weight: 500;
    margin-bottom: 25px;
    font-size: 24px;
}

@media (min-width: 768px) {
    h1 {
        margin-bottom: 50px;
        font-size: 32px;
    }

    .btn-white {
        font-size: 24px;
        padding: 25px 0;
        margin-bottom: 25px;
    }
    .btn-white i {
        width: 75px;
        text-align: center;
    }
}

/**
 * Time-Slots
 */
.time-slot {
    margin-bottom: 15px;
    height: 50px;
}

.time-slot .time {
    color: var(--primaryTextColor);
    float: left;
    width: 10%;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.time-slot .slot {
    float: left;
    width: calc(15% - 18px);
    margin: 0 8px;
    height: 50px;
    background: var(--secondaryColor);
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
}

.time-slot .slot.active {
    background: var(--primaryColor);
    border: 1px solid var(--primaryTextColor);
    color: var(--primaryTextColor);
}

.time-slot .slot.disabled {
    opacity: 0.5;
}
.time-slot .slot .status {
    height: 21px;
}

.time-slot .slot .status span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin-right: 0;
}

.time-slot .slot:not(.disabled) .status span.green {
    background: green;
    animation: pulse-black 2s infinite;
}

.time-slot .slot.disabled .status span.green {
    background: green;
}

@keyframes pulse-black {
    0% {
        background-color: green;
    }
    50% {
        background-color: #fff;
    }
    100% {
        background-color: green;
    }
}

.time-slot .slot .status span.gray {
    display: none;
}

/**
 * Form-Data
 */
.form-data {
    background: var(--secondaryColor);
    border: 2px solid var(--secondaryColor);
    border-radius: 5px;
    color: var(--secondaryTextColor);
    font-weight: 500;
    padding: 25px 15px;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
    font-size: 14px;
}

.form-data .input-text,
.form-data .input-select {
    display: block;
    width: calc(100% - 4px);
    padding: 15px 0;
    text-indent: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
}

.form-data .input-select {
    width: 100%;
}

.form-data .input-calendar {
    position: relative;
}

.form-data .input-calendar::before {
    position: absolute;
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    right: 12px;
    top: 14px;
    z-index: 2;
    font-size: 18px;
}

.form-data .radio-group {
    max-width: 500px;
}

.form-data .radio-group div {
    padding: 15px 0;
    border: 2px solid #ccc;
    background: #fff;
    float: left;
    width: calc(25% - 2px);
    text-align: center;
    font-size: 15px;
    border-right: 0;
}

.form-data .radio-group div.selected {
    color: var(--primaryTextColor);
    background: var(--primaryColor);
}

.form-data .radio-group div:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.form-data .radio-group div:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-right: 2px solid #ccc;
    width: calc(25% - 4px);
}

.ticket {
    color: var(--secondaryTextColor);
    background: var(--secondaryColor);
    border-radius: 5px;
    padding: 25px;
}

.ticket-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
}
.ticket-sub-title {
    font-weight: normal;
    font-size: 21px;
    margin-bottom: 15px;
}
.ticket-position {
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .ticket {
        width: calc(50% - 75px);
        margin-right: 25px;
        margin-bottom: 25px;
        float: left;
    }
}

@media (min-width: 1440px) {
    .ticket {
        width: calc(25% - 75px);
    }
}

.ticket-sum {
    font-size: 18px;
    font-weight: bold;
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 25px;
}

.payment {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 25px 15px;
    text-align: center;
    height: 30px;
    margin-bottom: 15px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .payment {
    }
}
.payment.active {
    border: 3px solid #fff;
}

.payment img {
    height: 100%;
}

.payment.paypal {
    height: 50px;
    padding: 15px 15px;
}

.product-item-title {
    padding-right: 25px;
}

#error-overlay {
    border-radius: 5px;
    background: #ff3300;
    color: #fff;
    padding: 25px;
    display: none;
    z-index: 100;
}

/**
 * Products
 */
.product-item {
    background: var(--secondaryColor);
    border: 2px solid var(--secondaryColor);
    border-radius: 5px;
    color: var(--secondaryTextColor);
    font-weight: 500;
    padding: 25px 15px;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
    font-size: 14px;
}

.product-item:hover {
    background: #fff;
}

.product-item i.fa-chevron-circle-right,
.product-item .total-price {
    position: absolute;
    right: 15px;
    top: 24px;
    font-size: 18px;
    color: var(--secondaryTextColor);
}

.product-item .total-price {
    top: 34px;
}

.product-item .price {
    display: block;
    font-weight: 300;
    margin-top: 5px;
}

.amount-selector {
    position: absolute;
    right: 20px;
    top: 33px;
}

.amount-selector input {
    width: 30px;
    text-align: center;
    color: #000;
}

.amount-selector button,
.amount-selector input {
    background: none;
    border: 0;
    font-size: 18px !important;
}

.amount-selector button,
.amount-selector input {
    float: left;
}
#home-buttons #welcome-txt {
    max-height: 368px;
    overflow: auto;
}
.product-item-description {
    display: block;
    font-weight: 300;
    font-size: 14px;
    margin: 5px 0 10px 0;
    opacity: 0.6;
    padding-right: 6rem;
}

@media (max-width: 767px) {
    .amount-selector {
        right: 10px;
        top: 10px;
    }
    .product-item.with-amount-selector {
        padding-top: 45px;
    }
    #home-buttons #welcome-txt {
        max-height: 244px;
    }
    .product-item-description {
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .amount-selector input {
        width: 50px;
    }
    .product-item {
        font-size: 24px;
    }
    .product-item i.fa-chevron-circle-right,
    .product-item .total-price {
        font-size: 32px;
    }
    .amount-selector button,
    .amount-selector input {
        font-size: 24px !important;
    }
    .amount-selector {
        top: 43px;
    }
    .product-item .total-price {
        top: 37px;
    }
}

/**
 * Nav
 */
nav#nav-desktop {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background: #fff;
    height: 100%;
    width: 75px;
    overflow: hidden;
    transition: all 0.1s ease-in;
}

nav#nav-desktop p {
    display: none;
    text-align: center;
    font-size: 18px;
    margin-top: 25px;
    font-weight: 500;
}

nav#nav-desktop.collapse {
    width: 300px;
}

nav#nav-desktop.collapse p {
    display: block;
}

#nav-desktop-wrapper {
    height: 550px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

nav#nav-desktop #logo {
    width: 80%;
    display: block;
    margin: 50px auto;
    height: 200px;
}

nav#nav-desktop.collapse #logo img {
    width: 100px;
    margin: 0 auto;
    display: block;
}

nav#nav-desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav#nav-desktop ul li a {
    display: block;
    margin: 25px 0;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: var(--secondaryTextColor);
}

nav#nav-desktop ul li a:hover,
nav#nav-desktop ul li.active a {
    color: var(--primaryColor);
}

nav#nav-desktop ul li i {
    width: 75px;
    text-align: center;
}

@media (max-width: 767px) {
    nav#nav-desktop {
        display: none;
    }
}

nav#nav-mobile {
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin-top: 50px;

    position: absolute;
    width: 100%;
    bottom: 0; /* stick to bottom */
    background: #ddd;
}

nav#nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav#nav-mobile ul li {
    float: left;
    width: 25%;
    text-align: center;
}

nav#nav-mobile ul li i {
    display: block;
    font-size: 24px;
    margin-bottom: 15px;
}

nav#nav-mobile ul li a {
    text-decoration: none;
    display: block;
    padding: 15px 0;
    color: var(--secondaryTextColor);
    font-size: 14px;
}

nav#nav-mobile ul li a:hover,
nav#nav-mobile ul li.active a {
    color: var(--primaryColor);
}

@media (max-width: 767px) {
    nav#nav-mobile {
        display: block;
    }
}

@media (max-width: 539px) {
    nav#nav-mobile ul li span {
        display: none;
    }
    nav#nav-mobile ul li i {
        margin-bottom: 0;
    }
}

/**
 * Home
 */
#home-logo {
    width: 100%;
    position: relative;
    margin-top: 10%;
    text-align: center;
}

#home-logo img {
    margin: 0 auto;
    width: 50%;
    max-width: 300px;
}

#home-buttons {
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    background: #fff;
    margin: 10% auto 0 auto;
    padding: 25px 15px;
    text-align: center;
    display: block;
}

#home-buttons p {
    font-size: 18px;
}

#home-buttons a {
    display: block;
    max-width: 300px;
    margin: 0 auto 10px auto;
    text-decoration: none;
}

/**
 * Login
 */
#login {
    width: calc(100% - 100px);
    padding: 25px;
    max-width: 500px;
    height: 280px;
    top: 50%;
    margin: -200px 0 0 0;
    left: 50%;
    background: var(--secondaryColor);
    border-radius: 5px;
    position: absolute;
    transform: translateX(-50%);
}

#login h1 {
    color: var(--secondaryTextColor);
    margin-bottom: 25px;
}

#login input {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-indent: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}

#login button {
    background: var(--primaryColor);
    color: #fff;
    border-radius: 5px;
    padding: 15px 0;
    text-align: center;
    display: block;
    border: 0;
    width: 100%;
}

.devices {
    margin-top: 15px;
    border-top: 1px solid var(--secondaryTextColor);
    padding-top: 15px;
}

.device-info h1 {
    font-size: 15px;
    color: var(--secondaryTextColor);
    margin: 0 0 15px 0;
}

.device-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.devices button {
    border: 0;
    width: 100%;
    margin-top: 15px;
}

.product-item-title .price-section {
    display:flex; 
    align-items:center
}

.product-item-title .discount{
    text-decoration-line: line-through; 
    font-weight: 200; 
    font-size:16px;
    margin-left:8px;
    padding-top:4px
}
.product-item-title .offer {
    margin-left:8px;
}
.pill {
    border: 1px solid #f8f8f8;
    border-radius: 5px;
    padding: 4px 8px;
    font-size:12px;
}
.primary-pill {
    background-color: #3490dc;
    color: white;
}
.price-section.payment-details{
    margin-bottom: 16px;
    font-size: small;
}
.line-through{
    text-decoration: line-through;
}