/*
Theme Name: Davis Vision Custom Theme
Theme URI: http://www.marketingepic.com/
Description: Custom theme built by Epic Marketing for Davis Vision Center.
Version: 1.0
Author: Claye Stokes
Author URI: http://www.marketingepic.com/
*/
* {margin: 0px; padding:0px; outline:none;}
body {font-family: Tahoma, 'Lucida Sans Unicode','Lucida Grande','Lucida Sans', Geneva, Arial, sans-serif; background:#fff; color:#000; font-size: .9em;}
#container {background: url(images/bg.gif) left top repeat-x;}
#wrapper {width: 900px; margin: 0px auto; padding:20px 0px;}
#header {border-bottom: 1px solid #777; padding-bottom:10px;}
#header .logo {float: left;}
#header .right {float: right; width: 215px; color:#d87234;  }
#header .right address {font-style: normal;}
#header .right address p.first {font-size: 1.2em; font-family:Georgia, "Times New Roman", Times, serif; font-weight:bold;}
#header .right address p.first span {font-size: 1.3em;}
#header .right address p {font-size: .8em;}

#nav {
	height: 31px;
	background: url(images/nav-bg.jpg) left top repeat-x;
	margin: 5px 0 0px;
}
#nav2 {
	background: url(images/nav-left.jpg) right top no-repeat;
}
#nav3 {
	height: 31px;
	background: url(images/nav-right.jpg) left top no-repeat;
	padding-left: 15px;
}
#nav img {
	border: none;
	border-right: 1px dotted #fff;
	float:left;
}
#nav .page-item-41 a {border-right: none;}

#banner {margin-top: 3px;}
#banner #blue-box {float: left; width: 242px; height:230px; background: url(images/blue-box-bg.jpg) left top no-repeat; color:#fff; padding: 15px 20px; font-size:.9em; margin-right: 3px;}
#blue-box h1 {font-style: italic; font-family:Georgia, "Times New Roman", Times, serif; font-size:1.4em; padding:0px 0px 10px;}
#blue-box .orange-btn {margin-top: 10px;}

#orange-box {background: #444; color:#fff; font-family:Georgia, "Times New Roman", Times, serif;}
#orange-box div {width: 230px; float:left; padding:20px 35px; font-size:1.1em;}
#orange-box div strong {font-size: 1.2em;}
#orange-box div.last {font-size: 1.8em; font-weight:bold;}
#orange-box div a {color: #fff; text-decoration: none;}
#orange-box div a:hover {text-decoration: underline;}

#content {background: url(images/content-top-bg.jpg) left top no-repeat; padding-top: 20px;}
#content a {color: #c86a2d; text-decoration: none;}
#content a:visited {color: #6b3512; text-decoration: underline;}
#content a:hover, #content a:active, #content a:focus {text-decoration: underline;}
#content h2, #content h3, #content h4 {color: #c86a2d; font-style:italic; padding:15px 0px 5px; font-family:Georgia, "Times New Roman", Times, serif;}
#content h1, #content h2.orange-heading {background: #c86a2d url(images/orange-heading-bg.gif) right bottom no-repeat; color: #fff; font-family: Tahoma, 'Lucida Sans Unicode','Lucida Grande','Lucida Sans', Arial, Helvetica, sans-serif; height:51px; line-height:51px; padding:0px 15px; margin:0px 0px 15px; font-size:30px; font-style:normal; font-weight:normal;} 
#content h1.new, #content .home-widget h2.orange-heading.new {background: #c86a2d url(images/orange-heading-new-bg.gif) right top no-repeat;}
#content p {padding: 10px 0px; line-height:1.4em;}
#content ol, #content ul {padding: 15px 30px;}
#content ol li, #content ul li {line-height: 1.7em; padding:5px 0px;}
#left-col {float: left; width: 605px; padding:5px 0px;}
#content #left-col h3 {font-style: normal;}

#sidebar {float: right; width: 275px; padding:5px 0px;}
#sidebar p {font-size: .9em; padding:5px 0px;}

#sidebar .widget {padding: 0px 0px 20px; margin-bottom:30px;}
#sidebar h3 {padding: 0px 0px 5px; color:#444;}
#sidebar ul {list-style: none; padding:5px; margin:0px;}
#sidebar ul li {padding: 0px; margin:0px; color:#444;}
#sidebar p {color: #444;}

#sidebar-bottom {margin-top: 110px;}
#sidebar-bottom .left {float: left;}
#sidebar-bottom .right {float: right;}

#footer {padding: 30px 0px 10px;}
#footer, #sidebar-bottom .right {color: #666; text-transform: uppercase; font-size:.7em;}
#footer a, #sidebar-bottom .right a {color: #666; text-decoration: underline;}

.home-widget {padding-bottom: 25px;}
.home-widget div {background:#eaeaea; margin-bottom: 20px; color:#444;}
.home-widget div img {float: left; margin-right: 5px;}
#content .home-widget div p {padding: 5px 0px; font-size:.9em;}
.home-widget .orange-btn {float: right; margin-right: 5px; margin-bottom:5px;}

/* [General Styles] */

.orange-btn, #content .orange-btn {background: url(images/orange-btn-bg.gif) left top repeat-x; color:#fff; font-weight:bold; text-transform: lowercase; height:28px; line-height:28px; padding:0px 10px; display:inline-block; width: inherit; text-decoration: none;}
.orange-btn:hover, .orange-btn:active, .orange-btn:focus, #content .orange-btn:visited {color: #fff; background-position: bottom; text-decoration: none;}

a img {border: 0px none;}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}


p.admin a {color:#990000; display:block;  background:#FFCCFF; border:1px dashed #990000; text-align:center; padding:5px 0px;}
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */



/*- Blog Styles -*/
.post .date, .post .postmetadata {color: #666666; text-transform: uppercase;}
#left-col p.postmetadata {font-size: 10px; border-top:1px solid #ccc; padding:0px; margin:0px;}
.post {margin-bottom: 40px;}
.post a.more-link {display: block; margin:20px 0px 15px; text-align:right; font-size:1.4em; font-weight:bold;}
/*- Random Styles -*/
#discount {
	position: absolute;
	top: 100%;
	padding: 3px 5px 5px;
	border: 2px solid #555;
	left: 100%;
	margin-left: -180px;
	margin-top: -200px;
	z-index: 999px;
	background:#fff;
	text-align:right;
}
#discount img {
	border: none 0;
	padding-top:3px; 
}
#discount a {
	color: #C20000;
}
#photo-sidebar .textwidget img {padding: 0px 0px 10px;}
#three-cols {margin: 15px 0px;}
#three-cols div {float: left; text-align:center; width: 32%;}
#three-cols div img {padding: 25px 0px;}

#display-wrapper {padding: 15px;}
.infographic {text-align: center;}
.infogrpahic img {margin: 10px 0px;}
