/*
Company:	Revance
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Modules - styles for content modules
Nav - navigation bar
Default Headings - headings like h1, h2, etc
Common Text Styles - Styles for text
Default Lists - unordered and ordered lists
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/
hr  {
	border: none;
	border-bottom: 1px solid #B9C0CB;
	color: #B9C0CB;

}
/* @group HTML, Body */
html, body {
	background: url(/assets/images/page-bkg.jpg) repeat-y 50% 0 #d2c8d1;
}
/* @end */

/* @group Layout */
div#wrap {
	width: 950px;
	position: relative;
	left: 50%;
	margin-left: -475px;
}
/* Head */
body#index div#hd {
	width: 100%;
	background: url(/assets/images/hd-bkg.jpg) no-repeat 0 0;
	padding: 1px 0;
	height: 418px;
}
body#inside div#hd {
	width: 100%;
	background: url(/assets/images/inside-hd.jpg) no-repeat 0 0;
	padding: 1px 0;
	height: 119px;
}

/* Body */
div#bd {
	width: 920px;
	margin-left: auto;
	margin-right: auto;
	padding: 25px 0;
}
body#inside div#bd {
	padding-top: 5px;
}
/* Footer */
/* @end */

/* @group Modules */
/* Logo */
body#index h1#logo {
	width: 180px;
	height: 46px;
	text-indent: -9000px;
	position: absolute;
	margin: 150px 0 0 195px;
}
body#index h1#logo a {
	display: block;
	height: 100%;
}
body#inside h1#logo {
	width: 100px;
	height: 26px;
	text-indent: -9000px;
	margin: 12px 0 0 15px;
	float: left;
	display: inline;
}
body#inside h1#logo a {
	display: block;
	height: 100%;
}

/* Flash */
div#flash-wrap {
	margin: 0 147px 0 0;
	float: right;
	display: inline;
}

/* Sidebar */
div.sidebar {
	width: 160px;
	float: left;
	display: inline;
}
body#index div.sidebar h1 {
	font-size: 100%;
	color: #455776;
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	border-bottom: 1px solid #b9c0cb;
}
body#index div.sidebar h2 {
	font-size: 100%;
	color: #455776;
	padding: 0;
	margin: 0 0 10px 0;
	font-weight: normal;
}
body#index div.sidebar h2 a:link, body#index div.sidebar h2 a:visited {
	color: #455776;
	text-decoration: none;
}
body#index div.sidebar h2 a:hover {
	color: #94a5c0;
	text-decoration: underline;
}
body#index div.sidebar p.date {
	margin-bottom: 0;
	font-weight: bold;
	color: #455776;
}
body#index div.sidebar ul {
	padding: 0;
	margin: 0;
}
body#index div.sidebar ul li {
	list-style-type: none;
	margin: 0 0 20px 0;
	padding: 0;
}



/* Main */
body#index div.main {
	width: 560px;
	margin-left: 20px;
	float: left;
	display: inline;
}
body#inside div.main {
	width: 675px;
	margin-left: 20px;
	float: left;
	display: inline;
}

/* Image */
img.right-pic {
	margin: 0 0 10px 10px;
	padding: 5px;
	border: 1px solid #c5bbc4;
	float: right;
	display: inline;
}
/* @end */

/* @group Nav */
body#index ul#nav {
	background-color: #5c6f7b;
	width: 219px;
	height: 14px;
	margin: 154px 147px 0 0;
	overflow: hidden;
	float: right;
	display: inline;
}
body#inside ul#nav {
	background-color: #5c6f7b;
	width: 219px;
	height: 14px;
	margin: 43px 3px 0 0;
	overflow: hidden;
	float: right;
	display: inline;
}
ul#nav li {
	list-style-type: none;
	float: left;
	display: inline;
}
ul#nav li a {
	font-size: 77%;
	text-transform: uppercase;
	line-height: 14px;
	display: block;
	width: 70px;
	padding-left: 4px;
	text-align: center;
	float: left;
	display:inline;
}
ul#nav li a {
	background: url(/assets/images/nav-slash.gif) no-repeat 0 0;
}
ul#nav li#n-products a {
	padding-left: 9px;
}
ul#nav li#n-company a {
	background: none;
	width: 62px;
}
ul#nav li a:link, ul#nav li a:visited {
	color: #fff;
	text-decoration: none;
}

ul.sidenav {
	margin: 0;
	padding: 0;
}
ul.sidenav ul {
	margin: 0;
	padding: 5px 0 0 10px;
}
ul.sidenav li {
	list-style-type: none;
	font-size: 123.1%;
	padding: 7px 0;
}
ul.sidenav li ul li {
	font-size: 85%;
}
ul.sidenav a:link, ul.sidenav a:visited {
	color: #98a5c8;
	text-decoration: none;
}
ul.sidenav a:hover, ul.sidenav a.active:link, ul.sidenav a.active:visited {
	color: #4e0964;
	text-decoration: none;
}
ul.sidenav li#sitemap {
	font-size: 108%;
	margin-top: 20px;
}
/* @end */

/* @group Default Headings */
h1.page-title {
	font-size: 189%;
	color: #98a5c8;
	margin: 0 0 10px 0;
}
h1.page-title a:link, h1.page-title a:visited {
	color: #98a5c8;
	text-decoration: none;
}
h1.page-title a:hover {
	color: #4e0964;
	text-decoration: none;
}
div.main h2 {
	font-size: 123.1%;
	color: #455776;
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	font-weight: normal;
	border-bottom: 1px solid #b9c0cb;
}
h3 { }
h4 { }
h5 { }
h6 { }
/* @end */

/* @group Common Text Styles */
div.main p {
	color: #455776;
	line-height: 150%;
}
/* @end */

/* @group Default Lists */
	
/* @end */

/* @group Forms */
form.contact label {
	color: #455776;
	padding-top: 4px;
	display: block;
}
form.contact table td {
	border: none;
	text-align: right;
	vertical-align: top;
}
form.contact input.txt, form.contact textarea {
	border: 1px solid #ececec;
	padding: 4px;
	background-color: #f4f4f4;
	width: 200px;
	color: #7c8085;
	font-size: 93%;
}
form.contact input.submit {
	background: url(/assets/images/btn-bkg.jpg) no-repeat 0 0;
	border: none;
	width: 89px;
	height: 28px;
	color: #7c8085;
	font-weight: bold;
	font-size: 93%;
}

div.errorExplanation {
	border-top: 1px solid #fbd889;
	border-right: 1px solid #fbd889;
	border-bottom: 1px solid #fbd889;
	border-left: 5px solid #fbd889;
	background: url(/assets/images/error-icon.gif) no-repeat 10px 10px #fff1d3;
	padding: 15px 15px 10px 70px;
	margin-bottom: 15px;
	width: 400px;
}
div.errorExplanation h2 {
	border: none;
	color: #e97c21;
	font-weight: bold;
	font-size: 108%;
	padding: 0;
}
div.errorExplanation p {
	color: #e97c21;
	font-size: 100%;
	margin-bottom: 5px;
}
div.errorExplanation ul {
	color: #e97c21;
	font-size: 93%;
	margin-bottom: 0;
	margin-top: 5px;
}
div.errorExplanation ul li {
	padding: 6px 0;
}
/* @end */

/* @group Default Links - link visited hover active */
div.main a:link, div.main a:visited {
	color: #4e0964;
	text-decoration: underline;
}
div.main a:hover {
	color: #ada0bc;
}
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 1px; 
	width: 1px;
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */

#ft {
	width:920px;
	height:50px;
	margin-left: auto;
	margin-right: auto;
}
#ft ul  {
	float: left;
	display: inline;
	margin-left: 180px;
	width: 90%;
}
#ft li {
	display: inline;
	list-style: none;
	margin-right:1em;
	font-size: .8em;
}
#ft a {
	text-decoration: none;
	color: #455776;
}
#ft a:hover  {
	color: #ada0bc;	
}
#ft p {
	color:#455776;
	margin-top:.5em;
}

.main ul li{
	color:#455776;
	line-height:21px;
}
h1 {
	color:#B9C0CB;
}
img.framed {
	border: 1px solid #D2C8D1;
	padding: 5px;
}
.f-r {
	float:right !important;
	margin-left:10px;
}
.f-l {
	float:left !important;
	margin-right:10px;
}
