/* Font Definitions */
@font-face {
    font-family: 'mine';
    src: url('webfont.eot');
    src: url('webfont.eot?#iefix') format('embedded-opentype'),
         url('GreatVibes-Regular.woff') format('woff'),
         url('GreatVibes-Regular.ttf') format('truetype'),
         url('webfont.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'script';
    src: url('Ananda Black Personal Use.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'new2';
    src: url('FeFCrm2.ttf');
    src: url('FeFCrm2.ttf?#iefix') format('embedded-opentype'),
         url('FeFCrm2.woff') format('woff'),
         url('FeFCrm2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base Styles */
body {
    font-size: 12px;
    font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
    background: #D8B8A4; /* Light peach background */
    color: #5E3A5F; /* Dark purple text */
}

/* Image Styles */
img.100 {
    width: 100%;
    height: auto;
}

/* Link Styles */
a {
    color: #5E3A5F; /* Dark purple */
    font-weight: bold;
    text-decoration: none;
}

a.white {
    color: #fff;
}

/* Footer Styles */
p.footer {
    color: #C08A8E; /* Dusty rose */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    text-align: center;
    background: #8E8B84; /* Grayish taupe */
    font-size: 12px;
    line-height: 30px;
}

/* Print Styles */
@page {
    size: 8.5in 11in;
}

@media screen {
    div.divFooter {
        margin-top: 500px;
        text-align: center;
        display: none;
    }
}

@media print {
    div.divFooter {
        text-align: center;
        position: fixed;
        bottom: 0;
    }
}

/* Modal Window Styles */
.window {
    max-width: 780px;
    z-index: 9999;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: auto;
    background-color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15pt;
    border: 1px solid #8E8B84; /* Grayish taupe border */
}

.window img {
    width: 100%;
    height: auto;
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    visibility: hidden;
    z-index: -2;
    background: rgba(94, 58, 95, 0.8); /* Dark purple with opacity */
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

#mask.showing {
    opacity: 1;
    z-index: 9000;
    visibility: visible;
    overflow: auto;
}

#boxes {
    display: table;
    width: 100%;
    height: 100%;
}

.inner {
    display: table-cell;
    vertical-align: middle;
}

#popupfoot {
    font-size: 16pt;
    color: #5E3A5F; /* Dark purple */
}

.showImage {
    margin: 0 0 3em;
    display: table;
    text-align: center;
}

.showImage img {
    display: block;
}

/* Typography Styles */
.wong {
    font-family: 'mine', 'Great Vibes', Helvetica, sans-serif;
    font-size: 20px;
    color: #5E3A5F; /* Dark purple */
}

.heading {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 24px;
    color: #5E3A5F; /* Dark purple */
    font-weight: bold;
    text-transform: capitalize;
    text-decoration: underline;
    text-indent: 10px;
}

.foot {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    background-color: #8E8B84; /* Grayish taupe */
}

/* Data Table Styles */
.data {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #5E3A5F; /* Dark purple */
    font-weight: 900;
    vertical-align: middle;
}

.odd {
    color: #fff;
    background: #C08A8E; /* Dusty rose */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    vertical-align: middle;
    text-indent: 2mm;
}

.even {
    color: #fff;
    background: #5E3A5F; /* Dark purple */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    vertical-align: middle;
    text-indent: 2mm;
}

/* Button Styles */
.buttons {
    font-family: 'Franklin Gothic Medium', Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    white-space: normal;
    display: inline-block;
    border: 2px solid #C08A8E; /* Dusty rose border */
    font-weight: bold;
    background-color: #5E3A5F; /* Dark purple */
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.buttons_links {
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #5E3A5F; /* Dark purple */
    color: #fff;
    text-decoration: none;
    border: 2px solid #8E8B84; /* Grayish taupe border */
    font-weight: bold;
    padding: 2px 8px;
    vertical-align: middle;
    border-radius: 5px;
    cursor: pointer;
}

/* Form Styles */
.forms_boxes {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 1%;
    color: #5E3A5F; /* Dark purple */
    background-color: #D8B8A4; /* Light peach */
    border: 1px solid #8E8B84; /* Grayish taupe */
}

/* Error Messages */
.error {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    color: #C08A8E; /* Dusty rose */
    font-style: italic;
}

/* Border Styles */
.borders {
    border: 1px dotted #8E8B84; /* Grayish taupe */
}

/* Instruction Text */
.instructions {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    color: #5E3A5F; /* Dark purple */
}

/* Prescription Styles */
.rx_title {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #C08A8E; /* Dusty rose */
}

.rx_titlenew {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background-color: #8E8B84; /* Grayish taupe */
}

.rx_even {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #5E3A5F; /* Dark purple */
    background: #D8B8A4; /* Light peach */
}

.rx_odd {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #5E3A5F; /* Dark purple */
    background: #fff;
}

.rx_print_title {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #5E3A5F; /* Dark purple */
}

.rx_print_title_med {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #5E3A5F; /* Dark purple */
}

.rx_print_title2 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #5E3A5F; /* Dark purple */
}

.rx_print_title3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: #5E3A5F; /* Dark purple */
}

.rx_print_data,
.rx_print_data2,
.rx_print_data3,
.rx_print_data_med {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #5E3A5F; /* Dark purple */
    font-weight: normal;
}

.rx_print_data_med {
    font-size: 14px;
    line-height: 18px;
}

.rx_print_data2 {
    font-style: italic;
}

/* Pagination Styles */
.paging {
    padding: 10px 0;
    background: #fff;
    color: #C08A8E; /* Dusty rose */
}

.paging a {
    padding: 2px;
    color: #5E3A5F; /* Dark purple */
    text-decoration: none;
}