/*
Theme Name: BearThemeJ
Theme URI: http://www.bearweb.ca
Author: Bear Web Development
Author URI: http://www.bearweb.ca/
Description: HTML5, design for Jacqui.
Version: 1.0
Tags: custom-menu, threaded-comments, sticky-post, microformats, rtl-language-support, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.jCarouselDefault{
width:532px;
height:362px;
padding: 0px 100px;
}

.jCarouselLite{
width:468px;
height:312px;
overflow:hidden;
}
button.prev {
float:left;
width: 32px;
height: 32px;
cursor: pointer;
background-image: url(images/prev-horizontal.png);
}
button.next {
float:right;
width: 32px;
height: 32px;
cursor: pointer;
background-image: url(images/next-horizontal.png);
}
#mycarousel {
width:468px;
height:312px;
display:block;
}

/* =Structure
-------------------------------------------------------------- */

/*  

DO NOT EDIT THIS FILE.

If you need to overwrite the CSS styling, create a new custom_style.css 
in the theme folder and it will automatically load in the <head>.

*/

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
    margin: 0;
    padding: 0;
}
img, fieldset {
    border: 0;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
    background: #fff url(images/html-bg.jpg);
    font: 15px/140% "Times New Roman", Times, serif;
    color: #3D2F0A;
}
p {
    margin: 0 0 1.2em;
    padding: 0;
}
a {
    text-decoration: underline;
    color: #a11c22;
    outline: none;
}
a:hover {
    text-decoration: none;
}
small {
    font-size: 87%;
}
em, i {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 105%;
}
hr {
    height: 1px;
    border: none;
    border-top: solid 1px #ddd;
    clear: both;
}
ul, ol {
    margin: 1em 0 1.4em 24px;
    padding: 0;
    line-height: 140%;
}
li {
    margin: 0 0 .5em 0;
    padding: 0;
}
blockquote {
    font: italic 15px/130% "Times New Roman", Times, serif;
    padding: 8px 30px 15px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.4em;
    margin: 1.4em 0 .2em;
    font-weight: normal;
    color: #3D2F0A;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
h1 {
    font-size: 1.7em;
    text-transform: uppercase;
}
h2 {
    font-size: 1.6em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1em;
    letter-spacing: .1em;
    text-transform: uppercase;
}
h5 {
    font-size: 1.2em;
}
h6 {
    font-size: 1em;
}
input, textarea, select {
    font-size: 14px;
    font-family: inherit;
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,.1);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,.1);
    box-shadow: inset 0 0 2px rgba(0,0,0,.1);
}
textarea {
    line-height: 150%;
}
input[type=text], input[type=password], textarea {
    border: solid 1px #deded0;
    border-top-color: #cecec1;
    border-bottom-color: #f6f6ec;
    padding: 5px 7px 6px;
    background: #efede6;
    color: #666;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
textarea:focus, input[type=password]:focus, input[type=text]:focus {
    border: solid 1px #999;
    color: #000;
}
input[type=reset], input[type=submit] {
    background: #a11c22;
    color: #fff;
    border: none;
    padding: 5px 7px;
    cursor: pointer;
    font-variant: small-caps;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.2);
    box-shadow: 0 1px 1px rgba(0,0,0,.2);
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}
input[type=reset]:hover, input[type=submit]:hover {
    background: #000;
    color: #fff;
}

.entry-content {
width:725px;
}

/************************************************************************************
GRID
*************************************************************************************/
.col,
.col4-1,
.col4-2,
.col4-3,
.col3-1,
.col3-2,
.col2-1
{
    float: left;
    margin-left: 30px;
}
.col4-1 {
    width: 222px;
}
.col4-2 {
    width: 474px;
}
.col4-3 {
    width: 726px;
}
.col3-1 {
    width: 306px;
}
.col3-2 {
    width: 642px;
}
.col2-1 {
    width: 474px;
}
.col.first,
.col4-1.first,
.col4-2.first,
.col4-3.first,
.col3-1.first,
.col3-2.first,
.col2-1.first
{
    margin-left: 0;
    clear: left;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
    position:absolute;
    top:0px;
    left:1%;
    
    width: 98%;
    margin: 0 0 0 0;
}
#body {
width:99.9%;
left:0.01%;
    position:absolute;
    top:180px;
    min-height: 500px;
    padding-bottom: 00px;
}
.narrow-content {
    width: 670px;
}
.fullwidth, #content.fullwidth {
    width: 978px;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
    background: url(images/header-bg.png) no-repeat;
    position: absolute;
    top:0px;
    width:99.9%;
    height: 180px;
    border-bottom: solid 0px #000;
}
#site-logo {
    position: absolute;
    top: 38px;
    left: 80px;
}
#site-logo a {
    font: bold 32px/100% Georgia, "Times New Roman", Times, serif;
    text-decoration: none;
    letter-spacing: -.04em;
    color: #6A5111;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
#site-description {
    position: absolute;
    top: 75px;
    left: 80px;
    width: 400px;
    font: italic 16px "Times New Roman", Times, serif;
    color: #3C9419;
}
/* header widget */
.header-widget {
    position: absolute;
    top: 30px;
    right: 5px;
    font-size: 95%;
}
.header-widget a {
    margin-left: 5px;
}
.header-widget  a {
    text-decoration: none;
    color: #999;
    margin: 0 2px;
}
.header-widget  a:hover {
    text-decoration: none;
    color: #000;
}
.header-widget img {
    vertical-align: text-top;
}
.header-widget .widget {
    float: left;
    margin-right: 10px;
}
.header-widget .widget div {
    float: left;
}
.header-widget .widget strong {
    float: left;
    margin-right: 5px;
}
.header-widget ul {
    margin: 0 !important;
    padding: 0;
    float: left;
}
.header-widget ul li {
    margin: 0 3px 0 0;
    padding: 0;
    float: left;
    border: none;
    clear: none;
}
.header-widget ul li img {
    vertical-align: middle;
}
/* rss button */
.header-widget .rss {
    float: left;
}
.header-widget .rss a {
    background: url(images/rss.png) no-repeat left center;
    padding: 4px 0 3px 21px;
}

/************************************************************************************
SEARCH FORM
*************************************************************************************/
#searchform {
    position: absolute;
    bottom: 7px;
    right: 0;
}
#searchform #s {
    width: 206px;
    font: italic 14px/100% "Times New Roman", Times, serif;
}
#searchform #s:focus {
    font-style: normal;
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#access {
border-bottom:2px solid #3C9419;
	background: transparent;
	font-weight:bold;
	display: block;
	float: left;
	width: 99%;
	margin: 0;
	padding: 0;
	padding-top:7px;
	padding-right:7px;
	position: absolute;
	left: 0;
	bottom: 5px;
        z-index: 100;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	font-weight:bold;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #cfbe95;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}

/************************************************************************************
SLIDER
*************************************************************************************/
#header-slider {
    margin: 0;
    padding: 20px 25px 5px 45px;
    overflow: hidden;
    border-bottom: solid 1px #000;
    clear: both;
    position: relative;
}
.slides {
    margin: 0 ;
    padding: 0;
    height: 180px;
    overflow: hidden;
}
.slides li {
    margin: 0 30px 20px 0;
    padding: 0;
    list-style: none;
    float: left;
    text-align: center;
}
.slides h3 {
    font: normal 85%/120% "Times New Roman", Times, serif;
    margin: 4px 0 4px;
    padding: 0 10px;
    text-align: center;
}
.slides h3 a {
    color: #999;
    text-decoration: none;
}
.slides h3 a:hover, .slides li:hover h3 a {
    color: #a11c22;
    text-decoration: none;
}

/* slide nav */
.slider-nav a {
    background: url(images/slide-next-prev.png) no-repeat;
    width: 28px;
    height: 48px;
    display: block;
    text-indent: -900%;
    position: absolute;
    top: 45%;
    margin-top: -24px;
}
.slider-nav .prev-slide {
    left: 0;
}
.slider-nav .next-slide {
    right: 0;
    background-position: 0 -46px;
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
    padding: 0px 0 10px;
}
.page-title {
    font: normal 36px/120% "Times New Roman", Times, serif;
    margin: 0 0 15px;
    padding: 0;
}
.post-image {
    margin: 0 0 5px;
}
.post-date {
    font: bold 12px/100% Arial, Helvetica, sans-serif;
    margin: 8px 0 2px;
    padding: 0;
    color: #a1a1a1;
}
.post-title {
    font: normal 24px/120% "Times New Roman", Times, serif;
    margin: 0 0 3px;
    padding: 0;
}
.post-title sup a {
    margin: 0 1px;
}
.post-title a {
    text-decoration: none;
}
.post-comments {
    font-size: 65%;
    line-height: 100%;
    color: #ccc;
}
.post-content {
    padding: 0 4px;
}

/* listview post */
.listview-post {
    margin: 0 0 40px;
}
.listview-post .post-image {
    margin: 7px 0 12px;
}

/* default post */
.default-post {
    margin-bottom: 30px;
    padding-bottom: 20px;
}
.default-post .post-image {
    position: relative;
    margin: 0 30px 0 0;
    float: left;
    width: 200px;
}
.default-post .post-date {
    margin: 0 0 1px;
}
.default-post .post-date span {
    color: #fff;
    background: #000;
    background: rgba(0,0,0,.8);
    padding: 5px 10px;
    position: absolute;
    top: 13px;
    left: 0;
}
.default-post .post-content {
    overflow: hidden;
}

/* single post image */
.single-post-img {
    float: right;
    margin-bottom: 30px;
    margin-left: 30px;
}
.single-post-img.left {
    margin-left: 0;
    margin-right: 30px;
}

/* post meta */
.post-meta {
    font-size: 90%;
    line-height: 130%;
    color: #999;
    margin: 8px 0 15px;
    padding: 8px 0 0;
    clear: both;
    border-top: solid 1px #ccc;
}
.post-meta em {
    text-transform: uppercase;
    font-style: normal;
    font-size: 80%;
}
.post-meta span {
    margin: 0 8px 0 0;
}
.post-meta a {
    color: #777;
    text-decoration: none;
}
.post-meta a:hover {
    color: #000;
    text-decoration: none;
}

/* grid4 post */
.grid4-post {
    font-size: 85%;
    line-height: 130%;
    margin-bottom: 20px;
}
.grid4-post .post-date {
    font-weight: normal;
    margin: 7px 0 0;
}
.grid4-post .post-title {
    font-size: 16px;
    margin: 0 0 3px;
    padding: 0;
}
.grid4-post .post-comments {
    font-size: 80%;
}

/* grid3 post */
.grid3-post {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 135%;
}
.grid3-post .post-title {
    font: normal 18px/120% "Times New Roman", Times, serif;
    margin: 0 0 3px;
    padding: 0;
}
.grid3-post .post-comments {
    font-size: 80%;
}

/* grid2 post */
.grid2-post {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 130%;
}
.grid2-post .post-title {
    font: normal 21px/120% "Times New Roman", Times, serif;
    margin: 0 0 3px;
    padding: 0;
}
.grid2-post .post-comments {
    font-size: 70%;
}

/* large image grid */
.large-image-grid {
    font-size: 90%;
    line-height: 130%;
    border-top: solid 1px #ddd;
    padding: 27px 0 20px;
}
.large-image-grid .post-image {
    float: left;
    margin: 0 25px 10px 0;
}
.large-image-grid .post-title {
    font: normal 24px/110% "Times New Roman", Times, serif;
    margin: 5px 0;
    padding: 0;
}
.large-image-grid .post-date {
    margin: 15px 0 0;
}
.large-image-grid .post-content {
    padding: 0;
}

/* large image grid */
.large-image-list {
    padding: 25px 0 15px;
    border-bottom: solid 1px #ddd;
}
.large-image-list .post-image {
    margin: 0 30px 9px 0;
}
.large-image-list .post-title {
    font: normal 26px/110% "Times New Roman", Times, serif;
    margin: 0 0 5px;
    padding: 0;
}
.large-image-list .post-date {
    margin: 5px 0 2px;
}

/* next prev post */
.next-prev-post {
    border-top: solid 1px #ccc;
    margin: 40px 0 0;
    clear: both;
}
.next-prev-post em {
    background: #a11c22;
    color: #fff;
    font: 10px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: -27px 0 0;
    padding: 5px 10px 6px;
    display: table;
    float: left;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.2);
    box-shadow: 0 1px 1px rgba(0,0,0,.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.next-prev-post .next em {
    float: right;
}
.next-prev-post span {
    width: 45%;
}
.next-prev-post a {
    text-decoration: none;
    font: normal italic 18px/130% "Times New Roman", Times, serif;
    margin: 15px 0 40px;
    display: block;
    color: #999;
}
.next-prev-post a:hover {
    text-decoration: none;
    color: #000;
}
.next-prev-post .prev a {
    float: left;
}
.next-prev-post .next a {
    float: right;
    text-align: right;
}

/* page nav */
.pagenav {
    clear: both;
    border-top: solid 1px #ccc;
    padding: 7px 5px 0;
    text-align: right;
}
.pagenav .pages {
    font-size: 80%;
    margin-right: 10px;
}
.pagenav .number {
    background: #a11c22;
    color: #fff;
    text-decoration: none;
    padding: 1px 7px;
    vertical-align: middle;
    display: inline-block;
    zoom:1;
    *display:inline;
    -webkit-border-radius: 10em;
    -moz-border-radius: 10em;
    border-radius: 10em;
}
.pagenav .number:hover {
    text-decoration: none;
    background: #000;
}
.pagenav .current, .pagenav .current:hover {
    background: #fff;
    color: #666;
    border: solid 1px #ddd;
}

/************************************************************************************
COMMENTS
*************************************************************************************/
.commentwrap {
    border-top: solid 2px #000;
    margin: 20px 0 20px;
    padding: 10px 0 0;
    position: relative;
    clear: both;
}
.comment-title {
    font-size: 140%;
}
.next-prev-comment {
    position: absolute;
    top: 12px;
    right: 0;
}
.next-prev-comment a {
    color: #666;
    text-decoration: none;
    font-size: 85%;
    text-transform: uppercase;
}
.next-prev-comment a:hover {
    color: #000;
}
.next-prev-comment .next {
    margin: 0 0 0 20px;
}
/* commentlist */
.commentlist {
    margin: 10px 0 0;
    padding: 15px 0 0;
    list-style: none;
    border-top: solid 1px #999;
}
.commentlist li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}
.comment-title {
    font: 22px/100% "Times New Roman", Times, serif;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 7px;
    padding: 0;
}
.commentlist .comment-author {
    margin: 2px 0 5px;
    padding: 0;
}
.commentlist .avatar {
    float: left;
    margin: 0 15px 0 0;
}
.commentlist cite {
    font: italic 18px/120% "Times New Roman", Times, serif;
}
.commentlist cite a {
    text-decoration: none;
}
.commentlist .comment-time {
    font-size: 75%;
    text-transform: uppercase;
}
.commentlist .commententry {
    border-bottom: solid 1px #ddd;
    position: relative;
    min-height: 40px;
    overflow: hidden;
}
.commentlist ul, .commentlist ol {
    margin: 0 0 0 90px;
    padding: 0;
}
.commentlist .comment-reply-link {
    position: absolute;
    right: 0;
    top: 5px;
    font: 12px/100% "Times New Roman", Times, serif;
    text-transform: uppercase;
    text-decoration: none;
}
.commentlist .comment-reply-link:hover {
    text-decoration: none;
}
/* comment form */
#respond {
    margin: 40px 0 30px;
    padding: 10px 0 0;
    position: relative;
    clear: both;
}
#respond .cancel-comment-reply a {
    position: absolute;
    top: 18px;
    right: 0;
    font-size: 85%;
    text-decoration: none;
    padding: 2px 10px;
    color: #fff;
    background: #F30;
}
#respond .cancel-comment-reply a:hover {
    background: #333;
}
#commentform {
    margin: 15px 0 0;
}
#commentform input[type=text] {
    width: 206px;
    margin-right: 5px;
}
#commentform label {
    font-variant: small-caps;
}
#commentform label small {
    font-variant: normal;
    font-style: italic;
}
#commentform textarea {
    width: 97%;
    height: 140px;
}
#commentform input#submit {
    padding: 7px 20px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
    width: 250px;
    float: right;
    font: normal 12px/150% Arial, Helvetica, sans-serif;
    margin: 5px 0;
}
#sidebar .secondary {
    width: 115px;
    float: left;
    margin-right: 20px;
}
#sidebar .last {
    margin-right: 0;
}
/* narrow sidebar */
#sidebar.narrow-sidebar {
    width: 222px;
}
#sidebar.narrow-sidebar .secondary {
    width: 101px;
}

.widget {
    margin-bottom: 40px;
}
.widgettitle {
    font: normal 13px/120% "Times New Roman", Times, serif;
    text-transform: uppercase;
    margin: 0 0 3px;
    padding: 0 0 10px;
    border-bottom: solid 1px #ccc;
}
.widgettitle a {
    text-decoration: none;
}
.widget ul {
    margin: 0;
    padding: 0;
}
.widget li {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    clear: both;
    border-bottom: solid 1px #ccc;
}
.widget ul ul {
    margin: 6px 0 -6px 0px;
    padding: 0;
    border-top: none;
}
.widget ul ul li {
    margin: 0;
    padding-left: 10px;
    border-top: solid 1px #ccc;
    border-bottom: none;
}
.widget ul a {
    text-decoration: none;
}
.widget ul a:hover {
    text-decoration: underline;
}

/************************************************************************************
WIDGET STYLES
*************************************************************************************/
/* calendar widget */
.widget #wp-calendar caption {
    font-weight: bold;
    padding-bottom: 10px;
}
.widget #wp-calendar td {
    /*width: 31px;*/
    padding: 4px 2px;
    text-align: center;
}

#today{
padding-right:4px;
}

/* feature posts widget */
.widget .feature-posts-list .post-img {
    margin: 0 10px 10px 0;
    float: left;
}
.widget .feature-posts-list small {
    font: italic 90% "Times New Roman", Times, serif;
}
.widget .feature-posts-list .feature-posts-title {
    font-size: 105%;
}

/* twitter widget */
.widget .twitter-list .twitter-timestamp {
    font: italic 90% Georgia, "Times New Roman", Times, serif;
}
.widget .follow-user {
    margin: 0;
    padding: 5px 0;
}

/* links widget */
.widget .links-list img {
    vertical-align: middle;
}

/* recent comments widget */
.recent-comments-list .avatar {
    margin-right: 10px;
    float: left;
}

/* flickr widget */
.widget .flickr_badge_image {
    margin-top: 10px;
}
.widget .flickr_badge_image img {
    width: 52px;
    height: 52px;
    margin-right: 12px;
    margin-bottom: 12px;
    float: left;
}

/* search widget */
#sidebar #searchform {
    position: static;
}
#sidebar #searchform #s {
    width: 206px;
    font: italic 14px/100% "Times New Roman", Times, serif;
}
#sidebar #searchform #s:focus {
    font-style: normal;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
    clear: both;
    font-size: 90%;
    border-top: solid 1px #000;
    padding: 20px 0 40px;
    position:absolute;
    bottom:50px;
}
#colophon{
position:absolute;
bottom:20px;
height:19px;
}
.footer-nav {
    margin: 0 0 15px;
    padding: 0;
    text-align: center;
    clear: both;
}
.footer-nav li {
    margin: 0 3px;
    padding: 0;
    display: inline;
    list-style: none;
}
.footer-nav a {
    text-decoration: none;
    margin: 0 8px;
}
.footer-nav a:hover {
    text-decoration: underline;
}
.footer-text {
    text-align: center;
    font: italic 13px/130% "Times New Roman", Times, serif;
    color: #999;
    clear: both;
}
.footer-text a {
    text-decoration: none;
    color: #666;
}
.footer-text a:hover {
    text-decoration: underline;
}

#footer .widget {
    margin-bottom: 50px;
}
/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/
.clear {
    clear: both;
}
.left {
    float: left;
}
.right {
    float: right;
}
.textleft {
    text-align: left;
}
.textright {
    text-align: right;
}
.textcenter {
    text-align: center;
}
/* clearfix */
.clearfix:after, .widget li:after 
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .clearfix, * html .widget li
{
    zoom: 1;
} /* IE6 */
*:first-child+html .clearfix, *:first-child+html .widget li 
{
    zoom: 1;
} /* IE7 */

/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
    margin-bottom: 15px;
}
.alignleft {
    float: left;
    margin-right: 30px;
}
.alignright {
    float: right;
    margin-left: 30px;
}
.aligncenter {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    text-align: center;
    margin-bottom: 15px;
}
.wp-caption-text {
    font: italic 90%/120% Georgia, "Times New Roman", Times, serif;
    margin: 6px 0;
    color: #777;
}

/************************************************************************************
GALLERY
*************************************************************************************/
/* clearfix for gallery */
.gallery:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .gallery {
    zoom: 1;
} /* IE6 */
*:first-child+html .gallery {
    zoom: 1;
} /* IE7 */

body .gallery {
    margin: 30px 0;
}
/* gallery item */
#pagewrap .gallery dl {
    margin: 0 20px 20px 0;
    display: inline-block;
    vertical-align: top;
    zoom:1;
    *display:inline;
    width: auto;
    height:auto;
    float: none;
    text-align: center;
}
/* gallery caption */
#pagewrap .gallery dd {
    width: 140px;
    line-height: 120%;
    font-size: 90%;
    text-align: center;
    margin: 5px 0 0;
}
/* get rid of br tag */
.gallery br {
    display:none;
}

/************************************************************************************
IMAGE STYLES
*************************************************************************************/
.slides img,
.single-post-img img, .post-image img,
img.alignleft, img.aligncenter, img.alignright, img.alignnone, .wp-caption img,
.widget .feature-posts-list .post-img,
.widget .flickr_badge_image img,
.commentlist .avatar,
.recent-comments-list .avatar,
#pagewrap .gallery img,
.attachment img,
.menu-image img
{
    padding: 4px;
    background: #fff;
    border: solid 1px #ccc;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.1);
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
