/* Start of CMSMS style sheet 'qichef-global' */
/*  global stylesheet for qichef.com   */

/*****************
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 {
font-family:Georgia,serif;
font-size:100%;
text-align:center;
}


/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* s */
a,
a:link 
a:active {
   text-decoration:;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg color from parent element */
   background-color:ffffff; 
   color:ffffff; 
}

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


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

/*****************
basic layout 
*****************/
body {
   background-color: #FFFFFF;
   color: #000;
   margin:0pt;
   padding:0;
   z-index:0;
}

div#lcol  {
   margin:5pt 5px;
   padding:9px;
   border:1px solid black;
   z-index:10;
}

div#rcol {
   margin-left:1%;
   padding:10px;
   border:0px solid black;
   z-index:9;
}

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

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 2em;
   margin: 0;
}
div#content h2 {
	color: #5C273C; 
	font-size: 1.7em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
        line-height: 1.7em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #5C273C; 
   font-size: 1.4em;
   line-height: 1.4em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.0em;
   line-height: 1.2em;
   margin: 0 0 0.25em 0;
}
div#content h6 {
   color: #294B5F; 
   font-size: 0.8em;
   line-height: 1em;
   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.8em;
   padding: 0;
}
ol, ul, li {
	list-style: none;
	font-size: 1.1em;
	line-height: 1.8em;
	margin-top: 0.2em;
	margin-bottom: 0.1em; 
	}
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: 0px 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;
}
/*  for narrow columns  */
.narrow1{
	width: 50%;
	line-height: 1.3em;
	}
.narrow2{
	width: 50%;
	line-height: 1.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;
}


/* END LISTS */


/*   misc styles   */
.dark green {color:#000330;}
.light green {color:#dff9ac;}
.green {color:#a3c30b;}
.plum {color:#9b5775;}
.yellow {color:#fff100;}
.pink {color:#fac5ac;}
.darkplum {color:#5C273C;}

.definition {
font-family: Times, "Times New Roman", serif;
font-size: 1em;
}

/* End of 'qichef-global' */

