/***********************************************/
/* 2col_rightNav.css                             */
/* Use with template 2col_rightNav.html          */
/***********************************************/

/***********************************************/
/* HTML tag styles                             */
/***********************************************/ 

body{
  font-family: Arial,sans-serif;
  color: #333333;
  line-height: 1.166; 
  margin: 0px;
  padding: 0px;
  background-color: #f5f4f1;
  width:100%;
  height:100%;
}

p {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 100%;
}

a:link, a:visited, a:hover {
  color: #006699;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* overrides decoration from previous rule for hovered links */

h1, h2, h3, h4, h5, h6 {
  font-family: Arial,sans-serif;
/*  margin: 0px;
  padding: 0px;*/
  /*margin-left:30px;*/
}

h1{
 font-family: Verdana,Arial,sans-serif;
 font-size: 120%;
 color: #334d55;
}

h2{
 font-size: 152%;
 color: #cc0033;
 font-weight:100;
 margin-bottom: 10px;
}

h3{
 font-size: 120%;
 color: #cc0033;
}

h4{
 font-size: 100%;
 font-weight: normal;
 color: #333333;
}

h5{
 font-size: 100%;
 color: #334d55;
}

ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: none;
}

label{
  font: bold 100% Arial,sans-serif;
 color: #334d55;
}


/***********************************************/
/* Layout Divs                                 */
/***********************************************/

#container { 
  /*width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
  /*background: #FFFFFF;*/
  margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
/*  border: 1px solid #000000;*/
  text-align: left; /* this overrides the text-align: center on the body element. */


  min-width:1000px;  
  display: block; min-height: 100%; width: 100%;  position: absolute; top: 0px; left: 0px; z-index: 0;
  
} 

* html div#container { 
   width: expression( document.body.clientWidth < 1001 ? "1000px" : "auto" ); /* set min-width for IE */
   min-width: 1000px; /* sets min-width value for all standards-compliant browsers */
}


#sidebar1 {
  float: right; 
  width: 290px; /* since this element is floated, a width must be given */
  background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
  padding: 0px 0px; /* top and bottom padding create visual space within this div */
  margin:0px;
}
#sidebar1 p {
  margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
  margin-right: 10px;
}

#sidebar1 h3{
  margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
  margin-right: 10px;
  margin-top:0px;
}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
#mainContent {
  margin: 0px 290px 0px 0px; /* the left margin will look best if you match the padding amount to the header and footer. */
  width:auto;
  padding:0px 30px;
  padding-bottom:20px;
  vertical-align:top;
}

#mainContent ul, ol{
	margin-left:100px;
}

#mainContent .lib{
	margin:0px;
	margin-top:20px;
	margin-left:30px;
	padding:0px;
	list-style:none;
}
#mainContent .lib li{
	margin:0px;
	padding:0px;

}

#mainContent p{
/*	margin-left:30px;
	margin-right:30px;*/
}


#mainContent table{
	font-size:80%;
/*	margin-left:30px;
	margin-right:20px;*/
	border-collapse: collapse;
	width:100% !important;
/*	width:95%;*/
	border:1px solid #666 !important;
	_margin-right:-20px;
}

#mainContent td, tr{
	border-bottom: 1px solid #666;
	border-top: 1px solid #666;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;	
	padding: 0.6em;
	vertical-align: 4px;
}

#mainContent th{
	padding: 0.6em;
	background-color:#ccc;
	border-right:1px solid #999;
	border-left:1px solid #999;	
}

#mainContent .tabspacer{
	width:16px;
	border:none;
}

#mainContent table p{
	padding:0px; margin:0px;
}

#innerblock{  
  margin:0px; padding:0px 0px;
  background-image:url(/images/sidebar.gif);
  background-position:right;
  background-repeat:repeat-y;

}

#masthead{
  margin: 0;
  padding: 0px 0px;
  border-bottom: 1px solid #cccccc;
  width: 100%;
  /*min-width:1000px;*/
  
}

#navBar{
  margin: 0 0 0 75%;
  padding: 0px;
  background-color: #ffffff;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/*#content{
  float:left;
  width: 73%;
  margin: 0;
  padding: 0 3% 0 0;
  padding-left: 10px;
  padding-right: 10px;
}*/

#toptoprow {
  margin: 0;
  background-image: url(/images/totoprow.jpg) !important;
  background-position:top left;
  background-repeat:repeat-x;
  height: 80px;
  text-align:right;
}
#topimg {
  margin:0;
  padding:0;
  background-image:url(/images/topbg.jpg);
  text-align: right;
  overflow:hidden;
}

/***********************************************/
/*Component Divs                               */
/***********************************************/

#siteName{
  margin: 0px;
  padding: 0px 0px;
}


/*************** #pageName styles **************/

#pageName{
  padding: 0px 0px;
}

/************* #breadCrumb styles *************/

#breadCrumb{
  font-size: 80%;
  padding: 5px 0px 5px 10px;
}


/************** .feature styles ***************/

.feature{
  padding: 0px 0px;
  border-bottom: 1px dashed #333;
}

.feature img{
  float: left;
  padding: 0px 10px 0px 0px;
  margin: 0 5px 5px 0;
}
/* adjust margins to change separation between the feature image and text flowing around it */


/************** .story styles *****************/

.story{
  padding: 0px 0px;
  margin:0px;
  border-bottom: 1px dashed #333;
}

/************* #siteInfo styles ***************/

#siteInfo{
  clear: both;
  border: 0px solid #cccccc;
  font-size: 75%;
  color: #505050;
  /*padding: 10px 10px 10px 10px;*/
  margin: 0px;
}



/************* #search styles ***************/

#search{
  text-align:left;
  padding: 10px 0px 10px 10px;
/*  border-bottom: 1px solid #cccccc;*/
  font-size: 90%;
}

#search form{
 margin: 0px;
 padding: 0px;
}

#search label{
  display: block;
  margin: 0px;
  padding: 0px;
}


/*********** #navBar link styles ***********/

#navBar ul a:link, #navBar ul a:visited {display: block;}
#navBar ul {list-style: none; margin: 0; padding: 0;}

/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}

/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}


/*********** #sectionLinks styles ***********/

#sectionLinks{
  margin: 0px;
  padding: 0px;
  font-size: 90%;  
}

#sectionLinks h3{
  padding: 10px 0px 2px 0px;
  margin-bottom:10px;
  margin-top:5px;
  margin-left:20px;
}

#sectionLinks ul{
	list-style:none;
	margin:0px;
	padding:0px;
	border-bottom:1px solid #777;
}

#sectionLinks li {
  background-image:url(/images/rightitem.jpg);
  background-position: left top;
}
#sectionLinks a {
  background-image:url(/images/atip.gif);
  background-repeat:no-repeat;
  background-position: 10px center;
  height:29px;
  padding-left: 50px;
  font-family:Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  color:#FFFFFF;
  display:block;
  line-height: 28px;
}

#sectionLinks a.selected {
  color: #ccc;
  text-decoration: underline;
}

#sectionLinks a:visited{
}

#sectionLinks a:hover{
  background-image:url(/images/atipa.gif);
}

#sectionLinks ul ul{
	background-color:#FFFFFF;
	background-image:none;
	display:block;
	padding:10px 0px;
	border:1px solid #fff;
}

#sectionLinks ul ul li{
	background:#FFFFFF;
}
#sectionLinks ul ul li a{
	background:#ffffff;
	background-image:none;
	display:block;
	color: #000000;
	height: 18px;
	line-height: 18px;
}

#sectionLinks ul ul li a:hover{
	background:#ffffff;
	color: #000000;
	background-image:url(/images/tri.gif);
	background-repeat:no-repeat;
	background-position: 35px center;
}


/*********** .relatedLinks styles ***********/

.relatedLinks{
  margin: 0px;
  padding: 0px 0px 10px 10px;
  font-size: 90%;
}

.relatedLinks h3{
  padding: 10px 0px 2px 0px;
  margin-bottom:10px;
  margin-top:5px;
  margin-left:20px;
}

.relatedLinks p{
  padding: 0px;
  margin:5px;
}


/************** #advert styles **************/

#advert{
  padding: 10px 0px 0px 10px;
  font-size: 80%;
  border-top: 1px solid #cccccc;
}

#advert img{
  display: block;
}


/************** #headlines styles **************/

#headlines{
  margin: 0px;
  padding: 10px 0px 20px 10px;
  font-size: 80%;
}

#headlines p{
  padding: 5px 0px 5px 0px;
}

#bottombg {
  background-image:url(/images/bottombg.jpg);
  background-repeat:repeat-y;
  background-position:right;
  background-color: #434242;
  height: 208px;
  display:block;
  border-bottom: 4px solid #ce0028;
}
#bottombg h1 {
  color:#FFFFFF;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 152%;
  font-weight:100;
  padding-left: 25px;
}
#bottombg ul {
  margin:0;
  padding:0;
  padding-top: 10px;
}
#bottombg li {
  list-style: none;
  padding-left: 25px;
}
#bottombg a {
  color: #999999;
  font-size: 90%;
}

.news {
	padding-left:30px;
}
.news a {
  color: #3399cc;
  font-weight: bold;
  text-decoration: underline ;
}
.news a:hover {
  color: #333333;
}
.news .item p{
  margin:0px !important;
  padding:0px;
  padding-top: 3px;
  padding-bottom: 15px;
  color: #666666;
}
/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
  float: right;
  margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
  float: left;
  margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
    height:1px;
    font-size: 1px;
    line-height: 1px;
}

#gallery{
	margin:0px;
	padding:0px;
}

#gallery .preview_attach{
	display:block;
	width:auto;
	overflow:hidden;
	margin-left:50px;
	border:none;
}
/* for non-IE browsers */
#gallery .floatbox{
	display:block;
	float:left;
	 margin-right:7px; margin-bottom:7px;
}
#gallery .holder {width:180px; height:180px; background:#fff; border:1px solid #aaa; text-align:center; display:table-cell; vertical-align:middle; clear:right;}
#gallery .holder img {margin:0 auto; border:none;border:1px solid #ccc;}

.logoads{
	display:block;
	height:150px; 
	background-image:url(/images/logoads.gif); 
	background-repeat:no-repeat; 
	background-position:right; 
}

.logocherry{
	display:block;
	background-image:url(/images/logochery.gif); 
	background-repeat:no-repeat; 
	background-position:left; 
	text-align:center;
	margin-bottom:15px;
}
#webformat{
	display:block;
	text-align:center;
	width:70px;
	float:right;
	padding:5px 20px;
	padding-top:20px;
	margin:0px;
}

#footer{
	font-size:12px;
	height:90px;
}
#footer p{
	display:block;
	padding-top:35px;
	margin:0px;
	padding-left:30px;
}

.switch-media{display:none}
.switch-print{
	display:block; 
	background-image:url(/images/printer.gif);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:20px;
	float:right;
	line-height:23px;
	margin:0px;
}
.switch-print p{margin:0px; padding:0px;}

.switch-print a{	text-decoration:underline; font-size:80%; }
.switch-print a:hover{ text-decoration:none; }

a.copyright:link,a.copyright:visited,a.copyright:active,a.copyright:hover,a.copyright:hover, .spancopy{
    font-family:Verdana, Arial, Helvetica, sans-serif;
 	font-size:10px; 
 	font-weight:normal;
 	color:#2D71FF;
    text-decoration:none;
    line-height:1.3;
}
a.copyright:hover{
    text-decoration:underline;
    line-height:1.3;
}
