
@font-face {
    font-family: 'mine';
    src: url('webfont.eot'); /* IE9 Compat Modes */
    src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('GreatVibes-Regular.otf') format('woff'), /* Modern Browsers */
         url('GreatVibes-Regular.otf') format('truetype'), /* Safari, Android, iOS */
         url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'script';
    src: url('Ananda Black Personal Use.ttf');
}

@font-face {
    font-family: 'new2';
    src: url('FeFCrm2.ttf'); /* IE9 Compat Modes */
    src: url('FeFCrm2.ttf?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('FeFCrm2.ttf') format('woff'), /* Modern Browsers */
         url('FeFCrm2.ttf') format('truetype'); /* Safari, Android, iOS */
}

body {
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, sans-serif; /* Updated font for a modern look */
    background-color: #f4f6f9; /* Light background for a clean appearance */
}

img.100 {
    width: 100%;
    height: auto;
}

a.white {
    color: #ffffff; /* White links */
}

p.footer {
    color: #ffffff;
    bottom: 0;
    height: 30px;
    right: 0;
    left: 0;
    position: fixed !important;
    width: 100%;
    text-align: center;
    background-color: #e74c3c; /* Red background for footer */
}

@page {
    size: 8.5in 11in; /* width height */
}

@media screen {
    div.divFooter {
        margin-top: 500px;
        text-align: center;
        display: none;
    }
}

@media print {
    div.divFooter {
        text-align: center;
        position: fixed;
        bottom: 0;
    }
}

.window {
    max-width: 780px;
    z-index: 9999;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: auto;
    background-color: #ffffff; /* White background for the window */
    font-family: 'Segoe UI', sans-serif;
    font-size: 15pt;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.window img {
    width: 100%;
    height: auto;
}

#mask {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    visibility: hidden;
    z-index: -2;
    background: rgba(0, 0, 0, 0.8);
    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;
}

.showImage {
    margin: 0 0 3em;
    display: table;
    text-align: center;
}

.showImage img {
    display: block;
}

.wong {
    font-family: 'mine', 'Great Vibes', Helvetica, sans-serif;
    font-size: 20px;
}

.heading {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 24px;
    color: #2c3e50; /* Dark blue for headings */
    font-weight: bolder;
    text-transform: capitalize;
    text-decoration: underline;
    text-indent: 10px;
}

.foot {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    background-color: #333; /* Dark background for footer */
}

.data {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
 font-weight: 900;
    color: #333366; /* Dark blue for data text */
}

.odd {
    color: #ffffff;
    background: #0070b2; /* Blue for odd rows */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
}

.even {
    color: #ffffff;
    background: #d04694; /* Pink for even rows */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
}

.buttons {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    display: inline-block;
    border: thin solid #FF3300; /* Red border */
    font-weight: bolder;
    background-color: #712c85; /* Purple background */
    padding: 10px 15px; /* Padding for buttons */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition */
}

.buttons:hover {
    background-color: #5e2a6d; /* Darker purple on hover */
}

.forms_boxes {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    padding: 1%;
    color: #000;
    background-color: #ffffff; /* White background for forms */
}

.buttons_links {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    background: #712c85; /* Purple background */
    color: #ffffff;
    text-decoration: none;
    border: thin solid #473e3f; /* Dark border */
    padding: 5px 10px; /* Padding for links */
    border-radius: 5px; /* Rounded corners */
}

.error {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    background-color: #e74c3c; /* Red background for errors */
    padding: 10px; /* Padding for error messages */
}

.borders {
    border: thin dotted #000B3B; /* Dotted border */
}

.instructions {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: bolder;
}

a {
    color: #3498db; /* Soft blue for links */
    font-weight: bold;
}

.rx_title {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #000000;
    background-color: #f15b89; /* Pink background for titles */
}

.rx_titlenew {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #000000;
    background-color: #999999; /* Gray background for new titles */
}

.rx_even {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: #000033; /* Dark blue for even rows */
    background: #DCDDDE; /* Light gray for even rows */
}

.rx_odd {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: #000033; /* Dark blue for odd rows */
    background: #D1D3D4; /* Light gray for odd rows */
}

.rx_print_title {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: bolder;
}

.rx_print_title_med {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: bolder;
}

.rx_print_title2 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: bolder;
}

.rx_print_title3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
}

.rx_print_data {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
}

.rx_print_data2 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
}

.rx_print_data3 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
}

.rx_print_data_med {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
}

.rx_print_data2 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: oblique;
    text-transform: none;
}

.buttons_links {
    cursor: pointer;
}

.paging {
    padding: 10px 0;
    background: #ffffff; /* White background for paging */
    color: #e74c3c; /* Red text for paging */
}

.paging a {
    padding: 2px; /* Padding for paging links */
    color: #3498db; /* Soft blue for paging links */
    text-decoration: none; /* No underline for links */
}

.paging a:hover {
    text-decoration: underline; /* Underline on hover */
}

.paging a {padding:2px;}

:root {
	--medical-blue: #2c7da0;
	--medical-blue-light: #a9d6e5;
	--medical-gray: #e2e8f0;
}

body {
	background-color: #f8fafc;
}

.container {
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

h1 {
	color: var(--medical-blue);
	font-weight: 700;
	margin-bottom: 5px;
	position: relative;
	padding-bottom: 1rem;
}

h1:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background-color: var(--medical-blue-light);
	border-radius: 2px;
}

.tabber {
	margin-top: 2rem;
}

.tabbertab {
	background-color: white;
	border: 1px solid var(--medical-gray);
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 8px;
}

.tabbertab h2 {
	color: var(--medical-blue);
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--medical-blue-light);
}

.form-control {
	border: 1px solid var(--medical-blue-light);
	
	border-radius: 6px;
	padding: 2px;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: var(--medical-blue);
	box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

.form-select {
	border: 1px solid var(--medical-blue-light);
	border-radius: 6px;
	padding: 2px;
}

.btn-success {
	background-color: #2c7da0;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-success:hover {
	background-color: #1d5571;
	transform: translateY(-1px);
}

.btn-warning {
	background-color: #e9ecef;
	border: none;
	color: #495057;
	padding: 0.75rem 2rem;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.btn-warning:hover {
	background-color: #dee2e6;
	color: #212529;
}

.col-md-4.text-center img {
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	max-width: 200px;
	margin-bottom: 1rem;
}

.form-check-input {
	width: 1.2em;
	height: 1.2em;
	margin-right: 0.5em;
	border: 2px solid var(--medical-blue-light);
}

.form-check-input:checked {
	background-color: var(--medical-blue);
	border-color: var(--medical-blue);
}

.form-check-label {
	color: #4a5568;
	font-weight: 500;
}

/* Medical history sections styling */
.form-group {
	margin-bottom: 2px;
	padding: 2px;
	border-radius: 2px;
	background-color: #f8fafc;
	transition: all 0.3s ease;
}

.form-group:hover {
	background-color: #f1f5f9;
}

/* Label styling */
label {
	color: #334155;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}

	.tabbertab {
		padding: 1rem;
	}

	.btn {
		width: 100%;
		margin-bottom: 0.5rem;
	}
}
/* Tab navigation styling */
.nav-tabs {
    border-bottom: 2px solid var(--medical-blue-light);
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    color: #64748b;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--medical-blue);
}

.nav-tabs .nav-link.active {
    color: var(--medical-blue);
    border-bottom: 3px solid var(--medical-blue);
}

.navbar {
    margin: 5px;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px;
    background-color: #007bff; /* Navbar background color */
}

.navbar-brand {
    font-weight: bold;
    color: #ffffff !important;
    font-size: 24px;
}

.nav-link {
    color: #ffffff !important; /* Change link color to white */
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.nav-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff !important;
}

.dropdown-menu {
    background-color: #ffffff; /* White background for dropdown */
    color: #333333; /* Dark text for dropdown items */
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #333333; /* Dark text for dropdown items */
    font-size: 12px;
    background-color: transparent; /* Transparent background */
}

.dropdown-item:hover {
    background-color: #007bff; /* Blue background on hover */
    color: #ffffff; /* White text on hover */
}

.navbar-toggler {
    border-color: #f4f7fa; /* White border for toggler */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='white'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

h1 {
	font-size: 3rem; /* Responsive font size */
	color: #007bff; /* Medical theme color */
}
.btn {
	width: 150px; /* Make all buttons the same width */
	margin-bottom: 10px; /* Space between buttons */
}
.btn-success {
	background-color: #28a745; /* Green for success */
	border-color: #28a745;
}
.btn-warning {
	background-color: #ffc107; /* Yellow for warning */
	border-color: #ffc107;
}
.btn-dark {
	background-color: #343a40; /* Dark for other actions */
	border-color: #343a40;
}

.error {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    background-color: #e74c3c; /* Red background for errors */
    padding: 10px; /* Padding for error messages */
}

