/**
 * 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     Richard Hand <richard@tdm.info>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @copyright  (C) 2008,2009 TDM http://tdm.info
 */

body {
    background: #B9CDFF;
}
/* TITLES */
h1 {
    color: #1e3695;
}
h2 {
    color: #1e3695;
}
h3 {
    color: #555555;
}
h4 {
    color: #3986c3;
}
h5 {
    color: #616161;
}
h6 {
    color: #616161;
}

div.sidebar h3 {
	color: #545454;
}

/* LINKS */
a,
a:link,
a:active,
a:visited {
    color: #3250c8;
}
a:hover {
    color: #102061;
}
/* links that should show as big light buttons */
#btn-logout {
	background-color: #304dc4;
}
.addicon a {
	background-color: #304dc4;
}
/* links that should show as big dark buttons */
#btn-settings {
	background-color: #162a79;
}
.viewicon a {
	background-color: #162a79;
}

/* PAGINATION */
.pagination a, .pagination .disabled {
    border: 1px solid #2844b3;
}

/* Default light buttons to the big ones */
input.submit, 
input.button, button {
    background-color: #304dc4;
}
/* Default dark buttons to the big ones */
input.submitcancel, 
input.cancelbackcreate,
#settings_delete {
    background-color: #162a79;
}
/* Ones inside tables should be smaller... */
.maincontent table input.button, 
.maincontent table input.submit, 
.maincontent table input.submitcancel, 
.maincontent table button {
	background-color: #304dc4;
}
/* Unless shouldn't */
.maincontent .pieform table input.submit,
.maincontent .pieform table button,
#view-wizard-controls input.submit {
    background-color: #304dc4;
}
input#cancel_profileform_topsubmit,
input#cancel_profileform_submit,
#register #register_submit_container input#cancel_register_submit,
#sendmessage input#cancel_sendmessage_submit,
#invitetogroup input#cancel_invitetogroup_submit,
#editview input#cancel_editview_submit,
#viewcolumns #viewcolumns_submit_container input#cancel_viewcolumns_submit,
#newblog #newblog_submit_container input#cancel_newblog_submit,
#editblog #editblog_submit_container input#cancel_editblog_submit,
#creategroup input#cancel_creategroup_submit,#requestjoingroup #requestjoingroup_submit_container input#cancel_requestjoingroup_submit,
#editgroup input#cancel_editgroup_submit,
#addtopic input#cancel_addtopic_submit,
#editpost #editpost_submit_container input#cancel_editpost_submit,
#edit_interaction #edit_interaction_submit_container input#cancel_edit_interaction_submit,
#edittopic #edittopic_submit_container input#cancel_edittopic_submit,
#institution #institution_submit_container input#cancel_institution_submit,
#auth_config #auth_config_submit_container input#cancel_auth_config_submit,
#employmenthistory #employmenthistory_submit_container input#cancel_employmenthistory_submit,
#educationhistory #educationhistory_submit_container input#cancel_educationhistory_submit,
#certification #certification_submit_container input#cancel_certification_submit,
#book #book_submit_container input#cancel_book_submit,
#membership #membership_submit_container input#cancel_membership_submit,
#removefriend #removefriend_submit_container input#cancel_removefriend_submit {
	background-color: #162a79 !important;
}

/* LABEL */
tr.required label,
tr.required th,
.required td label,
.required td,
.requiredmarker {
    color: #5173fa;
}
/* labels that ended up with required colour but needs to be normal */
.emaillist .validated label {
	color: #636363;
}

/* HEADER ELEMENTS */
/*Cabecera logo agregado*/
#topwrapper{
background: url(../images/logo1.gif) repeat-x top left;
}
#logo{
height: 88px;
}
/* search box in header */
#searchform_query_container input {
	background-color: #ecf3d4;
}
#mainnav li a,
#mainnav li a:link,
#mainnav li a:visited,
#mainnav li a:active {
	background: url(../images/menu-dividerbg.gif) no-repeat left;
}
#mainnav li a:hover {
    color: #ddeeff;
}
#mainnav li.selected a:link,
#mainnav li.selected a:visited,
#mainnav li.selected a:active {
    color: #eeeeff;
	background: url(../images/menu-over-bg.gif) no-repeat left;
}
/* Sub menu */
#subnav li a,
#subnav li a:link,
#subnav li a:visited,
#subnav li a:active {
    color: #636363;
}
#subnav li a:hover {
    color: #343434;
}
#subnav li.selected a:link,
#subnav li.selected a:visited,
#subnav li.selected a:active {
    color: #1e3695;
}
#subnav li.groupname {
    background: url(../images/menu-over-bg.gif) repeat-x left;
    color: #eeeeff;
}
/*Modificado para que se ajuste el submenu en IE6*/
#subnav{
	margin: 14px 0px;
}
* html #subnav{	
	margin: 0px;  	
}

/* RIGHT SIDE COLUMN */
div.sidebar h3 a,
div.sidebar h3 a:link,
div.sidebar h3 a:visited,
div.sidebar h3 a:active {
	color: #3250c8 !important;
}
div.sidebar ul {
	color: #3250c8;
}
div.sidebar ul a {
	color: #3250c8;
}
div.sidebar ul ul {
	color: #3250c8;
}
/* side profile */
div.sidebar ul.sidebar-ul-title ul a {
	color: #3250c8;
}
.unreadmessagecount {
	color: #3986c3 !important;
}
.unreadmessages {
	color: #3986c3 !important;
}

/* Side Quota Bar */
#quota_bar, #quota_bar_100 {
    background: url(../images/quota_bar_bg.gif) no-repeat;
    color: #616161;
}
#quota_bar_100 {
    background: url(../images/quota_bar_full.gif) no-repeat;
}
#quota_used {
    color: #3986c3;
}
#quota_total {
    color: #3250c8;
}
#quota_fill {
    background-image: url(../images/quota_bar_highlight.gif);
}
/* Side Friends control */
#friendscontrol #friendscontrol_friendscontrol_container label {
	color: #636363;
}
/* side login */
#login label {
    color: #3986c3;
}
#column-right #login_login_username_container input,
#column-right #login_login_password_container input {
	background-color: #ecf3d4;
}
/*Agregado*/
#column-right #login a.registro
{
    font-size: 1.6em;
	font-weight: bold;
}
/* Side search */
.sidebar #selfsearch button,
#search_submit_container #search_submit {
	background: url(../images/btn_search_off.gif) no-repeat;
}
.sidebar #selfsearch input {
	background-color: #ecf3d4;
}

/* MAIN CONTENT */
/* Alternative row background colours */
.r0 {
    background-color: #c8d9e6;
}
.r1 {
    background-color: #f4f7f9;
}
/* REGISTER */
#register_tandc_container th {
    /* special case rule required because pieforms outputs labels for each of
       the radio options rather than the header itself */
    color: #5173fa;
}
#register td label {
	color: #636363; /* Yes & No need to be normal colour */
}

/* PROFILE */
#userview .user-icon input#invite_submit {
	color: #3250c8;
}
#userview #addmember_submit {
	color: #3250c8;
}

/* PROFILE > MY RESUME */
#addemploymenthistorybutton,
#addeducationhistorybutton,
#addcertificationbutton,
#addbookbutton,
#addmembershipbutton {
	background-color: #304dc4;
}

/* MY PORTFOLIO > MY VIEWS */
#myviewstable .viewitem a,
#myviewstable a#link-artefacts,
.link-artefacts,
.links-members {
	color: #3986c3 !important;
}
#myviewstable .viewitem a#editviewdetails,
#myviewstable .viewitem a#editthisview,
#myviewstable .viewitem a#editviewaccess {
	color: #3250c8 !important;
}
#viewacl_lhs #results .button {
    color: #3250c8;
}
#potentialpresetitems button {
	color: #3250c8;
}
button#dosearch {
	background: url(../images/btn_search_off.gif) no-repeat;
}
#editaccess #results td button {
	color: #3250c8;
}
#editaccess_submit_container input#editaccess_submit {
	background-color: #304dc4 !important;
}

/* MY PORTFOLIO > MY FILES */
#foldernav {
    background: url(../images/foldernav.gif) no-repeat left 2px;
}
#filelist tr.highlight-file td {
    background: #fffcd8 url(../images/highlight-bg.gif) repeat left top !important;
}

/* MY PORTFOLIO > MY BLOGS */
.settingsicon a {
	background-color: #162a79;
}
.blogpost-attachments tr.r0 td,
.blogpost-attachments tr.r1 td {
	color: #636363;
}
#browsebutton {
	background-color: #162a79;
}
#myblogs input.edit {
	background: url(../images/icon-edit.gif) no-repeat left 5px;
	color: #3250c8;
}
#myblogs input.publish {
	background: url(../images/icon-publish.gif) no-repeat left 5px;
	color: #3250c8;
}
#myblogs input.delete {
	color: #3250c8;
}

/* GROUPS > VIEWING A GROUP */
#grouppage-tabs ul {
  background: url(../images/submenu-bg.gif) repeat-x;
}
#grouppage-tabs ul li {
  background: url(../images/submenu-divider.gif) no-repeat top right;
}
#grouppage-tabs ul li.selected {
  background: url(../images/submenu-over-bg.gif) repeat-x top right;
}
#grouppage-tabs li a {
  color: #636363;
}
#grouppage-tabs li.selected a {
  color: #1e3695;
}
#grouppage-container h2 {
    font-size:18px;
}
#membersearchresults .removeform input {
    color: #3250c8;
}

/* GROUPS > GROUP VIEWS */
#groupviewoptions li.current a {
    color: #1e3695;
}
#groupviewoptions li a {
    color: #636363;
}

/* GROUPS > FIND GROUPS */
#grouppage-container #results{
	height: auto !important;
	height:100px;	
}
#search_search {
	background: url(../images/btn_search_off.gif) no-repeat;
}

/* GROUPS > FIND FRIENDS */
#friendslist .friendinfo .fr a#btn-request {
	background-color: #304dc4;
}
.btn-editdk {
	background-color: #304dc4;
}
.btn-deletedk {
	background-color: #162a79;
}

/* FORUM > EDIT FORUM */
#edit_interaction_moderator_container table td button {
	background-color: #304dc4;
}
#edit_interaction_moderator_container button#moderator_search_btn {
	background: url(../images/btn_search_off.gif) no-repeat !important;
}

/* SETTINGS > PREFERENCES */
#accountprefs td label {
	color: #636363;
}

/* SETTINGS > NOTIFICATIONS */
#activitylist td.markasreadtd .markasread input.btn-delete {
	background-color: #162a79 !important;
}

/* ADMIN HOME */
/* Administration Home styles */
.upgradeicon a {
	background-color: #304dc4;
}
#register-site form legend {
	color: #3250c8;
}
#register-site form legend a {
	color: #3250c8 !important;
}
/* FOOTER */
#footerwrap {
    background-color: #106792;
    color: #bdb582;
}
#footer {
    color: #bdb582;
    background-color: #106792;
}
/* MANAGE USERS > USER SEARCH */
.query-button,
#query-button {
	background: url(../images/btn_search_off.gif) no-repeat;
}

/* MANAGE USERS > SITE STAFF */
#staffusers_users_container table td button {
	background-color: #162a79;
}
#staffusers_users_container table td #users_search_btn {
	background: url(../images/btn_search_off.gif) no-repeat;
}

/* MANAGE USERS > SITE ADMINS */
#adminusers #adminusers_users_container table td button {
	background-color: #162a79;
}
#adminusers #adminusers_users_container table td #users_search_btn {
	background: url(../images/btn_search_off.gif) no-repeat;
}

/* MANAGE INSTITUTIONS > INSTITUTIONS */
.institutionedituserbuttons input {
	background-color: #162a79;
}

/* MANAGE INSTITUTIONS > INSTITUTION MEMBERS */
#institutionusers #institutionusers_users_container td button {
	background-color: #162a79;
}
#institutionusers #institutionusers_users_container button#users_search_btn {
	background: url(../images/btn_search_off.gif) no-repeat;
}
/*Formato de Tabla para ver todos los contactos*/
#allfriendstable {
	width: 100%;
	* width: 98%;
	border-top: 1px solid #95a8b7;
	border-bottom: 1px solid #95a8b7;
}
#allfriendstable td{	
	width: 33%;
	font-size: 0.9em;
}
#allfriendsul li.inicio{
clear:left;
}
#allfriendsul li{
	float:left;
	list-style:none;
	display:inline;
	width: 30%;
	margin-bottom:15px;
}
.forumpost td.new{
	margin:0;
	background-color: #95a8b7;
}
.forumpost td.new h4{
	margin:0px;
	color: #FFF;
	text-align:left;
}
input.text{
	width:250px;
}
.ayuda{
	border: 1px solid #162a79;
	background-color: #f4f7f9;
	padding: 5px;
}
.lastpostgroup{
	background: url(../images/fondoenlaces.png) no-repeat top right;
	border: 1px solid #162a79;
	padding: 5px;
}