/**
 * Tableless Layout for default template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author moraes <moraes@tipos.com.br>
 * @author Michael Klier <chi@chimeric.de>
 *
 * Modification for mmClean Theme
 * @author Marcin Mierzejewski <marcin@mierzejewski.net>
 */


/* -------------- top row --------------- */

/* block under the whole thing - incl corners */
div.page b.rtop,
div.page b.rbottom
{
    display:block;
    background: #A6C8E0;
}

/* top and bottom band w/o corners */
div.page b.rtop b,
div.page b.rbottom b
{
    display:block;
    height: 1px;
    overflow: hidden;
    background: #ffffff;
}

/* block under header box */
div.header b.rtop,
div.header b.rbottom
{
    display:block;
    background: #ffffff;
}

/* top and bottom band of header box w/o corners */
div.header b.rtop b,
div.header b.rbottom b
{
    display:block;
    height: 1px;
    overflow: hidden;
    background: #0077CE;
}

/* -------------- bottom band --------------- */

div.footer b.rtop,
div.footer b.rbottom
{
    display:block;
    background: #ffffff;
}

div.footer b.rtop b,
div.footer b.rbottom b
{
    display:block;
    height: 1px;
    overflow: hidden;
    background: #0077CE;
}

/* -------------- sidebar band --------------- */

div.sidebar b.rtop,
div.sidebar b.rbottom
{
    display:block;
    background: #ffffff;
}

div.sidebar b.rtop b,
div.sidebar b.rbottom b
{
    display:block;
    height: 1px;
    overflow: hidden;
    background: #0077CE;
}

/* these make up the 4 rows of pixels that form the rounded corners */
b.r1
{
    margin: 0 5px
}

b.r2
{
    margin: 0 3px
}

b.r3
{
    margin: 0 2px
}

b.rtop b.r4, b.rbottom b.r4
{
    margin: 0 1px;
    height: 2px;
}

/* band that includes the header and title */
.header
{
    margin-bottom: 0px;
    background:#0077CE;
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-position: top left;
}

.stylefoot
{
  display:block;
  border-top:1px solid #eaeaea;
  border-bottom:1px solid #eaeaea;
  margin-top:10px;
  font-weight:normal;
}

.pagename a:link, .pagename a:visited
{
  color:#0077CE;
  text-decoration:none;
}

.pagename a:hover, .pagename a:active
{
  color:#FF9933;
}

.logo
{
/*	float:right;*/
    font: 26px Papyrus, "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
	font-weight:normal;
	text-align:right;
    margin-right:13px !important;
    margin-left:280px !important;
    margin-right:9px;
    margin-top:9px;
    height: 100px;
}

.logo a:link, .logo a:visited, .logo a:hover, .logo a:active
{
	font-weight:bold;
	color:#F0512A;
	text-decoration:none;
	letter-spacing:2pt;
}

#bar_bottom {
  display:block;
  margin-bottom:3px;
}

/* ------------- File Metadata ----------------------- */

div.meta {
  float:left;
  color:#ffffff; #0077CE;
  font-size:0.8125em;
  line-height: 1.2em;
  text-align:left;
}

div.meta div.user {
  padding-left: 4px;
}

div.meta div.doc{
  padding-left: 4px;
}

/* ---------------  Media Selection  ----------------- */

div.uploadform {
  margin-top: 0.5em;
  border-top: 1px solid #8cacbb;
}

.mediaselect-left {
  float:left;
  padding: 0.5em;
  width:30%;
}

.mediaselect-right {
  float:right;
  border-left: 1px solid #8cacbb;
  padding: 0.5em;
  width:65%;
}

div.mediaref_head {
	margin-left:0.5em;
}

div.mediaref .search_result {
	padding-left:1em;
}

.mediaref_ref {
	color:#009900;
}

div.mediaref_hidden {
	margin-top:1em;
	text-align:center;
	font-size:1.2em;
	color:#BB0000;
}

div.mediaref_footer {
	margin-top:1em;
	text-align:center;
}

