/* Safari/webkit adjustments */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	#wmodal.loginbox .toptab { padding-right: 1.1em; }
	form.search .btn { padding: 3px !important; }
	.tabs .ui-corner-none li.ui-last { top: 0.4em; }
	body#auto-login form .text .control {padding-left:3px;}
	
	.fg-button {padding: .4em 1em .5em 4px!important;}
	.fontmedium .fg-button { padding: .2em 1em .5em 4px!important;}
	.fontlarge .fg-button { padding: .1em 1em .5em 4px!important;}
	
	a.submit_purple span,
	a.btn-cta span,
	a.btn-alt span,
	a.btn-submit span,
	a.btn-reset span,
	a.btn-sm-purple span {padding:0.3em 1.2em 0.55em 0px;}
	

    /* Bank + Auto contact numbers in header fix */
    #universal li.u_contact.bank {width:260px;}

	/* vsimard 
	   20110218
	   Push Console background-image alignment fix for webkit.
	   Creating a pseudo-element to display the bg the same way as #header
	   See JIRA AE-163 for info (jsFiddle link in the comments).
	*/
	#pc_wrap { background-image: none; }
	
	#pc_wrap:before {
		content: '';
		position: absolute;
		top: 0; right: 0; bottom: 0; left: -6px;
		width: 968px;
		margin: 0 auto;
		background: #8d0d87 url(images/pc-bkg.png) repeat-y center bottom;		
	}
	/* AE-1256 background image update for the push console */
	#pc:before {
		content: '';
		position: absolute;
		top: 0; right: 0; bottom: 0; left: 0;
		width: 956px;
		margin: 0 auto;
		background: url(images/pc-background.png) no-repeat bottom center;
	}
	
    /*Fix push console background being off 1 pixel . . .  Thanks CanUX!!!*/
    .v2011-a #pc_wrap:before {
        width: 978px;
        background-image: url(images/v2011-a-pc-bkg.png);
		top: 0; right: 0; bottom: 0; left: 0;
    }
	
	/* bcarriere 20110704 another push console background image fix for
	   webkit (see above) */

	#pc-background-wrapper { background-image: none; }
	#pc-background-wrapper:before {
		content: '';
		position: absolute;
		top: 0; right: 0; bottom: 0; left: 0;
		width: 954px;
		margin: 0 auto;
		background: url(images/pc-background.png) no-repeat bottom center;
	}	

    /*AE-164 Added to fix the layout of the buttons */
	button.submit_purple span {
		top:0px;
		padding: 4px 6px 6px -3px;
	}
	/*AE-164 Added to fix the layout of the buttons */
	button.submit_purple {
		margin-right:4px;
	}

	/* Shifting width for the iPad/iPhone since it is ignoring the background image */
	.v2011-a #header { width: 978px; }
}


/* iPhone styles */
@media only screen and (max-device-width: 480px) {
	body#home .home-rates-tiles h2.product_title {font-size:22px;}
	#universal li.quick_phone a {display:inline;}

	/* Hiding the font resizer in iOS */
	#textsize { display: none !important; }
}

/* iPad styles */
@media only screen and (min-device-width:768px) and (max-device-width: 1024px) {
	body#home .home-rates-tiles h2.product_title {font-size:22px;}
	body#home .home-rates-tiles .wrapper-2-way .box-b-r {height:31px;}
	body#home .home-rates-tiles .wrapper-2-way .box-b {height:31px;}
	#universal li.quick_phone a {display:inline;}
	

	/* Fixing background misalignment for iPad */
	.v2011-a #pc_wrap:before {
		/*background-image: url(images/v2011-a-pc-bkg-ios.png);
		top: 0; right: 0; bottom: 0; left: -6px;*/
		display:none;
	}
	

	/* Hiding the font resizer in iOS */
	#textsize { display: none !important; }
}
