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

body { background-color:#cacac5; }
.tool2d h2 { padding:5px 0 10px 0; }

.debug_banner { position:absolute; top:58px; left:-130px;  width:430px; padding:5px; z-index:1;
                transform:rotate(-45deg); background-color:#ddd; color: #000; text-align:center; font-size:1.7em; }
.dark_background_layer {
    position:fixed;
    top: 0;
    left: 0;
    height:100%;
    width:100%;
    z-index: 20;
    background-color:#1e1e1e;
    opacity: 0.8; /* Safari, Opera */
    -moz-opacity:0.8; /* FireFox */
    filter: alpha(opacity=80); /* IE */
}


#progress_bar {
    position:absolute; 
    top:50%;
    width:50%;
    height:10px;
    z-index:500;
    margin-left:100px;

    background-color:#000;
    text-align:center;
    border:1px solid white;

    font-family:"arial",sans-serif;
    font-size:1.2em;
    color:#fff;
}

#progress_bar .inner {
    position:absolute;
    top:0;
    left:0;
    width:1px;
    height:10px;
    background-color:#fff;
}

#progress_bar .text {
    position:relative;
    margin:13px 0 0 0;
    z-index:500; 
    text-align:left;
}

.noscriptWrap { }
.noscriptWrap.hidden { display:none; }

.dark_background_layer .noscriptWrap {
    margin:0 auto;
    padding:10px 0;
    position:absolute; 
    top:50%;
    width:100%;
    border-top:3px solid #149;
    border-bottom:3px solid #149;
    z-index:500;

    background-color:#bbb; 
    color:#111; 
    font-size:1.7em; 
    text-align:center; 
}

#disclaimer {
    display:none;
    position:absolute; 
    top:30px;
    left:25%;
    z-index:500;
    background-color:#ddd;
}

#disclaimer div { 
    position:relative;
    background-color:#222; 
    text-align:center;
}

.modal_warning {
    position:absolute;
    top:15%;
    left:32%;
    width:60%;
    margin-left:-150px;
    background-color:#fff;
    border:1px #333 solid;
    z-index:10000;
    box-shadow:7px 9px 13px -5px #888;
}
.modal_warning.hidden { display:none; }
.modal_warning .modal-content { z-index:1000; }
.modal_warning .modal-content { z-index:1000; }
.modal_warning a.close { display:block; position:absolute; right:0; top:0; padding:10px; text-decoration:none; color:#444; background-color:#ccc; }
.modal_warning a.close:hover { background-color:#ddd; }

.modal_warning .title { padding:10px; font-weight:bold; background-color:#AAA; text-align:center; font-size:1.2em; color:#000; }
.modal_warning .cntnt { margin:10px; font-size:1.2em; font-family:arial, sans-serif; }
.modal_warning ul { position:relative; overflow:hidden; margin:15px 0 24px 0; padding:0; list-style-type:none; }
.modal_warning ul li { display:block; float:left; width:50%; text-align:center; }
.modal_warning ul li a { display:inline-block; width:120px; }
.modal_warning ul li img { width:80px; }

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

#nav_menu {
    margin-top:40px;
    border:1px solid gray;
    top:0;
    padding:0;
}

#nav_menu li {
    list-style-type:none;
    margin:5px 5px 5px 5px;
    height:40px;
}

#nav_menu a, #nav_menu a:visited {
    display:block;
    font-size:1.1em; 
    text-align:center;
    text-decoration:none;
    font-family:"verdana", "arial", sans-serif;
}

ul#nav_menu li a:hover {
    color:#fff;
    background-color:#555;
}

/* zebra effect on nav menu */
#nav_menu li:nth-child(odd)        { background-color:#d0d0d0; }
#nav_menu li:nth-child(even)        { background-color:#fff; }

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


.content { width:auto; margin:0 auto; border:0 none; background-color:#eee; }

.col_sidebar {
    width:120px;
    float:left;
    vertical-align:top;
}

.title_container {
    height:35px;
    background-color:#cacac5;
    border-bottom:1px solid #999;
    overflow:hidden;
}


.title_container a.logo {
    float:left;
    display:block;
    background:url('img/logo1.png');
    width:100px;
    height:35px;
    margin-right:20px;
}

.title_container ul.nav { 
    float:left; 
    display:block;
    margin:10px 0 0 0;
    padding:0;
    overflow:hidden;
    position:relative;
}
.title_container ul.nav li { 
    float:left; 
    display:block;
    margin-right:8px;
    list-style:none; 
}
.title_container ul.nav li a { color:#333; }


.title_container .title {
    float:right; 
    padding-top:13px;
    color:#ececec; 
    font-size:18px; 
    letter-spacing:-1px;
}

.title_container .version_wrap { display:none; }


.content.header{}
.content.main { padding-bottom:10px; }
.graphWrap { }
.controlsBelowGraph {
    margin:0;
    background-color:#ddd; 
    border:1px solid #bbb;
    border-width:1px 0;
}

.controlsBelowGraph {
    -moz-shadow:inset 1px 2px 8px 1px #aaa;
    -webkit-box-shadow:inset 1px 2px 8px 1px #aaa;
    box-shadow:inset 1px 2px 8px 1px #aaa;
}
.cols { overflow:hidden; position:relative; }
.cols > .col { float:left; }

.controlsBelowGraph .cols .col { width:32.5%; padding:5px 0; text-align:center; }
.controlsBelowGraph .cols a    { }

#diag1_px_per_mm { width:25px; text-align:center; }

.tab { margin-left: 10px; }


#frame_ms { font-size:.85em; }

.units { font-size:.85em; color:#444; display:inline; }

/*.panel_title */
h2 { text-align:center; font-weight:bold; font-size:1.5em; }

.drag_control_ud,
.drag_control_lr,
.drag_control_udlr,
.drag_control      { position:absolute; display:none; z-index:1000; visibility:hidden; }

.bigCanvas:hover .drag_control_ud,
.bigCanvas:hover .drag_control_lr,
.bigCanvas:hover .drag_control_udlr,
.bigCanvas:hover .drag_control      { visibility:visible; background-repeat:no-repeat; }

.drag_control_ud   { width:10px; height:20px; background-image:url('img/updown.gif'); }
.drag_control_lr   { width:20px; height:10px; background-image:url('img/leftright.gif'); }
.drag_control_udlr { width:22px; height:22px; background-image:url('img/updownleftright.gif'); }

.drag_control_udlr:hover,
.drag_control_ud:hover,
.drag_control_lr:hover {
    margin:-6px 0 0 -6px;
    padding:5px;
    background-position:5px 5px;
    border:1px solid #afac92;
    border-radius:4px;
}


/* zebra effect on controls/outputs tables */
.controls_table { margin:5px 10px 10px 0; }
.controls_table tr:nth-child(odd)  { background-color:#dcdcdc; }
.controls_table tr:nth-child(even) { background-color:#f3f3f3; }
.controls_table td { padding:1px 5px; }

.smallCanvas {
    overflow: hidden; 
    position: relative; 
    width: 300px; 
    height: 200px; 
    border:1px solid #000;
    background-color:#c8c8c8;
}

.bigCanvas {
    overflow: hidden; 
    position: relative; 
    height: 450px; 
    margin:0 auto;
    background-color:#e6e6e6;
} 
/*
.bigCanvas::-moz-selection,
.bigCanvas *::-moz-selection,
.bigCanvas::selection,
.bigCanvas *::selection{
    background-color:transparent;
    color:#000;
} */

.project_name {
    background-color:#E5E5E5;
    color:#444;

    letter-spacing:1.4px;
    font-size:1.6em;
    text-align:center;

    width:350px;
    position:absolute;  
    margin-left:-175px;
    top:20px;
    left:50%;

    border-width:0;
    border-style: none;
}

/* label for ms counter, graph left/right camber, track, fvsa */
.label1 { text-align:left; position:absolute; border-width:0; border:none; }

/* IC and RC labels on graph */
.label2 { position:absolute; padding:0 3px; text-align:center; background-color:#fff; border-width:4px 1px 1px 1px; border-style:solid; }

/* for ruler (unused) */
.label3 { text-align:center; position:absolute; background-color:#E9E9E9; border-width:0; border-style:solid; }

#rc_label { left:50%; top:400px; margin-left:-48px; }
#ic_l_label { left:50px; top:415px; }
#ic_r_label { right:50px; top:415px; }
#camber_info_left_wrap { left:140px; top:3px; white-space:nowrap; }
#camber_info_right_wrap { right:140px; top:3px; white-space:nowrap; }
#track_width_wrap { left:526px; top:434px; white-space:nowrap; }
#fvsa_left_wrap { left:233px; top:415px; }
#fvsa_right_wrap { right:233px; top:415px; }
.simple_button { padding:7px; border:1px solid #666; background-color:#ccc; color: inherit; text-decoration:none; }

/* dhtml tabs */
.cols.panelsAndChart { margin:10px; }
.col.tabsWrap {
    width:780px;
//  height:434px;
    position:relative;
    overflow:hidden;
}

.col.chartWrap { margin-left:20px; }
.chartWrap #small_chart { /* inline styling reqd for this */ }
.chartWrap .legendLabel { width:300px; }
#chart_x_axis_field { width:347px; }

ul.tabs {
    overflow:hidden;
    position:relative;
    width:780px;
    margin:0;
    padding:0;
}

ul.tabs li {
    float:left;
    display:block;
    padding:0 5px;
}

ul.tabs li a {
    float:left;
    display:block;
    padding:5px 11px;
    border:1px solid #bbb;
    border-bottom:none;
    background-color:#ddd;
    color:#666;
    font-size:1em;
    text-decoration:none;
}

ul.tabs li a:hover { background-color:#d5d5d5; }

ul.tabs li a.selected_tab {
    color:#fff;
    background-color:#666;
}

/** TODO - cleanup **/
.tab-content {
    overflow:auto;
    display:none;
//  height:382px;
    margin-top:-1px;
    padding:10px;
    border:1px solid #ccc;
    clear:both;
}

/* basic input and select styling */
input[type=text], 
select { width:50px; padding:2px 4px; margin:0 5px; border:1px solid #888; background-color: #fff; }
input.output_textbox { background-color: #ddd; color: #444; border-color: #888; }
select { width:160px; padding:0; }


input#proj_n_in { width:140px; }

/* tables containing standard and explicit tire size controls */
table.tire_sub_table { margin:12px auto; border:1px solid #ccc; opacity:0.5; }
table.tire_sub_table td,
table.tire_sub_table tr { background-color:transparent; }
table.tire_sub_table.active { border:1px solid #999; opacity:1.0; }

/* tire size select boxes */
select#tsw,
select#tar,
select#wd  { width:auto; }
select#tsc { width:157px; padding:5px; font-size:10px; }

#chart_controls_tab select { width:330px; }

.controlsBelowGraph input { text-align:center; }

.tab-content#prefs_tab fieldset  { 
    border:1px solid #BBB;
    padding:10px;
    width:200px;
}

.tab-content#prefs_tab legend {
    margin-left:10px;
    padding: 0.2em 0.5em;
    border:1px solid #BBB;
    color:#333;
    font-size:90%;
    text-align:right;
}
.tab-content#prefs_tab ul { display:block; margin:0; padding:0; }
.tab-content#prefs_tab ul li { display:block; overflow:hidden; list-style-type:none; margin-bottom:5px; }
.tab-content#prefs_tab ul li.indent { margin-left:15px; }
.tab-content#prefs_tab ul li.gap { margin-bottom:10px; }
.tab-content#prefs_tab ul li.gap.indent { margin-bottom:15px; }
.tab-content#prefs_tab ul li:first-child { font-weight:bold; }

.tab-content#prefs_tab input[type=checkbox] { float:left; width:22px; height:15px; }
.tab-content#prefs_tab label { float:left; margin-left:6px; line-height:15px; }

/* reset */
/* http://o.aolcdn.com/dojo/1.2/dojo/resources/dojo.css */
body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; }

img { border: 0 none;}

address, caption, cite, code, dfn, th, var { font-style: normal; font-weight: normal; }

caption, th { text-align: left; }

q:before, q:after { content:""; }

abbr, acronym { border:0; }


/*


h3, h4, h5, h6 { font-size: 1em; font-weight: bold; line-height: 1.5em; margin-top: 1.5em; margin-bottom: 0; }


p { font-size: 1em; margin-top: 1.5em; margin-bottom: 1.5em; line-height: 1.5em; }

blockquote { font-size: 0.916em; margin-top: 3.272em; margin-bottom: 3.272em; line-height: 1.636em; padding: 1.636em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }

ol li, ul li { font-size: 1em; line-height: 1.5em; margin: 0; }

table {  font-size:100%; }

form input { width:70px; }
*/


/********************************************************/
fieldset {
    -moz-border-radius-bottomleft: 7px;
    -moz-border-radius-bottomright: 7px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 7px;
    -webkit-border-radius: 7px;
    border-radius: 3px;
}

legend { color: #696969; }

/*** tool page ***/
body { font: 12px Myriad,Helvetica,Tahoma,Arial,clean,sans-serif; }

.hidden { display:none; }

/*** help page **/
#help_page { line-height:1.6em; }
#help_page .content.main { background-color:#f3f3f3; font-size:14px; }
#help_page .content.main a { color:#447; font-weight:bold; }
#help_page .content.main a.anc { display:block; color:#444; }
#help_page .margins { padding:1em; }
#help_page img { float:right; padding:2px 0 6px 6px; }
#help_page h1 { margin-top:1em; margin-bottom:0; line-height: 1em; font-size: 1.5em; font-weight: normal; font-family:arial, sans-serif; letter-spacing:3px; }


#help_page h3 { margin:10px 0; letter-spacing:0.2em; color:#444; }

#help_page ul.faq { display:block; }
#help_page ul.faq > li { display:block; }
#help_page ul.faq li .title { margin-bottom:10px; font-weight:bold; }
#help_page ul.faq li p { margin-bottom:20px; }


#help_page section { margin:20px 0; }
#help_page .progress_table td { padding:5px 0; vertical-align:top; }
#help_page .progress_table tr > td:first-child { font-weight: bold; }
#help_page .updated_message { float:right; font-size:14px; letter-spacing:normal; font-weight:bold; color:#c00; }
#help_page h4 { margin:10px 0; text-decoration:underline; font-size:13px; font-weight:bold; }


.test_links { position:absolute; top:240px; left:0; width:auto; padding:10px; border:1px solid; background-color:#fff; }
.test_links a { display:block; }


@media {}
