body {
    padding: 0;
    height: 98vh !important;
}

.container {
    display: flex;
    justify-content: center;
    padding-top: 7vh;
    padding-bottom: 1vh !important;
    flex-direction: column;
    width: 100vw;
}


#mainWell {
    position: relative;
    margin-bottom: 5px;
    margin-top: 3vh;
    margin-left: 2.5%;
    display: flex;
    width: 95%;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 4vh !important;
}

::-webkit-scrollbar {
    width: 1vw !important; /* remove scrollbar space */
    background: gray !important;; /* optional: just make scrollbar invisible */
    border-radius: 0px 5px 5px 0px;
    margin-right: -1vw;
    margin-top: 0;
    margin-bottom: 0;
}

#choosePlanDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 5vh;
}

#choosePlan {
    display: none;
    padding: 5px 20px 5px 20px;
    border: 2px solid black;
    box-shadow: 2px 2px 2px black;
    background: blue;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    animation-duration: 4s;
    text-decoration: none;
    border-radius: 10px;
}

#choosePlan:hover {
    -webkit-animation: none;
    background: purple;
}

#chosePlan:active {
    box-shadow: 0 0 0 black;
}

.planSelectButton {
    border: 2px solid black;
    width: 100%;
    margin-top: auto;
}

.planSelectButton:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 5px black;
    border: 2px solid black;
}

.planSelectButton:active {
    transform: translateY(0);
    box-shadow: 0 0 0 black;
}

#paymentModal {
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
}

.modal-dialog_payment {
    width: 90vw;
    border: 2px solid black;
    background: white;
    border-radius: 10px;
    padding: 15px 0 15px 0;
}

.modal-backdrop {
    display: none !important;
}

.paymentTypeSelect {
    padding: 0 10px 0 10px;
    box-shadow: 0 0 0 black;
}

.paymentTypeSelect:hover {
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 5px 5px 5px black;
}

.paymentTypeSelect:active {
    transform: translateY(0);
    box-shadow: 0 0 0 black;
}

#selectedPlanText {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#billingBtn {
    background: green;
    border: 2px solid black;
    font-size: 2rem;
    font-family: Helvetica, sans-serif;
    color: white;
    padding: 5px;
    border-radius: 10px;
}

#billingBtn:hover {
    cursor: pointer;
}


#paymentTypeQuestionDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 35px;
    padding: 5px 10px 25px 10px;
}

#paymentTypeQuestion {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

#cardBtn {
    background: blue;
    border: 2px solid black;
    font-size: 2rem;
    color: white;
    padding: 5px;
    border-radius: 10px;
    font-family: Helvetica, sans-serif;
}

#cardBtn:hover {
    cursor: pointer;
}

#cardBtn:active {
    box-shadow: 0 0 0 black;
}

.xOut {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: blue;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1200;
    right: 10vw;
    top: 1%;
    padding-top: 1px;
    border: none !important;
}

.xOut:hover {
    text-decoration: underline;
}

#phoneNotification {
    display: none !important;
}


.well {
    padding: 10px !important;
    width: 100%;
    color: black;
}

.gridContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 2fr;
    grid-column-gap: 1vw;
    align-items: center;
    justify-content: center;
    position: relative;
    height: fit-content;
}

#pricing-table .plan {
    font: 1.5rem 'Lucida Sans', 'trebuchet MS', Arial, Helvetica;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 10px;
    transition: 200ms linear;
    height: 100%;
    text-align: center;
}

.plan > ul {
    margin-top: auto !important;
}

#pricing-table h3 {
    font-size: 1.5vw;
    text-align: center;
    font-weight: normal;
    padding: 2px;
    margin: -5px -10px 0px -10px;
}

#pricing-table ul {
    margin: 5px 0 0 0;
    padding: 0;
    list-style: none;
}

#pricing-table li {
    border-top: 1px solid #ddd;
    padding: 10px 0;
    display: flex;
    align-content: center;
    justify-content: center;
}

#pricing-table .signup {
    padding: 8px 20px;
    color: black;
    font: 1vw Arial, Helvetica;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    margin: 5px;
    cursor: pointer;
    border: 2px solid black;
}

.plan {
    border: 2px solid black;
}

.plan small {
    color: black;
}

.plan:hover .signup {
    border: 2px solid white !important;
    color: white !important;
}


/*
/*
.plan:hover .invoice {
    color:white;
}
*/
.plan ul > li > a {
    pointer-events: auto;
}


s, strike {
    text-decoration: none;
    position: relative;
}

s::before, strike::before {
    top: 50%; /*tweak this to adjust the vertical position if it's off a bit due to your font family */
    background: red !important; /*this is the color of the line*/
    opacity: .7;
    content: '';
    width: 110%;
    position: absolute;
    height: .1em;
    border-radius: .1em;
    left: -5%;
    white-space: nowrap;
    display: block;
    transform: rotate(-15deg);
}

s.straight::before, strike.straight::before {
    transform: rotate(0deg);
    left: -1%;
    width: 102%;
}

#couponResult {
    position: relative;
    width: 100%;
    margin-top: 5%;
    padding: 0 10% 0 10%;
    display: none;
}

#couponCheck {
    box-shadow: 2px 2px 2px black;
    width: fit-content;
}

#couponCheck:active {
    box-shadow: 0px 0px 0px black;
}

/* THE REST */

#ieDetected {
    display: none;
    background: #fc4a1a; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: white;
    font-weight: 800;
    text-shadow: 1px 1px 1px black;
    font-size: 3rem;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    margin: 100px;
    position: fixed;
    top: 20vh;
    left: 0vw;
    border: 1px solid black;
    box-shadow: 10px 30px 20px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.5) !important;
}


.StripeElement {
    background-color: white;
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;

}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.pac-container, .pac-item {
    z-index: 2147483647 !important;
}

#card-buttonDiv {
    width: 100%;
    display: flex;
    justify-content: center;
}

#card-button {
    border: none;
    width: fit-content;
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 500;
}

#card-button:hover {
    transform: translateY(-5px);
    box-shadow: 3px 3px 3px black;
}

#card-button:active {
    transform: translateY(0);
    box-shadow: 0 0 0 black;
}

#card-element {
    border: 2px solid black;
}

.card-brand-icon {
    width: 40px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: left;
}

.card-brand-visa {
    background-image: url('/images/visa.png');
}

.card-brand-mastercard {
    background-image: url('/images/mastercard.png');
}

/* Add more classes for other card brands */

#coupon {
    border: 1px solid black;
}

.blackout {
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

.tablets {
    border-radius: 12px;
}

#cardElement {
    color: black !important;
}

.input-group {
    margin: 5px;
}

.notactive {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
    border-color: black;
    background: gray !important;
}

#topLineDiv {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 5px;
    column-gap: 10px;
    font-size: 1.25vw;
}


#scheduleSwitchDiv {
    display: flex;
    flex-direction: row;
    align-content: center;
}

#scheduleSwitchDiv > span {
    margin: 5px 5px 10px 5px;
    font-weight: 700;
    color: black;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e2321;
    -webkit-transition: 0.4s;
    transform: translate(0px, 0px);
    transition: 0.6s ease transform, 0.6s box-shadow;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input + .slider {
    background-color: #50bfe6;
}


input:focus + .slider {
    box-shadow: 0 0 1px #50bfe6;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


.help-block {
    color: black !important;
}

#invoiceExplanation {
    bottom: 5%;
    left: 5px;
    pointer-events: none;
    width: 100%;
    text-align: center;
    font-size: 1vw;
    margin-top: 25px;
}

#submitBill {
    width: fit-content;
    animation-duration: 3s;
    padding: 10px;
    font-weight: 700;
    border: 2px solid black;
}

#submitBill:hover {
    transform: translateY(-5px);
    box-shadow: 3px 3px 3px black;
}

#submitBill:active {
    transform: translateY(0);
    box-shadow: 0 0 0 black;
}


@media only screen and (max-width: 1000px) {

    #paymentTypeModal > .modal-dialog_payment {
        width: 80vw !important;
        left: 10vw !important;
    }

    #billingBtn, #cardBtn {
        box-shadow: 2px 2px 5px black;
        border: 1px solid black;
        font-size: 2rem;
        color: white;
        padding: 5px;
        border-radius: 10px;
    }

    #paymentTypeQuestion {
        margin-top: 2vh;
        font-size: 2rem;
    }

    #invoiceExplanation {
        font-size: 2vh;
    }

    #mainWell {
        width: 95%;
    }

    .well {
        margin-left: 0;
    }

    .plan {
        font-size: 1.75vh !important;
        text-align: center;
    }

    .plan > h3 {
        font-size: 2vh !important;
    }

    #topLineDiv {
        font-size: 2.5vh;
    }

    #topLineDiv > b {
        display: none
    }

    #scheduleSwitchDiv > span {
        font-size: 1.5vh;
    }

    .gridContainer {
        display: flex;
        flex-direction: column;
    }

    .gridContainer > div {
        margin: 10px;
    }

    #couponResult {
        width: 100%;
    }
}


.ribbon {
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 1020;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#55B198 0%, #4481AC 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    left: -21px;
}
