/*====================================================================================================
//////////////////////////////////////////////////////////////////////////////////////////////////////

 Author : http://www.yomotsu.net
 update : 2009/01/09

//////////////////////////////////////////////////////////////////////////////////////////////////////
====================================================================================================*/

/*====================================================================================================
//////////////////////////////////////////////////////////////////////////////////////////////////////

 deprecated tags

//////////////////////////////////////////////////////////////////////////////////////////////////////
====================================================================================================*/

basefont,
blink,
center,
dir,
font,
listing,
marquee,
menu,
plaintext,
s,
strike,
tt,
u,
xmp{border:3px solid red !important;}

basefont:before,
blink:before,
big:before,
center:before,
dir:before,
font:before,
listing:before,
marquee:before,
menu:before,
plaintext:before,
s:before,
strike:before,
tt:before,
u:before,
xmp:before{
	color:red        !important;
	font-weight:bold !important;
	background:#fcc  !important;
}

basefont:before {content:"basefont\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"  !important;}
blink:before    {content:"blink\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"     !important;}
big:before      {content:"big\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"       !important;}
center:before   {content:"center\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"    !important;}
dir:before      {content:"dir\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"       !important;}
font:before     {content:"font\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"      !important;}
listing:before  {content:"listing\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"   !important;}
marquee:before  {content:"marquee\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"   !important;}
menu:before     {content:"menu\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"      !important;}
plaintext:before{content:"plaintext\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
s:before        {content:"s\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"         !important;}
strike:before   {content:"strike\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"    !important;}
tt:before       {content:"tt\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"        !important;}
u:before        {content:"u\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"         !important;}
xmp:before      {content:"xmp\20\30BF\30B0\3092\4F7F\7528\3057\3066\3044\307E\3059"       !important;}

/* replaced elements
-------------------------------------------------- */
applet{border:5px dotted red !important;}
/*iframe{border:5px dotted red !important;}*/

/*====================================================================================================
//////////////////////////////////////////////////////////////////////////////////////////////////////

 deprecated attributes

//////////////////////////////////////////////////////////////////////////////////////////////////////
====================================================================================================*/

/* body */
body[bgcolor]:before,
body[background]:before,
body[bgcolor]:before,
body[background]:before,
body[text]:before,
body[link]:before,
body[vlink]:before,
body[alink]:before,
/* p */
p[align]:before,
/* h1 - h6 */
h1[align]:before,
h2[align]:before,
h3[align]:before,
h4[align]:before,
h5[align]:before,
h6[align]:before,
/* address */
address[align]:before,
/* blockquote */
blockquote[align]:before,
/* div */
div[align]:before,
/* pre */
pre[width]:before,
/* table */
table[cellpadding] tr:first-child *:first-child:before,
table[cellspacing] tr:first-child *:first-child:before,
table[frame]       tr:first-child *:first-child:before,
table[border]      tr:first-child *:first-child:before,
table[rules]       tr:first-child *:first-child:before,
table[width]       tr:first-child *:first-child:before,
table[align]       tr:first-child *:first-child:before,
table[background]  tr:first-child *:first-child:before,
table[bgcolor]     tr:first-child *:first-child:before,
table[background]  tr:first-child *:first-child:before,
/* caption */
caption[align]:before,
/* row group */
thead[align]  tr:first-child *:first-child:before,
thead[valign] tr:first-child *:first-child:before,
tfoot[align]  tr:first-child *:first-child:before,
tfoot[valign] tr:first-child *:first-child:before,
tbody[align]  tr:first-child *:first-child:before,
tbody[valign] tr:first-child *:first-child:before,
/* tr */
tr[align]      *:first-child:before,
tr[bgcolor]    *:first-child:before,
tr[background] *:first-child:before,
/* th */
th[align]:before,
th[background]:before,
th[valign]:before,
th[bgcolor]:before,
th[height]:before,
th[nowrap]:before,
th[width]:before,
th[background]:before,
/* td */
td[align]:before,
td[background]:before,
td[valign]:before,
td[bgcolor]:before,
td[height]:before,
td[nowrap]:before,
td[width]:before,
td[background]:before,
/* ul */
ul[compact]:before,
ul[type]:before,
/* ol */
ol[compact]:before,
ol[start]:before,
ol[type]:before,
/* li */
li[type]:before,
li[value]:before,
/* dl */
dl[compact]:before,
/* form */
form[target]:before,
/* legend */
legend[align]:before{
	display:block;
	border:3px solid red !important;
	background:#fcc      !important;
	text-align:center    !important;
	color:red            !important;
	font-weight:bold     !important;
}

/* body */
body[background]:before,
body[bgcolor]:before,
body[text]:before,
body[link]:before,
body[vlink]:before,
body[alink]:before
{content:"body\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* a * /
a[target]:before
{content:"a\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* area * /
area[target]:before
{content:"area\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}


/* p */
p[align]:before
{content:"p\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* h1 - h6 */
h1[align]:before
{content:"h1\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
h2[align]:before
{content:"h2\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
h3[align]:before
{content:"h3\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
h4[align]:before
{content:"h4\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
h5[align]:before
{content:"h5\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}
h6[align]:before
{content:"h6\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* div */
div[align]:before
{content:"div\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* address */
address[align]:before
{content:"address\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* blockquote */
blockquote[align]:before
{content:"blockquote\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* pre */
pre[width]:before
{content:"pre\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* legent */
legent[align]:before
{content:"legent\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* table */
table[cellpadding] tr:first-child *:first-child:before,
table[cellspacing] tr:first-child *:first-child:before,
table[frame]       tr:first-child *:first-child:before,
table[border]      tr:first-child *:first-child:before,
table[rules]       tr:first-child *:first-child:before,
table[width]       tr:first-child *:first-child:before
{content:"table\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

table[align]       tr:first-child *:first-child:before,
table[background]  tr:first-child *:first-child:before,
table[bgcolor]     tr:first-child *:first-child:before
{content:"table\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

table[background]  tr:first-child *:first-child:before,
{content:"table\20\8981\7D20\306B\898F\683C\5916\306E\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* caption */
caption[align]:before
{content:"caption\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* row group */
thead[align]  tr:first-child *:first-child:before,
thead[valign] tr:first-child *:first-child:before
{content:"thead\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

tfoot[align]  tr:first-child *:first-child:before,
tfoot[valign] tr:first-child *:first-child:before
{content:"tfoot\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

tbody[align]  tr:first-child *:first-child:before,
tbody[valign] tr:first-child *:first-child:before
{content:"tbody\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* tr */
tr[align] *:first-child:before
{content:"tr\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

tr[bgcolor] *:first-child:before
{content:"tr\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

tr[background] *:first-child:before
{content:"tr\20\8981\7D20\306B\898F\683C\5916\306E\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* th */
th[align]:before,
th[background]:before,
th[valign]:before
{content:"th\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

th[bgcolor]:before,
th[height]:before,
th[nowrap]:before,
th[width]:before
{content:"th\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

th[background]:before
{content:"th\20\8981\7D20\306B\898F\683C\5916\306E\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* td */
td[align]:before,
td[background]:before,
td[valign]:before
{content:"td\20\8981\7D20\306B\20\43\53\53\20\3067\4EE3\66FF\3067\304D\308B\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

td[bgcolor]:before,
td[height]:before,
td[nowrap]:before,
td[width]:before
{content:"td\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

td[background]:before
{content:"td\20\8981\7D20\306B\898F\683C\5916\306E\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* ul */
ul[compact]:before,
ul[type]:before
{content:"ul\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* ol */
ol[compact]:before,
/*ol[start]:before,*/
ol[type]:before
{content:"ol\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* li */
li[type]:before,
li[value]:before
{content:"li\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* dl */
dl[compact]:before
{content:"dl\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* form */
form[target]:before
{content:"form\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* legend */
legend[align]:before
{content:"legend\20\8981\7D20\306B\5EC3\6B62\20\2F\20\975E\63A8\5968\5C5E\6027\3092\4F7F\7528\3057\3066\3044\307E\3059" !important;}

/* replaced elements
-------------------------------------------------- */

/* hr */
hr[align],
hr[color],
hr[noshade],
hr[size],
hr[width]{border:5px dotted red !important;}

/* iframe */
iframe[align]{border:5px dotted red !important;}

/* img */
img[align],
img[border],
img[hspace],
img[vspace]{border:5px dotted red !important;}

img     {border:5px dotted red;}
img[alt]{border:none;}

/* input */
input[align]{border:5px dotted red !important;}

/* object */
object[align],
object[border],
object[hspace],
object[vspace]{border:5px dotted red !important;}
