﻿@charset "utf-8";
/*
Theme Name: Allex1
Description: Allex version1.0
Version: 1.0
Author: lucy
Author URI: http://lucyinsite.com
Tags: Allex,red
*/
/* CSS Document */

body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; background:#F7F7F7; color:#333; margin:0; line-height:150%; }
img { border:0; }
#wrap_header { background:#B31B1B; color:#FFF; position:relative; z-index:10; }
a { color:#B31B1B; text-decoration:none; }
a:hover { text-decoration:underline; }
#header, #wrap_banner, #content, #footer { width:960px; margin:0 auto; position:relative; }
/*------------header---------------*/
#header { padding-top:13px; }
#sitename { margin:0 0 0 10px; padding:0; width:368px; height:52px; }
#sitename a { display:block; width:368px; height:52px; text-indent:-9999px; background:url(images/toplogo.gif) no-repeat; }
#topmenu { padding:0; height:29px; }
#topmenu ul { margin:0; padding:0; list-style:none; }
#topmenu ul li { display:inline; float:left; position:relative; }
#topmenu ul a { color:#FFF; display:block; padding:5px 14px 5px 16px; text-decoration:none; font-weight:bold; background:url(images/topmenu1.gif) 0 -2px no-repeat; }
#topmenu ul span{ display:block;}
#topmenu li.homelink a { background:none; }
#topmenu ul a:hover { color:#000; }
#topmenu ul ul { position:absolute; left:0; top:100%; display:none; }
#topmenu ul li:hover ul { display:block; }
#topmenu ul ul li { width:220px; border-top:1px solid #222; display:block;}
#topmenu ul li:hover a { color:#000; }
#topmenu ul li:hover ul a { color:#FFF; }
#topmenu ul ul a { color:#FFF; display:block; line-height:normal; height:auto; font-size:11px; font-weight:normal; text-decoration:none; background:url(images/topmenu2.png); padding:5px 8px; }
#topmenu ul ul a:hover { background:#222; color:#FFF; }
#topright { position:absolute; right:0; top:14px; text-align:right; margin-right:20px; }
#shortcuts { display:block; }
#shortcuts ul { margin:0; padding:0; list-style:none; }
#shortcuts ul li { float:right; display:inline; margin-left:15px; }
#shortcuts img { border:none; }
#sitedescription { font-style:italic; margin-top:4px; +margin-top:-2px;
}
#topsearch { display:block; clear:both; padding-top:5px; }
#topsearch form { margin:0; padding:0; }
#topsearch #s { background:url(images/searchbg.gif) no-repeat; width:170px; height:26px; line-height:26px; border:none; padding:0 15px; font-family:Arial; color:#666; }
#topsearch #searchsubmit { width:19px; height:25px; background:url(images/searchbg2.gif) center 1px no-repeat; border:none; margin:2px 0 0 -32px; margin:0 0 0 -32px\9; text-indent:-9999px; }
/*------------content---------------*/
#wrap_banner { height:290px; background:#333; z-index:2;  border-top:3px solid #FFF;  border-bottom:3px solid #FFF; }
#aboutblock { width:200px; padding:20px; min-height:250px; float:left; display:inline; color:#FFF; line-height:150%; }
#aboutblock h3 { margin:0; padding:0 0 15px 0; font-size:20px; font-weight:normal; }
#topbanner { width:720px; height:290px; float:left; background:#222; }
#topbanner p { display:none; }
#wrap_content { background:#FDB69D url(images/bg1.png) top repeat-x; overflow:auto; }
#wrap_content #content { line-height:150%; background:url(images/frontcontentbg.gif) 0 0 repeat-y; _height:300px; min-height:300px; overflow:auto; zoom:1; _overflow:visible; }
#wrap_content p { margin:0; }
.frontblock { width:209px; padding:0 10px 20px 20px; float:left; display:inline; border-left:1px solid #A1A1A1; font-size:11px; color:#666 }
.firstblock { width:214px; border-left:0; padding:0 13px; }
.frontblock h2 { height:30px; line-height:30px; margin:0 10px 15px 0; padding:0; font-size:14px; color:#FFF; text-align:center; font-weight:normal; }
.frontblock h2 a { color:#EEE; text-decoration:none; }
.frontblock h2 a:hover { color:#FFF; }
.frontblock h3 { font-size:13px; padding:8px 0 6px 0; margin:0; }
.textright { text-align:right; }
.frontblock h3 a { color:#666; text-decoration:none; }
.frontblock h3 a:hover { text-decoration:underline; }
.blockpic { border:none; width:200px; height:130px; margin:0; background:url(images/blogpicbg.png) right bottom no-repeat; padding:0 8px 8px 0; }
.readmore { color:#B31B1B; background:url(images/dot1.gif) right 5px no-repeat; padding-right:12px; margin-right:5px; font-weight:bold; }
.readmore:hover { text-decoration:none; }
.redbutton { line-height:32px; height:33px; background:url(images/button1.png) center 0 no-repeat; font-family:Arial; color:#fff; text-decoration:none; font-size:14px; text-align:center; display:block; margin-bottom:11px; font-weight:bold; }
.redbutton:hover { background:url(images/button1.png) center -33px no-repeat; }
#wrap_footer { background:#B31B1B; display:block; clear:both; }
#footer { color:#FFF; text-align:center; padding:10px 0; line-height:180%; font-size:11px; }
#footer a { color:#FFF; }
.footerlink { color:#FFF; padding:0 12px; }
/*---------------post页面---------------*/
#post_wrap_content { background:#F7F7F7 url(images/blogbg.png) center repeat-y; }
#post_wrap_content1 { background:url(images/blogtoppic.jpg) center top no-repeat; }
#post_wrap_content2 { background:url(images/blogbottombg.jpg) center bottom no-repeat; }
#post_wrap_content3 { margin:0 auto; width:960px; overflow:auto; }
#post_wrap_content #content { width:630px; float:left; margin:52px 10px 20px 40px; overflow:hidden; }
#post_wrap_content #content img { max-width:630px; height:auto; }
#post_wrap_content #rightblock { width:200px; margin:135px 15px 50px 0; float:right; color:#FFF; }
#widgetlist, #widgetlist ul { margin:0; padding:0; list-style:none; }
#widgetlist a { color:#CCC; text-decoration:none; padding-left:10px; background:url(images/dot3.gif) left no-repeat; }
#widgetlist a:hover { color:#FFF; text-decoration:underline; }
#widgetlist .recentcomments a { background:none; }
.cat-item-3 { display:none; }/*---隐藏首页设计元素页面---*/
.postheader { padding-left:70px; position:relative; margin:20px 0; }
.postheader .avatar { position:absolute; left:0; top:0; border:1px solid #000; }
span.author { color:#000; font-weight:bold; }
h2.posttitle { margin:0; padding:10px 0; font-size:20px; color:#000; font-weight:normal; }
/*-------------page页面---------------*/
#page_wrap_content { width:950px; background:#FFF url(images/line1.gif) 670px repeat-y; margin:0 auto; height:auto; _height:500px; min-height:500px; overflow:auto; zoom:1; _overflow:visible; }
#page_wrap_content #content { float:left; width:590px; padding:20px 35px; }
#page_wrap_content #content h2 { font-size:18px; margin:0; padding:15px 0 10px; }
#page_wrap_content #rightblock { width:230px; margin:15px 20px 50px 0; float:right; }
#page_wrap_content #widgetlist a { color:#666; text-decoration:none; padding-left:10px; background:url(images/dot2.gif) left no-repeat; }
#page_wrap_content #widgetlist a:hover { color:#B31B1B; text-decoration:underline; }
#page_wrap_content #widgetlist .recentcomments a { background:none; }
h2.widgettitle { font-size:16px; margin:0; padding:20px 10px 0; }
/*-----------上一篇下一篇------------*/
p.posttags { padding:0; margin:0; color:#999; }
p.posttags a { color:#999; }
.navigation { padding:0 5px; height:20px; display:block; clear:both; }
.navigation, .navigation a { color:#999; }
.navigation .alignleft { float:left; }
.navigation .alignright { float:right; }
/*--------------评论---------------*/
ol.commentlist { margin:0; padding:0; list-style:none; }
.commentstitle { font-size:14px; color:#C00; }
ol.commentlist ul { margin:0; padding:0; list-style:none; }
ol.commentlist li { border-bottom:#CCC 1px solid; margin-top:5px; padding-bottom:5px; }
ol.commentlist>li:last-child { border-bottom:0; }
ol.commentlist ul li { padding:5px; border:#E5E5E5 1px solid; }
ol.commentlist .comment-meta { color:#CCC; float:right; font-size:83%; }
ol.commentlist .comment-meta a { color:#999; }
ol.commentlist .comment-author { color:#CCC; float:left; }
ol.commentlist .comment-author a { color:#999; }
ol.commentlist .comment-author img { }
ol.commentlist p { clear:both; margin:0; padding:0; }
ol.commentlist .reply { text-align:right; padding-right:5px; }
ol.commentlist .reply a { text-decoration:underline; }
#commentform input, #commentform textarea, #searchform input { border:#CCC 1px solid; background:#FFF; font-size:100%; font-family:Verdana; color:#666; }
#commentform input:hover, #commentform textarea:hover { border:#AAA 1px solid; }
#commentform input#submit { margin-top:3px; background:#333; color:#FFF; border:0; }
/*-------------分页--------------*/
.postnav { margin-bottom:20px; }
#content .wp-pagenavi { font-weight:700; }
#content .wp-pagenavi span { padding:1px 4px; border:#CCC 1px solid; margin-left:3px; color:#CCC; }
#content .wp-pagenavi a { padding:1px 4px; border:#999 1px solid; margin-left:3px; color:#999; text-decoration:none; }
#content .wp-pagenavi a:hover { color:#FFF; background:#999; border:#999 1px solid; }
/*-------------------------广告----------------------*/
#slider { width: 720px; /* important to be same as image width */ height: 290px; /* important to be same as image height */ position: relative; /* important */ overflow: hidden; /* important */ }
#sliderContent { width: 720px; /* important to be same as image width or wider */ position: absolute; top: 0; margin-left: 0; margin:0; padding:0; list-style:none; }
.sliderImage { float: left; position: relative; display: none; }
.sliderImage img { border:0; width:720px; height:290px; }
.sliderImage span { position: absolute; font: 10px/15px Arial, Helvetica, sans-serif; padding: 10px 13px; width: 694px; background-color: #000; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; color: #fff; display: none; }
.clear { clear: both; }
.sliderImage span strong { font-size: 14px; }
.top { top: 0; left: 0; }
.bottom { bottom: 0; left: 0; }
.left { top: 0; left: 0; width: 100px !important; height: 270px; }
.right { right: 0; bottom: 0; width: 100px !important; height: 280px; }
/*-----------------newsletter--------------*/
.frontblock h3.emailtitle{font-size: 14px; font-family:Arial; color:#d21408;}
.emailtxt{ width:208px; height:16px; border:1px solid #999; margin:0; padding:3px; color:#666; font-family:Arial; font-size:12px;}
.emailbutton{ width:109px; height:38px; background:url(images/button3.png) no-repeat; border:none; text-indent:-9999px; cursor:pointer;}