/* Minification failed. Returning unminified contents.
(431,1): run-time error CSS1019: Unexpected token, found '@import'
(431,9): run-time error CSS1019: Unexpected token, found 'url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700)'
(432,1): run-time error CSS1019: Unexpected token, found '@import'
(432,9): run-time error CSS1019: Unexpected token, found 'url(http://fonts.googleapis.com/css?family=Merriweather:300,400,700)'
(1143,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(1144,8): run-time error CSS1035: Expected colon, found '{'
 */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* --------------- Google Font ----- */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);
@import url(http://fonts.googleapis.com/css?family=Merriweather:300,400,700);

/* --------------- HTML5 Display Definitions ----- */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* --------------- Defaults ----- */
html { height: 100%; font-size: 100%; overflow-x: hidden; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body { height: 100%; margin: 0; padding: 0; background-color: #fff; }
body, button, input, select, textarea { font-family: 'Open Sans', sans-serif; color: #222; font-weight: 400; }
::-moz-selection { background: #999999; color: #fff; text-shadow: none; }
::selection { background: #999999; color: #fff; text-shadow: none; }
/* --------------- Links ----- */

a { text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
/* a:visited { color: #666; } */
a:hover { text-decoration: none; }
a:focus { outline: none; }

a:hover, 
a:active { outline: 0; }

/* --------------- Type ----- */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 15px 0 60px 0; padding: 0 30px 0 25px; border-left: 4px solid #ccc; font-size: 1.0em; line-height: 1.4em; color: #000; font-weight: 300; font-style: italic; }
blockquote.urls { line-height: 1.5em; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

h1, h2, h3, h4, h5, h6, h7 { margin: 0; padding: 0; }

h1 { font-size: 2.1em; font-weight: 300; letter-spacing: -.03em; line-height: 1.1em; text-transform: uppercase; }
h2 { font-size: 1.1em; font-weight: 300; letter-spacing: -.02em; line-height: 1.4em; }
h3 { font-size: 0.9em; font-weight: 600; letter-spacing: -.02em; }
h4 { font-size: 1.6em; font-weight: 300; letter-spacing: -.03em; text-transform: uppercase; }
h5 { font-size: 0.9em; font-weight: 300; }

p { width: 420px; margin: 0; padding: 0; color: #333; font-size: 0.8em; line-height: 1.3em; font-weight: 300; }
p.tnc { width: 500px; }
ul.form-coi p { width: 420px; margin: 0; padding: 0; color: #000; font-size: 0.9em; line-height: 1.5em; font-weight: 300; }

/* --------------- Primary Structure ----- */

main { width: 100%; min-height: 100%; margin-bottom: -90px; }
main:after { content: ""; display: block; }
footer, 
    main:after { height: 90px; }

#card { margin: -25px auto 0 auto; width: 540px; border: 1px solid #cccccc; -moz-box-shadow: 0 1px 1px #bababa; -webkit-box-shadow: 0 1px 1px #bababa; box-shadow: 0 1px 1px #bababa; overflow: hidden; -webkit-border-radius: 3px;
-moz-border-radius: 3px; border-radius: 3px; }
nav {
    width: 100%;
    height: 135px;
    padding: 20px;
}

#prms-logo {
    max-width: 210px;
    max-height: 135px;
    object-fit: contain;
}
nav ul { width: 100%; }
nav li { padding: 0; }
nav li:first-child { float: left; }
nav li:nth-of-type(2) { float: right; padding: 30px 30px 0 30px; }
nav li a { font-size: 0.8em; font-weight: 700; letter-spacing: -.03em; color: #999; text-transform: uppercase; }
nav li a:hover { color: #333; }

header { width: 540px; padding: 40px 10px 15px 10px; background-color: #fff; }
header.inside { width: 400px; padding: 20px 0 20px 60px; background-color: #fff; }
header.inside h2 { opacity: 1.0; width: 50%; }

header.receipt { width: 400px; padding: 20px 0 20px 60px; background-color: #fff; }
header.receipt h4 { color: #000; margin: 40px 0 40px 0; }

header h1 { padding: 0 25px 20px 0; color: #4b831b; }
header h2 { display: inline-block; padding: 10px 0 0 0; color: #666; }

header.inside input { width: auto; padding: 10px; margin: 0 15px 0 0; text-align: center; color: #333; font-size: 0.9em; text-transform: uppercase; border: 1px solid #999; background-color: #fff; float: right; font-weight: 600; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
header.inside input:hover { color: #333; border: 1px solid #666; text-decoration: none; background-color: #f2f2f2; }
header.inside input:active { background-color: #fff; }

/* --------------- Form Input ----- */

input { width:315px; height: auto; padding: 5px 10px 5px 10px; color: #000; border: 1px solid #ccc; font-family: 'Open Sans', sans-serif; font-weight: 400; background-color: #ffffff; font-size: 0.9em; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
input:hover { color: #000; border: 1px solid #999; -moz-box-shadow: 0 1px 1px #bababa; -webkit-box-shadow: 0 1px 1px #bababa; box-shadow: 0 1px 1px #bababa; }
input:focus { color: #000; outline: none; border: 1px solid #6BAA36; -moz-box-shadow: 0 1px 1px #bababa; -webkit-box-shadow: 0 1px 1px #bababa; box-shadow: 0 1px 1px #bababa; }
input:active { color: #fff; }

select { width:337px; height: auto; padding: 5px 10px 5px 10px; color: #000; border: 1px solid #ccc; font-family: 'Open Sans', sans-serif; font-weight: 400; background-color: #ffffff; font-size: 0.9em; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

li.short input { width: 68px; }
li.ccv input { width: 45px; }
li.short select { width: 95px; height: auto; }

li.medium input { width: 100px; }
li.medium select { width: 200px; height: auto; }

/*---------------- Table Structure ------*/
.list-table { display: table;width: 100%;}
.list-row {display: table-row; width:100%;}
.list-cell {display:table-cell;padding:5px;}
.label{text-align:left; white-space:nowrap;font-weight:bold;padding:0;}
.value{text-align: right;}
/* --------------- Form Structure ----- */

ul.form-login { padding: 0; margin: 10px 0 10px 60px; }
ul.form-login a, 
    ul.form-generic a { display: inline-block; margin: 5px 0 0 16px; font-size: 0.9em; }

ul.form-login a:hover, 
    ul.form-generic a:hover { color: #000; }

ul.form-generic { padding: 0; margin: 0px 0px 0 60px; }

ul.form-select { padding: 0; margin: 10px 0 0 60px; }
ul.form-select h2 { margin-bottom: 10px; }
ul.form-select h3, 
    ul.form-select h5 label { margin-bottom: 0; }

ul.form-select-tnc {padding: 0;  width: 500px; margin: 10px 0 0 20px;}
ul.form-select-tnc h3, 
    ul.form-select-tnc h5 label { margin-bottom: 0; }


ul.form-select li.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width:100%
}
    ul.form-select li.checkbox-row input[type="checkbox"] {
        width: 15px;
        height: 15px;
        margin-bottom :15px;
    }
    ul.form-select li.checkbox-row h3 {
        margin: 0;
    }
/*ul.form-cc:nth-of-type(2) { margin-top: 30px; }*/

ul.form-cc { padding: 0; margin: 10px 0 0 60px; width: 420px; }
ul.form-cc li { padding: 0 0 5px 0; }
ul.form-cc span { display: inline-block; margin: 5px 0 0 16px; font-size: 0.9em; color: #999; }
ul.form-cc a { display: inline-block; margin: 5px 0 0 10px; font-size: 0.9em; color: #1067E2; }
ul.form-cc li.short { float: left; clear: right; padding-right: 7px; }
ul.form-cc-state { padding: 0; margin: 0 0 10px 60px; width: 420px; }
ul.form-cc-state li.medium { float: left; clear: right; padding-right: 7px; }

ul.form-cc-exp { padding: 0; margin: 20px 0 0 60px; width: 420px; }

ul.form-cc li.ccv { float: left; clear: right; padding-left: 30px; }
ul.form-cc li.ccv-img { float: left; clear: right; padding: 0; }
ul.form-cc li.ccv-img a { display: inline-block; margin: 0; }

ul.form-cc #AmountToPayDetail_Email { width:315px; height: auto; padding: 11px 10px 7px 15px; color: #000; border: none; border-bottom: 1px solid #999; font-family: 'Open Sans', sans-serif; font-weight: 400; background-color: #ffffff; font-size: 0.9em; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }

ul.form-due {
    width: 420px;
    margin: 20px 0px 15px 60px;
    padding: 15px 0 15px 0;
    border-bottom: 1px solid #666;
    border-top: 3px solid #000;
}
    ul.form-due.payment-review {
        border-top: none;
        margin: 0px 0px 15px 60px;
    }
ul.form-due-ipad {
    width: 400px; /* Increased width */
    margin: 40px 0 20px 40px; /* Adjusted left margin */
    padding: 15px 0 15px 0;
    border-bottom: 3px solid #000;
    border-top: 1px solid #ccc;
}
ul.form-review-email { width: 420px; margin: 0 0 0 60px; padding: 0 0 15px 0; border-bottom: 1px solid #666; }
ul.form-review-email li:nth-of-type(2) { padding: 0 0 0 15px; }

ul.form-review-type-ach { margin: 20px 0 0 60px; padding-bottom: 0; border-bottom: 1px solid #666; width: 420px; }

ul.form-review-type { margin: 20px 0 0 60px; padding: 0 0 15px 0; border-bottom: 1px solid #666; width: 420px; }
ul.form-review-type h2 { padding: 0 0 0 15px; font-size: 1.4em; color: #000; opacity: 1.0; }

ul.form-review-check { margin: 20px 0 0 60px; padding-bottom: 0; border-bottom: 1px solid #666; width: 420px; }
ul.form-review-check h2 { padding-left: 15px; font-size: 1.4em; color: #000; opacity: 1.0; }

/* --------------- Payment Receipt ----- */
.payment-receipt > div:first-of-type {
    width: 420px;
    margin: 20px 0 10px 60px;
    padding: 0;
    font-weight: 300;
    font-size: 1.0em;
    line-height: 1.4em;
}
ul.form-coi { width: 420px; padding: 0; margin: 20px 0 0 60px; }
ul.form-coi h3 { width: auto; padding: 0; font-weight: 300; font-size: 1.1em; line-height: 1.4em; }
ul.form-coi li a { color: #0657cb; }
ul.form-coi li a:hover { color: #666; }
ul.form-coi span { text-decoration: underline; }
ul.form-coi.email { margin: 20px 0 60px 60px; }
ul.form-coi.program { margin: 20px 0 60px 60px; }

ul { display: inline-block; margin: 0 0 15px 0; padding: 0; }
ul h3 { margin-bottom: 10px; }

h4 { margin: 40px 0 0 60px; color: #4b831b; }

li { padding: 5px 10px 5px 0; }
li label { display: inline-block; font-weight: 600; width: 33%; }
li.confirm label { display: inline-block; padding: 0 0 0 15px; font-weight: 600; width: 45%; }
li.confirm span { display: inline-block; padding: 0 0 0 15px; font-weight: 400; }

li label.financeText {
    display: inline-block;
    font-weight: 400;
    width: 75%;
}
label.financeValue {
    display: inline-block;
    font-weight: 600;
    width: 20%;
}

li h3 label,
    li h5 label { display: inline-block; padding: 0; margin: 0 0 15px 0; font-weight: 300; width: auto; }
/* li.check input { width: 160px; } */

::-webkit-input-placeholder { color: #8a8a8a; }
:-moz-placeholder { color: #8a8a8a; } /* Firefox 18- */
::-moz-placeholder { color: #8a8a8a; } /* Firefox 19+ */
:-ms-input-placeholder { color: #8a8a8a; }

h3, h4, h5 { display: inline-block; width: auto; }

/* --------------- Checkboxes & Radio Buttons ----- */

ul.form-select #CCPayment,
ul.form-select #CheckPayment,
ul.form-select #FinancePayment,
ul.form-select-tnc #TermsAccepted {
    width: 16px;
    height: 16px;
    text-align: left;
    margin: 5px 15px 0 0;
}

/* --------------- Page to page UI ----- */

#payment-flow { margin: 20px 0 20px 60px; padding: 0; background: transparent; }
#payment-flow input,
    #payment-flow a { display: inline-block; width: auto; padding: 17px 15px 17px 15px; margin: 0; text-align: center; color: #fff; font-size: 0.9em; text-transform: uppercase; border: none; background-color: #1067E2; font-weight: 600; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#payment-flow input:hover,
    #payment-flow a:hover { color: #fff; border: none; background-color: #0657cb; }
#payment-flow input:active,
    #payment-flow a:active { color: #fff; border: none; background-color: #00419f; }


/* --------------- Footer UI ----- */

footer { width: 100%; margin: 0; padding: 0 0 0 40px; color: #666; }
footer p { width: 100%; margin: 0; padding: 0; font-size: 0.85em; line-height: 1.4em; }

footer a { color: #0657cb; }
footer a:hover { color: #000; text-decoration: underline; }
footer a:active { color: #000; }


/* --------------- Error Handling ----- */

.validation-summary-valid { display: none; }
.login>.validation-summary-errors { margin-top: 40px; margin-bottom: 0; }
.validation-summary-errors { margin: 20px 60px 20px 60px; padding: 10px 0 10px 0; color: #ff0000; border: 1px solid #ff0000; background-color: #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.validation-summary-errors li { padding: 5px 30px 5px 16px; font-size: 0.9em; line-height: 1.3em; }

/* .error-dialog { color: #ff0000; } */
/* .error-highlight { border-color: #ff0000; } */

span.field-validation-error { padding: 0 0 0 15px; color: #ff0000; font-size: 0.8em; }

input.input-validation-error,
    select.input-validation-error {
    border: 1px solid #ff0000;
}

/* --------------- Lists ----- */

ul, ol { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }

img { margin: 0; padding: 0; border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; outline: none; }


/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }

/*  Figures ----- */

figure { margin: 0; }


/* --------------- Forms ----- */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: default; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; vertical-align: text-bottom;}
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }



/* --------------- Non-semantic helper classes ----- */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* --------------- Media Queries ----- */

@media only screen and (min-width: 767px) { 
/* For screens larger than mobile */
	
}

@media only screen and (max-width: 768px) { 
/* For mobile screens */
		
}
/* --------------- Payment Receipt Error Styling ----- */

.payment-receipt .error-message {
    color: #d9534f;
    font-weight: bold;
    margin: 10px 0 10px 60px;
    font-size: 1.0em;
    line-height: 1.4em;
}

.payment-receipt > div {
    width: 420px;
    margin: 20px 0 10px 60px;
    padding: 0;
}
/* --------------- Confirmation Page Layout Fixes ----- */
/* --------------- Confirmation Page Header ----- */

.header-with-edit {
    width: 420px;
    margin: 40px 0 20px 60px;
    padding-bottom: 15px;
    border-bottom: 3px solid #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .header-with-edit h4 {
        margin: 0;
        color: #4b831b;
        font-size:1.6em;
    }

    .header-with-edit input {
        width: auto;
        padding: 10px 20px;
        background-color: transparent;
        color: #333;
        border: 1px solid #999;
        cursor: pointer;
        font-size: 0.9em;
        font-weight: 600;
        text-transform: uppercase;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }


/* --------------- Payment Summary Section ----- */
ul.payment-summary-section {
    width: 420px;
    margin-left: 60px;
}

    ul.payment-summary-section h3,
    ul.form-due h3,
    ul.form-review-email h3,
    ul.form-review-type h3 {
        margin: 0 0 10px 0;
        font-size: 1.04em;
        font-weight: 600;
        color: #333;
    }

    ul.payment-summary-section li.amount {
        padding: 5px 0 5px 15px;
    }

        ul.payment-summary-section li.amount label,
        ul.form-due li.confirm label,
        ul.form-review-type li.confirm label {
            display: inline-block;
            font-weight: 600;
            width: 45%;
            font-size: 0.9em;
        }

        ul.payment-summary-section li.amount span,
        ul.form-due li.confirm span,
        ul.form-review-type li.confirm span {
            display: inline-block;
            font-weight: 400;
            font-size: 0.9em;
        }
.invoice-link-container {
    list-style: none;
    padding: 0;
    width: 420px;
    margin-left: 60px;
}

.invoice-link-container li {
    padding: 5px 10px 5px 0;
}

.invoice-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

.invoice-link:hover {
    text-decoration: underline;
}

.invoice-icon {
    margin-right: 5px;
}

#otpModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
}

.otp-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.otp-modal-content h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 600;
}

.otp-modal-content p {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px 0;
    line-height: 1.5;
    width: 100%;
    text-align: center;
}

.otp-modal-content p strong {
    color: #000;
    display: block;
    margin-top: 5px;
}

.otp-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

#otpInput {
    width: 100%;
    padding: 12px;
    font-size: 20px;
    text-align: center;
    letter-spacing: 5px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: monospace;
    box-sizing: border-box;
}

#otpTimer {
    color: #666;
    font-size: 13px;
    text-align: center;
    margin: 0 0 15px 0;
    min-height: 18px;
    width: 100%;
}

#otpMessage {
    margin: 0;
    min-height: 20px;
    text-align: center;
    font-size: 14px;
    width: 100%;
}

.otp-button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-button-group button {
    flex: 1;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

#verifyBtn {
    background: #1067E2;
    color: white;
}

#verifyBtn:disabled {
background: #c6c6c9;
cursor: not-allowed;
opacity: 0.6;
}

#verifyBtn:hover:not(:disabled) {
background: #0657cb;
}

#verifyBtn:active:not(:disabled) {
background: #00419f;
}

#resendBtn {
    background: #c6c6c9;
    color: white;
}

#resendBtn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

#resendBtn:not(:disabled) {
    background: #9a9a9d;
    color: white;
    cursor: pointer;
    opacity: 1;
}

#resendBtn:not(:disabled):hover {
    background: #808083;
}

.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
