/*
Theme Name: Avery
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: Automattic
Author URI: http://automattic.com/
Description: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Version: 1.4
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

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.
*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: url(img/BG.jpg) repeat; min-width:1024px }
body { margin: 0px; padding 0px; font-size: 13px; line-height: 1.231; background: url(img/NAV-bg.jpg) top repeat-x;}
body, button, input, select, textarea { font-family: "Times New Roman", Times, serif; color: #222; font-size: 1em; line-height: 20px;}

::-moz-selection { background: #761616; color: #fff; text-shadow: none; }
::selection { background: #761616; color: #fff; text-shadow: none; }

a { color: #761616; }
a:visited { color: #761616; }
a:hover { color: #c7bd89; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; width: 100%;}
td { vertical-align: top; }




/* MAIN STRUCTURE
-------------------------------------------------------------- */

#page { display: block; margin: 1em; }

#primary { float: left; margin: 0 -240px 0 0; width: 100%; }

#content { margin: 0 280px 0 0; }


/* NAVIGATION ------------------------------------ */

#main-navigation { width: 960px; height: 69px; font-family: Tahoma, Geneva, sans-serif; text-transform: uppercase; font-size: 1em; letter-spacing: 2px; line-height: 35px; margin: 0 auto; position: relative;}
#main-navigation ul { width: 289px; list-style: none; }
#main-navigation li { float: left ;margin-left: 20px; }
#main-navigation li a { display: block; text-decoration: none; color: #fff; }
#main-navigation li a:hover { color: #c7bd89; }
#main-nav-left{ list-style: none; float: left; line-height: 60px; margin-left: 15px;}
#main-nav-right{ list-style: none; float:right; line-height: 60px; margin-right: -40px; }

#menu-item-83 { letter-spacing: 0px; margin-right: 5px; }

#side-navigation { width: 100%; font-family: Tahoma, Geneva, sans-serif; text-transform: uppercase; font-size: 1.1em; letter-spacing: 2px; line-height: 60px; margin-bottom: 50px;}
#side-navigation ul { list-style: none;}
#side-navigation li { clear: both; list-style: none; margin-left: -74px;  margin-bottom: -5px; width: 257px; height: 60px; background: url(img/averylawoffice-extras.png) 0px -135px; }
#side-navigation li a { text-decoration: none; color: #761616; }
#side-navigation li a:hover { color: #c7bd89; }

.sub-menu {
	background: url(img/BG.jpg) repeat; 
	left: -9999px;
	letter-spacing: 0;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	margin: -2.5em 0 0 7em;
	width: auto!important;
	z-index: 99;
	border: 1px solid #742222;
	padding: .7em;
}

.sub-menu a {
	border-top: none;
	position: relative;
	padding: 1em;
	width: auto!important;
}


.sub-menu li { margin: -1em!important; background: transparent!important; width: 475px!important;}


.menu-item:hover {
	display: block;
	position: static;
	
}

.menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}


/* MAIN ------------------------------------ */

header { width: auto; height: auto; margin: 0 auto; display: block;}

#container { width: 960px; margin: 20px auto; padding: 0 1.5em;}

aside { width: 260px; height: auto; float: left; position: relative;}

aside img { margin: 1em 0;}

#main { width: 650px; height: auto; float: right; position: relative;}

#main img {
max-width: 650px;
height: auto;
}

#full-width { width: 100%; border: 1px solid #333;}

#spacer {clear: both;}
.clearfix { display: inline-block; }

#banner {
    position: relative;
    width: 960px; 
    margin: 0px auto;       
    _margin-top: -40px;
    display: table;
z-index:1;
}

.averylogo { position: absolute; width:360px; left: 50%; margin-left: -180px; z-index: 2; }

.wp-caption-dd {
    margin: 0px !important;
    padding: 0 3px 0 3px;
}




/* FOOTER ------------------------------------ */

#footer { width: 100%; min-width:1024px; display: block; height: 503px; background: url(img/FOOTER-bg.jpg) repeat-x; background-color: #821d20; position: relative; top: 100px; }
#footer a { text-decoration: underline; color: #c7bd89; white-space: nowrap;}
#footer a:hover { text-decoration: none; color: #fff; }

.footer-widgets { width:960px; height: 500px; position:relative; margin:0 auto;}
.footer-widgets li ul {color: #c7bd89; list-style-type: none; margin-left: -40px;}

.column {  width:301px; float:left; list-style-type: none; padding-left: 23px;}
.first-column {  width:301px; float:left; list-style-type: none; padding: 0px; height: 320px; overflow: hidden;}

.square { display:block; margin-bottom:10px; clear: both; padding-bottom: 15px; line-height: 14px;}
.textwidget { width: 97%; color: #fff;}

aside .textwidget { color: #000;}

#footer h6 { background: url(img/FOOTER-HR-BG.jpg) left center repeat-x; text-align: left;}
#footer h6 span { background: #8e2023; display: inline-block; padding-right: 5px; text-transform: uppercase;}
h6 { font-family:Verdana, Geneva, sans-serif; font-size: 1.2em; font-weight: normal; letter-spacing: 1px; margin-top: 15px; margin-bottom: 10px; color: #fff;}

.footer-copyright { position: absolute; width: 960px; left: 50%; margin-left: -480px; top: 400px; height: 100px; font-family: Tahoma, Geneva, sans-serif; line-height: 22px; font-size: 1em; color: #fff; text-align: center; text-transform: uppercase;}
.footer-copyright a { color: #fff !important; text-decoration: none !important; }
.footer-copyright a:hover { color: #c7bd89; text-decoration: underline !important; }

.copyright { text-transform: uppercase; display: block; color: #cc9798;}
.copyright a { color: #cc9798 !important; text-decoration: underline; }

#menu-bottom-nav {
            margin: 0px auto;
            padding: 0;
            width: 547px;
            text-align: center;
	    height: 70px;
        }

        #menu-bottom-nav li {
            list-style-type: none;
            margin-right: 20px;
            display: inline-block;
	    display: inline;

        }




.readmore { position: absolute; top: 346px;}







/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin: 5px 5px 5px 0;
}
.alignright {
	display: inline;
	float: right;
	margin: 5px 0x 5px 5px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin: 5px 5px 5px 5px;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}

/* BLOG
-------------------------------------------------------------- */	

.entry-title { width: 650px; line-height: 36px; color: #000; font-weight: normal; font-size: 1.5em; text-transform: uppercase; margin-top: 35px; }

.title { width: 650px; line-height: 36px; color: green; font-weight: normal; font-size: 1.5em; text-transform: uppercase; margin-top: 35px;}

.entry-header { width: 400px; font-weight: bold; text-align: left; margin-left: 0px; }

.blog .entry-subtitle { width: 100%; height: 36px; line-height: 36px; letter-spacing: 1px; color: white; font-weight: normal; font-size: 1em; text-indent: 15px; margin-top: -10px; background-color: #761616; text-transform: uppercase; }

.blog-entry-subtitle { width: 100%; height: 36px; line-height: 36px; letter-spacing: 1px; color: white; font-weight: normal; font-size: 1em; text-indent: 15px; margin-top: -10px; background-color: #761616; text-transform: uppercase; }





.category-archive-meta { border: 1px solid #000; }



/* DISPLAY NONE FOR CATEGORY - ARTICLES META INFO AND SUB TITLES */

/*.category-legal-libation-columns .blog-entry-subtitle {
    display: none;
}*/

.category-legal-libation-columns .entry-meta-archives-content {
    display: none;
}


.nav-next {
    float: right;
}






/* SIDEBAR
-------------------------------------------------------------- */	

.widget-title { font-family: Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: normal; line-height: 50px; color: #fff; text-transform: uppercase; text-align: center; margin-top: 30px; width: 257px; height: 50px; background: url(img/averylawoffice-extras.png); clear: both; margin-bottom: 25px; float: right; }

.widget ul { list-style: none; margin-left: -30px; padding-top: -20px; }



/* WIDGETS
-------------------------------------------------------------- */

.widget { display: block; }
.widget-area .widget_search { overflow: hidden; }
.widget-area .widget_search input { float: left; }


#wp-calendar {clear: both;}


/* SIDEBAR : WIDGET : ADVANCED RECENT POSTS ------------------------------------ */	

.advanced-recent-posts {list-style-type: none; overflow:hidden; width:250px; font-size:16px; line-height:1.2; color: #761616; text-transform: uppercase; padding-top: 8px; clear: both;}
	
.advanced-recent-posts li { font-size: .7em; font-weight: bold; line-height: 20px; margin-bottom: 12px; position:relative; padding-left:80px; min-height:80px; /* image height + 10px padding */ *height:80px; /* ie6 :/ */ }

.advanced-recent-posts ul p { padding-top:10px; }

.date { color:#666; position:relative;  }
.timestamp { color:#666; position:relative; margin-left: 10px; }
	
.advanced-recent-posts li a { display: block; margin-left: 10px; }

.advanced-recent-posts li img {  position:absolute; width:64px; left:0; top:0; padding: 5px; border: 1px solid #CCC; }
	
	
/* WIDGET : FEEDBURNER ------------------------------------ */
	
#fb-container{  /* container widget */  font-family:arial; position: relative; left: 5px; width: 247px; clear: both; margin-top: 20px}
#fb-container p { color: #000; font-size: .9em; }

.fbf-text { /* intro texto */ width: 100%; font-size: .7em; line-height: 17px; margin-bottom: 10px; }

.fbf-widget{ /*form */ clear: both; width: 100%; height: 32px; background-color: #f3f3f3; border: 2px solid #742222;}

.fb-counter-img {  /* counter img container*/ width: 100px; height: 100px; border: 1px solid red;}

.subscription_email{ /* e-mail field */ position: relative; float: left; height: 20px; font-size: 1em; color: #333; padding-left: 5px; background-color: #f3f3f3; border: 0px; top: 2px;}

.subscription_btn { /*btn */ float: right; width: 61px !important; height: 33px; background: url(http://averylawoffice.ca/media/RSS-submit.jpg) center !important; border: 0px !important; font-size: 0; display:block; line-height: 0; text-indent: -999px;}

p.fb-credits a, .fb-credits{ color:#ccc;font-size:10px;text-decoration:none;text-align:center; margin:0 auto; font-family:arial; text-indent: -999px;}

.feed-image { /* the image   */ width: 257px; height: 42px; background: url() center; border: 0px;}


/* WIDGET : SEARCH ------------------------------------ */

#search-2 { position: relative; left: -4px; }
#s { font-size: 1em; color: #333; padding-left: 5px; float: left; height: 28px; background-color: #f3f3f3; border: 0px; }

#searchsubmit{ /*btn  */ float: right; width: 30px; height: 30px; vertical-align: top;
font-size: 0; line-height: 0; text-indent: -999px; 
background: url(http://averylawoffice.ca/media/SEARCH-submit.jpg) center; border: 0px;}


#searchform { /*container widget */ position: relative; float: left; margin-left: 5px; margin-bottom: 15px; width: 97%; height: 30px; background-color: #f3f3f3; border: 2px solid #742222;}

#searchform label { display: none; }
#searchform input#s { width: 75%; height: 20px;}
input[type=text],input#s { margin: 0 10px 0 0; width: 60%; }
textarea { width: 85%; height: 20px; }

/* Class for labelling required form items */
.required { color: #cc0033; }


/*#posts { width: 200px; border: 1 px solid #F00; }
#widget-latest-posts { list-style: none; margin-left: -20px; color: #761616; border: 1px solid #0F3; }
#widget-latest-posts img { margin-left: -10px; margin-bottom: -55px; padding: 3px; border: 1px solid #999; }
.widget-latest-posts-date { font-size: .7em; font-family: "Times New Roman", Times, serif; font-weight: bold; line-height: 17px; color: #999; margin-bottom: 10px; position: relative; top: -37px; left: 70px; }
.thumbnail { width: 50px; height: 50px; border: 1px solid #093; padding: 5px;}*/


/* =Catergory &  Archives ------------------------------------ */

.page-title { width: 600px; margin-left: 0px; color: #000; font-size: 1.2em; line-height: 60px; margin-top: 20px;}
.entry-meta { clear: both; width: 600px; height: 36px; line-height: 36px; letter-spacing: 1px; color: #fff; font-weight: normal; font-size: 1em; text-indent: 15px; margin-top: -10px; background-color: #761616; text-transform: uppercase; }
.entry-meta-archives-content { width: 600px; line-height: 36px; letter-spacing: 1px; color: #fff; font-weight: normal; font-size: 1em; text-indent: 15px; padding-top: 30px; text-transform: uppercase; color: #000; }
.entry-date { color: #fff; float: left; }
.sep { display: table; width: 600px; color: #000;}

.cat-links, .tag-links { color: #000; }
.cat-item{ margin-bottom: 10px; color: #761616;}



#archives { width: 269px; margin: 0 0 20px 0; padding: 10px 20px 10px 0; }
#archives p { margin: 0 0 20px 0; }




.pagination { clear:both; padding:20px 0; position:relative; font-size:1em; line-height:13px; }
.pagination span, .pagination a { display:block; float:left; margin: 5px 5px 5px 0; padding:9px 12px 8px 12px; text-decoration:none; width:auto; color:#7e2929; -moz-border-radius: 5px; border-radius: 5px; border: 2px solid #e8e8e8; background: #fff; }
.pagination a:hover{ color:#fff; background: #c7bd89; }
.pagination .current{ padding:9px 12px 8px 12px; background: #7e2929; color:#fff; }


.trackable_sharing { margin-bottom: 30px; }



/* =TYPOGRAPHY
-------------------------------------------------------------- */

h1 { font-size: 2em; font-weight: normal; letter-spacing: 1px; line-height: 30px; color: #000; text-transform: uppercase; margin-top: -10px; }

h2 { font-size: 1.5em; font-weight: normal; letter-spacing: 1px; line-height: 26px; text-transform: uppercase; }

h3 { color: #333333; font-size: 1.2em; font-weight: normal; letter-spacing: 1px; line-height: 20px; }

h4 { font-size: 1em; font-weight: normal; line-height: 20px; color: #900; }

h5 { font-size: 1em; font-weight: bold; line-height: 20px; color: #761616; }

h6 { font-size: 1.2em; font-weight: normal; letter-spacing: 1px; margin-top: 15px; margin-bottom: 10px; color: #fff;}





/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 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;
}
#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: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
	margin-left: -14px;

}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
	margin-top: 50px;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
	background-color: #dbdbdb;
	margin: 8px;
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}




/* =Comments
-------------------------------------------------------------- */

#comments { widht: 600px; height: 300px;/* border: 1px solid green;*/ }
article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}




/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}






#gform_1 li { margin-bottom: 20px;}

table.gsurvey-likert tr td:first-child {
    border-left: 1px solid silver!important;
    padding: 5px!important;
    text-align: left!important;
    width: 210px!important;
}

#input_1_13, #input_1_18_3, #input_1_18_6, #input_1_16, #input_1_17, #input_1_19, #input_1_20, #input_1_22 {font-size: 1em;}

.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password], textarea.textarea, .gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction { 
	font-size: 1em!important;
}



