.add-margin-bottom {
	margin-bottom: 25px !important;
}

#tfsaCalculator .full-width {
	width: 100%;
}

@media only screen and (max-width: 767px) {

	#tfsaCalculator {
		margin-bottom: 20px;
	}

	#tfsaCalculator .no-padding-small,
	#tfsaCalculator form .row .row .columns.no-padding-small {
		padding-left: 0;
		padding-right: 0;
	}

	#tfsaCalculator button, #tfsaCalculator .button, #tfsaCalculator a.button {
		font-size: 16px;
		line-height: 26px;
	}

}

#tfsaCalculator #results p {
	margin-bottom: 30px;
}



@media only screen and (min-width: 960px) {

	/*large layout has wrong margin on foundation*/
	.large-12.medium-offset-2,
	.large-12.medium-offset-1,
	.large-7.medium-offset-1,
	.large-5.medium-offset-1 {
		margin-left: 0 !important;
	}
}

@media only screen and (min-width: 768px) {
	.medium-12.small-offset-2 {
		margin-left: 0 !important;
	}

	.medium-12.small-offset-1 {
		margin-left: 0 !important;
	}

}


.clear {
	clear: both;
}

.bold {
	font-family: 'Whitney-Medium-Pro';
}


#tfsaCalculator form .row .row .column,
#tfsaCalculator form .row .row .columns {
	padding: 0 0.75rem;
}

#tfsaCalculator #retirement .row .row .column,
#tfsaCalculator #retirement .row .row .columns {
	padding: 0 0.5rem;
}

#tfsaCalculator hr {
	margin-top: 20px;
	margin-bottom: 35px;
	border-color: #b5b5b5;
}

#tfsaCalculator .no-margin-bottom {
	margin-bottom: 0px !important;
}

#tfsaCalculator .no-margin-top {
	margin-top: 0px !important;
}

#tfsaCalculator .section-title hr {
	margin-top: 40px;
}


#tfsaCalculator button.link-style {
	background-color: transparent;
	padding: 0px;
	margin: 0;
	min-height: 0px;
	width: auto;
	color: #8B1D41;
	margin-top: 20px;
}

#tfsaCalculator button.link-style span {
	display: inline;
}

#tfsaCalculator button.link-style:hover  {
	color: #C41F3E;	
}

#tfsaCalculator button.link-style .link-content{
	border-bottom: 1px solid transparent;
}

#tfsaCalculator button.link-style:hover .link-content{
	border-bottom: 1px solid #C41F3E;
}

#tfsaCalculator #info-box {
	position: relative;
	margin-top: 40px;
	display: none;
}

#tfsaCalculator #info-box>div {
	display: none;

}

#tfsaCalculator #info-box.visibleInfo-investment-info-1,
#tfsaCalculator #info-box.visibleInfo-investment-info-1 .investment-info-1,
#tfsaCalculator #info-box.visibleInfo-investment-info-2,
#tfsaCalculator #info-box.visibleInfo-investment-info-2 .investment-info-2 {
	display: block;
}

#tfsaCalculator #info-box img {
	width: 80px;
	margin-left: 30px;
	padding-top: 20px;
	padding-bottom: 20px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(0, -50%);
}

#tfsaCalculator #info-box p {
	margin-bottom: 0;
	padding: 30px;
	margin-left: 110px;
	display: inline-block;
}


@media only screen and (min-width: 768px) and (max-width: 959px) { 

	#tfsaCalculator #info-box > div {
		margin-left: 25px;
		margin-right: 25px;
	}
}

@media only screen and (max-width: 767px) {


	#tfsaCalculator #info-box {
		margin-top: 25px;
		padding-left: 10px;
		padding-right: 10px;
	}

	#tfsaCalculator #info-box img {
		width: 80px;
		margin-left: auto;
		margin-right: auto;
		display: block;
		padding-bottom: 0;
		padding-top: 30px;
		position: relative;
		left: 0;
		top: 0;
		transform: translate(0, 0);
	}

	#tfsaCalculator #info-box p {
		margin-bottom: 0;
		padding: 30px 20px;
		margin-left: 0;
		display: block;
		text-align: center;
	}

	#tfsaCalculator .section-title hr {
		margin-top: 25px;
	}

}


#tfsaCalculator .section-title {
	text-align: center;
}

#tfsaCalculator .section-title p {
	margin-top: 10px;
}

#tfsaCalculator #results label {
	line-height: 1.5;
}


#tfsaCalculator .top-tile {
	height: 140px;
	background-color: #F2F3F2;
	background-position: center center;
	background-size: cover;
}

#tfsaCalculator .top-tile img {
	width: 250px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/* Results */
#tfsaCalculator #results hr {
	margin-top: 10px;
}

#tfsaCalculator #result-right hr {
	margin-top: 25px;
	margin-bottom: 15px;
}

@media only screen and (min-width: 768px) and (max-width: 959px) { 
	#tfsaCalculator #results {
		margin-top: 20px;
	}

	#tfsaCalculator #results #result-right {
		margin-top: 25px;
	}
}

@media only screen and (max-width: 767px) { 
	#tfsaCalculator #results {
		margin-top: 25px;
	}
}


#tfsaCalculator #results #result-right hr {
	margin-bottom: 15px;
}

#tfsaCalculator .addiSavingBox {
	background-color: #F2F3F2;
	padding: 0px 10px;
}

#tfsaCalculator .addiSavingBox img {
	width: 100px;
	float: left;
}

#tfsaCalculator .addiSavingBox p {
	float: left;
	margin-top: 10px;
    margin-bottom: 10px !important;
}

#tfsaCalculator .addiSavingBox p .addiSaving {
	font-size: 26px;
	line-height: 36px;
	font-weight: bold;	
}

/* Utils Panel */
#tfsaCalculator #utilsPanel hr,
#tfsaCalculator #utilsPanelResults hr {
	margin-top: 40px;
	margin-bottom: 20px;
}

#tfsaCalculator #utilsPanel a,
#tfsaCalculator #utilsPanelResults a {
	display: inline-block;
	border-bottom: 0;
	position: relative;
}

#tfsaCalculator #utilsPanel a:hover span,
#tfsaCalculator #utilsPanelResults a:hover span {
	border-bottom: 1px solid #c41f3e;
}

#tfsaCalculator #utilsPanel a:hover span.icon,
#tfsaCalculator #utilsPanelResults a:hover span.icon {
	border-bottom: none;
}


#tfsaCalculator #utilsPanel img,
#tfsaCalculator #utilsPanel a span.icon,
#tfsaCalculator #utilsPanelResults img,
#tfsaCalculator #utilsPanelResults a span.icon  {
	width: 24px;
	position: absolute;
	top: 0;
	left: 0;
}

#tfsaCalculator #utilsPanel img,
#tfsaCalculator #utilsPanelResults img {
	max-height: 24px;
}

#tfsaCalculator #utilsPanel a span.icon,
#tfsaCalculator #utilsPanelResults a span.icon {
	color: #C41F3E;
	font-size: 1.5rem;
	line-height: 1;
	display: inline-block;
}

#tfsaCalculator #utilsPanel a span:not(.icon),
#tfsaCalculator #utilsPanelResults a span:not(.icon) {
	margin-left: 32px;
}

#tfsaCalculator #results .row .columns:not(:last-child) {
	margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {

	#tfsaCalculator #utilsPanel a:not(:last-child),
	#tfsaCalculator #utilsPanelResults a:not(:last-child) {
		margin-right: 36px;
	}
}


@media only screen and (max-width: 959px) {
	#tfsaCalculator hr {
		margin-top: 20px;
		margin-bottom: 30px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {

	#tfsaCalculator #results>.row {
		margin-left: 20px;
		margin-right: 20px;
	}

	#tfsaCalculator #utilsPanel hr,
	#tfsaCalculator #utilsPanel hr ~ div,
	#tfsaCalculator #utilsPanelResults hr, 
	#tfsaCalculator #utilsPanelResults hr ~ div {
		margin-left: 25px;
		margin-right: 25px;
	}

	#tfsaCalculator #results .row .columns:not(:last-child) {
		margin-bottom: 0;
	}

	#tfsaCalculator #utilsPanel #meetWithUsBtn {
		margin-left: 25px;
	}

	#tfsaCalculator #clearDataBtn {
		display: inline-block;
		margin-top: 11px;
		line-height: normal;
	}
}

@media only screen and (max-width: 767px) {
	#tfsaCalculator #results {
		padding-left: 10px;
		padding-right: 10px;
	}

	#tfsaCalculator #results p {
		margin-bottom: 25px;
	}

	#tfsaCalculator #result-left p {
		text-align: left;
		margin-bottom: 10px;
	}

	#tfsaCalculator #utilsPanel hr {
		margin-top: 25px;
		margin-bottom: 20px;
	}	

	#tfsaCalculator #utilsPanelResults hr {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.spinbutton-wrapper .button-increase,
	.spinbutton-wrapper .button-decrease {
		
		margin-top: 0px;
	}

	#tfsaCalculator #utilsPanel {
		margin: 0px;
		padding-left: 10px;
		padding-right: 10px;
	}

	#tfsaCalculator #utilsPanelResults a {
		display: block;
	}

	#tfsaCalculator #utilsPanelResults #printBtn {
		margin-bottom: 10px;
	}

	#tfsaCalculator hr {
		margin-top: 20px;
		margin-bottom: 25px;
	}
}

/*end main view*/

/*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*/

/*** start graph ***/
#tfsaCalculator .graphNotation div {
	float: left;
	margin: 10px 0 30px 0;
}

#tfsaCalculator .graphNotation h4 {
	font-size: 16px !important;
	line-height: 26px !important;
	text-align: center;
	margin-bottom: 0 !important;
	font-family: "Whitney-Medium-Pro";
}


#tfsaCalculator .graphNotation p.amount {
	font-size: 26px;
	line-height: 36px;
	text-align: center;
	margin-bottom: 0 !important;
	font-family: "Whitney-Medium-Pro";
}

#tfsaCalculator .graphNotation .taNotation {
	margin-left: 24%;
}

#tfsaCalculator .graphNotation .tfsaNotation {
	margin-left: 30%;
}

#tfsaCalculator #graph {
	margin-bottom: 20px;
}

#tfsaCalculator .table-wrapper {
	overflow: auto;
}

#tfsaCalculator #graphTable {
	display: none;
	border: none;
    width: 100%;
    border-spacing: 0;
    margin-bottom: 30px;
}

#tfsaCalculator #graphTable th {
	font-family: Whitney-Semibld-Pro;
	background-color: #DDDDDD;
	font-size: 16px;
    line-height: 26px;
    padding: 9px 10px;
    color: #333;
}

#tfsaCalculator #graphTable td {
	font-size: 16px;
    line-height: 26px;
    padding: 9px 10px;
    border-bottom: 1px solid #B5B5B5;
    background-color: #fff;
    color: #333;
}

#tfsaCalculator #graphTable tr.alt td {
	background-color: #F2F3F2;
}

#tfsaCalculator .graphSection .circle {
	width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 50%;
    margin-right: 14px;
    line-height: 20px;
}

#tfsaCalculator .graphSection .circle-tooltip {
	width: 13px;
    height: 13px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

#tfsaCalculator .graphSection .circle.sCon {
	background-color: #089E94;
}

#tfsaCalculator .graphSection .circle.oCon {
	background-color: #8B1D41;
}

#tfsaCalculator .graphSection .circle.aInc {
	background-color: #0767A8;
}

#tfsaCalculator #showTableLink {
	margin-bottom: 20px;
	text-align: left;
}

#tfsaCalculator  #showTableLink .inline-arrow {
    margin-left: 7px;
    display: inline;
}

#tfsaCalculator  #showTableLink .icon-arrow-up {
	vertical-align: bottom;
}

#tfsaCalculator  #showTableLink .icon-arrow-down {
	vertical-align: top;
}


#tfsaCalculator .TFSABox {
	background-color: #E1EAF7;
	text-align: center;
	padding: 30px 0;
}


#tfsaCalculator .TFSABox .investNowLink {
	border: none;
    margin-top: 20px;
    width: 185px;
    height: 48px;
    line-height: 48px;
    padding: 0;
}

#tfsaCalculator .TFSABox .icon-success {
	color: #C41F3E;
}


@media only screen and (max-width: 767px) { 
	#tfsaCalculator .TFSABox {
		padding: 30px 20px;
	}

	#tfsaCalculator .graphNotation {
		margin-bottom: 20px;
	}

	#tfsaCalculator .graphNotation p.amount {
		text-align: left;
	}

	#tfsaCalculator .graphNotation h4 {
		font-family: 'Whitney-Book-Pro';
		text-align: left;
	}

	#tfsaCalculator .graphNotation .taNotation {
		margin-left: 0;
	}

	#tfsaCalculator .graphNotation .tfsaNotation {
		margin-left: 0;
	}

	#tfsaCalculator .graphNotation div {
		float: none;
		margin: 0;
	}
}

/*** end graph ***/

/* 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%;
	}

	.terms-wrapper::before{
		content: " ";
		display: table;
		clear: both;
	}

	#tfsaCalculator select {
		background-size: 17px 10px!important;
		background-repeat: no-repeat!important;
	}

	
	#tfsaCalculator #graph {
		width: 100%!important;
	}

	.highcharts-container svg {
		width: 95%!important;
	}

	#mobile-header,
	#tfsaCalculator .calculator-title,
	#learnMoreAboutTFSA,
	#rs-simplify-retirement,
	#exploreYourOptions,
	#clearDataBtn,
	#showTableLink,
	#printBtn {
		display: none !important;
	}

	#tfsaCalculator .circle.sCon {
    	background-color: #089E94!important;
    	-webkit-print-color-adjust: exact!important;
    }

    #tfsaCalculator .circle.oCon {
    	background-color: #8B1D41!important;
    	-webkit-print-color-adjust: exact!important;
    }

    #tfsaCalculator .circle.aInc {
    	background-color: #0767A8!important;
    	-webkit-print-color-adjust: exact!important;
    }

    #tfsaCalculator .addiSavingBox {
		border: 1px solid #000;
		padding: 0px 10px;
	}

	#tfsaCalculator .addiSavingBox img {
		width: 30%;
	}

	#tfsaCalculator .TFSABox {
		border: 1px solid #000;
		page-break-inside: avoid;
	}

	#tfsaCalculator .TFSABox::before {
		content: " ";
		display: table;
		clear: both;

	}

	#tfsaCalculator  #graphTable::after{
		content: " ";
		display: table;
		clear: both;

	}

	#tfsaCalculator #utilsPanelResults a {
		margin-right: 15px !important;
		text-decoration: none !important;
	}


	#utilsPanelResults .icon,
	.TFSABox .icon,
	.spinbutton-wrapper .icon,
	.meet-with-us .icon {
		color: #c41f3e !important;
		border-bottom: none !important;
	}


	#tfsaCalculator .terms-wrapper {
		border-top: none;
	}

	#tfsaCalculator #graphTable.page-break {
		float: none;
	}

	#tfsaCalculator #graphTable th {
		background-color: #DDDDDD!important;
		-webkit-print-color-adjust: exact!important;
	}

	#tfsaCalculator #graphTable tr.alt td {
		background-color: #F2F3F2!important;
		-webkit-print-color-adjust: exact!important;
	}

	#tfsaCalculator .input-format {
  		display: none !important;
  	}

	#tfsaCalculator #results select {
  		width: 100%!important;
  		background-image: none;
  	}

  	#tfsaCalculator  button.primary, #tfsaCalculator .button.primary, #tfsaCalculator  a.button.primary {
  		color: #fff !important;
	    background-color: #c41f3e !important;
	    border: 1px solid #c41f3e !important;
	    -webkit-print-color-adjust: exact!important;
  	}

  	#tfsaCalculator #results {
  		margin-bottom: 100px;
  		float: none;
  	}


  	#tfsaCalculator hr {
  		margin-bottom: 10px;
  	}

  	.page-break {
        clear: both;
        page-break-after: always;
    }
}

@media print and (min-width: 768px) and (max-width: 959px) { 
	#tfsaCalculator .graphNotation .taNotation {
		margin-left: 23% !important;
	}

	#tfsaCalculator .graphNotation .tfsaNotation {
		margin-left: 26% !important;
	}
}

@media print and (max-width: 767px) { 
	#tfsaCalculator .graphNotation {
		margin-bottom: 20px;
	}

	#tfsaCalculator .graphNotation p.amount {
		text-align: left;
	}

	#tfsaCalculator .graphNotation h4 {
		font-family: 'Whitney-Book-Pro';
		text-align: left;
	}

	#tfsaCalculator .graphNotation .taNotation {
		margin-left: 0 !important;
	}

	#tfsaCalculator .graphNotation .tfsaNotation {
		margin-left: 0 !important;
	}

	#tfsaCalculator .graphNotation div {
		float: none;
		margin: 0;
	}
}