/* TKI Global Style Sheet
 *
 * Please use 4 spaces to tab out attributes.
 *
 * tama@cwa.co.nz
 * created: 06.02.2004
 * updated: 28.06.2004
 *
 *
 * Contents
 * -------------------------------
 *
 * IMPORT COMMUNITY HEADERS
 * REDEFINE HTML TAGS
 * PAGE STRUCTURE
 * - General
 * - Head tabs
 * - Head banner
 * - Head login
 * - Language tabs
 * - Content area
 * - Right navigation
 * - Footer
 * CUSTOM CLASSES
 * - General
 * - Calendar
 * - Form elements
 * - News
 * - Quicksearch
 * - My Kete
 */



/*
IMPORT COMMUNITY HEADERS
--------------------------------------
*/

@import url(../e/css/tki-banner-classes.css);










/*
REDEFINE HTML TAGS
--------------------------------------
*/

html, body {
    background: #fff;
    color: #000;
    margin: 0;
    padding: 0;
}

body, p, td, th, ul, ol, li, blockquote, input {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 85%;
    /* Hide from IE5 mac \*/
    

font-size: 90%;

    /* End hide from IE5/mac */    
}

/* This fixes the display in Opera where nested elements would have they're text size reduced twice */
table p, table ul, table ol, table li, table blockquote, table input {
    font-size: 100%;
}

h1 {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 1.40em;
    font-weight: normal;
}

h2 {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
}

h2.line {
    border-bottom: 2px solid #f60;
}

h3 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1.0em;
    font-weight: bold;
    margin-top: 0;
}

h4 {

}

h5 {

}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    	/* color:#0000FF; was #36c SC-090505 */
    text-decoration: underline;
}

a:visited {
    	/* color:#006080;was #669 SC-090505 */
}

a:hover {
    	/* color:#0000FF; was #36c SC-090505 */
    text-decoration:none;
}

img {
    border: 0;
}


/*
PAGE STRUCTURE
--------------------------------------
*/





/*
General
------------------
*/
#head-section {
    width: 750px;
    margin-left: auto;
    margin-right: auto;
}


/*
Head tabs
------------------
*/

#head-tabs {
    width: 100%;
    padding-top: 6px;
    background: #fff;
}

#head-tabs ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 21px;
    border-bottom: 3px solid #f60;
}

#head-tabs li {
    display: block;
    float: left;
    margin: 0 3px 0 0;
    text-align: center;
    height: 20px;
    width: 80px;
    voice-family: "\"}\"";
    voice-family: inherit;
    width: 78px;
}

html>body #head-tabs li{
    width: 78px;
}

#head-tabs li a {
    width: 100%;
    display: block;
    font-size: 0.89em;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    padding-top: 0.4em;
    height: 17px;
}

#head-tabs li a:hover {
    color: #000;
    text-decoration: underline;
}

#head-tabs li a:visited {
    color: #000;
}

#head-tabs li.head-tab {
    border-left: 1px solid #f90;
    border-top: 1px solid #f90;
    border-right: 1px solid #f90;
    background: #ffc;
}

#head-tabs li.head-tab-on {
    border-left: 1px solid #f60;
    border-top: 1px solid #f60;
    border-right: 1px solid #f60;
    background: #f90;
}





/*
Head banner
------------------
*/

#head-banner {
    display: block;
    width: 100%;
    height: 50px;
}

#head-banner h1 {
    text-align: center;
    margin: 0;
    padding: 20px 140px 0 0; 
}

/* Overrides tki.cwa.co.nz styles */
.tkibar-green {background: url(../e/img/banners/tkibar5-bg.jpg) repeat-x 50% -400px !IMPORTANT; -moz-box-shadow: 0 4px 5px #666; -webkit-box-shadow: 0 4px 5px #666; box-shadow: 0 4px 5px #666; margin-bottom: 15px; text-align: center;}
.tkibar-green #tkibar .tkibar-search {background: #FFC64D !IMPORTANT;}
.tkibar-green #tkibar .tkibar-search input.tkibar-search-text {height: 16px;}
.tkibar-green #tkibar a {color: #FFFFFF !IMPORTANT;}
.tkibar-green #tkibar dt, .tkibar-green #tkibar dd {border-left-color:#FFC340;border-right-color: #568100;}
.tkibar-green #tkibar li {border-left-color:#FFC340;border-right-color: #568100;}
.tkibar-green #tkibar .tkibar-nav a {*background-image: url(../e/img/banners/tkibar-nav-sprite-legacy.gif) !IMPORTANT;}
.tkibar-green #tkibar .open {_background-image: url(../e/img/banners/tkibar-open-legacy.gif) !IMPORTANT;}

.announcement-external .inner .bd ul.float-ul li.hide {display: none !IMPORTANT;}

/* Overrides footer styles */
.tkifooter-green {
    background-image: url("../e/img/portal-footer.gif") !IMPORTANT;
	margin-top: 15px;
	clear: both;
}

/*
Head login
------------------
*/

#head-login {
    width: 100%;
    background: #ffb500;
    text-align: center;
    vertical-align: middle;
    margin: 0;
    font-size: 80%;
    font-weight: bold;
}

#head-login input {
    margin: 2px 10px 2px 2px;
    vertical-align: middle;
}





/*
Language tabs
------------------
*/
#head-lang {
    width: 100%;
    height: 1.25em;
    border-top: 1px solid #fff;
    padding-top: 5px;
    background:  #ffc url(../e/img/lang_online_thin.gif) no-repeat bottom right;
}

#head-lang ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    padding-left: 40px;    
}

#head-lang li {
    margin: 0 0 0 5px;
    padding: 0;
    float: left;
    width: 127px;
    display: block;
    text-align: center;
}

#head-lang li.lang-on {
    background: #fff;
    border-top: 1px solid #f60;
    border-left: 1px solid #f60;
    border-right: 1px solid #f60;
    border-bottom: 1px solid #fff;
    font-weight: bold;
    text-align: center;
    height: 1.4em;
}

#head-lang li.lang-off {
    background: #ff6;
    border-top: 1px solid #f96;
    border-left: 1px solid #f96;
    border-right: 1px solid #f96;
    border-bottom: 1px solid #f60;
    font-weight: bold;
    height: 1.4em;
}

#head-lang li a {
    display: block;
    color: #000;
    text-decoration: none;
}

#head-lang li a:hover {
    color: #000;
    text-decoration: none;
}

#head-lang li a:visited {
    color: #000;
}





/*
Content Area
------------------
*/

#content-section {
    width: 750px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
}

#content-section-no-nav {
    width: 750px;
	margin-left: auto;
	margin-right: auto;
    position: relative;
}

#content {
    padding: 15px 20px 20px 25px;
    margin-right: 170px;
    position: relative;
    word-wrap: break-word; /* looks invalid but is actually CSS3, and supported by IE */
}

#content-no-nav {
	padding: 15px 20px 20px 25px;
    position: relative;
}

#site-alert {
    width:90px;
    padding: 2px 4px 2px 4px;
    margin-right:10px;
    border: 1px solid #f60;
    font-weight:bold;
    font-size:.8em;
    text-align:center;
    background-color: #ffc;
    float: right;
}

#site-alert a, #site-alert a:visited {
    color: #f60
}

/*
Right Navigation
------------------
*/

#right-nav {
    float: right;
    width: 170px;
	background-color: #FFFFCC;
	height: auto;
}

/*
HACK
  This hack fixes the IE 3px bug.
  The following two styles are only viewable on
  Internet Explorer on windows.
\*/
* html #right-nav {
    margin-left: -3px;
}
   
* html body #content {
    height: 1%;
    margin-right: 0;
}
/* End IE Win styles */

#right-nav p {
    padding: 4px 10px 4px 10px;
}

#right-nav ul {
    list-style: none;
    margin: 0;
    padding: 0; 
}

#right-nav li {
    padding: 3px 10px 2px 10px;
    font-size: .8em;
}

#right-nav a {
    color: #000;
    text-decoration: none;
}

#right-nav a:hover {
    color: #000;
    text-decoration: underline;
}

#right-nav a:visited {
    color: #000;
    text-decoration: none;
}

#right-nav h2, #right-nav h2.toolbox {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.85em;
    border-top: 1px solid #f60;
    border-bottom: 2px solid #f60;
    background: #fd6;
    padding: 5px 6px 5px 6px;
    margin: 6px 0 6px 0;
}

#rightnav #toolbox-options {
	width: 168px;
	padding: 0;
	margin: 0;
}

#right-nav h3 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    padding: 8px 5px 2px 5px;
}

#right-nav h2.eng {
    color: #fff; 
    background-color: #06f;
    border-top: 1px solid #039;
    border-bottom: 2px solid #039;
}

#right-nav h2.health {
    color: #fff; 
    background-color: #f30;
    border-top: 1px solid #c00;
    border-bottom: 2px solid #c00;
}

#right-nav h2.lang {
    color: #fff; 
    background-color: #0cc;
    border-top: 1px solid #099;
    border-bottom: 2px solid #099;
}

#right-nav h2.maths {
    color: #fff; 
    background-color: #600;
    border-top: 1px solid #300;
    border-bottom: 2px solid #300;
}

#right-nav h2.science {
    color: #fff; 
    background-color: #360;
    border-top: 1px solid #300;
    border-bottom: 2px solid #300;
}

#right-nav h2.social {
    color: #fff; 
    background-color: #939;
    border-top: 1px solid #603;
    border-bottom: 2px solid #603;
}

#right-nav h2.tech {
    color: #fff; 
    background-color: #930;
    border-top: 1px solid #600;
    border-bottom: 2px solid #600;
}

#right-nav h2.arts {
    color: #fff; 
    background-color: #fc6;
    border-top: 1px solid #f90;
    border-bottom: 2px solid #f90;
}

#right-nav h2.maoried {
    color: #fff; 
    background-color: #39c;
    border-top: 1px solid #069;
    border-bottom: 2px solid #069;
}

#right-nav h2.pasifika {
    color: #fff; 
    background-color: #c63;
    border-top: 1px solid #933;
    border-bottom: 2px solid #933;
}

#right-nav h2.gifted {
    color: #fff; 
    background-color: #1789C1;
    border-top: 1px solid #933;
    border-bottom: 2px solid #933;
}


#right-nav .back-to {
    width: 160px;
    margin: 0 2px 4px 4px;
}

#right-nav .backto-text {
    font-size: 0.6em;
    margin-left: 35px;
}

#right-nav .icon-rnav {
    width: 160px;
    height: 30px;
    border: 1px solid #cc9;
    background-color: #ffe;
    margin: 0 0 4px 4px;
}

#right-nav .icon-text {
    font-size: 0.7em;
    margin-left: 35px;
}

#right-nav .icon-text a {
    display: block;
    padding: 9px 0 9px 0;
}

#right-nav .icon-text-dbl {
    font-size: 0.7em;
    margin-left: 35px;
}

#right-nav .icon-text-trp {
    font-size: 0.65em;
    margin-left: 35px;
	padding-top: 2px;
}

#right-nav .icon-text-dbl a {
    display: block;
    padding: 2px 0 2px 0;
}

#right-nav .icon-img {
    float: left;
    border-right: 1px solid #CCCC99;
}

#right-nav .backto-img {
    float: left;
    border-right: 0px solid #CCCC99;
}





/*
Footer
------------------
*/

#footer {
    width: 750px;
    border-bottom: 1px solid #fff;
    clear: both;
    background: #fff;
    font-size: 0.85em;
    
}

#footer p {
    font-family: arial, helvetica, sans-serif;
    color:#000;
    margin-left: 30px;
    margin-top: 10px;
    background: #fff;
	padding: 0;
}

#footer .footer-nav {
    text-align: left;
    margin-top: 0;
    margin-left: 0;
    border-top: 1px solid #f60;
    border-bottom: 1px solid #f60;
    background: #ffc;
    padding: 4px 0 4px 30px;
}

#footer .footer-nav a {
    font-family: arial, helvetica, sans-serif;
    color: #000; 
    text-decoration: none;
}

#footer .footer-nav a:visited {
    color:#000;
}

#footer .footer-nav a:hover {
    color:#000;
    text-decoration:underline;
}



/*
CUSTOM CLASSES
--------------------------------------
*/

/*
General
*/

/* This was causing a bug beneath portal banner. Fixed by removing bg image */
.body-bg {
	background: none !IMPORTANT;
}

/*testing the following rules for screenreader*/
.hide, .hide a {
    display: none; 
    /*position: absolute;
    left: -1000px;
    width: 900px;
    font-size: 1px;
    line-height: 1;*/
}

/*
h1.hide, h2.hide, ul.hide {
    position: absolute;
    left: -1000px;
    width: 900px;
    font-size: 1px;
    line-height: 1;
} */

.img-float-left {
    float: left;
    padding-right: 10px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

p.small {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.6em;
    text-align: center;
}

p.top {
    float: right;
    margin: 0;
    border: 0px solid #000;
    padding-top: 0.5em;
}

p.top a {
    color:#900;
    font-size: 0.85em;
    text-decoration: none;
}

p.top a:visited {
    color:#900;
}

p.top a:hover {
    text-decoration: underline;
}

p.tki-error {
    padding: 5px;
    border: 1px solid #333;
    background-color: #ccc;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.clr {
	clear: both;
}

#search-icons {
    border: #ccc 1px solid;
    background-color: #eeeeee;
    width: 170px;
    padding: 10px;
}

.pdf-help, .ppt-help {
	position: relative;
	float: right;
	text-align: center;
}

.pdf-help {
	width: 80px;
}

.ppt-help {
	width: 120px;
}

.pdf-help-inline {
display: block;
width: 80px;
margin-top: 10px;
float: right;
}


/*
Calendar
------------------
*/
.cal {
    font-family : Arial, Helvetica, sans-serif;   
}

.cal h3 {
    font-family : Arial, Helvetica, sans-serif;
    /* font-size: 14px; */
}

.calhead {
    font-family : Arial, Helvetica, sans-serif;
    color : #ffffff;
    /* font-size: 14px; */
}

.calmonth {
    background-color: #eee;
}

a.cal {
    font-family : Arial, Helvetica, sans-serif;
    /* font-size: 12px; */
    color : #900;
}





/*
Form elements
------------------
*/

.rhform, .loginform {
    margin: 0;
}

.rhform {
    padding: 6px 0 6px 3px;
}

.rhform input, .rhform select{
    font-size: .8em;
}

.greytable {
    background: #eee;
}

td.greytable {
    padding: 5px;
    color:#369;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.85em; 
    font-weight: bold; 
}

td.formnormal {
    color:#369;
    font-size: 0.8em;
    padding: 5px;
    font-weight:normal;
    background: #eee; 
}

a.formnormal {
    color:#369;
}

.login {
    font-size: .85em;
    color: #036;
    font-weight: bold;
    background-color: #ffc;
    border: solid 1px #f60;
    padding: 1px 10px 1px 10px;
    cursor: pointer;
}

.register {
    font-size: .85em;
    padding-left: 5px;
    text-decoration: none;
    color: #000;
}

a:visited.register {
    color: #000;
}

a:hover.register {
    color: #000;
    text-decoration: underline;
}


input.formsubmit {
    font-size: .85em;
    color: #036;
    font-weight: bold;
    background-color: #fff;
    padding: 4px;
    border: solid 1px #789;
    margin-top: 5px;
    margin-bottom: 5px;
}

.formanswer {
    padding: 5px;
    background: #eee;
    color:#000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.85em; 
    font-weight: normal;
}





/*
News
------------------
*/

.news-item {

}

.news-item img {
    float: left;
}

.news-content {
    
}

.news-content-img {
    margin-left: 60px;
}


.news-content h3 {
    font-size: 0.90em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.news-content h3 a {
    font-weight: bold;
    text-decoration: underline;
}

.news-content h3 a:hover {
    font-weight: bold;
    text-decoration: none;
}

a.news-item-url {
    color:#999;
    font-size: 0.80em;
    text-decoration: underline;
    margin-bottom: 0;
    margin-top: 1.5em;
}

a.news-item-url:hover {
    text-decoration: none;
    color:#999;
}

a.news-item-url:visited {
    color:#999;
}

.news-date {
    margin-top: 0;
    color:#999;
    font-size: 0.85em;
    font-weight: normal;
}

.news-archive {
    margin-left: 0px;
}

.news-syndicate {
    margin-left: 0px;
}





/*
Quicksearch
------------------
*/
.quicksearch-wrap {
    border: 1px solid #f60;
    margin: 10px 4px 10px 4px;
}

.quicksearch {
    margin: 2px;
    padding: 4px;
    background-color: #fd6;
    font-size: 0.70em;
}

.quicksearch form {
    margin: 0;
}

.quicksearch .qs-submit {
    width: 3em;
    background-color: #969;
    border: 1px solid #936;
    color: white;
    font-weight: bold;
    height: 2em;
    cursor: pointer;
}

.quicksearch .qs-input {
    border: 1px solid #f9c;
    padding: 1px;
    height: 1.7em;
    width: 105px;
}

.quicksearch .qs-radio {
    border: 0;
}

.quicksearch label {
    padding-bottom: 5px;
}

/*
My Kete
------------------
*/

table.tki-kete {
    position: relative;
}




