/* Start of CMSMS style sheet 'advantech_home_layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}


/*****************
basic layout 
*****************/
body {

   color: #BBB;
   margin:0px; /* gives some air for the pagewrapper background: #BBB;*/
	
background-image: url(images/cms/bg_body.gif);
}

/* center wrapper, min max width 5186BA*/
div#pagewrapper {
	border: 1px solid #AAAAAA;
	margin: 0 auto; /* this centers wrapper */
	width: 950px;
	background-color: #fff;
	color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
background: #6492C3;
	height: 80px; /* adjust according your image size */
	/*
background-image: url(images/cms/header_bg.png);
	background-repeat: repeat-x;
*/
}

div#logo {

	height: 80px; /* adjust according your image size */
	background-image: url(images/cms/logo.png);
	background-repeat: no-repeat;
	background-position: left;
}

div#search {
   float: right;
   width: 23em;     /* 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 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
 
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   margin: 0; /* some air above and under menu and content */
	width: 950px;
background:#fff;
padding-top: 6px;
background-image: url(images/cms/shaddow_bg.gif);
background-position: top;
background-repeat: repeat-x;

}

div#main_up {


	 /* some air above and under menu and content */
	width: 948px;
	border: 1px solid #CAD0D5;


}

div#main_down {
	background-image: url(images/cms/shaddow_bg.gif);
background-position: top;
background-repeat: repeat-x;
width: 948px;
	padding-top: 6px;

}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 235px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}
div#tabbar {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 710px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}


div#footer {
	color: #fff;
	background-color: #0D3664; /* same bg color as in header */
	text-align:center;
   width:950px;
	height:25px;
	clear: both;
	background-image: url(images/cms/shaddow_bg2.gif);
	background-position: top;
	background-repeat: repeat-x;
	padding-top: 10px;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
	height: 1px;
	padding: 4px;
	border-bottom: 1px solid #4682B4;
}

/* relational links under content */
div.left49 {
  float: left;
  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;
}







#box
{
	width:230px;
	display:block;
	float:none;
margin-left:5px;
background-image: url(images/cms/shaddow_bg.gif);
background-position: bottom;
background-repeat: repeat-x;
padding-bottom:10px;
}
#box_header
{
	background-image: url("images/cms/menu_bg1.jpg");
	background-position: right;
	background-repeat: repeat-x; 
	font: bold 12px Tahoma;
padding-top:3px;
padding-left:5px;
	color: #fff;
	height:20px;
	vertical-align:middle;
	
}

#box_content
{
	border: solid 1px #173F7A;
	background-color: #FFFFD3;
	height: 145px;
	padding: 3px;

}

#box_content a
{
	font: 12px Tahoma;
	color: #A52A2A;
	text-decoration:none;
}

#box_content a:hover
{
	font: 12px Tahoma;
	color: #A0522D;
	text-decoration:underline;
}
















/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #708090;
	font-size: 1.5em;
	text-align: left; /* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px; /* set borders around header */
	border-bottom: 1px solid #4682B4;
	border-left: 1.1em solid #4682B4;
	line-height: 1.5em; /* and some air under the border */
	margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
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;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'advantech_home_layout' */

/* Start of CMSMS style sheet 'advantech_menu_horiz' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_horiz {
   margin-left: 0px;
   margin-right: 0px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper {
	/*   overflow: hidden;  */
	background-image: url(images/cms/menu_bg1.jpg);
	background-repeat: repeat-x;
	border-top: 1px solid #FFFFE0;

	width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#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;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a {
	display: block;
	margin: 0px;
	padding: 5px 10px;
	text-decoration: none;
	color: #FFFFE0;
	font: bold 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
}

#primary-nav a:hover {
	display: block;
	margin: 0px;
	padding: 5px 10px;
	text-decoration: none;
	color: #FFFFE0;
	font: bold 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
	background: #4682B4;
}


#primary-nav li a { 
   border-right: 1px solid ##FFFFE0;
   border-left: 1px solid #FFFFE0;
}
#primary-nav li li a { 
   border: 1px solid #FFFFE0;
}	

#primary-nav li, #primary-nav li.menuparent { 
   	background-image: url(images/cms/menu_bg1.jpg);
	background-repeat: repeat-x; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   	background-image: url(images/cms/menu_bg2.jpg);
	background-repeat: repeat-x;
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#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.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-image: url(images/cms/menu_bg1.jpg);
	background-repeat: repeat-x; 
}


/* 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.menuparenth ul, 
#primary-nav li.menuparenth 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 li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

#primary-nav li li {
	background: #0E367E;
}
#primary-nav li li.menuactive {
	background: #4682B4;
}
#primary-nav li li.menuparent, 
#primary-nav li li.menuparent:hover, 
#primary-nav li li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}
/* End of 'advantech_menu_horiz' */

/* Start of CMSMS style sheet 'Advantech_menu_vert' */
/********************
MENU
*********************/
#menu_vert {
   padding-left: 0;

}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.8em 0.5em 0.8em 1.5em; /* some air for it */
   color: #18507C; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 0.5em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.5em 0.5em 0.5em 2.8em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: #C3D4DF;
}
div#menu_vert a.activeparent:hover {
   background-color: #C3D4DF;
   color: #18507C;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background: url(images/cms/arrow-down.gif) no-repeat 0.4em center; 
   background-color: #385C72;
   color: #fff;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #18507C;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #385C72;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #fff;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #000;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/arrow-right-active.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}
/* End of 'Advantech_menu_vert' */

/* Start of CMSMS style sheet 'coloredtabs' */
#tabscontainer
{
width:710px;
background-image: url(images/cms/shaddow_bg.gif);
background-position: bottom;
background-repeat: repeat-x;
padding-bottom:10px;

}
.ddcolortabs{
padding: 0;
width: 100%;
background: transparent;
}

.ddcolortabs ul{
	font: normal bold 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #fff;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ddcolortabs li{
display:inline;
margin:0 2px 0 0;
padding:0;
width:100px;
}


.ddcolortabs a{
	float: left;
	background: #356288 url(media/color_tabs_left.gif) no-repeat left top;
	margin: 0 2px 0 0;
	padding: 0 0 1px 3px;
	letter-spacing: 1px;
	font: normal bold 11px  Helvetica;
	text-decoration: none;
	color: #fff;
}


.ddcolortabs a span{
float:none;
display:block;
background: transparent url(media/color_tabs_right.gif) no-repeat right top;
padding: 6px 8px 3px 7px;
}



.ddcolortabs a:hover{
background-color: #4682B4;
}
a.whitelink
{
		font: normal bold 11px  Helvetica;
	text-decoration: none;
	color: #fff;
}
a.whitelink:hover
{
		font: normal bold 11px  Helvetica;
	text-decoration: none;
	color: #fff;
}

.tabcontainer{
	clear: left; /*width of 2nd level sub menus*/
	height: 150px; /* height:1.5em; height of 2nd level sub menus. Set to largest's sub menu's height to avoid jittering.*/
	border: 1px solid #4682B4;
	background: #E4EEF5 url(media/tabcontainer_bg.gif) repeat-x bottom;
}

.tabcontent{
display:none;
}
/* End of 'coloredtabs' */

