/*main view*/
#rrspCalculator button, 
#rrspCalculator a {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#rrspCalculator button.expanded {
	width: 100%;
}

#rrspCalculator hr {
	margin-top: 20px;
	margin-bottom: 35px;
	border-color: #b5b5b5;
}

#rrspCalculator .no-margin-bottom {
	margin-bottom: 0px !important;
}

#rrspCalculator .no-margin-top {
	margin-top: 0px !important;
}

#rrspCalculator .section-title hr {
	margin-top: 40px;
	margin-bottom: 40px;
}

#rrspCalculator button.link-style {
	background-color: transparent;
	padding: 0px;
	margin: 0;
	min-height: 0px;
	width: auto;
	color: #8B1D41;
	margin-top: 20px;
}
#rrspCalculator button.link-style span {
	display: inline;
}

#rrspCalculator button.link-style:hover  {
	color: #C41F3E;
	
}

#rrspCalculator button.link-style .link-content{
	border-bottom: 1px solid transparent;
}

#rrspCalculator button.link-style:hover .link-content{
	border-bottom: 1px solid #C41F3E;
}


#rrspCalculator .header-row {
	background-color: #C41F3E;
	color: #fff;
	padding: 40px 0 80px;
	display: block;
	text-align: center;
}

#rrspCalculator .header-row .row {
	margin-bottom: 0;
}

#rrspCalculator .header-row .h1-title {
	margin-top: 0;
	margin-bottom: 0;
}

#rrspCalculator .header-row .h1-title,
#rrspCalculator .header-row p {
	display: block;
	color: #fff;
}

#rrspCalculator .header-row p {
	margin-bottom: 0;
}


#rrspCalculator #progress {
	text-transform:uppercase;
	letter-spacing:2.5px;
}

#rrspCalculator #stepControl {
	display: block;
	margin: auto;
	width: auto;
	margin-top: -40px;
	background: #fff;
}

#rrspCalculator .step-control ul li {
	float: none;
}

#rrspCalculator #infoBox {
	position: relative;
	margin-top: 30px;
	display: none;
}

#rrspCalculator #infoBox>div {
	display: none;

}

#rrspCalculator #infoBox.visibleInfo-your-tax-rate,
#rrspCalculator #infoBox.visibleInfo-your-tax-rate .your-tax-rate,
#rrspCalculator #infoBox.visibleInfo-investment-plan,
#rrspCalculator #infoBox.visibleInfo-investment-plan .investment-plan {
	display: block;
}

#rrspCalculator #infoBox .columns {
	padding: 35px;
	display: flex;
	align-items: center;
}

#rrspCalculator #infoBox img {
	width: 80px;
	margin-right: 35px;
}

#rrspCalculator #infoBox p {
	margin-bottom: 0;
	display: inline-block;
}

#rrspCalculator .section-title {
	text-align: center;
}

#rrspCalculator .section-title p {
	margin-top: 10px;
}


#rrspCalculator .top-tile {
	height: 140px;
	background-color: #F2F3F2;
	background-position: center center;
	background-size: cover;
}

#rrspCalculator .top-tile img {
	width: 250px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

#rrspCalculator .nav-controls {
	margin-top: 30px;
}


@media only screen and (min-width: 960px) {  
	.large-12.medium-8.medium-offset-2 {
		margin-left: 0!important;
	}
}

@media only screen and (max-width: 959px) {
	#rrspCalculator .header-row {
		padding: 20px 0 50px;
	}

	#rrspCalculator #stepControl {
		margin-top: -25px;
		margin-left: 20px;
		margin-right: 20px;
	}


	#rrspCalculator .header-row .h1-title,
	#rrspCalculator .header-row p {
		display: block;
		text-align: center;
	}

	#rrspCalculator .header-row p {
		padding-top: 5px;
		margin-left: 0;
	}

	#rrspCalculator hr {
		margin-top: 20px;
		margin-bottom: 30px;
	}
}


@media only screen and (min-width: 768px) and (max-width: 959px) { 

	#rrspCalculator .step-view-item > .row {
		margin-left: 20px;
		margin-right: 20px;
	}

	#rrspCalculator .nav-controls {
		margin-top: 30px;
		margin-bottom: 0;
	}

	#rrspCalculator #infoBox {
		margin-top: 20px;
	}

	#rrspCalculator #infoBox > div {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 830px) {
	#rrspCalculator .label-wrapper.to-bottom {
		min-height: 52px;
	}

}

@media only screen and (max-width: 767px) {

	.no-padding-small {
		padding-left: 0;
		padding-right: 0;
	}

	#rrspCalculator #infoBox .columns{
		padding: 35px 25px;
		flex-direction: column;
	}

	#rrspCalculator #infoBox {
		margin-top: 30px;
		margin-left: 10px;
		margin-right: 10px;
	}

	#rrspCalculator #infoBox img {
		width: 80px;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	#rrspCalculator #infoBox p {
		margin-top: 35px;
		display: block;
		text-align: center;
	}

	#rrspCalculator hr {
		margin-top: 20px;
		margin-bottom: 25px;
	}

	#rrspCalculator .section-title hr {
		margin-top: 25px;
		margin-bottom: 30px;
	}

	#rrspCalculator .nav-controls {
		margin-left: 0.625rem;
		margin-right: 0.625rem;
	}

	#rrspCalculator .nav-controls .to-left {
		float: none;
		margin: auto;
		text-align: center;
		display: block;
	}

	#rrspCalculator .header-row {
		padding: 15px 0;
	}

	#rrspCalculator .header-row .h1-title {
		font-size: 30px;
	}

	#rrspCalculator #stepControl {
		margin: 0 -0.625rem;
	}

	#rrspCalculator .step-view-item {
		padding-left: 10px;
		padding-right: 10px;
	}

	#rrspCalculator .step-view-item p {
		margin-bottom: 25px;
	}
}

/* end main */

/* Utils Panel */
/* #rrspCalculator #utilsPanel {
	margin-bottom: 20px;
}

#rrspCalculator #utilsPanel hr{
	margin-top: 30px;
	margin-bottom: 20px;
} */

/* #rrspCalculator #utilsPanel a, */
#rrspCalculator #utilsPanelResults a {
	display: inline-block;
	border-bottom: 0;
	position: relative;
}

/* #rrspCalculator #utilsPanel a:hover span, */
#rrspCalculator #utilsPanelResults a:hover span {
	border-bottom: 1px solid #c41f3e;
}

/* #rrspCalculator #utilsPanel a:hover span.icon, */
#rrspCalculator #utilsPanelResults a:hover span.icon {
	border-bottom: none;
}


/* #rrspCalculator #utilsPanel img,
#rrspCalculator #utilsPanel a span.icon, */
#rrspCalculator #utilsPanelResults img,
#rrspCalculator #utilsPanelResults a span.icon  {
	width: 24px;
	position: absolute;
	top: 0;
	left: 0;
}

/* #rrspCalculator #utilsPanel img, */
#rrspCalculator #utilsPanelResults img {
	max-height: 24px;
}

/* #rrspCalculator #utilsPanel a span.icon, */
#rrspCalculator #utilsPanelResults a span.icon {
	color: #C41F3E;
	font-size: 1.5rem;
	line-height: 1;
	display: inline-block;
}

/* #rrspCalculator #utilsPanel a span:not(.icon), */
#rrspCalculator #utilsPanelResults a span:not(.icon) {
	margin-left: 32px;
}


@media only screen and (min-width: 768px) and (max-width: 959px) {
	/* #rrspCalculator #utilsPanel hr, 
	#rrspCalculator #utilsPanel hr ~ div */
	#rrspCalculator #utilsPanelResults hr, 
	#rrspCalculator #utilsPanelResults hr ~ div {
		margin-left: 25px;
		margin-right: 25px;
	}
/* 
	#rrspCalculator #utilsPanel #meetWithUsBtn {
		margin-left: 25px;
	} */
}

@media only screen and (min-width: 768px) {
	/* #rrspCalculator #utilsPanel a:not(:last-child), */
	#rrspCalculator #utilsPanelResults a:not(:last-child) {
		margin-right: 36px;
	}

}
/* end utils */

/* Results */
#rrspCalculator #result-right hr {
	margin-top: 25px;
	margin-bottom: 15px;
}

#rrspCalculator #utilsPanelResults hr  {
	margin-top: 20px;
	margin-bottom: 15px;
}

#rrspCalculator #showResult {
	margin-top: 20px;
	margin-bottom: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 959px) { 

	#rrspCalculator #result-right {
		margin-top: 0;
	}

	#rrspCalculator #clearDataBtn {
		display: inline-block;
		margin-top: 31px;
		line-height: normal;
	}
}

@media only screen and (max-width: 767px) { 

	#rrspCalculator #result-right {
		margin-top: 15px;
	}

	#rrspCalculator #result-right hr {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	#rrspCalculator #utilsPanelResults hr {
		margin-top: 30px;
		margin-bottom: 15px;
	}

	#rrspCalculator #result-left p {
		text-align: left;
		margin-bottom: 10px;
	}


	#rrspCalculator #utilsPanelResults a {
		display: block;
	}

	#rrspCalculator #utilsPanelResults #printBtn {
		margin-bottom: 10px;
	}

	#rrspCalculator #showResult {
		margin-top: 25px;
	}

}
/* end results */

/* graph */

#rrspCalculator #graphNotation {
	margin-top: 10px;
}


#rrspCalculator #graphNotation:after {
	clear: both;
	display: table;
	content: "";
}

#rrspCalculator #graphNotation h4 {
	text-align: center;
	margin-bottom: 0 !important;
}


#rrspCalculator #graphNotation p.amount {
	text-align: center;
	margin-bottom: 0 !important;
}

#rrspCalculator .tooltipText {
	font-size: 14px;
    line-height: 20px;
}


#rrspCalculator #graph {
	margin-bottom: 20px;
}

#rrspCalculator #graphTable {
	display: none;
	border: none;
    width: 100%;
    border-spacing: 0;
    margin-bottom: 30px;
    overflow: auto;
}

#rrspCalculator #graphTable th {
	background-color: #DDDDDD;
    padding: 9px 10px;
    color: #333;
    padding: 10px 16px;
}

#rrspCalculator #graphTable td {
	font-size: 16px;
    line-height: 26px;
    padding: 9px 10px;
    border-bottom: 1px solid #B5B5B5;
    background-color: #fff;
    color: #333;
    padding: 10px 16px;
}

#rrspCalculator #graphTable tr.alt td {
	background-color: #F2F3F2;
}

#rrspCalculator #graphSection .circle {
	width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 50%;
    margin-right: 14px;
    line-height: 20px;
}

#rrspCalculator #graphSection .circle-tooltip {
	width: 13px;
    height: 13px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}


#rrspCalculator #graphSection .circle.regular {
	background-color: #8B1D41;
}

#rrspCalculator #graphSection .circle.rrsp {
	background-color: #0767A8;
}

#rrspCalculator #showTableLink {
	margin-bottom: 20px;
	text-align: left;
}

#rrspCalculator #showTableLink .inline-arrow {
    margin-left: 7px;
    display: inline;
}

#rrspCalculator #showTableLink .icon-arrow-up {
	vertical-align: bottom;
}

#rrspCalculator #showTableLink .icon-arrow-down {
	vertical-align: top;
}

@media only screen and (min-width: 768px) {
	#rrspCalculator #graphNotation {
		margin-left: 70px;
		margin-right: 0px;
		display: flex;
		justify-content: stretch;
	}
}

@media only screen and (max-width: 767px) {
	
	#rrspCalculator #graphNotation #notationReg,
	#rrspCalculator #graphNotation #notationRRSP {
		margin-left: 0!important;
		float: none;
	}

	#rrspCalculator #graphNotation #notationReg {
		margin-bottom: 10px;
	}

	#rrspCalculator #graphNotation #notationRRSP {
		margin-bottom: 20px;
	}

	#rrspCalculator #graphNotation h4,
	#rrspCalculator #graphNotation .body-copy,
	#rrspCalculator #graphNotation p.amount {
		text-align: left;
	}

	#rrspCalculator #graphNotation .body-copy {
		font-size: 1rem;
		line-height: 1.625;
	}

	html.text-size1 button,
	#rrspCalculator #graphSection .name {
		font-size: 16px;
	}
	#rrspCalculator #showTableLink {
		margin-bottom: 40px;
	}
}

/*** end graph ***/

/*modal*/

#clearDataModal #clearDataModal-content {
	padding-left: 40px;
	padding-right: 40px;
}

#clearDataModal #clearDataModal-content button {
	min-width: 7.25rem;
	display: inline-block;
}

#clearDataModal #clearDataModal-content button + button {
	float: right;
}

/*end modal*/

/* Print view */

@media print {
	@page {
	    size: 12in 14.5in;
	    margin-right: 0!important;
	    padding-right: 0!important;
	}

	div {
    	max-height: 99%;
    }

	body {
		-webkit-print-color-adjust: exact!important;
		/* color-adjust: exact; */
		print-color-adjust: exact !important; 
	}

	#blq-content,
	.terms-wrapper {
		width: 88%;
	}

	
	#rrspCalculator #graph {
		width: 100%!important;
	}

	.highcharts-container svg {
		width: 95%!important;
	}

	#desktop-header, 
	#mobile-header,
	.featurebannercontainer:first-child,
	.secondarynav,
	.layoutcontainer:not(:has(#rrspCalculator)),
	#onetrust-consent-sdk,
	.layoutcontainer + .horizontalrule,
	#rrspCalculator .step-accordion,
	#rrspCalculator .nav-controls,
	#rrspCalculator .calculator-title,
	#clearDataBtn,
	#showResult,
	#showTableLink,
	#printBtn {
		display: none !important;
	}

	html[lang="en"] #rrspCalculator #results #result-right{
		page-break-inside: avoid;
	}


    #rrspCalculator .circle.regular {
    	background-color: #8B1D41!important;
    	print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
    }

    #rrspCalculator .circle.rrsp {
    	background-color: #0767A8!important;
    	print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
    }

	#rrspCalculator #utilsPanelResults a {
		margin-right: 15px !important;
		text-decoration: none !important;
	}

	#rrspCalculator #utilsPanelResults hr {
		display: none;
	}

	#utilsPanelResults .icon,
	.spinbutton-wrapper .icon,
	.meet-with-us .icon {
		color: #c41f3e !important;
		border-bottom: none !important;
	}


	#rrspCalculator #graphNotation {
		margin-left: 70px;
		margin-right: 0px;
		display: flex;
		justify-content: stretch;
	}

	#rrspCalculator #graphTable th {
		background-color: #DDDDDD!important;
		print-color-adjust: exact!important;
		-webkit-print-color-adjust: exact!important;
	}

	#rrspCalculator #graphTable tr.alt td {
		background-color: #F2F3F2!important;
		print-color-adjust: exact!important;
		-webkit-print-color-adjust: exact!important;
	}

	#rrspCalculator .input-format {
  		display: none !important;
  	}

  	#rrspCalculator .step-view-item select {
  		width: 100%!important;
  		background-image: none;
  	}

  	#rrspCalculator hr {
  		margin-bottom: 10px;
  	}

  	.page-break {
        clear: both;
        page-break-after: always;
    }

    .terms-wrapper {
    	margin-top: 10px;
    }

    /* .terms-wrapper.no-print {
    	display: none;
    } */

    .terms-header-wrapper {
    	background-color: #FFF;
    }

    .terms-header-wrapper button.termsTitle {
    	color: #C41F3E!important;
    	background-color: #FFF!important;
    }
    .termsContainer .terms .terms-navigation > button::after {
    	content: '';
	    display: inline-block;
	    width: 4px;
	    height: 26px;
	    background: #c41f3e!important;
	    print-color-adjust: exact!important;
	    -webkit-print-color-adjust: exact!important;
	    position: absolute;
	    left: 10px;
	    top: 20px;

    }

    .terms-header-wrapper .terms .terms-navigation > button .termsArrow {
    	color: #C41F3E!important;
    }

    .termsContainer .terms .terms-navigation>button .termsArrow::before {
    	content: "\e63b";
    }
    .terms-content-wrapper .terms-content-inner-wrapper .content {
    	display: block!important;
    	width: 100%!important;
    }
}


@media print and (max-width: 767px) {
	
	#rrspCalculator #graphNotation #notationReg,
	#rrspCalculator #graphNotation #notationRRSP {
		margin-left: 0!important;
		float: none;
	}

	#rrspCalculator #graphNotation #notationReg {
		margin-bottom: 10px;
	}

	#rrspCalculator #graphNotation #notationRRSP {
		margin-bottom: 20px;
	}

	#rrspCalculator #graphNotation h4,
	#rrspCalculator #graphNotation .body-copy,
	#rrspCalculator #graphNotation p.amount {
		text-align: left;
	}

	#rrspCalculator #graphNotation .body-copy {
		font-size: 1rem;
		line-height: 1.625;
	}
}