@charset "utf-8";
/* CSS Document */

#investment_figures input {width: 180px;}

input{    border: 3px solid #CCC;
    color: inherit;
    border-radius: 3px;
    font-family: inherit;
    font-size: 18px;
    padding: 0.3em;}

#app_content table {position: relative;z-index: 9;}

.column {float: left;}

.column.two {margin: 0 0 0 14px;}

.column.first {padding-right: 15px;width: 150px;}

.column.last {padding-left: 15px;width: 115px;}

#model_strategy > ul {list-style:none;padding: 0;}

#model_strategy ul li .radio {margin-right: 0.5em;}

#model_strategy ul li > span {vertical-align: middle;display: inline-block;}

#chart{position:relative;}

#chart h3 {margin-left: 3px;}

#chart table .button 
{
    background-color: #9e9e9e;
    display: inline-block;
    /*height: 29px;Height controlled by font size and padding*/    
    margin: 4px;line-height: 1;
    padding: 7px 0;
    width: 37px;
}

#chart .col-selected.highlight .button {opacity: 0.25;}

#chart .highlight > .button, .col-selected > .button {
    border: 1px solid #fff;
    box-sizing: border-box;
    padding: 6px 0 !important;
}

#chart.active .year.invested > td {opacity: 0.25;}
#chart.active .year.invested > td:hover, #chart.active .year.invested > td.number{opacity: 1;}

#chart .triangle{    
    border-color: transparent transparent #F5F3F2;
    border-style: solid;
    border-width: 0 0 460px 576px;
    bottom: 4px;
    height: 0;
    position: absolute;
    right: 4px;
    width: 0;
    }

#chart .number-years-invested {position: absolute;top: 73px;}

#chart .number-years-invested>span {
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
    display: block;
    font-size: 1.1em;
    left: -273px;
    position: absolute;
    text-align: right; font-weight:bold;
    top: 240px;width: 500px;
}

#investment_figures .symbol {font-size: 18px;}

#investment_figures .from-date, #investment_figures .to-date, #investment_figures .percent {font-weight: bold;}

#investment_figures .inner > div {margin: 0 0 0.5em;text-align: right;}

#investment_figures .inner > div.last{margin: 20px 0 0;}

#investment_figures {
    bottom: 4px;
    position: absolute;
    right: 0;z-index: 1;
}

#investment_figures .inner {padding: 20px;}

#investment_figures #return_value {/*background: none;font-weight: bold;*/}

#legend ul {
    list-style: outside none none;
    padding: 0;
}

#legend .button {display: block;padding: 0.5em 0.75em;}

#legend .button.hide {opacity:0.25;}



#model_strategy ul li{cursor:pointer;padding: 0.5em 0;opacity: 1;}

#chart .col-selected{background-color: #eee;opacity: 1!important;}

#chart tr.selected .row-selected, .highlight {background-color: #eee;opacity: 1!important;}
#chart tr.first.year .highlight {background-color: #9e9e9e;}

#chart .year.invested .number.row-selected,
#chart .row-selected.col-selected.highlight .button,
#chart .first.year .col-selected.highlight .button {opacity: 1;}

#chart .row-selected.col-selected {background-color: #5c5c5c;}
#chart .number.row-selected .button, #chart tr.years .col-selected .button {background-color: #5c5c5c;}


/*COLD*/
#app_content .button.legend10 {background-color: #0068A6;}
#app_content .button.legend9 {background-color: #0068A6;}
#app_content .button.legend8 {background-color: #478FC7;}
#app_content .button.legend7 {background-color: #66AADD;}
#app_content .button.legend6 {background-color: #92C4EB;}
#app_content .button.legend5 {background-color: #FAC896;}
#app_content .button.legend4 {background-color: #F0C162;}
#app_content .button.legend3 {background-color: #DD6600;}
#app_content .button.legend2 {background-color: #B25213;}
#app_content .button.legend1 {background-color: #971F22;}
/*HOT*/

#app_content #chart .button.hide {
    background-color: #fff;
}