/* Start of CMSMS style sheet 'Handheld' */
/*********************************************
Sample stylesheet for mobile and small screen handheld devices

Just a simple layout suitable for smaller screens with less 
styling cabapilities and minimal css

Note: If you dont want to support mobile devices you can
safely remove this stylesheet.
*********************************************/
/* remove all padding and margins and set width to 100%. This should be default for handheld devices but its good to set these explicitly */
body {
   background: #DFDCD5 url(images/cms/headerback.png) repeat-x;
   margin:0;
   padding:0;
   width:100%;
   text-align: left;
   font-family: Verdana/*, Geneva, Arial, Helvetica, sans-serif*/;
   font-size: 75.01%;
   line-height: 1em;
}

div#header h1 a {
/* you can set your own image here */
   background: #EAE9E3 url(images/cms/tpg_logo_slogan.png) no-repeat 10px 12px; 
   display: block; 
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}


/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* 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 */
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   /*background-color: inherit;*/
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   /*background-color: #C3D4DF;*/
   color: #385C72;
}

/* hide accessibility noprint and definition */
.accessibility,
.noprint,
dfn {
display:none;
}


div#maincontent{
   margin-top:-1;
   padding-bottom:-10px;
   background-color: #fff;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}
div#content {
   margin: 1.5em auto 2em 0; /* some air above and under menu and content */
}

/* dont want to download image for header so just set bg color */
div#header,
div#footer {
background-color: #333333;  
color: #fff;
text-align:center;
}

div#header_image img,
div#main img {
   width: 100%;
   height: auto;
}


/* text colors for header and footer */
div#header a,
div#footer a {
color: #fff;
}

/* this doesnt look as nice, but takes less space */
div#menu_vert ul li,
div#menu_horiz ul li {
/*display:inline;*/
}

/* small border at the bottom to have some indicator */
div#menu_vert ul,
div#menu_horiz ul {
/*border-bottom:1px solid #fff;*/
}

/* save some space */
div.breadcrumbs {
display:none;
}

/* HEADINGS */
div#content h1 {
   font-size: 18px;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
   
}
div#content h2 {
   background: url(images/cms/arrow_right.png) no-repeat 0 0;
   color: #333333; 
   font-weight:normal;
   font-size: 20px; 
   font-family: Verdana;
   text-decoration: none;
   text-align: left; 
/* some air around the text */
   padding: 6px 0px 6px 28px;
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #333333; 
   font-size: 17px;
   font-weight:normal;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 11px;
   font-family: verdana;
   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;
}

/* 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;
}
div#main {
   padding-left:5px;
}
/* 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 */


/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper determines the width of the menu elements */
#menuwrapper { 
   background-color: #333333;
   color: #fff;
   width: 100%; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: disc outside; 
   margin: 0px; 
   padding: 0px; 
   width: 100%; /**/
   color: #ffffff;
  /* margin-left: -1px;*/
}
#primary-nav ul { 
   /*position: absolute; 
   top: 0; 
   left: 100%; 
   display: block; */
}
#primary-nav li { 
   margin-bottom: -1px; 
   /*position: relative; */
}


/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   border: 1px solid #666666; 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   color: #ffffff;
   text-decoration: none; 
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug*/ 
}

#primary-nav li a.menuactive menuparent { 
   background-color: #ff0000 ;
}

#primary-nav li, #primary-nav li.menuparent { 
   /*background-color: #ececec; */
   min-height:1em; /* Fixes IE7 bug*/
}

#primary-nav li ul li span { 
   padding-left: 10px;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav ul.menuactive { 
   background-color: #236F99; 
}

#primary-nav ul li.menuactive { 
   background-color: #236F99; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent, 
#primary-nav li.menuparent:hover, 
#primary-nav li.menuparenth { 
   /*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-color: #236F99; 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#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: block; 
}
#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 Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
}
/* End of 'Handheld' */

