/* small business service bar */

.is980 .sb #service-menu li.a {
	width: 205px !important;
}
.is980 .sb #service-menu li.a a.tab {
	width: 175px;
}
.is980 .sb #service-menu li.c {
	left: 0 !important;
	width: 222px !important;
}
/* commercial service bar */

.is980 .com #service-menu li.b .content {
	width: 355px!important;
	height: 315px !important;
}
.is980 .com #service-menu li.c .content {
	left: 0 !important;
	width: 222px !important;
	height: 240px !important;
}
.is980 .com #service-menu li.a .content h4 {
	color: #535353;
	font-size: 1.2em;
	padding: 5px 0;
	margin-top: 10px;
}
.is980 .com #service-menu li.a .content .service-menu-group, .is980 .com #service-menu li.a .content ul {
	float: left;
	width: 155px;
	margin-top: 10px;
	border-left: 20px solid white;
	overflow: hidden;
}
.is980 .com #service-menu li.a .content ul li.hr {
	background: transparent url(/rd/gfx/hr.gif) no-repeat bottom left;
	margin-bottom: 3px;
	padding-bottom: 8px;
}
.is980 .com #service-menu li.a .content ul li {
	height: auto;
	line-height: 1.1em;
	padding: 5px 0;
	font-size: 1.2em;
}
.is980 .com #service-menu li.a .content {
	width: 178px!important;
	height: 220px!important;
}
/*agricultural bios */
    .agricuturalBio {
	background:#e0e0e0;
	padding: 20px 18px 20px 18px;
	width: 100%;
	height:200px;
	margin-bottom:20px;
}
.agricuturalBio img {
	float: left;
	margin:0 20px 0 0;
	width: 25%;
	height:auto;
	padding-bottom: 60px;
}
.is320 .agricuturalBio img {
	float: right;
	margin:0 0 0 20px;
	width: 25%;
	height:auto;
	padding-bottom: 0px;
}
.is320 .agricuturalBio, .is480 .agricuturalBio {
	width:85%;
}
/* SIGN IN SB */
#sign-in-panel {
	list-style: none;
	width: 25em;
}
#sign-in-panel h3 {
	padding: 0 19px;
}
#sign-in-panel li .content {
	width: 25em;
}
/* SIGN IN  Commercial */
#sign-in-panel.com {
	list-style: none;
	width: 27em;
}
#sign-in-panel.com h3 {
	padding: 0 19px;
}
#sign-in-panel.com li .content {
	width: 25em;
}
/* ScotiaFunds Sign In */
#sign-in-panel.scotiafunds {
	list-style: none;
}
#sign-in-panel.scotiafunds p {
	text-align: left;
	margin: 0px 0px 0px 6px;
	border: none;
}
#sign-in-panel.scotiafunds .divider {
	margin: 0 20px;
	border-top: 1px solid #d4d4d4;
}
#sign-in-panel.scotiafunds li .content {
	position: absolute;
	border: 1px solid #e3e3e3;
	border-top: none;
	width: 22.5em;
	height: 0;
	overflow: hidden;
	zoom: 1;
	z-index: 99999;
	margin: -1px 0px 0px -1px;
	padding-top: 0px;
	-webkit-box-shadow: 1px 1px 0 #ccc;
	-moz-box-shadow: 1px 1px 0 #ccc;
	box-shadow: 1px 1px 0 #ccc;
}
#sign-in-panel.scotiafunds li .content .divider {
	margin: 0px 4px 7px 4px;
	border-top: 1px solid #d4d4d4;
}
#sign-in-panel.scotiafunds li .content .sign-in-links {
	background-color: #ffffff;
	margin-top: 0px;
	padding-bottom: 12px;
}
#sign-in-panel.scotiafunds li .content .demoLink {
	background: url(/ca/common/icons/btn-play.gif) no-repeat;
	padding: 2px 0px 5px 25px;
}
#sign-in-panel.scotiafunds li .content .securityLink {
	background: url(/ca/common/icons/icn-security.gif) no-repeat;
	padding: 2px 0px 5px 25px;
}
/* SB FOOTER */

#footer .sb.scotiabank-products li p:before, #footer .scotiabank-contact li p.icon:before {
	background-image: url('/ca/common/icons/sprites-sb.png')!important;
}
#footer .sb.scotiabank-products li.a p:before {
	background-position: -236px -262px;
}
#footer .sb.scotiabank-products li.b p:before {
	background-position: -236px -395px;
}
#footer .sb.scotiabank-products li.d p:before {
	background-position: -236px -323px;
}

#footer .sb li.commercial p.icon:before {
	background-position: -237px -38px;
	margin: -6px -50px 0;
}
#footer .sb li.commercial p.icon {
	/*background:url('/ca/common/icons/sprites-sb.png') -237px -38px no-repeat!important;
*/height: 35px;
	padding: 5px 0 0 47px;
	font-size: 1.2em;
	line-height: 1em;
}
#footer .sb li.locator p.icon:before {
	background-position: -236px -77px;
	margin: -6px -50px 0;
}
#footer .sb li.locator p.icon {
	/*background:url('/ca/common/icons/sprites-sb.png') -236px -77px no-repeat!important;*/
height: 35px;
	padding: 5px 0 0 50px;
	font-size: 1.2em;
	line-height: 1em;
}
#footer-news.sb ul li a span strong {
	color:#D81E05!important;
	display:block;
}
#footer-news.sb ul li {
	width:100%;
}
.is980 #footer .sb.social-media-links {
	top: 156px;
}
/* commercial footer */
#footer .scotiabank-products.comm li {
	width: 172px;
}
#footer .scotiabank-products.comm li p a:hover {
	color: #898E8F!important;
}
#footer .scotiabank-products.comm li.a p:before {
	background: url(/ca/common/icons/ftr-icn-sb-banking-g.gif) 0 7px no-repeat;
}
#footer .scotiabank-products.comm li.b p:before {
	background: url(/ca/common/icons/ftr-icn-financing-g.gif) 0 13px no-repeat;
}
#footer .scotiabank-products.comm li.c p:before {
	background: url(/ca/common/icons/ftr-icn-comm-leasing-g.gif) 0 11px no-repeat;
}
#footer .scotiabank-products.comm li.d p:before {
	background: url(/ca/common/icons/ftr-icn-industries-g.gif) 0 8px no-repeat;
}
#footer .scotiabank-products.comm li.e p:before {
	background: url(/ca/common/icons/ftr-icn-intl-trade-g.gif) 0 7px no-repeat;
}

#footer .secondRow.clearfix.comm {
    margin: 20px !important;
}

#footer .scotiabank-contact.comm li.spot-light {
	padding-left: 0!important;
	width:450px;
}
#footer .scotiabank-contact.comm {
    width: 100%;
    padding-bottom: 20px;
}

#footer .scotiabank-contact.comm p.icon {
	font-size:1.2em!important;
}
#footer .scotiabank-contact.comm li.spot-light p.icon:before, #footer .scotiabank-contact.scotiafunds li.spot-light p.icon:before {
	background: url('/ca/common/icons/sprites.png') 5px -208px no-repeat;
}
#footer .scotiabank-contact.comm li.gtb p.icon:before {
	background: url('/ca/common/icons/gtb-footer-globe.png') no-repeat!important;
}
#footer .scotiabank-contact.comm li.toggle p.icon:before {
	background: url('/ca/common/icons/ftr-small-business.gif') no-repeat!important;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 767px) { 
	#footer .scotiabank-contact.comm p.icon {
		height: auto;
	}
}
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: portrait) {
	#footer .scotiabank-contact.comm p.icon {
		height: auto;
	}	
}
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape) {
	#footer .scotiabank-contact.comm p.icon {
		height: auto;
	}	
}
/* ScotiaFunds FOOTER */

#footer .scotiafunds.scotiabank-products li.a p:before {
	background: url(/ca/common/icons/ftr-icn-funds-overview.gif) 0 8px no-repeat;
}
#footer .scotiafunds.scotiabank-products li.b p:before {
	background: url(/ca/common/icons/ftr-icn-funds-performance.gif) 0 5px no-repeat;
}
#footer .scotiafunds.scotiabank-products li.c p:before {
	background: url(/ca/common/icons/ftr-icn-news.gif) 0 13px no-repeat;
}
#footer .scotiafunds.scotiabank-products li.d p:before {
	background: url(/ca/common/icons/ftr-icn-funds-documents.gif) 0 11px no-repeat;
}
#footer .scotiabank-contact.scotiafunds li.spot-light p.icon {
	height: 35px;
	padding: 5px 0 0 50px;
	font-size: 1.2em;
	line-height: 1em;
}
.is980 #footer .social-media-links.scotiafunds {
	top: 160px;
}
#footer .scotiabank-contact .spot-light span {
	font-size: .8em;
	font-weight: 100;
}


/*About Scotia */
#footer .scotiabank-products.about-scotiabank li {
	width: 172px;
}
#footer .scotiabank-products.about-scotiabank li p a:hover {
	color: #898E8F!important;
}
#footer .scotiabank-products.about-scotiabank li.a p:before {
	background: url(/ca/common/icons/ftr-icn-inside-sb.gif) 0 9px no-repeat;
}
#footer .scotiabank-products.about-scotiabank li.b p:before {
		background: url(/ca/common/icons/ftr-icn-investors.gif) 0 10px no-repeat;}
#footer .scotiabank-products.about-scotiabank li.c p:before {
	background: url(/ca/common/icons/ftr-icn-csr.gif) 0 8px no-repeat;
}
#footer .scotiabank-products.about-scotiabank li.d p:before {
	background: url(/ca/common/icons/ftr-icn-funds-documents.gif) 0 10px no-repeat;
}
#footer .scotiabank-products.about-scotiabank li.e p:before {
	background: url(/ca/common/icons/ftr-icn-careers.gif) 0 10px no-repeat;
}

 @media only screen and (min-device-width: 320px) and (max-device-width: 767px) {
#footer .sb.scotiabank-products li p:before {
	margin: -10px -40px 0;
}
#footer .sb.scotiabank-products li.a p:before {
	background-position: -730px -210px
}
#footer .sb.scotiabank-products li.b p:before {
	background-position: -730px -323px;
}
#footer .sb.scotiabank-products li.c p:before {
	background-position: 4px -322px;
}
#footer .sb.scotiabank-products li.d p:before {
	background-position: -730px -260px;
}
#footer .sb li.locator p.icon:before {
	background-position: -456px -63px;
	margin: 0px -55px 0;
}
#footer .sb li.commercial p.icon:before {
	background-position: -457px -30px;
	margin: -6px -50px 0;
}


/*commercial */
.footer-wrapper #footer .scotiabank-products li.e > a {
	padding-left: 45px !important;
}
#footer .scotiabank-products.comm li p:before, 
#footer .scotiabank-products.about-scotiabank li p:before  {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}
#footer .scotiabank-contact.comm li.gtb p.icon:before, #footer .scotiabank-contact.comm li.toggle p.icon:before {
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
	height: 40px;
}
#footer .scotiabank-contact.comm li.spot-light {width:100%;}
#footer .scotiabank-contact.comm li.spot-light p.icon:before {
	background: url('/ca/common/icons/sprites.png') 5px -167px no-repeat;
}
/*scotiaFunds*/
#footer .scotiabank-products.scotiafunds li p:before {
	margin: -10px -40px 0;
}
#footer .scotiabank-products.scotiafunds li p:before {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}
#footer .scotiabank-contact.scotiafunds li.gtb p.icon:before, #footer .scotiabank-contact.scotiafunds li.toggle p.icon:before {
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
	height: 40px;
}
#footer .scotiabank-contact.scotiafunds li.spot-light p.icon:before {
	background: url('/ca/common/icons/sprites.png') 5px -167px no-repeat;
}
}
 @media only screen and (min-device-width: 0px) and (max-device-width: 319px) {
#footer .sb.scotiabank-products li p:before {
	margin: -10px -40px 0;
}
#footer .sb.scotiabank-products li.a p:before {
	background-position: -730px -210px
}
#footer .sb.scotiabank-products li.b p:before {
	background-position: -730px -323px;
}
#footer .sb.scotiabank-products li.c p:before {
	background-position: 4px -322px;
}
#footer .sb.scotiabank-products li.d p:before {
	background-position: -730px -260px;
}
#footer .sb li.locator p.icon:before {
	background-position: -456px -63px;
	margin: 0px -55px 0;
}
#footer .sb li.commercial p.icon:before {
	background-position: -457px -30px;
	margin: -6px -50px 0;
}
.footer-wrapper #footer .scotiabank-products li.e > a {
	padding-left: 45px !important;
}
#footer .scotiabank-products.about-scotiabank li p:before 
#footer .scotiabank-products.comm li p:before {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}
#footer .scotiabank-contact.comm li.gtb p.icon:before, #footer .scotiabank-contact.comm li.toggle p.icon:before {
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
	height: 40px;
}

#footer .scotiabank-contact.comm li.spot-light {width:100%;}

#footer .scotiabank-contact.comm li.spot-light p.icon:before {
	background: url('/ca/common/icons/sprites.png') 5px -167px no-repeat;
}
/*scotiaFunds*/
#footer .scotiabank-products.scotiafunds li p:before {
	margin: -10px -40px 0;
}
#footer .scotiabank-products.scotiafunds li p:before {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}
#footer .scotiabank-contact.scotiafunds li.gtb p.icon:before, #footer .scotiabank-contact.scotiafunds li.toggle p.icon:before {
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
	height: 40px;
}
#footer .scotiabank-contact.scotiafunds li.spot-light p.icon:before {
	background: url('/ca/common/icons/sprites.png') 5px -167px no-repeat;
}
}
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
.is980 .sb #service-menu li.a, .is980 .sb #service-menu li.c {
	width: 20% !important;
}
#footer .sb.scotiabank-products li.a p:before {
	background-position: -190px -206px;
}
#footer .sb.scotiabank-products li.b p:before {
	background-position: -192px -320px;
}
#footer .sb.scotiabank-products li.d p:before {
	background-position: -190px -260px;
}
#footer div.social-media-links.sb {
	top: 150px;
}

/*comm */

#footer .scotiabank-products.comm li {
	min-height: 100px;
	width:45%;
}

.footer-wrapper #footer .scotiabank-products.comm li.phone > p:first-child,
.footer-wrapper #footer .scotiabank-products.about-scotiabank li.phone > p:first-child {margin-top:0!important;}
.footer-wrapper #footer .scotiabank-products.comm li.phone,
.footer-wrapper #footer .scotiabank-products.about-scotiabank li.phone {padding: 0 0 0 14px;
width: 230px!important;
}


.footer-wrapper #footer .scotiabank-products.comm {width:60%; margin:0;float:left;}

.footer-wrapper #footer .secondRow.comm {display:block!important;float:left;width:30%;margin:20px 0 0 0px!important; border:0;box-shadow:none;}


#footer .scotiabank-contact.comm li {padding-left: 0!important; width:100%; min-height: 90px;}
#footer .scotiabank-contact.comm li.spot-light {width:auto!important;}


.footer-wrapper #footer .scotiabank-products.about-scotiabank li.c,
.footer-wrapper #footer .scotiabank-products.comm li.c {clear:none;}

.footer-wrapper #footer .scotiabank-products.about-scotiabank li.d,
.footer-wrapper #footer .scotiabank-products.comm li.d {clear:none;}


.footer-wrapper #footer .scotiabank-products.about-scotiabank li.e  {clear:none;}


/*scotiaFunds*/
.wrapper .scotiafunds #service-menu li.a {
	width:15%;
}
.wrapper .scotiafunds #service-menu li.b {
	width:24%;
}
.wrapper .scotiafunds #service-menu li.c {
	width:25%;
}
.wrapper .scotiafunds #service-menu li.d {
	width:35%;
}
#footer .scotiabank-products.scotiafunds li.a p:before, 
#footer .scotiabank-products.scotiafunds li.b p:before, 
#footer .scotiabank-products.scotiafunds li.c p:before, 
#footer .scotiabank-products.scotiafunds li.d p:before,
#footer .scotiabank-products.comm li.a p:before, 
#footer .scotiabank-products.comm li.b p:before, 
#footer .scotiabank-products.comm li.c p:before, 
#footer .scotiabank-products.comm li.d p:before,
#footer .scotiabank-products.comm li.e p:before,
#footer .scotiabank-products.about-scotiabank li.a p:before, 
#footer .scotiabank-products.about-scotiabank li.b p:before, 
#footer .scotiabank-products.about-scotiabank li.c p:before, 
#footer .scotiabank-products.about-scotiabank li.d p:before,
#footer .scotiabank-products.about-scotiabank li.e p:before
 {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}
#footer .social-media-links.scotiafunds {
	top: 160px;
}


.footer-wrapper #footer .scotiabank-products.about-scotiabank li {width:240px;}


}
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
#footer .sb.scotiabank-products li.a p:before {
	background-position: -190px -206px;
}
#footer .sb.scotiabank-products li.b p:before {
	background-position: -192px -320px;
}
#footer .sb.scotiabank-products li.d p:before {
	background-position: -190px -260px;
}
.is980 .sb #service-menu li.a, .is980 .sb #service-menu li.c {
	width: 20% !important;
}

/*comm */


#footer .scotiabank-products.comm li {
	min-height: 100px;
	width:45%;
}

.footer-wrapper #footer .scotiabank-products.comm li.phone > p:first-child,
.footer-wrapper #footer .scotiabank-products.about-scotiabank li.phone > p:first-child {margin-top:0!important;}
.footer-wrapper #footer .scotiabank-products.comm li.phone,
.footer-wrapper #footer .scotiabank-products.about-scotiabank li.phone {padding: 0 0 0 14px;
width: 230px!important;
}

.footer-wrapper #footer .scotiabank-products.comm {width:70%; margin:0;float:left;}

.footer-wrapper #footer .secondRow.comm {display:block!important;float:left;width:30%;margin:20px 0 0 0px!important; border:0;box-shadow:none;}


#footer .scotiabank-contact.comm li {padding-left: 0!important; width:100%; min-height: 90px;}
#footer .scotiabank-contact.comm li.spot-light {width:auto!important;}


.footer-wrapper #footer .scotiabank-products.about-scotiabank li.c,
.footer-wrapper #footer .scotiabank-products.comm li.c {clear:none;}

.footer-wrapper #footer .scotiabank-products.about-scotiabank li.d,
.footer-wrapper #footer .scotiabank-products.comm li.d {clear:none;}


#footer .scotiabank-products.scotiafunds li.a p:before, #footer .scotiabank-products.scotiafunds li.b p:before, #footer .scotiabank-products.scotiafunds li.c p:before, #footer .scotiabank-products.scotiafunds li.d p:before,
#footer .scotiabank-products.comm li.a p:before, 
#footer .scotiabank-products.comm li.b p:before, 
#footer .scotiabank-products.comm li.c p:before, 
#footer .scotiabank-products.comm li.d p:before,
#footer .scotiabank-products.comm li.e p:before,
#footer .scotiabank-products.about-scotiabank li.a p:before, 
#footer .scotiabank-products.about-scotiabank li.b p:before, 
#footer .scotiabank-products.about-scotiabank li.c p:before, 
#footer .scotiabank-products.about-scotiabank li.d p:before,
#footer .scotiabank-products.about-scotiabank li.e p:before {
	margin: -5px -45px 0;
	background-size: 35px !important;
	-webkit-background-size: 35px auto !important;
}

.footer-wrapper #footer .scotiabank-products.about-scotiabank li {width:240px;}

}
