/* Start of CMSMS style sheet 'Layout:  1 column + right sidebar' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin-top:0px;
margin-bottom:0px;
padding-top:0px;
padding-bottom:0px;
}

/*
Set initial font styles
*/
body {
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 18px;

}

/*
set font size for all divs,
this overrides some body rules
*/
div {

}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
padding: 5px;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   color: #ffffff; 
font-size: 12px;
}

a:visited {
   text-decoration: none;
  color: #ffffff;                /* a different color can be used for visited links */
font-size: 12px;
}

p{

margin: 5px 0px 15px 0px;
text-align: justify;

}
/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #FFB305;
}

/*****************
basic layout 
*****************/
body {
background:url(images/background/page-bg.jpg) repeat-y;   
background-position: top center;
   color: #ffffff;
   margin: 5px;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
width: 780px;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
color: #ffffff;
   margin: 0 auto;       /* this centers wrapper */

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 100px;    /* adjust according your image size */
   background: url(images/background/header.jpg) no-repeat; 
width: 780px;
margin-top: 10px;

}
.header-table{
width: 750px;
margin-left: 15px;
margin-right: 15px;
}

/* position for the search box */
div#search {
   float: right;
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 5px 0px 3px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */

}

 div.breadcrumbs span.lastitem { 
font-size: 12px;
 } 

 #content {
width: 750px;
margin-left: 13px;
}


#main {
padding:0px 15px 0px 0px;
width: 505px;
}

#sidebar {
padding: 0px;
   width: 200px;

}
#inside-main {
width: 500px;
background: url(images/background/page-col-line.jpg) no-repeat;
background-position: right bottom;
padding-right: 20px;
}

#inside-sidebar {
padding-left: 10px; 
   width: 220px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */

}


div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #ffffff;
text-align: center;
padding-top: 120px;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
}

div#footer-index {
   clear: both;       /* keep footer below content and menu */
   color: #ffffff;
text-align: center;
padding-top: 80px;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
}

th{
background-color: #EF9300;
padding: 5px;
font-size: 15px;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
h1 {
font-size: 24px; 
padding: 20px 0px 20px 0px;
   color: #FFBe00;
font-weight: normal;

}
h2 {
	font-size: 18px; 
padding: 5px 0px 5px 0px;
font-weight: bold;

}
h2.next_h2 {
font-size: 15px; 
padding: 15px 0px 15px 0px;
font-weight: bold;

}

h3 {
	font-size: 12px; 
   color: #FFBe00;
padding: 0px 0px 15px 0px;

}
h4 {
	font-size: 12px; 
padding: 5px 0px 5px 0px;
}
h5 {
	font-size: 12px; 
padding: 5px 0px 5px 0px;
}
h6 {
	font-size: 12px; 
padding: 5px 0px 5px 0px;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 12px;
   line-height: 18px;
   padding: 0;
text-align:justify;
}
td {
   vertical-align: top;

}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
.left-menu{
vertical-align:middle;
}

.right-menu{
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight:bold;
width: 140px;
height: 66px;
vertical-align:middle;
}
a.no_underline:link, a.no_underline:visited{
font-family:Arial, Helvetica, sans-serif;
font-size: 13px;

 text-decoration: none;
  color: #ffffff; 
} 
a.no_underline:hover {
   text-decoration: none;
   color: #FFB305;
}
div.function1{
font-family:Arial, Helvetica, sans-serif;
font-size: 13px;
  color: #ffffff; 
font-weight:bold;
width: 159px;
height: 125px;
padding: 10px 0px 0px 10px;
float:left;
position: relative;
margin-top: 10px;
margin-right: 20px;
}
div.function1 a:link, div.function1 a:visited {
font-family:Arial, Helvetica, sans-serif;
font-size: 13px;
text-decoration: none;

}
div.function2{
font-family:Arial, Helvetica, sans-serif;
width: 159px;
height: 125px;
padding: 10px 0px 0px 10px;
float:left;
position: relative;
}
div.function3{
font-family:Arial, Helvetica, sans-serif;
font-size: 13px;
width: 159px;
height: 125px;
padding: 10px 0px 0px 10px;
float:left;
position: relative;
}
div.function4{
font-family:Arial, Helvetica, sans-serif;
width: 159px;
height: 125px;
padding: 10px 0px 0px 10px;
float:left;
}
.right-space{
padding-right: 20px;
}
ul#menubar{
	position:relative;
	width:740px;
	margin: 0px;
	padding: 0px;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
height: 25px;
background: #282B24;
text-align: center;
padding-left: 10px;
}
ul#menubar li {
	float:left;
	position:relative;
	list-style: none;
	margin: 0px;
	padding: 0px;
}
ul#menubar li a:link, ul#menubar li a:visited{
	display: block;
	float: none !important; /*For Opera*/
	background:url(images/background/nav-bar-line.jpg) no-repeat 100% 0%;	
	text-align: center;
   color: #FFB305;
	text-decoration: none;
	margin: 0px;
	padding: 5px 14px 0px 14px;
	font-weight:bold;
	font-size: 12px;

}
ul#menubar li a:hover{
color: #ffffff;
	text-decoration:underline;
}
ul#menubar li a.last:link, ul#menubar li a.last:visited{
	display: block;
	float: none !important; /*For Opera*/
	text-align: center;
   color: #FFB305;
	text-decoration: none;
	margin: 0px;
	padding: 5px 14px 0px 14px;
background-image:none;
font-weight:bold;
font-size: 12px;
}
ul#menubar li a.last:hover{
color: #ffffff;
	text-decoration:underline;
}
#news-table{
border-top: 1px solid #828282;
border-bottom: 1px solid #828282;
vertical-align: bottom;

}
input{
font-size: 10px;
}
select{
font-size: 10px;
width: 120px;
}
textarea{
font-size: 10px;

}
.currentpage{
	font-size: 12px; 
   color: #FFBe00;

}
ul.ul_menu{
list-style: none;
line-height: 21px;
font-size: 13px;
margin-left: 10px;
}
ul.ul_menu li a:link, ul.ul_menu li a:visited{
list-style: none;
line-height: 21px;
font-size: 13px;
}
ul.ul_menu li a:hover{
list-style: none;
line-height: 21px;
font-size: 13px;
}

ul.ul_menu li ul{

list-style: none;
margin: 5px 0px 5px 10px;
line-height: 19px;
font-size: 12px;
}
ul.ul_menu li ul li a:link, ul.ul_menu li ul li a:visited{
list-style: none;
line-height: 21px;
font-size: 12px;
}
ul.ul_menu li ul li a:hover{
list-style: none;
line-height: 21px;
font-size: 12px;
}

.header_neg_index{
padding-top: 65px;
font-family:Arial, Helvetica, sans-serif;
font-size:24px;
font-weight:bold;
}
.header_neg{
padding-top: 60px;
}
.high_light{
color: #FFBe00;
}
.pro_top{
 background: url(images/background/top.jpg) no-repeat; 
 width: 480px;
padding-left: 20px;
padding-top: 4px;
height: 24px;
color: #ffffff;
font-size: 14px;
font-weight: bold;
}
.pro_mid{
background: url(images/background/middle.jpg);
background-repeat:repeat-y;
width: 590px;
padding-right: 10px;
}
.pro_bottom{
background: url(images/background/bottom.jpg);
background-repeat:no-repeat;
width: 500px;
height: 8px;
background-position:bottom left;
}

.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
width: 500px; /*width of featured content slider*/
height: 390px;
}



.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0;  /*leave as is*/
top: 0;  /*leave as is*/
padding: 5px;
width: 500px; 
height: 100%;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.pagination{
width: 1px;
height: 1px;
padding: 0px;
}

.pagination a{
padding: 0px;
text-decoration: none; 
}

.pagination a:hover, .pagination a.selected{
}

#container
{
	width:520px;
	position:relative;
	height:320px;
}

.slideshow-item
{
	height:320px;
	overflow:hidden;
	width:auto;
	position:absolute;
	top:0px;
	width:528px;
}

.noscript .slideshow-item
{
	position:relative;
}
/* END LISTS */
/* End of 'Layout:  1 column + right sidebar' */

