*                { font-family: monospace; }
div.head         { background-repeat: repeat-x; background-position: center bottom; line-height: 0; }
div.foot         { text-align: center; }
p.footlang       { margin: 0; padding: 30px 30px 0 30px; background-repeat: no-repeat; background-position: center top; }
p.footlang a     { font-family: Verdana; white-space: nowrap; }
div.footsite     { margin: 0; padding: 10px; font-size: 0; line-height: 0; }
div.footsite a   { margin: 0; padding: 0; }
div.footsite img { margin: 5px; padding: 0; }
p.footcopy       { margin: 0; padding: 20px; background-repeat: repeat-x; background-position: center top; }
body             { margin: 0; padding: 0; text-align: center; line-height: 2em; }
body,th,td,dt,dd { font-size: 10pt; }
p,table          { margin: 15px; padding: 0; }
th,td            { margin: 0; padding: 5px; font-weight: normal; text-align: left; }
dl               { margin: 10px; padding: 0 0 5px 0; }
dl dt            { margin: 0 0 5px 0; padding: 5px 10px; background-repeat: repeat-x; background-position: center center; }
dl dd            { margin: 0; padding: 0 0 0 10px; }
div.c10a0 dl     { margin: 15px; padding: 0; border-style: solid; border-width: 0 1px 1px 1px; }
div.c10a0 dt     { margin: 0; padding: 5px; border-style: solid; border-width: 1px 0 0 0; width: 10em; float: left; }
div.c10a0 dd     { margin: 0 0 0 10em; padding: 5px; border-style: solid; border-width: 1px 0 0 1px; }
ol               { margin: 10px 10px 10px 40px; padding: 0; list-style: decimal outside; }
ol li            { padding: 0 0 0 10px; }
ul               { margin: 10px; padding: 0; list-style: none outside; }
ul li            { padding: 0 0 0 30px; background-repeat: no-repeat; background-position: 5px 5px; }
.rt              { text-align: right; }
.ct              { text-align: center; }
.ct table        { margin: 0 auto; }
.tp              { vertical-align: top; }
.bt              { vertical-align: bottom; }
a img            { border-style: none; }
div.d1           { margin: 0 auto; max-width: 640px; text-align: left; width: expression(document.body.clientWidth > 640 ? "640px" : "auto"); }
div.main2        { padding: 1px 0 0 0; background-repeat: repeat-x; background-position: center top; }
div.menu         { margin: 5px 0 0 0; float: right; }
div.menu img     { margin: 0 5px 5px 0; }
h1               { margin: 30px 10px 10px 10px; padding: 5px 15px; font-size: 13pt; font-weight: normal; border-style: solid; border-width: 0 0 0 7px; }
h2               { margin: 30px 10px 10px 10px; padding: 5px 10px; font-size: 11pt; font-weight: normal; border-style: solid; border-width: 1px 5px; }
div.fm           { margin: 10px; }
input            { margin: 5px; padding: 5px; border-style: solid; border-width: 1px; height: 26px; font-size: 14px; }
select           { font-size: 14px; }
input.str        { width: 130px; }
input.num        { width: 50px; ime-mode: disabled; text-align: right; }
input.color      { width: 60px; }
input.mmdd       { width: 60px; }
input.chk        { vertical-align: middle; border-style: none; border-width: 0; }
img.btn          { margin: 10px 2px; cursor: pointer; }
img.btd          { margin: 10px 2px; }
div.pn           { margin: 0 auto; position: relative; text-align: left; overflow: hidden; }
div.pn canvas    { margin: 0; padding: 0; position: absolute; }
div.pn table     { margin: 0; padding: 0; position: absolute; text-align: left; }
div.pn table td  { margin: 0; padding: 0; line-height: 1.3em; }
a.cptpt          { line-height: 2em; }

.inv             { display: none; }

.ddfm            { margin: 10px 0; }
.ddvl            { margin: 0 auto; position: relative; width: 90%; height: 20px; text-align: left; background-repeat: repeat-x; background-position: center center; }
.ddpt            { width: 80px; height: 20px; background-repeat: no-repeat; background-position: center center; }
.d2cm            { margin: 5px auto; width: 90%; text-align: left; }
.d2vl            { margin: 0 auto; position: relative; width: 90%; height: 30px; text-align: left; background-repeat: repeat-x; background-position: center center; }
.d2pt            { width: 100px; height: 30px; background-repeat: no-repeat; background-position: center center; }

.d3vl            { position: relative; }
.d3pt            { width: 100px; height: 100px; }
.d3ptdev         { width: 100px; height: 100px; border: solid 1px green; }

.handle          { position: absolute; cursor: pointer; }
.ddfm label      { margin: 0; padding: 0; font-size: 14px; line-height: 1.2em; }
.ddfm input      { margin: 0; }
div.dg           { margin: 10px 0; text-align: center; }
div.dg table     { margin: 0 auto; padding: 0; border-collapse: collapse; empty-cells: show; }
div.dg th,div.dg td { margin: 0; padding: 5px; border-style: solid; border-width: 1px; border-collapse: collapse; border-spacing: 0; }
div.fm           { margin: 10px 0; font-size: 0; line-height: 0; }
div.fm table     { margin: 0; padding: 0; border-collapse: collapse; empty-cells: show; display: inline; vertical-align: text-top; }
div.fm td        { margin: 0; padding: 5px; text-align: center; border-style: solid; border-width: 1px; border-collapse: collapse; border-spacing: 0; background-repeat: repeat-x; background-position: center center; }

div.ltmg         { padding: 5px 0 5px 20px; }

body#bdyd div.fm       { margin: 10px 0; font-size: 0; line-height: 0; }
body#bdyd div.fm input { margin: 3px 0 0 0; }
body#bdyd div.fm table { margin: 0; padding: 0; border-collapse: collapse; empty-cells: show; display: inline; vertical-align: text-top; }
body#bdyd div.fm td    { margin: 0; padding: 20px 0 5px 0; text-align: center; width: 70px; border-style: solid; border-width: 1px; border-collapse: collapse; border-spacing: 0; background-repeat: no-repeat; background-position: center 2px; }

div.icon         { margin: 0 0 5px 0; font-size: 0; line-height: 0; text-align: center; }
div.icon table   { margin: 0; padding: 0; border-collapse: collapse; empty-cells: show; display: inline-block; vertical-align: top; }
div.icon td      { margin: 0; padding: 5px; text-align: left; border-collapse: collapse; border-spacing: 0; }
div.icon td img  { margin: 0 0 0.5em 0; }
div.icon td a    { line-height: 2em; }

#elmSoundDesc    { display: none; }
#elmSoundNone    { display: none; }

div#elmEdit0     { display: none; }
div#elmView0     { display: none; }
div#elmEdit1     { display: none; }
div#elmView1     { display: none; }
div#elmEdit2_del { display: none; }
div#elmView2     { display: none; }

div#elmDescEdit  { display: none; }
div#elmDescView  { display: none; padding: 20px 0; }

div#elmDescCmmn  { display: none; }
div.fllt         { float: left; }

/* bnnr */
div.bnnr         { padding: 10px 0; }
div#elmBnnr2     { background-repeat: repeat-x; background-position: left bottom; }
div#elmBnnr3     { border-style: solid; border-width: 1px 0 5px 0; }

div.sta320p      { text-align: center; }
div.sta320c      { margin: 0 auto; width: 320px; }

/* fllw */
.fllw            { padding: 10px; }

/* Code */
.code            { padding: 10px; }

/* tb : Tab */
.tb img.btn      { margin: 10px 2px 0 2px; }

/* Color */
.fbold           { font-weight: bold; }
.fwarn           { font-size: 16px; font-weight: bold; }
.fdel            { text-decoration: line-through; }
div.fm td.md     { white-space: nowrap; }

/* wn : Warn */
.wn              { margin: 10px; padding: 5px; }
.wn ul           { list-style: disc outside; }
.wn ul li        { margin: 0 0 0 20px; padding: 0 0 0 5px; background-image: none; }

/* pr : Program Code */
.pr              { margin: 10px; padding: 5px; }
.pr ul           { list-style: disc outside; }
.pr ul li        { margin: 0 0 0 20px; padding: 0 0 0 5px; background-image: none; }
.pr table        { border-collapse: collapse; empty-cells: show; }
.pr th,.pr td    { border-style: solid; border-width: 1px; border-collapse: collapse; border-spacing: 0; }

/* er : Error */
.er ul           { margin: 10px; padding: 15px; list-style: disc outside; }
.er ul li        { margin: 0 0 0 20px; padding: 0 0 0 5px; background-image: none; }

/* ss : Success */
.ss ul           { margin: 10px; padding: 15px; list-style: disc outside; }
.ss ul li        { margin: 0 0 0 20px; padding: 0 0 0 5px; background-image: none; }

/* vt : Vote */
.vt p            { padding: 5px 10px; border-style: solid; border-width: 3px; }
.vt dl           { border-style: solid; border-width: 3px; }
.vt img.btn      { margin: 10px 2px 0 2px; }
.vt span.colorbd { padding: 5px; border-style: solid; border-width: 1px;}

.vt table        { border-style: solid; border-width: 1px; border-collapse: collapse; empty-cells: show; }
.vt table th     { border-style: solid; border-width: 1px; }
.vt table td     { border-style: solid; border-width: 1px; }

/* sc : Search Form */
body#bdyw div.fm td { text-align: left; }
body#bdyw div.fm input.str  { width: 200px; }

body#bdyw .sc    { margin: 10px; padding: 0; text-align: center; border-style: solid; border-width: 3px; }
body#bdyw .sc h1 { margin: 0 0 10px 0; padding: 5px 10px; }
body#bdyw .fbold { font-size: 12pt; }
body#bdyw .fleft { margin-right: 10px; float: right; }

body#bdyw .ddfm  { padding: 0 15px; }
body#bdyw div.main2 { padding-top: 5px; }

/* Debug */
#elmDebug        { display: none; }

/* Accordion */
dl.ac            { margin: 30px 10px 10px 10px; padding: 0; border-style: solid; border-width: 0 1px 1px 1px; }
dl.ac dt         { margin: 0; padding: 0; cursor: pointer; }
dl.ac dd         { margin: 0; padding: 0; display: none; }
dl.ac h1         { margin: 0; padding: 5px 15px; font-size: 13pt; font-weight: normal; border-style: solid; border-width: 1px 0 0 7px; }

/* Column */
.col2 ul         { float: left; width: 280px; }
div.flcl         { clear: both; }

/* Horizonal List */
div.hlist ul li  { float: left; }
div.hlist ul li a{ padding:  10px 10px 10px 0; }

/* Adult */
div#elmAdult     { display: none; line-height: 3em; }

/* */
span.inputex     { line-height: 1.5em; }

/* Ama */
div#elmAma       { text-align: center; }
div#elmAma table { margin: 0 auto; padding: 0; border-collapse: collapse; empty-cells: show; vertical-align: top; }
div#elmAma td    { margin: 0; padding: 0; width: 140px; text-align: left; border-collapse: collapse; border-spacing: 0; border-style: solid; border-width: 10px; }
div#elmAma td img{ margin: 0 0 5px 0; width: 130px; height: auto; }
div#elmAma td a  { line-height: 1.3em; text-decoration: none; }
div#elmAma td .price { margin: 0 10px 0 0; }
div#elmAma td a span {
	-webkit-filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray;
}

div#elmAma td a:hover span {
	-webkit-filter: grayscale(0%);
	filter: none;
}
div#elmAma td span {
	display: inline-block;
	background-position: center center;
	background-repeat: no-repeat;
	width: 140px;
	height: 140px;
	background-size: contain;
	cursor: pointer;
}
div#elmAma td    { background-color: #FFFFFF; border-color: #FFFFFF; }

div#elmText      { margin: 20px; padding: 20px; text-align: left; display: none; font-size: 13pt; line-height: 1.5em; font-weight: bold; }

div.voice        { margin: 0 20px; padding: 15px 10px 0 10px; background-color: #ffffff; border: solid 1px #888888; text-align: center; }
