/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */
	
/* Typography (baseline corrections)
=====================================*/

	h1 { font-size: 49px; margin-bottom: 14px;}
	h2 { font-size: 42px; margin-bottom: 7px; }
	h3 { font-size: 35px; margin-bottom: 7px; }
	h4 { font-size: 28px; margin-bottom: 7px; }
	h5 { font-size: 21px; }
	
	p { margin: 0 0 21px 0; }
	p.lead { font-size: 28px; }
	
/*	Blockquotes  */
	blockquote, blockquote p { line-height: 21px; }
	blockquote { margin: 0 0 21px; padding: 7px 20px 0 19px; }
	
	hr { margin: 14px 0 28px; }
	
/*Lists (baseline corrections)
=====================================*/

ul, ol { margin-bottom: 21px; }
ul ul, ul ol,
ol ol, ol ul { margin: 7px 0 7px 30px; }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 7px; }
li { line-height: 21px; margin-bottom: 14px; }


/* #Site Styles
================================================== */

/*http://www.justbenicestudio.com/studio/websymbols/*/

@font-face {
          font-family: 'WebSymbolsLigaRegular';
          src: url('../fonts/websymbols/websymbolsligaregular.eot');
          src: url('../fonts/websymbols/websymbolsligaregular.eot#iefix') format('embedded-opentype'),
               url('../fonts/websymbols/websymbolsligaregular.woff') format('woff'),
               url('../fonts/websymbols/websymbolsligaregular.ttf') format('truetype'),
               url('../fonts/websymbols/websymbolsligaregular.svg') format('svg');

    font-weight: normal;
    font-style: normal;

}

body {
	background: url(../images/rustic_ledge2.jpg);
}


* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	}
	
.wrapper {
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

	
img {
	max-width: 100%;
}
	
/*bands*/

.band {
	background: url(../images/bg_light.png) repeat;
				
}

.band.header {
	background: url(../images/bg_light.png) repeat;
	
}


.band.navigation {
	background: url(../images/cedar_2s.png) repeat-x;  			
	border-top: 1px solid #310101;
	border-bottom: 1px solid #310101;
}

.band.footer {
	background: url(https://www.avonleadental.com/images/stitch_large.png) repeat-x,			/* note: I haven't actually created this file yet */  /* could actually comment these out for now */
				url(../images/cedar_2s.png) repeat,
				#343434;
	border-top: 2px solid #310101;			
	padding: 49px 0 14px 0;
	color: #e0e0e0;
}

.band.bottom {
	background: url(../images/cedar_2sd.png) repeat-x; 			
	padding: 28px 0 7px 0;
	color:#e0e0e0;
	border-top: 1px solid #310101;
	border-bottom: 1px solid #310101;
}

/* heading */
heading.main {
	padding: 35px 0;	
}

header h1.logo{
	margin: 20px 0 20px 0;
	float: left;
}

header h1.logo a {
	width: 940px;
	height: 315px;
	display: block;
	background: url(../images/sprite_2ex.png) no-repeat;
	/*background-position: top right, 0 0;
	background-repeat: no-repeat;
	margin: 20px;*/
	
/*http://nicolasgallagher.com/another-css-image-replacement-technique/*/
	
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
}

header.main .banner {
	float: right;
}

header p {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	color: #000;
	text-align: right;
	padding: 60px 20px 0 0;
}



/*ie multiple background image fallbacks*/
.ie .band.navigation {
	background: url(../images/cedar_2s.png) repeat-x;
}
.ie .band.footer {
	background: url(../images/cedar_2s.png) repeat;
}
.ie .band.bottom {
	background: url(../images/cedar_2sd.png) repeat-x;
}


/*navigation*/

nav.primary ul,
nav.primary ul li {
	margin: 0px;
}

nav.primary select {
	display: none;
	width: 100%;
	height: 28px;
	margin: 21px 0;
}

nav.primary ul li {
	display: inline;
	float: left;
	position: relative;
}

nav.primary ul li a {
	display: inline-block;
	line-height: 49px;
	padding: 0 14px;
	color: #ebebeb;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 0.08em;
	
}

nav.primary ul li a:hover {
	background: url(../images/cedar_2sd2.png);  
	cursor: pointer;
}


/*sub menu*/

nav.primary ul ul {
	opacity: 0;
	filter: alpha(opacity=0);
	
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	background: url(../images/cedar_2sd2.png);
	
	height: 0px;
	overflow: hidden;
	
	min-width: 100%;
	
	-webkit-transition: opacity 0.4s ease-out;
	-moz-transition: opacity 0.4s ease-out;
	-o-transition: opacity 0.4s ease-out;
	-ms-transition: opacity 0.4s ease-out;
	transition: opacity 0.4s ease-out;
	
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}


nav.primary ul li span {
	display: none;	
}


nav.primary ul li:hover ul{
	opacity: 10;
	filter: alpha(opacity=100); 
	
	height: auto;
	overflow: auto;
	
	display: block;
}

nav.primary ul ul li {
	float: none;
	display: list-item;
	border-bottom: 1px solid #383737;
}


nav.primary ul ul li a {
	display: block;
	line-height: 35px;
	text-transform: none;
	position: relative;
	z-index:: 999999;
}

nav.primary ul li:hover > a {
	background: url(../images/cedar_2sd2.png);
	
}


/* images */

figure {
	padding: 6px;
	border: 2px solid #310101;
	background: #55130F;
	line-height: 0px;
	margin: 0 0 24px 0;
}

figcaption {
	font-size: .75em;
	text-align: center;
	padding: 14px 0 14px 0; 
}


/*footer*/


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

footer a:hover{
	color: #ccc8c7;
}

.bottom footer {
	font-size: 14px;
	text-shadow: 1px 1px 1px #000;
}

div.last-credit{
	text-align: right;	
}

footer h3.logo {
	margin: 14px 0 21px;	
}

footer h3.logo a {
	width: 200px;
	height: 35px;
	display: block;
	background: url(../images/sprite.png) no-repeat 0 -55px;
	
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
}

footer.main header {
	background: url(../images/diagonal_dark.png) repeat;
	font-size: 14px;
	line-height: 14px;
	margin: 28px 0;	
}

footer.main h4 {
	font-weight: bold;
	color: #efefef;
	font-size: 14px;
	line-height: 14px;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #000;	
	/*background: url(../images/bg_dark.png) repeat #f8f8f8;*/
	display: inline;
	padding: 0 10px;
	margin: 0 0 0 14px;
	letter-spacing: 0.1em;
	font-family: arial, sans-serif;
}

/*google map footer */

.rf_maps_widget_border {
	border: #777777 1px solid;
	display: inline-block;
	padding: 1px;
	background: #fff;
	position: relative;
}

.rf_maps_widget_border {
	border-color: #310101;
	background: #000;
}

.rf_maps_widget {
	border: #f0f0f0 4px solid;
	display: inline-block;
	padding: 0;
	position: relative;
}

.rf_maps_widget {
	border-color: #55130F;
}

.map_canvas	{
	height: 200px;
	width: 286px;
	display: inline-block;
	border: none;
}

.map_canvas {
	width: 256px;
}			



/*footer lists*/

footer.main p{
	font-size: 13px;
	text-shadow: 1px 1px 1px #000;
	margin: 7px 0 0;
}

footer.main ul{
	margin: 7px 0 0;	
}

footer.main li {
	font-size: 13px;
	text-shadow: 1px 1px 1px #000;
	padding: 21px 0;
	margin: 0;
	background:	url(../images/stitch_staggered.png) repeat-x left bottom;	
}

footer.main li:first-child {
	padding-top: 0px;
}

footer.main li:last-child {
	background: none;
}

/*flickr styles*/


div.flickr img {
	float: left;
	max-width: 46%;
	margin: 2%;
	padding: 6px;
	border: 1px solid #ededed;
	background: #fff;
}

/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('https://www.avonleadental.com/stylesheets/fonts/flexslider-icon.eot');
	src:url('https://www.avonleadental.com/stylesheets/fonts/flexslider-icon.eot#iefix') format('embedded-opentype'),
		url('https://www.avonleadental.com/stylesheets/fonts/flexslider-icon.woff') format('woff'),
		url('https://www.avonleadental.com/stylesheets/fonts/flexslider-icon.ttf') format('truetype'),
		url('https://www.avonleadental.com/stylesheets/fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* my own flexslider styles */

.flexslider {
	margin: 21px 0;	
	width: 100%;
}

.flex-control-nav {
	width: 100%;
	text-align: center;
}

.flex-control-nav li {
	display: inline;
	margin: 0 5px;
}

.flex-control-nav li a {
	display: inline-block;
	width: 14px;
	height: 14px;
	background: #d5d5d5;
	border: 1px solid #d5d5d5;
	
	cursor: pointer;
	
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.flex-control-nav li a.active,
.flex-control-nav li a.hover {
	background: #f1f1f1;	
}

/*blog*/

h2 {
	font-size: 35px;
	line-height: 42px;
	margin-bottom: 14px;
}

.push-me {
	position: relative; 
	top: 9px;
	bottom: 19px;
}




hr {
	border: 0; height: 1px; background: #333; background-image: linear-gradient(to right, #ccc, #333, #ccc); 
}

article.preview ul li {
	list-style: square outside;
	margin-left: 14px;
	margin-bottom: 21px;	
}


/*pagination*/

nav.pagination ul {
	width: 100%;
	text-align: center;
	margin: 21px 0 35px 0;
}

nav.pagination ul li {
	display: inline;	
}

nav.pagination ul li a {
	display: inline-block;
	line-height: 35px;
	width: 35px;
	height: 35px;
	text-align: center;
	padding: 0 7px;
	text-decoration: none;
	font-weight: bold;
	border-bottom: 3px solid #cccccc;
}

nav.pagination ul li a.selected,
nav.pagination ul li a:hover {
	background: url(../images/bg_dark.png) #000;
	border: none;
	color: #fff;
}

/*sidebar (aside)*/

.sub header {
	background: url(../images/diagonal_dark.png) repeat;  		/* need to re-create image and re-link it */
	font-size: 14px;
	line-height: 1em;
	margin: 28px 0;	
}

.subscribe header {
	margin-top: 0;	
}

.sub header h4 {
	font-weight: bold;
	color: #efefef;
	font-size: 14px;
	line-height: 1em;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #000;
	background: url(../images/bg_light.png) repeat #EFCA83;
	display: inline;
	padding: 0 10px;
	margin 0 0 0 14px;
	letter-spacing: 0.1em;
	font-family: arial, san-serif;	
}

/*forms*/

/*Glyn Mooney webkit reset
http://www.skidoosh.co.uk.html/how-to-reset-the-webkit-html5search-field-style-with-css/*/

	input[type=search]::-webkit-search-decoration,
	input[type=search]::-webkit-search-cancel-button,
	input[type=search]::-webkit-search-results-button,
	input[type=search]::-webkit-search-results-decoration, {
		display: none;
	
	}
	
	input[type=search] {
		-webkit-appearance: textfield;
	}
	
	input[type=search]: focus {
		outline: none;
	}
	
	select {
		width: 100%;	
	}
	
	.search input[type=search],
	.subscribe input[type=email] {
		width: 70%;
		float: left;
		margin: 0;
	}
	
	.search button,
	.subscribe button {
		width: 28%;	
		float: right;
		margin: 0;
		padding: 7px 10px;
	}
	
	
/*categories*/	

ul.categories {
	margin: 0;	
}

ul.categories li {
	border-bottom: 1xp dashed #e5e5e5;
	margin: 0;	
}

ul.categories li a {
	text-decoration: none;
	line-height: 35px;
	display: block;
}

ul.categories li a:hover,
ul.categories li a:active{
	background: #ffffff;
}

/*icons*/

.icon {
	font-family: 'WebSymbolsLigaRegular';
	font-size: 28px;
	line-height: 1em;
}

.subcsribe span {
	width: 30%;
	float: left;
}

.subcsribe p {
	width: 70%;
	float: right;
	margin: 0;
	font-family: Georgia, serif
}

.subscribe ul li {
	list-style: square outside;
	margin-left: 14px;
	margin-bottom: 21px;	
}

.subcsribe em {
	font-size: 21px;
	font-style: normal;
}

.icon.facebook {
	color: #45619D;
	
}

.icon.twitter {
	color: #39bae6;	
	
}

/* flexible embeds */

.embed {
	position: relative;
	padding: 0px;
	padding-bottom: 56.25%; /* 16:9 ratio */
	height: 56.25%;
	overflow: hidden; 
}

.embed iframe,
.embed object,
.embed embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/*tabs*/ 

/*first just fix the border-box stuff*/

ul.tabs {
	margin: 0;
}

ul.tabs li{
	position: relative;
	top: 1px;
}

ul.tabs li a.active {
	height: 34px;
	background: url(../images/bg_main.png);
}

.tabs-content li {
	padding: 35px 20px;
	border: 1px solid #ddd;
	border-top: none;
}

/*sponsors*/

.sponsors a {
	float: left;
	max-width: 46%;
	margin: 2%;
}

.sponsors .maxi {
	display: none;	
}

.banner {
	margin: 20px 0 20px 0;
	float: right;	
}

/* #Page Styles
================================================== */

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	/*sponsors*/
	
	.sponsors .mini {
		display: none;	
	}
	
	.sponsors .maxi {
		display: block;
		float: none;
		max-width: 100%;
		margin: 0 0 7px 0;
	}
	
	header h1.logo{
			margin: 20px 0 20px 0;
			float: left;
		}

		header h1.logo a {
			width: 747px;
			height: 250px;
			display: block;
			background: url(../images/sprite_2l.png) no-repeat 0 0;
		}
		
	body {
		background-image: none;
		}
		
	/*article .three.thumbnail {
			display: none;	
		}*/

		
		
	}
	
	
	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		
		.banner {
			display: none;	
		}
		
				
		article .three.thumbnail {
			display: none;	
		}
			
		nav.primary select {
		display: block;	
		}
		
		nav.primary ul{
			display: none;	
		}
		
		.bottom footer {
			text-align: center;
		}
		
		body {
		background-image: none;
		}
		
		/*article .three.thumbnail {
			display: none;	
		}*/
		
		
		}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
		header h1.logo{
			margin: 20px 0 20px 0;
			float: left;
		}

		header h1.logo a {
			width: 550px;
			height: 389px;
			display: block;
			background: url(../images/sprite_2m.png) no-repeat 0 0;
		}
		
		body {
		background-image: none;
		}
		
		/*article .three.thumbnail {
			display: none;	
		}*/
		
		}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {

	/*sponsors*/
	
	header h1.logo{
		margin: 20px 0 20px 0;
		float: left;
	}

	header h1.logo a {
		width: 330px;
		height: 234px;
		display: block;
		background: url(../images/sprite_2.png) no-repeat 0 0;
	}
	
	.sponsors .mini {
		display: none;	
	}
	
	.sponsors .maxi {
		display: block;
		float: none;
		max-width: 100%;
		margin: 0 0 7px 0;
	}
	
	body {
		background-image: none;
		}
		
	/*article .three.thumbnail {
			display: none;	
		}*/
	
	}

	/* Additional large screens 1280+ */
/*	@media only screen and (min-width: 1280px) {
	
	body {
		background: url(../images/bg_main.png) repeat #f8f8f8;
		font: 16px/24px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	}
	
	.page {
		width:1280px;	
	}
	
	.chief {
		float: right;
		padding-right: 20px;
	}
	
	.header {
		float: right;	
	}
	
	.footer{
		float: left;
	}
	
	.footer .columns {
		clear: both;	
	}
	
	.header .container,
	.footer .container,
	.bottom .container {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.bottom {
		width: 100%;
		clear: both;
	}
	
	.bottom .columns {
		float: right;
		text-align: left;
	}*/
	
	/*nav*/
	
	/*.navigation {
		float: left;
	}
	
	.navigation .container {
		padding: 35px 0 0;
		width: 100%;
	}
	
    .navigation .container .sixteen.columns {
		width: 280px;
		margin: 0;
	}
	
	nav.primary ul li {
		clear: both;
		display: block;
		width: 100%;
		border-bottom: 1px solid #383737;
	}
	
	nav.primary ul li > a {
		display: block;
		padding: 0 30px;
	}
	
	nav.primary ul ul li a,
	nav.primary ul li a {
		line-height: 39px;
	}
	
	nav.primary ul ul {
		top: 0;
		left: 100%;
	}
	
	h3.logo {
		display: none;	
	}
	
	header h1.logo {
		margin: 7px 0 0 25px;	
	}
		
		
	}*/
	 

/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('https://www.avonleadental.com/fonts/FontName.eot');
	    src: url('https://www.avonleadental.com/fonts/FontName.eot?iefix') format('eot'),
	         url('https://www.avonleadental.com/fonts/FontName.woff') format('woff'),
	         url('https://www.avonleadental.com/fonts/FontName.ttf') format('truetype'),
	         url('https://www.avonleadental.com/fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/