﻿

/* Scrollint table with fixed header */
/* https://www.w3docs.com/snippets/html/how-to-create-a-table-with-a-fixed-header-and-scrollable-body.html */
/* styles for fixing a table header */
.tableFixHead {
    overflow-y: auto;
    height: 200px;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* styles for fixing a table header */
.tableFixHeadDashboard {
    overflow-y: auto;
    min-height: 375px;
    max-height: 70vh;
}

.tableFixHeadDashboard thead th {
    top: -5px;
    z-index: 10;
    height: 15px;
    background-color: white;
}

    .tableFixHeadDashboard tr td {
        height:16px;
    }

/* styles for fixing a table header */
.tableFixHeadWizard {
    overflow-y: auto;
    min-height: 240px;
    max-height: 240px;
    background-color: white;
}

    .tableFixHeadWizard thead th {
        position: sticky;
        top: -5px;
        z-index: 100;
        height: 18px;
        background-color: white;
        color: white;
    }

.body_rendering {
    width: 100vw;
    height: 100vh;
    background-color: green;
    background-image: url('/images/GolfCourses/ArroyoTrabuco.jpg' );
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.navbar_a {
    color: white;
    font-size: 26px;
}

.info-header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: larger;
    padding: 10px 12px 10px 12px;
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    background-color: #00C87C;
    color: white;
    width: 100%;
}

.info-box-bg-green {
    background-color: green !important;
    color: white;
}

.info-box-bg-green-gradient {
    background: green !important;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, green), color-stop(1, #00ca6d)) !important;
    background: -ms-linear-gradient(bottom, green, #00ca6d) !important;
    background: -moz-linear-gradient(center bottom, green 0%, #00ca6d 100%) !important;
    background: -o-linear-gradient(#00ca6d, green) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ca6d', endColorstr='green', GradientType=0) !important;
    color: white;
}

.anchor-button {
    display: inline-block;
    background-color: lightgray;
    width: fit-content;
    color: black;
    padding: 6px;
    vertical-align: middle;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid darkgray;
    margin-left: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.anchor-button-disabled {
    display: inline-block;
    background-color: #c8dfed;
    width: fit-content;
    color: #6a8290;
    padding: 6px;
    vertical-align: middle;
    border-radius: 4px;
    cursor: not-allowed;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    margin-left: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.anchor-button:visited {
    display: inline-block;
    background-color: white;
    width: fit-content;
    color: black;
    padding: 6px;
    vertical-align: middle;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    margin-left: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.anchor-button-disabled:visited {
    display: inline-block;
    background-color: #c8dfed;
    width: fit-content;
    color: #6a8290;
    padding: 6px;
    vertical-align: middle;
    border-radius: 4px;
    cursor: not-allowed;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    margin-left: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.anchor-button-disabled:hover {
    display: inline-block;
    background-color: #c8dfed;
    width: fit-content;
    color: #6a8290;
    padding: 6px;
    vertical-align: middle;
    border-radius: 4px;
    cursor: not-allowed;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    margin-left: 0;
    margin-right: 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.anchor-button:hover {
    display: inline-block;
    background-color: lightgray;
    width: fit-content;
    color: black;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid gray;
    margin-left: 0;
    margin-right: 10px;
}

.public-footer {
    -webkit-transition: -webkit-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    -moz-transition: -moz-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    -o-transition: -o-transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    z-index: 820;
    background-color: white;
    color: black;
    padding: 16px 20px 10px 20px;
}

.overlay {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    z-index: 100000;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.loader {
    border: 16px solid rgba(243,243,243,0.8);
    border-top: 16px solid #479A58;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}


label.filelabel input[type="file"] {
    position: absolute;
    top: -1000px;
}

.filelabel {
    cursor: pointer;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 7px 15px;
    margin-top: 9px;
    background: white;
    display: inline-block;
    color:black;
    font-weight:normal;
}

.filelabel:hover {
    background: gray;
    color:white;
}

.filelabel:active {
    background: #9fa1a0;
}

.filelabel:invalid + span {
    color: #000000;
}

.filelabel:valid + span {
    color: #ffffff;
}


#payment-form {
    max-width: 550px;
    min-width: 300px;
    margin: 150px auto;
}

.buyer-inputs {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    border: none;
    margin: 0;
    padding: 0;
}

/* font awesome related CSS classes */

.fontuser {
    position: relative;
}

.fontuser i {
    position: absolute;
    left: 15px;
    top: 18px;
    color: gray;
}

.fontpassword {
    position: relative;
}

.fontpassword i {
    position: absolute;
    left: 15px;
    top: 18px;
    color: gray;
}


.inputWithIcon input[type="text"] {
    padding-left: 40px;
}

.inputWithIcon {
    position: relative;
}

.inputWithIcon i {
    position: absolute;
    left: 0;
    top: 8px;
    padding: 9px 8px;
    color: #aaa;
    transition: 0.3s;
}

.inputWithIcon input[type="text"]:focus + i {
    color: dodgerBlue;
}

.inputWithIcon.inputIconBg i {
    background-color: #aaa;
    color: #fff;
    padding: 9px 4px;
    border-radius: 4px 0 0 4px;
}

.inputWithIcon.inputIconBg input[type="text"]:focus + i {
    color: #fff;
    background-color: dodgerBlue;
}

#card-container {
    margin-top: 15px;
    /* this height depends on the size of the container element */
    /* We transition from a single row to double row at 485px */
    /* Settting this min-height minimizes the impact of the card form loading */
    min-height: 70px;
}

#gift-card-container {
    margin-top: 15px;
    min-height: 70px;
}

#card-button {
    color: black;
    background-color: lightgreen;
    border-radius: 5px;
    cursor: pointer;
    border-style: none;
    user-select: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    padding: 12px;
    width: 100%;
    box-shadow: 1px;
}

#card-button:active {
    background-color: lightgreen;
    color:black;
}

#card-button:hover {
    background-color: darkgreen;
    color:white;
}

#card-button:disabled {
    background-color: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.3);
    border-color:white;
    border-width:2px;
}

@media screen and (max-width: 500px) {
    #card-container {
        min-height: 100px;
    }
}

#ach-button {
    margin-top: 20px;
}

#landing-page-layout {
    width: 80%;
    margin: 150px auto;
    max-width: 1000px;
}

#its-working {
    color: #737373;
}

#example-container {
    width: 100%;
    border: 1px solid #b3b3b3;
    padding: 48px;
    margin: 32px 0;
    border-radius: 12px;
}

#example-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#customer-input {
    margin-bottom: 40px;
}

#card-input {
    margin-top: 0;
    margin-bottom: 40px;
}






@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}