/**
 * Mahara: Electronic portfolio, weblog, resume builder and social networking
 * Copyright (C) 2006-2007 Catalyst IT Ltd (http://www.catalyst.net.nz)
 *
 * 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/>.
 *
 * @author     Paul Walker <paul.walker@catalyst-eu.net>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @copyright  (C) 2009 Catalyst IT Europe http://catalyst-eu.net
 */

/* General rules */
body,
body#micro {
  background: #e99adb url(../images/bg1.jpg) no-repeat top center;	
	color: #360435;
  font-family: Arial, Helvetica, sans-serif;
}
acronym {
    border-bottom: 1px dotted #d4d1c0;
}
a, a:visited, a:link, a:active {
    color: #81081;
    text-decoration: none;
}
a:hover, a:focus {
    color: #5A0757;
    text-decoration: underline;
}
h1,
h2 {
    color: #3C083F;
}
h3,
h4 {
    color: #360435;
}
h5,
h6 {
    color: #5A0757;
}
.description,
.unvalidated,
.postdetails,
.postedon {
    color: #5A0757;
}


/**************************** Tables ****************************/
.main-column thead th {
    color: #360435;
	border-bottom: 1px dotted #360435;
}
.main-column tbody th {
    color: #360435;
	border-bottom: none;
}
/* table with th border-bottom */
#searchresults thead th,
.filelist,
.tag-results #results {
	border-bottom: 1px dotted #360435;
}
/* table with tfoot border-top */
#searchresults tfoot td,
#adminstitutionslist tfoot td,
#profileicons tfoot td,
#activitylist tfoot td {
	border-top: 1px dotted #360435;
}
.main-column table h3 a,
.main-column table h3 a:visited,
.main-column table h3 a:link,
.listing div h3 a,
.listing div h3 a:visited,
.listing div h3 a:link {
	color: #5A0757 !important;
}
.main-column table h3 a:hover,
.listing div h3 a:hover {
}
.tablerenderer-loading {
    border: 1px solid #490647;
	background-color: #FFF;
    color: #FFF;
}
/* table with th border-bottom */
#searchresults thead th {
	border-bottom: 1px solid #360435;
}
/* table with border-bottom */
#searchresults tfoot td {
	border-top: 1px solid #360435;
}
/* Alternative row background colours */
.r0,
.r0 td {
    background-color: #f4e7f5;
}
.r1,
.r1 td {
    background-color: #faeefb;
}
tr.folder td {
}

/**************************** Forms ****************************/
/* Label */
label {
    color: #360435;
}
/* required */
.required th, .required label, .requiredmarker, #register_tandc_container th {
    color: #360435;
}
/* override required colour to normal colour */
.required label.plain, .required.radio td label, .required.emaillist td label {
	color: #474220;
}
/* description */
.pieform td.description {
}

/* Legend */
legend {
	color: #5A0757;
	margin-bottom:5px;
}
legend a,
legend a:link,
legend a:visited,
legend a:active {
	color: #5A0757 !important;
}

/* Select */
select {
    border: 1px solid #b2b2b2;
}

/* Fieldset */
fieldset {
    border: 1px solid #5c0758;
}
/* Text fields and such */
input.text, 
input.password, 
input.file,
textarea,
input[type=text],
input[type=password],
input[type=file] {
    border: 1px solid #aaaaaa;
}
input.text.required {
    border-color: #cc0000;
}

/****************************** Buttons ****************************/
/** input buttons **/
.btn,
input.submit,
input.cancel,
button,
.buttondk,
input.button,
input.select,
input#files_filebrowser_edit_artefact,
ul.groupuserstatus li a {
    background: #861d80 url(../images/btn-bkgd.gif) repeat-x top;
	border-color: #e675d3 #3C083F #3C083F #e675d3;
	color: #FFF !important;
}
/** hover for buttons **/
.btn:hover,
input.submit:hover,
input.cancel:hover,
button:hover,
.buttondk:hover,
input.button:hover,
input.select:hover,
input#files_filebrowser_edit_artefact:hover,
ul.groupuserstatus li a:hover {
	color: #FFF;
	border-color: #3C083F #e675d3 #e675d3 #3C083F;
    background: #c94cb4 url(../images/btn-bkgd-hover.gif) repeat-x top;
}
/** Depress for buttons **/
.btn:active,
input.submit:active,
input.cancel:active,
button:active,
.buttondk:active,
input.button:active,
input.select:active,
input#files_filebrowser_edit_artefact:active,
ul.groupuserstatus li a:active {
	border-color: #3C083F #e675d3 #e675d3 #3C083F;
    background: #c94cb4 url(../images/btn-bkgd-hover.gif) repeat-x 1px;
	color: #FFF;
}
/* buttons that look like links with icons */
.icon {
	color: #5A0757;
}
/* except those that shouldn't */
span.btn a.icon, a span.icon {
	color: #FFF;
}
/* buttons that look like links */
.linkbtn {
	color: #5A0757; 
}

/* Search buttons */
#usf_submit,
#usf_submit:hover {
	background: transparent url(../images/btn-search.png) no-repeat !important;
	border: 0;
	color: #5A0757; 
	text-indent: -999px;
	font-size: 1%;
	cursor: pointer;
	vertical-align: bottom;
	height: 24px;
	width: 24px;
	margin-left: 2px;
}
* html #usf_submit {
	height: 22px;
}
#selfsearch button,
.query-button,
#moderator_search_btn,
#search_search,
#selfsearch button,
#search_submit,
.btn-search,
#selfsearch button:hover,
.query-button:hover,
#moderator_search_btn:hover,
#search_search:hover,
#selfsearch button:hover,
#search_submit:hover,
.btn-search:hover {
	background: transparent url(../images/btn-search.png) no-repeat !important;
	border: 0;
	color: #5A0757; 
	text-indent: -999px;
	font-size: 1%;
	cursor: pointer;
	vertical-align: bottom;
	height: 24px;
	width: 24px;
	margin-left: 2px;
}


/**************************** Top of page elements ****************************/
#container, #containerX {
    background-color: transparent;
    margin-top:0px;
    padding-top:0px;
    min-width: 970px;
    width: 90%;
}
#top-wrapper {
    background: transparent;
    border: none;
}
#loading-box {
    color: #fff;
    background-color: #8E1901;
}
#site-logo {
	padding: 25px 25px 0 0
}
/* Search and language bar */
#language-select {
	margin: 0;
} 
#usf {
	margin: 0;
}
#usf_query_container input {
    color: #490647;
	width: 195px;
}

/**************** TOP NAVIGATION ****************/
#right-nav ul {
  margin: 1.1em 0 1em 0;
  min-width: 20em;
}
#right-nav li {
  padding: 0 0 0 1em;
}
#right-nav li a {
  color: #FFF;
}
#right-nav li.selected a {
  color: #FFF;
  text-decoration: underline;
}

#main-nav {
    padding: 0;
    margin: 0;
    background: transparent;
}
#main-nav ul {
	float: right;
}
#main-nav li {
    float:left;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: normal;
	font-size: 12px;
    line-height: 20px;
	margin: 0 0 0 5px;
	padding: 0;
}
#main-nav li a,
#main-nav li a:link,
#main-nav li a:visited,
#main-nav li a:active {
	margin: 0;
    padding: 6px 15px 7px;
	background: #5A0757 url(../images/mainnav-bg.gif) repeat-x top center;
    color: #FFFFFF;
	width:auto;
	display:block;
}
#main-nav li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
#main-nav li.selected a,
#main-nav li.selected a:link,
#main-nav li.selected a:visited,
#main-nav li.selected a:active {
    color: #FFFFFF;
    font-weight: bold;
    padding: 6px 15px 7px;
	background: #5c0758;
}

/**************** SUB NAVIGATION ****************/
#sub-nav {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    background: #5c0758 url(../images/subnav-bg.gif) repeat-x top center;
    height: 35px;
	width:100%;
	border: none;
}
#sub-nav ul {
    float: right;
	padding: 8px 0 5px 0;
	background: transparent;
}
#sub-nav li {
    padding: 5px 13px 5px 13px;
    line-height: 20px;
    height: 35px;
    margin: 0 !important;
}
#sub-nav li a,
#sub-nav li a:link,
#sub-nav li a:visited,
#sub-nav li a:active {
    color: #FFFFFF;
}
#sub-nav li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
#sub-nav li.selected {
    margin: 0;
	background: transparent;
}
#sub-nav li.selected a,
#sub-nav li.selected a:link,
#sub-nav li.selected a:visited,
#sub-nav li.selected a:active {
    color: #FFFFFF;
    text-decoration: underline;
}

/**************** IN PAGE TAB NAVIGATION ****************/
ul.in-page-tabs li a,
ul.in-page-tabs li a:link,
ul.in-page-tabs li a:visited,
ul.in-page-tabs li a:active {
  color: #ffffff;
  font-weight: normal;
  background-color: #5c0758;
  padding: 4px 10px;
}
ul.in-page-tabs li a:hover {
  color: #ffffff;
  background-color: #5c0758;
  text-decoration: underline;
}
ul.in-page-tabs li a.current-tab,
ul.in-page-tabs li a.current-tab:link,
ul.in-page-tabs li a.current-tab:visited,
ul.in-page-tabs li a.current-tab:active {
  color: #ffffff;
  font-weight: bold;
  background-color: #841c7f;
}

.subpage {
  border: 1px solid #841c7f;  
}


/**************** MAIN CONTENT *****************/
#containerX #main-wrapper {
	background: #FFF;
}
#main-column {
    display: block;
    margin: 15px 0;
    padding: 20px 15px;
	background: #ffffff;
	border: 1px solid #3B0539;
}

/* system messages between nav and main content */
/* different message types */
#messages .ok,
div.ok {
    color: #3C083F;
    background-color: #f7d4fa;
}
#messages .error,
div.error {
    color: #dd0221;
    background-color: #f7d4fa;
}
#messages .info {
    color: #1666a9;
    background-color: #f7d4fa;
}
/* system messages */
.message {
	color: #360435;
    background-color: #e8c1ea;
    border: 1px dotted #360435;
}


/**************** SIDEBAR *********/
#left-column,
#right-column {
	padding: 0;
}
div.sideblock {
	color: #e8c1ea;
	background: #490647 url(../images/bg-block.jpg) repeat-x top center;
	margin: 15px 0 0 15px;
    padding: 8px 15px 15px 15px;
}
div.sideblock h3 {
    color: #e8c1ea;
}
div.sideblock a,
div.sideblock a:link,
div.sideblock a:visited,
div.sideblock a:active {
	color: #e8c1ea;
}
div.sideblock label {
	color: #e8c1ea;
}
div.sideblock ul ul {
	color: #e8c1ea;
}


/* Side Quota Bar */
#quota_used {
    color: #A955AD;
}
#quota_total {
    color: #A955AD;
}
#quota_bar, 
#quota_bar_100 {
    background: url(../images/quota_bar_bg.gif) no-repeat;
}
#quota_fill {
    background-image: url(../images/quota_bar_highlight.gif);
}


/* Friends control sideblock */
div.sideblock #friendscontrol label {
	color: #fff;
}


/******************** FOOTER ****************************/
#footer-wrap {
    background-color: transparent;
    border: 0;
}
#footernav {
    color: #5A0757;
} 
#performance-info {
    color: #5A0757;
}
#performance-info span {
    color: #5A0757;
}
#version {
    color: #5A0757;
}


/****************************** PAGE BY PAGE STYLES **********************************/


/* Settings > Preferences */
#accountprefs table h3 {
    border-bottom: 1px dotted #360435 !important;
}


/* Home page info boxes */

.home-info {
    border: solid 2px #F4E7F5;
    background: #FAEEFB;
}
.home-info p.subtitle {
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
}
.home-info-table {
	border: 0;
}

#containerX #top-wrapper {
	background: transparent;
}
#containerX #top-wrapper .selected a {
	color: #333;
}
#containerX #top-wrapper a,
#containerX #top-wrapper a:hover,
#containerX #top-wrapper a:active {
	color: #ffffff;
}
.viewheader .title {
	color: #FFF;
}
#containerX #top-wrapper .viewheader .title a {
	color: #FFF;
}
#micro #footer-wrap {
	background: transparent;
}


/* collection */
ul.colnav li a {
	color: #FFF;
}
