@import "admin.css";
@import "forms.css";

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
	text-align:center;
}

a:link, a:visited {
	text-decoration: underline;
	color: #ff8125;
}

a:hover {
	text-decoration: underline;
	color: #333;
}

a.bullet_link:link, a.bullet_link:visited {
	padding-left: 15px;
	background: url(/db/images/bullet.gif) no-repeat left center;
}

.brClear {
	margin: 0;
	height: 0;
	font-size: 1px;
	line-height: 0px;
	clear: both;
}

.brBreak {
	line-height: 25px;
	clear: both;
}

h3.title {
	background: #8B9298 url(/db/images/bg_widget_header.gif) repeat-x 0 0;
	margin: 0;
	padding: 5px;
	font-size: 13px;
	color: #333;
	border-bottom: 1px solid #696E72;
}

table {
	margin: 10px 0;
	border-collapse: collapse;
}

table th {
	padding: 5px;
	background: #D8D8D8;
	border: 1px solid #CCC;
	font-weight: bold;
}

table td {
	padding: 5px;
	border-bottom: 1px solid #CCC;
/*	text-align: left; */
}

h1 {
	color:#555555;
	font-size:28px;
	font-weight:normal;
	letter-spacing:-2px;
	margin:0pt 0pt 8px;
}

pre {
	padding: 10px;
	background: #E4E4E4;
	border: 1px dashed #CCC;
	color: #7D7D7D;
}

#dashboardWrapper {
	margin: 0 auto 0 auto;
	padding: 10px 0 0 0;
	background: url(/db/images/bg_dashboard_larger.gif) no-repeat 0 0;
	width: 1140px;
	clear: both;
	text-align:left;
}

#dashboard {
	margin: 0 auto;
	padding: 10px;
	padding-top: 0;
	width: 1120px;
	position: relative;
	text-align:left;
	clear:both;
}

#mainWrapper {
	margin: 0 auto;
	padding: 0;
	width: 1140px;
	/*clear: both;*/
	text-align:left;
}

#main {
	margin: 0 auto;
	padding: 10px;
	width: 1120px;
	float: left;
	position: relative;
}

#pageheader {
	padding: 16px 0 0 10px;
	width: 1115px;
	height: 44px;
	background: url(/db/images/bg_pageheader.gif) no-repeat bottom;
}

#footer {
	clear:both;
}

h1.pagetitle {
	font-size: 20px;
	color: #FFF;
}

/* Area Styles */
.area {
	margin: 5px 0 0 0;
}

/* Widget Styles */
.widget {
	margin: 0 5px 10px 5px;
	border: 1px solid #696E72;
	position: relative;
}

.widget_controls {
	float: right;
	height: 20px;
	margin: 5px;
}

.widget_input {
	background: silver;
	border-bottom: 1px solid #696E72;
	padding:5px 10px 5px 164px;
	position:relative;	
}

.widget_control {
	margin:0 0 2px 0;
	text-align:left;
}

.widget_control label {
	display:block;
	width:160px;
	text-align:right;
	position:absolute;
	margin-left:-175px;
	color:#555555;
}

.widget_control input[type=text], .widget_control input[type=password], .widget_control textarea {
	border-top: 1px solid #666666;	
	border-left:1px solid #666666;
	border-bottom:1px solid #AAAAAA;
	border-right:1px solid #AAAAAA;	
}

.widget_control input.datepicker {
	width:165px;
}

.widget_control .hint  {
	font-size:smaller;
	color:#666666;
}


.widget_content {
	width: 100%;
	overflow: auto;
}

.widget_content_padding {
	padding: 5px 10px;
}


/*td.right, table.align-right tr td {
	text-align: right;
}

td.left, table.align-left tr td {
	text-align: left;
}
*/
.widget_content_header, .widget_content_footer {
	overflow: auto;
}

.clear {
	clear: both;
	height:1px;
	line-height:1px;
}

.widget_corner {
	height: 25px;
	line-height: 25px;
	padding: 0 5px;
}

.widget_corner img.icon {
	vertical-align: bottom;
}

.widget_blcorner, .widget_tlcorner {
	float: left;
}

.widget_trcorner, .widget_brcorner {
	float:right
}


/* Universal Layout Styles */
#area1, #area5 {
	clear:both;
}


/* Layout 3: 3 equal columns */
.layout3 #area2{
	float:left;
	width:365px;
	margin-right:13px;
}

.layout3 #area3{
	float:left;
	width:365px;
	margin-right:12px;
}

.layout3 #area4{
	float:left;
	width:365px;
}


/* Layout 2: left sidebar */
.layout2 #area2{
	float:left;
	width:410px;
	margin-right:10px;
}

.layout2 #area3{
	float:left;
	width:630px;
}

.layout2 #area4{
	display:none;
}


/* Layout 4: right sidebar */
.layout4 #area2{
	float:left;
	width:630px;
	margin-right:10px;
}

.layout4 #area3{
	float:left;
	width:410px;
}

.layout4 #area4{
	display:none;
}


/* Layout 1: single column */
.layout1 #area2{
}

.layout1 #area3{
	display:none;
}

.layout1 #area4{
	display:none;
}

/*#loginbox {
	margin: 0 auto;
	width: 400px;
	background: #EEE;
	border: 1px solid #CCC;
}
*/

#loginbox {
	padding-bottom:30px;
}

h3.title_login {
	margin: 0;
	padding: 0;
	line-height: 30px;
	background: #CCC;
}

a.btn:link, a.btn:visited, .btn {
	background: #ff8125;
	border-right: 1px solid #CE0000;
	border-bottom: 1px solid #CE0000;
	text-decoration: none;
	color: #FFF;
}

a.btn:hover {
	text-decoration: underline;
}

html {
	background: url(/db/images/bg_body_top.jpg) repeat-x;	
}

#header {
	/*margin: 0 auto;
	height: 70px;
	width: 100%;*/
}

#signature {
 	clear:both;
	padding: 2px 10px 3px 10px;
	text-align:center;
	border-top:1px solid #999999;
 	background-color: #e8e8e8;
	font-size:11px;
}

#logo {
/*	top: 18px;*/
	left: 20px;
	position: static;
	clear: both;
	text-align: left;
}

#header_nav {
	background: url(/db/images/bg_header_nav_links.jpg) no-repeat 0 0;
/*	position: static;
	top: 0;
	right: 0;*/
	width: 150px;
	float: right;	
}

#header_nav div img,
#header_nav div {
	display: none;
}

#dashboard_nav {
	background: url(/db/images/bg_dashboard_nav.jpg) no-repeat 0 0;
/*	position: static !important;
	top: 0;
	right: 150px;
*/	padding: 0 0 0 13px;
/*	height: 30px;
	border-right: 1px solid #CCCCCC;
*/	text-align:right;		
}

ol.header_nav_links {
	margin: 0;
	float: right;
	position: relative;
}

ol.header_nav_links li, ol.dashboard_list li {
	list-style: none;
	/*float: right;*/
	line-height: 30px;
	display:inline-block;
}

ol.header_nav_links li {
	border-right: 1px solid #CCCCCC;			
	padding: 0 8px;
}

ol.header_nav_links li a {
	text-decoration: none;
	color: #FFFFFF;
}

ol.header_nav_links li a:hover {
	text-decoration: underline;
}

ol.dashboard_list {
	margin: 0;
	padding: 0;
padding-right:4px;
/*        height: 30px;*/
        background:url("/db/images/header_bg_slice.png") repeat-x scroll 0 0 transparent;
}

ol.dashboard_list li {
	color: #FFFFFF;
	border-left: 1px solid #999;
	vertical-align:top;
	margin:0px !important;			
}

ol.dashboard_list li a {
	background: url(/db/images/bg_dashboard_nav_link.jpg) repeat-x 0 0;
	color: #f2f2f2;
	display: block;
	height: 30px;
	/*padding: 0 8px;*/
	padding:0px;
	margin-right:-4px;
	line-height: 30px;	
	text-decoration: none;
	/*float:left;*/
}

ol.dashboard_list li.admin_tab a {
background-image:url(/db/images/bg_header_nav_links.jpg);
background-repeat:repeat-x;
text-decoration:underline;
}

ol.dashboard_list li.admin_tab a:hover {
background-image:url(/db/images/bg_header_nav_links.jpg);
text-decoration:none;
}

ol.dashboard_list li.db_active a, ol.dashboard_list li.db_active a:hover {
	background: url(/db/images/bg_dashboard_nav_active.jpg) repeat-x 0 0;	
	text-decoration:none;
}

ol.dashboard_list li a:hover {
	/* text-decoration: underline;*/
        color: #FFFFFF;
	background: url(/db/images/bg_dashboard_nav_hover.jpg) repeat-x 0 0;
}

#trackWrapper {
	position: relative;
	float: left;
	width: 377px;
	height: 34px;
	background: url(/db/images/backgroundTrackWrapper.png) no-repeat;
	margin: 0px auto 10px;
}

#trackWrapper #trackMsg {
	float: none !important;
	position: absolute !important;
	top: 0;
	left: 0;
}

#trackWrapper #track1 {
	float: none !important;
	position: absolute !important;
	top: 0;
	right: 0;
}

#outerTrackWrapper {
	margin: 0 auto 10px;
	width: 377px;
	height: 34px;
}

#dispRate {
	font-weight: bold;
	font-size: 11px;
	float: left;
	margin: 10px 0 0 8px;
	padding: 0;
	line-height: 11px;
}

#printFrame { 
	position:absolute;
	top:0px;
	left:-9999px;
}

.ctrl {
	margin:0 0 7px 0;
}

.ctrl label {
	display:block;
	color:#555555;
	padding:0;
}

.ctrl input[type=text],  textarea {
	width:99%;
	border-top: 1px solid #666666;	
	border-left:1px solid #666666;
	border-bottom:1px solid #AAAAAA;
	border-right:1px solid #AAAAAA;	
	padding:2px;
}

.ctrl input.datepicker {
	width:165px;
}

.ctrl .hint  {
	font-size:smaller;
	color:#666666;
}

.inline {
	padding-left:190px;
	position:relative;
}

fieldset.inline legend {
	padding-right:5px;
	padding-left:5px;	
	margin-left:-180px;
}

.inline .directions {
	margin-left:-180px;
}

.inline .ctrl label {
	display:block;
	width:180px;
	text-align:right;
	position:absolute;
	margin-left:-190px;
}

.db-layout li {
	margin: 5px 10px;
	display: inline-block;
	border: 4px solid #EEEEEE;
}

.db-layout .active {
	border: 4px solid #00BB27;
}

.db-layout li:hover {
	border: 4px solid #C20000;
}

#dashboard-properties table {
	margin: 0px;
}

#widgets-pane .widget-icon img{
	float: left;
}

.one-column, .two-column .area, .three-column .area {
	width: 100%;
	height: 145px;
	border: 1px dashed #ccc;
	margin: 0px auto 10px;
	text-align: center;
	padding: 10px 0px;
}



#layout-body .one-column .area,
#layout-body .one-column {
	height: 90%; 
}

#layout-body .one-column  {
	padding: 0px;
	display: none;	
}

.two-column .area{
	width: 357px;
	float: left;
}

.two-column, .three-column {
	padding: 0px;
	display: none;
	height: 200px;
	width: 735px;
}

.three-column .area{
	width: 200px;
	float: left;
}


#layout-body {
	height: 170px;
}

#dashboard-content {
	height: 100%;
	padding-left: 10px;
	padding-right: 12px;
}

#dashboard-accordion {
	width: 100%;
}
.light-up {
border: 1px dotted #00BB27;
background-color: #00BB27;
}

.widget-header{
	position:relative;
	border-left: none;
	border-right: none;
	text-align: left;
	padding: 2px;
	margin-top: 1px;
}

.ui-accordion .ui-accordion-header {
	z-index: 1000;
	padding: 2px;
}

.widget-header:hover {
	cursor: pointer;
}

#widget-icons {
	padding: 10px 5px;
	display: block;
	width: 237px;
	height: 566px;
}

#widget-icons div, #dashboard-content .area div {
	text-align: left;
	width: 190px;
	height: 40px;
	margin: 5px auto;
	padding: 5px;
	background-color: #FFFFFF;
	border: 1px solid #cccccc;
}

#dashboard-content .area div {
	width: 90%;
	position: relative;
}

#widget-icons div:hover {
	border-color: #00BB27;
	background-color: #f3f3f3;
}

#widget-icons div img, #dashboard-content .area div img{
	margin: auto;
	height: 30px;
	width: 30px;
	float: left;
}
#widget-icons .widget-id, #dashboard-content .widget-id {
	margin: 0px 10px 0px 55px;
	height: 40px;
	display: block;
}

#dashboard-content .widget-id {
	margin: 0px;
	margin-left: 50px;
}

.widget-medium {
	background: url(/db/images/medium-widget.png) no-repeat left bottom;
}

.widget-large {
        background: transparent url(/db/images/full-widget.png) no-repeat left bottom;
}

.widget-small {
        background: url(/db/images/small-widget.png) no-repeat left bottom;
}

#widget-toolbox {
/*	overflow: hidden; */
	width: 250px;
	margin-top: 10px;
	padding: 10px 0px;
    position: absolute;
    top: 50px;
    left: 795px;
}

#widget-toolbox .ui-accordion-content {
position: static;
}

#dashboard-content .area {
	overflow: auto;
}

#dashboard-content h4 {
	position: relative;
}
	
.widget-icon {
	width: 20px;
	height: 20px;
}

.angle-widget-icon {
        background: url(/db/images/angle_widget_icon.jpg) no-repeat 10px 0px;
}

.area-widget-icon {
	background: url(/db/images/area_widget_icon.gif) no-repeat left 5px;
}

.bar-widget-icon {
        background: url(/db/images/bar_widget_icon.gif) no-repeat left 5px;
}

.bulb-widget-icon {
        background: url(/db/images/bulb_widget_icon.jpg) no-repeat left top;
}

.bullet-widget-icon {
        background: url(/db/images/bullet_widget_icon.gif) no-repeat 5px 5px;

}

.col-widget-icon {
        background: url(/db/images/col_widget_icon.jpg) no-repeat 4px 5px;

}
.cylinder-widget-icon {
        background: url(/db/images/cylinder_widget_icon.jpg) no-repeat 5px top;

}
.donut-widget-icon {
        background: url(/db/images/donut_widget_icon.jpg) no-repeat left 5px;

}
.funnel-widget-icon {
        background: url(/db/images/funnel_widget_icon.gif) no-repeat left 5px;

}
.gantt-widget-icon {
        background: url(/db/images/gantt_widget_icon.gif) no-repeat left 5px;

}
.html-widget-icon {
        background: url(/db/images/html_widget_icon.png) no-repeat left top;

}

.led-widget-icon {
        background: url(/db/images/led_widget_icon.jpg) no-repeat 5px 20px;
}

.linear-widget-icon {
        background: url(/db/images/linear_widget_icon.jpg) no-repeat 5px 20px;
}

.line-widget-icon {
        background: url(/db/images/line_widget_icon.gif) no-repeat left 10px;

}

.map-widget-icon {
        background: url(/db/images/map_widget_icon.jpg) no-repeat 5px top;

}

.pie-widget-icon {
        background: url(/db/images/pie_widget_icon.jpg) no-repeat left top;

}

.spark-widget-icon {
        background: url(/db/images/spark_widget_icon.gif) no-repeat left 5px;

}

.pyramid-widget-icon {
        background: url(/db/images/pyramid_widget_icon.jpg) no-repeat 5px top;

}

.table-widget-icon {
        background: url(/db/images/table_widget_icon.jpg) no-repeat left top;

}

.text-widget-icon {
        background: url(/db/images/text_widget_icon.png) no-repeat left top;

}

.therm-widget-icon {
        background: url(/db/images/therm_widget_icon.jpg) no-repeat 10px top;

}

.delete-widget {
	text-indent: -5000px; 
	padding: 0px;
	background: transparent url(/db/images/close_icon2.gif) no-repeat scroll center center; 
	display: block; 
	position: absolute; 
	width: 20px; 
	height: 20px; 
	overflow: hidden;
	top: 0px;
	right: 0px;
}

#layout-body .area div{
	position: relative;
}


#widget-pane table tbody tr {
	cursor: move;
}


#layout-body div.last {
	margin-left: 10px;
}

#layout-body .three-column div.middle {
	margin: 0px 10px;
}
#layout-body .three-column div.last {
	margin-left: 0px;
}

#layout-body .three-column .area {
	width: 234px;
}

#layout-body div.active {
	display: block;
}

#layout-footer {
margin-top: 10px;
}

.required-field {
	border: 1px red solid;
}

#dashboard-controls {
	position: absolute;
	top: -20px;
	right: 10px;
	width: 100%;
	text-align: right; 
}

#dashboard-controls .button-pane-dialog button:hover {
	color: #cccccc;
}

#user_password {
border: auto;
width: auto;
}

#new-user {
    height: 285px !important;
}

.ui-dialog-content table td {
border: none;
}

a.add-widget, a.add-user, a.add-dashboard, a.add-feed, a.add-file {
	background: transparent url(/db/icons/cog_add.png) no-repeat 0 0;
	text-indent: 20px;
	text-decoration: none;
	color: #ff8125;
	display: block;
}

a.add-user {
	background:  transparent url(/db/icons/user_add.png) no-repeat 0 0;
}

a.add-file {
	background:  transparent url(/db/icons/add.png) no-repeat 0 0;
}

a.add-dashboard {
	background:  transparent url(/db/icons/layout_add.png) no-repeat 0 0;
}

a.add-feed {
        background:  transparent url(/db/icons/feed_add.png) no-repeat 0 0;
}

#dashboard-content .area div.ui-draggable-dragging {
	width: 190px;	
}

#dashboard-content .area #droppable-pos {
	background-color: #e2e2e2;
}

h3.title {
	margin: 0;
	padding: 5px;
	font-size: 13px;
	color: #333;
	border-bottom: 1px solid #696E72;
}
ol.dashboard_list li a {
	display: block;
	height: 30px;
	padding: 0 8px;
	line-height: 30px;	
	text-decoration: none;
	float:left;
}

.widget_input {
	border-bottom: 1px solid #696E72;
	padding:5px 10px 5px 164px;
	position:relative;	
}
ol.dashboard_list li {
/*display:inline-table;*/
}
ol.header_nav_links li {
height:30px;
vertical-align:middle;
}
.hidden {
display:none;
}

/* Track */
#handle1 {
    background: url(/db/images/sliderHandle2.png) 0 0 no-repeat;
}

#handle1 img {
    display: none;
}

/* Printing Window */
.print_window .widget_controls {
	display:none;
}


#logo {
	margin-top:8px;
}

/* ---------------------------------------------------------------------
Sticky Footer Styles
------------------------------------------------------------------------ */

html, body {height: 100%;}

#mainWrapper {min-height: 100%;}

#content {
	overflow:auto;
	padding-bottom: 33px; 
}  /* must be same height as the footer */

#footer {
	position: relative;
	margin-top: -33px; /* negative value of footer height */
	height: 33px;
	clear:both;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}

/* ---------------------------------------------------------------------
Package Management
------------------------------------------------------------------------ */

div#tabs {
	clear: both;
}

div.tab_content {
	max-height: 500px;
	overflow: auto;
}

div#submit {
	float: right;
	margin-bottom: 5px;
}

.package_save {
    padding: .2em .6em .3em;
    cursor: pointer;
}
