/* GENERAL */

* {
	color: #513127;
	font-family: Verdana;
	font-size: 10px;
}

body {
	margin: 0;
	padding: 0;
	font: 10px/1.5em Verdana;
	background: #ffffff url('/images/projectb_bg_pattern.gif');
}

a:hover {
        color: #b42b23;
}

acronym {
	cursor: help;
}

form dl {
        margin-top: 0;
        margin-bottom: 8px;
}

form dl dt {
        float: left;
        width: 8em;
        margin-right: 1.5em;
}

label {
        font-size: 11px;
        font-weight: bold;
}

.formfield {
       background-color: #edf5fa;
       border: 1px solid #513127;
       width: 22em;
       padding: 2px;
       overflow: auto;
}

textarea, select {                
       padding: 5px;
}


/* use for a horizontal rule with collapsing margins that are consistent across browsers */

div.hr {
        background-color: #d8e8f2;
        height: 5px;
        margin: 3px 0px 0px 0px;
        padding: 0;
}

div.hr hr {
        display: none;
}



/* SECTIONS */

#page {
	margin: 15px auto 10px auto;
	text-align: left;
	width: 750px;
	background: #ffffff;
}

#header {
        background-color: #d8e8f2;
        padding-right: 0px;
        height: 63px;
        margin-bottom: 0px;
}

#header h1 {
	color: white;
	font-size: 180%;
	font-weight: lighter;
	margin-bottom: 0;
	padding-bottom: 4px;
}

#header p {
	color: white;
	font-size: 90%;
	padding: 0;
	margin: 0;
}

#header-site-links {
       float: right;
       /*width: 156px;         /* matches width of 2nd column of product page sidebar table */
       width: 205px;           /* enlarged to fit 'articles' in also */
       line-height: 50px;
       text-align: left;
}

#header-site-links a {
       font-family: Verdana;
       font-size: 11px;
       text-decoration: none;
}

#product-nav-bar {
       padding-left: 7px;
       margin-top: 3px;
}

#product-site-links {
	padding: 0;
	margin: 0;
}

#product-site-links a {
       font-family: Verdana;
       font-size: 11px;
       text-decoration: none;
}

#content {
       padding-left: 0px;
       padding-bottom: 10px;
       min-height: 300px;       
       _height: 330px;       /* hack for min-height in IE - add extra 30px because
                                IE includes top margin of h2 in height calculation */
}

#content h1 {
	font-size: 18px;
        font-weight: lighter;
        text-align: center;
        margin-top: 30px;
	padding-bottom: 10px;
}

#content h2 {
	font-size: 110%;
        color: #513127;
	margin-bottom: 5px;
	margin-top: 30px;
}

/* provides margin for non-front layout */
#pre-footer {
      height: 15px;
      clear: both;
}

#footer {
      background-color: #d8e8f2;
      margin-top: 0px;
      padding: 6px 0px 3px 8px;
}

#footer p {
      font-family: Verdana;
      font-size: 9px;
      color: #707070;
      margin: 0;
}

#footer-site-links {
       float: right;
       width: 296px;        /* matches width of 2nd column of product page sidebar table */
       text-align: left;
}

#footer-site-links a {
       font-family: Verdana;
       font-size: 11px;
       text-decoration: none;
}



/* GALLERY LAYOUT */

#page_g {
	margin: 15px 20px 10px 10px;
	text-align: left;
	background: #ffffff;
}
#dots_bottom {
	background:  url('/images/dots_bottom.png') repeat-x 0px 50%;
	height: 60px;
	width: 100%;
}

#page_g #content table {
    background: #ffffff;
}

#page_g #content table.curiosities {
	background-image: url('/images/dots.png');
	background-repeat: repeat-x;
	background-position: 0px 250px;
}

#header_g {
        background-color: #d8e8f2;
        padding-right: 0px;
        height: 63px;
        margin-bottom: 0px;
}



/* PAGES */

#content-page-sidebar {
       float: right;
       width: 315px;
/*       clear: both;*/
}
/*
#content-page-sidebar a {
       text-decoration: none;
       color: #b42b23;
       margin-top: 0px;
       padding-top: 0px;
       font-size: 11px;
}
*/
#content-page-sidebar h1 {
       background-color: #edf5fa;
       text-align: left;
       margin: 0 0 5px 0;
       padding: 6px 0 2px 0px;
}

table#about-links a {
       text-decoration: none;
       color: #b42b23;
       margin-top: 0px;
       padding-top: 0px;
       font-size: 11px;
}

table#about-links td {
       padding-top: 5px;
       padding-bottom: 5px;
}

td.ruled {
       border-top: 1px solid #513127;
}

table.entry-table a {
       text-decoration: none;
       color: #513127;
       margin-top: 0px;
       padding-top: 0px;
       font-size: 11px;
}

table.entry-table a.selected {
       color: #b42b23;
       font-weight: bold;
}

table#gallery-index-table td {
       height: 140px;
       width: 140px;
       text-align: center;
       vertical-align: middle;
       background-color: white;
       padding: 0px;
}

#gallery-notes-window {
/*      padding: 50px 20px 20px 20px;*/
	z-index: 2;
	position: absolute;
	top: 50%;
	left: 50%;
/*	width:50em;*/
/*	height:26em;*/
	margin-top: -20em; /*set to a negative number 1/2 of your height to center*/
        margin-left: -20em; /*set to a negative number 1/2 of your width to center*/
/*        border: 3px solid #E7E7DB;*/
/*        border: 4px solid #edf5fa;*/
        border: 1px solid #513127;
/*        border: 1px solid #d8e8f2;*/
	background-color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
        text-align: none;
        visibility: hidden;
}

#gallery-notes-shade {
        border: 4px solid #edf5fa;
        padding: 4px;
}

#gallery-notes {
        height:  36em;
        width: 40em;
        overflow: auto;
}



/* PRODUCTS */

#product-type-header {
       float: right;
       width: 296px;
       text-align: left;
       margin-top: 30px;
}

#product-type-header h1 {
       margin: 0px;
       padding-left: 0px;
       text-align: left;
}

#back-to-main-nav a {
       font-size: 11px;
       text-decoration: none;
}



/* ERROR FIELDS */

.errorExplanation {
	background: 0px 3px url(/images/m-tools/cross.gif) no-repeat #FFB1B1;
	padding: 0px 5px 5px 40px;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid red;
}

.errorExplanation h2 {
	color: red;
	text-transform: none;
}

.errorExplanation p {
	font-weight: normal;
}

.fieldWithErrors input, .fieldWithErrors textarea {
	border: 1px solid red;
	background-color: #FFECF0;
}

#message {
	padding: 8px 8px 8px 40px;
	margin-bottom: 5px;
}

.notice {
	border-top: 1px solid #00a017;
	border-bottom: 1px solid #00a017;
	color: #00a017;
	background: 4px 0px no-repeat url(/images/m-tools/tick.gif) #e0f5e0;
}

.error, .warning {
	border-top: 1px solid #a00027;
	border-bottom: 1px solid #a00027;
	color: #a00027;
	background: 4px 0px no-repeat url(/images/m-tools/cross.gif) #ffb1b1;
}


/* social networking */
#footer_left {
	float: left;
	width: 50%;
}
#footer_right {
	float: right;
	line-height: 30px;
}
#follow_projectb {
	margin: 0px 0px 0px 0px;
	padding: 0px;
}
#follow_projectb li {
	background-repeat: no-repeat !important;
	list-style: none;
	float: left;
	line-height: 20px;
	padding-left: 24px;
	background-position: 0px 3px !important;
	margin-right: 9px;
}


/* CLEARFIX */

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

