/* temporary */
body{ width:auto;}
.mainview {
	width:940px;
	margin:auto;
	overflow:hidden;
}
input, select {
	padding: 3px;
	border: 1px black solid;
	margin:6px 1px 1px 1px;
    text-align: right;
    width: 65px;
}
select{
    width: 150px;
}
select.small{
    width: 100px;
}

sup{
	font-size: 70%;
	vertical-align: super;
}
.font-large {
	font-size: 2.1em;
}

.font-medium {
	font-size: 1.3em;
	font-weight: normal;
}

.font-small {
	font-size: 12px;
}

.font-xsmall {
	font-size: 0.9em;
}

.font-xxsmall{
	font-size: 0.7em;
}
.radio-buttons{

}
.question .radio-buttons input{
    width:15px;
    margin:0px;
    opacity: 0;
    position: absolute;
}
	.ie8 .question .radio-buttons input{
		border:0px;
		margin:4px 0 0 4px;
	}
.question label{
	margin-bottom:15px;
}
.small-label{
	min-height:30px;
}
.question  .slider {
    display:inline-block;
	width: 155px;
	margin-top: 5px;
	margin-right: 15px;
	/*padding-left: 5px;*/
	
	-ms-touch-action: none;
}

.question {
	opacity: inherit;
	filter: inherit;
}

.question  .content-align{
	opacity: inherit;
	filter:inherit;
}

.prepayment-dropdown{
	display: inline-block;
}


.question  .slider.ui-slider-horizontal {
	height: 10px;
}
.question  .slider.ui-widget-content {
	border: none;
	background: #ffffff url(../img/slider_bar.png);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	
	opacity:inherit;
	filter:inherit;
}

.question  .slider.ui-state-default, 
.question  .slider.ui-widget-content .ui-state-default, 
.question  .slider.ui-widget-header .ui-state-default {
	border: none;
	background: transparent url('../img/slider_dragger.png');
	background: transparent url('../img/slider_dragger_noshadow.png') no-repeat 1px 2px \9;
	/*
	filter: progid:DXImageTransform.Microsoft.gradient(
        startColorstr=#00FFFFFF, endColorstr=#00FFFFFF
    );
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/slider_dragger_noshadow.png"',sizingMethod='crop');
	*/
	opacity:inherit;
	filter:inherit;
	
}
.question  .slider.ui-slider .ui-slider-handle {
	width:27px;
	height:25px;

}
.question  .slider.ui-slider-horizontal .ui-slider-handle {
	top: -7px;
	margin-left: -13px;
    cursor: pointer;
}

.question .slider.ui-disabled{
	opacity: .35;
	filter: Alpha(Opacity=35);
}

.question input {
    display: inline-block;
    padding: 3px 5px;
    border: 1px solid #cccccc;
    margin: 0px 2px;
    text-align: right;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    color: #666666;
	font-size:90%;
}

h2 {
	margin-top:18px;
	font-size:larger;
}
h3 {
	margin-top:12px;
	font-size:large;
}
h4 {
	margin-top:10px;
	margin-bottom:10px;
}
label {
	/*width:210px;*/
	display:inline-block;
	font-weight:normal;
	/*text-align:right;*/
}

.question span {
	width: 8px;
	display: inline-block;
}
.question span.large{
    width:auto;
}
.question .right-input{
    margin: 0px 0px 0 326px;
}

td {
	width: 80px;
}

#prepayments td {
	width: 75px;
}

.inprogress{
	display: none;
}

.hidden{
	display: none;
}

fieldset{
	border:none;
}
.s-valid{
	/*color: blue;*/
}
.s-required{
	/*color: yellow*/
}
.s-complete{
	/*color:green;*/
}
.s-invalid{
	color: red;
}
#resultText{
	display:block;
	width:100%;
	margin: 15px 0 15px 0;
}
#radio-calcType {
	display: inline-block;
}
.mortgageBox {
	width: 100%;
    margin: 0 0 15px 0;
}
.mortgageBox label{
	width: 35%;
}
#diversify .mortgageBox .dropdown-label {
	font-size: 18px;
	margin-top: 0px;
}
#debugger {
	position: fixed;
	bottom: 0px;
	background-color:white;
	border: 1px solid black;
	width:700px;
	margin: 10px 10px 10px 10px;
	/*height: 30px;*/
	display:none;
}
#startHereResults,
#smallChanges,
#smallChangesResults,
#diversify {
	display:none;
}
.clear{
    clear:both
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}
.radioset {
	position: relative;
	top: -8px;
	right: -247px;
}

.button{
    display:inline-block;
    padding: 6px 20px;
    border: 0px;  
    background: #E1E1E1;
    color: #515151;
    font-size: 12px;
    font-weight: bold;
    border-radius:8px;
}
.button.save-more {
	width: 66px;
	margin: 10px 0 6px 248px;
}
.button.left{
    
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.button.right{
    position:relative;
    left:-4px;
    border: 1px solid #d3d3d3;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.button.right:hover{
    border: 1px solid #E1E1E1;
}
.button.selected{
    background: #E41818 url(../img/bg-red-btn.gif) repeat-x;
    color: white;
    text-shadow: 0em -0.1em 0.1em #666666;
    border-width: 1px;
    border-color: #FFA5A5 #BD0000 #BD0000;
    border-style: solid;
}

#printButton{
	width: 100px;
	text-align: right;
	background: url('../img/print_icon.jpg') no-repeat right top;
	padding-right: 25px;
	cursor: pointer;
}

#printButton:hover{
	background: url('../img/print_icon_hover.jpg') no-repeat right top;
}


.calcLeft {
	float:left;
	width:47%;
	opacity: inherit;
	filter:inherit;
}

.calcLeft .mortgageBox, .mortgageBox .rm-drop-down{

	opacity: inherit;
	filter:inherit;
}
/*
.mortgageBox .radioArea, .mortgageBox .radio-buttons, .mortgageBox input[type="radio"]{

	opacity: inherit;
	filter:inherit;
}*/

.calcRight {
	float:right;
	width:47%;
    position: relative;
    margin-top:-55px;;
}
.legend{
    overflow:hidden;
    position: relative;
    padding: 15px 0px 25px;
    margin: 0px auto;
    height: 95px;
    width: 440px;
    background: url('../img/results_box.png') no-repeat center;
}
    .legend-title{
        text-align: center;
        margin: 0 auto;
        padding-bottom: 9px;
        width: 300px;
        border-bottom: 1px solid #D8D8D8;
    }
    .legend-label{
        width: 130px;
        margin: 5px 0 4px 46px;
        padding-left: 20px;
        display: block;
        float: left;
        background-repeat: no-repeat;
        line-height: 1em;
    }
        .home-value{background-image: url(../img/legend_dash.png);}
        .mortgage{background-image: url(../img/legend_red.png);}
        .reduced-mortgage{background-image: url(../img/legend_yellow.png);}
        .diversified-mortgage{background-image: url(../img/legend_purple.png);}


.assumptions{
	display: block;
width: 77px;
margin: 5px 0 8px 0;
}
.videoPlay{   
    overflow: hidden;
    height: 50px;
    border: 1px solid #d7d7d7;
    border-bottom: 0;
    background-color: #FFF;
    position: absolute;
    padding: 29px 0 0 5px;
    float:right;
    display: inline-block;

}
.videoPlay img{   
    vertical-align: middle;
}
    
.calcContainer {
	width:940px;
	padding-top:15px;
	background: url("../img/background_desktop.jpg") no-repeat;
	border-top-style:solid;
	border-bottom-style:solid;
	border-width:1px;
	border-color:#d7d7d7;
	/*border-bottom: none;*/
}
.subheader {
	border-top-style:solid;
	border-width:1px;
	border-color:#d7d7d7;
	padding-top: 10px;
	margin-top: 10px;
}
    .subheader.small {
		margin-bottom: 10px;
	}

.subRight {
	float:right;
	width:14%;
	height: 100%;
	display:block;
}
.subLeft {
	float:left;
	width: 80%;
    margin-bottom:20px;
	height: 80px;
}

.mortgageIcon {
    cursor: pointer;
	width:18px;
	height:17px;
	background-image:url('../img/mff_spriteboard.png');
	background-position: -10px -10px;
	float:left;
	margin-right:5px;
}
.mortgageBox .small-label label {
    display: inline-block;
    width: 155px;
}
.mortgageBox .small-label span{
    text-align:right;
}
/*-------------------- Footer ----------------------*/
.footer-banner{
    margin: 0px;
    padding: 0px;
}
	.footer-banner a.imglink{
		display: inline-block;
		margin-right:42px;
	}
	.footer-banner a.imglink.first{
		margin-left:25px;
	}
    .footer-banner img{
        display:inline;
        /*margin-right:42px;*/
		max-width: 100%;
    }
    .footer-banner img.first{
        /*margin-left:25px;*/
    }
.footer {
    margin-top:20px;
}
   
.footer h2 {
    display: inline-block;
    margin-left: 25px;
    margin-bottom: 5px;
    font-size: initial;
}
    .footer .right-title{
        margin-left:302px;
    }

.footer-links{
	min-height: 185px;
    border-top: 3px solid #aeaeae;
    margin: 26px auto 0 auto;
}
	
	.footer-links a:hover, .footer-links a:focus, .privacy-links a:hover, .privacy-links a:focus{
		text-decoration: underline;
		outline:none;
	}
    .footer-links h4{
        margin: 17px 0 0 20px;
    }
    .footer-links h5{
       	width: 106px;
		margin: 0px;
		float: right;
        background-image: url(../img/bg-cell.gif);
        background-repeat: no-repeat;
        padding: 0 0 0 20px;
        font-size: 14px;
    }
    .footer-links h5 .dates{
        padding-left: 5px;
        font-size: 11px;
    }
    .footer-links .left{
        width: 60%;
    }
    .footer-links .right{
        float: right;
        width: 66%;
    }
    .footer-links .container{
        border:50px;
    }
    .section{
        border-top: 1px solid #aeaeae;
    }
        .section.first{
            border:none;
        }
        .section label{
            font-weight: bold;
            margin-top: 5px;
            width: 100%;
        }
			.section.first label{
				display: inline-block;
				width: 76px;
				height: 36px;
			}
        .section p, .section a{
            display: inline-block;
            margin: 0 0 6px 0;
        }
        .section p{
            width:409px;
        }
        .section a{
            width:197px;
            text-align:right;
        }
.privacy-links{
    border-top: 3px solid #aeaeae;
    margin: 10px auto 0 auto;
}
.privacy-links .right{
	float:right;
	min-height: 30px;
}

/*--------------------------------------------------*/

.printIcon {
	width:16px;
	height:16px;
	background-image:url('../img/mff_spriteboard.png');
	background-position: -29px -10px;
	float:right;
	margin-right:15px;
	margin-top:4px;
}

input[type='button']{
	border: 0;
	margin: 0;
	padding: 0;
}

/* Accessibility */
.mortgageIcon.info:focus, a:focus, #printButton:focus, 
.question .slider.ui-slider-horizontal .ui-slider-handle:focus{
	outline: #00a3e5 solid 1px;
}

/*
input[type='text']:focus, input[type='button']:focus,
.radioArea:focus, .button:focus {
	border:1px solid #00a3e5;
	outline:none;
}*/


input[type='text']:focus, 
.radioArea:focus, .button:focus, .popup-close:focus, .popup-btn:focus, .popup-content:focus {
	border:1px solid #00a3e5;
	outline:none;
}


/*
Navigation

*/
.nav {
	width:480px;
	margin-bottom:10px;
}
.nav a {
	position: relative;
	text-decoration: none;
	display: inline-block;
	background: url('../img/nav-mobile-wide.png') no-repeat;
	height: 44px;
	width: 153px;
	margin-top: 3px;
	vertical-align: text-top;
}
	.nav a:focus{
		outline:none;
	}
	.nav a span {
		display: inline-block;
		color:#656565;
		font-weight: bold;
		margin-left: 12px;
		margin-top: 8px;
	}
	.nav .active span, .nav a:focus span{
		color: #FFF;
		text-shadow: 1px -1px 1px #666666;
	}
	.nav .calcSmallButt  span,
	.nav .calcStartButt  span{
        margin-left:30px;
		margin-top:15px;
    }
	
	/* Small Changes button */
	.nav > a{
		cursor: pointer;
	}
	.nav .calcStartButt{
       background-position: -10px -8px;
        z-index:3;
    }
		.nav .calcStartButt.active{
			background-position: -10px -208px;
		}
		.nav .calcStartButt.active:active, .nav .calcStartButt.active:hover{
			background-position: -10px -208px;
		}
		.nav .calcStartButt.active:focus{
			background-position: -10px -308px;
		}
		.nav .calcStartButt:active, .nav .calcStartButt:hover{
		   background-position:-10px -108px;
		}
		.nav .calcStartButt:focus{
			background-position: -10px -308px;
		}
	
	/* Small Changes button */
	.nav .calcSmallButt{
       background-position: -216px -8px;
		left:-12px;
        z-index: 2;
    }
		.nav .calcSmallButt.active{
			background-position:-216px -208px;
		}
		.nav .calcSmallButt.active:active, .nav .calcSmallButt.active:hover{
			background-position:-216px -208px;
		}
		.nav .calcSmallButt.active:focus{
			background-position:-216px -308px;
		}
		.nav .calcSmallButt:active, .nav .calcSmallButt:hover{
		  background-position: -216px -108px;
		}
		.nav .calcSmallButt:focus{
		  background-position: -216px -308px;
		}
		
	/* Diversify button */
	.nav .calcDiversifyButt{
        background-position: -417px -8px;
		left:-24px;
        z-index: 1;
		text-align:center;
    }
		.nav .calcDiversifyButt.active{
			background-position:-417px -208px;
		}
		.nav .calcDiversifyButt.active:active, .nav .calcDiversifyButt.active:hover {
			background-position:-417px -208px;
		}
		.nav .calcDiversifyButt.active:focus{
			background-position:-417px -308px;
			color:#fff;
		}
        .nav .calcDiversifyButt:active, .nav .calcDiversifyButt:hover {
			background-position: -417px -108px;
        }
		 .nav .calcDiversifyButt:focus {
			background-position: -417px -308px;
        }
/*
.calcNav{
	margin-bottom:5px;
}
.calcNav input[type="radio"]{
	display:none;
}
.calcNav label{
	height:40px;
	font-size:14px;
	font-weight:bold;
	cursor:pointer;
}
#calcStartButt{
	width:163px;
	background-image:url('../img/mff_spriteboard.png');
	background-position:-10px -40px;
}
	input[type="radio"]:checked+#calcStartButt{
		background-position: -10px -90px;
	}
	
	
.red-span{
    color:red; 
}
    .italic{
        font-style:italic;
    }
    .bold{
        font-weight:bold;
    }
#calcSmallButt{
	width:161px;
	background-image:url('../img/mff_spriteboard.png');
	background-position:-175px -40px;
	position:relative;
	right:13px;
}
	input[type="radio"]:checked+#calcSmallButt{
		background-position: -175px -90px;
	}
#calcDiversifyButt{
	width:151px;
	background-image:url('../img/mff_spriteboard.png');
	background-position:-340px -40px;
	position:relative;
	right:24px;
}
	input[type="radio"]:checked+#calcDiversifyButt{
		background-position: -340px -90px;
	}
   */ 
.radioArea {
    display: inline-block;
    color: #515151;
    background-color: #FCFCFC;
    border: 1px solid #CCCCCC;
    border-radius: 10px 10px 10px 10px;
    font-size: 14px;
    list-style: none outside none;
    margin: 5px 15px 5px 0px;
    padding: 5px 10px 5px 5px;
    text-align: left;
    height: auto;
    width: auto;
}    
.radioArea.selectedRadioArea {
    background-color: rgb(235, 235, 228);
}
.radioArea .radioButtonImage {
    background: url('../img/btn-radio-unselected.png') no-repeat left;
    width: auto;
    height: 21px;
    padding-left: 40px;
    padding-top:4px;
    margin:0px;
    cursor: pointer;
}



.radioArea .radioButtonImage.selected {
    background: url('../img/btn-radio-selected.png') no-repeat left;
}

.ie8 .radioArea .radioButtonImage {
    background: none;
	}

.bar-graph {
    position: relative;
    opacity: inherit;
    filter: inherit;
    width: 360px;
    margin: 0 auto;
}

.amortization-chart {
	/*width: 350px;*/
	border: 1px solid #CCCCCC;
	background-color:#FFF;
	margin-top: 30px;
	padding: 6px;
	/*display: inline-block;
	*display: inline;
	*zoom: 1;*/
}
.amortization-chart h5{
	margin: 0px 0 10px 0;
	padding: 5px 0 5px 0;
	text-align: center;
	color: #FFF;
}
	#start-table h5{
		background-color: #D71D04;
	}
	#small-changes-table{
		display:none;
		margin-bottom: 19px;
	}
		#small-changes-table h5{
			background-color: #CB9800;
		}
	#diversify-table {
		display:none;
	}
		#diversify-table  h5{
			background-color: #653298;
		}
	
.amortization-chart p {
	margin-top: 0px;
	margin-bottom: 7px;
}
.amortization-chart span{
	float:right;
	margin-right:10px;
}
.amortization-chart .first{
	border-bottom: 1px solid #CCCCCC;
	padding: 8px 0 8px 0;
}

.figure {
    height:200px;
    display: block;
    margin: 0 0 auto auto;
    position: relative;
    border-left: 1px solid #656565;
    border-bottom: 1px solid #656565;
}

.bar-graph .bar-graph-yaxis {
    display: block;
    height: 100%;
    opacity: inherit;
    filter: inherit;
    padding-left: 0px;
}

.bar-graph .bar-graph-yaxis li {
    height: 20%;
    position: relative;
    list-style: none;
    width: 100%;
    float: left;
    opacity: inherit;
    filter: inherit;
    white-space: nowrap;
}

.figure li.odd, .figure li.zero {
    background-color: #EEEEEE;
}

.bar-graph .bar-graph-yaxis label {
    position: absolute;
    right: 100%;
    top: 0;
    margin-top: -.5em;
    margin-right: .25em;
    font-size: 10px;
    opacity: inherit;
    filter: inherit;
}
.bars {
    opacity: inherit;
    filter: inherit;
}

/**/



.bar {
    position: absolute;
    bottom: 0;
    width: 8px; 
    
    transition: height 2s;
    -webkit-transition: height 2s;
    -moz-transition: height 2s;
    opacity: inherit;
    filter: inherit;
    z-index: 1;
}
.bar .fill {
    position: relative;
    z-index: 2;
}
.bar .fill > div, .line > div{
width: 100%;
transition: height 2s;
-webkit-transition: height 2s;
-moz-transition: height 2s;
-webkit-print-color-adjust: exact;

filter: inherit;
position: absolute;
bottom: 0px;
z-index: 3;
}
.line .y-value {
background: white;
border: 1px solid #CCCCCC;
text-align: center;
padding: 2px 4px;
white-space: nowrap;
position: relative;
z-index: 5;
font-size: 12px;
display: none;
top: -26px;
opacity: 1;
}
.line .y-value {
top: 10px;
}
.line .y-value.top {
top: -30px;

}
.line .y-value.right {
left: 100%;
margin-left: -2px;
}


.line .y-value.right {
left: 100%;
margin-left: -2px;
}
.line .y-value.right .arrow-black {
width: 92%;
border-bottom: 4px solid #CCC;
border-left: 4px solid transparent;
border-top: 4px solid transparent;
border-right: 4px solid #CCC;
bottom: 19px;
right: -1px;
}
.line .y-value.right .arrow-white {
width: 91.5%;
border-bottom: 3px solid white;
border-left: 3px solid transparent;
border-top: 3px solid transparent;
border-right: 3px solid white;
bottom: 19px;
right: 0px;
}
.line .y-value.right.top .arrow-black {
border-top: 4px solid #CCC;
border-left: 4px solid transparent;
border-bottom: 4px solid transparent;
border-right: 4px solid #CCC;
bottom: -8px;
right: -1px;
position: absolute;
}
.line .y-value.right.top .arrow-white {
border-top: 3px solid white;
border-left: 3px solid transparent;
border-bottom: 3px solid transparent;
border-right: 3px solid white;
bottom: -6px;
right: 0px;
position: absolute;
}

.line .y-value.left {
left: 100%;
margin-left: -4px;
}
.line .y-value.left .arrow-black {
width: 92%;
border-top: 4px solid #CCC;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 4px solid #CCC;
bottom: -8px;
left: -1px;
}
.line .y-value.left .arrow-white {
width: 92%;
border-top: 3px solid white;
border-right: 3px solid transparent;
border-bottom: 3px solid transparent;
border-left: 3px solid white;
bottom: -6px;
left: 0px;
}

.line.x-value{
top: 100%;
width: 100%;
font-size: 10px;
position: absolute;
text-align: center;
opacity: inherit;
filter: inherit;
}

/**/




/*

.bar {
    position: absolute;
    bottom: 0;
    width: 8px; 
    
    transition: height 2s;
    -webkit-transition: height 2s;
    -moz-transition: height 2s;
    opacity: inherit;
    filter: inherit;
    z-index: 1;
}
.bar .fill {
    position: relative;
    z-index: 2;
}
.bar .fill div, .line div{
width: 100%;
transition: height 2s;
-webkit-transition: height 2s;
-moz-transition: height 2s;
-webkit-print-color-adjust: exact;

filter: inherit;
position: absolute;
bottom: 0px;
z-index: 3;
}
.bar .y-value, .line .y-value {
background: white;
border: 1px solid #CCCCCC;
text-align: center;
padding: 2px 4px;
white-space: nowrap;
position: relative;
z-index: 5;
font-size: 12px;
display: none;
top: -26px;
opacity: 1;
}
.line .y-value {
top: 10px;
}
.line .y-value.top {
top: -25px;

}
.bar .y-value.right, .line .y-value.right {
left: 100%;
margin-left: -2px;
}
.bar .y-value.right .arrow-black {
width: 93%;
border-top: 4px solid #CCC;
border-left: 4px solid transparent;
border-bottom: 4px solid transparent;
border-right: 4px solid #CCC;
bottom: -8px;
right: -1px;
}
.bar .y-value.right .arrow-white {
width: 92.5%;
border-top: 3px solid white;
border-left: 3px solid transparent;
border-bottom: 3px solid transparent;
border-right: 3px solid white;
bottom: -6px;
right: 0px;
}

.line .y-value.right {
left: 100%;
margin-left: -2px;
}
.line .y-value.right .arrow-black {
width: 92%;
border-bottom: 4px solid #CCC;
border-left: 4px solid transparent;
border-top: 4px solid transparent;
border-right: 4px solid #CCC;
bottom: 19px;
right: -1px;
}
.line .y-value.right .arrow-white {
width: 91.5%;
border-bottom: 3px solid white;
border-left: 3px solid transparent;
border-top: 3px solid transparent;
border-right: 3px solid white;
bottom: 19px;
right: 0px;
}
.line .y-value.right.top .arrow-black {
border-top: 4px solid #CCC;
border-left: 4px solid transparent;
border-bottom: 4px solid transparent;
border-right: 4px solid #CCC;
bottom: -8px;
right: -1px;
}
.line .y-value.right.top .arrow-white {
border-top: 3px solid white;
border-left: 3px solid transparent;
border-bottom: 3px solid transparent;
border-right: 3px solid white;
bottom: -6px;
right: 0px;
}

.bar .y-value.left, .line .y-value.left {
left: 100%;
margin-left: -4px;
}
.bar .y-value.left .arrow-black, .line .y-value.left .arrow-black {
width: 92%;
border-top: 4px solid #CCC;
border-right: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 4px solid #CCC;
bottom: -8px;
left: -1px;
}
.bar .y-value.left .arrow-white, .line .y-value.left .arrow-white {
width: 92%;
border-top: 3px solid white;
border-right: 3px solid transparent;
border-bottom: 3px solid transparent;
border-left: 3px solid white;
bottom: -6px;
left: 0px;
}

.bar .x-value, .line.x-value{
top: 100%;
width: 100%;
font-size: 10px;
position: absolute;
text-align: center;
opacity: inherit;
filter: inherit;
}


/**/

.vertical_line{
	border-right: 1px solid black;
	height: 100%;
	position: absolute;
	bottom: 0;
}

.bar .x-value {
	top:100%;
	width:100%;
	font-size:10px;
	position:absolute;
	text-align:center;
	
	opacity:inherit;
	filter:inherit;
}

.bar .y-value {
	background: white;
	border: 1px solid #CCCCCC;
	text-align: center;
	padding: 2px 4px;
	white-space: nowrap;
	position: absolute;
	z-index: 1;
	font-size: 12px;
	display: none;
	top: -43px;
}

.bar .purple .y-value{
	top: -57px;
}

.bar .y-value.left {
	left: 100%;
	margin-left: -14px;
}

.bar .y-value.right {
	right: 3px/*-7px;*/
}

.bar .arrow-black, .bar .arrow-white {
	width: 0;
	height: 0;
	position: absolute;
}

.bar .y-value.left .arrow-black {
	border-top: 4px solid #CCC;
	border-right: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #CCC;
	bottom: -8px;
	left: 9px;
}
.bar .y-value.left .arrow-white{
	border-top: 3px solid white;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 3px solid white;
	bottom: -6px;
	left: 10px;
}

.bar .y-value.right .arrow-black {
	border-top: 4px solid #CCC;
	border-left: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 4px solid #CCC;
	bottom: -8px;
	right: -1px; /*9px;*/
}
.bar .y-value.right .arrow-white {
	border-top: 3px solid white;
	border-left: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-right: 3px solid white;
	bottom: -6px;
	right: 0px;/*10px;*/
}

.bar .fill img{
	height : 100%;
	width : 100%;
	display : none;
	position: absolute;
	bottom: 0;
}

/**/



.chart {
  display: none;
    margin: 0px;
    position: relative;
    /*height: 200px;*/
    width: 100%;
}
.chart table {
width: 100.1%;
border-collapse: collapse;
}
.chart tr.firstRow {
background: #EEEEEE;
    font-size: 11px;
    font-weight: bold;
}
.mainview #result-amortization-table .year .col0 {
	width: 45px;
}

.chart td.firstCol {
	border-left: 0px;
	width: 45px;
}
.chart td {
text-align: center;
vertical-align: middle;
border-left: 1px solid #EEEEEE;
padding: 5px 0px;
}
.font-xsmall {

}
.mainview #result-amortization-table .year .lastCol{
	padding-right:13px;
}

.chart td {
text-align: center;
vertical-align: middle;
border-left: 1px solid #EEEEEE;
padding: 5px 0px;
font-size:10px;
}
.chart th {
padding: 3px;
}
.mainview #result-amortization-table div.data {
height: 210px;
overflow: auto;
overflow-x: hidden;
}
.x-legend {
    font-size: 10px;
    text-align: center;
	margin-top: 12px;
}


.mainview #result-amortization-table div.data {
	height: 180px;
	overflow: auto;
	overflow-x: hidden;
	background-color: #FFF;
}
/*
.mainview #result-amortization-table  .year .col0 {
	width: 125px;
}
.mainview #result-amortization-table .year .col1,
.mainview #result-amortization-table .year .col2,
.mainview #result-amortization-table .year .col3 {
	width: 137px;
}

.mainview #result-amortization-table  .month .col0 {
	width: 57px;
}
.mainview #result-amortization-table .month .col1,
.mainview #result-amortization-table .month .col2,
.mainview #result-amortization-table .month .col3 {
	width: 82px;
}

.mainview #result-amortization-table  .semimonthly .col0 {
	width: 102px;
}
.mainview #result-amortization-table .semimonthly .col1,
.mainview #result-amortization-table .semimonthly .col2,
.mainview #result-amortization-table .semimonthly .col3 {
	width: 70px;
}

.mainview #result-amortization-table  .biweekly .col0 {
	width: 88px;
}
.mainview #result-amortization-table .biweekly .col1,
.mainview #result-amortization-table .biweekly .col2,
.mainview #result-amortization-table .biweekly .col3 {
	width: 73px;
}

.mainview #result-amortization-table  .week .col0 {
	width: 75px;
}
.mainview #result-amortization-table .week .col1,
.mainview #result-amortization-table .week .col2,
.mainview #result-amortization-table .week .col3 {
	width: 76px;
}
*/
.bar .fill .purple {
background-color: #925fb0;
}
.bar .fill .yellow {
background-color: #cc9900;
}
.bar .fill .red {
background-color: red;
}

.lines {

}

.line {
border-top: 2px solid #707070;
height: 2px;
width: 3%;
display: inline-block;
position: absolute;
transition: height 2s;
-webkit-transition: height 2s;
-moz-transition: height 2s;
opacity: inherit;
filter: inherit;
z-index: 1;
}

.continueBox p{
    display:inline-block;
	margin-bottom: 5px;
}

.disabledSlider {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: 0.5;
}

#playSmallChanges {
	width: 250px;
	top: -101px;
}

#playDiversify {
	width: 220px;
	top: -101px;
}

.red{
	color: #D81E05;
}
.bold{
	font-weight:bold;
}
.italic{
	font-style:italic
}




.popup{

	width: 600px;
	border : 1px solid #CCCCCC;
	display: none;
	/*overflow : hidden;*/
	
	-webkit-box-shadow: 4px 4px 0px rgba(0,0,0,0.45);
	box-shadow: 4px 4px 0px rgba(0,0,0,0.45);
}

.popup#popup-preview{
	width : 8in;
}


.popup-header{
	width : 100%;
	height: 50px;
	background : #EEEEEE;
	display : block;
}

.popup-icon{
	width: 50px;
	height: 50px;
	display: inline-block;
	*display: inline;
	*zoom : 1;
	float : left;
}
.popup.help .popup-icon{
	background : url('../img/icon_help.png') no-repeat center center;
}

.popup.savemore .popup-icon{
	background : url('../img/icon_moneybag.png') no-repeat center center;
}

.popup#popup-preview .popup-icon{
	background : url('../img/icon_list.png') no-repeat center center;
}


.popup-title{
	height: 50px;
	line-height : 50px;
	display : inline-block;
	*display : inline;
	*zoom : 1;
	float : left;
	padding: 0 10px;
}

.popup-close{
	background : url("../img/btn-close.png") no-repeat center center;
	width: 50px;
	height: 50px;
	display : inline-block;
	*display : inline;
	*zoom : 1;
	float: right;
	cursor: pointer; 
	cursor: hand;

}

.popup-close:hover{
	background : url("../img/btn-close-hover.png")  no-repeat center center;
}

.popup-close:active{
	background : url("../img/btn-close-click.png")  no-repeat center center;
}

.popup-body{
	background : #FFFFFF;
	overflow: hidden;
	position : relative;
}

.popup-content{
	padding: 20px 40px 0px;
	min-height : 100px;
	max-height : 600px;
	position : relative;
	display : block;
	overflow-y : scroll;
	overflow-x : hidden;
	border: 1px solid #eeeeee;
}

.popup-content .blank{
	height : 25px;
}

.popup-toolbar#popup-toolbar-preview{
	background: #eeeeee;
	padding: 10px 0;
}

.popup-btn#popup-btn-preview-print{
	width: 200px;
	margin: 0px auto;
	display	: block;
}


.popup-btn#popup-btn-preview-print{
	font-size: 16px;
}




.popup .section{
	width : 100%;
}

.popup .section#section-popupHeader, .popup .section#video-section-popupHeader{
	height : 50px;
	background : #EEEEEE;
	display: block;
}

.popup .section#section-popupHeader #img-popupIcon, .popup .section#video-section-popupHeader #video-img-popupIcon{
	
	width: 50px;
	height: 50px;
	display: inline-block;
	*display: inline;
	*zoom : 1;
	float : left;
}

.popup.help .section#section-popupHeader #img-popupIcon, .popup.help .section#video-section-popupHeader #video-img-popupIcon{
	background : url('../img/icon_help.png') no-repeat center center;
}

.popup.savemore .section#section-popupHeader #img-popupIcon{
	background : url('../img/icon_moneybag.png') no-repeat center center;
}

.popup.error .section#section-popupHeader #img-popupIcon{
	/*background : url('../img/icon_error.png') no-repeat center center;*/
	background : url('../img/icon_help.png') no-repeat center center;
}

.popup.assumption .section#section-popupHeader #img-popupIcon{
	background : url('../img/icon_list.png') no-repeat center center;
}


.popup .section#section-popupHeader #lbl-popupTitle, .popup .section#video-section-popupHeader #video-lbl-popupTitle{
	height: 50px;
	line-height : 50px;
	display: inline-block;
	*display: inline;
	*zoom : 1;
	float : left;
	padding: 0 10px;
}

.popup-close{
	background : url("../img/btn-close.png") no-repeat center center;
	width: 50px;
	height: 50px;
	display : inline-block;
	*display : inline;
	*zoom : 1;
	float: right;
}

.popup-close:focus{
	width: 48px;
	height: 48px;
}



.popup .section#section-popupHeader .popup-close:hover, .popup .section#video-section-popupHeader .popup-close:hover{
	background : url("../img/btn-close-hover.png")  no-repeat center center;
}

.popup .section#section-popupHeader .popup-close:active, .popup .section#video-section-popupHeader .popup-close:active{
	background : url("../img/btn-close-click.png")  no-repeat center center;
}

.popup .section#section-popupMiddle, .popup .section#video-section-popupMiddle{
	background : #FFFFFF;
}

.popup .section#section-popupMiddle #bdy-popupContent{
	padding : 20px;
	min-height : 75px;
}

#info-popup .section p, #video-info-popup .section p{
	width: auto;
}

.popup.video .section#section-popupMiddle, .popup.video .section#video-section-popupMiddle{
	overflow: hidden;
	height: 390px;
}
/*
.popup.video .section p#bdy-popupContent, .popup.video .section p#video-bdy-popupContent,{
	margin: 0px;
	padding: 0px!important;
}
*/
.button, .info{
	cursor: pointer;
}

.red-btn{
	background: #E41818 url(../img/bg-red-btn.gif) repeat-x;
	color: white;
	border-width: 1px;
	border-color: #FFA5A5 #BD0000 #BD0000;
	border-style: solid;
	
	padding: 2px 0 0;
	
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	
	-webkit-box-shadow: 1px 2px 0px 0px #999999;
	box-shadow: 1px 2px 0px 0px #999999;
}

.red-btn .ui-button-text{
	font-weight: bold;
	text-shadow: 0em -0.1em 0.1em #666666;
}

.red-btn:active{
	top: 1px;
	right: 1px;
	box-shadow : none;
}

.red-btn:hover, .red-btn:focus {
	background-color: #fd2b2b;
	background-image: url(../img/bg-red-btn-over.gif);
	text-decoration: none;
}

.page{
	width: 7in;
	height: 9.3in;
	border: 1px solid #cccccc;
	box-shadow: 2px 2px 2px #cccccc;
	position: relative;
	margin-bottom : 20px;
}
.page .logo {
	/*margin-top: 10px;
	margin-left: 10px;*/
	display: inline-block;
	*display: inline;
	*zoom : 1;
	height: 30px;
	line-height: 40px;
	position : relative;
	padding-left: 15px;
}

.page .date {
	display: inline-block;
	*display: inline;
	*zoom : 1;
	float: right;
	height: 30px;
	line-height: 40px;
	position : relative;
	*position: absolute;
	*right: 20px;
}

.page .print.summary{
	margin: 10px auto;
	text-align: center;
}

.page .print.summary .top{
	vertical-align: top;
}
.page .print.head-block{
	padding: 20px 20px 0px;
	 margin-bottom: 15px;
}

.page .print.block{
	padding: 0 20px 22px;
}

.page .print.block.page-header{
	padding-top: 20px;
	padding-bottom : 0px;
}


.page .print.graph-block{
	margin: 0 20px;
	height: 300px;
	border: 2px solid #FF0000;
}

.page .print.page-footer {
	position: absolute;
	bottom: 0;
	*width : 95%; /* IE 7 Fix */
	font-size: 6pt;
}
.page .row {
	/*border-bottom:solid 1px #ccc;
	height:16px;
	padding:2px 0;*/
}
.page .row-header {
	height:42px;
}
.page .row-label {
	/*line-height:16px;*/
	font-size: 14px;
}
.page .print.legal {
	font-size:6pt;
	margin: 0 0px;
	bottom:12px;
	font-family:Arial, sans-serif;
}

.page-numbers {
	text-align: right;
	display: block;
}

.page .print.table{
	width : 100%;
	 margin: 6px 0px;
	 line-height:1.5;
	 position:relative;
	 z-index:5;
}
	
.page hr {
	border: 0;
	border-top: 1px solid #CCCCCC;
	margin:0px;
}

.page h1 {
	font-size:24px;
	color: #d81e05;
	padding:0;
	margin:0 20px 6px 20px;
}
.page h2 {
	margin: 15px 0px;
}
.page .chart td {
    padding: 3px 0px;
}
.view.print{
		display : none;
	}

/*START TABLE CSS*/

.view.print{
	display : none;
}

.graphtable{
  display:inline-block;
  /*margin-left: 12px;*/
  float:right;
  position:relative;
}

.graph{
    display:inline-block;
    float:left;
 	width: 350px;
    height: 175px;
    margin-bottom: 7px;   
}

.space{
 padding: 0px 20px 0px 20px;   
}

.graphfooter{
    margin-top: 8px;
 	clear:both;
    width: 100%;
    font-size:12px;   
}

.red{
    color: #D71D04;   
}

.yellow{
    color: #CB9800;   
}

.purple{
    color: #925fb0;   
}

.mortgage-med{
	width:26%
}

.mortgage-small{
 	width:25%   
}

.mortgage-large{
 	width:54%   
}

.payment-small{
 	width:26%
}

.payment-smaller{
 	width:10%
}

.payment-large{
 	width:74%   
}

.years{
 	width:150px;
	z-index:5;  
}

.life-large{
	/*width:60%;*/
	z-index:5; 
    white-space: nowrap;
}

.page table .col-one,
.page table .col-one {
    width: 60%;
}

.page table .col-two,
.page table .col-two {
    width: 40%;
}


.life-mortgage {
	z-index:5;
}

.life-small{
 	width:40% 
}

.five-small{
   width:40%
}

.five-large{
  /*width: 60%*/
}

.amor-footer{
  	width: 450px;
  	-webkit-print-color-adjust : exact;  
}

.amor-home{
 	width:95px   
}

.amor-mort{
 	width:76px;   
}

.amor-div{
 	width:136px;   
}

.amor-reduce{
 	width:123px;   
}

.square1{
    width: 10px;
	height: 10px;
	/*background: #653298;*/
    display:inline-block;
    margin-right: 5px;
	position: relative;
}

.square2{
    width: 10px;
	height: 10px;
	/*background: #CB9800;*/
    display:inline-block;
    margin-right: 5px;
	position: relative;
}

.square3{
    width: 10px;
	height: 10px;
	/*background: red;*/
    display:inline-block;
    margin-right: 5px;
	position: relative;
}


.square1 img, .square2 img, .square3 img{
	display: inline;
}

.close{
 	width: 450px;
    margin-top: 30px;
    margin-left: 10px;   
}

.print.bar-graph{
	width: 100%;
	height: 90%;
}
.print .figure{
	width: 100%;
	height: 100%
}
.print .bar-graph .bar-graph-yaxis{
	margin-top: 0;
}
.print .chart{
	display: block;
	width: auto;
	height: auto;
}

.print .chart td{
	padding: 3px 0px;
}

.datagrid table { 
	border-collapse: collapse; 
    text-align: left; 
    width: 100%; 
    } 
.datagrid {
    font: normal 12px/150% Arial, Helvetica, sans-serif; 
    background: #fff; 
    overflow: hidden; 
    -webkit-border-radius: 3px;
     -moz-border-radius: 3px; 
     border-radius: 3px; 
     }
     .datagrid table td, .datagrid table th { 
     	padding: 3px 10px; 
        }
      .datagrid table thead th {
        background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #F9F9F6), color-stop(1, #F9F9F6) );
        background:-moz-linear-gradient( center top, #F9F9F6 5%, #F9F9F6 100% );
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F6', endColorstr='#F9F9F6');
        background-color:#F9F9F6; 
        color:#4C4C4C; 
        font-size: inherit; 
        font-weight: bold;
        text-align: center; 
        vertical-align:middle; 
        } 
     .datagrid table thead th:first-child { 
      border: none; 
      text-align: center;
      vertical-align:middle; 
      }.datagrid table tbody td { 
      border-left: 1px solid #E1EEF4;
      font-size: 12px;
      font-weight: normal; 
      }
      .datagrid table tbody td:first-child {
           border-left: none;
           text-align: center; 
           }.datagrid table tbody tr:last-child td { 
           border-bottom: none; }
           
           
   /*START SMALL TABLE CSS*/        
           
.datagridSM table { 
	border-collapse: collapse; 
    text-align:center; 
    width: 260px; 
	position:relative;
	z-index:1;
    } 
.datagridSM {
    font: normal 12px/150% Arial, Helvetica, sans-serif; 
    background: #fff; 
    overflow: hidden; 
    -webkit-border-radius: 3px;
     -moz-border-radius: 3px; 
     border-radius: 3px; 
     }
     .datagridSM table td, .datagrid table th { 
     	padding: 3px 10px; 
        }
      .datagridSM table thead th {
        /*background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #F9F9F6), color-stop(1, #F9F9F6) );
        background:-moz-linear-gradient( center top, #F9F9F6 5%, #F9F9F6 100% );
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F6', endColorstr='#F9F9F6');*/
        /*background-color:#F9F9F6;*/ 
        color:#4C4C4C; 
        font-size: inherit; 
        font-weight: bold;
        text-align: left;
        padding: 5px;
        border: #666;
         
        } 
     .datagridSM table thead th:first-child { 
       border: 1px #666;
      text-align: left;
      padding-left: 4px; 
      }
	  .datagridSM table tbody td { 
      /*color: #00496B; */
      font-size: 12px;
      font-weight: normal; 
      }
      .datagridSM table tbody td:first-child {
           border-left: none;
           text-align: left; 
           }.datagridSM table tbody tr:last-child td { 
           border-bottom: none; }
   
label.font-small .bold{
	font-size: 13px;
}

label.diversify-label{
	font-size: 20px;
	padding: 10px 0px 15px;
	margin-bottom: 0px;
}

.table-image-one {
	position:absolute;
	left: -1px;
	top: 4px;
	z-index:1;
}

.table-image-two {
	position:absolute;
	left: 0px;
	top: 26px;
	z-index:1;
}


.header-spacing {
	padding-top:5px;
}


/*END TABLE CSS*/



.footer-links .section.first h5 a, a.telnum{
	width: 100%;
	color: #656565;
	text-align: left;
	margin: 0;
	padding-left: 5px;
}

.table-header {
	font-size:30px;
	
}

.padding-bottom {
	padding-bottom:12px;
}

/*
.red-btn.ui-button-text{
	font-weight: bold;
	text-shadow: 0em -0.1em 0.1em #666666;
	padding: .4em 1em;
	display: block;
	line-height: normal;
}*/

#popup-preview .margin-side {
	margin: 0px 20px;
}

#popup-preview .margin-bottom {
	margin-bottom: 20px;
}

#popup-preview .margin-top {
	margin-top: 20px;
}

#print-amortization-table {
    display: inline;
}

.padding-left {
	padding-left:90px;
}

.less-padding-left {
	padding-left:60px;
}
/*css to add scotiabank logo*/
.container{
width:940px; 
margin:auto; 
overflow:hidden;"
	
}
.logo{
	margin-top:5px;
	margin-bottom:0px;
}
.hidden{
	display: none!important;
}


#radio-condoSel{
    display: inline-block;
}

#customize-header {
    height: 50px;
    background: #EEEEEE;
    display: block;
}

.customize-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    float: left;
    background: url('../img/icon_list.png') no-repeat center center;
}

.customize-title {
    height: 50px;
    line-height: 50px;
    display: inline-block;
    float: left;
    padding: 0 10px;
}

.advisor-input-block,
.client-input-block {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

/*.advisor-input-block .content-align {
    opacity: inherit;
    filter: inherit;
    padding: 10px 20px;
}*/

.client-input-block .content-align {
    opacity: inherit;
    filter: inherit;
    padding: 10px 20px; 
}

.print-preview-btn {
    text-align: center;   
    width: 200px;
    margin: 0px auto;
    display: block;
    font-size: 16px;
    height: 30px;
    font-weight: bold;
    text-shadow: 0em -0.1em 0.1em #666666;    
    padding-top: 10px;   
    line-height: normal;
    margin-top: 10px;   
}

.print-customize-popup {
    position: absolute;
    border: 1px solid #CCCCCC;
    display: none;
    /* overflow: hidden; */
    -webkit-box-shadow: 4px 4px 0px rgba(0,0,0,0.45);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.45);
    z-index: 1004;
    /*width: 602px;*/
    width: 320px;
    height: auto;
    padding-bottom: 20px;
    left: 0px;
    top: -290px;
    opacity: 1;
    background-color: white;
}

.client-visible.print-customize-popup {
    width: 604px;
}

.client-input-block {
    display: none;
}

.client-visible.print-customize-popup .advisor-input-block {
    width: 50%;
}
.client-visible.print-customize-popup .client-input-block {
    display: block;
    width: 50%;
    float: right;
}

.advisor-input-block *, 
.client-input-block * {
    box-sizing: border-box;
}

.advisor-input-block .question input,
.client-input-block .question input {
    display: block;
    padding: 3px 5px;
    border: 1px solid #cccccc;
    margin: 0px 5px;
    text-align: left;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    color: #666666;
    font-size: 90%;
    width: 100%;
    height: 28px;
    float: none;
    margin: 0;
}

.advisor-input-block .question,
.client-input-block .question {
    margin-bottom: 15px;
}

.advisor-input-block .question label,
.client-input-block .question label {
    margin-bottom: 4px;
    display: block;
}

.print-customize-popup h2 {
    margin-bottom: 10px;
}

.print-customize-popup input[type="text"]:focus,
.print-customize-popup input[type="number"]:focus {
    border-color: #3298cb;
}

.customize-inputs {
    padding: 0 10px
}

.prov-pop {
	    margin-top: 5px;
}

.info-title {
    font-weight: bold;
    color: #d81e05;
}

.right-head {
    float: right;
    width: 36%;
    display: none;
}

.left-head {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

.info-text {
        font-size: 12px;
}

.head-info {
    overflow: auto;
}

.info-divider {
    height: 6px;
}
.validationerror{
	background-color: #FFDADA;
	color: #a02525!important;
}
.advisor-info{
	min-height: 58px;
    margin-bottom: 8px;
}
.client-info{
	min-height: 72px;
    /* display: none; */
}

.custom-info .left-head {
    width: 58%;
}
.custom-info .right-head {
    display: inline-block;
}
.client-visible .client-info {
    display: block;
}
.page .table-wrapper {
    position: relative;
}

.page .legal-divider,
#popup-preview .page .legal-divider{
    margin-bottom: 4px;
}

.sr-only {
    clip: rect(0px,0px,0px,0px);
    position: absolute;
}

.error-message {
    display: none;
    color: #D81E05;
    padding: 4px 0;
}

.error-message.visible {
    display: block;
}