

#main.resultsView,
#main.scenariosView{
	 background-color:rgba(255, 255, 255, 0.88);
}

#main.scenariosView .isBaseScenario{
	display: none;
}

#main.resultsView #ribbon,
#main.scenariosView #ribbon{
	margin-top: 50px;
	background: none;
}

#main.scenariosView #aside{
   top: 0px;
   padding: 0px 0 1000px;
   width:100%;
}

#main.scenariosView #content{
	min-height: 778px;
}

#main.scenariosView #content .block,
#main.scenariosView .scenarioDescription{
	display: none;
}

#main.scenariosView .scenario{

	padding-top: 0px;
}

.scenario{
	border-left:1px solid #D1D2D4;
	position: relative;
}

#main.scenariosView .scenario{
	height: 2500px;
}

.scenario:first-child{
	border:none;
}

.scenarioDetails{
	display: none;
	border-bottom:3px solid #d1d2d4;
	min-height: 244px;
	margin-top: 21px;
}

.scenariosView .scenarioDetails{
	display: block;
	
}

#scenariosFooter{
	display: none;
	width: 100%;
	background: #fff;
	border-top:1px solid #d1d2d4;
	border-left:none;
	border-right:none;
	position: fixed;
	bottom:0px;
    width: 960px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

.scenariosView #scenariosFooter{
	display: block;

}

.planning{
	width:22px;
	height:16px;
	/*display: block;*/
	background: url(../img/planning.png) no-repeat;
	background-size: 100% auto;
	margin-top: 16px;
	margin-right: 20px;
	float:right;
	cursor: pointer;
    cursor: hand;
}

/* popup */

#addPrepayment .box{
	width:320px;
}

#paymentSchedule .box{
	width: 960px;
}

.header{
	width:100%;
	height:50px;
	background-color: #4c5155;
	display: inline-block;
}

.header div{
	height: inherit;
	line-height: 50px;
	color:#fff;
	padding-left: 20px;
	padding-right: 20px; 
	float: left;
	font-weight: bold;
}

.header .title{
	text-transform: uppercase;
}

.header .close{
	width:20px;
	height:20px;
	margin:15px;
	padding: 0px;
	float:right;
	background:url(../img/close.png) no-repeat;
	cursor: pointer;
    cursor: hand;
}

.header .brtab{
	font-weight: normal;
	cursor: pointer;
    cursor: hand;
}

.header .tab:hover,
.header .brtab.selected{
	background:#6e6f71;
}

.content .h-row{
	height: 25px;
    margin: 15px 20px 0;
    padding: 0;
}

.content .simple-row{
	margin-top:20px;
	margin-bottom:20px;
}

#footer.block{
	padding-top:50px;
}

body #ribbon div.block.disclaimer{
	padding-top:50px;
}

#paymentSchedule .content{
	/*height:568px;*/
	height: 100%;
	padding: 0px;
	width: 100%;
	overflow: hidden;
}

.brtabpanel .isBaseScenario td:nth-child(6),
.brtabpanel .isBaseScenario td.isPrepayment,
.brtabpanel .isBaseScenario td:nth-child(8),
.isBaseScenario #addPrepaymentButton,
.isBaseScenario .isAdvancedScenario{
	display: none;
}

.paymentsScheduleTable thead td{
	height:auto;
}

.paymentsScheduleTable td span{
	display: inline-block;
}


.paymentsScheduleTable td:first-child,
.paymentsScheduleTable td:nth-child(2){
	width:9%;
}

.paymentsScheduleTable td:last-child{
	width:17%;
}

.paymentsScheduleTable table,
.paymentsScheduleTable thead,
.paymentsScheduleTable tbody{
	border: none;
	border-spacing: 0px;
}

.paymentsScheduleTable td{
	width:13%;
	font-weight: bold;
	padding: 8px 7px 6px;
	height:16px;
	font-size: 11px;
	line-height: 16px;
	text-align: center;
	border:none;
	border-bottom:1px solid #d1d2d4;
}

.paymentsScheduleTable thead td{
	line-height: 15px;
}

.paymentsScheduleTable button{
	display: inline;
}


#paymentSchedule button,
.paymentsScheduleTable thead td{
	text-transform: uppercase;
}

.paymentsScheduleTable{
	border-top:3px solid #d1d2d4;
	overflow-x: hidden;
	overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	height:393px;
}

.displayNone{
	display: none;
}

/* add and remove button */

.addButton,
.removeButton{
	border:none;
	padding: 0px;
	
	height:16px;
	background: none;
	cursor: pointer;
    cursor: hand;
    display: inline-block;
    color:#DA5326;
	font-size: 10px;
	text-transform:uppercase;
}

.addButton span,
.removeButton span{
	float:left;
}
.addButton span:first-child,
.removeButton span:first-child{
	margin-right: 5px;
    margin-top: 1px;
}

.addButton span.icon,
.removeButton span.icon{
	background: url(../img/addRemove.png) no-repeat;
	display: inline-block;
    height: 16px;
    width: 16px;
    margin: 0px;
    margin-top:0px;
}


.removeButton span.icon{
	background-position: -16px 0;
}


/* animation css */
.header .brtab{
	-webkit-transition: all 200ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
   -moz-transition: all 200ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
     -o-transition: all 200ms cubic-bezier(0.455, 0.030, 0.515, 0.955);
        transition: all 200ms cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */

-webkit-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
   -moz-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
     -o-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
        transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */
}

/* results page */

.centralized #results{
	display: none;
}

.centralized #results{
	width:960px;
	background:#fff;
	margin: auto;
	border-left: 1px solid #D1D2D4;
    border-right: 1px solid #D1D2D4;
    min-height:200px;
}

#main.resultsView #content,
#main.resultsView #aside{
	display: none;
}

#main.resultsView #results{
	display: block;
}

.block.mainResult {
	font-size:35px;
	color:#4C5154;
}

#results .block.mainResult > div:first-child{
	padding-top: 80px;
}

.block.mainResult h1{
	font-size:35px;
	color:#4C5154;
}

.block.mainResult .report-logo img{
	height: 35px;
    width: 155px;
}

.fr .block.mainResult .report-logo img{
    width: 128px;
}

.block.mainResult .clientName{
	margin-top: 15px;
	font-size:25px;
}

a.toTop{
	margin-top: 60px;
	display: inline-block;
}


#content table,/* basic */
#results table{
	width:100%;
}

#results.isBaseScenario .resultsTable tr:nth-child(2) td{/* advance */
	border-top: 1px solid #D1D2D4;
}

#results.isBaseScenario .summaryTable td:nth-child(3),
#results.isBaseScenario .summaryTable td:nth-child(4),
#results.isOneAndSecondScenario .summaryTable td:nth-child(4),
#results.isOneAndThirdScenario .summaryTable td:nth-child(3){
	display: none;
}

#results.isOneAndThirdScenario .summaryTable .amortizationSummaryTable.multipleScenario td:nth-child(3){
	display: table-cell;
	width: 37.5%;
}

#content .summaryTable td:nth-child(2),/* basic */
#results.isBaseScenario .summaryTable td:nth-child(2){/* advance */
	width:75%;
}

#results.isOneAndSecondScenario .summaryTable td:nth-child(2),
#results.isOneAndSecondScenario .summaryTable td:nth-child(3),
#results.isOneAndSecondScenario .summaryTable td:nth-child(4),
#results.isOneAndThirdScenario .summaryTable td:nth-child(2),
#results.isOneAndThirdScenario .summaryTable td:nth-child(3),
#results.isOneAndThirdScenario .summaryTable td:nth-child(4){
	width:37.5%;
}

#results .baseScenario,
#results.isBaseScenario .multipleScenario{
	display: none;
}

#results.isBaseScenario .baseScenario{
	display: block;
}

#results.isOneAndSecondScenario .summaryTable .multipleScenarioTable td:nth-child(3),
#results.isOneAndThirdScenario .summaryTable .multipleScenarioTable td:nth-child(2){
	display: none;
}

#results.isOneAndSecondScenario .summaryTable .multipleScenarioTable td:nth-child(1){
	width:62.5%;
}

#results.isOneAndSecondScenario .summaryTable .multipleScenarioTable td:nth-child(2),
#results.isOneAndThirdScenario .summaryTable .multipleScenarioTable td:nth-child(3){
	width:37.5%;
}


#content td,/* basic */
#results td{
	border-right: 1px solid #D1D2D4;
	border-bottom: 1px solid #D1D2D4;
   
    text-align: center;
    padding: 7px;
    height:26px;
}

#content .summaryTable td,/* basic */
#results .summaryTable td{
	 width:25%;
}

#content td:first-child,/* basic */
#results td:first-child{
    text-align: left;
    border-left: 1px solid #D1D2D4;
}

#results #prepaymentScenarios .prepaymentTable thead td{
	border-bottom: 1px solid #d1d2d4;
}

#content tr.first td,/* basic */
#results tr.first td{
	border-top: 1px solid #D1D2D4;

}

#content table:first-child tr:first-child td.topLeft,/* basic */
#results table:first-child tr:first-child td.topLeft{
	border-top: none;
	border-left: none;
}

 /* report only - for splitable table */
#content table:first-child tr:first-child td,/* basic */
#results table:first-child tr:first-child td{
	border-top: 1px solid #d1d2d4;
}

#content td.full,/* basic */
#results td.full{
	width:100%;
	text-align: center;
	color: #a7a9ab;
	text-transform: uppercase;
}

#content td.half,/* basic */
#results td.half{
	width:50%;
}

#results.isOneAndSecondScenario .summaryTable td.half,
#results.isOneAndThirdScenario .summaryTable td.half{
	width:62.5%;
}

#results .prepaymentTable td{
	width:25%;
	
	border-top: none;
}

#results .prepaymentTable td:first-child{
	border-left: none;
}

#results .prepaymentTable td:last-child{
	border-right: none;
}

#results .prepaymentTable tr:last-child td{
	border-bottom: none;
}

#results .totalPrepaymentTable{
	margin-top: 10px;
}

#results .totalPrepaymentTable td{
	border:none;
}

#results .totalPrepaymentTable td:last-child{
	border:1px solid #D1D2D4;
}

table.full tr:first-child td{
	border-top:1px solid #D1D2D4;
}

.resultHeader{
	padding:10px;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
}

.resultHeader .roundButton{
	float:right;
	margin-left: 10px;
}

/* PDF */
.pdfHtml #results{
	display: block;
}

.pdfHtml #results td{
	height: 55px;
    padding: 12px 10px 10px;
}

html .pdfHtml .block.mainResult .report-logo img {
    height: 60px; /*1.7 ratio*/
    width: 266px;
    padding: 0px;
}
html .fr .pdfHtml .block.mainResult .report-logo img {
    width: 218px;
}

.pdfHtml .block.mainResult h1 {
    margin-top: 50px;
    font-size: 55px;
}

.pdfHtml .block.mainResult .clientName {
    font-size: 40px;
    margin-top: 25px;
}

/* payment schedule pdf */

#payment-schedule-report-pdf .pdfContent{
	width:100%;
}

#payment-schedule-report-pdf .pdfContent table{
	width:100%;
}

#payment-schedule-report-pdf .pdfContent > div:nth-child(1){
	padding-bottom:0px;
}

#payment-schedule-report-pdf .pdfContent > div:nth-child(2){
	padding-top:20px;
}

#payment-schedule-report-pdf .paymentsScheduleHeader{
	display: block;
}

#payment-schedule-report-pdf .paymentsScheduleHeader .third:first-child{
	width:100%;
	border: none;
}

#payment-schedule-report-pdf .paymentsScheduleHeader .blockThird{
	float: left;
	width: 100%;
}




#payment-schedule-report-pdf .paymentsScheduleHeader .blockThird .third{

	width:100%;
	border: none;

	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}



#payment-schedule-report-pdf .paymentsScheduleTable{
	height: auto;
	overflow: auto;
}

#payment-schedule-report-pdf .paymentsScheduleTable td:first-child{
	width:8%;
}

#payment-schedule-report-pdf .paymentsScheduleTable td:nth-child(2){
	width:15%;
}

#payment-schedule-report-pdf .paymentsScheduleTable td:last-child{
	display: none;
}



#payment-schedule-report-pdf .paymentsScheduleTable{
	border:none;
}


#payment-schedule-report-pdf .simple-row{
	margin:0;
}

.paymentsScheduleHeader .extra{
	display: none;
}

#payment-schedule-report-pdf .paymentsScheduleHeader .extra{
	display: block;
}

.paymentsScheduleHeader .extra > div{
	text-align: right;
}

.paymentsScheduleHeader .extra .header-logo{
	float: left;
}


#term-tabpanel .disclaimer,
#amortization-tabpanel .disclaimer{
	display: none;
}

#payment-schedule-report-pdf #term-tabpanel .disclaimer,
#payment-schedule-report-pdf #amortization-tabpanel .disclaimer{
	display: block;
}