/**
 * SUKB
 * main.css
 * Feuille de style principale
 * 20/11/2008
 */

/*******************************************************************************
 *  Copyright (C) 2008, Jimmy Rudolf <jimmy.rudolf@athaliasoft.fr>
 *
 *  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/>.
 *******************************************************************************/

@import url(common.css);

.form_label
{
    width: 1%;
    white-space: nowrap;
}

.form_title
{
    border-bottom: solid 1px #ccc;
    background: #fff url(../images/h1_bg.png) repeat-x top;
    padding: 2px 5px;
}

#main {
  background: #fff;
  height: 100%;
  margin: 10px;
  position: relative;
  border: solid 1px #fff;
  /*
  overflow: hidden;
  */
}

#top {
  color: #fff;
  background: #3690f0 url(../images/top_bg.png) repeat-x center;
  padding: 10px;
  border-bottom: solid 1px #fff;
  display: block;
}

#top #title {
  font-size: 12pt;
  font-weight: bold;
  color: #febf04;
}

#top #subtitle {
  margin-left: 15px;
}

#top_right {
  float: right;
}

#login_box {
  float: right;
}

#login_box input[type=password] {
  width: 100px;
}

#login_box a:link, #top_right a:visited {
  text-decoration: none;
  color: #febf04;
}

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

#middle{
  min-height : 100%;
  height: 100%;
}

#left_pane {
  width: 250px;
  max-width: 250px;
  float: left;
  height: 100%;
  min-height: 100%;
}

#right_pane {
  margin-left: 250px;
  min-height: 100%;
  height: 100%;
}

#pane_clear {
  clear:both;
}

#move_to_list {
  position: absolute;
  background: #fbfbfc;
  text-align: left;
  border: solid 2px #eee;
  width: 300px;
  max-height: 400px;
  overflow: auto;
  top: 95px;
  padding: 5px;
}

#categories_list
{
    overflow: auto;
    padding: 5px;
    height: 100%;
}

#categories_list ul, #move_to_list ul
{
    list-style: none;
    margin: 0 0 0 18px;
    padding: 0;
}

#categories_list a:link, #categories_list a:visited,
#move_to_list a:link, #move_to_list a:visited
{
    display: block;
    padding: 2px 0 2px 18px;
    background: url(../images/folder.png) no-repeat center left;
    text-decoration: none;
    color: #066caa;
}

#categories_list #selected:link, #categories_list #selected:visited
{
    padding: 2px 0 2px 18px;
    background: url(../images/folder_open.png) no-repeat center left;
    text-decoration: none;
    color: #ff6600;
}

#categories_list #selected.orphan:link, #categories_list #selected.orphan:visited
{
    display: block;
    padding: 2px 0 2px 18px;
    background: url(../images/folder_green_open.png) no-repeat center left;
    text-decoration: none;
    color: #ff6600;
}

#categories_list .orphan:link, #categories_list .orphan:visited
{
    display: block;
    padding: 2px 0 2px 18px;
    background: url(../images/folder_green.png) no-repeat center left;
    text-decoration: none;
    color: #066caa;
}

#category_menu a:link, #category_menu a:visited
{
    margin-left: 10px;
    text-decoration: none;
    color: #066caa;
}

#categories_list a:hover, #category_menu a:hover, #categories_list #selected:hover, #categories_list .orphan:hover,
#move_to_list a:hover
{
    text-decoration: underline;
    color: #5fb7d9;
}

#category_menu
{
    float: right;
    padding-right: 5px;
}

#category_menu #edit
{
    background: url(../images/edit_mini.png) center left no-repeat;
    padding-left: 18px;
}

#category_menu #delete
{
    background: url(../images/editdelete_mini.png) center left no-repeat;
    padding-left: 18px;
}

#add_cat_box, #categories_list, #articles_list
{
    border: solid 1px #ccc;
    background: #fbfbfc;
    margin: 1px;
}

#articles_menu
{
    display: block;
    width: 100%;
    margin: 1px;
    background: #b5c6d0 url(../images/articles_menu_bg.png) repeat-x center;
    height: 30px;
}

#articles_menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

#articles_menu li
{
    float: left;
}

#articles_menu a:link, #articles_menu a:visited
{
    padding: 3px 10px;
    display: block;
    color: #000;
    text-decoration: none;
    width: 100px;
    text-align: center;
}

#articles_menu a:hover, #articles_menu #move_to_selected
{
    padding: 2px 9px;
    border: solid 1px #fff;
    background: #358fef url(../images/articles_menu_bg_hover.png) repeat-x center;
    color: #fff;
}

#articles_list
{
    background: #fff url(../images/h1_bg.png) repeat-x top;
    min-height: 169px;
}

#articles_list #header
{
    overflow: hidden;
    width: 97%;
}

#articles_list #header td
{
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #eee;
    border-bottom: solid 1px #ccc;
    padding: 2px 0px;
}

#articles_list #header span
{
    padding: 0 5px;
}

#articles_list #list
{
    height: 150px;
    width: 100%;
    overflow: auto;
}

#articles_list #list table
{
    width: 97%;
    border-collapse: collapse;
}

#articles_list #list td
{
    border-bottom: solid 1px #eee;
}

#articles_list #list tr:hover
{
    background: #f6f6f6;
    cursor: pointer;
}

#articles_list #list a:link, #articles_list #list a:visited
{
    color: #000;
    text-decoration: none;
    display: block;
    padding: 2px 5px;
}

#articles_list .checkbox
{
    width: 20px;
    text-align: center;
}

#articles_list .title
{

}

#articles_list .date
{
    width: 130px;
    text-align: center;
}

#articles_list .size
{
    width: 40px;
    text-align: right;
}

#articles_list .scroll
{
    width: 5px;
    text-align: right;
    border-right: none;
}

#article_view
{
    border: solid 1px #ccc;
    background: #fefefe url(../images/article_view_bg.png) repeat-x top;
    margin: 1px;
    height: 100%;
}

#article_options
{
    float: right;
    padding: 5px;
}

#article_options img
{
    border: none;
}

#article_header h1
{
    background: transparent;
    border: none;
    font-size: 12pt;
    font-weight: bold;
    padding: 5px;
    margin: 0;
}

#article_header h2
{
    background: transparent;
    border: none;
    font-size: 8pt;
    font-weight: bold;
    margin: 0;
    color: #888;
    padding-left: 5px;
}

#article_header h2 a:link, #article_header h2 a:visited
{
    text-decoration: none;
    color: #5fb7d9;
}

#article_header h2 a:hover
{
    color: #066caa;
}

#article_header ul
{
    list-style: none;
    margin: 0;
    padding: 5px;
    color: #888;
}

#article_content
{
    position: relative;
    margin: 5px;
    padding: 5px;
    border: solid 1px #ccc;
    text-align: justify;
    overflow: scroll;
    height: 100%;
}

#article_content a:link, #article_content a:visited
{
    text-decoration: none;
    color: #066caa;
}

#article_content a:hover
{
    text-decoration: underline;
    color: #5fb7d9;
}

#article_content p
{
    margin: 10px 0 0 0;
}

.my_code
{
    background: #eee;
    border: solid 1px #ccc;
    font-family: "Courier New";
    padding: 0 5px;
}
