/**
 * 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     Evonne Cheung <evonne@catalyst.net.nz>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL
 * @copyright  (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
 */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: url(../images/background.gif) repeat;
    font-size: 12px;
	color: #474220;
}

.hidden {
    display: none;
}

a,
a:link,
a:active,
a:visited {
    color: #27a175;
    text-decoration: none;
}
a:hover {
    color: #27a175;
    text-decoration: underline;
}
a img {
    border: none;
}

p {
    margin: 10px 0 15px 0;
    padding: 0;
	line-height: 18px;
}

h1 {
    color: #182768 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin: 5px 0;
    padding: 0;
}
h2 {
    font-size: 16px !important;
    color: #048559 !important;
    font-weight: bold !important;
    margin: 0 0 5px 0;
    padding: 0;
}

h3 {
    color: #048559;
    font-weight: bold;
    font-size: 16px;
    margin: 20px 0 0;
}
h4 {
    font-size: 15px;
    color: #4aa0a1;
    font-weight: bold;
    margin: 15px 0 0;
}

h5 {
    color: #5c8727;
    font-weight: bold;
    font-size: 14px;
    margin: 5px 0 0;
}
h6 {
    font-size: 13px;
    color: #5c8727;
    font-weight: bold;
    margin: 5px 0;
}

form {
   margin: 0;
}

input.text, input.password, textarea, input, button {
    border: 1px solid #b2b2b2;
    padding: 1px 2px 1px 2px;
}
input.radio, input.checkbox {
    border: none;
}
select {
    border: 1px solid #d4d1c0;
    padding: 0;
}
div.grippie {
    border-color: #d4d1c0;
    border-style: solid;
    border-width: 0pt 1px 1px;
    background: #eeeeee url(../images/grippie.png) no-repeat scroll 100% 50%;
    cursor: s-resize;
    height: 14px;
}
/* td for grippie to work */
#main-column-container #profileform #profileform_address_container td,
#main-column-container #contactus #contactus_message_container td {
    padding: 0;
    margin: 0;
}


/* Default buttons to the big ones */
input.submit, 
input.submitcancel, 
input.cancelbackcreate, 
input.button, button {
    background: url(../images/button-bg.gif) repeat-x top left;
    height: 24px;
    margin: 5px 2px 0 0;
    padding: 0 10px;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
	border: 0;
}

label {
	color: #a1754a;
    font-weight: bold;
    padding: 0 5px 0 0;
    margin: 0;
}

.center {
    text-align: center;
}
.right {
    text-align: right;
}
.fullwidth {
    width: 100%;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.cl {
    clear: left;
}
.cr {
    clear: right;
}
.cb {
    clear: both;
}
.s {
    font-size: 11px;
    font-weight: normal;
}
.message {
	margin-top: 15px;
    padding: 10px;
    background-color: #f4f7e8;
    border: 1px solid #e5e8da;
    color: #547722;
    font-weight: bold;
    text-align: center;
}
.message p {
    margin: 0;
}
.message a {
    color: #819F18;
}

.description {
    font-size: 9px;
    color: #a3a3a3;
    padding-bottom: 5px;
}

/* CONTENT LAYOUT BEGIN */
#container {
    min-width: 975px;
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
	background-color: #FFF;
	  border-left: 1px solid #cecece;
	  border-right: 1px solid #cecece;
}

/* HEADER BEGIN */
#top-wrapper {
    background: #182768 url(../images/banner.gif) no-repeat top right;
	height: 94px;
}

#site-logo {
    padding: 0;
}


#top-wrapper ul,
#top-wrapper li {
    padding: 0;
    margin: 0;
    text-align: right;
    display: inline;
}




/* MAIN NAVIGATION BEGIN */
#main-nav {
    padding: 0;
    margin: 0;
	position: absolute;
	top: 64px;
	left: 230px;
	background: url(../images/topmenu-right.gif) no-repeat right top;
	line-height: 35px;
}
#main-nav li {
    display: inline;
    color: #e6c560;
    text-decoration: none;
    font-weight: bold;
	font-size: 12px;
	margin: 0 10px 0 0 !important;
	padding: 12px 0 0 0;
	line-height: 35px;
}
#main-nav li a,
#main-nav li a:link,
#main-nav li a:visited,
#main-nav li a:active {
	margin: 0;
	padding: 10px 5px 0 5px;
    color: #FFF;
	background: none;
}
#main-nav li a:hover {
    color: #e4ffb4;
    text-decoration: none;
}
#main-nav li.selectedleft {
	background: url(../images/topmenu-selected-left.gif) no-repeat left top;
	padding: 10px 3px;
	margin: 0 !important;
}
#main-nav li.selected {
	background: url(../images/topmenu-selected-right.gif) no-repeat right top;
	margin: 0 10px 0 0;
	padding: 10px 0;
	line-height: 35px;
}
#main-nav li.selected a,
#main-nav li.selected a:link,
#main-nav li.selected a:visited,
#main-nav li.selected a:active {
    color: #182768;
	padding: 0 10px 0 3px;
}
/* MAIN NAVIGATION ENDS */


/* SUB NAVIGATION BEGINS */
#sub-nav {
    padding: 0 0 0 15px;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    background: url(../images/submenu-bg.gif) repeat-x;
    height: 25px;
    text-transform: capitalize;
}
#sub-nav ul {
	height: 25px;
	padding: 5px 0;
	margin: 0;
}
#sub-nav li {
    display: inline;
    height: 25px;
    padding: 5px 13px 5px 8px;
    margin: 0;
	background: url(../images/submenu-divider.gif) no-repeat top right;
}
#sub-nav li.selected {
    display: inline;
    height: 25px;
    padding: 5px 13px 5px 8px;
    margin: 0;
	background: url(../images/submenu-over-bg.gif) repeat-x top right;
}
#sub-nav li a,
#sub-nav li a:link,
#sub-nav li a:visited,
#sub-nav li a:active {
    color: #474220;
	height: 25px;
}
#sub-nav li a:hover {
    color: #7e7327;
    text-decoration: none;
}
#sub-nav li.selected a:link,
#sub-nav li.selected a:visited,
#sub-nav li.selected a:active {
    color: #4c711d;
}
/* SUB NAVIGATION ENDS */


/* MAIN COLUMNS BEGIN */
#main-wrapper {
    padding: 0;
	margin: 0;
	clear: both;
}

#messages div {
    padding: 3px;
}
#messages .ok {
    color: #547c22;
    background: #e6f4ea;
    padding: 5px 5px 4px 5px;
}
#messages .error {
    color: #dd0221;
    background: #ffd3d9;
    padding: 5px 5px 4px 5px;
}
#messages .info {
    color: #1666a9;
    background: #d2ebff;
    padding: 5px 5px 4px 5px;
}

/* Just remove the close button for messages */
#messages div.fr {
    display: none;
}

#main-column {
    background-color: transparent !important;
    margin-right: 280px;
}
.main-column {
	width: 100%;
    background-color: transparent;
}
#right-column.homeloggedout {
	width: 237px;
	float: right;
	margin: 20px 15px 0 15px;
}
#right-column {
    width: 250px;
    float: right;
	margin: 0;
}

/* RIGHT SIDE */
#main-column-container.home div.sideblock h3 {
    padding: 0;
    margin: 3px 0 10px 0;
    font-size: 14px;
    color: #596190;
}
#main-column-container.home div.sideblock h3 a,
#main-column-container.home div.sideblock h3 a:link,
#main-column-container.home div.sideblock h3 a:visited,
#main-column-container.home div.sideblock h3 a:active {
	color: #596190 !important;
}
#main-column-container div.sideblock p {
    font-size: 11px;
}

#main-column-container #right-column ul.sidebar-ul-title {
	margin: 0 0 10px 0;
	padding: 0 0 0 0;
    font-size: 12px;
	font-weight: bold;
	color: #a1754a;
	list-style-image: none;
}
#main-column-container #right-column ul.sidebar-ul-title li {
	list-style: none;
	list-style-image: none;
	padding: 0;
	margin: 0;
}
#main-column-container #right-column div.sideblock ul.sidebar-ul-title a {
	color: #a1754a;
}
#main-column-container #right-column div.sideblock ul.sidebar-ul-title ul a {
	color: #27a175;
	font-weight: bold;
}
#main-column-container #right-column div.sideblock ul.sidebar-ul-title ul li {
	list-style-type: square;
	padding: 0;
	font-weight: normal;
    font-size: 11px;
	color: #27a175;
}
div.sideblock ul ul a {
	color: #27a175;
	font-weight: normal;
}


/* system messages in main content */
#main-column-container {
	padding: 20px;
	margin: 0;
    line-height: 18px;
}
#main-column-container ul {
    padding: 0;
    margin: 0 0 0 17px;
}
#main-column-container ul li {
	list-style: url(../images/list-circle.gif);
}


#main-column-container.home {
	background: url(../images/home-pict.jpg) no-repeat left top;
	margin: 0;
	padding: 0 0 15px 170px !important;
        _background: none; /* IE6 */
        _padding: 0 0 15px 30px; /* IE6 */
}
#main-column-container.home h1 {
	padding-top: 20px;
	margin: 0;
}
#main-column-container.home h2 {
	color: #048559;
}
#main-column-container.home h3 {
	color: #555f8b;
	font-size: 11px;
	margin: 0 0 0 5px;
}
#main-column-container.home #sample1, #main-column-container.home #sample2 {
	float: left;
	margin-right: 5px;
	height: 150px;
	width: 170px;
}
#main-column-container.home #videos {
    float: left;
}

#main-column-container.homebot {
	background: url(../images/dotted-across.gif) repeat-x top left;
}
#main-column-container.homebot h2 {
	margin-top: 10px;
	margin-bottom: 15px;
	font-size: 18px !important;
}
#main-column-container.homebot #column1 {
	float: left;
	width: 28%;
	padding: 10px 30px 10px 0;
	background: url(../images/dotted-down.gif) repeat-y top right;
	margin-bottom: 20px;
}
#main-column-container.homebot #column2 {
	float: left;
	width: 28%;
	padding: 10px 30px 10px 20px;
	background: url(../images/dotted-down.gif) repeat-y top right;
	margin-bottom: 20px;
}
#main-column-container.homebot #column3 {
	float: left;
	width: 28%;
	padding: 10px 0 10px 20px;
	margin-bottom: 20px;
}
#main-column-container.homebot #column1 h3 {
	background: url(../images/icon-arrow.gif) no-repeat;
	padding: 5px 0 10px 30px;
	margin: 0;
	font-size: 16px;
}
#main-column-container.homebot #column2 h3 {
	background: url(../images/icon-arrow.gif) no-repeat;
	padding: 5px 0 10px 30px;
	margin: 0;
	font-size: 16px;
}
#main-column-container.homebot #column3 h3 {
	background: url(../images/icon-arrow.gif) no-repeat;
	padding: 5px 0 10px 30px;
	margin: 0;
	font-size: 16px;
}
#main-column-container.homebot #column3 ul {
	margin-bottom: 15px;
}
.btn-register {
	background: url(../images/btn.gif) no-repeat;
	padding: 7px 21px;
	color: #FFF !important;
}
.btn-register:hover {
	text-decoration: none;
}

#clearall {
	clear: both;
}

#graybox {
	background: #eaeaea url(../images/loginbox-bot.gif) no-repeat bottom left;
	padding: 0 0 10px 0;
}
#graybox h2 {
	background: #eaeaea url(../images/loginbox-top.gif) no-repeat top left;
	padding: 10px 10px 0px 10px;
}
#graybox p {
	margin: 5px 12px;
	font-size: 11px;
}

#institutions th {
    text-align: left;
    padding-right: 1em;
}

#programme {
    border: 1px solid black;
}
#programme td {
    vertical-align: top;
    border: 1px solid black;
    padding: .5em;
}
#programme .pc {
    font-weight: bold;
}

/* LOGIN FOR COLUMN RIGHT ONLY BEGINS */
#loginbox {
	background: #eaeaea url(../images/loginbox-bot.gif) no-repeat bottom left;
	padding: 0;
}
#loginbox h2 {
	background: #eaeaea url(../images/loginbox-top.gif) no-repeat top left;
	padding: 10px 10px 0px 10px;
}
#loginbox label {
	padding: 0 10px;
}
#loginbox input.text,
#loginbox input.password {
    border: 1px solid #b1b1b0;
    padding: 2px 3px;
	margin-left: 10px;
    width: 205px;
}
#loginbox #login_submit_container {
    font-size: 9px;
    margin: 0 0 5px 0;
    padding: 5px 10px;
}
#login_submit_a {
	margin-top: 5px;
	margin-bottom: 5px;
	line-height: 12px;
}

#loginbox a,
#loginbox a:link,
#loginbox a:active,
#loginbox a:visited {
    font-size: 9px;
	padding-top: 3px;
    margin: 0 5px;
}

#newsbox {
	margin-top: 15px;
}
#newsbox h3 {
    color: #a1754a;
	font-size: 12px;
}
#newsbox p {
	margin: 0;
	font-size: 11px;
	line-height: 14px;
}
.date {
	font-size: 9px;
	color: #acacac !important;	
}
.reference {
	font-size: 11px;
	color: #acacac !important;	
}
/* LOGIN FOR COLUMN RIGHT ONLY ENDS */



/* MAIN CONTENT END */


/* FOOTER BEGIN */
#footer-wrap {
    clear: both;
    background-color: #717277;
    padding: 0 0 20px 0;
    color: #d3d3d3;
    font-size: 11px;
}
#footer {
    height: 16px;
    margin: 0;
    padding: 23px 0 0 0;
    font-size: 11px;
    color: #d3d3d3;
    text-align: left;
    background-color: #717277;
}
#footer a,
#footer a:link,
#footer a:active,
#footer a:visited {
    color: #d3d3d3;
    text-decoration: none;
	padding: 0 5px;
}
#footer a:hover {
    color: #fff;
    text-decoration: none;
}
#poweredby {
	float: left;
	padding: 13px 5px 0 20px;
}
/* FOOTER ENDS */
/* CONTENT LAYOUT ENDS */
