/*
Main StyleSheet for the 'Smiles_R_Us' theme
*/

body {
	background: #fff;
	margin: 5px 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.4em;
}

a {
	text-decoration: none;
	color: #03416A;
}

a:hover {
	text-decoration: underline;	
}

h2 {
	line-height: 1.4em;	
}

p, h3 {
	color: #333;
}

img {
	border: none;
}

.alt {
	background-color: #dfefec;
}

#main {
	width: 770px;
    border: 1px solid #000;
	margin: 0 auto;
}

#header {    
    position: relative;
	width: 300px;
}

#header h1 {
	margin: 0;
	line-height: 1;
}

#header h1 a {
	display: block;
	text-indent: -5000px;
	height: 55px;
	width: 295px;
	background: url(/themes/smiles_r_us/images/logo.jpg) no-repeat 7px 7px;
}

#lead {
	height: 200px;
}

#sidebar {
	width: 163px;
	float: right;
	margin: 0;
	padding: 0 10px 0 20px;
	text-align: center;
}

#content {
	margin: 0 0 0 10px;
}

#primary-nav {
	float: right;
	font-size: 13px;
	margin: 0 0 0 0;
	padding: 0;
	width: 450px;
	list-style: none;
}

#primary-nav li {
	float: left;
	padding: 2px 0;
    margin: 2px 12px 0 12px;
	line-height: 1em;
    text-transform: lowercase;
}

#primary-nav li.nav_break {
	clear: both;
	margin-left: 40px;
}

#primary-nav a, #primary-nav span {
	display: block;
	border-bottom: 1px solid #969696;
	color: #969696;
	font-size: 14px;
	padding: 2px 0 3px 0;
}

#primary-nav a:hover, #primary-nav a.current, #primary-nav span {
	border-color: #03416A;
	color: #03416A;
	text-decoration: none;
}

#content-quick-links {
	float: right;
	background: #ADC0CE;
	padding: 2px 0;
	margin: 15px 8px;
	width: 170px;
}

#content-quick-links h2{
	margin: 0 5px;
	font-weight: normal;
}

#content-quick-links ul{
	list-style: none;
	margin: 0 5px;
	padding: 0;
}

#content-quick-links li {
	margin: 0;
	padding: 0;	
}

#quick-links {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	height: 36px;
	background: url(/images/theme/inside_quicklinks_bar.gif) no-repeat left top;
}

#quick-links li {
	float: left;
	padding: 0;
	background: url(/images/theme/small_divider.gif) no-repeat right 5px;
}

#quick-links li a {
	display: block;
	padding: 10px 15px 7px 47px; 
	color: #5a5a5a;
	font-size: 12px;
	background-repeat: no-repeat;
	background-position: 15px center;
	line-height: 1em;
}

#quick-links li a:hover {
	color: #8a8a8a;	
}

#quick-links li#online-banking a {
	margin-left: 75px;
	background-image: url(/images/theme/banking_icon.gif);
}

#quick-links li#online-banking a:hover {
	background-image: url(/images/theme/banking_icon_hover.gif);
}

#quick-links li#loan-calculator a {
	background-image: url(/images/theme/calc_icon.gif);
}
#quick-links li#loan-calculator a:hover {
	background-image: url(/images/theme/calc_icon_hover.gif);
}

#quick-links li#become-member {
	background: none;
}

#quick-links li#become-member a {
	background-image: url(/images/theme/member_icon.gif);
}

#quick-links li#become-member a:hover {
	background-image: url(/images/theme/member_icon_hover.gif);
}

#page-header {
	float: left;
	width: 602px;
	margin: 0 0 0 4px;
	position: relative;
}

#empty-local-nav {
  border-bottom: 4px solid #cbe4dd;
}

#page-header h1 {
	color: #4F8979;
	background: #cbe4dd url(/images/theme/subnav_tabright.gif) no-repeat right top;
	font-size: 18px;
	font-weight: normal;
	display: inline;
	margin: 0;
	padding: 6px 40px 4px 10px;
	line-height: 26px;
	clear: both;
}

#page-header h1#page-title a {
	color: #4F8979;
}

#page-header #local {
	background: #cbe4dd url(/images/theme/subnav_box.gif) repeat-x left bottom;
	float: left;
	width: 582px;
	padding: 7px 10px;
}

#page-header #local ul {
	list-style: none;
	float: left;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

#page-header #local li {
	padding: 0;
	margin: 0;
	float: left;
}

#page-header #local li a, #page-header #local li span {
	display: block;
	padding: 5px 6px 3px 14px;
}

#page-header #local li a:hover {
	background: url(/images/theme/arrow_right.gif) no-repeat 5px 7px;
}

#page-header #local li span, #page-header #local li a.current {
	background: #fff url(/images/theme/arrow_down.gif) no-repeat 4px 7px;
	padding: 5px 6px 3px 14px;
}

#page-header #local li span.no-children {
	background-image: url(/images/theme/arrow_right.gif);
}

#page-header #local li span {
	color: #444;
}

#page-header #second-level a {
	padding: 4px 12px;
	margin: 0;
	line-height: 1em;
}

#page-header #second-level a:hover {
	text-decoration: underline;
}

#page-header #second-level {
	height: 13px;
	clear: left;
	text-align: center;
	background: #fff;
	font-size: 11px;
	padding: 5px 0 3px 0;
	border-bottom: 1px solid #999;
	margin: 0;
	line-height: 1em;
}

#footer {
	clear: both;
	text-align: center;
}

#page-admin-links {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 10px;
	padding: 2px 5px;
	margin: 0;
	background: #fff;
	border: 1px solid #ccc;
}

#header-search-box {
  position: absolute;
  right: 0;
}

#header-search-box input {
	border: 1px solid #83253c;
	background: #e6e4a1 url(/images/theme/input_bg.gif) repeat-x left top;
	color: #4F8979;
	padding-left: 5px;
}