/*
Theme Name: SS001
Theme URI: www.second-son.com
Description: Second Son blog and shop
Author: Rich Archer
Author URI: richarcher.co.uk
Version: 0.1


*/
/* css-reset */
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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
th {text-align:left;}
body { line-height: 1; font-size:62.5%; }
table { border-collapse: collapse; border-spacing: 0; }
:focus { outline: none; }
a img { border: none; }
ol, ul { list-style: none; list-style-position:inside; }
input,textarea { margin: 0; }
/* end css-reset */
/*css-common */
p {
	padding: 0 0 14px 0;
}

h1, h2, h3, h4, h5, h6 {
	padding: 0 0 12px;
}

h1, h2, h3 {
	font-weight: bold;
	line-height: 100%;
}

h4, h5, h6 {
	font-weight: normal;
}

h1 { font-size: 220%; }
h2 { font-size: 220%; }
h3 { font-size: 160%; }
h4 { font-size: 140%; }
h5 { font-size: 120%; }
h6 { font-size: 100%; }

a, a:visited {
	color:#ffffff;
	text-decoration: none;
}

a:hover, a:active {
	color:#cccccc;
	background:#aaaaaaa;
	text-decoration: none;
}

abbr, acronym {
	border-bottom: 1px dotted #000;
	cursor: help;
}

dl { margin-left: 20px; }
dl dt { font-weight: bold; }
dl dd { margin-left: 40px; }

blockquote {
	margin: 0 0 0 20px;
	padding-left:10px;
	border-left: 3px solid #EAEAEA;
}
blockquote p {
	padding: 6px 0;
}
blockquote blockquote {
	background-image: none;
	padding-left: 12px;
	margin: 6px 0;
	background-color: #fff;
}

hr {
	border: 0;
	height: 1px;
}

form {width: auto;}

form table th,
form table td {
	border: 0;
	border-collapse: collapse;
	text-align: left;
}
form table input {margin: 0;}
form table td textarea,
form table td select {
	width: 100%;
	margin: 0;
	}

fieldset {
	width: auto;
	border: 0;
	}

label {
	font-size: 100%;
	line-height: 100%;
	white-space: pre;
	xdisplay: block;
	color: #999;
	text-align: left;
	margin: 0 0 6px;
	}
form p {
	line-height: 150%;
	clear: both;
	}
form p input {
	display: inline;
	float: left;
	clear: both;
	margin: 0;
	margin-right: 6px;
	}
form p label {
	display: inline;
	clear: none;
	padding: 0;
	margin: 0;
	white-space: normal;
	}

input, textarea, select, button {
	margin: 0 0 12px 0;
	}

input.text, textarea.text {
	font-size: 100%;
	}

input.button {
	float: none;
	clear: both;
	margin: 3px 0 0 0;
	padding: 3px 6px;
	font-size: 100%;
	font-weight: normal;
	}

textarea.text:focus,
input.text:focus { outline: none; border-color: #666; }

/* TABLES
========================================== */
table {
	width: auto;
	margin: 0 0 20px 0;
	}

table caption,
table tfoot {}
table th {}
table tr {}

table tr.alt th,
table tr.alt td {background-color: #F7F7F7;}

table td {
	font-size: 1.0em;
	line-height: 100%;
}
/* end css-common */

body {
	background:#000 url(images/bg1.gif) repeat left top;
	color:#999999;
	font-family:verdana, helvetica, arial, sans-serif;
	font-size:62.5%;
	line-height:1.6em;
	margin:0 ;
	padding:0;
	height:100%;
	position:relative;
	}
pre {font-size:10pt;}
object {width:480px;}
#page {
	margin:0 auto;
	padding:0;
	position:relative;
	width:960px;
	}
#header,
#content,
#footer,
#credits
	{
	clear:left;
	width:792px;
	}
#front-main,
#main {
	-webkit-box-shadow:0 0 5px rgb(0,0,0);
	-moz-box-shadow:0 0 5px rgb(0,0,0);
	box-shadow:0 0 5px rgb(0,0,0);
	}
#footer {
	-webkit-box-shadow:0 5px 5px rgb(0,0,0);
	-moz-box-shadow:0 5px 5px rgb(0,0,0);
	box-shadow:0 5px 5px rgb(0,0,0);}
#credits {
	-webkit-box-shadow:0 -5px 5px rgb(0,0,0);
	-moz-box-shadow:0 -5px 5px rgb(0,0,0);
	box-shadow:0 -5px 5px rgb(0,0,0);}
#navigation{
	left:178px;
	position:absolute;
	top:85px;
	}
#main,
#front-main{
	background:#1C1819;
	}
#basket {
	position:relative;
	z-index:0;
	}
#footer,
#credits {
	background:#000000;
	}
#footer{
	border-top:1px solid #1F1F1F;
	clear:both;
	}
.alignright {float:right;}
.alignleft {float:left;}
#shoppingcartcontents,
#main,
#front-main {border-top:1px solid #2F2F2F;}
#shoppingcartcontents {border-bottom:1px solid #2F2F2F;}
.cart_title {padding:4px;}

#logo {
	background:url(images/header_title1.gif) no-repeat left top;
	display:block;
	height:105px;
	margin-top:10px;
	text-indent:-7000px;
	width:173px;
	}
#header h4 {display:none;}
#sideshoppingcart {
	background:none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
	margin-left:815px;
	position:fixed;
	top:127px;
	width:150px;
	}
#banner-links {
	border-top:1px solid #2F2F2F;
	margin-left:815px;
	position:fixed;
	top:262px;
	width:150px;
	background:#1c1819;
	padding-top:11px;
	-moz-box-shadow:0 0 5px rgb(0,0,0);
	-webkit-box-shadow:0 0 5px rgb(0,0,0);
	-box-shadow:0 0 5px rgb(0,0,0);
	}
#banner-links a{display:block;
	margin: 0 11px 11px;
	}

#carousel {}
#carousel ul {height:134px;
	overflow:hidden;}
#carousel ul li {display:inline;}


* html #sideshoppingcart,
* html #banner-links
	{position:absolute;}
.large {
	float:left;
	padding-left:20px;
	padding-right:20px;
	padding-top:20px;
	width:530px;
	}
.onecol {
	float:left;
	padding-left:20px;
	padding-right:20px;
	padding-top:20px;
	padding-bottom:20px;
	width:720px;
	}
.sidebar {
	padding-top:20px;
	margin-left:580px;
	padding-right:20px;
	width:190px;
	}
.sidebar h3 {
	font-size:15px;
	font-weight:normal;
	text-transform:uppercase;
	}
.sidebar ul {
	padding-bottom:20px;
	}

.sidebar .dd-blog li {
	list-style-type:none;
	padding-bottom:3px;
	width:100%;
	}
.sidebar .dd-blog li a {
	background:url(images/css-calendar.png) no-repeat left top;
	padding-left:17px;
	padding-bottom:4px;
	}
.sidebar .dd-more {
	display:none;
	}
.sidebar a.dd-more-link {
	background: url(images/sprites.png) no-repeat 100px -36px;
	display:block;
	margin-bottom:20px;
	margin-top:-20px;
	padding-right:14px;
	text-align:right;
	}
.sidebar a.active {
	background-position:100px -17px;
	}
.sidebar .dd-blog .cat-item a{
	background: url(images/css-bookmark.png) no-repeat left top;
	padding-left:15px;
	}
.sidebar .dd-shop li {
	list-style-type:none;
	}
.sidebar .dd-shop li a {
	background: url(images/css-arr-left.png) no-repeat left top;
	padding-left:17px;
	}
/*navigation */
#nav .last-page-item {display:none;}
#nav,
#nav ul {
	margin:0;
	padding:0;
	position:relative;
	width:100%;
	z-index:90;
	list-style-type:none;
	}
#nav {
	display:block;
	font-size:14px;
	left:0;
	padding-left:11px;
	}
#nav a {
	display:block;
	padding:5px 5px 0;
	text-decoration:none;
	}
#nav a:hover {
	}
#nav li {
	float:left;
	position:relative;
	padding:0 12px;
	text-transform:uppercase;
	}
#nav .nav-start {padding-left:0;}
#nav .nav-end {background-image:none;padding-right:0;}
#nav ul {
	border:1px solid #000;
	border-top:0;
	display:none;
	font-size:14px;
	padding-right:8px;
	position:absolute;
	left:-5px;
	width:12em;
	overflow:hidden;
	}
#nav li li{
	background:none;
	line-height:1.5;
	list-style-type:none;
	padding:0;
	top:0;
	}
#nav ul a {
	background:url(images/css-0f-95.png) repeat left top;
	float:left;
	height:auto;
	padding:2px 4px;
	width:12em;
	}
#nav ul a:hover {
	background-color:#444444;
	}
#nav li:hover ul {
	display:block;
	}
/* footer business */
#footer div {
	float:left;
	padding-top:20px;
	}
#footer div h3 {color:#ffffff;font-size:15px;font-weight:normal;text-transform:uppercase;}
#recaptcha_widget_div {
  left: -20px;
}
#foot-about{
	padding-left:20px;
	width:200px;
	}
#foot-contact {
	padding-left:20px;
	width:280px;
	}
#foot-feat {
	padding-left:20px;
	padding-right:20px;
	width:230px;
	}
#footer li {
	background:url(images/star.png) no-repeat left top;
	list-style-type:none;
	padding-left:19px;
	padding-bottom:5px;
	}
/* contact/comment form */
form#contact-form div,
form#comment-form div{
	margin: 0;
	padding: 0;
	position: relative;
	width:50%;
	}

form#contact-form div.textarea {
	width:100%;
	}
form#contact-form div.textbox,
form#comment-form div.textbox{
	float:left;
	}
form#contact-form div.textbox input,
form#comment-form div.textbox input {
	width:90%;
	}
form#contact-form div.textarea,
form#contact-form div.submit,
form#comment-form div.textbox,
form#comment-form div.textarea{
	clear:left;
	}
form#contact-form #advancedopts,
form#contact-form #advancedopts div{
	width:100%;
	}
.advancedopts-link {
	clear:both;
	color:#333333;
	display:block;
	margin:0px 7px 5px 0;
	text-align:right;
	}
form#contact-form .textbox input,
form#contact-form .textarea textarea,
form#comment-form .textbox input,
form#comment-form .textarea textarea{
	border:2px;
	background-color:#1C1819;
	color:#999999;
	padding:3px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	}
form#contact-form .textarea textarea {
	overflow:auto;
	width:267px;
	}
form#comment-form .textbox input,
form#comment-form .textarea textarea{
	background-color:#2f2f2f;
	}
form#contact-form input.text,
form#contact-form label.overlabel-apply,
form#comment-form input.text,
form#comment-form label.overlabel-apply{
	font-size: 110%;
	}
/*
-form#contact-form input.button-search,
-form#comment-form input.button-search {
	position: absolute;
	top: 3px;
	right: 3px;
	margin: 0px;
	display: block;
	line-height: 100%;
	width: 50px;
	height: 25px;
	}
*/
form#contact-form label.overlabel,
form#comment-form label.overlabel {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	}
form#contact-form label.overlabel-apply,
form#comment-form label.overlabel-apply {
	display: block;
	color: #666;
	position: absolute;
	top: 5px;
	left: 5px;
	margin: 0;
	z-index: 1;
	cursor: text;
	line-height: 100%;
	font-size: 100%;
	}
form#comment-form button,
form button.wpsc_buy_button,
form#contact-form button {
	padding: .5em;
	font-size: 10px;
	}
form button.wpsc_buy_button {
	background:transparent url(images/add_to_cart.png) no-repeat scroll left top;
	bottom:0;
	border:medium none;
	clear:both;
	display:block;
	height:29px;
	margin:0px;
	position:absolute;
	text-indent:-9999px;
	width:148px;

	}
form button.wpsc_buy_button:hover {
	background-position:left bottom;
	}
form#comment-form button {
	background:transparent url(images/make_comment.png) no-repeat left top;
	border:medium none;
	display:block;
	height:31px;
	text-indent:-9999px;
	width:135px;
	}
form#comment-form button:hover {
	background-position:left bottom;
	}
form#contact-form button {
	background:transparent url(images/send_message.png) no-repeat left top;
	border:medium none;
	display:block;
	height:31px;
	text-indent:-9999px;
	width:160px;
	}
form#contact-form button:hover {
	background-position:left bottom;
	}
.wpsc_variation_forms{
	background-color:#090909;
	border:1px solid #2f2f2f;
	bottom:3.5em;
	padding:0.5em;
	position:absolute;
	}
.wpsc_variation_forms select {
	background-color:#1f1f1f;
	border:none;
	color:#999999;
	font-size:14px;
	margin-bottom:0px;
	margin-left:10px;
	}
/*credits stuff */
#credits{
	clear:left;
	}
#credits p {text-align:center;padding:0;}
#credits ul {font-size:10px;padding-bottom:15px;text-align:center;}
#credits li {list-style-type:none; display:inline;margin:0 10px 10px;}
/*Stockists/Friends*/
.contacts {
	padding-bottom:20px;
	list-style-type:none;
	}
ul.dd-stockists li.current a, ul.dd-stockists a:hover { text-decoration: underline; }
ul.dd-stockists li.current a { color: #999999; font-weight: bold; }
/*Front page specific */
/* gallery */
#carousel .gallery ,
.large .gallery {
	margin:0;
	}
#carousel .gallery-icon,
.large .gallery-icon {}

#carousel  .gallery-item  {margin-top:0;width:auto;}

#carousel .gallery img,
.large .gallery img {border:0;}
.jcarousel-next-horizontal {
    position: absolute;
    top: 43px;
    right: -18px;
    width: 22px;
    height: 20px;
    cursor: pointer;
    background: transparent url(images/arr-right.png) no-repeat 0 0;
}


.jcarousel-prev-horizontal {
    position: absolute;
    top: 43px;
    left: -18px;
    width: 22px;
    height: 20px;
    cursor: pointer;
    background: transparent url(images/arr-left.png) no-repeat 0 0;
}
/* Front page */
#front-blog{
	float:left;
	padding-left:20px;
	padding-right:20px;
	padding-top:20px;
	position:relative;
	width:500px;
	}
#front-blog h2,
#front-feat-prod h2{
	font-size:22px;
	font-weight:normal;
	text-transform:uppercase;
	}
#front-blog h3,
#front-twitter h3 {
	border-bottom:1px solid #2F2F2F;
	font-size:14px;
	font-weight:normal;
	margin-bottom:8px;
	padding-bottom:5px;
	}
.front-post, .archive-post {padding-bottom:25px;}
a.front-more{padding:2px;margin-left:-2px;}
a:hover.front-more{background:#333;}
.front-image {
	float:left;
	margin: 5px 5px 0 0;
	overflow:hidden;
	padding-bottom:25px;
	}
.front-image img {border:#444444 1px dotted;}
#front-feat-prod {float:left;padding-top:20px;width:236px;}
#front-feat-prod a {background:#646464;display:block; padding:5px;}
.front-excerpt p {padding-bottom:0;}
#front-feat-sm-gallery {float:left;}
.front-feat-small {display:block;margin-bottom:10px;height:90px; width:70px;}
#front-feat-large {display:block;
float:left;
height:190px;
margin-right:10px;
width:145px;}
#front-feat-large img {height:180px;}
#front-twitter {
	float:left;
	padding-bottom:20px;
	padding-top:10px;
	width:226px;
	}
.front-blog {
	position:absolute;
	right:20px;
	top:20px;
	}
a.front-blog {color:#663399;}
.meta-stuff a {
	color:#0099cc;
	}
.meta-stuff a:hover {text-decoration:underline;}
#front-twitter .readmore {
	display:block;
	}
/*archive specific */
.archive-excerpt p {padding-bottom:0;}
.archive-head {clear:both;font-weight:normal;padding-bottom:0px;text-transform:uppercase;}

/*post specific */
.post {clear:both;}
.post-entry a:link img, .post-entry a:visited img {border:1px dotted #222222;}
.post-entry a:hover img, .post-entry a:active img {border:1px dotted #ffffff;}
.post-entry .alignleft {border:#222222 1px dotted;margin:5px 5px 5px 0;padding:5px;}
.post-entry .alignright {border:#222222 1px dotted;margin:5px 0 5px 5px;padding:5px;}
.post-entry img.alignleft {margin-bottom:20px;padding-right:5px;}
.post-entry img.alignright {padding-bottom:20px;padding-left:5px;}
.post-date {float:left;line-height:12px;padding-top:5px;width:40px;text-align:center;}
.post-date .chron-day{color:#666666;display:block;font-size:22px;padding-bottom:4px;}
.post-date .chron-month{color:#666666;font-size:10px;letter-spacing:2px;padding-left:2px;text-transform:uppercase;}
.post-date .chron-year{color:#666666;font-size:9px;letter-spacing:0px;}
.post-title, .post-entry {margin-left:50px;overflow:hidden;}

.post-entry ul,
.post-entry ol {padding-bottom:14px;}
.post-entry blockquote {margin-bottom:14px;}
.post-entry img {text-align:center; padding:5px;}
.navigation .alignleft {font-size:10px; margin-top:-3px; padding-bottom:10px;text-transform:uppercase;}
.navigation .alignright {font-size:10px; margin-top:-3px; padding-bottom:10px;text-transform:uppercase;}
.navigation a {padding:2px;}
.navigation a:hover {
	background:#333;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	}
.meta-stuff{
	border-bottom:1px solid #2F2F2F;
	font-size:10px;
	margin-bottom:12px;
	padding-bottom:0;
	}
.more-link {font-weight:bold;}
.post-title h2,
.page-title h2 {
	font-size:22px;
	font-weight:normal;
	padding-bottom:10px;
	text-transform:uppercase;
	}

.page-title h2 {
	border-bottom:1px solid #2F2F2F;
	letter-spacing:-0.04em;
	margin-bottom:12px;
	padding-bottom:10px;
	}
/*comment related stuff */
#comments{clear:both;padding-left:50px;padding-bottom:20px; padding-top:20px;}
#comments h3 {font-weight:normal;text-transform:uppercase;}
.comment-wrap {border-top:1px solid #2F2F2F;clear:both;padding-top:5px;}
.comment-wrap div {padding-bottom:10px;}
.comment-avatar {float:left;}
.comment-avatar  img{
	border-top:1px solid #2f2f2f;
	border-left:1px solid #2f2f2f;
	border-right:1px solid #000000;
	border-bottom:1px solid #000000;
	margin-right:5px;
	margin-top:3px;
	}
.comment-text{padding-left:80px;}
.comment-text cite small {font-size:10px;}
#comments #respond {clear:both;}
.commentlink {background:url(images/sprites.png) no-repeat 3px 6px;margin-left:5px;padding:5px 8px;}

#sideshoppingcart .emptycart a,
#sideshoppingcart .gocheckout a,
#sideshoppingcart .visitshop a {
	background:#000000;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	display:block;
	margin-top:5px;
	padding:3px;
	text-align:center;
	}
#sideshoppingcart .emptycart a:hover,
#sideshoppingcart .gocheckout a:hover,
#sideshoppingcart .visitshop a:hover {
	background:#663399;
	}

/* Product display */
.single_product_display {
	margin-bottom:10px;
	}
.single_product_display .textcol {
	float:right;
	height:314px;
	margin-bottom:0px;
	margin-left:10px;
	position:relative;
	width:284px;
	}
.single_product_display .textcol h2.prodtitles {
	color:#FFFFFF;
	font-family:Helvetica,Arial,sans-serif;
	font-size:2.74em;
	letter-spacing:-0.01em;
	line-height:1.05em;
	margin-bottom:3px;
	padding-bottom:3px;
	position:relative;
	xwidth:220px;
	}
.single_product_display .textcol .wpsc_product_price {
	color:#FFFFFF;
	font-size:16px;
	font-style:italic;
	font-weight:bold;
	border-bottom:1px dotted #FFFFFF;
	padding-bottom:6px;
	margin-bottom:6px;
	}
.single_product_display .imagecol {
	margin-bottom:10px;
	float:left;
	width:236px;
	}
.single_product_display .imagecol #largeimg a {
	background:#3F3739;
	display:block;
	padding:7px 8px 7px 7px;
	}
.single_product_display .imagecol #largeimg a:hover {
	background:#5F595B;
	}
.single_product_display #largeimg {
	margin-bottom:10px;
	}
.single_product_display #main_product_image {
	border:1px solid #1C1819;
	}
#wpcart_gallery h3{
	display:none;
	}

#wpcart_gallery a {
	background:#3F3739 none repeat scroll 0 0;
	display:block;
	float:left;
	margin:0 3px 3px 0;
	padding:3px;
	width:50px;
	}
#wpcart_gallery a:hover {
	background:#5F595B;
	}
/* Also bought */
.wpsc_also_bought {
	margin-bottom:10px;
	}
/* Bookmarks */
#bookmarker ul {
	list-style-type:none;
	}
#bookmarker li {
	float:left;
	padding:0 10px 10px 0;
	}
#bookmarker a {
	display:block;
	height:16px;
	text-indent:-7000px;
	width:16px;
	}
#wpsc_akst_delicious {
	background:url(images/social_networking/delicious.png) no-repeat left top;
	}
#wpsc_akst_digg {
	background:url(images/social_networking/digg.png) no-repeat left top;
	}
#wpsc_akst_google_bmarks {
	background:url(images/social_networking/google_bmarks.gif) no-repeat left top;
	}
#wpsc_akst_stumbleupon {
	background:url(images/social_networking/stumbleupon.png) no-repeat left top;
	}
#wpsc_akst_twitter {
	background:url(images/social_networking/twitter.png) no-repeat left top;
	}

/* Grid view */
.product_grid_item {
	float:left;
	margin:0 4px 10px 0;
	position:relative;
	}
.product_grid_item a {
	background:#3F3739;
	display:block;
	min-height:190px;
	padding:3px 5px 5px 3px;
	width:120px;
	}
.product_grid_item a:hover {
	background:#5F595B;
	}
.product_grid_item img {
	border:1px solid #1C1819;
	}
.product_grid_item .prodspecial {
	background:transparent url(images/css-sale.png) no-repeat scroll left bottom;
	display:block;
	height:40px;
	position:absolute;
	right:2px;
	text-indent:-7000px;
	top:86px;
	width:43px;
	}
.product_grid_item .product_text {
	text-align:center;
	}
.product_grid_item .prodname {
	display:block;
	font-size:11px;
	font-weight:bold;
	margin-top:3px;
	}
.product_grid_item .prodprice {
	display:block;
	}
/* Shopping carts */
#shopcart-cart h2,
#shopcart-details h2 {
	font-size:22px;
	font-weight:normal;
	padding-bottom:10px;
	text-transform:uppercase;
	}
#shopcart-cart h2,
#shopcart-details h2 {
	font-size:18px;
	padding-bottom:6px;
	}
#shopcart-cart,
#shopcart-details {
	margin-bottom:10px;
	padding:10px 9px;
	width:340px;
	}
#shopcart-cart {
	float:left;
	}
#shopcart-details {
	background:#272123;
	float:right;
	}
.removelink {
	background:url(images/css-remove.png) no-repeat left top;
	display:block;
	height:17px;
	text-indent:-9999px;
	width:15px;
	}
#shopcart-cart form input,
#shopcart-cart form select,
#shopcart-details form input,
#shopcart-details form textarea,
#shopcart-details form select{
	background-color:#000000;
	border:1px solid #2F2F2F;
	color:#999999;
	font-size:8pt;
	margin:2px;
	padding:6px 3px;
	}
#shopcart-cart form select,
#shopcart-details form select{
	padding:5px;
	}
#shopcart-details button {
	background:transparent url(images/make_purchase.png) no-repeat left top;
	border:medium none;
	display:block;
	height:31px;
	text-indent:-9999px;
	width:135px;
	}
#shopcart-details button:hover {
	background-position:left bottom;
	}
/*Self clearing floats */
#shoppingcartcontents:after,
#front-main:after,
#main:after,
#front-feat-prod:after,
#navigation:after,
#footer:after,
#content:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}
.separator{clear:both;height:0px;}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }
.clearfix {display: inline-block;}  /* for IE/Mac */

