/* Layout Style Sheet :: ourbutton.com - "Ice" Site Template */
/* Author :: Alex Stanhope for 247 Creative */
/* Copyright :: The Author, All rights reserved */

body {
	background: #fff url(../images/bg_body.gif) top left;
	text-align: center;
    font-family: Arial, Tahoma, Verdana, Sans-Serif; 
	font-size: 62.5%; /* Resets 1em to 10px */
	color: #333;
	padding: 0px;
	margin: 0px;
	height: 100%;
}

html {
	height: 100%;
}

/* Container Styles */

#container {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0px;
	text-align: left;
	font-family: Arial, Sans-Serif;
}

/* Masthead Styles */

#masthead {
	position: relative;
	width: 760px;
	height: 70px;
	margin: 0px auto;
	background: url(../images/bg_masthead.jpg) top left no-repeat;
}

#logo {
	float: left;
	margin: 10px 0px 0px 25px;
	background: url(../images/ob_logo.gif) top left no-repeat;
	width: 185px;
	height: 50px;
}

#logo a {	
	position: absolute;
	top: 10px;
	left: 25px;
	width: 185px;
	height: 50px; 
}

#logo a span, #info a span {
	display:none;
}

#info {
	float: right;
	margin: 16px 25px 0px 0px;
}

#info p {
	margin: 0 0 2px 0;
}

#more_businesses {
	background: url(../images/more_businesses.gif) top left no-repeat;
	width: 160px;
	height: 14px;
}

#want_website {
	background: url(../images/want_website.gif) top left no-repeat;
	width: 160px;
	height: 14px;
}

#more_businesses a {
	position: absolute;
	top: 16px;
	right: 25px;
	width: 160px;
	height: 14px; 
}

#want_website a {
	position: absolute;
	top: 30px;
	right: 25px;
	width: 160px;
	height: 14px; 
}

/* Content Styles */

#container_content {
	background: url(../images/bg_container_content.gif) top left repeat-y;
	position: relative;
	width: 760px;
	height: auto;
	margin: 0px auto;
	z-index: 1;
}

#content_top {
	display: none;
}

#content_inner {
	width: 740px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background: #fff;
}

/* Header Styles */

#header {
	width: 740px;
	height: 150px;
	padding: 0;
	margin: 0 auto;
	color: #333;
	background: #ddd url(../images/bg_header.jpg) top left no-repeat;
	border-top: 2px solid #ccc;
}

#header_business {
	float: left;
	margin-top: 10px;
	margin-right: 10px;
	display: inline;
	padding-left: 10px;
	width: 45%;
}

#header_contact {
	float: left;
	margin-top: 10px;
	border-left: 2px solid #999;
	padding-left: 10px;
	display: inline;
	height: 130px;
	font-size: 1.1em;
	font-weight: bold;
	width: 30%;
}

#header_widgets {
	float: right;
	margin-top: 102px;
	margin-right: 0px;
	display: inline;
	text-align: right;
	padding: 7.5px 0px 2.5px 10px;
}

#favourites, #print, #rss, #website {
	float: left;
	margin: 0px 10px 0px 0px;
	width: 20px;
	height: 30px;
	display: inline;
}

#favourites {
	background: url(../images/bullet_favourites.gif) top left no-repeat;
}

#print {
	background: url(../images/bullet_print.gif) top left no-repeat;
}

#rss {
	background: url(../images/bullet_rss.gif) top left no-repeat;
}

#website {
	background: url(../images/bullet_website.gif) top left no-repeat;
}

#favourites a, #print a, #rss a, #website a {
	position: absolute;
	top: 110px;
	width: 20px;
	height: 20px; 
}

#website a {	
	left: 630px;
}

#favourites a {	
	left: 660px;
}

#print a {
	left: 690px;
}

#rss a {	
	left: 720px;
}

#favourites a span, #print a span, #rss a span, #website a span {
	display:none;
}

/* Navigation Styles */

#navigation {
	margin: 0px 0px 10px 0px;
	background: #fff;
} 

#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 740px;
	background: #fff url(../images/bg_nav.gif) repeat-x left top;
	float: left;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#navigation ul li {
	float: left;
}

#navigation ul a {
	display: block;
	padding: 0 2em;
	line-height: 2.1em;
	text-decoration: none;
	color: #222;
	float: left;
	font-size: 1.2em;
	font-weight: bold;
	background: url(../images/divider.gif) repeat-y left top;
	text-transform: uppercase;
	letter-spacing: 0.125em;
	font-weight: bold;
}

#navigation ul .first a {
	background: url(../images/divider.gif) repeat-y right top;
}

#navigation ul .last a {
	background: url(../images/divider.gif) repeat-y right top;
}

#navigation ul a:hover {
	color: #fff;
	background: #444 url(../images/bg_nav_hover.gif) top left repeat-x;
}

/* Main Content Area Styles */

#date {
	clear: both;
	margin: 0 10px 0 0;
	padding: 10px 25px 10px 0;
	text-align: right;
	color: #555;
	font-size: 1.1em;
	background: #fff url(../images/bullet_date.gif) no-repeat 100% 50%;
} 

#sidebar {
	float: left;
	width: 230px;
	height: auto;
	margin: 0 0 0 15px;
}

#sidebar .item {
	margin: 0 0 10px 0;
}

.images {
	text-align: center;
}

.images img {
	padding: 4px;
	border: 1px solid #ddd;
	margin-bottom: 10px;
}

#body {
	float: left;
	width: 455px;
	margin-left: 25px;
}

#body .item {	
	border: 1px solid #d7d7d7;
	margin-bottom: 10px;
	padding: 15px 20px;
	background: #fff url(../images/bg_body_item.gif) top left repeat-x;
	height: auto;
	font-size: 1.2em;
	line-height: 1.6em;
}

div.date {
	display: block;
	text-align: center;
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	background: url(../images/bg_date.gif) no-repeat;
	width: 60px;
	height: 70px;
	margin: 5px 15px 10px 0px;
	color: #111;
}

#sidebar div.date_m, #sidebar div.date_y {
	font-size: 1.2em;
}

#sidebar div.date_d {
	font-size: 1.4em;
	padding-bottom: 0.2em;
}

#sidebar div.date_m {
	padding: 0.2em 0 0.5em 0;
}

div.date_m {
	display: block;
	font-size: 1em;
	margin: 0;
	padding: 0;
	font-weight: bold;
	text-align: center;
}

div.date_d {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	padding: 0;
	text-align: center;
}

div.date_y {
	display: block;
	font-size: 1em;
	margin: -0.2em 0 0 0;
	padding: 0 0 1em 0;
	text-align: center;
}

#content_widgets {
	position: relative;
	margin: 15px;
	height: 40px;
}

#validators {
	float: left;
	text-align: left;
}

#top {
	float: right;
	text-align: right;
	padding-top: 10px;
}

#content_bottom {
	display: none;
}

#footer {	
	clear: both;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.6em;
	margin: 0px auto;
	padding: 10px 0 25px 0;
	width: 760px;
	height: auto;
	background: #fff url(../images/bg_container_content.gif) top left repeat-y;
	color: #555;
}

#footer_bottom {
	position: relative;
	margin: 0px auto;
	padding: 0;
	width: 758px;
	height: 9px;
	background: #ccc;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

/* Rounded Box Styles */

#sidebar .box {
  width: 100%;
  background: #fff url(../images/bg_box_bottom_left.gif) no-repeat left bottom;
  margin-bottom: 8px;
}

#body .box {
  width: 100%;
  background: #fff url(../images/bg_box_bottom_left.gif) no-repeat left bottom;
  margin-bottom: 8px;
}

#sidebar .box_outer {
  background: url(../images/bg_box_bottom_right.gif) no-repeat right bottom;
  padding-bottom: 0;
}

#body .box_outer {
  background: url(../images/bg_box_bottom_right.gif) no-repeat right bottom;
  padding-bottom: 0;
}

.box_inner {
  background: url(../images/bg_box_top_left.gif) no-repeat left top;
}

.box h3 {
  background: url(../images/bg_box_top_right.gif) no-repeat right top;
  padding: 5px 10px;
  font-size: 1.3em;
}

/* Text Styles */

#header h1 {
	margin: 0;
	padding: 0 0 5px 0;
	text-align: left;
	font-size: 2.2em;
	font-weight: normal;
}

#header h2 {
	margin: 0 0 10px 0;
	font-size: 1.3em;
	font-weight: bold;
	font-style: italic;
}

h3 {
	font-size: 1.3em;
}

#sidebar h3 {
	color: #333;
	margin: 0;
	padding: 5px 10px;
}

#body h3 {
	color: #333;
	margin: 0 0 0 10px;
}

.item h1, .item h2, .item h3, .item h4, .item h5, .item h6 {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;	
	font-size: 1.1em;
	border-bottom: 1px solid #d7d7d7;
}

p {
	margin: 10px 0 5px 0;
	padding: 0;
}

#header_business p {
	margin: 0px;
	line-height: 1.3em;
	font-size: 1.3em;
	font-weight: bold;
}

#header_contact p.address, #header_contact p.phonenumbers {
	margin: 0 0 10px 0;
	line-height: 1.3em;
	font-size: 1.1em;
}

#sidebar p {
	font-size: 1.1em;
	line-height: 1.3em;
}

#body p {
	margin: 0px 0px 15px 0px;
}	

p.important {
	background: url(../images/bullet_important.gif) center left no-repeat;
	padding: 2px 0px 2px 35px;
	font-weight: bold;
	color: #ff0000;
}

#sidebar p.message {
	margin-left: 10px;
	font-weight: bold;
	font-size: 1.1em;
	background: url(../images/bullet_sidebar_info.gif) center left no-repeat;
	padding: 2px 0px 2px 25px;
	text-align: left;
}

#body p.message {
	font-weight: bold;
	background: url(../images/bullet_sidebar_info.gif) center left no-repeat;
	padding: 2px 0px 2px 25px;
	text-align: right;
}

p.smallprint {
	font-size: 90%;
	line-height: 0.5em;
	margin: 0;
}

/* Link Styles */

#header_business a {
	text-decoration: none;
	color: #333;
}

.sidebarnews a:link, .sidebarnews a:visited, #body a:link, #body a:visited {
	color: #fa6705;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px dotted #fa6705;
}

.sidebarnews a:hover, #body a:hover {
	color: #fa6705;
	font-weight: bold;
	border-bottom-style: solid;
}

#body a:hover {
	text-decoration: none;
	border-bottom: none;
	color: #222;
	background: #fff;
	font-weight: bold;
}

#top a:link, #top a:visited {
	display: block;
	width: 125px;
	height: 25px;
	line-height: 25px;
	color: #eee;
	font-weight: bold;
	text-decoration: none;
	background: #000 url(../images/btn_top.gif) no-repeat top left;
}

#top a:hover {
	background-color: #fff;
	background-position: right top;
	color: #333;
}

#top p {
	background: #000 url(../images/btn_top.gif) no-repeat right top;
	text-align: center;
	margin: -10px 0 0 0;
	font-size: 1.1em;
}

#footer a[href^="http:"] {
	background: url(../images/bullet_external.gif) no-repeat right top;
	padding-right: 16px;
}

#footer a[href^="http://www.dev.ourbutton.com"], a[href^="http://www.ourbutton.com"]{
	background-image: none;
	padding-right: 0;
}

#footer a:link, #footer a:visited {
	text-decoration: none;
	color: #333;
	font-weight: bold;
}

#footer a:hover {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}

/* List Styles */

#sidebar ul, #body ul {
	margin: 0 0 15px 0;
	padding: 0;
	list-style-type: none;
}

#sidebar li, #body ul li {
	background: url(../images/bullet_list.gif) no-repeat 0 50%;
	padding-left: 25px;
	margin-bottom: 5px;
}

#body ol {
	margin: 0 0 15px 35px;
	padding: 0;
}

#body ol li {
	margin-bottom: 5px;
}

#validators ul {
	list-style: none;
	margin-left: -40px;
}

#validators li {
	float: left;
	margin-right: 10px;
}

/* Gallery Styles */

ul#gallery li {
	width: 100px;
	height: 120px;
	display: block;
	float: left;
	list-style-type: none; 
	border: 1px solid #ccc;
	margin: 0 10px 10px 0;
}

ul#gallery li a {
	margin: 0 0 0 -25px !important;
	width: 130px !important;
	height: 130px;
	display: block;
	background: none !important;
	border: none !important;
}

/* Form Element Styles */

#body form {
	margin-top: 5px;
	width: 400px;
}

#body fieldset {
	border: 0px;
	margin-left: -5px;
}

#body label {
	font-weight: bold;
	float: left;
	width: 140px;
	vertical-align: middle;
	font-size: 1em;
	margin-left: 0px;
	padding-top: 10px;
}

#body legend {
	font-size: 1.1em;
	font-weight: bold;
	margin: 10px 0px 10px -2px;
	color: #333;
}

#body .input_left {
	float: left;
	margin: 5px 0px;
	width: 220px;
	text-align: left;
	background: #eee;
	color: #333;
	border: 1px solid #999;
}

#body .select_narrow {
	float: left;
	margin: 5px 0px;
	width: auto;
	text-align: left;
	background: #eee;
	color: #333;
	border: 1px solid #999;
}

#body .select_wide {
	float: left;
	margin: 5px 0px;
	width: 225px;
	text-align: left;
	background: #eee;
	color: #333;
	border: 1px solid #999;
}

#body .required {
	color: #ff0000;
	font-weight: bold;
	font-size: 1.1em;
	padding-left: 5px;
}

#body .main_submit, .main_submit_pad {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #999;
	border-right: 1px solid #999;
	height: 29px;
	background: #fff url(/images/layout/bg_submit_silver.gif) top left repeat-x;
	color: #222;
	font-size: 0.9em;
	font-weight: bold;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

/* Message Styles */

div.message {
	width: 685px;
	margin: 20px auto;
	background: #ff0000 url(../images/bullet_warning.gif) 1% 50% no-repeat;
	border: 2px solid #a90101;
	padding: 7.5px 10px;
	color: #fff;
	font-weight: bold;
	font-size: 1.2em;
}

div.message p {
	padding-left: 45px;
}

/* Sidebar Gallery Styles */

#sidebargallery li { 
	width: 32.5px !important;  
}

#sidebargallery li { 
	outline: 1px solid #ddd !important;
}
