/**************************************************************************************************/
/* GENERAL */

html { font-size:100.1%; height:100%; }
body { background:fixed #fefdf1 url("../_img/template/body.png") 0 bottom repeat-x; color:#595959; font:13px/26px tahoma, arial, sans-serif; height:100%; }

/* RESET */

* { margin:0; padding:0; }
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:2em; }
fieldset { border:none; padding:.5em; }
img { border:none; }

/* HEADINGS */

h1 { margin:0; }
h1 a { background:url("../_img/template/h1.png") no-repeat; height:43px; left:21px; overflow:hidden; position:absolute; text-indent:-999px; top:22px; width:412px; }
/* SIFR SETTINGS FOR HEADINGS */
.container .content h2, .right-column h2 { clear:both; height:27px; letter-spacing:0; margin:10px 0 5px 0; visibility:hidden; }
.container .content h3, .right-column h3 { clear:both; height:27px; letter-spacing:0; visibility:hidden; }
.draggable h2 { height:18px; letter-spacing:-4px; margin:0; visibility:hidden; }

/* FORMS */

input, select, textarea { color:#595959; font:12px/26px tahoma, arial, sans-serif; }
input[type="text"], input[type="password"] { border:1px solid #553C08; padding:2px; }

option { margin-right:1em; }
select { border:1px solid; border-color:#999 #AAA #DDD #DDD; padding:3px 0 4px 0; }
select[disabled="disabled"] { background:#FFF; }
.disabled { -moz-opacity:.4; }
select.location { color:#AAA; font-size:11px; font-style:italic; }
select.location option { color:#595959; font-size:13px; font-style:normal; }

input[type="submit"], a.button { background:#a01500 url("../_img/template/button.png") 0 top repeat-x; border:2px solid; border-color:#f42000 #a70000 #8c0000 #d51c00; color:#fff; cursor:pointer; font-weight:bold; padding:3px 6px 4px 6px; }
a.button { padding:3px 9px 4px 9px; text-decoration:none; }
/*a.button.left { display:block; float:left; line-height:22px; padding:0 9px 1px 9px; }*/
input[type="submit"]:hover, a.button:hover { background:#ce1b00; }

/**************************************************************************************************/
/* LAYOUT */

.container { height:100%; min-width:1260px; }
.clearfix { clear:both; display:block; }

.header { background:url("../_img/template/header.jpg") right 0 no-repeat; height:169px; position:relative; z-index:1; }
.header .login { color:#FFF; left:1053px; position:absolute; top:39px; width:163px; }
.header .login h2 { background:url("../_img/template/h2-login.png") no-repeat; height:23px; margin:0; overflow:hidden; text-indent:-999px; width:93px; }
.header .login label { font-size:11px; display:block; margin:0; position:relative; width:163px; }
.header input[type="text"], .header input[type="password"] { background-color:#DBD2C1; position:absolute; right:0; top:6px; width:105px; }
.header input[type="text"]:focus, .header input[type="password"]:focus { background-color:#FFF; }
.header input[type="submit"] { bottom:-36px; position:absolute; right:0; }

.left-column { margin-left:34px; }
.left-column ol, .left-column .current ul { list-style:none; margin:0; }
.left-column li { margin:0 0 0 18px; }
.left-column label, .left-column .current li { display:block; height:33px; margin:0 -26px 0 -52px; padding:6px 0 0 52px; position:relative; width:260px; }
.left-column label.hilite, .left-column .current li { background:url("../_img/template/content.png"); }
.left-column label.hilite .arrow { background:url("../_img/template/hilite-arrow.png") no-repeat; display:block; height:9px; position:absolute; right:0; top:15px; width:25px; }
.left-column select { position:absolute; right:26px; width:168px; }
.left-column .long { display:block; float:left; line-height:13px; margin-top:-2px; width:50px; }

.left-column .current .delete, .draggable .close { background:url("../_img/template/delete.png") no-repeat; display:block; height:12px; left:32px; overflow:hidden; position:absolute; text-indent:-999px; top:14px; width:12px; }

.left-column h2 { background:url("../_img/template/h2-explore.png") no-repeat; margin:23px 0 3px -34px; overflow:hidden; text-indent:-999px; }
.left-column .industry h2 { background-position:8px 0; width:219px; }
.left-column .analysis h2 { background-position:8px -39px; width:172px; }
.left-column .generate h2 { background-position:8px -78px; float:left; width:26px; }
.left-column .generate .button { position:relative; top:22px; }
.left-column .industry.on h2 { background-position:-222px 0; }
.left-column .analysis.on h2 { background-position:-222px -39px; }
.left-column .generate.on h2 { background-position:-222px -78px; }
.left-column .current h2 { background-position:0 -120px; margin-left:0; width:149px; }
.left-column .compare h2 { background-position:-169px -120px; margin-left:0; width:156px; }

.container .content { background:url("../_img/template/content.png"); left:312px; padding:0 232px 0 12px; min-height:100%; position:absolute; top:0; right:0; }
.container .content > h2:first-child { margin-top:190px; }

.right-column { position:absolute; left:1053px; top:169px; }

/* NAV */

.nav { background:url("../_img/template/nav.png") left 0 no-repeat; height:52px; list-style:none; margin:0; position:absolute; top:65px; width:100%;  }
.nav * { display:block; float:left; }
.nav li { margin:0; }
.nav a { background:url("../_img/template/nav-a.png") 0 -100px repeat-x; border-right:1px solid #ba8313; padding:0 18px; }
.nav .explore { border-left:1px solid #ba8313; margin-left:25px; }
.nav span { background:url("../_img/template/nav-span.png") no-repeat; height:52px; overflow:hidden; text-indent:-999px; }
.nav .explore span { background-position:0 16px; width:137px; }
.nav .planning span { background-position:-158px 16px; width:147px; }
.nav .tools span { background-position:-325px 16px; width:116px; }
.nav a:hover, #explore .nav .explore a, #planning .nav .planning a, #tools .nav .tools a { background-position:0 0; }
.nav .explore a:hover span, #explore .nav .explore span { background-position:0 -36px; }
.nav .planning a:hover span, #planning .nav .planning span { background-position:-158px -36px; }
.nav .tools a:hover span, #tools .nav .tools span { background-position:-325px -36px; }

/* TABS */

.container .tabs { font-size:16px; left:29px; list-style:none; position:absolute; margin:0; top:130px; } 
.container .tabs * { display:block; float:left; }
.container .tabs li { background:url("../_img/template/tabs.png") no-repeat; margin:0 10px 0 0; padding-left:6px; position:relative; }
.container .tabs a { background:url("../_img/template/tabs.png") right 0 no-repeat; height:39px; padding-right:6px; }
.container .tabs span { background:url("../_img/template/tabs-span.png") no-repeat; display:block;  margin:13px 18px 0 18px; overflow:hidden; text-indent:-999px; }
.container .tabs .producer { background-position:0 -39px; }
.container .tabs .producer a { color:538126; background-position:right -39px; }
.container .tabs .industry span { height:17px; width:87px; }
.container .tabs .producer span { background-position:0 -39px; height:13px; width:92px; }

/**************************************************************************************************/
/* MAPS / GRAPHS */

.figure { border:1px solid; border-color:#f1e1af #fcf4bc #fffec2 #f4e8b9; float:left; position:relative; }
.figure img { display:block; }
.figure .top { background:url("../_img/template/map-top.png") no-repeat; }
.figure .bottom { background:url("../_img/template/map-bottom.png") right bottom no-repeat; }
.figure .top, .figure .bottom { bottom:0; left:0; position:absolute; right:0; top:0; }

.right-column .figure { margin:54px 0 11px -1px; }

/* MAP TOOLS */

ul.tools { list-style:none; margin:0 0 90px 0; width:190px; }
ul.tools li { float:left; margin:0 6px 6px 0; }
ul.tools a { background:url("../_img/template/tools.png") no-repeat; display:block; height:26px; overflow:hidden; text-indent:-999px; width:26px; }
ul.tools a:hover { -moz-opacity:.7; }
ul.tools .in a { background-position:0 -26px; }
ul.tools .out a { background-position:0 -52px; }
ul.tools .move a { background-position:0 -78px; }
ul.tools .default a { background-position:0 -104px; }
ul.tools .print a { background-position:0 -130px; }
ul.tools .search a { background-position:0 -156px; }

/* LEGEND */

ul.legend { list-style:none; margin:0; }
ul.legend li { margin:0; }
ul.legend img { border:1px solid #CCC; position:relative; margin-right:6px; top:4px; }

/**************************************************************************************************/
/* SIFR */

/* THESE ARE STANDARD SIFR STYLES, DO NOT MODIFY */
.sIFR-flash { margin:0; visibility:visible !important; }
.sIFR-replaced { visibility:visible !important; }
span.sIFR-alternate { display:block; height:0; left:0; overflow:hidden; position:absolute; top:0; width:0; }

/**************************************************************************************************/
/* DESKTOP TOOLS */

#desktop { background:#295187 url("../_img/desktop/desktop.png") repeat-x; overflow:hidden; }

/* TASKBAR */

.taskbar { background:url("../_img/desktop/taskbar.png") repeat-x; height:30px; bottom:0; position:absolute; width:100%; }
.taskbar ul { background:url("../_img/desktop/taskbar-ul.png") 8px 0 no-repeat; float:left; height:29px; list-style:none; margin:-4px 0 0 0; padding:5px 0 1px 70px; width:100%; }
.taskbar li { margin:0; }
.taskbar a { background:url("../_img/desktop/taskbar-a.png") no-repeat; color:#FFF; display:block; float:left; font-size:12px; height:28px; outline:none; text-decoration:none; width:158px; }
.taskbar a:hover { background-position:0 -56px; }
.taskbar .focus { background-position:0 -28px; }
.taskbar .focus:hover { background-position:0 -84px; }
.taskbar span { background:url("../_img/desktop/taskbar-span.png") 9px 0 no-repeat; padding-left:28px; }
.taskbar .focus span { left:1px; position:relative; top:1px; }

.clock { color:#FFF; margin:0; position:absolute; right:10px; top:0; }

/* DESKTOP ICON */

.desktop .icon { background:url("../_img/desktop/icon.png") no-repeat; bottom:50px; display:block; height:76px; left:20px; outline:none; overflow:hidden; position:absolute; text-indent:-999px; width:62px; }
.desktop .icon:active { -moz-opacity:.7; }

/* WINDOW */

.draggable { left:300px; position:absolute; top:300px; }
.draggable .content { background:#fff; cursor:-moz-grab; }
.dragging .content { cursor:-moz-grabbing; }
.draggable .heading { background:url("../_img/desktop/h2.png") no-repeat; height:22px; left:20px; padding:14px 0 0 20px; padding-right:10px; position:absolute; top:-44px; }
.draggable .end { background:url("../_img/desktop/h2.png") right 0 no-repeat; height:36px; position:absolute; right:-18px; top:0; width:18px; }
.draggable .close { left:auto; top:20px; right:18px; }

/* BECAUSE OF SIFR, TO INITALLY HIDE HEADINGS */

.taskbar a { display:none; }
.draggable { visibility:hidden; }
.draggable h2 { -moz-opacity:0; }

/* SHADOW */

.shad-middle { background-color:#2568A2; margin:0 22px 0 16px; }
.shad-top, .shad-bottom { margin:0 22px 0 16px; position:relative; }
.draggable .left, .draggable .right { position:absolute; z-index:1; }
.draggable .left { left:-16px; width:16px; }
.draggable .right { right:-22px; width:22px; }
.shad-top { background:url("../_img/desktop/shad-border/shad-top.png") repeat-x; height:15px; }
.shad-right { background:url("../_img/desktop/shad-border/shad-right.png") right 0 repeat-y; }
.shad-bottom { background:url("../_img/desktop/shad-border/shad-bottom.png") 0 bottom repeat-x; height:23px; }
.shad-left { background:url("../_img/desktop/shad-border/shad-left.png") repeat-y; position:relative; z-index:5; }
.shad-top .right { background:url("../_img/desktop/shad-border/shad-top-right.png") right top no-repeat; height:15px; }
.shad-top .left { background:url("../_img/desktop/shad-border/shad-top-left.png") no-repeat; height:15px; }
.shad-bottom .right { background:url("../_img/desktop/shad-border/shad-bottom-right.png") right bottom no-repeat; height:23px; }
.shad-bottom .left { background:url("../_img/desktop/shad-border/shad-bottom-left.png") 0 bottom no-repeat; height:23px; }

/* MAIN WINDOW  */

.main .content { background:url("../_img/desktop/main.png") no-repeat; color:#FFF; font-size:9px; height:346px; padding:1px; width:219px; }
.main a { color:#FFF; }
.main .thumbs { line-height:1.1; list-style:none; margin:102px 0 0 7px; }
.main .thumbs li { float:left; margin:0; height:75px; text-align:center; width:100px; }
.main .thumbs li a { text-decoration:none; }
.main .thumbs li img { -moz-opacity:.7; }
.main .thumbs li a:hover img { -moz-opacity:1; }

.main .tabs { list-style:none; margin:0; left:50px; position:absolute; top:58px; }
.main .tabs li { float:left; margin:0; }
.main .tabs a { display:block; float:left; height:30px; overflow:hidden; text-indent:-999px; width:84px; }
.main .tabs .rainman a { width:74px; }

.main .button { padding: }
.main label { display:block; font-weight:bold; height:auto; margin:0; position:relative; }
.main fieldset { background:url("../_img/desktop/fieldset.png"); margin:-1.4em 0 0 0; padding:0 20px 10px 20px; }
.main input[type="text"] { font-size:9px; -moz-opacity:.8; position:absolute; right:0; }
.main legend { font-size:12px; font-weight:bold; margin-top:1.4em; }
.main .data label { float:left; width:6em; }
.main .scrollable { background:#FFF; border:1px solid #000; border-left:none; height:240px; left:208px; overflow:scroll; position:absolute; top:86px; width:300px; }

/* SHOW/HIDE CONTENT FOR TABS */
.main form, .desktop .scrollable, .main .thumbs { display:none; }
div.favourites ul.favourites, div.rainman ul.rainman, div.spreadsheet form, div.spreadsheet .scrollable { display:block; }

.desktop div.spreadsheet .content { background-image:url("../_img/desktop/main-spreadsheet.png"); }
.desktop .main form { line-height:20px; margin:102px 0 0 7px; width:200px; }
.desktop .main form .generate { padding:10px 20px; }

div.rainman .content { background-image:url("../_img/desktop/main-rainman.png"); }
div.rainman img { margin-bottom:5px; }
div.rainman a { font-weight:bold; }

input[type="submit"] { padding:2px 4px 3px 4px; }
a.button { padding:2px 7px 2px 7px; text-decoration:none; }
