/* Start of CMSMS style sheet 'Main' */
html, body {
   background-image:url(images/bg.jpg);
   background-repeat:repeat-x;
   text-align:left;
   margin:0px;
   padding:0px;
   height: 100%;
   font-family:Helvetica, sans-serif;
   font-size:1em;

}	

* div {border: 0px solid #d8d8d8;}

#wrap {
background-color:#fff;
display:block;
margin:0 auto;
width:802px;
text-align: left;
min-height:100%;
position:relative;
z-index:0;
}


.sitemap {line-spacing:140%;font-size:1.2em;}
.sitemap ul li {font-size:1.1em;}




#menu {
background-image:url(images/mainmenu.jpg);
width:802px; height:27px;
background-repeat:none;
margin:0 auto;
overflow:hidden;
text-align:right;

}

#menu {font-size:12px; font-family:Arial; letter-spacing:1px;}

#menu p {margin-right:20px; color:#917b38}
#menu a {color:#f6d262;text-decoration:none;}
#menu a:hover {text-decoration:underline;}


#top {
background-image:url(images/newtop.jpg);
width:802px;height:156px;
display: block;margin-top: 0px;
}

#top a {text-decoration:none;}

.hide {
visibility:hidden;
}

#back {
float:left;
height:105px;
margin-left:30px;
margin-top:60px;
position:absolute;
width:100px;
}


#wrap #menureal {
background-image:url(images/mainmenu2.jpg);
width:802px; height:23px;
background-repeat:none;
margin:0 auto;
text-align:left;
position:relative;
z-index:800; 
}

#submenu {
background-image:url(images/submenu.jpg);
background-repeat:none;
overflow:hidden;
width:802px; height:34px;
margin:0 auto;
text-align:left;
position:relative;

}

#main {
background-image:url(images/topcontent.jpg);
background-repeat:no-repeat;
height:230px;
width:802px;
margin:0px;
padding:0px;
position:relative;
}

.boxy {clear:both;margin-left:0px;margin-top:10px;height:auto;padding-top:2px;padding-bottom:4px;width:250px; background-image:url(images/boxxbg.jpg); background-repeat:repeat-x; background-color:#fff;border-top: 0px solid #d8d8d8;
background-position:top;
background-repeat:no-repeat;}

.boxy{padding:5px 15px 0px 15px;}
.boxy a, a:visited {color:#000}
.boxy a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}
.boxy li {font-size:11px;}
.newsletterbox{font-size:12px;
margin:0px;
padding-left:20px;line-height:100%}




p.top {line-height:140%;font-size:10px;}
p {line-height:170%; font-size:12px;}


ul, li, blockquote {font-size:0.8em; line-height:140%}

h1 {text-transform:uppercase;letter-spacing:1px; font-weight:200; color:#5c5c5c; font-family: tahoma; font-size:1em;}

.boxleft {float:left;margin-left:35px;width:224px; height:auto; background-color:#ffffff}
html>body .boxleftlarge{float:left;margin-left:35px;width:427px; height:auto; background-color:#ffffff}

.boxleftlarge{float:left;margin-left:17px;width:427px; height:auto; background-color:#ffffff;margin-bottom:50px;}
.boxleftlarge p {line-height:170%}

html>body #home.boxleftlarge3{float:left;margin-left:45px;padding-right:10px;width:370px; height:auto; background-color:#ffffff}

#home.boxleftlarge3 {margin-top:9px;float:left;margin-left:25px;padding-right:10px;width:350px; height:auto; background-color:#ffffff:border:1px solid #000;display:block}


.boxrightlarge p {line-height:170%}

.boxrightlarge{float:left;margin-top:90px;margin-left:15px;margin-bottom:15px;width:300px; height:auto; background-color:#ffffff;}


.boxright {float:left;margin-left:35px;width:209px; height:auto; background-color:#ffffff;}


.boxrightlarge2{float:left;margin-top:27px;margin-left:25px;margin-bottom:15px;width:42%; height:auto; background-color:#ffffff;}

#news {font-size:12px; line-height:140%;margin-top:0px;float:left;margin-left:30px;width:30%; height:auto;margin-bottom:50px;}

.NewsSummaryMain {text-decoration:none;padding-top:2%; padding-left:8%; padding-right:6%; padding-bottom:3%;}

.NewsSummaryPostdate {font-weight:light;color:#666666;}
.NewsSummaryMoreLink {}
.NewsSummaryMain a {font-size:1.0em;color:#bf9921}

.NewsSummaryMain a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}


.box {
background-color:#FFFFFF;
background-image:url(images/newsbox.jpg);
background-repeat:no-repeat;
border:0px solid #D8D8D8;
clear:both;
float:left;
height:auto;
margin-bottom:5px;
margin-left:0px;
width:280px;}


#footer {clear:both;text-align:center;width:100%;margin-top:30px; height:70px; background-image:url(images/footerbg.jpg); background-color:#dbdbdb; background-repeat:repeat-x; border-top: 1px solid #d8d8d8; color:#444444;}

#footer {font-size:11px;font-family:verdana;}

#footer a {color:#a07700}

#footer a:hover {text-decoration:none;background-color:#bf9921; color:#FFFFFF}

#searchbox {text-align:center;}

#maintwo {
background-image:url(images/topcontentwhite.jpg); background-repeat:no-repeat; background-color:#FFFFFF; background-position:top;
min-height:269px;
width:802px;}

#maintwo h1 {margin-top:20px;}

html>body .body {margin-left:45px;width:89%;}

.body {font-size:12px;fony-family:arial;line-height:175%;float:left;margin-left:24px;width:714px; height:auto; background-color:#ffffff}
.body p {margin-top:20px;line-height:175%;}
.body span {margin-top:0px;line-height:175%;}
.body li, blockquote {font-size:12px; line-height:175%;margin-left:35px;}


.boxleftlarge3 {font-size:12px;fony-family:arial;line-height:175%;float:left;margin-left:0px;width:714px; height:auto; background-color:#ffffff}
.boxleftlarge3 p {margin-top:11px;line-height:175%;}
.boxleftlarge3 span {margin-top:0px;line-height:175%;}
.boxleftlarge3 li, blockquote {font-size:12px; line-height:175%}




#main a, a:visited {color:#a07700}
#main a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}

#maintwo a, a:visited {color:#a07700}
#maintwo a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}

#onecolumn a, a:visited {color:#a07700}
#onecolumn a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}

#home a, a:visited {color:#a07700}
#home a:hover {text-decoration:none;background-color:#bf9921;color:#FFFFFF}



.breadcrumb {font-size:11px;font-family:verdana;}

.imagefloatright img {float:right; margin-top:5px;padding-left:20px; padding-bottom:15px;}
.imagefloatleft img {float:left; margin-top:5px;padding-right:20px; padding-bottom:15px;}


.pisearchresultheader {font-size:0.8em; line-height:140%;}
.pisearchlink {font-size:0.8em; line-height:140%;}
.pisearchdetails {font-size:0.8em; line-height:140%;}

#newdetail {font-size:0.8em}

.SummaryTitle {font-size:1em;}

#newstemplate {padding-left:1%; padding-top:1%; padding-right:1%; padding-bottom:1%; font-size:14px;line-height:175%}

#wrap .roundcont {
float:right;margin-right:18px;width:auto;height:27px;background-image:url(images/subbg.jpg); background-repeat-x;margin-bottom:5px;
}

.roundcont p {margin-top:7px;margin-left:20px; margin-right:0px;padding-bottom:0px;}

html>/**/body .roundcont p {
	margin: 0 20px;
}

html>/**/body .roundtop { 
	background: url(images/tr.gif) no-repeat top right; 
}

html>/**/body .roundbottom {
	background: url(images/br.gif) no-repeat bottom right; 
}

html>/**/body img.corner {
   width: 10px;
   height: 8px;
   border: none;
   display: block !important;
}

ul#latest {list-style:none; padding:0px; margin:0px;}
ul#latest li {list-style:none; line-height:0px; padding:0px; margin:0px;}



#rss {height: 38px;
width: 250px;
text-indent: 10000px;
overflow: hidden;
background: url(images/rss1.jpg) top left no-repeat;
display: block;
border:none;
cursor:pointer;
}

#rss:hover{
background-position: bottom left;}

#newsletter {height: 38px;
width: 250px;
text-indent: 10000px;
overflow: hidden;
background: url(images/newsletter1.jpg) top left no-repeat;
display: block;margin-bottom:12px;cursor:pointer;
}

#newsletter:hover{
background-position: bottom left;}

.rsslink {margin-top:10px;float:right;display:block;background-image:url(images/rsslink.jpg);width:20px;height:20px;}
.rsslink:hover {background-image:url(images/rsslink1.jpg)}





.rightbox1{float:left;margin-top:37px;margin-left:28px;margin-bottom:15px;width:330px; height:auto; background-color:#ffffff;border-left:#f3f3f3 1px solid;padding-left:15px}

#home.leftbox1 {margin-top:15px;float:left;margin-left:35px;padding-right:0px;width:350px; height:auto; background-color:#ffffff:border:1px solid #000;display:block}

/* End of 'Main' */

/* Start of CMSMS style sheet 'Submenu' */
.sepmenu{
      font-size: 10px;
letter-spacing: 1px;
      text-transform: uppercase;
font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
   color: #555555;
   text-align: left;
  margin-left:13px;
}

.sepmenu {padding:10px;}

.sepmenu a {margin-top:1px; color: #828282;}

.sepmenu a:link, .sepmenu a:visited {
   color: #ffffff;
   text-decoration: none;
padding:5px;
   
}
.sepmenu a:hover {
      color:  #cccccc;
}
#sepmenu_active{
   font-weight:900;
   letter-spacing:0.5px;
   color: #000000;
   text-decoration:underline;
}

#sepmenu_active2{
   color: #cccccc;
   text-decoration:none;
}

/* End of 'Submenu' */

/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
dfn {display: none;}

#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }

/* EDIT HERE 1 - FROM DOUG - Below styles the dynamically created div id="menuwrapper"
Change settings here to:
>width of nav bar - common widths are 760px, 955px, or 100%
>alignment of all all levels of menu items */
#menuwrapper {
   /*   overflow: hidden;  */
   background-color: transparent;
   width: 802px;
   margin-left: 15px;
   margin-right: 0px;
   text-align: left;
   z-index:5;
   position:absolute;

}

/* EDIT HERE 2 - Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 155px;

}

/* Unless you know what you do, do not touch these positioning elements */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%;
   top: 0px; 
}


#primary-nav li { 
   margin-left: -1px;
   margin-top:1px;
   float: left;

}

#primary-nav li li { 
   margin-left: 0px;
   margin-top:-1px;
   float: none; 
   position: relative; 
}
/* End of positioning elements */ 

/* Styling the basic apperance of the menu elements
EDIT HERE 3- You can change the text color for all levels of the menu here. To change the sublevel text to a different
color see EDIT 6 */
#primary-nav a {
   display: block;
   padding: 5px 10px;
   text-decoration: none;
   color: #cccccc;
}
#primary-nav li li a { line-height:140%;padding-top:3px;padding-bottom:3px;}
#primary-nav li li li a { line-height:140%;padding-top:3px;padding-bottom:3px;}
#primary-nav li li li li a { line-height:140%;padding-top:3px;padding-bottom:3px;}

#primary-nav a:hover { color:#ffffff;}


/* EDIT HERE 4 - You can edit or remove side bordres on the main nav bar. Font attributes set here affect all levels */
#primary-nav li a {
      font-size: 10px;
letter-spacing: 1px;
      text-transform: uppercase;
font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
border-left: 0px solid #C0C0C0;

   }
/* EDIT HERE 5 - Edit or remove bordres of the 2nd and 3rd level menu items
If you would like a different font color for submenu text change it here
 */
#primary-nav li li a { 
   border: 1px solid #888888;
}

/* EDIT HERE 6 - I set the background of the main nav bar to transparent so I can
 add gradient background pictures in the html. 
 Obviously, you can also change main nav bar to a different color.
 Note: Just changing this background color in the default CSS menu template will also affect
 all lower levels of the menu, you must also add the edits in 7 and 8 at the bottom of this sheet. */   
#primary-nav li, #primary-nav li.menuparent {
   background-color: transparent;


}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
  background-color: #727f6b; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
/* NOTE FROM DOUG - I changed the positioning so it's easier to use other arrow graphics. */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth {
   /* arrow for menuparents */
   background-image: url(images/cms/arrow-right.gif);
   background-position: 135px center;
   background-repeat: no-repeat;

   }

/* Styling the apperance of menu items on hover 
NOTE from Doug-added "#primary-nav ul li.menuparent:hover," to this section so it works in FF and IE6*/
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth,
#primary-nav ul li.menuparent:hover,
#primary-nav li.menuactiveh {
  background-color: #727f6b; 

}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li:hover ul ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul, 
#primary-nav li.menuparenth ul ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav ul ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul,
#primary-nav ul ul ul li.menuparenth ul { 
   display: block; 
}

/* IE Hacks */
/* EDIT HERE 7 - You can change the background color of submenu items that ARE NOT parents match with color in edit 8 */
#primary-nav li li {
   float: left;
   clear: both;
   background-color: #232323;

}
/* Don't change */
#primary-nav li li a { 
   height: 1%; 
}
/* EDIT HERE 8 - You can change the background color of submenu items that ARE parents (match with color in edit 7) */
#primary-nav ul li.menuparent {
   background-color: #232323;
}

#main .s3 {border:none;padding-left:43px;padding-top:10px;padding-bottom:5px;}
#main .s3 img {border:none;position:relative;z-index:2}
#topimage {border:none;padding-left:43px;padding-top:10px;padding-bottom:5px;height:0px;}
#topimage img {border:none;}

/* End of 'Navigation: CSSMenu - Horizontal' */

/* Start of CMSMS style sheet 'Thickbox' */
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ---*{padding: 0; margin: 0;}-------------------------------------------------------------------------------------------------------------*/


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 11px Arial, Helvetica, sans-serif;
color:#333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #fff;}
#TB_window a:visited {color: #fff;}
#TB_window a:hover {color: #666666;}
#TB_window a:active {color: #fff;}
#TB_window a:focus{color: #fff;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:900;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #666666;
	z-index: 901;
	color:#000000;
	display:none;
	border: 4px solid #666666;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;

}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
color:#ffffff;

}

#TB_title{
	background-color:#333333;
color:#fffffff;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}


/* End of 'Thickbox' */

/* Start of CMSMS style sheet 'Forms' */
.error_message {background-color:#800000;
color:#FFFFFF;
font-size:12px;
font-weight:bold;
margin-bottom:30px;
margin-right:10px;
margin-top:20px;
padding-bottom:10px;
padding-left:10px;
padding-top:11px;
width:98%;}     

input {color:#444444;
font-family:arial,sans-serif;
font-weight:bold;
padding-bottom:2px;
padding-left:5px;
padding-top:2px;
font-size:12px;
margin-bottom:15px;
background-color:#f3f3f3;margin-top:5px}

#subscribe input {color:#444444;
font-family:arial,sans-serif;
font-weight:bold;
padding-bottom:2px;
padding-left:5px;
padding-top:2px;
margin-bottom:15px;
background-color:#f3f3f3;
margin-top:5px;font-size:12px;}



#onecolumn form, li, ul {margin:0;padding:0px}

form div {color:#444444; font-family:arial; font-size:11px; letter-spacing:0px; margin-bottom:0pt; padding-top:0px;text-transform:uppercase;}      

#subscribe {color:#444444; font-family:arial; font-size:11px; letter-spacing:0px; margin-bottom:0pt; padding-top:5px;text-transform:uppercase;}  

#subscribe label {padding-bottom:5px;margin-top:5px;}


fieldset div { margin-bottom:15px; margin-left:0em; }   

fieldset div div { margin-top:0em; margin-left:0em }   

fieldset { margin-bottom:1em; border:0px solid #500000; padding-right:0.5em;padding-top:0.5em;padding-bottom:0.5em; line-height:140%; padding-left:0px;} 

fieldset label {width:120px;}  

legend { color:#FFF; background:#500000; font-style:italic; font-size:1.2em; margin-bottom:0.5em; padding:0.2em; width:auto; /*	border:1px solid #CCC */ }   


textarea { margin: 0.5em 0; margin-bottom:15px;width:100%;font-size:12px;font-family:arial; font-weight:bold;color:#444;width:auto; padding:5px;background-color:#f3f3f3}  

.small {line-height:250%;
padding-bottom:5px;}  


select {font-size:11px;font-family:arial;color:#444;font-weight:200;width:auto;padding-bottom:0px;
padding-left:0px;
padding-top:0px;
margin-bottom:15px;background-color:#f3f3f3}


.short-label label {float:left; display:block;width:12em;margin-top:5px;}  

.short-label fieldset div input {width:120px}   

.captcha {margin:0.5em 0; width:650px;}  

.longer label {float:left; padding-top:5px;display:block;width:195px;margin-top:5px;}    
.longer fieldset div input {width:720px}   


.pref label {float:left; margin-bottom:5px;padding-top:0px;display:block;width:220px;margin-top:5px;}    
.pref fieldset div input {width:220px} 





.captcha img {border:1px solid #999999;
display:block;
float:left;
height:50px;
margin-bottom:0.5em;
margin-left:0px;
margin-top:7px;
width:150px;}  

.captcha input {margin-left:15px;
margin-top:8px;
width:70px;}  

 .submit input
{
font-size:12px;
font-weight:bold;
width:auto;
color:#666;
padding-left:3px;
cursor:pointer;display:block;
text-align:center;
}


 .submit input:hover
{
display:block;
color: #000;
background-color: #e3e3e3;
cursor:pointer;text-align:center;

}

#sublet input
{
font-size:12px;
font-weight:bold;
width:auto;
color:#666;
padding:2px;
cursor:pointer;text-align:center;

}


#sublet input:hover
{
display:block;
color: #000;
background-color: #e3e3e3;
cursor:pointer;text-align:center;

}



.checkbox label {margin-bottom:15px;margin-top:5px;}
.checkbox input {margin-bottom:0px;margin-top:15px;}
.checkbox {margin-top:10px;margin-bottom:25px;}


.textareabox label {margin-top:5px;display:block;}


/* End of 'Forms' */

/* Start of CMSMS style sheet 'Photo Gallery' */
/* Album Module CSS for default, ImageGallery, and Thickbox templates */
/* Used for categories to make things clear correctly */
.album_content {
	width:100%; 
	float:left;
}
.clear {
	clear:both
}
/* Album List UL */
.albumlist
{
	margin-left:0;
	padding-left:0;
	float:left;
width:750px;
}

/* Picture List UL */
.picturelist
{
	margin-left:0;
	padding-left:0;
float:left;
width:750px;
}

/* Album and Picture Lists */
.thumb
{
	padding:0;
	width:200px;
	margin:0 0.5em 0.5em 0;
    
/* Thumbnail spacing */
	text-decoration:none;
	line-height:normal;
	list-style-type:none;
	text-align:center;
	float:left;

}

#maintwo .thumb a
{
	display:block;
	height:72px; 
/* Set link formatting*/
	width:100px; 
/* Thumb width*/ 
	
/* Thumb height*/
	padding:20px;
/* Thumb padding to form thumb frame */
/* You can set the above to 0px = no frame - but no hover indication!*/
	margin:0;
	background-color:#f3f3f3;
/*Background of thumb */
	border-top:1px solid #eee;
/* Borders of thumb frame */
	border-right:2px solid #ccc;
	border-bottom:2px solid #ccc;
	border-left:1px solid #eee;
	text-decoration:none;
cursor:pointer;
}
.albumcomment { text-align: left; }

#maintwo .thumb a:hover {background-color:#e3e3e3}

.thumb a:visited img
{
	background-color:#eee;
/*Background of thumb on hover - sort of a light grey */
}

.thumb a:hover img
{
	background-color:#dae6e4;
/*Background of thumb on hover - sort of light blue/green */
}

/* Styling of text and navigation for Album */
.albumname
{
	font-size:11px;
font-family:arial;
	text-align:left;
	font-weight:bold;
	font-style:normal;
}
.albumname a
{
	display: inline;
        border: none;
        margin:none;
        padding:none;
        background-color:transparent;
}
.albumpicturecount
{
	font-size:11px;
	text-align:left;
	font-weight:normal;
	font-style:italic;
}

.albumcomment
{
	text-align:center;
	font-weight:normal;
	font-style:normal;
}

.albumnav
{
	text-align:center;
	font-weight:normal;
	font-style:normal;
	font-size:smaller;
}

.instructiontext
{
	font-weight:normal;
	font-style:normal;
	font-size:12px;
font-family:arial;
padding-top:210px;
padding-bottom:10px;

}

/* Big Picture */
.bigpicture
{
	padding:0.5em 0 0;
	clear:left;
	border-top:1px solid #ccc;
	text-align:center;
}

.bigpicturecaption
{
/* Big picture caption */
	text-align:center;
	margin:0 0 5px;
	padding:0;
}

.bigpicture img
{
/* Big picture settings */
	padding:18px;
/* Image padding to form photo frame. */
	width:80%;
/* Width of big picture - set to auto for actual width*/
	margin:0;
	background-color:white;
/* Background of picture */
	border-top:1px solid #eee;
/* Borders of picture frame */
	border-right:2px solid #ccc;
	border-bottom:2px solid #ccc;
	border-left:1px solid #eee;
	text-decoration:none;
}

.bigpicturenav
{
	margin:0;
	padding:0;
	color:#000;
	font-size:smaller;
	line-height:normal;
}

/*Thickbox CSS */
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
/* Already done in main CMSMS stylesheet. Commenting out. */
/* *{padding: 0; margin: 0;} */

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 11px Arial, Helvetica, sans-serif;
color:#333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #fff;}
#TB_window a:visited {color: #fff;}
#TB_window a:hover {color: #666666;}
#TB_window a:active {color: #fff;}
#TB_window a:focus{color: #fff;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:900;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #666666;
	z-index: 901;
	color:#000000;
	display:none;
	border: 4px solid #666666;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;

}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
color:#ffffff;

}

#TB_title{
	background-color:#333333;
color:#fffffff;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

/* CSS for Lightbox follows */
#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(modules/Album/templates/db/lightbox/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(modules/Album/templates/db/lightbox/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(modules/Album/templates/db/lightbox/images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
/* Last-Modified: 28/06/06 00:08:22 */
#GB_overlay {
    background-color: #000;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    z-index: 100;
}

#GB_window {
    left: 0;
    top: 0;
    font-size: 1px;
    position: absolute;
    overflow: visible;
    z-index: 150;
}

#GB_window .content {
    width: auto;
    margin: 0;
    padding: 0;
}

#GB_frame {
    border: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    white-space: nowrap;
}


.GB_Gallery {
    margin: 0 22px 0 22px;
}

.GB_Gallery .content {
    background-color: #fff;
    border: 3px solid #ddd;
}

.GB_header {
    top: 10px;
    left: 0;
    margin: 0;
    z-index: 500;
    position: absolute;
    border-bottom: 2px solid #555;
    border-top: 2px solid #555;
}

.GB_header .inner {
    background-color: #333;
    font-family: Arial, Verdana, sans-serif;
    padding: 2px 20px 2px 20px;
}

.GB_header table {
    margin: 0;
    width: 97%;
    border-collapse: collapse;
}

.GB_header .caption {
    text-align: left;
    color: #eee;
    white-space: nowrap;
    font-size: 20px;
}

.GB_header .close {
    text-align: right;
}

.GB_header .close img {
    z-index: 500;
    cursor: pointer;
}

.GB_header .middle {
    white-space: nowrap;
    text-align: center;
}


#GB_middle {
    color: #eee;
}

#GB_middle img {
    cursor: pointer;
    vertical-align: middle;
}

#GB_middle .disabled {
    cursor: default;
}

#GB_middle .left {
    padding-right: 10px;
}

#GB_middle .right {
    padding-left: 10px;
}


.GB_Window .content {
    background-color: #fff;
    border: 3px solid #ccc;
    border-top: none;
}

.GB_Window .header {
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #999;
    border-left: 3px solid #ccc;
    border-right: 3px solid #ccc;
    margin: 0;

    height: 22px;
    font-size: 12px;
    padding: 3px 0;
    color: #333;
}

.GB_Window .caption {
    font-size: 12px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    padding-right: 20px;
}

.GB_Window .close { text-align: right; }
.GB_Window .close span { 
    font-size: 12px;
    cursor: pointer; 
}
.GB_Window .close img {
    cursor: pointer;
    padding: 0 3px 0 0;
}

.GB_Window .on { border-bottom: 1px solid #333; }
.GB_Window .click { border-bottom: 1px solid red; }

/* Start of CMSMS style sheet '02.1 Gallery CMotion horizontal' */


/* CMOTION GALLERY */



/* Please check gallerystyle.css and motiongallery.js for double-/hard-codings! */



div.largeview {

 text-align: center;

}



#motioncontainer {

margin-top: 5px;

height: 70px; /* according to gallery height */

width: 99.99%;

}



#motioncontainer a img {

border: 0; /* Set image border color */

margin: 0; /* chage this if you want some air inbetween images*/

height: 60px;

width:auto;

}



/* change cursor when clicking on image */

/*#motioncontainer a:active img {

cursor: progress;

}*/



#statusdiv {

background-color: #fff;

color: #FFBF00;/*#8f8f8f;*/

font-size: 65%;

font-weight: bold;

border: 0px solid #afafaf;

padding: .1em;

width: 100px;

position: absolute; /* Stop Editing Gallery Styles */

top: -10px;

left: 0px;

visibility: hidden;

}



#motioncontainer a:hover {

color: red; /* Dummy definition to overcome IE bug */

}



/* Those are already set in the template using

the "style"-tag for both of the divs. It seems to

work only this way - if someone could tell me why,

I'll appreciate!  */

/*

div#motioncontainer {

position:relative;

overflow:hidden;

}

div#motiongallery {

position:absolute;

left:0;

top:0;

white-space: nowrap;

}*/



/* END CMOTION GALLERY */

/* End of '02.1 Gallery CMotion horizontal' */
/* End of 'Photo Gallery' */

