/* common */
p{padding:0 0 0.6em 0;margin:0}
b,strong{color:#000000;font-weight:bold}
i,em{color:#000000;font-style:italic}
a{color:#004b8c;text-decoration:underline}
a:hover{color:#004b8c;text-decoration:none}
.asterisk{color:#FF0000;font-weight:bold}
.upsize{font-size:1.2em}
/* line-heights */
p{line-height:1.4em}
/* text alignment */
.textcenter{text-align:center}
.textjustify{text-align:justify}
.textright{text-align:right}
/* headings */
h1{padding:0.1em 0 0.3em 0;color:#004b8c;font:normal normal normal 1.72em/normal Arial,Helvetica,sans-serif}
h2{padding:0.1em 0 0.3em 0;color:#004b8c;font:normal normal normal 1.52em/normal Arial,Helvetica,sans-serif}
h3{padding:0.1em 0 0.3em 0;color:#004b8c;font:normal normal bold 1.22em/normal Arial,Helvetica,sans-serif}
h4{padding:0.1em 0 0.3em 0;color:#004b8c;font:normal normal bold 1.12em/normal Arial,Helvetica,sans-serif}
h5{padding:0.1em 0 0.3em 0;color:#004b8c;font:normal normal bold 1.02em/normal Arial,Helvetica,sans-serif}
/* colors */
.brightblue{color:#1E90FF}
/* forms */
form{padding:0;margin:0}
input,select,textarea{color:#191919;font:normal normal normal 1em/normal Arial,Helvetica,sans-serif}
fieldset{border:1px solid #E4DEEB;margin:0;padding:0.5em;background:url(../gfx/bg/fieldset.png) #FFFFFF repeat-x bottom;position:relative}
fieldset.actions{border:2px solid #CDCDCD;background:url(../gfx/bg/fieldset.png) #FFFFFF repeat-x bottom}
legend{padding:0 5px 0 5px;margin:0;color:#447EA4;font:normal normal bold 1.52em/normal Arial,Helvetica,sans-serif}
label{color:#202020;line-height:1.8em}
.dropdown{border:1px solid #B9B9B9;padding:2px 2px 2px 0;background:#FFFFFF}
.dropdown optgroup{border-top:1px solid #E4DEEB;border-top:1px solid #E4DEEB;font-weight:bold;font-style:normal}
.textfield{border:1px solid #CDCDCD;border-right-color:#E1E1E1;border-bottom-color:#E1E1E1;padding:2px 0 2px 3px;background:#FFFFFF}
.textarea{border:1px solid #CDCDCD;border-right-color:#E1E1E1;border-bottom-color:#E1E1E1;padding:2px 0 2px 3px;background:#FFFFFF;overflow:auto}
.disabled{border:1px solid #E6E6E6;background:transparent;color:#C8C8C8}
/* hover highlighting on form elements */
.dropdown:hover,.textfield:hover,.textarea:hover{background:#FFFFE0;color:#000000}
.dropdown.disabled:hover,.textfield.disabled:hover,.textarea.disabled:hover{background:transparent;background:transparent;color:#C8C8C8}
/* tables */
table{margin:0;padding:0;width:100%;background:transparent;border-collapse:collapse}
table tr th{padding:0.6em 0.2em 0.6em 0.2em;color:#FFFFFF;background:url(../gfx/bg/th.png) #FFFFFF repeat-x center;font-weight:bold}
table tr th a:hover{color:#F0F8FF}
table tr.odd td{background:#FFFFFF}
table tr.even td{border-bottom:1px solid #EBEBEB;background:#FAFAFA}
table tr td{padding:0.2em;background:#FAFAFA}
table th td strong,table th td b{color:#000000}
/* table without borders & background */
table.clean,table.clean th,table.clean td,table.clean tr{border:none;background:none}
table th.clean{border:none;background:none}
table th.clean td{border:none;background:none}
table tr.clean{border:none;background:none}
table tr.clean td{border:none;background:none}
/* table with solid borders & background */
table.border{border:1px solid #E4DEEB;border-top:none}
table.border tr td{background:#FFFFFF}
/* tablecells with paramgroup */
table tr.paramgroupheading td{padding:4px 3px 4px 3px;background:#FFFFFF}
/* tables which hover on row */
table.rowhover tr:hover td{background-color:#FFFFE0;background-image:url(../gfx/bg/rowhover.png);background-repeat:repeat-x;background-position:bottom}
/* table cells sub outcome */
table tr.suboutcome td{padding:4px 0 4px 3px;color:#000000;font-weight:bold;font-size:1.1em;text-align:left}
/* table cells outcome */
table tr.outcome.lighter th{padding:4px 0 4px 5px;color:#FFFFFF;background:url(../gfx/bg/tr_outcome_lighter.png) #2787B7 repeat-x center;font-weight:bold;font-size:1.3em}
table tr.outcome th{padding:4px 0 4px 5px;color:#FFFFFF;background:url(../gfx/bg/tr_outcome.png) #2787B7 repeat-x center;font-weight:bold;font-size:1.3em}
table tr.outcome th.plus{background:url(../gfx/bg/tr_outcome_plus.png) #2787B7 no-repeat center right}
table tr.outcome th.resulting p{padding:0 0 0 25px;float:left;display:block;background:transparent url(../gfx/bg/left_connector.png) no-repeat left top;line-height:normal;left:15px;position:relative}
table tr.outcome th.resulting p span{padding:0 25px 0 0;background:transparent url(../gfx/bg/right_connector.png) no-repeat right top}
table tr.outcome.largefont th{border-top:1px solid #FFFFFF;font-size:1.6em}
table tr.outcome.largefont th strong{padding:0;margin:0;color:#FFFFFF;line-height:normal;position:relative;top:-3px}
table tr.outcome.largefont th strong.indent{padding-left:3px}
/* (table) predefined widths */
.width10px{width:10px}
.width25px{width:25px}
.width50px{width:50px}
.width75px{width:75px}
.width100px{width:100px}
.width150px{width:150px}
.width175px{width:175px}
.width200px{width:200px}
.width250px{width:250px}
.width300px{width:300px}
.width350px{width:350px}
.width400px{width:400px}
.width450px{width:450px}
.width500px{width:500px}
.fullwidth{width:100%}
/* special links */
a.special{border:1px solid #CDCDCD;border-bottom:2px solid #D7D7D7;padding:5px 6px 5px 2em;background-color:#FFFFFF;text-decoration:none}
a.special:hover{background-color:#F0F8FF}
a.detailedversion{background-image:url(../gfx/icons/detailedversion.png);background-repeat:no-repeat;background-position:2px center}
a.reset{background-image:url(../gfx/icons/reset.png);background-repeat:no-repeat;background-position:2px center}
a.save{background-image:url(../gfx/icons/save.png);background-repeat:no-repeat;background-position:2px center}
a.calculate{background-image:url(../gfx/icons/calculator.png);background-repeat:no-repeat;background-position:2px center}
a.changedetails{background-image:url(../gfx/icons/changedetails.png);background-repeat:no-repeat;background-position:2px center}
a.managecalculator{background-image:url(../gfx/icons/managecalculator.png);background-repeat:no-repeat;background-position:2px center}
a.managecurrency{background-image:url(../gfx/icons/currency.png);background-repeat:no-repeat;background-position:2px center}
a.emailaspdf{background-image:url(../gfx/icons/icon_email_go.png);background-repeat:no-repeat;background-position:2px center}
a.login{background-image:url(../gfx/icons/login.png);background-repeat:no-repeat;background-position:2px center}
a.logout{background-image:url(../gfx/icons/logout.png);background-repeat:no-repeat;background-position:2px center}
a.register{background-image:url(../gfx/icons/register.png);background-repeat:no-repeat;background-position:2px center}
a.scenario{background-image:url(../gfx/icons/scenario.png);background-repeat:no-repeat;background-position:2px center}
a.deleteitem2{background-image:url(../gfx/icons/deleteitem.png);background-repeat:no-repeat;background-position:2px center}
/* alternative links */
a.addnewparamgroup{padding-left:2em;background-image:url(../gfx/icons/addnewparamgroup.png);background-repeat:no-repeat;background-position:2px center}
a.addnewitem{background-image:url(../gfx/icons/addnewitem.png);background-repeat:no-repeat;background-position:0 0}
a.deleteitem{background-image:url(../gfx/icons/deleteitem.png);background-repeat:no-repeat;background-position:0 0}
/* mini icons */
a.miniedit{background-image:url(../gfx/icons/miniedit.png);background-repeat:no-repeat;background-position:0 0}
a.miniedit:hover{background-position:0 -11px}
a.minidelete{background-image:url(../gfx/icons/minidelete.png);background-repeat:no-repeat;background-position:0 0}
a.minidelete:hover{background-position:0 -11px}
/* horizontal menu */
ul.horizontalmenu{clear:both;margin:1em 0 1em 0;display:block;line-height:1.4em;position:relative}
ul.horizontalmenu li{padding:0 0.5em 0 0.5em;border-right:1px solid #E4DEEB;display:inline;color:#969696}
ul.horizontalmenu li a{color:#969696;text-decoration:none}
ul.horizontalmenu li a:hover{color:#FF6600;text-decoration:none}
ul.horizontalmenu li:last-child{border-right:1px solid #FFFFFF}
/* standard unsorted list */
ul.standardlist{width:100%;clear:both;margin:0.4em 0 0.4em 0;display:block;line-height:1.4em;position:relative}
ul.standardlist li{margin:0 0 0.2em 0;padding:0 0 0.2em 1.6em;display:block;background:transparent url(../gfx/bullets/standardlist.png) no-repeat 4px 1px}
/* messages listing */
ul.messagelist{width:100%;clear:both;margin:0.4em 0 0.4em 0;display:block;line-height:1.4em;position:relative}
ul.messagelist li{border-bottom:1px solid #E6E6E6;margin:0 0 0.2em 0;padding:0 0 0.2em 1.6em;display:block;background:transparent url(../gfx/bullets/standardlist.png) no-repeat 4px 1px}
/* icon list */
ul.iconlist{width:100%;clear:both;margin:0.5em 0 0.5em 0;display:block;line-height:1.4em;position:relative}
ul.iconlist li{margin:0 0 0.4em 0;padding:0 0 0.4em 0;display:block;background:transparent}
ul.iconlist li a{padding:6px 6px 6px 2em;text-decoration:underline}
ul.iconlist li a:hover{text-decoration:none}
/* notifications */
#flash{width:100%;border-bottom:1px solid #555555;background-color:#556699;color:#FFFFFF;background-image:url('/static/img/btn.png');background-position:bottom;position:fixed;top:0px;left:0px;z-index:1000}
#flash,#flash *{cursor:pointer}
#flash .yui-b{padding:5px 0}
#flash .yui-b>*{font-size:128%}
#flash label{display:block;font-weight:bold;text-align:right;text-transform:capitalize}
#flash label:after{content:':'}
#flash.warning{background-color:#FFFF00;color:#000000}
#flash.warning:hover{background-color:#FFFF88}
#flash.subtle{background-color:#444444;color:#FFFFFF}
#flash.subtle:hover{background-color:#222222}
#flash.warning{background-color:#FFFF00;color:#000000}
#flash.warning:hover{background-color:#FFFF88}
#flash.success{background-color:#559955}
#flash.success:hover{background-color:#77BB77}
#flash.failure,#flash.error{background-color:#880000}
#flash.failure:hover,#flash.error:hover{background-color:#AA0000}
#flash.subtle,#flash.success,#flash.failure,#flash.error{text-shadow:#000000 2px 2px 2px}
