/* 
css Copyright (c) 2008 by Sandvox Web Designs. All rights reserved.
css is the creative work of Gary Byrd and Sandvox Web Designs. If you like this design then you might consider checking out some of our other designs at     www.sandvoxwebdesigns.com. You can also check out the www.rapidweaverthemes.com for finely crafted themes for RapidWeaver.
All associated graphics belong to their respective owners and are licensed separately. 

The original Sandvox design is SVX Mojo, which was modified to:
  - have the side bar on the right
  - correct the small issue in the original design when no sidebar is appled on the page (background)
  - modified a few other items in the design as such (colours, setup, etc..) for our own purposes
Modified by Opre, 2009.

*/

/* @group Global */

* { 
	margin:0px;
	padding:0px;
}

body {
	font-family: "Lucida Grande", Trebuchet, sans-serif;
	font-size: 76%; 
	word-wrap: break-word;
	line-height:1.6;
	background-color: #142D1E;
}

img {
	border:0px #000 none;
}

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

a:hover {
	color: #484848;
}

h3 {
	margin-top:0.5em;
}

ul {
	padding-left:2em;
}

.clear {clear: both; height: 0;}
img.narrow {float: right;}
img.wide {display: block;}



/* end */

/* group Header Area */

#page-top {
	overflow:hidden;	
}

#title {
	position:relative;
	color:#fff;
 	overflow: hidden;
	width: 800px;
	height: 263px;
	background: url(header.jpg) center top no-repeat;	
}

#page-top h1 {
	text-align: left;
	font: normal normal 200% Verdana, "Lucida Grande", Lucida, sans-serif;
	position: relative;
	top:20px;
	margin-bottom: 20px;
	margin-right: 20px;
	margin-left: 20px;
}

#page-top h1 a:link, #page-top h1 a:visited {
	color: #fff;
	text-decoration:none;
}

#title:hover a, #title a:hover {
	text-decoration:underline;
}

#title p {
	overflow:hidden;
	position: relative;
	font-size: 130%;
	padding-right: 0px;
	padding-left: 0px;
	margin-right: 0px;
	margin-left: 20px;
}
/* IE 5 and 6 non Mac Hack \*/
* html #title p {
	font-weight: bold;
}

/* end Hack */

/* @end */

/* @group Navigation Menu */

#sitemenu-container {
 	background: url(footerbg.png) repeat-x;
 	padding: 10px;
	color:#fff;
	position: relative;
	/*top: 0; note this forces the menu to the top of the page .... */
	height: 30px;
}

#sitemenu {
	clear: left;
	overflow: hidden;
}

#sitemenu ul {
	margin: 4px 0px;
	padding:  2px 4px 2px 2px;
	list-style:none;
	text-align: center; 
	font-weight: bold;
}

/* IE 5 and 6 non Mac Hack \*/
* html #sitemenu ul {
	font-weight: bold;
}
/* end Hack */

#sitemenu ul li {
	display:inline;
	margin:0px;
}

#sitemenu li a {
	color: #fff;
}

#sitemenu ul a {
	text-decoration: none;
	padding: 3px 7px;
}

#sitemenu ul .currentPage .in {
	text-decoration: none;
	text-indent: 0;
	color: #fefd56;
	padding: 3px 6px;
}

#sitemenu li :hover, #sitemenu .currentPage .in:hover,  #sitemenu a:hover  {
	color: #f1fd87;
	line-height: 14px;
}


/* @end */

/* @group Content Area */

#page-container {
	width: 800px; 
	margin-bottom: auto;
	margin-left: auto;
	margin-right: auto;
}


#page-content {
	margin: 0 0;
	min-height:100px;
}


#page {
	width:800px;
	border: 1px solid #1f1f1f;
	background: #fdfde0; /* correct place for the background ... */
	/*margin: 10px auto 20px;*/
	border-top-style: none;
}

*html #page {
	margin: auto auto auto;
	width: 800px;
	/*overflow: hidden;*/
	/*last two lines were added for some versions of IE that displayed the page incorrectly*/
}

#main {
	font-size: 110%;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}

#main li{
	padding-right: 10px;
	padding-top: 0;
	padding-bottom: 0;
}

#main p {
	margin-top: 0px;
	margin-bottom:0em;
	margin-right: 0px;
	margin-left: 0px;
	text-align: justify;
}

*html #main{
	margin-top: 0px;
}

*:first-child+html #main{
	margin-top: 0;
}

#main h2{
	margin-top: 10px;
 	margin-left: 0px;
	margin-bottom: 10px;
 	text-align: left;
	color: #0E1F15;
	background-color: transparent;
}

#main h3{
	margin-bottom: 10px;
}

.article h3{
	margin-bottom: 10px;
	border-bottom: 1px solid #000;
}

#main p img{
	margin: 3px 7px 1px 3px;
	padding: 3px 10px 1px 3px;
	float: left;
}

#main h3 a {
	text-decoration: none;
}

body.allow-sidebar #main {
	width: 540px;
	float: left;
	padding-left: 0px;
	padding-right: 0px;
}

/* IE Hack 5.5 and 6 not Mac \*/
*html body.allow-sidebar #main {
	width: 540px;
	padding-left: 0px;
	padding-right: 20px;
	float: right;
	display: inline;
}

/* end hack */

body.allow-sidebar #page {
}

body.allow-sidebar #page-content {
}

body.allow-sidebar #page-bottom {	
}

.article-info .timestamp {
	margin-bottom: 10px;
	margin-top: 10px;
}

.article, .general-index {
	margin-bottom:0em;
	padding:0px 0px 0px;
 	float:left; 
 	width:100%;
}

.article-info {
}

.article-info .timestamp {
	clear:right;
	text-align:right;
	padding: 1px 0.7em;
	margin: 10px -6px 0px;
}

.article-content{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

* html .article-info .timestamp {
	margin-top: 3px;
}

.article-thumbnail {
	float:right;
 	width:100%;
}

/* @end */

/* @group Sidebar and Callouts */

#sidebar-container {
 	float: left; 
	width:220px;
	padding-left:20px;
	padding-right: 0px; 
	margin-bottom: 10px;
	padding-top: 50px; /*try instead of margins ... */
	margin-top: 0px; /* 40px is the right height, for some reason */
	color:#1f1f2f;
}

#sidebar{
}

/* Mac IE Hack */
*html #sidebar{
	margin-top: 6px;
}
/* end Mac IE Hack */

/* IE hacks \*/

*html #sidebar{
	margin-top: 56px;
}

*+html #sidebar{
	margin-top:56px;
}

*:html #sidebar{
	margin-top:56px;
}
/* end IE hacks */

.callout {	
	width:220px;
	float:right; 
	color:#000000;
	margin-top: -10px; /* was -35  - has to fit the h2 tags ...*/
	margin-right: -20px; /* was -5 */
	margin-left: 20px;
}

.callout p {
 	text-align: left;
}


.pagelet {
	width: 200px;
	margin: 0px 0px 0px; /* was 25px 0px 10px */
	padding-right: 0px; /* was 5px */
	padding-left: 0px; /*was 10px*/
	padding-top: 0px; /*was 10px */
	padding-bottom: 20px !important; /*was was 6px !important */
	color:#000000;
 	text-align:left;
} 

.pagelet li{
	list-style-image: url(links.gif);
}

/* IE Hacks for the position of the gif in IE 5 to 7 */
*html .pagelet li{
	list-style-image: url(iElinks.gif);
}
*:first-child + html .pagelet li{
	list-style-image: url(iElinks.gif);
}
/* end IE Hacks */

.callout .pagelet a {
	color: #363736;
}

.pagelet a {
	color: #363736;
}

.callout .pagelet li {
	color: #0f2a46;
	list-style-image: url(links.gif);
}

/* IE Hacks for the position of the gif in IE 5 to 7 */
*html .callout .pagelet li{
	list-style-image: url(iElinks.gif);
}
*:first-child + html .callout .pagelet li{
	list-style-image: url(iElinks.gif);
}
/* end IE Hacks */

.callout .pagelet a:hover {
	color: #0c1f2f;
}

.callout .pagelet.bordered {
	color:#1f1f2f;
	border:1px solid #1f1f2f;
}

.callout .pagelet.bordered a {
	color:#142D1E;
}

.pagelet h4 {
	margin:0px 0px;
	font-size:120%;
	background-color: #0E1F15;
	color: #fff;
	padding-right: 10px;
	padding-left: 10px;
}

.callout h4 {
	margin:6px 0px;
	font-size:120%;
	background-color: #0E1F15;
	color: #fff;
	padding-right: 10px;
	padding-left: 10px;
}

.callout .pagelet.bordered {
	border-color: #1f1f2f !important;
}

#sidebar, .callout .pagelet.bordered {
}

#sidebar-content img {
	margin-left: 0 ; /* both were auto */
	margin-right: 0;
	padding-bottom: 0px;
}


/* @end */

/* @group Footer Area */


#page-bottom {
	border-top: 1px solid #bcbcbc;
	background: url(footerbg.png) repeat-x;
	position: relative;
	padding: 10px;
 	color: #fff;
 	text-align: right;
}

#page-bottom p {
	color: #fff;
}
#page-bottom a {
	color: #dbeaff;
	text-decoration: none;
}


/* @end */

/* @group Contact Form */

/* Contact Element (standard and customized HTML) */

form.contactElement textarea,
form.contactElement input,
form.contactElement select {
	width:98%;
	margin:4px 0;
}
form.contactElement input.submit {
	width:auto;
	display:block;
	margin-left:auto;
	margin-right:2%;
	min-width:50%;
}
form.contactElement th {
	text-align:right;
	font-weight:normal;
	width:25%;
}



/* @end */

/* @group Sandvox Specific */

#main .clear {clear:left;}
* html .clear{ display:inline;} 
.hidden {display:none;}


/* @end */

/* @group Browser Specific */

* html .gridItem img {
	position: relative;
	top:0px;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}

/* IE7 hacks */

*:first-child+html .gridItem img {
	position:relative;
	top:0px;
}

*:first-child+html .gridItem h3 {
	position:relative;
	top:0px;
}

/* Contact Element For IE 7 */

*:first-child+html form.contactElement input.submit {
	padding:0px 10%;
	min-width: auto;
}


/* @end */

.ImageElement, .VideoElement { text-align:center;}
td.dli1 { 
	text-align:center;
}

/* @group Photo Navigation */

/* photo navigation */

.photo-navigation {
	position:relative;
    	height: 34px;
    	width:200px;
   	margin:0px auto 8px auto;
}

.photo-navigation div {
	width:30px;
	height:34px;
	position: absolute;
 	text-indent: -5000em;
}

.photo-navigation a {
	border-bottom:none;
	display:block;
	width:100%;
	height:100%;
}

#previous-photo	{
	background: url(photo-prev-off.gif) no-repeat 0 center;
	left: 58px;
}
#previous-photo a {
    background: url(photo-prev.gif) no-repeat 0 center;
}

#next-photo {
    background: url(photo-next-off.gif) no-repeat 0 center;
    left: 112px; 
}
#next-photo a {
    background: url(photo-next.gif) no-repeat 0 center;
}

#photo-list {
    background: url(photo-list-off.gif) no-repeat 0 center;
    left: 84px;
}
#photo-list a {
    background: url(photo-list.gif) no-repeat 0 center;
}

.image-controls a {
	border-bottom:none !important;
}



/* @end */

/* @group Photo Grid */

body.no-sidebar .photogrid-index {
}

.photogrid-index a {
	color:#000;
	text-decoration:none;
	border:none!important;
	padding:0px!important;
}

.photogrid-index a:hover  {
	text-decoration:underline;
}

.photogrid .gridItem h3, .photogrid .gridItem h2 {
	border-bottom-style: none;
}

.gridItem {
    	float: left;
    	position:relative;
    	width:140px;
    	height:180px;	/* room for caption */
    	margin: 5px 4px;
    	border: 1px solid rgb(158, 158, 158);
    	overflow: hidden;
	background-color: #f1f1f1;
	padding-top: 10px;
}

.gridItem h3 {
	font-weight: normal;
	color: black;
    	margin-top: 2px;
    	margin-left: 4px;
    	margin-right: 4px;
    text-shadow: 0px 1px 1px white;
    	position:absolute;
	   top: 138px; /* needs to leave 38px from the bottom of the gridItem*/
	   width: 132px;
	   font-size: 1.0em;
	   border-bottom-style: none;
}


.gridItem img {
    border: 1px solid rgb(80, 80, 80);
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 42px;
    right: 0;
    left: 0;
}


* html .photogrid-index {
	overflow:visible;
	margin:10px 0px;
}
* html .gridItem img {
	position: relative;
	top:0px;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}



/* Used on index summary pages */

/* Used on Photo Grid Pages ... */
.photogrid-index {
    text-align: center;
    margin: 10px;
    margin-left: 40px;
    padding: 5px;
    overflow: auto;
    float:left;
    width: 90%;
}

.Download-index {
	float: left;
	width: 100%;
}
/* @end */
.listing-index #main li h3 a {
    	text-decoration:none;
   	font-size:1em;
    	font-weight:normal;
}#title { background-image: url("../_Media/header.jpg"); }
