﻿body {
    font-family: Arial, Verdana;
    font-size: 12px;
    color: #333333;
    margin: 0;
}

.divMainForm {
    display: block;
    max-width: 800px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    text-align: left;
}

.divErrors {
    margin: 0px auto -10px auto;
    padding: 10px 10px 0px 10px;
}

.tableStandard {
    border-spacing: 0;
    width: 100%;
}

.tableErrorMessage {
    border-spacing: 1px;
    border: 0;
    width: 100%;
}

.tableTdErrorMessageHeader {
    padding: 4px;
}

.tableTdErrorMessage {
    background-color: #ffffff;
    padding: 4px;
}

.tableCancelled {
    border-spacing: 0;
    width: 100%;
    border-bottom: 1px solid #999999;
}

.tableSwipe {
    border-spacing: 0;
    border: 0;
    vertical-align: middle;
}

.tdSwipeImage {
    width: 20px;
}

.tdSwipeText {
    font-weight: bold;
    color: #990000;
}

.tdSwipeSuccess {
    font-weight: bold;
    color: #006600;
    white-space: nowrap;
    vertical-align: middle;
}

/* ReSharper disable once DeclarationIsEmpty */
.tdSwipeInfo {
}

/* ReSharper disable once DeclarationIsEmpty */
.tdSwipeChangeCard {
}

.swipeCaptureMessage {
    border: solid 1px #999999;
    background-color: #F8F8F8;
    width: 320px;
    height: 150px;
    font-size: 13px;
    text-decoration: none;
}

.tdSwipeInstructions {
    white-space: nowrap;
}

.divSwipeInstructions {
    width: 300px;
}

.tableCVVTooltip {
    width: 450px;
    border-spacing: 0;
}

.tableOrderDetails {
    width: 100%;
    border-spacing: 0;
}

.tableFooter {
    width: 100%;
    border-spacing: 0;
    margin-top: 40px;
}

.tdFooter {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #999999;
    padding-top: 4px;
}

.footer {
    display: flex;
    justify-content: space-between;
}

.tdLearnMore {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.tdLoadFailedText {
    font-weight: bold;
    text-align: left;
}

.tdTransactionButtons {
    text-align: left;
    padding-top: 5px;
    height: 35px;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #999999;
    vertical-align: middle;
}

.tdReturnButton {
    text-align: left;
    padding-top: 5px;
    height: 35px;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #999999;
    vertical-align: middle;
}

.tableAddressInformation {
    border-spacing: 0;
}

.tdAddressDivider {
    width: 20px;
}

.tdAddressHeader {
    font-weight: bold;
    vertical-align: top;
    padding: 0;
}

.contentAddress {
    font-weight: normal;
}

.tdHeader {
    border: solid 1px #999999;
    background-color: #F8F8F8;
    padding: 5px;
    font-weight: bold;
}

.tdLabel {
    font-weight: bold;
    text-align: right;
    padding: 1px;
}

.tdField {
    padding: 1px;
}

.progressDiv {
    position: relative;
    top: 70px;
    background-color: transparent;
    z-index: 52;
    text-align: center;
}

.progressMessage {
    align-content: center;
    font-weight: bold;
    color: #990000;
}

.progressImage {
    width: 100px;
    height: 100px;
}

.restingDiv {
    text-align: center;
}

.restingImage {
    width: 100px;
    height: 100px;
}

.manualErrorRedirect {
    display: none;
    position: relative;
    top: 5px;
    background-color: #ffffff;
    z-index: 54;
    padding: 5px;
    text-align: center;
}

.manualErrorRedirectStatus {
    font-weight: bold;
}

/* ReSharper disable once DeclarationIsEmpty */
.manualErrorRedirectMessage {
}

.inputText {
    background-color: #ffffff;
    border-width: 1px;
}

.selectOption {
    background-color: #ffffff;
    border-width: 1px;
}

.cvv {
    Width: 35px;
}

.cardNumber {
    width: 200px;
}

a:link {
    color: #0053A5;
}

a:visited {
    color: #0053A5;
}

a:hover {
    color: #0053A5;
}

.buttonCancel:link {
    color: #0053A5;
}

.buttonCancel:visited {
    color: #0053A5;
}

.buttonCancel:hover {
    color: #0053A5;
}

.buttonEmbedded:link {
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #838383;
    background-color: #838383;
    color: #ffffff;
    text-decoration: none;
}

.buttonEmbedded:visited {
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #838383;
    background-color: #838383;
    color: #ffffff;
    text-decoration: none;
}

.buttonEmbedded:hover {
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #838383;
    background-color: #838383;
    color: #ffffff;
    text-decoration: none;
}

.buttonTemp:link {
    cursor: text;
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #CCCCCC;
    background-color: #CCCCCC;
    color: #A9A9A9;
    text-decoration: none;
}

.buttonTemp:visited {
    cursor: text;
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #CCCCCC;
    background-color: #CCCCCC;
    color: #A9A9A9;
    text-decoration: none;
}

.buttonTemp:hover {
    cursor: text;
    font-size: 13px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #CCCCCC;
    background-color: #CCCCCC;
    color: #A9A9A9;
    text-decoration: none;
}

.buttonReturn:link {
    font-size: 15px;
    font-weight: bold;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #838383;
    background-color: #838383;
    color: #ffffff;
    text-decoration: none;
}

.buttonChangeCard {
    font-weight: bold;
}

.content {
    border-left: solid 1px #999999;
    border-right: solid 1px #999999;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.welcomeMessage {
    background-color: #FEFFF1;
    border: solid 1px #999999;
    height: 40px;
    vertical-align: middle;
    font-size: 13px;
    font-weight: bold;
    padding: 2px;
}

.required {
    color: #990000;
    font-weight: normal;
}

.right {
    float: right;
}

.hoverHelpText {
    font-family: Tahoma, Arial;
    color: #0053A5;
    cursor: pointer;
    border-bottom: dotted 1px;
}

.errorHoverHelpText {
    font-family: Tahoma, Arial;
    color: #990000;
    font-weight: bold;
    cursor: pointer;
    border-bottom: dotted 1px;
}


.errorTextColor {
    color: #990000;
}

.bold {
    font-weight: bold;
}

table.error {
    background-color: #990000;
    color: #ffffff;
    margin-bottom: 10px;
}

.errorBorder {
    border: 1px solid #990000;
}

.error {
    color: #990000;
}

.validating {
    color: #c39800;
}

.success {
    color: #006600;
}

.tagline {
    font-size: 15px;
}

.noWrap {
    white-space: nowrap;
}

.divNoScript {
    display: table;
    border-color: red;
    border-style: solid;
    border-width: 1px;
    padding: 3px;
    font-weight: bold;
}

.imgNoScript {
    vertical-align: middle;
    display: table-cell;
    margin-right: 5px;
}

.spanNoScriptMessage {
    vertical-align: middle;
    display: table-cell;
}

.spanNoScriptImage {
    vertical-align: middle;
}

.divHPDetailsForm {
    max-width: 800px;
    min-width: 345px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    text-align: left;
}

/* rules for hiding and showing credit card and cvv fields */
/**
    Positioning context
*/
.cc-container, .cvv-container {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: nowrap;
}

/* provides space at the end of the credit card or CVV field for the eye. 
    entered text cannot encroach on this space */
#cardNumber, #CVV {
    padding-right: 30px;
}

/* the eye icon image positioning */
.eye-icon {
    position: relative;
    top: 4px;
    right: 26px;
}

/* firefox only */
@-moz-document url-prefix() {
    .eye-icon {
        top: 3px;
    }
}


/* this removes the eye that appears by default on password fields for Edge browser */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.worldpayLogo {
    vertical-align: middle;
    height: auto;
    width: 108px;
}

.hideCookieBanner {
    display: none;
}

.showCookieBanner {
    display: block;
}

img {
    width: 100%; /* or max-width: 100%; */
    height: auto;
}
