/* Basic setup */
.ui-layout-content, .pb_page_bg {
	background-color: #FBFBFB !important;
}

body {
	font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
	font-size: 13px;
	background-color: #000000;
	margin: 0px;
	padding: 0px;
}

/* Make Map div full size else it never seems to show */
#pb_map_canvas {
	width:100%;
	height:100%;
	padding: 0;
	margin: 0;
}

/* Loading animation overlay - ToDo: center */
#pb_loading {
	z-index: 999;
	background-color: black;
	position: absolute;
	width: 50px;
	height: 50px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 10px;
}

.pb_dialog{
	z-index: 998;
}

/* - Header Stuff - */
.pb_logobox{
	display:table-row;
	padding: 0px 20px 0px 20px;
	width: 350px;
}

.pb_logobox div{
	display:table-cell;
	vertical-align:middle;
	height: 80px;
}

#pb_locbox {
	width: 130px;
}

#pb_zoombox {
	width: 120px;
}

#pb_wherebox {
	width: 120px;
	text-align: center;
}

#pb_wherebox div {
	padding: 5px;
}

#pb_locbox, #pb_zoombox, .pb_logobox, #pb_wherebox {
	height: 86px;
	margin: 5px;
	float: left;
	font-size: 12px;
	border: 1px solid black;
}

#pb_locbox  div {
	margin: 0;
	float: right;
	padding-right: 5px;
	padding-top: 4px;
	font-size: 16px;
}

#pb_zoombox .pb_databox_boxlabel {
	margin-top: 10px;
}

#pb_zoombox div {
	margin: 0;
	float: right;
	padding-right: 5px;
	padding-top: 15px;
	font-size: 30px;
}

.pb_databox_boxlabel {
	font-size: 20px;
	margin: 0;
	padding-left: 5px;
 	font-weight: bold;
	vertical-align: middle;
}

.pb_databox_boxsublabel {
	font-size: 10px;
	margin: 0;
	padding-left: 5px;
 	font-style: italic;
 	background-color: #dddddd;
}

.pb_databox_boxheading, #pb_wherebox :first-child {
	text-align: center;
	font-weight: bold;
	margin: 0;
 	background-color: #cccccc;
	padding: 0;
}

.pb_sr_started{
	background: #FFCC00;
}

.pb_sr_error{
	background: #CC0000;
}

.pb_sr_ok{
	background: #00CC00;
}
/* - */

#pb_gps_import {
	top: 0px !important;
}

/*Sidepanel styling */
form.pb_sidepanel_form label {
	display: inline-block;
	line-height: 1.8;
	vertical-align: top;
	width: 40%;
}

form.pb_sidepanel_form textarea, form.pb_sidepanel_form input[type="text"] {
	width: 58%;
}

form.pb_sidepanel_form .pb_sidepanel_form_submit{
	width: 29%;
}

form.pb_sidepanel_form label.error {
	/*margin-left: 40%;*/
	width: 100% !important;
	font-style: italic;
	color: red;
	/*text-align: right;*/
}

form.pb_sidepanel_form em {
	font-size: 0.9em;
}

.pb_column_layout {
	display: table-cell;
	margin: 1px;
	vertical-align: middle;
}

.pb_loclist_entry_left{
	width: 23%;
	text-align: center;
}

.pb_loclist_entry_right{
	width: 75%;
}

.pb_loclist_entry{
	display: inline-block;
	vertical-align: middle
}
/* - */

/* UI Theming */
/* Two row style button tab - modifies jQL settings*/
.pb_tabrow div {
	display:table-cell;
	vertical-align: middle;
	font-size: 0.8em;
	text-align: center;
	height: 3em;
}

.pb_tabrow div a{
	padding: 0 0.5em 0 0.5em !important;
}

.pb_header { 
	background: #80ade5 url(apis/jquery/ui/css/smoothness/images/80ade5_40x100_textures_04_highlight_hard_100.png) 0 50% repeat-x;
	border-bottom: 1px solid #777;
	font-weight: bold;
	text-align: center;
	padding: 2px 0 4px;
	position: relative;
	overflow: hidden;
	font-size: 1.2em;
	margin: 0;
}

.pb_subheader {
	background: #AAA url(apis/jquery/ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png) 0 50% repeat-x;
	border-bottom: 1px solid #777;
	font-weight: bold;
	text-align: center;
	padding: 2px 0 4px;
	position: relative;
	overflow: hidden;
}
.pb_footer {
	background: #AAA url(apis/jquery/ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100) 0 50% repeat-x;
	border-bottom: 1px solid #777;
	font-weight: bold;
	text-align: center;
	padding: 2px 0 4px;
	position: relative;
	overflow: hidden;
}

.pb_content {
	position:	relative;
	overflow:	auto;
}
.pb_content_canvas {
	padding: 5px;
}

.ui-layout-pane-west {
	padding:	0;
}

.ui-layout-pane-west .ui-tabs-nav {
	/* don't need border or rounded corners - tabs 'fill' the pane */
	border-top:		0;
	border-left:	0;
	border-right:	0;
	padding-bottom:	0 !important;
	-moz-border-radius:		0;
	-webkit-border-radius:	0;
}
/* - */


/* Facebook FBML overrides */
/* Login Box */
#pb_login {
	font-size: 12px;
	width: 170px;
	/*float: right;*/
	padding: 0 10px 0 10px;
	position: absolute;
	top: 0;
	right: 0;

}

#pb_login .pb_loggedin_show  img {
	float: right;
	margin: 5px 0 5px 5px;
	border: 1px solid black;
}

#pb_loggedin .pb_loggedin_show  p {
	float: left;
	width: 100px;
}

#pb_loggedin .pb_loggedin_show button {
	clear: left;
	float: left;
}

/* - */

/* jQuery Layout plugin default settings overrides */
.ui-layout-pane { /* all 'panes' */
	background:	#666;
	border:		1px solid #BBB;
	padding:	0; 
	margin: 	0;
	overflow:	auto;
	font-size:	1em;
}

.ui-tabs-panel {
	padding:	0em !important;
}

.ui-layout-content {
	padding: 0 0 1.5em !important;
}

p {
	margin: 0;
}
/* - */

