/*  
Theme Name: Vistalicious
Theme URI: http://dailyblogtips.com
Description: WP theme with a Vista twist
Author: Daily Blog Tips	
Author URI: http://www.dailyblogtips.com/wordpress-themes/
Version: 1.0
*/

/* Reset Defaults Starts */

* {
  margin: 0;
  padding: 0;
  }

h1, h2, h3, h4, h5, h6, p, blockquote {
  margin: 0;
  padding: 10px;
  }

a {
  color: #000;
  }
a:hover {
  color: #0080ff;  }

blockquote {
  margin: 5px 10px;
  padding: 5px 10px;
  background: #9DCAE8;
  border: 1px dotted #BBB;
  }

code {
  color: #3366CC;
  }

a img {
  border: none;
  }
a h6{
  color: #0f0f0f;
  }

/* Reset Defaults Ends */

body {
  position: relative; /* Fixes browser resizing bug in IE6 */
  margin: 5px auto 10px auto;  /* 第一个数字控制与浏览器最上面的距离 */

  width: 950px;
  font-family: arial, sans-serif;
  text-align: center; /* IE Centering Technique */
  background-attachment: fixed; 
  }

#wrapper {
  text-align: left; /* IE Centering Technique */
  }

.topcurvewhite {
  margin: 0;
  height: 0px;
  }

.bottomcurvewhite {
  margin: 0;
  height: 0px;

  }

#header { background: url(images/banner.jpg) left top no-repeat;

height:90px;
  }

#menubar{ width:950px; height:26px; padding-top:10px;padding-bottom:5px;  background:url(images/bg_navi.gif) no-repeat left top;}
#menubar ul{float:left; padding-left:20px; width:750px;}
.menus li{float:left; margin-right:5px; font-size:13px;}
.menus li a{ margin:0px 3px; display:block; color:#FFF; text-decoration:none;}
.menus li.current-cat a{ color:#BCDE0F;}
.menus li a:hover{color:#BCDE0F;}

#menubar ul.children {margin:0; padding:10px 3px 0px !important; padding:15px 3px 0px; width:200px; background:#225D98; display:none;}
#menubar ul.children li{float:none; margin:3px 0px 3px -3px; padding:0px 5px 5px 6px; width:200px; height:16px; line-height:13px; border-bottom:1px solid #BBB;}
#menubar ul.children li a:hover{ color:#FFFF00; font-weight:bold;}

/* 导航菜单 END */
#menubar span{ float:right; width:160px; height:13px; padding-top:6px; text-align:left;}
#menubar span a:link, #menubar span a:visited{ font-weight:bold; color:#BCDE0F; text-decoration:none;}
#menubar span a:hover{ font-weight:bold; color:#FFFFFF; text-decoration:none;}



#header h1.sitename a {
  color: #fff;
  text-decoration: none;
  }

#header h1.sitename a:hover {
  color: #D0DE9C;
  text-decoration: none;
  }

#header h2.sitedesc {
  padding: 0 0 0 0;
  position: relative;
  font-size: 11pt;
  color: #A6DDEA;
  }


.search {
  padding-bottom: 5px;
  }

#searchform {
  float: right;
  margin-left: 0;
  margin-top: 2px;
  margin-right: 0px;
  }

#searchform {
  margin-left: 10px;
  width: 220px;
  padding-top: 8px;
  height: 28px;
  background: #ccc;
  background: url(images/search.gif) left 3px no-repeat;
  }

*:first-child+html #searchform { /* Filter for IE7 */
  padding: 5px 0;
  }

* html #searchform { /* Filter for IE6 */
  padding: 5px 0;
  }

#searchbox {
  margin-left: 8px;
  margin-bottom: 3px;
  width: 145px;
  background: none;
  border: none;
  }

#searchbutton {
  width: 50px;
  background: none;
  border: none;
  }

#searchbutton:hover {
  cursor: pointer;
  }

#nav { background: url(images/navbgd.gif) left top no-repeat;

  clear: both;
  margin: 10px 0 0 0;
  }

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  }

#nav li {
  float: left;
  margin-right: 10px;
  }

* html #nav li a { /* Filter for IE6 to prevent li stacking */
  float: left;
  text-decoration: none;
  }

* html #nav li a span { /* Filter for IE6 to prevent li stacking */
  float: left;
  margin-left: 4px;
  text-decoration: none;
  }

#nav li a {
  display: block;
  height: 27px;
  text-transform: lowercase;
  font-size: 10pt;
  text-decoration: none;
  }

#nav li a span {
  display: block;
  margin-left: 6px;
  padding-left: 5px;
  padding-right: 12px;
  line-height: 26px;  color: #000;   text-decoration: none;
  }

#nav li a:hover {
  background-position: left -26px;
  text-decoration: none;
  color: #0080ff;  
  cursor: pointer; /* For IE6 */
  }

#nav li a:hover span {
  background-position: right -26px;
  color: #0080ff;       /* 控制页面切换后变的颜色 */

  }

#nav li.current_page a {
  background-position: left -26px;
  }

#nav li.current_page a span {
  background-position: right -26px;
  color: #000055;
  }

#main {
  clear: both;
  width: 925px; /* Overrides miscalculation in IE6; ignored by other browsers. */
  margin: 0;
  padding: 0 15px 15px 10px;
  background: #fff url(images/bgwhite.gif) repeat-y top left;
  }

#contentwrapper {overflow-x:hidden;
  float: right;
  width: 670px;
  }

#content {overflow-x:hidden;
  }


#content .pageTitle {
  padding: 5px 10px 15px 10px;
  font-size: 16pt;
  font-family: arial, sans serif;
  letter-spacing: -1px;
  color: #6699ff;
  }

.post {overflow-x:hidden;

  margin: 5px 0 25px 0;
letter-spacing: 0px;
line-height:22px;
  }


#content h2, #content h3, #content h4, #content h5{
  padding: 0 10px;
  font-weight: bold;
  }
#content h6 {
  padding: 0 10px;
   }

#content h2 {
  font-size: 15pt;
  }

#content h3 {
  font-size: 11pt;
  }

#content h4, #content h5, #content h6 {
  font-size: 10pt;
  }

#content h7 {
  font-size: 10pt;
  color: #0f0f0f;
  }

h2.homeTitle {
  margin: 0 0 15px 0;
  }

h2.postTitle {
  padding: 0 10px;
  border-bottom:1px solid #DDD;
  font-size: 16pt;
  font-weight: bold;
  color: #000;
  font-family: arial, sans serif;
  letter-spacing: -1px;
  }

h2.postTitle a {
  font-size: 11pt;
  font-weight: bold;
  text-decoration: none;
  color: #333333;
  }

h2.postTitle a:hover {
  color: #0080ff;
  }

.postMeta {
  padding: 2px 10px 3px 10px;
  font-size: 9pt;
  color: #333;
  }

.postMeta a {
  text-decoration: none;
  }

.postContent img {overflow-x:hidden;
  margin: 10px;
  border:1px solid #CCC;
  }

#content p, .postContent p {
  padding: 10px 3px;
  font-size: 10pt;
  color: #000000;  }

.postContent ul, ol {
  padding: 0 0 0 35px;
  }

.postContent ul li, ol li {
  font-size: 10pt;
  color: #000;
  }

.postTags {
  margin: 5px 10px 15px 10px;
  font-size: 9pt;
  color: #000;
  }

p.comments {
  clear: both;
  padding: 5px 10px 5px 10px;
  }

p.comments a {
  padding-left: 20px;
  background: url(images/comment.gif) left top no-repeat;
  font-size: 10pt;
  text-decoration: none;
  }

.commentlist {
  margin: 10px 0;
  line-height:25px;   /*此处控制评论文字内容的行距*/
  font-size: 10pt;
  list-style: none;
  }



.commentlist li {
  margin: 0 0 10px -25px;
  background: #E5EDEF;
  border: 1px solid #9DCAE8;
  width: 530px;
  }

.commentlist cite {
  padding: 10px;
  font-size: 10pt;
  }

.commentlist cite a {
  }

.commentmetadata {
  padding: 10px;
  }

.comment h3 {
  padding: 0 10px;
  font-size: 12pt;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  }

.comment p {
  padding: 10px;
  font-size: 10pt;
  color: #000;
  }

.comment a {
  text-decoration: none;
  }

.comment a:hover {
  text-decoration: none;
  }

.comment textarea {
  width: 555px;
  }

.comment #submit {
  width: 118px;
  height: 30px;
  background: url(images/commentbutton.gif) left top no-repeat;
  border: none;
  font-size: 9pt;
  color: #333;
  }

.comment #submit:hover {
  cursor: pointer;
  }

/* 评论头像左对齐 */
.gravatar {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #009900;
padding-bottom: 5px;
}
.gravatar img {
border: none;
float: left;
margin: 0 5px 0 0;
}


/* 注释部分, 不会干扰其它代码. 包括C语言, PHP, C++等很多语言都可以使用这种注释方法
.gravatar (随便定义个名字而已, 名称随便你, 只是用来被DIV调用) {
下面的-边框-粗细: 1像素;
下面的-边框-样式: 虚线;
下面的-边框-颜色: 深绿色; (#RRGGBB是颜色表, 关于颜色表的具体细节请查看这里)
区域内放置-距离底部: 5像素;
}
.gravatar img (对这个区域内出现的IMG标记进行定义) {
边框: 没有;
放置: 左边;
区域外放置: 0 5像素 0 0; (这里是4个数值, 分别代表距离"上 右 下 左"的长度, 这个例子中就是距离右边5像素, 其它方向0像素)
}

*/






/* Sidebars */

.sidebars {
  float:left;
  margin-top: 0px;
  margin-left: 5px;
  padding-top: 9px;
  width: 210px;
  }

.sidebars h2 {
  padding: 6px 5px 2px 7px;
  font-size: 11pt;
  color: #303030;
  background: url(images/sidebar_title_bg.gif) left top no-repeat;
  height: 29px;
  }

.sidebars table {
  width: 300px;
  }

.sidebars ul {
  margin: 0;
  padding: 0 0 5px 0;
  }

.sidebars li {
  margin-bottom: 20px;
  list-style: none;
  font-size: 9pt;
  }

.sidebars li ul {
  padding: 0;
  }

.sidebars ul ul li {
  margin: 0;
  padding: 3px 2px 2px 16px;
  color: #333;
  background: url(images/bullet.gif) left 7px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  border-bottom: 1px dashed #ddd;
  }

.sidebars li.nobg a:hover {  background: none;
  color: #003366;
  text-decoration: none;
  }

.sidebars a {
  display: inline;
  color: #333;
  text-decoration: none;
  }

.sidebars a:hover {
  color: #003366;
  background: #C1DEF1;
  }

.sidebars p {  padding: 2px 0;
  font-size: 9pt;
  }

#tag_cloud a {
  display: inline;
  }

.sidebars ul.children li {border-bottom:none;}
.sidebars ul.children {margin-bottom:-5px;}


/* Footer */

#footer {
  clear: both;
  padding-top: 10px;
  color: #333333;
  text-align: left; /* IE Centering Technique */
  }

#footer p {
  padding: 0;
  font-size: 8pt;
  line-height: 19px;
  }

#footer a {
  color: #333333;
  }

#footer a:hover {
  color: #0080ff;
  }

#credits {
  clear: both;
  float: left;
  margin: 0 auto;
  padding: 0 0 5px 0;
  width: 950px;
  text-align: center;
  }

/* extras */

.cleared {
  clear: both;
  }

.left {
  float:left;
  }

.right {
  float:right;
  }

#nextprevious {
  padding:10px;
  font-size:85%;
  }
