/*****************
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: trebuchet ms, Tahoma, Verdana,Geneva, Arial, Helvetica, sans-serif;
   font-size: 80.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;
}

/*
default link styles
*/
/* 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: #660099; 
}

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #660099;
}

/*****************
basic layout 
*****************/
body {
   background-color: #e5e5e5;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid #403F42;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 100em;   /* IE wont understand these, so we will use javascript magic */
   min-width: 60em;
   background-color: #fff;;
   color: #403F42;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image won't cut off
*/

div#header {
   height: 113px;    /* adjust according your image size */
   background: #AC96CD;
   width: 100%;
  
}

div#header a {
/* you can set your own image here */
   background: #AC96CD url(/uploads/images/cetech.gif) no-repeat 1px 1px; 
   display: block;
   height: 110px;             /* 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 */
}

div#header-bar {
   color: #fff;
   background-color: #403F42;
   border-bottom: 1px solid #e5e5e5;
   font-size: 0.9em;
   font-weight: bold;
   text-align: right;
   padding: 0.8em 1em 0.8em 0;
}

div#header-bar a {
text-decoration: underline;
color: #fff;
background-color: inherit;
}


div#header-bar a:hover {
text-decoration: none;
background-color: inherit;
color: #fff
}

/* position for the search box */
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" */
   border-bottom: 1px dotted #000;
line-height: 1.7em; /* added - spacing for v long product urls! */
}

div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}


div#main {
   text-align: justify;
   margin-left: 23%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 20%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #403F42; /* same bg color as in header */
}

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 because footer link would be same color as background otherwise */
}

/* 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 #403F42;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: auto; /* 50% for both left and right might lead to rounding error on some browser */
  font-size: 0.9em;
}

div.right49 {
  float: right;
  width: auto;
  text-align: right;
  font-size: 0.9em;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #403F42; 
	font-size: 1.4em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #e5e5e5; 
	border-left: 0.2em solid #e5e5e5; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #403F42; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #403F42;
   background: #f3f3f3; 
   font-size: 1.2em;
   line-height: 1.3em;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #e5e5e5; 
	border-left: 0.2em solid #e5e5e5; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 1em 0 0.5em 0;
        width: 35%;
}
div#content h5 {
   color: #403F42; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #403F42; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   line-height: 1.4em;
   margin: 0.5em 0 0.5em 0;
   padding: 0;
}

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:trebuchet ms, Tahoma, Verdana,Geneva, Arial, Helvetica, sans-serif;
}

pre {
   border: 1px solid #000;  /* #403F42 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;
}

.contactform {
margin:3em 0;
}

/* Contact form css */
.contactform fieldset div {
margin-bottom:0.5em;
margin-left:1em;
}
.contactform fieldset div div {
margin-top:0.5em;
margin-left:1em
}
.contactform fieldset {
margin-bottom:1em;
border:1px solid #403F42;
padding:0.5em;
background: #e7e7e7;
}
.contactform fieldset label {
width:auto;
}
.contactform legend {
color:#FFF;
background:#AC96CD;
font-size: 110%;
font-weight: bold;
margin-bottom:0.5em;
padding:0.4em;
width:auto;
border:1px solid #403F42;
}

.contactform textarea {
margin: 0.5em 0;
width:98%;
height: 6em;
border: 1px solid #403F42;
font-family: trebuchet ms, Arial, Helvetica, sans-serif;
font-size: 100%;
}

.contactform input, select {
border: 1px solid #403F42;
margin: 3px 0;
}

.short-label label {float:left; width:10em; font-weight: bold}
.required label {float:left; width:10em; font-weight: bold; color: #AC96CD}

/* Pretty up your Captcha image output */
.captcha {
margin:0.5em 0;
width:200px;
text-align:center
}
.captcha img {border:1px solid #403F42; margin-bottom:0.5em}
.captcha input {width:196px; margin-top:0.5em}

.fbsubmit {
margin-top:0.5em;
padding: 4px;
background: #AC96CD;
text-transform: lowercase;
font-size: 100%;
font-weight: bold;
color: #FFFFFF;
border: 1px solid #403F42;
}

option {
padding: 0 0 0 0.2em;
}

/* 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.5em 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;
}

/* END LISTS */

/* NMS specific */

.nms_message {
color: red;
}

fieldset.nms{
padding: 1em;
background: #F3F7FA; border: 1px solid #AC96CD;
}

fieldset.nms label {
display:block; font-weight: bold;
margin: 1em 0 1em 0;
}

/* DROP SHADOW IMAGES */

.img-shadow {
  float:right;
  background: url(/uploads/images/shadowAlpha.png) no-repeat bottom right !important;
  background: url(/uploads/images/shadow.gif) no-repeat bottom right;
  margin: 10px 10px 0 10px !important;
  margin: 10px 10px 0 5px;
  }

.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 2px solid #E2D2FC;
  margin: -6px 6px 6px -6px;
  padding: 0px;
  }

/* PRODUCTS TABLE */

table.products{
width: 95%;
margin: 2em 0 2em 0;
}

table.products td{
background: #f3f3f3;
border: 2px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
}


/* PRODUCTS-PARENT TABLE */
/* nice rollover for compliant browsers . ie6 stays gray. not recoding to support obsolete rubbish! */

table.products-parent {
width: 95%;
margin: 2em 0 2em 0;
}

table.products-parent td{
background: #f3f3f3;
border: 2px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
height: 90px;
}

table.products-parent td:hover {
background: #E2D2FC;
border: 2px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
}

table.products-parent a {
background: transparent;
font-size: 1.4em;
}

table.products-parent a:hover {
background: transparent;
}

.prod_thumb {
float: left;
border: 1px solid #AC96CD;
}

.bullet {color:#ac96cd;
font-size:2em;
letter-spacing:0.1em;
margin-right: 0.5em;
font-weight: bold;
}

.check {
list-style-type: disc;
list-style-image:url(/uploads/images/check.gif);
line-height: 150%;
margin-right: 0.2em;
}

.small {
font-size: 0.8em;
}

#pdf-box {
background: #e3e3e3;
border: 2px solid #AC96CD;
width: 50%;
padding: 0.5em;
}

.warn {
background: #e3e3e3;
border: 2px solid #AC96CD;
width: 100%;
padding: 0.5em;
}

#pdf-box:hover{
background: #E2D2FC;
}

.fl {
vertical-align: middle;
margin: 0 1em 0 0;
}

.expand {
background: #e3e3e3;
border: 2px solid #AC96CD;
padding: 0.5em;
margin: 0 0 0.5em 0;
}

/* added rprs */
        #contentrprs{
                margin:0;
}
/* form browser */

table.pagetable {margin: 1em 0 0 0;}

table.pagetable th{
color: #fff;
background-color: #403F42;
border-bottom: 1px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
}

table.pagetable td{
background: #f3f3f3;
border: 1px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
}

table.pagetable td:hover {
background: #E2D2FC;
border: 1px solid #e5e5e5;
padding: 5px;
line-height: 1.5em;
}
input[type="image"] {
border: none;
background-color: #fff;
}
}
