以下是 jQuery手风琴特效代码 的示例演示效果:
部分效果截图:
HTML代码(index.html):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>jQuery手风琴</title>
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="css/haccordion.css" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js"></script>
<script type="text/javascript" src="js/jquery.galleria.js"></script>
<script type="text/javascript" src="js/galleria-init2.js"></script>
<script type="text/javascript" src="js/haccordion.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</head>
</head>
<body onload="javascript:haccordion.expandli('hc1', 0)">
<div id="pagecontainer">
<!-- Outside Container -->
<div id="mainpage">
<!-- Outside Mainpage -->
<div id="gallerypageheader">
<!-- Header Start -->
<div id="smoothmenu1" class="ddsmoothmenu">
<!-- The Menu -->
<ul>
</ul>
</div>
<!-- Logo -->
<div id="logo">
<a href="http://www.baidu.com/?">
<img src="images/logo.png" alt="logo" /></a></div>
</div>
<!-- Close Header -->
<!-- Accordion Featured Block -->
<div id="hc1" class="haccordion">
<ul>
<li>
<div class="hpanel">
<!-- Image -->
<div class="hpanelimage">
<a href="http://www.baidu.com/?27.html" title="Ak92-Photoshop">
<img src="images/261442030.jpg" alt="Ak92-Photoshop" /></a>
</div>
<!-- Caption -->
<div class="hpanelcaption captionfade">
<a href="http://www.baidu.com/?27.html" title="Ak92-Photoshop">
阿萨在乱逛的时候发现的,超有个性,非常独特。用hjin的说法,就是看上去就有编缉的欲望。整个页面,采用了仿adobe
photoshop cs4的风格。需要小图……</a> </div>
</div>
</li>
<li>
<div class="hpanel">
<!-- Image -->
<div class="hpanelimage">
<a href="http://www.baidu.com/?5.html" title="M4-META">
<img src="images/2525671506.jpg" alt="M4-META" /></a>
</div>
<!-- Caption -->
<div class="hpanelcaption captionfade">
<a href="http://www.baidu.com/?5.html" title="M4-META">这个主题是M4精心制作的,本来是给我自已用的。但是,好的东西。要大家来分享嘛,所以,就放出来给大家了。使用中,比较麻烦。如果分类和独立页面与演示不一样,那还需要……</a>
</div>
</div>
</li>
<li>
<div class="hpanel">
<!-- Image -->
<div class="hpanelimage">
<a href="http://www.baidu.com/?10.html" title="iStudio for Martin">
<img src="images/1832747360.jpg" alt="iStudio for Martin" /></a>
</div>
<!-- Caption -->
<div class="hpanelcaption captionfade">
<a href="http://www.baidu.com/?10.html" title="iStudio for Martin">
码钉制作的新主题,灰色背景,仿苹果MAC界面,很优秀。整体页采用了淡灰色,菜单栏导航处,current是蓝色,LOGO设计也很独特,不可多得的模板之一。</a>
</div>
</div>
</li>
<li>
<div class="hpanel">
<!-- Image -->
<div class="hpanelimage">
<a href="http://www.baidu.com/?21.html" title="Ak92-MayaStyle">
<img src="images/3684684383.jpg" alt="Ak92-MayaStyle" /></a>
</div>
<!-- Caption -->
<div class="hpanelcaption captionfade">
<a href="http://www.baidu.com/?21.html" title="Ak92-MayaStyle">
玛雅(MAYA)文明是拉美大陆上神秘而辉煌的古代文明,在这里留下了高耸的金字塔神庙、庄严的宫殿和天文观象台,雕刻精美、含义深邃的记事石碑和建筑装饰雕刻,以及众多……</a>
</div>
</div>
</li>
</ul>
</div>
<!-- End of Featured Block --></div>
</div>
</body>
</html>
JS代码(common.js):
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
}
);
ddsmoothmenu.init({
mainmenuid:"smoothmenu1",//menu DIV idorientation:'h',//Horizontal or vertical menu:Set to "h" or "v"classname:'ddsmoothmenu',//class added to menu's outer DIV//customtheme:["#1c5a80","#18374a"],contentsource:"markup" //"markup" or ["container_id","path_to_menu_file"]}
)haccordion.setup({
accordionid:'hc1',paneldimensions:{
peekw:'50px',fullw:'786px',h:'430px'}
,selectedli:[-1,true],collapsecurrent:false}
)
JS代码(haccordion.js):
/* Horizontal Accordion script* Created:Oct 27th,2009. This notice must stay intact for usage* Author:Dynamic Drive at http://www.dynamicdrive.com/* Visit http://www.dynamicdrive.com/ for full source code*/
var haccordion={
//customize loading message if accordion markup is fetched via Ajax:ajaxloadingmsg:'<div style="margin:1em;
font-weight:bold"><img src="/usr/themes/default/images/ajaxloadr.gif" style="vertical-align:middle" /></div>',accordioninfo:{
}
,//class that holds config information of each haccordion instanceexpandli:function(accordionid,targetli){
var config=haccordion.accordioninfo[accordionid]var $targetli=(typeof targetli=="number")? config.$targetlis.eq(targetli):(typeof targetli=="string")? jQuery('#'+targetli):jQuery(targetli)if (typeof config.$lastexpanded!="undefined") //targetli may be an index,ID string,or DOM reference to LIconfig.$lastexpanded.stop().animate({
width:config.paneldimensions.peekw}
,config.speed) //contract last opened content$targetli.stop().animate({
width:$targetli.data('hpaneloffsetw')}
,config.speed) //expand current contentconfig.$lastexpanded=$targetli}
,urlparamselect:function(accordionid){
var result=window.location.search.match(new RegExp(accordionid+"=(\\d+)","i")) //check for "?accordionid=index" in URLif (result!=null)result=parseInt(RegExp.$1)+"" //return value as string so 0 doesn't test for falsereturn result //returns null or index,where index is the desired selected hcontent index}
,getCookie:function(Name){
var re=new RegExp(Name+"=[^;
]+","i") //construct RE to search for target name/value pairif (document.cookie.match(re)) //if cookie foundreturn document.cookie.match(re)[0].split("=")[1] //return its valuereturn null}
,setCookie:function(name,value){
document.cookie = name + "=" + value + ";
path=/"}
,loadexternal:function($,config){
//function to fetch external page containing the entire accordion content markupvar $hcontainer=$('#'+config.ajaxsource.container).html(this.ajaxloadingmsg)$.ajax({
url:config.ajaxsource.path,//path to external contentasync:true,error:function(ajaxrequest){
$hcontainer.html('Error fetching content.<br />Server Response:'+ajaxrequest.responseText)}
,success:function(content){
$hcontainer.html(content)haccordion.init($,config)}
}
)}
,init:function($,config){
haccordion.accordioninfo[config.accordionid]=config //cache config info for this accordionvar $targetlis=$('#'+config.accordionid).find('ul:eq(0) > li') //find top level LIsconfig.$targetlis=$targetlisconfig.selectedli=config.selectedli || [] //set default selectedli optionconfig.speed=config.speed || "normal" //set default speed$targetlis.each(function(i){
var $target=$(this).data('pos',i) //give each li an index #$target.data('hpaneloffsetw',$target.find('.hpanel:eq(0)').outerWidth()) //get offset width of each .hpanel DIV (config.dimensions.fullw + any DIV padding)$target.mouseenter(function(){
haccordion.expandli(config.accordionid,this)config.$lastexpanded=$(this)}
)if (config.collapsecurrent){
//if previous content should be contracted when expanding current$target.mouseleave(function(){
$(this).stop().animate({
width:config.paneldimensions.peekw}
,config.speed) //contract previous content}
)}
}
) //end $targetlis.eachvar selectedli=haccordion.urlparamselect(config.accordionid) || ((config.selectedli[1] && haccordion.getCookie(config.accordionid))? parseInt(haccordion.getCookie(config.accordionid)):config.selectedli[0])selectedli=parseInt(selectedli)if (selectedli>=0 && selectedli<config.$targetlis.length){
//if selectedli index is within rangeconfig.$lastexpanded=$targetlis.eq(selectedli)config.$lastexpanded.css('width',config.$lastexpanded.data('hpaneloffsetw')) //expand selected li}
$(window).bind('unload',function(){
//clean up and persist on page unloadhaccordion.uninit($,config)}
) //end window.onunload}
,uninit:function($,config){
var $targetlis=config.$targetlisvar expandedliindex=-1 //index of expanded content to remember (-1 indicates non)$targetlis.each(function(){
var $target=$(this)$target.unbind()if ($target.width()==$target.data('hpaneloffsetw'))expandedliindex=$target.data('pos')}
)if (config.selectedli[1]==true) //enable persistence?haccordion.setCookie(config.accordionid,expandedliindex)}
,setup:function(config){
//Use JS to write out CSS that sets up initial dimensions of each LI,for JS enabled browsers onlydocument.write('<style type="text/css">\n')document.write('#'+config.accordionid+' li{
width:'+config.paneldimensions.peekw+';
\nheight:'+config.paneldimensions.h+';
\n}
\n')document.write('#'+config.accordionid+' li .hpanel{
width:'+config.paneldimensions.fullw+';
\nheight:'+config.paneldimensions.h+';
\n}
\n')document.write('<\/style>')jQuery(document).ready(function($){
//on Dom loadif (config.ajaxsource) //if config.ajaxsource option definedhaccordion.loadexternal($,config)elsehaccordion.init($,config)}
) //end DOM load}
}
CSS代码(style.css):
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{padding:0;border:0;outline:0;font-family:inherit;font-style:inherit;font-size:100%;vertical-align:baseline;}
*{padding:0px;}
body,html{height:100%;margin:0;height:auto;min-height:100%;}
body{font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans','DejaVu Sans Condensed',Tahoma,Arial,sans-serif;font-size:12px;background:#000 url(bg.png) repeat-x fixed 50% 0;}
a{color:#111;outline:none;text-decoration:none;}
a:hover{color:#111;text-decoration:none;}
a img{border:none;}
.clear{clear:both;}
.clearlast{clear:both;padding-bottom:35px;}
.clearlastgallery{clear:both;padding-bottom:55px;}
.ienoclear{clear:both;}
.clearfix:after{content:".";visibility:hidden;display:block;height:0px;clear:both;}
* html .clearfix{height:1%;}
*+html .clearfix{height:1%;}
#mainpagecontainer{width:1000px;margin:0px auto;padding:0px;margin-top:10px;background:#fff url(main-bg.png) repeat-x top;}
#pagecontainer{width:1000px;margin:0px auto;padding:0px;margin-top:10px;background:#fff url(other-bg.png) repeat-x top;}
#mainpage{width:940px;margin:0px auto;padding-top:30px;padding-bottom:30px;overflow:hidden;}
#mainpageheader{padding-bottom:15px;}
#gallerypageheader{padding-bottom:55px;}
#header{padding-bottom:70px;}
#logo{margin:0;padding:0;margin-top:-20px;}
#rss{float:right;position:relative;top:15px;}
.twocolumn{width:600px;float:left;}
.twocolumn a{color:#111;}
.twocolumn a:hover{color:#000;}
.noflashtop{margin-top:-50px;}
#categorytitle{font-size:22px;color:#7d7d7d;padding:12px 0 12px 0;margin:0 0 30px 0;border-bottom:1px dotted #D1D1D1;width:600px;}
#fullwidth-categorytitle{font-size:22px;color:#7d7d7d;padding:12px 0 12px 0;margin:0 0 30px 0;border-bottom:1px dotted #D1D1D1;width:940px;}
.subcategorytitle{font-size:18px;color:#111;padding:12px 0 12px 0;margin:0 0 10px 0;font-weight:bold;}
#cubeshadow{height:440px;background:#fff url(shadow.jpg) no-repeat bottom center;}
#introwrap{width:700px;}
#introbig{font-size:22px;font-style:normal;font-weight:bold;letter-spacing:-1px;margin-bottom:15px;}
#introsmall{font-family:Georgia,'Times New Roman',serif;font-size:16px;font-style:italic;line-height:19px;color:#969696;}
#twitter{float:right;margin-right:60px;}
#mportfoliowrap{padding:10px 0 10px 0;margin:25px 0 25px 0;}
.homeportfoliotitle{font-size:18px;color:#3a3a3a;font-style:normal;font-weight:bold;margin-bottom:15px;}
.homeportfoliotitle a{color:#3a3a3a;font-weight:bold;}
.homeportfoliotitle a:hover{color:#111;text-decoration:none;}
.mportfoliotitle{font-size:18px;color:#3a3a3a;font-style:normal;font-weight:bold;margin-bottom:15px;}
.mportfoliotitle a{color:#3a3a3a;font-weight:bold;}
.mportfoliotitle a:hover{color:#111;text-decoration:none;}
.mportfoliobox{width:300px;float:left;padding-right:20px;padding-bottom:20px;margin-bottom:25px;border-bottom:1px dotted #D1D1D1;}
.mportfolio{}
.mportfolio img{width:298px;height:198px;float:left;border:1px solid #111;}
.mportfoliospace{margin-left:20px;}
.mportfoliobg{width:300px;height:200px;float:left;background:#111 url(hover-media.jpg) no-repeat top left;}
.mportfoliocatbg{width:300px;height:200px;float:left;background:#111 url(hover-category.jpg) no-repeat top left;}
.mportfoliobgvideo{width:300px;height:200px;float:left;background:#111 url(hover-video.jpg) no-repeat top left;overflow:hidden;}
.categoryportfoliowrap{width:960px;}
#mblogwrap{padding:0 0 12px 0;margin:25px 0 35px 0;}
.mblogbox{width:300px;float:left;}
.mblogtitle{font-size:18px;color:#3a3a3a;font-weight:bold;margin-bottom:10px;}
.mblogtitle a{color:#3a3a3a;text-decoration:none;}
.mblogtitle a:hover{color:#111;text-decoration:none;}
.mblogtext{font-size:13px;line-height:20px;color:#7d7d7d;}
.mblogspace{margin-left:20px;}
#midplacement{width:100%;margin:35px 0 25px 0;padding:0 0 15px 0;border-bottom:1px solid #e3e3e3;}
.articlewrap{width:480px;float:left;}
.articles{}
.articleimage{float:left;width:135px;}
.articleimage img{border:5px solid #b2b2b2;}
.articleimage img:hover{border:5px solid #969696;}
.articletext{float:right;width:310px;font-size:12px;line-height:20px;color:#7d7d7d;margin-bottom:20px;}
.articletitle,.articletitle a{font-size:18px;font-weight:bold;margin-bottom:5px;color:#5D5D5D;}
.articletitle a:hover{color:#111;text-decoration:none;}
#aboutwrap{width:940px;border-top:1px solid #e3e3e3;margin-top:10px;float:right;}
.abouttext{float:right;font-weight:bold;font-size:22px;line-height:20px;color:#464646;margin-bottom:5px;margin-top:25px;}
.abouthighlight{font-size:18px;font-style:normal;line-height:26px;color:#717171;margin-bottom:8px;margin-top:15px;font-weight:normal;}
.abouttitle,.abouttitle a{font-size:16px;font-weight:bold;margin-bottom:5px;color:#5D5D5D;}
.abouttitle a:hover{color:#111;text-decoration:none;}
.blankbutton{background:#fff url(blank_button.gif) no-repeat top left;float:right;width:133px;height:31px;font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;padding:7px 0 0 22px;margin-top:20px;}
.blankbutton a{font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;text-decoration:none;color:#111;}
.blankbutton a:hover{font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;text-decoration:none;color:#0878aa;}
.portfoliopagerows{border-top:6px solid #b2b2b2;padding:0 0 20px 0;margin:0;}
.portfoliobox{width:240px;float:left;}
.portfoliotitle{color:#3a3a3a;font-size:18px;padding-top:10px;font-weight:bold;}
.portfoliotitle a{color:#5D5D5D;text-decoration:none;font-weight:bold;}
.portfoliotitle a:hover{color:#111;text-decoration:none;}
.portfoliocontents{color:#919191;font-size:12px;font-weight:normal;padding-top:10px;}
.portfoliocontents span.portright{float:right;}
.portfoliocontents span.portleft{float:left;}
.portfoliocontents a{color:#5D5D5D;text-decoration:none;}
.portfoliocontents a:hover{color:#111;text-decoration:underline;}
#recentportfolio{padding:10px 0 20px 0;}
.recent-portfolioitem{width:460px;float:left;}
.recentportfoliobg{width:460px;height:260px;float:left;background:#111 url(recenthover-media.jpg) no-repeat top left;}
.recent-contentblock{width:460px;float:right;padding-top:10px;}
.recent-description{color:#919191;font-size:12px;font-weight:normal;padding-right:20px;}
.recent-highlight{color:#111;font-size:19px;font-weight:normal;padding:0 20px 20px 0;}
.recent-title{color:#171717;font-size:26px;padding:10px 0 20px 0;font-weight:bold;}
.recent-title a{color:#212121;}
.recent-title a:hover{color:#111;text-decoration:none;}
#title{font-size:32px;font-style:normal;color:#3a3a3a;font-weight:bold;letter-spacing:-1px;margin-bottom:15px;width:600px;}
#titleHighlight{font-size:18px;color:#3a3a3a;font-weight:normal;letter-spacing:0px;margin-bottom:30px;line-height:28px;width:600px;}
#subtitle{font-size:22px;font-style:normal;color:#3a3a3a;font-weight:bold;letter-spacing:-1px;margin-bottom:15px;}
#gallerycontents{margin-bottom:25px;}
#contents{font-size:12px;line-height:20px;color:#7d7d7d;padding-bottom:20px;}
h1,h2,h3,h4,h5,h6{font-weight:normal;}
#contents .posttitle{font-size:22px;font-style:normal;color:#111;font-weight:bold;letter-spacing:-1px;margin-bottom:15px;}
#contents .alignright{float:right;margin-left:15px;}
#contents .alignleft{float:left;margin-right:15px;}
#contents .aligncenter{clear:both;display:block;margin:0px auto;}
#contents .datecomment{font-size:11px;font-style:normal;color:#111;}
#contents .datecomment a{font-size:11px;font-style:normal;color:#000;text-decoration:none;}
#contents .datecomment a:hover{font-size:11px;font-style:normal;color:#111;}
#contents .comments{font-size:11px;font-style:normal;font-weight:bold;color:#111;float:right;padding:2px 6px 2px 6px;}
#contents .comments a{color:#111;}
#contents .comments a:hover{color:#000;}
#contents img.image{border:1px solid #A2A2A2;padding:3px;}
#contents img.bigimage{border:none;padding:0;}
#contents .imagecaption{margin-top:-6px;padding:5px 10px 5px 10px;background:#111;color:#fff;font-size:11px;}
#contents em{font-style:italic;}
#contents a{color:#111;text-decoration:underline;}
#contents blockquote{margin:0px;padding-left:15px;border-left:5px solid #111;font-size:12px;}
#contents h1{font-size:28px;font-weight:bold;color:#111;}
#contents h2{font-size:24px;font-weight:bold;color:#111;}
#contents h3{font-size:20px;font-weight:bold;color:#111;}
#contents h4{font-size:18px;color:#111;}
#contents h5{font-size:16px;color:#111;}
#contents h6{font-size:14px;color:#111;}
#contents .readmorebutton{background:#fff url(readmore_button.gif) no-repeat top left;float:right;width:133px;height:31px;font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;padding:4px 0 0 25px;margin-top:0px;margin-bottom:20px;}
#contents .readmorebutton a{font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;text-decoration:none;color:#111;}
#contents .readmorebutton a:hover{font-family:georgia,serif;font-size:11px;font-weight:bold;font-style:italic;text-decoration:none;color:#0878aa;}
#contents .minishowcasewrap{width:600px;float:left;margin:0 0 20px 0;padding:0;}
#contents .minishowcase{list-style:none;margin:0;padding:0;}
#contents .minishowcase li{float:left;padding:5px;margin:0 5px 10px 5px;background:#d1d1d1;border:1px solid #B9B9B9;}
#contents .minishowcase li:hover{background:#d1d1d1;border:1px solid #747474;}
#contents .photoshowcase{width:127px;height:120px;float:left;}
#contents .servicelist ul{list-style-image:url('tick.gif');padding-bottom:20px;}
#contents .servicelist ul li{padding-top:5px;}
#contents .starlist ul{list-style-image:url('star.gif');padding-bottom:20px;}
#contents .starlist ul li{padding-top:5px;}
#contents p{padding:0px;margin:0px;margin-bottom:5px;}
#sidebar{float:right;width:280px;}
.sidebartitle{font-size:18px;font-style:normal;font-weight:bold;color:#111;letter-spacing:0px;margin-bottom:15px;}
.sidebartextbox{font-size:12px;line-height:20px;color:#7d7d7d;padding-bottom:30px;}
.sidebaropts{font-size:12px;line-height:18px;color:#7d7d7d;margin-top:-8px;margin-bottom:10px;padding-top:5px;padding-bottom:30px;}
.sidebaropts a{color:#7d7d7d;}
.sidebaropts a:hover{color:#111;text-decoration:none;}
.sidebaropts ul{font-size:12px;line-height:18px;list-style:none;line-height:18px;color:#7d7d7d;padding:0;margin:0;}
.sidebaropts ul li{color:#7d7d7d;}
.sidebaropts ul li a{color:#7d7d7d;padding:6px 0 5px 5px;border-bottom:1px dotted #D1D1D1;display:block;}
.sidebaropts ul li a:hover{color:#111;text-decoration:none;}
.sidebaropts ul ul li a{color:#7d7d7d;padding-left:15px;}
.sidebaropts ul ul ul li a{color:#7d7d7d;padding-left:30px;}
.sidebaropts ul ul ul ul li a{color:#7d7d7d;padding-left:55px;}
table.studiotable{font-size:11px;text-align:center;color:#5D5D5D;border:1px solid #fff;border-collapse:collapse;}
table.studiotable th{background:#D1D1D1;border:1px solid #fff;padding:8px;width:100px;}
table.studiotable tr{background:#E8E8E8;}
table.studiotable td{border:1px solid #fff;padding:8px;width:100px;}
#contact-float{float:left;}
#contact-wrapper{background:#efefef;width:500px;padding:10px 10px 35px 35px;font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans','DejaVu Sans Condensed',Tahoma,Arial,sans-serif;}
#contact-wrapper p{color:#111;}
#contact-wrapper div{margin:1em 0;}
#contact-wrapper label{display:block;float:none;font-size:12px;width:auto;}
#contact-wrapper label.error{display:block;float:none;font-size:12px;width:auto;color:#FF3300;}
form#comment_form input{border-color:#B7B7B7 #E8E8E8 #E8E8E8 #B7B7B7;border-style:solid;border-width:1px;padding:5px;font-size:12px;color:#333;width:250px;font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans','DejaVu Sans Condensed',Tahoma,Arial,sans-serif;}
form#comment_form input.submit-button{border-color:#B7B7B7 #E8E8E8 #E8E8E8 #B7B7B7;border-style:solid;border-width:1px;padding:5px;font-size:12px;background:#111;color:#fff;width:100px;}
form#comment_form textarea{padding:5px;font-size:12px;width:450px;border-color:#B7B7B7 #E8E8E8 #E8E8E8 #B7B7B7;border-style:solid;border-width:1px;overflow:hidden;}
.addressbox{float:right;font-size:18px;line-height:22px;position:relative;right:168px;top:40px;margin-bottom:100px;}
.addresstitle{font-size:18px;font-weight:bold;margin-bottom:10px;}
.fulladdress{color:#464646;font-size:14px;margin-bottom:10px;margin-left:5px;}
.fulladdress ul{list-style:none;}
.fulladdress ul li{}
#footer{background:#000;}
#footerwrap{padding:40px 0 10px 46px;background:#000 url(footer-bg.jpg) repeat-x bottom;}
.footerminibox{width:143px;float:left;}
.footerbox{width:286px;float:left;}
.aboutimage{float:left;}
.aboutimage img{padding:0 18px 3px 0;width:80px;height:80px;margin-top:8px;}
.footertitle{font-size:18px;margin-bottom:10px;color:#fff;}
.footertext{font-size:12px;line-height:20px;color:#7d7d7d;}
.footertext a{color:#E8E8E8;}
.footertext a:hover{text-decoration:none;color:#fff;}
.footerposts{font-size:12px;line-height:18px;color:#7d7d7d;margin-top:-8px;}
.footerposts ul{list-style:none;font-size:12px;line-height:18px;color:#7d7d7d;padding:0;margin:0;padding-top:5px;}
.footerposts ul li{font-size:12px;line-height:18px;color:#7d7d7d;border-bottom:1px solid #111;padding:6px 0 5px 0;}
.footerposts ul li a{font-size:12px;line-height:18px;color:#7d7d7d;}
.footerposts ul li a:hover{font-size:12px;line-height:18px;color:#fff;text-decoration:none;}
.footerspace{margin-left:20px;padding-left:20px;margin-bottom:20px;}
.flickrfooterspace{margin-left:60px;}
.footerflickrwrap{width:280px;float:left;margin:0;padding:0;margin-left:30px;}
#footeriages ul{padding-left:20px;width:300px;overflow:hidden;}
#footeriages li{list-style:none;float:left;width:50px;height:50px;margin-right:20px;margin-bottom:20px;}
#footerbarwrap{padding:20px 0 20px 35px;margin:0;background:#111;font-size:12px;color:#565656;}
#footerbarwrap ul{font-family:verdana;font-size:10px;line-height:15px;color:#565656;list-style:none;margin:0;padding:0;}
#footerbarwrap ul li{color:#565656;}
#footerbarwrap ul li a{color:#565656;text-decoration:underline;}
#footerbarwrap ul li a:hover{color:#fff;}
#comments h4{font-size:14px;font-weight:bold;}
ol.comment-list,ol.comment-list ol{margin:0;list-style:none;}
ol.comment-list ol{padding-top:10px;}
ol.comment-list li.comment-odd{padding:15px;padding-bottom:5px;margin-top:10px;background:#F4F4F4;border:1px dotted #ccc;overflow:hidden;}
ol.comment-list li.comment-even{padding:15px;padding-bottom:5px;margin-top:10px;background:#FFF;border:1px dotted #ccc;overflow:hidden;}
ol.comment-list li .comment-reply{text-align:right;}
ol.comment-list li .comment-reply a{font-size:11px;border:none;color:#aaa;}
.comment-reply a:hover{color:#444;}
.comment-meta{padding-bottom:8px;color:#999;font-size:11px;}
.comment-author{display:block;font-size:14px;color:#444;}
.comment-author cite.fn{font-weight:bold;}
.comment-body{overflow:hidden;}
img.avatar{float:right;}
.respond{margin-top:20px;}
#comment_form{}
.respond .cancel-comment-reply{float:right;font-size:11px;}
.respond .cancel-comment-reply a{border:none;color:#aaa;}
.respond .cancel-comment-reply a:hover{color:#444;}
#comment_form label{color:#555;display:block;font-weight:bold;}
ol.pages{margin:20px 0 0 0;list-style:none;line-height:30px;}
ol.pages li{margin:0 5px 0 0;display:inline;}
ol.pages li a{padding:4px 8px;border:1px dashed #eee;text-decoration:none;}
ol.pages li.current a{background:#111;border-color:#111;color:#fff;}
ol.pages li a:hover{background:#111;border-color:#111;color:#fff;}
#contentspic{margin-bottom:20px;}
#contentspic img{padding:1px;background:#fff;border:1px solid #111;}
#footermain{height:200px;padding:30px;background:#0c0c0c;color:#7d7d7d;width:940px;overflow:hidden;}
.footermainbox1{float:left;width:280px;margin-right:40px;}
.footermainbox2{float:left;width:280px;margin-right:40px;line-height:18px;}
.footermainbox3{float:left;width:280px;overflow:hidden;}
#footermain ul{padding:0px;margin:0px;list-style:none;}
.footermainbox1 li{float:left;width:120px;height:26px;overflow:hidden;line-height:26px;padding-right:5px;margin-right:15px;border-bottom:1px dotted #7d7d7d;}
.footermainbox2 img{float:left;margin-right:20px;margin-bottom:10px;}
.footermainbox3 li{float:left;width:40px;height:60px;padding-right:20px;}
.footercomments{width:300px;}
#footermain a{color:#7d7d7d;}
#footermain a:hover{color:#fff;}