/* ==================================
author: Simon Mueller
written for www.erf.de

swatch colors
-------------
fff     = white
f90     = orange
333     = light black
f8f9f4  = background gray
ccc     = border gray
=================================  */


/* links & type
-----------------------------------*/

body {
  color: #333;
}
h3 {
  color: #f90;
  margin-bottom: 0px;
}
a:link, a:active, a:visited {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #999;
  text-decoration: underline;
}
th {
  text-align: left; 
  vertical-align: top;
}

input {
  margin-bottom: 2px;
}

input[type=text], input[type=password] {
  padding-left: 1px;
}


/* layout
-----------------------------------*/

/*--all sites--*/

table {
  margin-bottom: 0px;  
}
#global_navi_right  {
  text-align: right;
}   



#navi_left {
  margin-top: 15px;
}

#navi_left ul li {
  margin-left: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: #ccc dotted 1px;
  list-style-type: none;
}
#navi_left ul li:first-child{
  border-top: 0;
}
#navi_left ul li a {
  display: block;
}
#navi_left ul li:hover {
  background-color: #f8f9f4;
}

#navi_left ul li.not_active{
  color: #ccc;
}

#navi_left ul li.now{
  background: #f8f9f4;
}

#content_container {
  /* for paper-background on the top, for background-color and border*/
  border: #ccc solid 1px;
  background: url('../images/paper_top.jpg') #f8f9f4 top left no-repeat;
}
#inner_content_container {
  /* for paper-background on the bottom */
  background: url('../images/paper_bottom.jpg') bottom left no-repeat;
  float: left;
}
#content_title {
  padding-top:  10px;
  padding-left: 25px;
}

#content_title.with_picture {
  padding-left: 15px;
}

.content {
  background: url('../images/content_bg.jpg') #fff top left no-repeat;
  margin: 10px 10px 15px 10px;
  padding: 15px;
}
#inner_content_container .content table {
	margin-bottom: 1em;
}
#inner_content_container .content caption {
	text-align: left;
}
#inner_content_container .content th, #inner_content_container .content td {
	vertical-align: top;
	border: 1px solid #ddd;
	padding: 0.5em;
}
#inner_content_container .content th {
	background-color: #eee;
}

.content.transparent {
  background:0;
  background-color: transparent;
}

.coach {
  /*width: 72px;*/
  min-height: 101px;
}
.coach_pic {
  height: 101px;
  background: url('../images/pic_background.png') top left no-repeat;
}
.coach_pic .pic {
  position: relative;
  top: 7px;
  left: 9px;
  width: 52px;
  height: 75px; 
}
.coach_name {
  /*text-align: center;*/
}

#outer_content_container { 
  /* for right shadow */
  width: 720px;
  background: url('../images/shadow_right.png') top right repeat-y;
  float: left;
  margin-bottom: 20px;
}
#outer_content_container2 { 
  /* for top right shadow */
  width: 720px;
  background: url('../images/shadow_top_right.png') top right no-repeat;
  float: left;
}

div.notice {
  margin: 0 0 7px 0;
  padding: 4px 4px 4px 30px;
  background: url('/images/tick.png') no-repeat 10px 4px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #ffc;
}

div.error
{
  margin: 4px 0;
  padding: 4px 4px 4px 30px;
  background: url(../images/error.png) no-repeat 10px 4px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #f33;
  color: #fff;
}

ul.error_list {
  color: #f90;
  margin: 0 0 10px 0;
}

#shadow_bottom {
  height: 11px;
  margin-left: 10px;
  background: url('../images/shadow_bottom.png') #fff top left no-repeat;
  clear: both;
}

.content_field_title {
  font-weight: bold;
  margin-bottom: 10px;
  /*color: #f90;*/
}


/*--course show--*/

.posCenter {
	float: none;
	margin: 2px 2px 5px 2px;
	display: block;
}
.posLeft {
	float: left;
	margin: 2px 10px 5px 0;
}
.posRight {
	float: right;
	margin: 2px 0 5px 10px;
}

div.zitat, div.fact {
	padding: 10px;
	width: 250px;
}

div.zitat {
  background-color: #f2f1f7;
	border: 1px solid #ccc;
}

div.fact {
	background-color: #ecdec4;
	border: 1px solid #ad8245;
}
div.zitat h3, div.fact h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 2px 0;
}
div.zitat h3 {
  color: #808080;
}
div.fact h3 {
  color: #ad8245;
}
div.zitat p, div.fact p {
	margin-bottom: 0;
}
div.zitatCenter {
	width: auto;
	margin: 2px auto 5px;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
  font-size: 18px;
  color: #f90;
  margin-bottom: 0px;
}
.content a:link, .content a:active, .content a:visited {
  text-decoration: underline;
}

#right_column #inner {
  padding-right: 15px;
}
#right_column table {
  margin-bottom: 20px;
}

#right_column table tr td {
  vertical-align: middle;
  line-height: 15px;
  text-align: center;
  border-top: #ccc dotted 1px;
  padding-top: 4px;
}
#right_column table tr.first td {
  border-top: 0;
}



.content #downloads img, .content #download_list img, .content #questions img {
  vertical-align: middle;
}
.content #downloads,.content #questions {
  width: 130px;
}

.content .question {
  width: 350px;
  margin-bottom: 8px;
}
.content td.question_nb {
  padding-right: 5px;
}
.content td.question_button {
  text-align: right;
}

/*--login form--*/

form#login input#signin_username, form#login input#signin_password {
  width: 200px;
  margin-right: 0;
}

form#login th {
  width: 200px;
}
form#login {
  width: 385px;
}
form#login .login_bottom {
  text-align: right;
}
form#login .login_bottom input {
  margin-bottom: 5px;
}

#content_container_for_login {
  /* for paper-background on the top, for background-color and border*/
  border: #ccc solid 1px;
  background: url('../images/paper_top_short.jpg') #f8f9f4 top left no-repeat;
}


/* settings & register  */

#edit_profile th, #register th {
  width: 240px;
}

#edit_profile td, #register td {
  width: 259px;
}

#edit_profile td input, #register td input, #register td textarea {
  width: 250px;
}

#edit_profile td input#erfwms_participant_email_notification {
  width: 15px;
}


#register input#register_submit {
  margin-top: 10px;
}

#edit_profile td input#erfwms_participant_street, #register td input#register2_new_street {
  width: 197px;
  margin-right: 2px;
}

#edit_profile td input#erfwms_participant_streetnumber, #register td input#register2_new_streetnumber {
  width: 45px;
}

#edit_profile td input#erfwms_participant_zipcode, #register td input#register2_new_zipcode {
  width: 77px;
  margin-right: 2px;
}

#edit_profile td input#erfwms_participant_city, #register td input#register2_new_city {
  width: 165px;
}

#cancel_course th {
  width: 200px;
}

#cancel_course textarea#cancel_feedback {
  width: 300px;
}

a.cancel_course
{
  background: url(../images/cancel_course.png) no-repeat 0 0;
  padding-left: 20px;
  vertical-align: middle;
}

/*--my courses--*/

table#courses {
  margin-bottom: 0;
}

table#courses td, table#courses th {
  padding: 3px;
}

table#courses td {
  text-align: center; 
  vertical-align: middle;
}

table#courses td.number a {
  font-size: 18px;
  position: relative;
  bottom: 5px;
}
table#courses td.number span.new {
  color: #f90;
  position: relative;
  bottom: 6px;
}
table#courses td.number .nb_messages {
  position: relative;
  bottom: 3px;
}

table#courses td.course_image {
  vertical-align: top;
}

.img_border { 
  border: 1px solid #ccc;
  padding: 3px;
  background-color: #fff;
}

table#courses th {
  text-align: center;
}

table#courses td a:hover p.coach_name{
  color: #999;
  text-decoration: underline;
}




#inner_content_container_small {
  /* for paper-background on the bottom */
  width: 540px;
  background: url('../images/paper_bottom.jpg') bottom left no-repeat;
  float: left;
}
#outer_content_container_small { 
  /* for right shadow in small sites*/
  width: 550px;
  background: url('../images/shadow_right.png') top right repeat-y;
  float: left;
  margin-bottom: 20px;
}
#outer_content_container2_small { 
  /* for top right shadow in small sites*/
  width: 550px;
  background: url('../images/shadow_top_right.png') top right no-repeat;
  float: left;
}
#shadow_bottom_small {
  height: 11px;
  background: url('../images/shadow_bottom_small.png') #fff top left no-repeat;
  clear: both;
}

#settings_and_logout {
  height: 64px;
  padding-left: 73px;
}

#settings, #logout {
  width: 150px;
  height: 64px;
  border: 1px solid #ccc;
  float: left;
  margin-right: 40px;
  text-align: center;
}

#settings a, #logout a {
  display: block;
  height: 28px;
}

#settings a {
  background: url(../images/settings.png) no-repeat 0 0;
  margin-left: 15px;
  margin-top: 13px;
  padding-left: 30px;
  padding-top: 8px;
}
#logout a {
  background: url(../images/logout.png) no-repeat 0 0;
  margin-left: 35px;
  margin-top: 17px;
  padding-left: 5px;
  padding-top: 4px;  
}

/*--messages list--*/
table.message {
  clear: both;
  margin-bottom: 10px;
  width: 100%;
}
table.message .balloon  { 
  background-color: #dcdcdd;
  padding: 10px;
  -moz-border-radius: 10px; 
  -webkit-border-radius: 10px; 
  border-radius: 10px;
  z-index: 2;
  text-decoration: none;
}

table.message .balloon.unread { 
  font-weight: bold;
}

table.message .balloon:hover {
  background-color: #e0e0e0;
  text-decoration: underline;
}

table.message .arround_balloon {
  background: url('../images/smiley_balloon.gif') no-repeat left bottom;
  z-index: 1;
  height: 57px;
  vertical-align: top;
  padding-left: 40px;
} 

table.message.right .arround_balloon {
  background: url('../images/smiley_balloon_right.gif') no-repeat right bottom;
  padding-left: 0px;
  padding-right: 40px;
}

table.message.right {
  float: right;
}

.bottom {
  margin-top: 10px;  
  clear: both;
}
.bottom.right {
  text-align: right;
}


table.message a:hover .blase {
  background-color: #fff;
}  

table.message tr td.name {
  line-height: 1;
  padding-right: 10px;
  vertical-align: bottom;
  text-align: center;
  width: 80px;
}
table.message tr td.name div.date {
  font-size: 9px;
  margin-bottom:5px;
}
table.message.right tr td.name {
  padding-left: 10px;
}
table.message tr td.space {
  width: 140px;
}
table.message.right tr td.space {
  width: 130px;
}

.bottom a.new_message {
  background: url(../images/new_message.gif) no-repeat 0 0;
  padding-left: 28px;
  height: 26px;
  display: block;
  padding-top: 3px;
  width: 220px;
}

/*--message show--*/

#message_header, .message_header {
  border: 1px solid #ccc;
  padding: 10px;
}

#message_header #to_or_for, .message_header .to_or_for {
  padding-left: 3px;
  width: 530px;
}

#message_header #subject, .message_header .subject  {
  font-weight: bold;
  padding-left: 3px;
}

#message_header #date, .message_header .date {
  width: 100px;
}

#message_body, .message_body {
  padding-top: 10px;
}

#message_body p, .message_body p {
  margin-bottom: 0px;
}

ul.sf_admin_actions
{
  margin: 10px 0;
  list-style-type: none;
}

ul.sf_admin_actions li
{
  list-style-type: none;
  display: inline;
  margin-right: 10px;
}

ul li.sf_admin_action_list a
{
  background: url(../images/list.png) no-repeat 0 0;
  padding-left: 20px;
}

ul li.sf_admin_action_delete a
{
  background: url(../images/delete.png) no-repeat 0 0;
  padding-left: 20px;
}

/*--discussion--*/

#discussion_list .discussion_title {
  font-weight: bold;
}

#discussion_list .name{
  width: 530px;
  padding-top: 5px;
}
#discussion_list .date{
  width: 100px;
}
#discussion_list .actions {
  text-align: right;
  padding-bottom: 5px;
  border-bottom: 1px dotted #ccc;
}

#discussion_list .actions.left {
  text-align: left;
}

#discussion_list .actions .answer {
  background: url(../images/answer.png) no-repeat 0 0;
  padding-left: 23px;
  padding-top: 1px;
}

#discussion_list .actions .discussionchain {
  background: url(../images/discussionchain.png) no-repeat 0 0;
  padding-left: 23px;
}
.discussion_info {
	color: #ccc;
	font-style: italic;
	font-size: 9pt;
}


#new_discussionpost td#title {
  font-weight: bold;
  padding-bottom: 3px;
}
#new_discussionpost table {
	width: 100%;
}
#new_discussionpost table th {
  width: 198px;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}
.comment {
  font-style: italic;
  margin-top: 10px;
}

a.back
{
  list-style-type: none;
  background: url(../images/back.png) no-repeat 0 0;
  padding-left: 25px;
  margin-bottom: 20px;
}



/* forms
-----------------------------------*/  
#right_column textarea {
  width: 119px;
  height: 79px;
  color: #8d8d8d;
}
#right_column form {
  text-align: right;
}
#right_column input {
  margin-top: 2px;
  margin-bottom: 20px;
}

form {
  padding-bottom: 0px;
}
