html, body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

h3 {
    font-size: 18px;
}

#header {
    height: 75px;
}

a img {
    border: none;
    width: 32px;
    height: 32px;
    margin: 5px;
}

#content h3 {
    color: #28166F;
}

#content {
    margin: 10px;
}

#border {
    border: #000 2px solid;
    width: 400px;
    padding: 15px;
    margin-bottom: 15px;
}

#table_border {
    border-collapse: collapse;
}

#table_border th {
    border: 1px solid #000;
}

#table_border tr td, #table_border tr th {
    border: 1px solid #000;
    padding: 2px;
}

#text {
    width: 600px;
    text-align: justify;
}

#report {
    width: 510px;
    border: solid 1px #000;
    padding: 10px;
    font-size: 12px;
}

table {
    /*font-size: 12px;*/
}

input {
    /*font-size: 12px;*/
}

#report p {
    text-align: center;
    margin: 0;
    padding: 0;
}

.left {
    text-align: left;
}

.left_pad {
    text-align: left;
    padding-left: 10px;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

#report table {
    width: 380px;
}

#header img {
    position: absolute;
    height: 55px;
    width: 171px;
    top: 8px;
    left: 8px;
}

#line {
    font-size: 0;
    height: 4px;
    width: 40px;
    position: absolute;
    left: 287px;
    top: 50px;
    background: #28166F;
}

#lastvisit {
    position: absolute;
    left: 187px;
    top: 5px;
}

#color {
    border-collapse: collapse;
    /*font-size: 12px;*/
}

#color th {
    border: 1px solid #369;
    background: #c1cad6;
}

#color tr td {
    border: 1px solid #369;
    padding: 2px 5px;
    vertical-align: middle;
}

#conrol_line {
    border-collapse: collapse;
    font-size: 9px;
}

#conrol_line tr td {
    font-size: 9px;
}

form {
    margin: 0;
    display: inline;
}

.report_detail {
    border-collapse: collapse;
    border: 1px solid #000000;
    font-size: 9px;
    width: 480px;
}

.report_detail tr td {
    border: 1px solid #000000;
}

.detail_caption {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.form_row {
    margin-bottom: 10px;
}

.bold_text {
    font-weight: bold;
}

/* Styles for menu */
#wrapper {
    top:38px;
    left:187px;
    position:absolute;
    height:100px;
}
#wrapper, #wrapper * {
    margin: 0;
    padding: 0;

}

#main_menu {
    background: #28166F;
    float: left;
    font: bold 13px Arial, Helvetica, sans-serif;
    /*    width: 642px;*/
}

#main_menu ul {
    float: left;
    width: 100%;
}

#main_menu li {
    border-right: 1px solid #CCC;
    float: left;
    list-style-type: none;
    position: relative;
}

#main_menu li ul {
    display: none;
}

#main_menu li ul li {
    float: none;
}

#main_menu li ul li a {
    background: #28166F;
    width: 100%;
    border-bottom: 1px solid #CCC;
}

#main_menu li a {
    color: white;
    display: block;
    padding: 4px 6px;
    text-decoration: none;
}

#main_menu li a:hover {
    background: #58469F;
}

#main_menu li a img {
    width: 11px;
    height: 8px;
    border: 0;
}

#main_menu li:hover ul {
    background: #333;
    display: block;
    position: absolute;
    top: 21px;
    left: 0;
    width: 180px;
}

/* End of Styles for menu */        