:root {
    --primary: #0a7eb0;
    --primary-dark: #086a95;
    --primary-light: #e6f3f9;
    --primary-soft: #f5f9fc;
    --text-dark: #1a2a3a;
    --text-mid: #333333;
    --border: #d0d8e0;
    --border-light: #e5e8eb;
}

/* Base */
body {
    background-color: #C3E8FC !important;
    color: var(--text-dark);
}

/* Headings */
h1 {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    line-height: 36px;
    margin: 20px 0 10px;
}

h2 {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
}

h3 {
    color: var(--primary);
    font-size: 20px;
    line-height: 24px;
    margin: 20px 0 5px;
}

h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    display: inline;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

h5 {
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
    font-size: 28px;
    font-weight: bold;
    line-height: 36px;
    margin: 20px 0 10px;
}

/* Containers */
.container {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    height: 100%;
    background-color: #fff;
    border-radius: 4px;
}

.logo {
    width: 100% !important;
    background-color: #ffffff;
    text-align: center;
}

/* Buttons */
.btn {
    white-space: normal !important;
    width: auto !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    font-weight: 600;
}

.btn-primary,
.button input,
input.ButtonContinue,
button.next {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.button input:hover,
input.ButtonContinue:hover,
button.next:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

.btn-default,
button.previous {
    background-color: #ffffff !important;
    border-color: #cccccc !important;
    color: #000000 !important;
}

.btn-default:hover,
button.previous:hover {
    background-color: #f2f2f2 !important;
    border-color: #bbbbbb !important;
    color: #000000 !important;
}

.ButtonCancel,
.ButtonClear {
    white-space: normal !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    width: auto !important;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
    background-color: #ffffff;
    border-color: #cccccc;
}

.ButtonClear {
    min-width: 80px !important;
}

#btnCancel:hover {
    background-color: #cccccc;
}

/* Layout Helpers */
.one-half,
.three-sixths,
.two-fourths {
    width: 48%;
}

.secondary-color {
    color: var(--primary-dark);
}

.inline {
    display: inline;
}

.top-buffer {
    margin-top: 20px;
}

.top-sm-buffer {
    margin-top: 10px;
    border-bottom: 1px solid #aaa;
    padding-bottom: 14px;
}

.sm-buffer {
    padding-bottom: 14px;
}

.reg-options {
    padding-top: 5px;
    padding-left: 15px;
}

.required-flag {
    color: #d9534f;
    font-size: 1.2em;
    padding-right: 3px;
}

/* Legend / Section Headers */
.legend {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary) !important;
    background: var(--primary-light);
    border: 1px solid var(--border);
    width: 100%;
    margin-top: 50px;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
}

/* Header / Status */
.welcome {
    background-color: var(--primary);
    color: #ffffff;
    font-size: larger;
    margin: 1px 0;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
}

.welcome span {
    margin-left: 10px;
    padding-right: 10px;
    border-left: 1px solid #ffffff;
}

.welcome a {
    color: #ffffff;
    text-decoration: none;
}

.welcome a:hover {
    color: var(--primary-light);
}

.status {
    background: var(--primary);
    padding: 0 15px;
    min-height: 30px;
    z-index: 10;
}

.status-fixed {
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
}

.header-row {
    border-bottom: 2px solid #ddd;
    padding: 5px;
}

.mobile-header {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .status-fixed {
        position: static;
        left: auto;
        top: auto;
    }
}

/* Product Rows */
.alt-row,
.alt-row-gray {
    border-top: 1px solid var(--border-light);
    padding: 14px 10px;
    transition: background-color 0.2s ease;
}

.alt-row-gray {
    background-color: #f9f9f9;
}

.alt-row:hover,
.alt-row-gray:hover {
    background-color: var(--primary-soft);
}

/* Product section title */
.pageinfo h1,
.pageinfo h2,
.pageinfo h3,
.pageinfo h4,
.pageinfo h5,
.pageinfo .legend {
    color: #000000 !important;
}

/* Product names / generated product text */
.pageinfo a:link,
.pageinfo a:visited,
.pageinfo label,
.pageinfo span,
.pageinfo td {
    color: #000000 !important;
}

/* Product links */
.pageinfo a {
    font-weight: 600 !important;
    text-decoration: none;
}

.pageinfo a:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Product descriptions */
.pageinfo .item-descr,
.pageinfo .item-altdescr,
.pageinfo .descr {
    color: var(--text-mid) !important;
    font-style: italic;
    line-height: 1.5;
}

/* Prices */
.pageinfo .amount,
.amount {
    color: #000000 !important;
    font-weight: bold;
}

/* Info icons */
.glyphicon-info-sign,
.pageinfo .glyphicon-info-sign {
    color: var(--primary) !important;
}

/* Description toggle */
.view-descr {
    cursor: pointer;
}

.view-descr .item-descr {
    display: none;
}

.view-descr:hover .item-descr {
    display: block;
}

/* Tables */
table td {
    padding: 6px;
}

.product-table table {
    width: 100%;
}

/* Form Wizard */
.bs-wizard {
    border-bottom: solid 1px #e0e0e0;
    padding: 10px;
    color: #ffffff;
}

.bs-wizard > .bs-wizard-step {
    padding: 0;
    position: relative;
}

.bs-wizard > .bs-wizard-step .bs-wizard-stepnum {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.bs-wizard > .bs-wizard-step > .bs-wizard-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    display: block;
    background: var(--primary-light);
    top: 45px;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
}

.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {
    content: ' ';
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.bs-wizard > .bs-wizard-step > .progress {
    position: relative;
    border-radius: 0;
    height: 8px;
    box-shadow: none;
    margin: 20px 0;
}

.bs-wizard > .bs-wizard-step > .progress > .progress-bar {
    width: 0;
    box-shadow: none;
    background: var(--primary);
}

.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {
    width: 100%;
}

.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {
    width: 50%;
}

.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {
    width: 0%;
}

.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {
    width: 100%;
}

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {
    background-color: #f5f5f5;
}

.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {
    opacity: 0;
}

.bs-wizard > .bs-wizard-step:first-child > .progress {
    left: 50%;
    width: 50%;
}

.bs-wizard > .bs-wizard-step:last-child > .progress {
    width: 50%;
}

.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot {
    pointer-events: none;
}

/* Form Fields */
.TotalChargedInput {
    font-size: 150% !important;
    font-weight: bold !important;
}

.inner,
#reginfo {
    margin-left: 30px;
}

.inner .descr {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #000;
}

.inner .title {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 14px;
    max-width: 780px;
}

.inner .item-descr {
    border-bottom: 1px dotted #989898;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-left: 30px;
}

.inner .footer {
    font-style: italic;
    font-size: 10px;
}

.buttons {
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}

.button {
    padding: 5px;
    float: right;
}

.button input {
    background-color: var(--primary) !important;
    border: medium none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    height: 35px;
    line-height: 1;
    min-width: 120px;
    padding: 5px 10px 6px;
    position: relative;
    text-decoration: none;
    vertical-align: top;
}

.button input:hover {
    background-color: var(--primary-dark) !important;
}

/* Inputs */
input[type="checkbox"] {
    margin: 4px 10px 0 !important;
}

input[type="radio"] {
    margin: 4px 10px 0 !important;
}

/* Date Dropdowns */
#drpMonth,
#drpYear {
    float: left;
    margin-right: 2%;
    width: 48%;
}

@media (max-width: 768px) {
    #drpMonth,
    #drpYear {
        float: none;
        margin-right: 0;
        width: 100%;
    }
}

/* Footer */
.disclaimer {
    min-height: 30px;
}

#footer {
    min-height: 130px;
}

.copyright {
    padding-top: 10px;
    font-style: italic;
    font-size: smaller;
}

.barcode {
    text-align: center;
}

.barcode img {
    width: 60%;
}

.social img {
    width: 25px;
}

/* Fieldset */
fieldset {
    display: block;
    -webkit-margin-start: 2px;
    -webkit-margin-end: 2px;
    -webkit-padding-before: 0.35em;
    -webkit-padding-start: 0.75em;
    -webkit-padding-end: 0.75em;
    -webkit-padding-after: 0.625em;
    min-width: -webkit-min-content;
}

/* General links outside product area */
a {
    color: var(--primary);
    font-weight: 700 !important;
}

a:hover {
    color: var(--primary-dark);
}