*{margin: 0; padding: 0;}
html, body{height: 100%; width: 100%;}
img{border: 0;}

body{font: 12px Trebuchet MS; color: #666;}

a{color:#006b98; text-decoration: none;}
a:hover{text-decoration: underline;}
.clear{clear:both; height: 0px; line-height: 0px;}
.centered_text{text-align:center;}

/* container */
div#container{height: 100%;}
body > div#container {height: auto; min-height: 100%;}
div#container div#content{margin: 0 auto; width: 900px; padding-bottom: 90px;}  /* Padding a little higher than the footer for some whitespace */

/* Header */
div#container div#header{background: url(/images/layouts/standard/header/header_top_bg.gif) repeat-x; text-align: right; margin-bottom: 5px;}
div#container div#header div#header_inner{width: 900px; margin: 0 auto; height: 35px;}
div#container div#header div#header_inner h1{float: left; margin-right: 30px;}
div#container div#header ul#header_login{float:right; list-style-type: none; margin: 8px 20px 0 0;}
div#container div#header ul#header_login li{float: left; margin-left: 5px;}
div#container div#header ul#header_login li form img{margin: 5px 2px 0 0;}
div#container div#header ul#header_login li form input{width: 120px; margin-right: 10px;}
div#container div#header ul#header_login li form input#header_login_btn{background: url(/images/layouts/standard/header/header_login_btn.gif) no-repeat center left; margin-top: -5px; border:0; width: 67px; height: 17px; cursor:pointer;}

ul.menu_left{float: left; list-style-type: none; margin-top: 7px;}
ul.menu_left li{float: left; margin-right: 15px;}
ul.menu_left li a{display: block; color:#000; float:left; letter-spacing:0px; text-decoration:none; margin-top:3px; padding:0 0 3px 7px; cursor: pointer; font-weight: bold; overflow: hidden; height: 14px;}
ul.menu_left li a span{display: block; float:left; font-family:verdana; font-size:10px; letter-spacing:0; line-height:10px; padding:3px 10px 5px 5px; text-align:center; text-transform:uppercase;}
ul.menu_left li a.current_controller{background: transparent url(/images/layouts/standard/header/header_navitem_left_1.gif) no-repeat scroll 0 -18px; color:#B9170C; float:left; text-decoration:none;}
ul.menu_left li a.current_controller span{background: transparent url(/images/layouts/standard/header/header_navitem_right_1.gif) no-repeat scroll right -18px; color:#B9170C; float:left;	text-decoration:none;}
ul.menu_left li a:hover{background: transparent url(/images/layouts/standard/header/header_navitem_left_1.gif) no-repeat scroll 0 0px; color:#fff; float:left; text-decoration:none; }
ul.menu_left li a:hover span{background: transparent url(/images/layouts/standard/header/header_navitem_right_1.gif) no-repeat scroll right 0px; display:block; float:left; color:#fff; }

div#container div#header ul#logged_in_menu{position: absolute; right: 0; top: 0; list-style-type:none;margin:10px 20px 0 10px;}
div#container div#header ul#logged_in_menu li{float: left; margin-left: 5px;}
div#container div#header ul#logged_in_menu li a{display: block; height: 0; overflow: hidden; padding-top: 17px;}
div#container div#header ul#logged_in_menu li a:hover{background-position: 0 -17px;}

div#container div#header div#sub_header{min-height: 9px; height: auto !important; height:9px; font-size: 0; width: 100%; background: url(/images/layouts/standard/header/header_subnav_bg.png) repeat-x bottom;}
div#container div#header div#sub_header ul#controller_navigation{width: 900px;  margin: 0px auto 0; list-style-type: none; height: 33px; font-size: 12px;}
div#container div#header div#sub_header ul#controller_navigation li{float: left; margin: 2px 35px; display: inline;}
div#container div#header div#sub_header ul#controller_navigation li.first{float: left; margin: 2px 35px 2px 0; display: inline;}
div#container div#header div#sub_header ul#controller_navigation li a{display: block; color:#fff; float:left; letter-spacing:0px; text-decoration:none; margin-top:3px; padding:0 0 3px 7px; cursor: pointer; font-weight: bold; overflow: hidden; height: 14px;}
div#container div#header div#sub_header ul#controller_navigation li a span{display:block; float:left; font-family:verdana; font-size:10px; letter-spacing:0; line-height:10px; padding:3px 10px 5px 5px; text-align:center; text-transform:uppercase;}
div#container div#header div#sub_header ul#controller_navigation li a.current_action{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_left.png) no-repeat scroll 0 -18px; color:#125b83; float:left; text-decoration:none;}
div#container div#header div#sub_header ul#controller_navigation li a.current_action span{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_right.png) no-repeat scroll right -18px; color:#125b83; float:left;	text-decoration:none;}
div#container div#header div#sub_header ul#controller_navigation li a:hover{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_left.png) no-repeat scroll left top; color:#fff; float:left; text-decoration:none; }
div#container div#header div#sub_header ul#controller_navigation li a:hover span{background:transparent url(/images/layouts/standard/header/navigation_bubble_sprite_right.png) no-repeat scroll right top; display:block; 	float:left;	color:#fff; }

ul.bubble_navigation li{float: left; margin: 2px 5px; display: inline;}
ul.bubble_navigation li a{display: block; color:#fff; float:left; letter-spacing:0px; text-decoration:none; margin-top:3px; padding:0 0 3px 7px; cursor: pointer; font-weight: bold; overflow: hidden; height: 14px;}
ul.bubble_navigation li a span{display:block; float:left; font-family:verdana; font-size:10px; letter-spacing:0; line-height:10px; padding:3px 10px 5px 5px; text-align:center; text-transform:uppercase;}
ul.bubble_navigation li a > span.blue{color:#006B98;}
ul.bubble_navigation li a.current_element{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_left.png) no-repeat scroll 0 -18px; color:#125b83; float:left; text-decoration:none;}
ul.bubble_navigation li a.current_element span{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_right.png) no-repeat scroll right -18px; color:#125b83; float:left;	text-decoration:none;}
ul.bubble_navigation li a:hover{background: transparent url(/images/layouts/standard/header/navigation_bubble_sprite_left.png) no-repeat scroll left top; color:#fff; float:left; text-decoration:none; }
ul.bubble_navigation li a:hover span{background:transparent url(/images/layouts/standard/header/navigation_bubble_sprite_right.png) no-repeat scroll right top; display:block; 	float:left;	color:#fff;}

/* footer.tpl */
div#footer{text-align: center; clear: both; position: relative; margin-top: -80px; height:70px; padding-top: 10px; color: #666; background-color: #FFF; }
div#footer p {text-align: center;}
div#footer ul#social_bookmarks{text-align:center;}
div#footer ul#social_bookmarks li{display:inline;}
div#footer ul#social_bookmarks li a{display:inline-block; margin:0 10px; width: 40px;}
div#footer ul#social_bookmarks li a span{display:block; font-size: 10px;}
div#footer ul#social_bookmarks li a:hover{text-decoration:none;}
div#footer ul#social_bookmarks li a:hover span{text-decoration:underline;}

div#footer div#links a{font-size: 11px;}

div#footer div#copyright{clear: both; text-align:center; font-size: 10px;}
div#footer div#copyright img{vertical-align: bottom; margin: 2px 8px 0 0;}

/* Content boxes */
div.content_block{background-color: transparent; background-repeat: no-repeat; background-position: left top;}
div.content_block >h2.header{height: 28px; padding-top: 4px; margin-left: 7px; background-color: transparent; background-repeat: no-repeat; background-position: top right; font-size: 18px; color: #fff; font-weight: bold;}
div.content_block > h3{margin-top: 8px; font-size: 14px; font-weight: bold; color: #005197;}
div.content_block div.body{border: 1px solid; border-top: 0; padding: 8px;}
div.content_block div.footer{background-repeat: no-repeat; background-position: bottom left; font-size: 0px; margin-top: -4px;}
div.content_block div.footer div{height: 4px; background-repeat: no-repeat; background-position: bottom right;}

/* Content box colours */
div.content_block.blue{background-image: url(/images/layouts/standard/curved_boxes/blue/header_left.gif);}
div.content_block.blue > h2.header{background-image: url(/images/layouts/standard/curved_boxes/blue/header_right.gif);}
div.content_block.blue > div.body{border-color: #006699;}
div.content_block.blue > div.footer{background-image: url(/images/layouts/standard/curved_boxes/blue/footer_left.gif);}
div.content_block.blue > div.footer div{background-image: url('/images/layouts/standard/curved_boxes/blue/footer_right.gif');}

div.content_block.grey_blue{background-image: url(/images/layouts/standard/curved_boxes/blue/header_left.gif);}
div.content_block.grey_blue > h2.header{background-image: url(/images/layouts/standard/curved_boxes/blue/header_right.gif);}
div.content_block.grey_blue div.body{border-color: #757575;}
div.content_block.grey_blue div.footer{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_left.gif);}
div.content_block.grey_blue div.footer div{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_right.gif);}
div.content_block.grey_blue div.footer.grey_fill{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_grey_fill_left.gif);  background-color: #CECECE;}
div.content_block.grey_blue div.footer.grey_fill div{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_grey_fill_right.gif);    margin-left: 4px;}

div.content_block.red{background-image:url(/images/layouts/standard/curved_boxes/red/header_left.gif);}
div.content_block.red > h2.header{background-image: url(/images/layouts/standard/curved_boxes/red/header_right.gif); height: 30px;}
div.content_block.red div.footer{background-image: url(/images/layouts/standard/curved_boxes/red/footer_left.gif);}
div.content_block.red div.footer div{background-image: url(/images/layouts/standard/curved_boxes/red/footer_right.gif);}
div.content_block.red > div.body{border-color: #949494;}
div.content_block div.body div.grey_strip{background: url(/images/layouts/standard/curved_boxes/grey/grey_fill_strip.gif) repeat-x top left; height:25px; padding: 0px 5px 0 10px; line-height: 25px; font-size: 18px;}

/* Inner Content Boxes */
div.content_block div.body div.inner_content_block{background-color: transparent; background-repeat: no-repeat; background-position: left top;}
div.content_block div.body div.inner_content_block > h2.header{height: 19px; padding-top: 2px; margin-left: 4px; background-color: transparent; background-repeat: no-repeat; background-position: top right; font-size: 14px; color: #fff; font-weight: bold; text-align:center;}
div.content_block div.body div.inner_content_block > div.body {border: 1px solid; border-top: 0; padding: 4px;}

/* Inner Content Box Colours */
div.content_block div.body div.inner_content_block.blue_grey{background-image: url(/images/layouts/standard/curved_boxes/small/blue_grey/header_left.gif);}
div.content_block div.body div.inner_content_block.blue_grey > h2.header{background-image: url(/images/layouts/standard/curved_boxes/small/blue_grey/header_right.gif);}
div.content_block div.body div.inner_content_block.blue_grey > div.body{border-color: #757575;}

div.content_block div.body div.inner_content_block.grey{background-image: url(/images/layouts/standard/curved_boxes/small/grey/header_left.gif);}
div.content_block div.body div.inner_content_block.grey > h2.header{background-image: url(/images/layouts/standard/curved_boxes/small/grey/header_right.gif); color: #333;}
div.content_block div.body div.inner_content_block.grey > div.body{border-color: #757575;}

/* Curved Boxes */
div.curved_box{background-repeat: no-repeat; background-position: top left;}
div.curved_box > h2.header{background-repeat: no-repeat; background-position: top right; margin-left: 5px; height: 5px; padding:0px; font-size: 4px;}
div.curved_box > div.body{border: 1px solid; border-top:0; border-bottom: 0; padding: 0 3px;}
div.curved_box > div.footer{background-repeat: no-repeat; background-position: bottom left; height: 5px; margin-top: -5px;}
div.curved_box > div.footer div{background-repeat: no-repeat; background-position: bottom right; margin-left: 5px; height: 5px; padding:0px;}

div.curved_box.blue_blue{background-image: url(/images/layouts/standard/curved_boxes/blue_blue/header_left.png);}
div.curved_box.blue_blue > h2.header{background-image: url(/images/layouts/standard/curved_boxes/blue_blue/header_right.png);}
div.curved_box.blue_blue > div.body{border-color: #006699; background-color: #7eb9df;}
div.curved_box.blue_blue > div.footer{background-image: url(/images/layouts/standard/curved_boxes/blue_blue/footer_left.png); margin:0;}
div.curved_box.blue_blue > div.footer div{background-image: url(/images/layouts/standard/curved_boxes/blue_blue/footer_right.png);}

div.curved_box.blue_white{background-image: url(/images/layouts/standard/curved_boxes/blue_white/header_left.png);}
div.curved_box.blue_white > h2.header{background-image: url(/images/layouts/standard/curved_boxes/blue_white/header_right.png);}
div.curved_box.blue_white > div.body{border-color: #367aa1; background-color:#FFF;}
div.curved_box.blue_white > div.footer{background-image: url(/images/layouts/standard/curved_boxes/blue_white/footer_left.png); margin:0;}
div.curved_box.blue_white > div.footer div{background-image: url(/images/layouts/standard/curved_boxes/blue_white/footer_right.png);}

div.curved_box.grey{background-image: url(/images/layouts/standard/curved_boxes/grey/header_left.gif);}
div.curved_box.grey > h2.header{background-image: url(/images/layouts/standard/curved_boxes/grey/header_right.gif);}
div.curved_box.grey > div.body{border-color: #757575; border-bottom: 1px solid;}
div.curved_box.grey > div.footer{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_left.gif);}
div.curved_box.grey > div.footer div{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_right.gif);}

div.curved_box.blue_grey{background-image: url(/images/layouts/standard/curved_boxes/blue_grey/header_left.gif);}
div.curved_box.blue_grey > h2.header{background-image: url(/images/layouts/standard/curved_boxes/blue_grey/header_right.gif);}
div.curved_box.blue_grey > div.body{border-color: #007bab; background-color: #f0f0f0;}
div.curved_box.blue_grey > div.footer{background-image: url(/images/layouts/standard/curved_boxes/blue_grey/footer_left.gif);}
div.curved_box.blue_grey > div.footer div{background-image: url(/images/layouts/standard/curved_boxes/blue_grey/footer_right.gif);}

div.curved_box.small_grey{background-image: url(/images/layouts/standard/curved_boxes/grey/header_left.png); background-color:transparent;}
div.curved_box.small_grey > h2.header{margin-left: 4px; background-image: url(/images/layouts/standard/curved_boxes/grey/header_right.png); height:4px;}
div.curved_box.small_grey > div.body{border-color: #757575; background-color:#fff;}
div.curved_box.small_grey > div.footer{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_left.png); height: 4px; background-color:transparent; margin:0px;}
div.curved_box.small_grey > div.footer div{background-image: url(/images/layouts/standard/curved_boxes/grey/footer_right.png); margin-left: 4px; background-color:transparent;  height:4px;}

/*******************************
Side Navigation
*******************************/
div.side_navigation ul{list-style-type: none;}
div.side_navigation ul li{border-bottom: 1px solid #cfcfcf; padding: 5px 0;}
div.side_navigation ul li.last{border-bottom: 0;}
div.side_navigation ul li a{text-decoration:none; color: #666666; font-weight: bold;}
div.side_navigation ul li a:hover{text-decoration:underline;}
div.side_navigation ul li a.current_action{color: #287dad; font-size: 14px;}
div.side_navigation ul li a.current_action:after{content: '>'}

/*******************************
Standard forms
*******************************/
form.standard {padding: 10px 40px;}
form.standard label{display:block; margin-left: 0px;}
form.standard input{margin-top: 0px; margin-bottom: 10px; padding: 2px;}
form.standard label{clear:both; margin-top: 5px;}
form.standard label.checkbox{margin-top: 0px;}
form.standard input.text{width: 270px; margin-left: 0px;}
form.standard input.checkbox{display: inline; vertical-align: sub;}
form.standard input.hidden{height: 0px; padding: 0; margin: 0;}
form.standard select{display:block; float:left; margin-left: 10px;}
form.standard select.first{margin-left: 0px;}
form.standard input.checkbox{margin-top: 0px; clear:none;}
/* Submit buttons */
input.submit{background: no-repeat top left; border: 0; cursor: pointer; float: none; clear: both;}
input.submit.save{background-image:url(/images/layouts/standard/submit_buttons/save.gif); width:52px; height: 18px;}
input.submit.send{background-image:url(/images/layouts/standard/submit_buttons/send.gif); width:52px; height: 18px;}
input.submit.search{background-image:url(/images/layouts/standard/submit_buttons/search.gif); width: 69px; height: 19px;}
input.submit.add_tag{background-image:url(/images/layouts/standard/submit_buttons/add_tag.gif); width: 75px; height: 19px;}
input.submit.select{background-image:url(/images/layouts/standard/submit_buttons/select.gif); width: 73px; height: 19px;}
input.submit.go{background-image:url(/images/layouts/standard/submit_buttons/go.gif); width: 43px; height: 19px;}
input.submit.confirm{background-image:url(/images/layouts/standard/submit_buttons/confirm.gif); width: 120px; height: 30px;}
input.submit.enter{background-image:url(/images/layouts/standard/submit_buttons/enter.gif); width: 74px; height: 19px;}
input.submit.next_step{background-image:url('/images/layouts/standard/submit_buttons/next_step.gif'); width: 120px; height: 30px;}
/*******************************
Errors and notices
*******************************/
div#error_shroud{position: absolute; top:0; left:0; width:100%; height:100%; max-height: 1000%; z-index:1001; background-color: #000; filter:alpha(opacity=60); -moz-opacity:0.6; opacity: 0.6; cursor:pointer;}

div#notices{position:absolute; left:50%; margin-left:-190px; top: 108px; width: 355px; z-index:10003; width: 360px;}
div#notices h1{position:relative; background:transparent url(/images/layouts/standard/notices/notices_header.png) no-repeat scroll center top; color:#FFFFFF; height:23px; padding-top: 2px; text-align:center; font-size: 16px;}
div#notices h1 a{position: absolute; top:5px; right: 5px;}
div#notices div#notice_body{background:transparent url(/images/layouts/standard/notices/notices_body.png) repeat-y scroll center top; color:#666; padding: 10px 20px;}
div#notices div#notice_body #notice_image{margin-right: 15px; float: left;}
div#notices div#notice_body ul{list-style-position: inside; float: left; width: 250px;}
div#notices div#notice_body li{margin-bottom: 10px;}
div#notices div#notice_body #notice_close_button{cursor: pointer; text-align: center; display: block; margin-top: 10px; clear: both; height:19px; outline: none;}
div#notices span.footer{display: block; width: 360px; height: 6px; background: url(/images/layouts/standard/notices/notices_footer.png) no-repeat;}

#notice_box_image{z-index:10007;width: 100px;float:left;height: 100%;text-align:center;}
input.error, select.error{background-color: #F8BFBF;}

/******************************
Standard Columns
******************************/
div#large_left{width:580px; float:left; margin: 0 6px 0 12px; display: inline;}
div#small_right{width: 275px; float:left; margin: 0 12px 0 6px; display: inline;}
div#small_left{width:200px; float:left; margin: 0 6px 0 12px;}
div#large_right{width: 580px; float:left; margin: 0 12px 0 6px;}

/* Pagination */
ul.pagination li{display: inline; color: #333; font-weight: bold;}
ul.pagination li a{text-decoration: none; color: #0d5e92;}

/* Text Controls */
img.text_control{vertical-align: middle;}

/* Rating Stuff */
span.pointsLabel{font-size: 11px;font-weight: bold;color:#333;margin:2px 3px 0 0;}
p.ratingLabel{float:left;font-size: 11px;font-weight: bold;color:#333;margin:2px 3px 0 0;}

/* Auto Complete Boxes */
ul.auto_complete{position: absolute; border: 1px solid #CCC; width: 200px; background-color: #FFF; height: 100px; list-style-type: none; overflow: auto; z-index: 10001;}
ul.auto_complete li.even {background-color: #e6e6e6;}
ul.auto_complete li a{display: block; border: 1px solid #EEE; cursor: pointer; text-decoration: none; color: #666; outline: none;}
ul.auto_complete li a:hover{background-color: #333; color: #FFF;}