/************************************************/
/* Default                                      */
/************************************************/   

* {
	margin: 0;
	padding: 0;
}

ul {
	margin-left: 2em;
}

li {
  list-style: disc outside url(design_jibe/arrow_red.gif);
	text-align: justify;
}

h1 {
	padding-bottom: 5px;
	margin-bottom: 20px;
	border-bottom: 1px solid #000;
}

h2 {
	clear: both;
	padding-bottom: 5px;
	margin: 25px 0 15px 0;
	border-bottom: 1px solid #000;
}

h3 {
	clear: both;
	margin: 20px 0 5px 0;
	border-bottom: 1px dashed #000;
}

p {
	margin-top: 1em;
	text-align: justify;
}

input, textarea, select {
	background-color: white;
	border: #000 solid 1px;
	color: #000;
}

fieldset {
	border: 0;
}

/************************************************/
/* Page Layout                                  */
/************************************************/    

body {  
	color: #000000;
	/* background: #fc3 url(design_jibe/title_top.png) 0 0 no-repeat;*/
	background-color: #fc3;
}

#content {
	position: absolute;
  top:130px;
	left:0px;
  margin-left:162px;
  width:680px;
}

#site_title { /* invisible, but here for serach engines */
  position: absolute;
	background: #fc3 url(design_jibe/title_top.png) 0 0 no-repeat;
	text-indent: -600px;
	width: 929px;
	height: 319px;
	border: none;
	/*left: -200px;
	font-size:1px;*/
}

#mainContent {
  padding: 10px;
	border: 2px solid #000;
	background-color: #fff;
	margin-bottom: 20px;
}

#mainContent a:focus, #mainContent a:active {
	color: #000;
	background-color: #fc3;
}

#comments, #resources {
  background-color: #fff;
  padding: 10px;
	border: 2px solid #000;
	margin-bottom: 20px;
}
  
#sidebar {
  position: absolute;
  top:130px;
	left:0;
}

#menu {
  border:2px solid #000;
	border-left:0;
	background-color:#fff;
	width:140px
}

#languages {
  position: absolute;
	left:246px;
	top:90px;
}

#search {
  position: absolute;
	left: 700px;
	top: 88px;
}

/* discrete accessLinks links */

#accessLinks a {
	display: block; /* so that we can set the width */
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -600px; /* text invisible by default */
	background: transparent; /* background invisible by default */
	font-size: 0.6em;
	text-transform: uppercase;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
}

#accessLinks a:focus, #accessLinks a:active {
	text-indent: 0; /* get text visible */
	background-color: #fc3; /* get background visible */
	padding: 2px 10px 2px 10px;
}

/************************************************/
/* Languages: replace label by row of flags     */
/************************************************/

h2#languagesTitle {
	display: none;
}

#languages li {
  display: inline;
  list-style: none outside none;
}

#languages li a {
	float: left;
	width:32px;
  height:16px;
  margin-right:4px;
  text-decoration: none;
	font-size:1px;
	border:1px solid #fff;
}

#lang_fr a {
	background: url(../../images/fr.png) no-repeat;
}

#lang_en a {
	background: url(../../images/en.png) no-repeat;
}

/************************************************/
/* Search                                       */
/************************************************/

h2#searchTitle {
	display: none;
}

/************************************************/
/* Navigation Menu                              */
/************************************************/  
  
#menu h2#menuTitle {
	display: none;
}

#menu ul {
	margin-left: 0;
}

#menu ul li li {
	list-style: none outside none;
	text-indent: 20px;
	font-size: 0.9em;
}

#menu h3.subMenuTitle  {
	font-weight: bold;
	font-size: 1em;
	margin: 10px 0 0 0;
	padding-left: 5px;
	color:#fff;
	background-color:#000;
	border: none;
}

#menu li#sectionsMenu h3 {
	margin-top: 0;
}

#menu a:hover, #menu a:focus, #menu a:active {
	color: #000;
	padding-left: 12px;
	background: #fc3 url("design_jibe/arrow_black.gif") no-repeat 20px;
	width: 128px;  /* 140px width - 12px padding */
}


#menu ul li.selected {
	font-weight: bold;
	padding-left: 12px;
	background: #ccf url("design_jibe/arrow_black.gif") no-repeat 20px;
}

#menu a {
	color: blue;
	display: block;
	width: 140px; /* because links 'hover' only over text in IE */
}

#menu ul li.notActive { /* cancel padding on li, and put it the a */ 
	padding-left: 0;
}

#menu ul li.notActive a {
	color: #000;
	padding-left: 12px;
	width: 128px;  /* 140px width - 12px padding */
}

#menu ul li.standout a {
	color: #c00;
	font-weight: bold;
}
  
/************************************************/
/* Latest comments - FORUM POSTS   HOME PAGE     */
/************************************************/ 

#latestPosts, #latestComments  {
  border: 1px solid #000;
  margin: 10px;
  padding: 3px 10px 10px 10px;
}

#latestPosts .forumPost  {
  width: 610px;
	overflow-x:auto;
}

#latestPosts h2, #latestComments h2 {
  margin: 0;
	padding-bottom: 5px;
	border: none;
	font-size: 1.1em;
}

#latestPosts h3 {
	border: none;
	background-color: #fc3;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

#latestPosts h3 a {
	color: #000;
	text-decoration: none;
	padding-left: 5px;
}

#latestPosts h3 a:hover {
	color: #000;
	text-decoration: underline;
}

#latestPosts p.author, #latestPosts p.replies {
	margin-top: 0;
	text-align: right;
	font-size: 0.9em;
	font-weight: bold;
}


/************************************************/
/* Forms                                        */
/************************************************/ 

#search input {
	font-size: 0.7em;
}

input.submit, input[type="submit"], #searchButton {
	background-color: #fc3;
	border: 1px solid #000;
	font-weight: bold;
	color: #000;
	font-size: 0.7em;
}

.buttons form {
	display: inline;
}

#searchButton {
	border: 1px solid #fff;
	font-size: 0.7em;
}

/************************************************/
/* Resources                                    */
/************************************************/ 

#resources h2 { /* already a padding for the #resources */
	margin-top: 0px;
}

#resources div {
	margin: 0 0 10px 20px; 
}

#resources div p {
	margin: 0; 
}

#resources h3 {
	background-color:#ccf;
	font-weight: bold;
  font-size: 1em;
	margin-left: -15px;
	margin-bottom: 0;
	padding-left: 5px; 
	border: none;
}


/************************************************/
/* Comments                                     */
/************************************************/ 

#comments h2 { /* already a padding for the #comments */
	margin-top: 0px;
}

div.comment {
	margin-top:1em;
}

.comment_info {
	background-color:#ccf;
}

p.comment_author {
	padding-left: 5px;
	margin: 0;
}

.comment_author_name {
	font-weight: bold;
}

p.comment_date {
	float: right;
	margin: 0 5px 0 0;	
}

.comment_content {
  background-color: #fc3;
	padding: 5px;
}

/* the form */

#addCommentForm {
  padding: 5px;
	margin: 20px;
	background-color:#ccf;
}

#addCommentForm h3 {
  margin-top: 0;
}

#addCommentForm label, form label {
  float: left;
	clear: left;
  text-align: right;
	width: 75px;
	margin: 4px 10px 0 0;
}

#emailFormInfo {
	font-size: 0.7em;
}

#addCommentForm input, form input, #addCommentForm textarea {
	margin-top: 4px;
}

#addCommentForm textarea {
	width: 450px;
	height: 100px;
}

#addCommentForm input.submit {
	margin: 10px 0 0 95px;
}



/************************************************/
/* various sub-sections                         */
/************************************************/ 

p#siteIntro {
	margin-top: 0;
}

#pageInfo {
	margin-top: -15px;
	background-color:#ccf;
	padding-left: 4px;
}

#pageInfo p {
	margin: 0;
}

#pageInfo p#pageCredits, #pageInfo p#pageDate {
	font-size: 0.9em;
	color: #666;
}

#important_pages h3 {
	background-color:#fc3;
	font-weight: bold;
  font-size: 0.9em;
	padding-left : 5px;
	margin: 0;
	border: none;
}

#important_pages {
	float:right;
	clear:right;
	border-bottom:5px #fc3 solid;
	margin:10px;
}

.group1 {
	margin: 0 0 10px 20px;
}

.group1 h3 {
	background-color:#ccf;
	font-weight: bold;
  font-size: 0.9em;
	padding-left : 5px;
	margin: 0 0 0 -10px;
	border: none;
}

.group1 h4 {
	margin:5px 0 0 -5px;
}

.group1 p {
	margin: 0;
}

.book_section {
  border: 2px solid #000;
  margin:10px;
  padding:10px;
}

.book_section h2 {
  margin-top: 0;
}

.book_illustration {
	float:left;
	margin-right:10px;
}

table#patternTable {
	border-collapse:collapse;
}

table#patternTable th {
	font-weight: bold;
	text-align: center;
	border: 2px solid black;
	padding: 3px;
}

table#patternTable td {
	vertical-align: top;
	border: 2px solid black;
	padding: 3px;
}

table#patternTable td.empty {
	border: none;
}

.newVideos {
	color: #933;
	font-weight: bold;
}

#patternSearchText {
	float: left;
	width: 50%;
	margin-top:-1em; /* because of first <p> inside the div */
	margin-right: 30px;
}

ul#patternSearchLevels > li {
	list-style: none;
}

#patternSearchForm {
	clear: both;
	padding-top: 15px;
}

#patternSearchForm legend {
	font-weight: bold;
}

/********************
Images
***************/

img {
	border: 1px solid;
}

p.image {
	font-size: small;
	border: 1px solid #bbb;
	padding: 5px;
	width: 98%;
	overflow-x:auto;
}

p.image em {
	color: #f00;
	font-style: normal;
}

p.image img {
	border: 1px solid #000;
}

.noBorder {
	border:0;
}

.top_illustration {
	float:right;
	clear:right;
	margin:10px;
}

.article_illustration {
	float:left;
	margin: 0 10px 10px 0;
}

.top_illustration p {
	margin:0;
	font-size: 0.8em;
}

.summary {
	color: #666;
	font-size: 0.9em;
}


