
/*main view*/

#btCalculator button.expanded {
	width: 100%;
}


#btCalculator hr {
	margin-top: 1.875rem;
	margin-bottom: 1.875rem;
	border-color: #b5b5b5;
}

#btCalculator #results > hr {
	margin-top: 0;
	margin-bottom: 3.75rem;
}

#btCalculator .no-margin-bottom {
	margin-bottom: 0!important;
}

#btCalculator .no-margin-top {
	margin-top: 0!important;
}

#btCalculator .no-padding {
	padding: 0!important;
}

#btCalculator p.subhead-medium {
	margin-bottom: 0.625rem;
}

#btCalculator p.subhead-medium + p {
	margin-bottom: 1.25rem;
}


#btCalculator .legend-header.tooltip-wrapper.tooltip-inline{
	top: 0.5rem;
}

#btCalculator .legend-header-space {
	margin-bottom: 1.25rem;
}

#btCalculator .legend-space-top {
	margin-top: 1.25rem;
}

#btCalculator #showResult {
	margin-bottom: 1.25rem;
}


/*@media only screen and (min-width: 960px) {  
	.large-12.medium-8.medium-offset-2 {
		margin-left: 0!important;
	}
}*/

@media only screen and (min-width: 768px) and (max-width: 959px) { 

	#btCalculator #result-right {
		margin-top: 0;
	}

}

@media only screen and (max-width: 767px) {

	#btCalculator hr {
		margin-top: 1.25rem;
		margin-bottom: 1.25rem;
	}

	#btCalculator #result-left p {
		text-align: left;
		margin-bottom: 0.625rem;
	}

	#btCalculator #result-right {
		margin-top: 0.3125rem;
	}

}

/* end main */


/* promo section */
#btCalculator #promoSection{
	background-color: #F2F3F2;
    padding: 1.25rem;
	text-align: center;
	margin-bottom: 1.875rem;
}

#btCalculator #promoSection .offer-ribbon-secondary {
	display: inline-block;
}

#btCalculator #promoSection p, 
#btCalculator #promoSection h2 {
	margin-bottom: 0.625rem;
}

#btCalculator #promoSection #savingsAmount {
	display: block;
	margin-top: 0.625rem;
	margin-bottom: 0.625rem;
}
#btCalculator #promoSection #promoPeriod {
	display: block;
	margin-top: 0.625rem;
}

@media only screen and (max-width: 767px) {
	#btCalculator #promoSection{
		margin-bottom: 1.25rem;
	}
}

/* end promo section */

/* graph */


#btCalculator .tooltipText {
	font-size: 0.875rem;
    line-height: 1.25rem;
}

#btCalculator #graph {
	margin-bottom: 1.25rem;
}

#btCalculator #graph h3{
	margin-bottom: 0.625rem;
}

#btCalculator #graphSection .graph-legend{
	margin-top: 0.625rem;
	padding-top: 0.9375rem;
	padding-bottom: 0.9375rem;
	margin-bottom: 1rem;
}

#btCalculator #graphSection .circle {
	width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0.875rem;
    line-height: 1.25rem;
}

#btCalculator #graphSection .circle-tooltip {
	width: 0.8125rem;
    height: 0.8125rem;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0.3125rem;
	position: relative;
	top: 0.125rem;
}


#btCalculator #graphSection .circle.non-cibc {
	background-color: #8B1D41;
}

#btCalculator #graphSection .circle.cibc-promo {
	background-color: #0767A8;
}

@media only screen and (max-width: 767px) {
	#btCalculator #graphSection .graph-legend div:first-child {
		margin-bottom: 1.25rem;
	}

	#btCalculator #graphSection .graph-legend{
		margin-top: 0.9375rem;
		padding-top: 0.9375rem;
		padding-bottom: 0.9375rem;
		margin-bottom: 1.875rem;
	}
}


/* end graph */

/* show/hide links */

#btCalculator button.link-style {
	background-color: transparent;
	padding: 0;
	margin: 0;
	min-height: 0;
	width: auto;
	color: #8B1D41;
}

#btCalculator button.link-style {
	margin-bottom: 1.25rem;
	text-align: left;
	display: block;
}

#btCalculator button.link-style span {
	display: inline;
}

#btCalculator button.link-style:hover  {
	color: #C41F3E;
	
}

#btCalculator button.link-style .link-content{
	border-bottom: 1px solid transparent;
}

#btCalculator button.link-style:hover .link-content{
	border-bottom: 1px solid #C41F3E;
}


#btCalculator button.link-style .inline-arrow {
    margin-left: 0.4375rem;
    display: inline;
}

#btCalculator button.link-style .icon-arrow-up {
	vertical-align: bottom;
}

#btCalculator button.link-style .icon-arrow-down {
	vertical-align: top;
}

#btCalculator #tableWrapper {
	overflow-x: auto;
	display: none;
}

#btCalculator #graphTable {
	display: table;
	border: none;
    width: 100%;
    border-spacing: 0;
    margin-bottom: 1.25rem;
}

#btCalculator #graphTable caption {
	display: none;
}

#btCalculator #graphTable tr:nth-of-type(even) {
	background-color: #FFF;
}


#btCalculator #graphTable th,
#btCalculator #graphTable td {
	font-size: 1rem;
    line-height: 1.625rem;
    border-top: 1px solid #86888A;
	border-left: 1px solid #86888A;
    background-color: #fff;
    color: #383B3E;
    padding: 0.75rem 0.625rem;
}
#btCalculator #graphTable th {
	font-family: Whitney-Medium-Pro, Arial, Helvetica, sans-serif;
	font-weight: 350;
}

#btCalculator #graphTable tr th:last-child,
#btCalculator #graphTable tr td:last-child {
	border-right: 1px solid #86888A;
}

#btCalculator #graphTable tr:last-child th,
#btCalculator #graphTable tr:last-child td {
	border-bottom: 1px solid #86888A;
}

#btCalculator #calculationAssumptions {
	display: none;
	margin-bottom: 1.25rem;
}

#btCalculator #calculationAssumptions ul li {
	margin-bottom: 0;
}


@media only screen and (max-width: 767px) {
	
	#btCalculator #showTableLink {
		margin-bottom: 1.25rem;
	}
}

/* end show/hide links */


/* Utils Panel */

#btCalculator #utilsPanelResults a {
	display: inline-block;
	border-bottom: 0;
	position: relative;
}

#btCalculator #utilsPanelResults hr {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

#btCalculator #utilsPanelResults a:hover span {
	border-bottom: 1px solid #c41f3e;
}

#btCalculator #utilsPanelResults a:hover span.icon {
	border-bottom: none;
}

#btCalculator #utilsPanelResults img,
#btCalculator #utilsPanelResults a span.icon  {
	width: 1.5rem;
	position: absolute;
	top: 0;
	left: 0;
}

#btCalculator #utilsPanelResults img {
	max-height: 1.5rem;
}

#btCalculator #utilsPanelResults a span.icon {
	color: #C41F3E;
	font-size: 1.5rem;
	line-height: 1;
	display: inline-block;
}

#btCalculator #utilsPanelResults a span:not(.icon) {
	margin-left: 2rem;
}


@media only screen and (min-width: 768px) {

	#btCalculator #utilsPanelResults a:not(:last-child) {
		margin-right: 2.25rem;
	}

}

@media only screen and (max-width: 767px) { 

	#btCalculator #utilsPanelResults a {
		display: block;
	}

	#btCalculator #utilsPanelResults #printBtn {
		margin-bottom: 0.625rem;
	}

}


/* end utils */


/* 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;
		print-color-adjust: exact !important; 
	}

	#blq-content,
	.terms-wrapper {
		width: 88%;
	}

	
	#btCalculator #graph {
		width: 100%!important;
	}

	#btCalculator .highcharts-container svg {
		width: 95%!important;
	}

	#onetrust-consent-sdk,
	#enterprise-chat-wrapper,
	.mm-container,
	#mobile-header,
	.featurebannercontainer,
	.stickynav,
	.intelliresponseform,
	footer,
	#noPrint1,
	#noPrint2,
	#noPrint3, 
	#noPrint4,
	#noPrint5 {
		display: none!important;
	}

	#btCalculator #showResult,
	#btCalculator #printBtn,
	#btCalculator hr,
	#btCalculator .input-format,
	#btCalculator .tooltip-wrapper,
	#btCalculator .no-print {
		display: none !important;
	}

	#btCalculator .custom-select {
		border: 0px;
		background-image: none;
		padding-left: 0!important;
	}

	#btCalculator .input-wrapper input {
		border: 0px;
	}

	#btCalculator .input-wrapper.left-align span.input-symbol ~ input {
		padding-left: 0.9375rem;
	}

	#btCalculator .input-wrapper.left-align span.input-symbol.to-right ~ input {
		padding-left: 0;
	}

	#btCalculator .input-wrapper span.input-symbol {
		left: 0;
	}

	#btCalculator .input-wrapper span.input-symbol.to-right {
		right: auto;
		left: 2.8125rem;
	}


	#btCalculator #promoSection {
		background-color: #F2F3F2!important;
		print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
	}

	#btCalculator #graphSection {
		margin-top: 3.75rem;
	}

	#btCalculator p.offer-ribbon-secondary {
		background-color: #005377!important;
		color: #FFF!important;
		print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
	}


    #btCalculator .circle.non-cibc {
    	background-color: #8B1D41!important;
		print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
    }

    #btCalculator .circle.cibc-promo {
    	background-color: #0767A8!important;
		print-color-adjust: exact!important;
    	-webkit-print-color-adjust: exact!important;
    }

  	.page-break {
        clear: both;
        page-break-after: always;
    }


    .terms-wrapper {
    	margin-top: 0.625rem;
    }

    .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: 0.25rem;
	    height: 1.625rem;
	    background: #c41f3e!important;
		print-color-adjust: exact!important;
	    -webkit-print-color-adjust: exact!important;
	    position: absolute;
	    left: 0.625rem;
	    top: 1.25rem;

    }

    .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;
    }
}

