/* General styles */

html {
  background-color: #fafafa;
}

body {
  font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
  padding: 0;
  margin: 0;
}

img {
  border: 0;
}

p {
  margin: 0;
  padding: 0;
  color: #333333;
}

p.title, p.subtitle {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 15px;
}

p.text {
  font-size: 12px;
  line-height: 14px;
}

a {
  text-decoration: none;
}

form {
  margin: 0;
}

label {
  display: block;
  float: left;
  font-size: 12px;
  line-height: 14px;
  text-align: right;
  margin-right: 5px;
  padding-top: 5px;
}

/* Find area styles */

div#search_area {
  position: relative;
  float: left;
  left: 8px;
  top: 10px;
  z-index: 10;
}

/* General Classes */

.link {
  display: block;
  background-image: url("../img/blank.gif");
  z-index: 5;
  border: 0px dotted green;
}

.invisible {
  display: none;
}

.capitals {
  text-transform: capitalize;
}

ul.text_only_navigation {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 0px dotted red;
}

div.divlink {
  position: absolute;
  z-index: 5;
}

#devinfo {
  top: 5px;
  left: 5px;
  width: 125px;
  padding: 3px;
  z-index: 100;
  color: #004488;
  font-size: 9px;
  line-height: 11px;
  border: 1px dotted gray;
}

/* ******************************** */
/* All pages                        */
/* ******************************** */

/* Main divs */

div#main {
  position: relative;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  width: 990px;
  text-align: left;
}

div#banner {
  position: relative;
  float: left;
  width: 990px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #fafafa;
}

div#banner .banner {
  border-bottom: 1px solid #999999;
  background-color: white;
  overflow: hidden;
  float: left;
  width: 990px;
}

div#rsr_banner {
  height: 60px;
}

div#tsr_banner {
  height: 59px;
}

div#banner .tab {
  display: block;
  float: left;
  overflow: hidden;
}

#header-tsr div.contentField {
  display:none !important;
}

#header-tsr div.contentVideoForm {
  position:static !important;
}

.tab {
  width: 87px;
  height: 25px;
  background-repeat: no-repeat;
}

div#banner a#rsr_tab.closed {
  background-image: url('../img/tabs/tab_rsr-closed.gif');
}

div#banner a#rsr_tab {
  background-image: url('../img/tabs/tab_rsr.gif');
}

div#banner a#tsr_tab.closed {
  background-image: url('../img/tabs/tab_tsr-closed.gif');
}

div#banner a#tsr_tab {
  background-image: url('../img/tabs/tab_tsr.gif');
}

div#banner a#aide_tab {
  float: right;
  background-image: url('../img/tabs/tab_aide.gif');
}

div#banner #accueil_tab {
  float: right;
  background-image: url('../img/tabs/tab_accueil.gif');
}

div#banner #recherche_tab {
  float: right;
  background-image: url('../img/tabs/tab_recherche.gif');
}

/* Borders */

.borders {
  width: 990px;
  height: 5px;
  overflow: hidden;
  float: left;
  background-repeat: no-repeat;
}

#top_border {
  background-image: url('../img/design/bg_top.gif');
  background-position: bottom;
  margin-bottom: 5px;
}

#bottom_border {
  background-image: url('../img/design/bg_bottom.gif');
  background-position: top;
}

/* Footer */

#footer {
  width: 990px;
  height: 50px;
  float: left;
  overflow: hidden;
  background-color: #fafafa;
}

#footer a {
  margin-top: 10px;
  margin-right: 5px;
  float: right;
}

/* Page */

div#page {
  position: relative;
  float: left;
  width: 990px;
  overflow: hidden;
  background-image: url('../img/design/bg_vertical.gif');
  background-repeat: repeat-y;
  background-color: white;
}

.horizontal_border_left {
  background-image: url('../img/design/border_horiz_left.gif');
  background-repeat: no-repeat;
  background-position: left top;
}

.horizontal_border_right {
  background-image: url('../img/design/border_horiz_right.gif');
  background-repeat: no-repeat;
  background-position: right top;
}

.point {
  width: 40px;
  height: 40px;
  float: left;
  overflow: hidden;
  background-image: url('../img/masks/point_mask.png');
}

.item:hover .point {
  background-image: url('../img/masks/point_mask_hover.png');
}

/* Content */

#content {
  width: 990px;
  margin-top: 5px;
  float: left;
  overflow: hidden;
  background-image: url('../img/design/border_vertical.gif');
  background-repeat: repeat-y;
  background-position: 494px top;
}

/* Left area */

#left_area {
  position: relative;
  width: 495px;
  /*min-height: 900px;*/
  float: left;
  overflow: hidden;
}

#questions_sur {
  overflow: hidden;
  float: left;
  margin-left: 10px;
  margin-bottom: 2px;
  background-image: url('../img/design/bg_questions_sur.gif');
  background-repeat: no-repeat;
  background-color: white;
}

.questions_sur_size {
  width: 485px;
  height: 127px;
}

#title_questions_sur {
  width: 276px;
  height: 37px;
  margin-left: 12px;
  margin-top: 11px;
  overflow: hidden;
  float: left;
  background-image: url('../img/icons/questions_sur.gif');
  background-repeat: no-repeat;
}

#questions_sur p {
  font-size: 12px;
  margin-left: 13px
}

#questions_sur p.text {
  margin-top: 50px;
  margin-right: 20px;
}

#questions_sur p.title {
  margin-top: 17px;
  font-weight: normal;
  float: left;
}

.logos {
  display: block;
  float: left;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

#logo_tsrdecouverte {
  margin-left: 16px;
  margin-top: 8px;
}

#logo_rsrsavoirs {
  margin-left: 16px;
  margin-top: 5px;
}

/* List items */

.item {
  display: block;
  position: relative;
  width: 488px;
  margin-right: 1px;
  min-height: 74px;
  overflow: hidden;
  float: right;
}

.item img {
  margin-top: 10px;
  margin-left: 20px;
  float: left;
}

.item .content {
  overflow: hidden;
}

.item p.subtitle, .item p.text {
  width: 395px;
  float: left;
  margin-left: 15px;
}

.item .home p.subtitle, .item .home p.text {
  width: 360px;
}

.item p.title {
  display: block;
  float: left;
  overflow: hidden;
  margin-top: 5px;
  margin-left: 15px;
  padding-bottom: 0;
  padding-top: 1px;
  padding-left: 2px;
  padding-right: 4px;
  font-size: 11px;
}

.item p.framed {
  color: white;
}

.item .content p.text {
  font-weight: bold;
}

.item .content p.statistics {
  font-size: 11px;
  font-weight: normal;
  color: #666666;
}

.item .link_size {
  width: 488px;
  height: 84px;
}

.item p.error {
  margin-left: 25px;
  margin-top: 30px;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.item p a {
  color: #6E7EBA;
}

.item:hover {
  background-color: #e7e5e5;
  cursor: pointer;
}

.nohover:hover {
  background-color: white;
  cursor: default; 
}

.item .point {
  margin-left: 20px;
  margin-top: 17px;
  margin-bottom: 20px;
}

.linked:hover {
  cursor: pointer; 
}

/* Right area */

#right_area {
  width: 490px;
  overflow: hidden;
  float: left;
}

/* Main lead */

#poser_question {
  overflow: hidden;
  float: left;
  background-image: url('../img/design/bg_poser_question.gif');
  background-repeat: no-repeat;
  background-color: white;
}

.poser_question_size {
  width: 487px;
  height: 127px;
}

#poser_question_frame {
  width: 471px;
  height: 109px;
  margin-left: 4px;
  margin-top: 5px;
  float: left;
  overflow: hidden;
  background-color: #f6f6f5;
  border: 1px solid #ededed;
}

#title_poser_question {
  width: 425px;
  height: 37px;
  margin-left: 15px;
  margin-top: 5px;
  overflow: hidden;
  float: left;
  background-image: url('../img/icons/poser_question.gif');
  background-repeat: no-repeat;
}
#poser_question p {
  margin-left: 15px;
  overflow: hidden;
  float: left;
}

#poser_question p.text {
  width: 310px;
}

#poser_question div#ampoule {
  width: 72px;
  height: 48px;
  float: right;
  overflow: hidden;
  margin-right: 40px;
  background-image: url('../img/icons/ampoule.gif');
  background-repeat: no-repeat;
}

/* Video area */

#player {
  height: 336px;
  width: 490px;
  overflow: hidden;
  float: left;
}

#video_container {
  width: 454px;
  height: 306px;
  overflow: hidden;
  float: left;
  margin-left: 15px;
  margin-top: 15px;
  background-image: url('../img/design/bg_player.gif');
  background-repeat: no-repeat;
}

.tsrplayer-parent {
  margin-left: 50px !important;
  margin-top: 60px !important;
}

#video_area .invisible {
  display: none;
}

#video_area .description {
  position: relative;
  width: 490px;
  float: left;
  overflow: hidden;
}

#video_area .toggle {
  left: 7px;
}

#video_area .question, #video_area .answer {
  width: 490px;
}

#video_area .question p.text, #video_area .answer p.text {
  margin-left: 60px;
}

#video_area .question p.text {
  text-transform: uppercase;
  
}

#other_videos {
  position: relative;
  float: left;
  overflow: hidden;
}

#other_videos .divlink {
  background-image: url('../img/icons/plus_videos.gif');
  background-position: 50px 20px;
  background-repeat: no-repeat;
}

.other_videos_size {
  width: 490px;
  height: 84px;
}

#partners {
  width: 490px;
  overflow: hidden;
  float: left;
}

#partners p {
  float: left;
  margin: 0;
  margin-left: 85px;
  margin-top: 20px;
  color: #92BDBD;
  font-size: 12px;
  line-height: 14px;
}

#partners .links {
  margin-left: 85px;
}

#partners .links p {
  margin: 0;
  margin-top: 10px;
  width: 400px;
}

#partners img {
  margin-right: 20px;
  margin-bottom: 10px;
}

#partners a {
  color: #92BDBD;
}

#partners a:hover {
  text-decoration: underline;
}

/* ******************************** */
/* Forum and videos pages           */
/* ******************************** */

#page .closed {
  height: 84px;
}

/* Forum and videos title */

#page_title {
  overflow: hidden;
  float: right;
}

#page_title .title {
  margin-top: 5px;
  padding: 0;
  font-size: 26px;
  line-height: 28px;
}

#page_title .subtitle {
  margin-top: 10px;
}

#page_title .alone {
  margin-top: 20px;
}

.page_title_size {
  width: 489px;
  height: 80px;
}

#page_title .text {
  display: block;
  float: left;
}

#page_title .content, #page_subtitle .content, #page_title .content p, #page_subtitle .content p {
  width: 360px;
}

#page_subtitle .point {
  margin-left: 30px;
}

#page_subtitle .title {
  padding: 0;
  margin-left: 35px;
  margin-top: 20px;
  font-size: 22px;
  line-height: 24px;
}

#page_subtitle .text {
  margin-left: 35px;
}

/* Forum styles */

.date {
  margin-top: 5px;
}

.forum_name {
  position: absolute;
  top: 20px;
}

.infos {
  float: left;
  overflow: hidden;
  margin-left: 5px;
  width: 70px;
  font-size: 11px;
  line-height: 13px;
  text-align: center;
}

.question, .answer, .sharing {
  float: right;
  overflow: hidden;
  width: 400px;
  margin-right: 5px;
}

.question {
  margin-top: 5px;
}

.question p.text, .answer p.text {
  font-size: 11px;
  line-height: 13px;
  margin: 0;
  margin-bottom: 5px;
  width: 395px;
}

.closed .question p.text, .closed .answer p.text {
  margin-bottom: 13px;
}

.closed .question p.empty, .closed .answer p.empty {
  margin-bottom: 0;
}

.question p.text {
  font-weight: bold;
}

.question .pseudo {
  font-weight: normal;
  text-transform: none;
}

.answer {
  margin-bottom: 5px;
}

.answer p.text {
}

.closed .sharing {
  display: none;
}

.sharing {
  padding-bottom: 5px;
  padding-right: 5px;
}

.sharing .print, .sharing .send {
  background-repeat: no-repeat;
  padding-left: 20px;
  float: right;
  overflow: hidden;
  margin-left: 15px;
  height: 15px;
}

.sharing a {
  display: block;
  font-size: 12px;
  height: 14px;
  overflow: hidden;
  color: #777777;
}

.sharing .print {
  background-image: url('../img/icons/print.gif');
}

.sharing .send {
  background-image: url('../img/icons/send.gif');
}

.toggle {
  position: absolute;
  float: left;
  overflow: hidden;
  left: 30px;
  cursor: pointer;
}

.toggle_size {
  width: 20px;
  height: 20px;
}

.closed .open {
  display: block;
  top: 60px;
  background-image: url('../img/masks/open_mask.png');
}

#left_area .closed:hover .open {
  background-image: url('../img/masks/open_mask_hover.png');
}

.closed .close {
  display: none;
}

.open {
  display: none;
}

.close {
  display: block;
  bottom: 5px;
  background-image: url('../img/masks/close_mask.png');
}

.item:hover .close {
  background-image: url('../img/masks/close_mask_hover.png');
}

.selected .point {
  background-image: url('../img/masks/selected_mask.png');
}

.selected:hover .point {
  background-image: url('../img/masks/selected_mask_hover.png');
}

.next {
  display: none;
}

.closed .next {
  display: block;
  position: absolute;
  right: 5px;
  bottom: 2px;
  font-size: 12px;
  background-color: white;
}

.closed:hover .next {
  background-color: #e7e5e5;
}

/* ******************************** */
/* Page navigator                   */
/* ******************************** */

#page_navigator {
  position: relative;
  float: right;
  overflow: hidden;
  width: 258px;
  height: 38px;
  margin-right: 20px;
  margin-top: 20px;
  background-image: url('../img/navigator/page_background.gif');
  background-repeat: no-repeat;
}

.pager_size {
  width: 28px;
  height: 21px;
}

.pager {
  position: absolute;
  overflow: hidden;
  top: 9px;
  background-repeat: no-repeat;
}

#first_page {
  left: 10px;
  background-image: url('../img/navigator/page_first.gif');
}

#previous_page {
  left: 39px;
  background-image: url('../img/navigator/page_previous.gif');
}

#next_page {
  left: 189px;
  background-image: url('../img/navigator/page_next.gif');
}

#last_page {
  left: 221px;
  background-image: url('../img/navigator/page_last.gif');
}

#page_navigator p {
  position: absolute;
  color: #ac382a;
  height: 18px;
  width: 122px;
  left: 67px;
  top: 11px;
  overflow: hidden;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  line-height: 17px;
  text-align: center;
}

#page_navigator span {
  color: white;
}


/* ******************************** */
/* Question formulaire              */
/* ******************************** */

div#question_form {
  position: relative;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  float: left;
}

div#question_form li {
  margin-bottom: 5px;
  float: left;
  overflow: hidden;
  width: 350px;
}

div#question_form p.text {
  color: black;
  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

div#question_form a {
  display: block;
  font-size: 12px;
  line-height: 14px;
  margin-top: 20px;
  color: green;
}

div#question_form a:hover {
  text-decoration: underline;
}

div#question_form label {
  width: 125px;
}

div#question_form #user_name {
  width: 75px;
}

div#question_form #user_age {
  width: 50px;
}

div#question_form #user_email {
  width: 150px;
}

div#question_form #user_question {
  height: 100px;
  width: 200px;
}

div#question_form img {
  margin: 10px;
  margin-top: 3px;
  margin-left: 0;
  border: 1px solid gray;
}

#captcha_image {
  float: left;
}

div#question_form li.captcha {
  height: 65px;
}

div#question_form #captcha_text {
  float: left;
  margin-top: 18px;
  width: 75px;
}

.error {
  color: red;
}

.centered {
  text-align: center;
}

/* ******************************** */
/* Search form                      */
/* ******************************** */

#search_form {
  margin-top: 10px;
}

#search_form li {
  display: block;
  float: left;
  overflow: hidden;
  width: 250px;
  margin-left: 50px;
}

#search_form .field, #search_form select {
  width: 200px;
  border: 1px solid gray;
}

#search_form label {
  width: 40px;
}

/* ******************************** */
/* Sendmail form                    */
/* ******************************** */

#minimal_content {
  position: relative;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  float: left;
}

#minimal_content .title {
  margin-bottom: 10px;
}

#minimal_content .close_link {
  display: block;
  font-size: 12px;
  color: gray;
  text-align: center;
  margin-top: 30px;
}

#send_form li {
  overflow: hidden;
  margin-top: 5px;
}

#send_form label {
  width: 175px;
}

#send_form .formText, textarea {
  border: 1px solid gray;
}

#send_form textarea {
  width: 380px;
  height: 125px;
  margin-left: 10px;
}

#send_form .error {
  font-size: 12px;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}

#send_form .formText {
  width: 150px;
}

#send_form .captcha label {
  margin-top: 7px;
}
#send_form .captcha img {
  float: left;
  margin-left: 10px;
}

#send_form .captcha input {
  float: left;
  margin-top: 17px;
  margin-left: 10px;
}

/* ******************************** */
/* TSR.ch header and footer styles  */
/* ******************************** */

div.tsrPart {
  position: relative;
  width: 920px;
  margin-left: 5px;
  border: 0px dotted red;
  z-index: 200;
}
