/*Temporary colour to show which db items have been updated*/
table.menu td.green{background:#008000;width:93px;padding-left:10px}
/*End*/

/*Style layouts used throughout the site*/
body{font-family:Arial,Helvetica,sans-serif;background-color:#FFFFFF;color:#000066;font-size:0.6em;margin:0 0 30px 0}

.blockcentre{margin:0 auto}
.centre{text-align:center}
.right{text-align:right}
.justify{text-align:justify}

.vtop{vertical-align:top}

h1{font-size:2em;display:inline;font-weight:bold}
h2{margin:0;font-size:1.5em}
h3{margin:0;font-size:1.2em}
h4{margin:0;font-size:1.1em}

.bold{font-weight:bold;font-size:1.1em}

.hdrredtxt{color:#B22222;font:700 13px Tahoma,Arial,Helvetica,sans-serif;text-decoration:none}

em{font-weight:bold;font-size:110%;font-style:normal}

img{border:none}

/*used for errors around the site*/
.b{font-weight:bold}
.i{font-style:italic}
/*End of layouts*/

/*Cross-browser: Used in data tables around the site*/
table{width:100%;empty-cells:show;border-collapse:separate}
thead,tfoot{text-align:center;font-size:110%;font-weight:bold}
td{color:#000066}
/*End*/

/*Used in rank.php*/
.rank{width:30%}
/*End*/

/*Cross-browser: used in db/update.php*/
ol.pad li{padding:5px}
dl.pad dt{padding:5px}
/*End*/

.hdrredtxtrt{color:#B22222;font:700 13px Tahoma,Arial,Helvetica,sans-serif;text-align:right;text-decoration:none}

.inputwidth150{width:150px}
.inputwidth200{width:200px}
.inputwidth300{width:305px}

.width100{width:100%}
.width80{width:80%}

/*index.php*/
.invisibletext{color:#FFFFFF;text-align:center}
/*End*/

/*all trip information tables*/
.w33{width:33%}
.w67{width:67%}
.w100{width:100%}
/*End*/

/*db/index.php*/
.w75{width:75%}
.w25{width:25%}
.w20{width:20%}
.stats{border:1px solid #000066}
/*End*/

/*db/update.php*/
.fatalerror{color:#FF0000}
.success{color:#008000}
.singleerror{color:#FF4500}
/*End*/

/*Used in contacts.php for everything else*/
address{font-style:normal;display:inline}
.membertable{background-color:#FFFFFF;border-spacing:20px;width:100%}
.member{width:50%;text-align:center;background-color:#DEEBF7}
/*End*/

/*Used in contacts.php for IE*/
table.committee{width:540px;margin:0 auto}
table.committee td.member{width:50%;vertical-align:top;text-align:center;background-color:#DEEBF7}

table.contact{width:540px;margin:0 auto}
table.contact td.desc{width:266px;text-align:right;vertical-align:top}
table.contact td.add{width:266px;vertical-align:top}
/*End*/

/*deprecated*/
p.ctr{text-align:center}
.hdrredtxtctr{color:#B22222;font:700 13px Tahoma,Arial,Helvetica,sans-serif;text-align:center;text-decoration:none}
/*deprecated*/

hr{width:90%;color:#000066;background-color:#000066}

/*gcalendar.php for IE<v8*/
iframe.gcal{width:100%;height:588px;border:0}
/*End*/

/*gcalendar.php for everything else*/
object.gcal{width:100%;height:588px}
/*End*/

/*For automated file downloads with IE<v8*/
iframe.file_download{width:0;height:0;border:0}
/*End*/

/*For automated file downloads with everything else*/
object.file_download{width:0;height:0}
/*End*/

p{font-size:x-small;margin:0 0 9px}

p.error{color:#FF0000;border-style:solid;border-color:#FF0000;padding:2px;text-align:left}
p.title{font-weight:bold;font-size:120%}

select,input,textarea{color:#000066}

/*For IE<v8 in about.php*/
table.about{width:100%}
table.about td{vertical-align:top;text-align:justify;padding:0 5px 0 5px}
/*End*/

/*For the yellow naughty book in IE<v8*/
table.book{width:234px}
.lft{width:107px;padding-left:10px}
.rgt{width:107px;text-align:right;padding-right:10px}
/*End*/

/*Cross-browser: Used in db/expiry.php*/
table.expiry td.indate{background-color:#BBEDBB}
table.expiry td.outdate{background-color:#FFB9B9}
table.expiry td.remind{background-color:#FFFFFF;text-align:center}
/*End*/

/*For all database forms in IE<v8*/
table.form{width:100%;color:#000066}
table.form th.title{height:25px;font-weight:bold;font-size:150%}
table.form td.title30{width:30%;height:25px;font-weight:bold;font-size:120%}
table.form td.title35{width:35%;height:25px;font-weight:bold;font-size:120%}
table.form td.lbl{width:30%;height:25px}
table.form td.lbl_top{width:30%;height:25px;vertical-align:top}
table.form td.in{width:35%;height:25px;vertical-align:top}
table.form td.in30{width:30%;height:25px;vertical-align:top}
table.form td.blnk{width:35%;vertical-align:top;font-size:8pt}
table.form td.txt{width:35%;height:25px}
table.form td.sp{height:10px}
table.form td.db{text-align:right;vertical-align:top}
/*End*/

/*Database forms for everything else*/
div.table{display:table}
div.row{display:table-row}
div.row{display:table-row}
div.cell{display:table-cell;padding:2px 10px 2px 0pt;vertical-align:top;}
/*End*/

/*for IE<v8 in index.php*/
table.index{width:583px;font-family:Arial;margin:0 auto}
table.index td.top{vertical-align:top;text-align:center;min-width:583px}
table.index td.ws{width:3px;background:#FFFFFF}
table.index td.item1{vertical-align:top;background:#FFFFFF;width:157px;padding:2px 4px 2px 4px}
table.index td.desc1{vertical-align:top;background:#FFFFFF;width:407px;padding:2px 4px 2px 4px}
table.index td.item2{vertical-align:top;background:#DEEBF7;width:157px;padding:2px 4px 2px 4px}
table.index td.desc2{vertical-align:top;background:#DEEBF7;width:407px;padding:2px 4px 2px 4px}
/*End*/

/*Calendar for everything else in index.php*/
.cal0{background:#FFFFFF;padding:2px 4px 2px 4px}
.cal1{background:#DEEBF7;padding:2px 4px 2px 4px}
/*End*/

/*Page layout for all pages*/
table.main{width:700px;margin:0 auto}
table.main td.menu{width:103px;background-color:#DEEBF7;vertical-align:top}
table.main td.left{width:10px;background-color:#DEEBF7}
table.main td.email{width:111px;padding-left:10px;height:13px;background-color:#EAEAEA}
table.main td.date{width:245px;padding-right:10px;text-align:right;background-color:#EAEAEA}
table.main td.right{width:29px;background-color: #FFFFFF}
table.main td.logo{width:182px;vertical-align:top;text-align:right}
table.main tr.strip{background-color:#EAEAEA}
table.main tr.strip1{background-color:#FFFFFF}
table.main td.strip{height:13px}
table.main td.strip1{background-color:#FFFFFF}
table.main td.title{height:78px;text-align:center;vertical-align:top}
table.main td.main{vertical-align:top}

table.title{width:587px;height:140px}
table.title td.c1{background-color:#DEEBF7;height:6px}
table.title td.c2{background-color:#66CCFF;height:6px}
table.title td.c3{background-color:#6699CC;height:6px}
table.title td.c4{background-color:#6666CC;height:6px}
table.title td.c5{background-color:#6633FF;height:6px}
table.title td.c6{background-color:#6600FF;height:6px}
table.title td.header{background-image:url('http://db.nusac.info/images/header.jpg');width:587px;height:128px}

table.menu{width:100%}
table.menu td.spa{background:#DEEBF7;width:10px;height:3px}
table.menu td.spb{background:#DEEBF7;width:93px}
table.menu td.spc{background:#DEEBF7;width:10px;height:8px}
table.menu td.sp1{background:#000066;width:103px;height:10px}
table.menu td.spl{background:#000066;width:10px;text-align:left}
table.menu td.lbl{background:#000066;width:93px;color:#FFFFFF;font:700 10px Verdana, Arial, Helvetica, sans-serif}
table.menu td.red{background:#FF0000;width:93px;color:#FFFFFF;font:700 10px Verdana, Arial, Helvetica, sans-serif}
table.menu td.orange{background:#FF4500;width:93px;color:#FFFFFF;font:700 10px Verdana, Arial, Helvetica, sans-serif}
table.menu td.item{background:#000066;width:93px;padding-left:10px}
table.menu td.item1{background:#000066;width:93px}
table.menu a:link{color:#FFFFFF;font:700 10px Verdana,Arial,Helvetica,sans-serif;text-decoration:none}
table.menu a:visited{color:#FFFFFF;font:700 10px Verdana, Arial, Helvetica,sans-serif;text-decoration:none}
table.menu a:hover{color:#FFFFFF;font:700 10px Verdana,Arial,Helvetica,sans-serif;text-decoration:underline}
table.menu a:active{color:#FFFFFF;font:700 10px Verdana,Arial,Helvetica,sans-serif;text-decoration:none}
/*End*/

/*Page layout for all DB pages*/
table.dbmain{width:100%}
table.dbmain td.menu{width:123px;background-color:#DEEBF7;vertical-align:top}
table.dbmain td.left{width:10px;background-color:#DEEBF7}
table.dbmain td.title{height:50px;vertical-align:top;padding:5px 0 0 5px}
table.dbmain td.main{vertical-align:top}

table.dbtitle{width:100%;height:72px}
table.dbtitle td.c1{background-color:#DEEBF7;height:6px}
table.dbtitle td.c2{background-color:#66CCFF;height:6px}
table.dbtitle td.c3{background-color:#6699CC;height:6px}
table.dbtitle td.c4{background-color:#6666CC;height:6px}
table.dbtitle td.c5{background-color:#6633FF;height:6px}
table.dbtitle td.c6{background-color:#6600FF;height:6px}
/*End*/

table.user{width:310px}
table.user tr.lbl{text-align:center}
table.user td{font-size:10px}
table.user td.right{text-align:right}

/*For IE<v8 in db/view.php*/
table.trip{width:100%}
table.trip td.gap{height:10px}
table.trip td.cat{width:33%;vertical-align:top}
table.trip td.detail{width:67%;vertical-align:top}
/*End*/

/*Cross-browser: Used in db/view.php*/
.all{border:solid 1px #000066}
table.view{width:100%;border-collapse:collapse}
table.view th.head{border:solid 1px #000066}
table.view td.body{border-left:solid 1px #000066}
table.view td.indate0{background-color:#D7F5D7}
table.view td.outdate0{background-color:#FFE1E1}
table.view td.indate1{background-color:#BBEDBB}
table.view td.outdate1{background-color:#FFB9B9}
table.view td.foot{border:solid 1px #000066}
table.view tr.col0{vertical-align:top;background-color:#FFFFFF}
table.view tr.col1{vertical-align:top;background-color:#DEEBF7}
/*End*/
