/*Body Setting */
body {
  text-align: center;
/*  background-image : url(images/LHY_Logo_02.png); */
/*  background-repeat: repeat; */
/*  background-color: rgba(132, 132, 132, .5);*/
/*  filter:alpha(opacity=70);*/
/*  -moz-opacity:0.7;*/
/*  opacity: 0.7; */
  }
/* font setting */

/* general font setting */
p, li.disc, .notes11, .notes12, .notes13, .notes14, .footnote, .light, .luck, h1, h2, h3, h4, h5, h6, h7, .lightcontent, .bookcontent, .godlist, .godlist, span.god, .short, #calendar, span.album_90, span.album_120, span.album_180 {
  font-family: 標楷體, "FangSong","PMingLiU",標楷體,細明體,"SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman","Georgia,Serif";
  font-size:13pt;
  font-weight: normal;
  margin:0px;
  letter-spacing: 1.5px;
  line-height: 1.5em;
  letter-spacing: 2px;
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 5px;
  }

h1 {
  text-align:center;
  font-size : 38px;
  padding:10px 10px 20px 10px; /*leave enough padding to accommodate the shadow*/
  font-weight:bold;
/*  color:#526972; */
  color: #526972;
  /*use two shadows, the first the colour of the background, the second the same colour as the text*/
/*  text-shadow: 4px 4px 0px #e4e4c7, 6px 6px 0px #526972; */
  text-shadow: 2px 2px 0px #e4e4c7, 3px 3px 0px #800000; 
  }


.notes8 {
  font-size:8pt;
  }
.notes10 {
  font-size:10pt;
  }
.notes12 {
  font-size:12pt;
  }
.notes13 {
  font-size:14pt;
  }
.notes14 /* 嘉言絮錄 */ {
  color:#ff0000;
  }

/* general a her setting */
a {text-decoration:none}
a:link {color:#0000ff; font-family: "FangSong","PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;} /*設定超連結文字的顏色為綠色*/
a:visited {color:#0000ff; font-family: "FangSong","PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;} /*設定己連結過之超連結文字的顏色為紅色*/
a:active {color:#0000ff; font-family: "FangSong","PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;} /*當Mouse按下連結後, 超連結文字的顏色為藍色*/
a:hover {color: red; font-family: ""FangSong",PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;;font-size:12pt;text-decoration: underline;cursor: progress} /*當Mouse移到超連結上時, 超連結文字的顏色為黑色*/
/*Specical Font setting */
b.offset {
  font-family: "FangSong","PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;;
/*  background:#e4e4c7; */
  padding:10px 10px 20px 10px; /*leave enough padding to accommodate the shadow*/
  font-size:4.2em;
  letter-spacing:.2em;
  line-height: 2em;
  font-weight:bold;
/*  color:#526972; */
  color: #800000;
  /*use two shadows, the first the colour of the background, the second the same colour as the text*/
/*  text-shadow: 4px 4px 0px #e4e4c7, 6px 6px 0px #526972; */
  text-shadow: 4px 4px 0px #e4e4c7, 6px 6px 0px #800000; 
  }
/*table format for whole web site */
#allcontact {
  width: 1180px;
  padding-top :0px;
  padding-bottom :0px;
  margin-left: auto;
  margin-right: auto;
  border-left: thin dotted gray;
  border-right: thin dotted gray;
  background-color : #fbf9e9;
  }

#heater {
  text-align: center;
  padding: 0px;
  border: 0px;
  margin: 0px;
/*  background-image : url(images/LHY_Logo_01.png);*/
  background-repeat:no-repeat; 
  background-position:top left;
/*  border-collapse: collapse; */
/*  vertical-align:middle; */
/*  background-color : #fbf9e9;*/
   }
#sidesbar {
  width:19%;
/*  padding: 5px;*/
  padding: 0px;
  border: 0px;
  text-align: left;
  margin-top: 5px;
/*  margin-right : 0px; */
/*  margin-bottom : 0px;*/
/*  margin-left : 0px;*/
  float: left;
  background-color : #fbf9e9;
  }
#main {
  width:79%;
/*  padding: 10px;*/
  padding: 0px;
  border: 0px;
  text-align: center;
  margin-top: 5px;
/*  margin-right : 0px;*/
/*  margin-bottom : 0px;*/
/*  margin-left: 22%;*/
  float: right;
  background-color : #fbf9e9;
  }
#full {
/*  width:100%;*/
/*  padding: 0px;*/
/*  border: 0px;*/
/*  margin-top: 15px;*/
  text-align: center;
  background-color : #fbf9e9;
  }
#footer {
  padding: 0px;
  border: 0px;
  margin-top: 0px;
  clear:both;
  background-color: #800000;
  }
  
	
#bannercalendar, #sidescalendar, #rightcalendar, #calendar, #others5 {
  margin-top: 8px;
  margin-right : 0px;
  margin-bottom : 8px;
  margin-left: 0px;
  padding: 3px;
  border:0px;
  }

#bannercalendar, #calendar, #others5 {
  text-align: left;
  border-style: solid;
/*  border-style: solid;*/
  border: thin dotted black;
  -webkit-box-shadow: 1px 3px 12px #444;
  -moz-box-shadow: 1px 3px 12px #444;
  box-shadow: 2px 3px 12px #444;
  -webkit-border-radius:12px;
  -moz-border-radius:12px;
  border-radius:12px;
  }

.lucktap, .lightcontent, .bookcontent, .light, span.album_90, span.album_120, span.album_180, .mty_tours, .lucktap_man /* for shape and 影*/ {
  border-style: solid;
  border: thin dotted black;
  -webkit-box-shadow: 1px 3px 8px #444;
  -moz-box-shadow: 1px 3px 8px #444;
  box-shadow: 2px 3px 8px #444;
/*  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;*/
  }

.lucktap /*struction setting for 籤文 */ {
  display: inline-block;
  width:24%;
  height:600px;
  text-align: left;
  vertical-align: top;
  }
.lucktap_man /*struction setting for 呂祖仙方_男科 */ {
  display: inline-block;
  width:24%;
  height:280px;
  text-align: left;
  vertical-align: top;
  }


li.disc {
  list-style-type: none;
  }
ul.demine {
  list-style-type:none; /*remove the nullet point*/
  margin-left:0;
  }
ul.demin li {
  width:190px;
  height: 150px;
  vertical-align: top;
  display:inline-block; /*place the images in a line */
  position: relative; /*allows precise positioning of the popup image when used with position:abosolute - see support section */
  z-index:0; /*resets the stack order of the list items */
  margin: 5px 5px 0 5px; /*space between the images */
  zoom: 1;
  *display: inline;
  }
ul.demin img {
  -webkit-box-shadow: 1px 2px 4px #444;
  -moz-box-shadow: 1px 2px 4px #444;
  box-shadow: 1px 2px 4px #444;
  margin-bottom : 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  }

span.album {
  font-family: "PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;
  font-size:12pt;
  color: #000;
  text-align: center;
  line-height:1.5em;
  width: 120px;
/*  width: 90px;*/
/*  height: 100px; */
  display: inline-block;
  vertical-align:top;
  }
span.album {
  -webkit-box-shadow: 1px 2px 4px #444;
  -moz-box-shadow: 1px 2px 4px #444;
  box-shadow: 1px 2px 4px #444;
  margin-bottom : 10px;
/*  padding-bottom: 5px;*/
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  }
span.footnote {
  font-family: "PMingLiU","SimSun","DFKai-SB","MingLiU","SimHei","SimSun","Times New Roman",Georgia,Serif;
  color: #fff;
  text-align: center;
  line-height:2em;
  }
.stop{
  background: -webkit-linear-gradient (top, #3a0c33, #6fbbbc 200px, #e6eff3 250px);
  background: -moz-linear-gradient (top, #3a0c33, #6fbbbc 200px, #e6eff3 250px);
  background: -o-linear-gradient (top, #3a0c33, #6fbbbc 200px, #e6eff3 250px);
  background: linear-gradient (top, #3a0c33, #6fbbbc 200px, #e6eff3 250px);
  -pie-background: linear-gradient (top, #3a0c33, #6fbbbc 200px, #e6eff3 250px);
  behavior: url(assets/pie/PIE.htc);
  position:relative; /*required to make PIE work*/
  }
/* for submenu */
#menu {
  width: 100%;
  float: left;
  background : #dc3232; 
  }
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 105.5px;
  float: left;
/*  background : transparency; */

  }
#menu a, #menu h2 {
  font-family: Verdana,Geneva,Arial,細明體,標楷體,Taipei,sans-serif;
  font: bold 16px/18px PMingLiu, arial, helvetica, sans-serif;
  display: block;
  border-width: 0px;
  border-style: solid;
  border-color: #ccc #888 #555 #bbb;
  line-height:2em;
  margin:0px;
  padding: 1px 2px;
/*  background : transparency; */
  color: #fff;
  }
#menu h2 {
  color: #fff;
/*  background : transparency; */
/*  background: #800000;  */
  line-height: 2.5em;
  text-transform: uppercase;
  }
#menu a {
  color: #800000;
  background: #fff6ef;
/*  filter:alpha(opacity=70); */
/*  -moz-opacity:0.7; */
/*  opacity: 0.7; */
/*  background: #efefef; */
/*  background: #800000; */
/*  background : transparency; */
  text-decoration: underline;
  }
#menu a:hover {
  color: #a00;
  background: #fff6ef;

/*  background: #fff; */
/*  background : transparency; */
  cursor: progress;
  }
#menu li {
  position: relative;
  color: #a00;
  background : transparency;
/*  background : #b75454; */
  }
#menu li li {
  display: inline-block;
  position: relative;
  width:195px;
/*  background : transparency; */
  border: 1px;
  text-align:left;
  }
#menu ul ul {
  position: absolute;
  z-index: 500;
  width:100%;
  }
#menu ul ul ul {
  position: absolute;
  top: 0;
  left: 100%;
  }
div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{
  display: none;
}
div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{
  display: block;
}
