/**
 * 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: #0B1960 url(../images/bg.jpg) repeat-x top center;
	color: #14336F;
}
a, a:visited, a:link, a:active {
    color: #1F97D5;
    text-decoration: none;
}
a:hover, a:focus {
    color: #14336F;
    text-decoration: underline;
}
h1,
h2 {
    color: #1A428F;
}
h3 {
    color: #1e6297;
}
h4 {
    color: #3986c3;
}
h5 {
    color: #333333;
}
h6 {
    color: #1e6297;
}
.description,
.unvalidated,
.postdetails,
.postedon {
    color: #838383;
}

/**************************** Tables ****************************/
.main-column thead th {
    color: #888888;
	border-bottom: 1px solid #14436F;
}
.main-column tbody th {
    color: #888888;
	border-bottom: none;
}
/* table with th border-bottom */
#searchresults thead th,
#filelist,
.tag-results #results {
	border-bottom: 1px solid #14436F;
}
/* table with tfoot border-top */
#searchresults tfoot td,
#adminstitutionslist tfoot td,
#profileicons tfoot td,
#activitylist tfoot td {
	border-top: 1px solid #14436F;
}
.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: #1e6297 !important;
}
.tablerenderer-loading {
    border: 1px solid #f4f7f9;
	background-color: #f4f7f9;
    color: #1e6297;
}
/* table with th border-bottom */
#searchresults thead th {
	border-bottom: 1px solid #14436F;
}
/* table with border-bottom */
#searchresults tfoot td {
	border-top: 1px solid #14436F;
}
/* Alternative row background colours */
.r0,
.r0 td {
    background-color: #e9f1f6;
}
.r1,
.r1 td {
    background-color: #f4f7f9;
}
tr.folder td {
	background-color: #d6dce0 !important;
}

/**************************** Pagination ****************************/
div.pagination a {
	background-color: #f4f7f9;
	border: 0;
}

/**************************** Forms ****************************/
/* Label */
label {
    color: #888888;
}
/* required */
.required th, .required label, .requiredmarker, #register_tandc_container th {
    color: #c81511;
}
/* override required colour to normal colour */
.required label.plain, .required.radio td label, .required.emaillist td label {
	color: #333333;
}

/* Legend */
legend {
	color: #1e6297;
}
legend a,
legend a:link,
legend a:visited,
legend a:active,
legend a:hover {
	color: #1e6297 !important;
}

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

/* Fieldset */
fieldset {
    border: 1px solid #14436F;
}


/****************************** Buttons ****************************/
/** input buttons **/
.btn,
input.submit,
input.cancel,
button,
.buttondk,
input.button,
input.select,
input#files_filebrowser_edit_artefact {
	background: #0b1962 url(../images/btn-bkgd.gif) repeat-x top;
	border-color: #476ee2 #011e3a #011e3a #476ee2;
	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 {
	background: #012cac url(../images/btn-bkgd-hover.gif) repeat-x top;
	border-color: #011e3a #476ee2 #476ee2 #011e3a;
	color: #FFF;
}
/** 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 {
	background: #012cac url(../images/btn-bkgd-hover.gif) repeat-x 1px;
	border-color: #011e3a #476ee2 #476ee2 #011e3a;
	color: #FFF;
}
/* buttons that look like links with icons */
.icon {
	color: #1F97D5;
}
/* buttons that look like links */
.linkbtn {
	color: #1F97D5; 
}

/* Search buttons */
#usf_submit,
#usf_submit:hover {
	background: transparent url(../images/btn-search.png) no-repeat !important;
	border: 0;
	color: #1F97D5;
	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: #1F97D5;
	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: transparent url(../images/bg-container.jpg) no-repeat top center;
    margin-top:0px;
    padding-top:0px;
    min-width: 970px;
    width: 90%;
}
#top-wrapper {
    background: transparent;
    border: none;
}
#containerX #top-wrapper {
	height: auto;
    background: transparent;
}
#loading-box {
    background-color: #ECF3D4 !important;
}
#site-logo {
	padding: 25px 25px 0 0
}
#top-wrapper ul,
#top-wrapper li {
    text-align: right;
    display: inline;
}
/* Search and language bar */
#usf_query_container input {
    color: #333333;
	width: 205px;
}

/**************** TOP NAVIGATION ****************/
#right-nav ul {
  margin: 1.5em 1em 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 {
	float: right;
    padding: 0;
    margin: 0;
	height: 27px;
	* clear: none;
}
#main-nav li {
    float:left;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.6em;
    font-weight: normal;
	font-size: 12px;
	margin: 0 0 0 3px;
	padding: 0;
}
#main-nav li a,
#main-nav li a:link,
#main-nav li a:visited,
#main-nav li a:active {
	margin: 0;
	padding: 5px 15px 3px;
	background: #00084F;
    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: #14336F;
	background: #FFFFFF;
	padding: 5px 15px 3px;
}
/**************** SUB NAVIGATION ****************/
#sub-nav {
    clear:both;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    background: #FFF;
    height: 30px;
	border:none;
	border-bottom:1px solid #DDD;
	width:100%;
}
#sub-nav ul {
    float:right;
	height: 15px;
	padding: 6px 10px 6px 10px;
	background: #FFF;
}
#sub-nav li {
    height: 25px;
    margin: 0 !important;
}
#sub-nav li a,
#sub-nav li a:link,
#sub-nav li a:visited,
#sub-nav li a:active {
    color: #14336F;
	height: 25px;
}
#sub-nav li a:hover {
    color: #1A428F;
    text-decoration: underline;
}
#sub-nav li.selected {
    height: 25px;
    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: #0B1960;
    text-decoration: underline;
}

/**************** IN PAGE TAB NAVIGATION ****************/
ul.in-page-tabs {
  line-height: 25px;
  height: 25px;
  font-size: 12px;
  display: block;
}
ul.in-page-tabs li {
  margin: 0 3px 0 0 !important;
  float: left;
  height: 25px;
  line-height: 25px;
}
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: #FFF;
  padding: 4px 10px 5px 10px;
  text-decoration: none;
  background: #00084F;
  line-height: 26px;
}
ul.in-page-tabs li a:hover {
  color: #1F97D5;
}
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: #14336F;
  background: #FFF;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 4px 10px 5px 10px;
}

.subpage {
	border: 1px solid #ddd;
}

/**************** MAIN CONTENT *****************/
#main-wrapper {
	background: #FFF;
}

/**************** SIDEBAR ******************/
#left-column,
#right-column {
	background: #F4F7F9 url(../images/pixel_grey.gif) repeat-y top left;
    padding:0px;
}
div.sideblock {
	border-bottom: 1px solid #DDD;
}
div.sideblock h3 a,
div.sideblock h3 a:link,
div.sideblock h3 a:visited,
div.sideblock h3 a:active {
	color: #1E6297;
}
div.sideblock h3 a:hover {
	color: #267bbd;
}

/* Side Login */
#sb-loginbox label {
	color: #1A428F;
}

/* Side Profile */
#sb-profile ul a,
#sb-profile ul a:link,
#sb-profile ul a:visited,
#sb-profile ul a:active {
	color: #1A428F;
}
#sb-profile ul ul a,
#sb-profile ul ul a:link,
#sb-profile ul ul a:visited,
#sb-profile ul ul a:active {
	color: #1F97D5;
}
#sb-profile li#pendingfriends a,
#sb-profile li#pendingfriends a:link,
#sb-profile li#pendingfriends a:visited,
#sb-profile li#pendingfriends a:active {
	color: #1F97D5 !important;
}


/* Side Quota Bar */
#quota_used {
    color: #3986c3;
}
#quota_total {
    color: #1F97D5;
}
#quota_bar,
#quota_bar_100 {
    background: url(../images/quota_bar_bg.gif) no-repeat left top;
    color: #FFF;
}
#quota_fill {
    margin: 0;
    background: url(../images/quota_bar_highlight.gif) repeat-x;
}

/* Side Search */
.sidebar #selfsearch input {
	width: 190px;
}


/******************** FOOTER ****************************/
#footer-wrap {
    background-color: #0B1960;
    border: 0;
	padding: .5em 0 1.5em 0;
}
#footernav  {
  color: #FFFFFF;
} 
#footernav a,
#footernav a:link,
#footernav a:active,
#footernav a:visited {
    color: #FFFFFF;
}
#footernav a:hover {
    color: #FFF;
}
#performance-info {
    color: #fff;
}
#performance-info span {
	color: #fff;
}
#version  {
  color: #FFFFFF;
} 


/****************************** PAGE BY PAGE STYLES **********************************/
/* Group: about */

/* Settings > Preferences */
#accountprefs table h3 {
	border-bottom: 1px dotted #888888
}


/* Home page info boxes */
.home-info {
    border: solid 2px #cccccc;
    background: #eeeeee;
}
.home-info p.subtitle {
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
}
.home-info-table {
	border: 0;
}

#micro #footer-wrap {
	background: transparent;
}
.viewheader a {
	color: #FFF;
}
.viewheader .title {
	color: #FFF;
}
