/* 
 * Default Theme
 *
 * Copyright 2009 Matthieu FAURE // Open-S: global clean-up
 * Copyright 2010 (c) FusionForge Team
 * http://fusionforge.org
 *
 * This file is part of FusionForge. FusionForge 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 2 of the Licence, or (at your option)
 * any later version.
 *
 * FusionForge 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 FusionForge; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Stylesheet for FusionForge default theme.
 * 
 * CONTENT: all generic styles (not page-related)
 * ========================================================
 */

/* HTML elements */
body {font-size:85%;font-family:"verdana",sans-serif;color:rgb(68,68,68);background-color:rgb(255,255,255);text-align:left;margin:0; }
form {margin:0; }
img {border:0; }
h1 {margin:0; }
h3 {font-size:100%; margin:0.5em 0;}
div#maindiv {margin:1em; }

a {text-decoration:none; color:rgb(1, 73, 144); }
a:hover {text-decoration: underline; color: rgb(247, 0, 0); }
a.userlink, #searchBox a {color: grey; }
a.userlink:hover, #searchBox a:hover {text-decoration: underline; color: grey;}
a.userlink:visited, #searchBox a:visited {text-decoration: none; color: grey; }
th, td {text-align:left; border:none; padding:3px;}
input[type="text"], input[type="password"], textarea {
	width: auto;
}

/* =header */
#header {
  /*background: rgb(66, 69, 82) url("../images/header/top-middle.gif") top left repeat-x;*/
  font-size:77%;
  margin: 0;
}
#header td {padding:0; }
#header p,
#header a {
  color: black;
  font-weight: bold;
}
#header-col1 {
  padding:0;	
} 
#header-col1 h1 {
    padding: 0;
    margin: 0;
}
#header-col2 {
  padding:0;
  text-align:center;	
}
#header-col3 {
  padding: 0 1em 0 0;
  text-align:right;
}

/* =searchBox */
#searchBox div {
  text-align:center;
clear.png}

span.alignleft {
	text-align: left;
	float: left;
	white-space: nowrap;
}
span.alignright{
	text-align: right;
	float: right;
	white-space: nowrap;
}
span.aligncenter {
	text-align: center;
	float: left;
	margin: 0 auto;
	white-space: nowrap;
}

/* =tabGenerator */
.tabGenerator {font-weight:bold; margin:0; font-size:0.8em; border-collapse: collapse;}
.tabGenerator td {padding:0;}
.tabGenerator .tg-left div div {
  background: 0 0 url(../imagesrf/toptab-new/left.jpg) no-repeat;
  display: block;
  width: 13px;
  height: 30px;
}
.tabGenerator .tg-middle {
  vertical-align: middle;
}
.tabGenerator .tg-middle div div {
  background: url(../imagesrf/toptab-new/middle.jpg);
  text-align:center;
  vertical-align: middle;
  height: 30px;
}
.tabGenerator .tg-right div div {
  background: 0 0 url(../imagesrf/toptab-new/right.jpg) no-repeat;
  display: block;
  width: 13px;
  height: 30px;
}

/*.tabGenerator .tg-middle div div div.tg-middle-text {
background: none;
  position:absolute;top:50%;margin: 
  
}*/
/*
.tabGenerator .tg-left div div.nested {width:5px; }
.tabGenerator .tg-right div div.nested {width:2px; }
.tabGenerator .tg-left div div.nested,
.tabGenerator .tg-middle div div.nested,
.tabGenerator .tg-right div div.nested {height: 22px; padding-top:0.5em; }

.tabGenerator .tg-left div.selected div {background-image:url(/themes/gforge/images/toptab-new/selected-left.gif); }
.tabGenerator .tg-middle div.selected div {background-image: url(/themes/gforge/images/toptab-new/selected-middle.gif); }
.tabGenerator .tg-right div.selected div {background-image: url(/themes/gforge/images/toptab-new/selected-right.gif)}

.tabGenerator .tg-left div div.nested {background:0 0 url(/themes/gforge/images/bottomtab-new/middle.gif); } 
.tabGenerator .tg-middle div div.nested {background:url(/themes/gforge/images/bottomtab-new/middle.gif); }
.tabGenerator .tg-right div div.nested {background: 0 0 url(/themes/gforge/images/bottomtab-new/separator.gif); }

.tabGenerator .tg-left div.selected div.nested {background:0 0 url(/themes/gforge/images/bottomtab-new/selected-middle.gif); }
.tabGenerator .tg-middle div.selected div.nested{background:url(/themes/gforge/images/bottomtab-new/selected-middle.gif);  }
.tabGenerator .tg-right div.selected div.nested {background: 0 0 url(/themes/gforge/images/bottomtab-new/selected-separator.gif); }*/

/* set padding only for non nested tabs */
.tabGenerator .tg-middle div div a {display:block; padding: 0.6em;}
.tabGenerator .tg-middle div div.nested a {display:inline; vertical-align:middle;}

/* set white color only for nested + selected tab */
.tabGenerator .tg-middle div div.nested a {color: black;}
.tabGenerator .tg-middle div.selected div.nested a {color: rgb(1,73,144);;}

/* =tabber */
.topTab, a.topTab, a.topTab:visited, a.topTab:hover{
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.topTabSelected, a.topTabSelected, a.topTabSelected:visited,
a.topTabSelected:hover {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.bottomTab, a.bottomTab, a.bottomTab:visited, a.bottomTab:hover {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.bottomTabSelected, a.bottomTabSelected, a.bottomTabSelected:visited, 
a.bottomTabSelected:hover {
  text-decoration: none;
  font-weight: bold;
  color: rgb(68, 68, 68);
  font-family: arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.topLeft {
  vertical-align: top;
  text-align: left;
}

.middleRight {
  vertical-align: middle;
  text-align: right;
}

.pane {
  color: rgb(112, 112, 112);
  background-color: white;
}

/*--------------------------------------------------
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
  display:none;
}

/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}
.tabberlive {
  margin-top:1em;
}

/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav {
  margin:0;
  padding: 3px 0;
  border-bottom: 1px solid #778;
}

ul.tabbernav li {
  list-style: none;
  margin: 0;
  display: inline;
}

ul.tabbernav li a {
  padding: 3px 0.5em;
  margin-left: 3px;
  border: 1px solid #778;
  border-bottom: none;
  background: #D0D0D0;
  text-decoration: none;
}

ul.tabbernav li a:link { color: #333333; }
ul.tabbernav li a:visited { color: #667; }

ul.tabbernav li a:hover {
  color: #000;
  background: #FED620;
  border-color: #227;
}

ul.tabbernav li.tabberactive a {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

ul.tabbernav li.tabberactive a:hover {
  color: #000;
  background: white;
  border-bottom: 1px solid white;
}

/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
  padding:5px;
  border:1px solid #aaa;
  border-top:0;
}

/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
  display:none;
}
.tabberlive .tabbertab h3 {
  display:none;
}

/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
  height:200px;
  overflow:auto;
}

.field-holder {
  clear: both;
}

/* Boxes (top / middle / bottom)
----------------------------------------------- */
.box-surround {
  margin-bottom: 1em;
}

.box-title-left {
  background-image: url(../imagesrf/box-topleft.jpg);
  background-repeat: no-repeat;
  background-position: top left;
}

.box-title-right {
  background-image: url(../imagesrf/box-topright.jpg);
  background-repeat: no-repeat;
  background-position: top right;
}

.box-title-content {
  background-image: url(../imagesrf/box-topcenter.jpg);
  color: white;
  margin: 0 12px;
  padding: 0.2em 0.1em 0.1em;
}

.box-content {
  /*background-image: url(../imagesrf/lateralIZblanco.gif);
  background-repeat: repeat-y;
  background-position: top right;*/
  margin: 0 12px;
  padding: 0.5em;
}

.box-vertleft {
  background-image: url(../imagesrf/lateralDEblanco.gif);
  background-repeat: repeat-y;
  background-position: top left;
}

.box-vertright {
  background-image: url(../imagesrf/lateralIZblanco.gif);
  background-repeat: repeat-y;
  background-position: top right;
}

.box-middle {
  /*background-image: url(../imagesrf/box-topcenter.jpg);*/
  font-weight: 700;
  /*font-size: medium;*/
  font-style:normal;
  font-family: "Arial","Helvetica", sans-serif;
  color: rgb(51,51,51);
  margin: 0 12px;
  padding: 0.2em 0.1em 0.1em;
}

.box-bottomleft {
  background-image: url(../imagesrf/esquinaIZblanca.jpg);
  background-repeat: no-repeat;
  background-position: top left;
}

.box-bottomright {
  background-image: url(../imagesrf/esquinaDEblanca.gif);
  background-repeat: no-repeat;
  background-position: top right;
}

.box-bottommiddle {
  background-image: url(../imagesrf/centroBlanco.gif);
  background-repeat: repeat-x;
  margin: 0 12px;
  padding: 0.2em 0.1em 0.1em;
}

.tabGenerator .tg-left div div.nested {width:13px; }
.tabGenerator .tg-right div div.nested {width:13px; }
.tabGenerator .tg-left div div.nested {height: 26px; padding-top:0.5em; }
.tabGenerator .tg-middle div div.nested {height: 26px; padding-top:0.5em; }
.tabGenerator .tg-right div div.nested {height: 26px; padding-top:0.5em; }

.tabGenerator .tg-left div.selected div {background-image:url(../imagesrf/toptab-new/selected-left.jpg); }
.tabGenerator .tg-middle div.selected div {background-image: url(../imagesrf/toptab-new/selected-middle.jpg); }
.tabGenerator .tg-right div.selected div {background-image: url(../imagesrf/toptab-new/selected-right.jpg)}

.tabGenerator .tg-left div div.nested {background:0 0 url(../imagesrf/clear.png); } 
.tabGenerator .tg-middle div div.nested {background:url(../imagesrf/clear.png); }
.tabGenerator .tg-right div div.nested {background: 0 0 url(../imagesrf/clear.png); }

.tabGenerator .tg-left div.selected div.nested {background:0 0 url(../imagesrf/clear.png);background-color:rgb(255,255,255)}
.tabGenerator .tg-middle div.selected div.nested{background:url(../imagesrf/clear.png); background-color:rgb(255,255,255) }
.tabGenerator .tg-right div.selected div.nested {background: 0 0 url(../imagesrf/clear.png); background-color:rgb(255,255,255)}

/* =ft (footer)
----------------------------------------------- */
#ft {
  text-align:center;
}

/* error_msg, warning_msg or feedback function
----------------------------------------------- */
.error {
    font-weight: bold;
    border-width: 2px;
    border-style: solid;
    background-color: #ff4940; /* red */
    border-color: red; /* red */
    padding: 0.5em;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.warning {
    font-weight: bold;
    border-width: 2px;
    border-style: solid;
    background-color: #ffd297; /* orange */
    border-color: #ffa500; /* orange */
    padding: 0.5em;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.feedback {
    font-weight: bold;
    border-width: 2px;
    border-style: solid;
    background-color: #aef26d; /* green */
    border-color: green; /* green */
    padding: 0.5em;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

/* scm
----------------------------------------------- */
.scm {
    width: 99%;
}
/*
sollte man versuchen die widget layouts anzupassen, muss aber zuerst im code geändert werden dass diese klassen auch benutzt werden
.widget_titlebar {
	background-image: url(../imagesrf/box-topcenter.jpg);
	font-weight: bold;
	text-align: center;
	color: white;
	height:20px;
	margin: 0 12px;
	padding: 0.2em 0.1em 0.1em;
}

.widget-vertleft {
  background-image: url(../imagesrf/lateralDEblanco.gif);
  background-repeat: repeat-y;
  background-position: top left;
}

.widget-vertright {
  background-image: url(../imagesrf/lateralIZblanco.gif);
  background-repeat: repeat-y;
  background-position: top right;
}

.widget-bottomleft {
  background-image: url(../imagesrf/esquinaIZblanca.jpg);
  background-repeat: no-repeat;
  background-position: top left;
}

.widget-bottomright {
  background-image: url(../imagesrf/esquinaDEblanca.gif);
  background-repeat: no-repeat;
  background-position: top right;
}

.widget-bottommiddle {
  background-image: url(../imagesrf/centroBlanco.gif);
  background-repeat: repeat-x;
  margin: 0 12px;
  padding: 0.2em 0.1em 0.1em;
}
*/


/*
        submenu
*/
.submenu {
        margin-top: 10px;
        margin-bottom: 25px;
        margin-left: 0;
        /*border-collapse: collapse;*/
        /*border-bottom: 1px solid #E2E3E4;*/
        border-spacing: 6px 0;
        padding-left: 0;
}

.submenu li {
        display: table-cell;
        margin-left: 5px;
        /*border: 1px solid #E2E3E4;*/
        height: 16px;
        padding: 5px;
        border-bottom: none;
        /*border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        -webkit-top-right-border-radius: 6px;
        -webkit-top-left-border-radius: 6px;
        -moz-border-radius-topright: 6px;
        -moz-border-radius-topleft: 6px;*/
        margin-right: 10px;
        /*background: white;*/
}

/*.submenu li:hover  {
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(white));
}*/


