﻿/* //// DEGBUG ----------------------------------------- //// */

/* Dev Colors ----------------------------------------------- */
/*
#container {
	background:beige}
#content {
	background:#CFC}
#content_main {
	background:#FCC}
#content_rail {
	background:#CFF}
#sidebar {
	background:#FCF}
.section {
	background:khaki}
#additional {
	background:#ADD !important}
*/

/* Error Checking ----------------------------------------------- */

/* ---- invalid links ---- */
a[href^="http://starbucks.com"],
a[href^="http://www.starbucks.com"],
body:not(#page_card) a[href^="https://starbucks.com"],
body:not(#page_card) a[href^="https://www.starbucks.com"],
body:not(#page_card) a[href^="http://devwcm.starbucks.net"],
body:not(#page_card) a[href^="https://devwcm.starbucks.net"],
a[href^="#?"] {
	background-color:rgba(255,204,255,.75) !important}
a[href^="http://starbucks.com"] img,
a[href^="http://www.starbucks.com"] img,
a[href^="https://starbucks.com"] img,
a[href^="https://www.starbucks.com"] img,
a[href^="http://devwcm.starbucks.net"] img,
a[href^="https://devwcm.starbucks.net"] img,
a[href^="#?"] img {
	border:1px solid rgba(255,204,255,.75) !important}

a[href=""] {
	background-color:rgba(255,255,204,.75) !important}

/*
a[href="#"] {
	background-color:rgba(255,204,255,.5) !important}
*/

/* Investor Relations */
/*
a[href^="http://investor.starbucks.com"] {
	background-color:rgba(204,255,204,.75) !important}
a[href^="http://phx.corporate-ir.net"] {
	background-color:rgba(255,255,204,.75) !important}
*/

/* ignore links for: sharedplanet, international, card buttons */
a[href^="http://starbucks.com/sharedplanet"],
a[href^="http://www.starbucks.com/sharedplanet"],
#share a[href^="http://devwcm.starbucks.net"],
#countries a[href^="http://starbucks.com"],
#countries a[href^="http://www.starbucks.com"] {
	background-color:inherit !important}
a[href^="http://starbucks.com/sharedplanet"] img,
a[href^="http://www.starbucks.com/sharedplanet"] img,
#share a[href^="http://devwcm.starbucks.net"] img,
#countries a[href^="http://starbucks.com"] img,
#countries a[href^="http://www.starbucks.com"] img {
	border:inherit !important}


/* ---- invalid attribute ---- */
a[target] {
	background-color:rgba(204,255,255,.75) !important}
#twitter_profile a[target],
#twitter_search a[target] {
	background-color:inherit !important}

a[shape] {
	background-color:rgba(255,0,0,.5) !important}

/* alt attributes */

/* empty */
img[alt=""] {
	border-bottom:2px solid rgba(255,0,0,0.5) !important}

/* "Image of" */
/*
img[alt^="Image of"],
img[alt^="image of"] {
	border-bottom:2px solid rgba(0,255,0,0.5) !important}
*/

/* inline style */
span[style^="font"] {
	background-color:rgba(255,0,0,.5) !important}

/* ---- empty tags ---- */
/* div:empty, */ h1:empty, h2:empty, h3:empty, h4:empty, h5:empty, h6:empty,
ul:empty, ol:empty, li:empty,
dl:empty, dt:empty, dd:empty,
p:empty, span:empty, a:empty, abbr:empty, acronym:empty {
	padding:0 50px !important;
	background-color:rgba(255,204,255,.75) !important}

/*
#page_locator *:empty {
	padding:inherit !important;
	background-color:inherit !important}
*/

/* Debug Panel ----------------------------------------------- */
#debug_panel {
	position:absolute;
	z-index:2000;
	top:117px;
	right:20px;
	padding:1em 20px;
	width:400px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	-moz-box-shadow:0 0 10px rgba(0,0,0,.5);
	-webkit-box-shadow:0 0 10px rgba(0,0,0,.5);
	box-shadow:0 0 10px rgba(0,0,0,.5);
	background:#000; /* rgba fallback */
	background:rgba(0,0,0,.8);
	font:1.2em/2 Verdana,sans-serif;
	color:#FFF}
#debug_panel dl {
	margin:0}
#debug_panel dl dt {
	color:#CCC;
	font-size:.833em;
	text-transform:uppercase}
#debug_panel dl dd {
	margin:0 0 1em}
#debug_panel dl dd em {
	padding:2px 5px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	background:#F00; /* rgba fallback */
	background:rgba(255,0,0,.8)}