/*
Theme Name: Barry & Sargent
Description: Custom theme for Barry & Sargent Optomestrists
Version: 1
Author: Steve Fraser
Author URI: http://sfraser.info/
License: GPL
*/



/* = General
======================== */
body {
	background: #300413 url(images/body.jpg) repeat-y top center;
	font-family: 'Arial', sans-serif;
	text-align: center;
}
.wrap {
	margin: 0 auto;
	text-align: left;
	width: 960px;
}
a {
	color: #8fbace;
}

/* = Header
======================== */

#header .hgroup {
	margin-bottom: 8px;
	width: 385px;
}
#logo {
	position: relative;
	z-index: 2;
	max-width: 100%;
	width: 385px;
	height: auto;
}
#logo a {
	display: block;
	width: 100%;
	height: 100%;
}
#tagline {
	color: #fff;
	font-size: 12px;
	margin: -5px 0 0 -10px;
	line-height: 12px;
	position: relative;
	font-style: italic;
	text-align: center;
	z-index: 3;
}
#header .contacts {
	background: rgb(0, 0, 0) transparent; /* default fallback */
	background: rgba(0, 0, 0, 0.6); /* nice browsers */
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000, endColorstr=#80000000); /* IE 6/7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000, endColorstr=#80000000)"; /* IE8 */
	color: #fff;
	width: 581px;
	height: 45px;
	line-height: 45px;
	margin: 15px 0 0 -6px;
}
#header .contacts .mobile-appointment {
	display: none;
}

/* Topbar
======================= */

#topbar ul ul {
	display: none;
	position: absolute;
	z-index: 99999;
	width: 50px !important;
}
#topbar a {
	color: #fff;
	text-decoration: none;
}
#topbar li li {
	background: #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	float: none;
	display: block;
	margin: 0;
	padding: 0 20px;
	width: 150px;
}
#topbar li {
	float: left;
	font-size: 18px;
	font-style: italic;
	margin-left: 30px;
	letter-spacing: 1px;
}
#header .contacts .button {
	float: right;
	margin: 5px;
}


/* = Nav
================================= */

#nav {
	background: #f3f4f6;
	border-top: 1px solid #e7ebec;
	border-bottom: 1px solid #e7ebec;
	clear: both;
	height: 50px;
	line-height: 50px;
}
#nav .sbHolder {
	display: none;
}
#nav .current-menu-item a,
#nav a:hover {
	background: #e7ebec;
}
#nav ul {
	display: inline-block;
	*display: inline;
	zoom: 1;
}
#nav li {
	border-top: 1px solid #fff;
	border-right: 1px solid #e7ebec;
	border-left: 1px solid #fff;
	float: left;
}
#nav li a {
	color: #000;
	display: block;
	font-size: 18px;
	padding: 0 9px;
	text-decoration: none;
}
#nav ul ul {
	display: none;
	width: 50px !important;
	position: relative;
	z-index: 99999;
}
#nav li li {
	background: #f3f4f6;
	border-top: 1px solid #e7ebec;
	border-bottom: 1px solid #e7ebec;
	width: 250px;
}	
#nav #menu-item-21 {
	border-right: 0 none;
}

/* = Slider
================================= */

#slider {
	margin: 15px 0;
	position: relative;
}
#slider li {
	position: relative;
}
#slider .caption {
	color: #000;
	font-size: 24px;
	position: absolute;
	left:40px;
	top: 70px;
	width: 400px;
	max-width: 90%;
}
#slider .more {
	display: inline-block;
	*display: inline;
	zoom: 1;
	font-weight: normal;
	margin-top: 40px;
	padding: 0 60px 0 15px;
	text-decoration: none;
}
#slider .more .arrow {
	padding-right: 10px;
}


/* = Front Page Locations
================================= */

#locations {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 168px;
	z-index: 99999;
}
#locations .location {
	background: rgb(255, 255, 255) transparent; /* default fallback */
	background: rgba(255, 255, 255, 0.6); /* nice browsers */
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80FFFFFF, endColorstr=#80FFFFFF); /* IE 6/7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#80FFFFFF, endColorstr=#80FFFFFF)"; /* IE8 */
	font-size: 16px;
	line-height: 16px;
	margin-bottom: 5px;
	padding: 5px 0 5px 20px;
	width: 148px;
	height: 55px;
}
#locations .location strong {
	display: block;
}
#locations .location a.map {
	color: #f10202;
	display: block;
	text-decoration: none;
}


/* = Front Nav
================================= */

#front-nav {
	clear: both;
}
#front-nav li.first {
	margin-left: 0;
}
#front-nav li {
	background: #fff;
	display: inline-block;
	*display: inline;
	zoom: 1;
	margin-left: 20px;
	padding: 5px;
	width: 212px;
	text-align: center;
	vertical-align: top;
}
#front-nav li a {
	color: #000;
	font-size: 18px;
	height: 45px;
	line-height: 45px;
	text-decoration: none;
}
#front-nav li a:hover {
	color: #f10202;
}


/* = Front Page Content
================================= */

#front-page .entry-content {
	background: #fff;
	margin-top: 15px; 
}
#front-page .entry-content img.alignleft {
	margin-bottom: 30px;
}


/* = Entry Content
================================= */

.entry-content {
	font-size: 16px;
	padding: 10px 5px;
}
.entry-content h2 {
	margin-bottom: 20px;
}
.entry-content p {
	margin-bottom: 20px;
}
.entry-content ul {
	list-style: disc inside none;
	margin-bottom: 20px;
	padding-left: 40px;
}
.entry-content li {
	list-style: inherit;
}
.entry-content img.alignleft {
	margin-right: 15px;
}
.entry-content img.alignright {
	margin-left: 15px;
}


/* = Find Us Page
================================= */

#page .entry-content {
	background: #fff;
	margin-top: 15px;
	padding: 60px 50px;
}
#page .map {
	background: #fff;
	border: 1px solid #000;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;	
	box-shadow: 5px 5px 5px #888;
	-moz-box-shadow: 5px 5px 5px #888;
	-webkit-box-shadow: 5px 5px 5px #888;
	margin-left: 10px;
	padding: 5px;
}
#page .map .larger {
	color: #6a9fbd;
	display: block;
	text-decoration: none;
	padding: 5px 0 0 5px;
}
.gmap {
	width: 320px;
	height: 240px;
}
#page .location {
	border-bottom: 1px dashed #8c0032;
	margin-bottom: 30px;
	padding-bottom: 5px;
	width: 735px;
	min-height: 330px;
}


/* = Contact Page
================================= */

.twocolumn .wrap {
	background: #fff;
}
#page.twocolumn .left {
	float: left;
	width: 430px;	
}
#page.twocolumn .right {
	float: right;
	padding: 70px 60px 50px 0;
	width: 350px;
}
#page.twocolumn .location {
	min-height: 230px;
	width: auto;
}
#page.twocolumn .gmap {
	width: 160px;
	height: 120px;
}


/* = Staff
================================= */

#page.staff .entry-content {
	padding-right: 0;
}
#page .last-staff {
	margin-left: 0;
}
#page .staff {
	display: inline-block;
	*display: inline;
	zoom: 1;
	margin: 20px 45px 0 0;
	width: 270px;
	vertical-align: top;
}
#page .staff-1 .job-title {
	width: 305px;
}
#page .staff-5 {
	margin-right: 0;
}
#page .staff img {
	margin-bottom: 20px;
}
#page .staff .email {
	text-decoration: none;
}


/* = Contact Form(s)
================================= */

form label {
	display: block;
}
form input[type=text],
form input[type=email] {
	background: #fff;
	border: 1px solid #000;
	padding: 0 10px;
	height: 25px;
	line-height: 25px;
	width: 300px;
}
form textarea {
	padding: 5px 10px;
	width: 300px;
	height: 200px;
}
form .captcha input {
	width: 195px;
	vertical-align: top;
}
form .captach .regen {
	margin-top: 5px;
}


/* = Order Form
================================= */

.orderForm input[type=text],
.orderForm input[type=email],
.orderForm textarea {
	width: 500px;
}


/* = Footer
================================= */

#footer {
	color: #fff;
	font-style: italic;
	clear: both;
	margin-top: 30px;
}
#footer-nav {
	font-size: 22px;
	margin-left: -5px;
}
#footer-nav li {
	float: left;
}
#footer-nav li a {
	color: #fff;
	margin: 0 5px;
	text-decoration: none;
}
#copyright {
	font-size: 18px;
}


/* = General
================================= */

.button,
input[type=submit] {
	border-top: 1px solid #586c31;
	border-right: 1px solid #586c31;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	color: #fff;
	display: inline-block;
	*display: inline;
	font-size: 16px;
	font-weight: bold;
	zoom: 1;
	height: 35px;
	line-height: 35px;
	padding: 0 10px;
	text-decoration: none;
}
form input[type=submit] {
	padding: 0 30px;
}
.black-button,
input[type=submit] {
	background: #000;
	border-top: 1px solid #7d6357 ;
	border-right: 1px solid #4f4f51;
	border-bottom: 1px solid #4f4f51;
	border-left: 1px solid #7d6357;
}
.green-button {
	background: #76b658;
}

/* = Mobile Stuff
=================================== */

@media screen and (min-width: 360px) {
	a[href^=tel] {
		cursor: default;
		color: #000;
		text-decoration: none;
	}
}
@media screen and (max-width: 800px) {
	body {
		padding-top: 34px;
	}
	#main {
		padding-top: 20px;
	}
	#header {
		//position: fixed;
		width: 100%;
		z-index: 10;
	}
	#header .wrap {
		padding: 0;
		width: 100%;
	}
	#logo {
		float: none;
		margin: 0 auto;
	}
	#logo img{
		max-width: 100%;
		height: auto;
	}
	#header .hgroup {
		width: 100%;
	}
	#header .contacts {
		clear: both;
		float: none;
		display: block;
		margin: 0;
		width: 100%;
		font-size: 14px;
		text-align: center;
	}
	#front-nav li.first,
	#front-nav li {
		display: inline-block;
		*display: inline;
		zoom: 1;
		float: none;
		margin: 10px;
	}
	#main img {
		max-width: 100%;
		height: auto;
	}
	#topbar a {
		font-size: 14px;
	}
	#nav {
		background: #fff;
		position: fixed;
		top: 0;
		height: 36px;
		width: 100%;
		z-index: 99999;
	}
	.logged-in #nav {
		top: 28px;
	}
	#nav ul.menu {
		display: none;
	}
	#nav .sbHolder {
		display: block !important;
		margin: 3px 5px 0 3px;
		width: 150px;
		height: 36px;
		line-height: 36px;
	}
	#nav .sbSelector {
		background: #fff url(images/small-logo.png) no-repeat 6px 50%;
		color: #000;
		font-size: 18px;
		font-weight: bold;
		line-height: 30px;
		padding: 0;
		padding-left: 26px;
	}
	#nav a.sbSelector:hover {
		background: #e7ebec url(images/small-logo.png) no-repeat 6px 50% !important;
	}
	#nav .sbToggle {
		background-image: url(images/select-icons.png);
	}
	#nav .sbToggle:hover {
		background-image: url(images/select-icons.png);
	}
	#nav a {
		border-bottom: 0;
		margin-left: 0;
		line-height: normal;
		padding: 5px 0;
	}
	#nav .sbOptions {
		background: #fff;
	}
	#nav .sbOptions li {
		background: #fff;
		border-bottom: 1px solid #808080;
		padding: 0;
		width: 98%;
	}
	#header .contacts .mobile-appointment {
		display: block !important;
	}
	#header .contacts .desktop-appointment {
		display: none !important;
	}
	#page .entry-content {
		padding: 10px;
	}
	#page .location {
		width: 100%;
	}
	.wrap,
	#page.twocolumn .wrap {
		width: 95%;
		padding: 0 2.5%;
	}
	#page.twocolumn .left,
	#page.twocolumn .right {
		padding: 0;
		width: 100%;
		float: none;
	}
	#page.twocolumn .left {
		padding-top: 20px;
	}
	#page #locations {
		display: none;
	}
	#page .entry-content img.alignleft,
	#page .entry-content img.alignright {
		display: block;
		float: none;
		margin: 0 auto 10px;
	}
	#slider {
		margin: 5px auto;
	}
	#slider li,
	#slider .img,
	#slider img {
		width: 100%;
		height: auto;
	}
	#slider .caption {
		background: rgb(0, 0, 0) transparent; /* default fallback */
		background: rgba(0, 0, 0, 0.6); /* nice browsers */
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000, endColorstr=#80000000); /* IE 6/7 */
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#80000000, endColorstr=#80000000)"; /* IE8 */
		position: static;
		color: #fff;
		text-align: center;
		margin: 0;
		padding: 10px 2.5%;
		width: 95%;
		max-width: 100% !important;
	}
	#slider .more {
		margin-top: 10px;
	}
	#front-page #locations {
		display: none;
	}
	#footer .alignleft,
	#footer .alignright {
		display: block;
		float: none;
		text-align: center;
	}
	#footer-nav ul {
		display: inline-block;
		*display: inline;
		zoom: 1;
	}
	#page .map {
		float: none;
		margin: 0 auto 15px;
		width: 95%;
	}
	#page .location .gmap {
		width: 100% !important;
		height: 320px;
	}
	form input[type=text],
	form input[type=email],
	form textarea {
		padding: 0 2.5%;
		width: 90%;
	}
}
@media screen and (max-width: 480px) {
	#front-nav li.first,
	#front-nav li {
		display: block;
		float: none;
		margin: 0 auto 10px;
	}
	#main {
		padding-top: 50px;
	}
	#page .entry-content img.alignleft,
	#page .entry-content img.alignright {
		display: block;
		float: none;
		margin: 0 auto 10px;
	}
	.entry-content {
		padding-left: 2.5% !important;
		padding-right: 2.5% !important;
		width: 95% !important;
	}
	#header .contacts .button {
		float: none;
		margin: 5px auto 0;
	}
	#topbar {
		text-align: center;
	}
	#topbar ul {
		display: inline-block;
	}
	#topbar li {
		margin: 0 10px;
	}
	#header .contacts .button {
		display: block;
		margin: 2.5%;
	}
	#wpadminbar {
		overflow: hidden;
	}
}
@media screen and (max-width: 240px) {
	#main {
		padding-top: 10px;
	}
	#header .contacts {
		height: 36px;
		line-height: 36px;
	}
	#topbar {
		display: none;
	}
	#header .contacts .button {
		margin: 2.5% 0;
	}
	#front-nav li,
	#front-nav li .img,
	#front-nav li img {
		max-width: 100%;
		height: auto;
		padding: 0;
	}
	#front-page img.alignleft,
	#front-page img.alignright {
		display: block;
	}
	.map {
		width: 90%;
	}
	#footer-nav,
	#copyright {
		font-size: 16px;
	}
}
@media screen and (max-width: 176px) {
	body {
		zoom: 0.75;
		font-size: 70%;
	}
	#footer-nav,
	#copyright {
		font-size: 14px;
	}
}

/* = Webkit scrollbars
=============================== */

.sbOptions::-webkit-scrollbar {
 //   -webkit-appearance: none;
    width: 10px;
}
.sbOptions::-webkit-scrollbar-thumb {
	border-radius: 4px;
    background-color: #aaa;
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
    width: 22px;
}
.sbOptions::-webkit-scrollbar-button:vertical {
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
    width: 22px;
	height: 16px;
}
.sbOptions::-webkit-scrollbar-button:vertical:decrement {
	background: #aaa url(images/scrollUp.png) no-repeat top center;;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	margin-bottom: 2px;
}

.sbOptions::-webkit-scrollbar-button:vertical:increment {
	background: #aaa url(images/scrollDown.png) no-repeat bottom center;;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	margin-top: 2px;
}

#container1{
	width:540px;
	padding: 0px;
}
