html { min-width: 600px; }

body, div, td, th, h2, h3, h4 { 
        font-family: verdana,sans-serif;
	font-size:    10pt;
	voice-family: "\"}\"";
	voice-family: inherit;
	color: #333;
}  
.clearhack { display: inline; }

body {
	background: #EDEBE3;
	color: #333;
	padding: 1em 20px 3em 20px;
	margin: 0;
}

a { color: #06C; }
a:hover { color: #333; }
a:active { color: #000; }

a img {
    border: none;
}

p { line-height: 140%; }

h1,h2 {
	font-family: trebuchet ms;
	font-weight: bold;
	color: #333;
}

h1 {
	font-size: 180%;
	margin: 0;
}

h1 a { text-decoration: none; color: #333; }
h1 a:hover { border-bottom: 1px dotted #666; color: #000; }

h2 {
	font-size: 140%;
	padding-bottom: 2px;
	border-bottom: 1px solid #CCC;
	margin: 0;
}

h3 {
	margin-top: 2em;
}

p.note {
	background: #EEE;
	padding: 4px;
	font-family: tahoma;
	font-size: 85%;
	line-height: 130%;
	margin-top: 0;
}

#main {
	border: 1px solid #666;
	clear: both;
	background: #FFF3B3;
	/* padding-top: 2em; */
}

#contents {
	padding: 0 1.5em 1.5em;
	background: #FFFDF3;
	min-height: 300px;
}

#header {
	position: relative;
	width: 100%;
	height: 3em;
	width: 45em;
}

#header ul.primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 100em;
}

#header ul.primary li  {
	display: inline;
	list-style: none;
}

#header ul.primary a,#header ul.primary span,#header ul.primary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 85%;
	text-decoration: none;
	color: #333;
}

#header ul.primary span,#header ul.primary a.current,#header ul.primary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #FFF3B3;
	padding-bottom: 6px;
	margin-top: 0;
}

#header ul.primary a {
	background: #FFFAE1;
	border: 1px solid #AAA;
	border-bottom: none;
}

#header ul.primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #FFF7CD;
	padding-bottom: 5px;
}


#menuObj {
    width: 100%;
}
/* ************************ */
#auth_message {
	margin-left: 75%;
	padding: 0;
	text-align: right;
	position: relative;
	top: -3.6ex;
}

#auth_message a img {
    border: none;
    vertical-align: middle;
}

/* ************************ */

table.quick_adj_form td input {
    text-align: center;
}

table.quick_adj_form th {
	padding-left: 2ex;
}

table.quick_adj_form td.subtext {
	font-size: 66%;
	text-align: center;
}

table.expiration_display {
	border-collapse: collapse;
	border-style: solid;
        border-color: gray;
        border-width: 3px;
}

table.expiration_display tr.end_drug {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: black;
}

table.expiration_display th, table.expiration_display td {
	padding: 0 1ex;
	border-style: solid;
	border-width: 1px;
	border-color: black;
}

table.expiration_display td.expires_expired {
	background-color: red;
	color: white;
	font-weight: bold;
	font-style: italic;
}

table.expiration_display td.expires_warn {
	background-color: yellow;
}

table.expiration_display td.expires_empty {
	background-color: cyan;
}

table.expiration_display td.totals {
	font-size: 60%;
}

div.pagination {
    margin: 1em;
}

div.pagination a img {
    border: none;
    vertical-align: middle;
}

table.dataGrid {
    border-collapse: collapse;
    border: 1px solid black;
    margin-top: 1em;
}

table.dataGrid thead {
    border-bottom: 3px solid black;
}

table.dataGrid th, table.dataGrid td {
    border: 1px solid black;
    padding: 0 0.5em;
}

div#notices ul li.notice {
    padding: 2px 1em;
    margin-bottom: 1em;
}

div#notices ul li.success {
    list-style-image: url(/static/images/accept.png);
    background-color: #33FF66;
    border: 3px solid #006600;
}

div#notices ul li.error {
    list-style-image: url(/static/images/exclamation.png);
    background-color: #FF3333;
    border: 3px solid #990000;
}

div#notices ul li.info {
    list-style-image: url(/static/images/lightbulb.png);
    background-color: #99FFFF;
    border: 3px solid #003366;
}

div#notices ul li.warning {
    list-style-image: url(/static/images/error.png);
    background-color: #FF9933;
    border: 3px solid #FF6600;
}

form ul.errorlist li {
    list-style-image: url(/static/images/exclamation.png);
    color: red;
    font-weight: bold;
}

div.dcs-section {
        background-color: #FFF4BD;
        margin-bottom: 1em;
        padding: 1em;
        width: 60%;
    }

    div.dcs-section table {
        border-collapse: collapse;
        border: 1px solid #0033FF;
        margin-bottom: 1em;
    }

    div.dcs-section table th {
        border-bottom: 2px solid blue;
        padding: 2px 2em;
        color: #0000B4;
    }

    div.dcs-section table td {
        padding: 2px 2em;
        border-bottom: 1px dotted blue;
        font-size: 8pt;
    }

    div.dcs-section table td a img {
        border: none;
    }

    div.dcs-section table td.inforow {
        text-align: center;
        font-weight: bold;
        font-style: italic;
    }

        .action_button {
        -moz-border-radius: 10px;
        border: 5px solid #FFCC99;
        color: #000066;
        width: 18em;
        font-weight: bold;
        padding: 3px;
        background-color: #FFCC99;
        margin-right: 1em;
    }

    .action_button img {
        border: none;
        vertical-align: middle;
        margin-right: 4px;
    }
