* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    height: auto;
}

html {
    height: 98vh;
}

.hdr {
    background-color: white;
    color: black;
}

input[type=text], input[type=email], input[type=password], textarea, input[type=tel] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 2.5vh;
}

h1 {
    font-size: 1.5em;
}
h4 {
    font-size: 2.5vh;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 2.5vh;
}

input[type=date] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 2.5vh;
}

label {
    /*padding: 12px 12px 12px 0;*/
    display: inline-block;
    font-size: 2.5vh;
}


input[type=button], button {
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    text-align: center;
    font-size: 2.5vh;
}


.tblcll {
    display: table-cell;
    vertical-align: middle;
    align-items: center;
}


.container {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    overflow: auto;
    height: 100%;
    margin: auto;
    max-width: 900px;
}

.panel {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    overflow: auto;
}

.tbl {
    display: table;
    width: 100%;
    vertical-align: middle;
    align-items: center;
    padding: 1vh;
}

.col-25 {
    flex: 23%;
    margin: 1%;
}

.col-75 {
    flex: 73%;
    margin: 1%;
}

main {
    flex: 1;
    overflow: auto;
    padding-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    flex: 0 0 auto;
}

footer {
    flex: 0 0 auto;
    position: relative;
    bottom: 0;
    margin-top: auto;
}

.col-50l {
    flex: 50%;
}

.col-50r {
    flex: 50%;
}

.w50 {
    min-width: 90%;
    height: 100%;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.ints {
    width: 100%;
    height: 40vh;
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 3px;
    overflow: auto;
}

#startpage, #page0 {
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    font-size: 4vmax;
}

#page0 {
    height: 50vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    font-size: 4vmax;
}

#btnStart {
    width: 50vw;
    font-size: 4vmax;
    padding: auto;
    position: relative;
    bottom: 0;
    max-width: 780px;
}

#starthdr {
    font-size: max(3.5vh, 8px);
    text-align: center;
    padding-left: 30%;
}

input[type=checkbox] {
    width: 2vh;
    height: 2vh;
}

#txtPostCode {
    text-transform: uppercase;
}

.required {
    font-size: smaller;
}

.validerror {
    font-size: 22px;
    color: red;
}

.nexterror {
    font-size: 32px;
    color: red;
    float: right;
    text-align: right;
}

@media screen and (max-width: 1080px) and (orientation: portrait) {

    html {
        height: 85vh;
        /*height: -webkit-fill-available;*/
    }

    .col-25, .col-75, .col-50l, input[type=submit] {
        flex: 100%;
        flex-wrap: nowrap;
        margin-top: 0;
    }

    .col-50r {
        flex: 100%;
        margin-top: 3%;
    }

    .row, .container, .frm {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .w50 {
        width: 25vw;
    }

    input[type=text], input[type=email], textarea, button, select, input[type=date], label, input[type=button], input[type=tel], h4 {
        font-size: 1.75vh;
    }

    input[type=button], button {
        height: 6vh;
    }
}

@media screen and (max-height: 900px) and (orientation: landscape) {

    html {
        height: 80vh;
        /*height: -webkit-fill-available;*/
    }

    textarea {
        max-height: 20vh;
    }
}

.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: white;
    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;
}

#btnPay {
    border: 1px;
    border-radius: 5px;
    background-color: #3333ff;
    color: white;
    width: 250px;
    height: 40px;
    font-size: large;
    font-weight: bold;
    margin-top: 20px;
}

    #btnPay:disabled {
        background-color: #888888;
    }

.stripepay {
    background-color: #3333ff;
    color: white;
    width: 250px;
    height: 40px;
    font-size: large;
    font-weight: bold;
}

button.stripepay, button.stripepayd {
    float: none;
}

.stripepay:disabled {
    border: 1px #666666 solid;
    background-color: #999999;
    cursor: not-allowed;
}

.paymentframe {
    width: 85%;
    max-width: 450px;
    margin: auto;
    padding: 20px;
    border: 2px solid #cccccc;
    margin-bottom: 20px;
}

.ptl {
    width: 50%;
    text-align: right;
    padding-right: 6px;
}
.ptr {
    width: 50%;
    text-align: left;
    padding-left: 6px;
}
