/* The common styles that apply to all asps */

/* ========================
* Drop down menu styles
* (no asp specific stuff here). 
* ======================== */

.menu_level2_entry, .menu_level2_entry_hover, 
.menu_level2_entry_selected, .menu_level2_entry_selected_hover, 
.menu_level2_entry_disabled, .menu_level2_entry_disabled_hover {
    position: relative;
}

/* The surroundings of the opening DDMenu */
.DDMenu, .DDMenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
    float: none;
    z-index: 10;
}

.DDMenu li {
    display: block;
    position: relative;    
}

/* Fix for IE6 */
* html .DDMenu li {
    display: block !important;
    display: inline; 
}

/* This is for autorec column info text stuff */
.ui-widget-overlay {
    background: url("/siteimages/autorecinfobackground.png") repeat scroll 50% 50% #666666;
    opacity: 0.5;
}

/* This is for IE6, otherwise ddMenu appears behind form select elements. */
* html .DDMenu iframe {
    display:none;
    display/**/:block;
    position:absolute;
    top:0;
    left:0;
    z-index: -1;
    height: 500px;
    filter: mask();
}

/* DDmenu row styles. */
.DDMenu a, .DDMenu ul a {
    float: none !important; /*For Opera*/
    display: block;
    text-decoration: none;
    height: auto !important;
    height: 100%; /*For IE*/
    margin: 0;        
}

/* Styles of the 2nd level and 3rd level DDmenus */
.DDMenu ul, .DDMenu ul ul {
    display: none;
    position: absolute;
    top: 0;
    z-index: 91; /* For firefox */         
}

/* Icon for showing that the menu has submenus */
.DDMenu a.hasSubmenu {
    background-repeat: no-repeat;
    background-position: center right;
}


/* Use this to have vertical align top for everything */
.valign_top * {
    vertical-align: top;
}


/* Use this to have non-wrapping cells in tables etc. */
.no_wrap {
    white-space: nowrap;
}

/* Use to center align the text in table cells */
table.centered_cells td {
    text-align: center;
}

/* Used to clear margin from headers e.g. in Comparisons pages */
.tight {
    margin-top: 0px;
    margin-bottom: 0px;
}

body#printable {
    margin: 5px;
}

div.server_number {
    color: #fff;
}

.defaultCursor {
    cursor: default;
}

.alignRight {
    text-align: right;
}

/* Progress bar styles */
div#progress_bar_frame {
    height: 15px; 
    background-color: #D3D3D3;
    border: 1px black inset; 
    padding: 3px;
}

div#progress_bar {
     height: 15px;
     background-color: #2C5DFF;
     background-image: url(/siteimages/colorgradient.png);
     background-repeat: repeat-x;
     background-position: top left;
}

/* Styles for JavaScript table sorter */

#tableListing th.table-sortable {
	cursor:pointer;
	background-image:url("/siteimages/tablesorting/sortable.gif");
	background-position:center left;
	background-repeat:no-repeat;
	padding-left:15px;
}
#tableListing th.table-sorted-asc {
	background-image:url("/siteimages/tablesorting/sorted_up.gif");
	background-position:center left;
	background-repeat:no-repeat;
}
#tableListing th.table-sorted-desc {
	background-image:url("/siteimages/tablesorting/sorted_down.gif");
	background-position:center left;
	background-repeat:no-repeat;
}
#tableListing th.table-filtered {
	background-image:url("/siteimages/tablesorting/filter.gif");
	background-position:center left;
	background-repeat:no-repeat;
}
#tableListing select.table-autofilter {
	font-size:smaller;
}

/* Striping */
#tableListing tr.alternate td {
	background-color:#DEDEDE;
}

/* Pdf search form */
table#research_table {
    background-color: inherit;
    color: inherit;
    font-size: inherit;
    width: 100%;
}

td#research_submit_buttons {
    vertical-align: bottom;
}

#research_buttons_div {
    float: right;
}
.positive_value {
    color: green;
}
.negative_value {
    color: red;
}

.reverseCalculationDiv {
    margin-top: 15px;
    position: relative;
}

.reverseCalculationDiv label {
     display: block;
     padding: 2px 0 0px 3px;
     float: left;
     height: 17px;
     width: 140px;
 } 
 
.reverseCalculationDiv input {
     height: 17px;
     float: left;
     clear: left;
}

.reverseCalculationDiv input[type="submit"] {
     height: 25px;
}

select.aspSelect, select.industrySelect, select.countrySelect, select.companySelect, select.analystSelect {
    width: 200px;
}

.ajaxResultBox {
    display: none;
    float: right;
    padding: 1px;
    border: 1px solid #CCCCCC;
    margin-right: 3px;
    color: white;
    text-align: center;
}

div.disclaimerBox {
    max-height: 300px;
    overflow: auto;
    border: 1px solid black;
    padding: 3px;
}

#dynamicCVInstructions {
    padding-left: 10px; 
    padding-right: 10px; 
    padding-bottom: 5px; 
    min-width: 320px
}

td.logListingNew, td.logListingOld {
    width: 28%;
}

.logRemoval {
    font-weight: bold;
    color: red;
}

.logChange {
    font-weight: bold;
    color: DarkOrchid;
}

.logInsert {
    font-weight: bold;
    color: green;
}

span#bestFitCurve {
    color: #333;
    background-color: #ddd;
    border: 1px solid black;
    padding: 2px 2px 1px 2px;
}

/* For the AutoRec page: */
#formulaValidation {
    float: right; 
    width: 22px; 
    height: 22px;
    background-repeat: no-repeat;
}

td.hidden, th.hidden {
    display: none;
}

table.show_all td.hidden, 
table.show_all th.hidden {
    display: table-cell;
}

th.hidden {
    color: black !important;
}

div#tableTools a div {
    display: block;
    height: 32px;
    width: 32px;
}

fieldset#autorecTrackingScatterTools {
    text-align: center;
}

div#zoomTools {
    height: 33px;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
}

div#zoomTools a#zoomIn div {
    background-image: url("/siteimages/zoom_in-DRF-icons.png");
    background-repeat: no-repeat;
    float: left;
    height: 32px;
    width: 32px;
}

div#zoomTools a#resetZoom div {
    background-image: url("/siteimages/zoom_out-DRF-icons.png");
    background-repeat: no-repeat;
    float: right;
    height: 32px;
    width: 32px;
}

td.sortColumn {
    font-weight: bold;
}

span.percentageFigure:after {
    content:" %";
}

.green {
    color: green;
}

.red {
    color: red;
}

.hidden {
    display: none;
}

#scatter_table_data tfoot tr:first-child td {
    border-top: 2px solid #333 !important;
}

#scatter_table_data tr.outlier {
    color: grey;
    display: none;
}

div#errorLoadingPage {
    font-weight: bold;
    color: darkred;
    background-color: #fffec0;
    border: 2px dashed red;
    padding: 5px;
    margin-top: 1em;
}

#outliers table th {
    color: black;
}

tr.notInScatter {
    color: grey;
}

td.autorec_summary_information {
    font-weight: bold;
}

.simple_form {
    display: block;
    margin: 10px;
}

.simple_header {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.light {
    font-weight: 500;
}

.simple_submit_button {
    display: block;
    margin: auto;
    font-size: 14px;
    padding: 4px;
}

.simple_row {
    margin: 0px;
    display: block;
    padding: 5px;
    
}

.simple_link {
    text-color: blue;
    text-decoration: underline;
}

.tight-1 {
    margin: 0px;
    padding: 0px;
}

.hbox {
    list-style-type: none;
    display: inline-block;
    padding: 0px;
    margin: 0px;
}

.hbox li {
    float: left;
    display: inline-block;
}

.vbox {
    list-style-type: none;
    display: inline-block;
    padding: 0px;
    margin: 0px;
}

.vbox li {
    float: top;
    display: block;
}

