/*
    These files are part of wili-cms 

    wili-cms - wiki like content-managament system (http://wili-cms.sourceforge.net)
    Copyright (C) 2004-2007 Patrick Michaelis <patrick AT bb-goettingen DOT de> 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


/* preview in *_edit mode */

#edit_preview {
  margin-top: 10px;
  padding: 0px;
  border: 1px solid #000000;
  width: 700px;
}

#edit_preview h3 {
  background-color: #623873;
  margin: 0px;
}

#edit_preview_content {
  padding: 0px;
  overflow: scroll;
  height: 250px;
}


/* show orig language in *_edit mode */

#edit_origlang {
  margin-top: 10px;
  padding: 0px;
  border: 1px solid #000000;
  width: 700px;
}

#edit_origlang h3 {
  background-color: #623873;
  margin: 0px;
}

#edit_origlang_content {
  padding: 0px;
  overflow: scroll;
  height: 200px;
}

/* admin section editor */

#admin_sections {
  padding: 4px;
  margin-bottom: 10px;
  background-color: #FFF8E8;  
  width: 750px;
}

/* admin permission editor */

#perms {
  color: #0000FF;
  font-weight: normal;
  font-family: Courier New;
}

#perm_table {
  empty-cells: show;  
}

#perm_table td {
  border-right: solid 1px black;
}

/* help */

#admin_help {
  background-color: #EEEEFF;
  padding: 4px;
  margin: 5px;
  font-size: 90%;
  text-align: left;
  width: 370px;
}

#admin_help h1 {
  font-size: 18px;
}

#admin_help h2 {
  font-size: 16px;
  margin-bottom: 0px;
}

#admin_help p {
  margin-top: 0px;
}

#admin_help_button {  
  font-weight: bold;  
  text-align: center;
  padding: 2px;
  border: 1px solid #8800FF;
  background-color: #EEDFC9;
}

#admin_help_button a:hover {
  background-color: #EEDFC9;
}

#admin_help_button.pageeditor {
  float: left;
  padding: 1px;
  margin-right: -5px; 
  position: relative;
  left: -2px; 
  top: -4px;
}

/* help: close 'x' */ 

#admin_help_x {
  background-color: #EEDFC9;
  border: 1px solid black;
  float: right;
  width: 16px;
  height: 16px;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}

#admin_help_x:hover {
  background-color: white;
}

#admin_help_x a {
  text-decoration: none;
}

#admin_help_x a:hover {
  text-decoration: underline;
}
/* admin pageeditor */

#admin_pageeditor {
  max-width: 180px; 
  text-align: right;
  border: 1px dotted black;
  padding: 4px;
  margin: 5px;
  background-color: #FFF8E8;
  float: right;
}

#admin_pageeditor_compact {
  text-align: right;
  border: 1px dotted black;
  padding: 3px;
  margin: 0px 3px;
  background-color: #FFF8E8;
  float: right;
}

#admin_pageeditor input {
  font-size: 90%;
}

#admin_pageeditor p {
  margin-top: 2px;
  margin-bottom: 2px;
}

#admin_pageeditor h2 {
  font-size: 17px;
  font-weight: bold;
  text-align: right;
  text-decoration: underline;
  margin-bottom: 0px;
}


#admin_pageeditor h3 {
  font-size: 13px;
  margin-top: 0px;
  margin-bottom: 5px;
  text-align: right;
}

#admin_pageeditor a {
  font-size: 10px;
  text-decoration: none;
  font-weight: bold;
}

#admin_pageeditor table {
  width: 100%;
  border: 0px;
  border-spacing: 2px;
}

#admin_pageeditorx {
  border: 1px solid #000000; 
  padding: 0px;
  margin: 0px;
  float: right; 
  background-color: #EEDFC9;
  position: relative;
  top: -2px;
  left: 2px;
}

#admin_pageeditorx a {
  text-decoration: none;
  font-size: 8px;
}

#admin_pageeditor_section {
/*  border-top: 1px dotted #000000; */
  padding: 0px;
  margin: 0px;
}

#admin_pageeditor_sectionview {
  font-size: 8px;
  text-align: center;
  padding: 0px 1px;
  margin: 0px;
  float:right;
  border: 1px solid #000000; 

  background-color: #EEDFC9;
  position: relative;
  top: -8px;
}

#admin_pageeditor_sectionview a {
  font-size: 8px;
}

#admin_pageeditor_icon:hover {
  background-color: #EEDFC9;
}

#admin_pageeditor_icon {
  padding: 6px 0px; 
  font-size: 10px;
  text-decoration: none;
  font-weight: bold;
  max-width: 40px; 
  min-width: 40px;
}

#admin_pageeditor_icon img {
  border: 0px;
  vertical-align: middle;
}


/* sumlist button in articles */


#admin_sumlist_button {
  text-align: center;
  border: 1px dotted black;
  padding: 4px 4px 0px 4px;
  margin: 0px 0px 0px 15px;
  background-color: #FFF8E8;  
  float: left;
}

#admin_sumlist_button.rightof {
  margin-top:30px;
  margin-right:30px;
  float:right;
}


/* passed dates */

#date_date.passed {
  color: #a28c6c;
}

#date_time.passed {
  color: #a28c6c;
}

#date_title.passed {
}

#date_subtitle.passed {
  color: #a28c6c;
}

#date_link.passed {
  color: #a28c6c;
}

#date_details.passed {
  color: #a28c6c;
}



/* show differences between revisions */
#diff_del {
  text-decoration: line-through;
  color: #FF0000; 
}

#diff_add {
  color: #0000FF;
}

/* del button for images and files */

#article_delbutton {
  float: right; 
  font-size: 10px;
  text-decoration: none;
}

#article_delbutton.file {
  float:none;
  position: relative;
  left: -80px;
  top: 15px;
  margin-right: -80px;
  margin-bottom: 20px;
}

#article_delbutton:hover {
  background-color: #EEDFC9;
}

#article_delbutton img {
  vertical-align: middle;
}/* userdata */

#admin_whoami {
  float: right;
  margin: 4px;
}

#user {
}

#user_noadmin {
  color: #a28c6c;
}


/* other */

#note {
  color: #0000FF;
}

#warning {
  color: #FF0000;
}

p.wiki {
 margin-bottom:0px; 
 margin-top:0px;
}

/* color chooser div */

#admin_colorselect {
  width:176px;   
  padding:5px; 
  border:1px solid #8800FF; 
  background-color:#623873;
}/* Admin links in main menu (horizontal) */

#admin_menu_horiz_item {
  color: #880000;
  background-color: #FFBBBB;
  text-decoration: none;
  padding: 6px 4px;
  font-size: 10px;
}
  
#admin_menu_horiz_item_selected {
  color: #880000;
  text-decoration: none;
  background-color: #DEBCEC;
  padding: 6px 4px;
  font-size: 10px;
}

#admin_menu_horiz_item:hover {
  background-color: #DEBCEC;
  padding: 6px 4px;
  font-size: 10px;
}

#admin_menu_horiz_enhance {
  color: #880000;
  background-color: #FFBBBB;
  border-left:  1px solid #000000; 
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 0px 5px;
  margin: 0px -30px 0px 0px;  
  font-weight: bold;
  font-size: 10px;
  text-decoration: none;
  position: relative;
  top: 15px;
  left: 15px;  
}

#admin_menu_horiz_enhance:hover {
  background-color: #EEDFC9;
}

/* change menupos */ 

#admin_menu_horiz_move {
  background-color: #FFBBBB;
  padding: 6px 1px;
  text-decoration: none;
  font-weight: bold;
  color: #880000;
}


#admin_menu_horiz_move:hover {
  background-color: #EEDFC9;
}

/* admin links in left menu (vertical) */

#admin_menu_vert_move {
  background-color: #FFBBBB;
  padding: 1px 6px;
  text-decoration: none;
  font-weight: bold;
  color: #880000;
  border-left:  1px solid #8800FF; 
  border-right: 1px solid #8800FF; 
}

#admin_menu_vert_move:hover {
  background-color: #EEDFC9;
}

#admin_menu_vert_movetable {
 position:relative; 
 top:-4px;
 float: right;
}

#admin_menu_vert_enhance {
  color: #880000;
  background-color: #FFBBBB;
  border-left:  1px solid #000000; 
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 0px 5px;
  margin: 0px; 
  font-weight: bold;
  font-size: 10px;
  position: relative;
  top: -10px;
  left: 25px;
}

#admin_menu_vert_enhance:hover {
  background-color: #EEDFC9;
}

#menu_vert select {
  width: 154px;
}

#admin_mainmenu_add {
  float: left;
}
