﻿

/* FORM ELEMENTS   
----------------------------------------------------------*/
div.listbox 
{
    clear: both;
    margin-top: 20px !important;
}
div.listbox select
{
    width: 50em;
}
p.searchagain 
{
    margin-top: 1em;
    clear: left !important;
}
div.submit  
{
    margin-top: 1em !important; 
    padding-top: 1em;
}
div.form p 
{
    margin-top: 1em;
    margin-bottom: 1em;
}
span.control_label 
{
    font-weight: bold;
}

/* BEGIN: stuff to fix template-caused problems with radio buttons and labels */
.protect_from_template input[type="radio"],
.protect_from_template label
{
    display: inline !important;
    position: relative;
    float: left !important;
    clear: none !important;
    padding: 0 0.5em 0 0.5em !important;
    margin: 0 !important;
    line-height: normal !important;
    vertical-align: baseline !important;
}
.protect_from_template  span.control_label 
{
    font-weight: bold;
    margin: 0  !important;
    padding: 0 0.5em 0 0 !important;
    display: inline !important;
    position: relative;
    float: left !important;
    vertical-align: baseline !important;
    line-height: normal !important;
}
/* END: stuff to fix template-caused problems with radio buttons and labels */


#contentArea {
    margin-left: 3em !important;
    margin-right: 3em;
}

#contentArea input[type=checkbox]
{
    margin-right: 0.5em !important;
}

div.agegroup 
{
    text-align: left;
}
div.agegroup table, div.agegroup table td, div.sortorder table, div.sortorder table td
{
    text-align: left;
    border: none !important;
   
}
table.agegroup, table.sortselect
{
    float: left !important;
    text-align: left;
    border: none !important;
}
div.agegroup, div.sortorder, div.submit {
    clear: left;
    text-align: left;
}



/* Results from query  
----------------------------------------------------------*/
div.pmrtable 
{
    /*height: 600px; */
    overflow: auto;
    margin: 0;
    padding: 0;
}

div.pmrtable table.pmr thead tr
{
    /* width: 100%; 
    position: absolute;*/
}

table.pmr 
{
    font-size: 10pt;
    border: 1px solid #ccc !important;
    margin: 0;
}
table.pmr tr.altrow 
{
    background-color: #eee;
}
table.pmr tr.header
{
    border-left: none; /* 1px solid #fff;*/
    background-color: #e4dabc;
    color: #000;
}
table.pmr td, table.pmr th
{
    color: #000;
    vertical-align: top;
    font-size: 10pt;
    padding: 3px;
    border: 1px solid #ccc !important;
}
table.pmr td.num
{
    text-align: right;
}
table.pmr td.char
{
    text-align: center;
}
table.pmr td.title
{
    text-align: left;
}
table.racesex 
{
    border: none !important;
    clear: left;
}
table.racesex td
{
    border: none !important;
}
span.codes 
{
    font-size: 70%;
}
p.nomspmrnote 
{
    font-size: 0.8em !important;
    margin-top: 1em !important;
    margin-left: 2em !important;
    margin-right: 2em !important;
    width: 80% !important;
    padding-top: 1em !important;
}
div.nomspmrnote 
{
    background-color: #eee;
}


