/**
 * @version     2.4
 * @author      Sensaris; Benjamin Vadon <benjamin.vadon@sensaris.com>
 */
@CHARSET "UTF-8";


body{
	background: #16275b url(../images/background_horizontal.png) repeat-y scroll 0 0;
	font-family: "Lucida Grande", "Lucida Sans",
 "Lucida Sans Unicode", "Lucida", Verdana,
 "Bitstream Vera Sans", sans-serif; 
	font-size:smaller;
	font-weight:normal;
	margin: 0px;
	overflow: hidden;
}

div#background{
	background:transparent url(../images/background_vertical.png) repeat-x scroll 0 0;
	width: 100%;
	height: 100%;
}

.center{
	width: 280px;
	height: 160px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 7em;
	position: relative;
	border: 3px ridge black;
	padding: 40px;
}


input[type=text], input[type=password], select{
	color:#111;
	background-color: #ffffff;
	border: ridge 2px;
}




/* login  and register panel decoration*/
div.center{
	background-color: #000000;
	color: #ffffff;
}

div.center h2{
	margin-top: -6px;
	padding-bottom: 37px;
	text-align: center;
}

div.center .button{
	color: #ffffff;
	float: right;
}

div.center input{
	float: right;
}


/* button */
.button{
	background: #222;
	opacity: 0.7;
    z-index: 5;
	text-align: center;
	cursor:pointer;
	border: 2px ridge black;
	padding: 1px 10px;
	display: block;
}

.button.active{
	background: #555;
}

.button:hover{
	opacity: 0.90;
}

div.button>a{
	text-decoration: none;
	color:#fff;
} 
/**register, login and disconnect buttons **/
div.button.session{
	position: absolute;
	top: 0px;
	right: 0px;
}

/* sensaris_logo */
#sensaris_logo{
	height: 29px;
	width: 100px;
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: url(../images/sensaris_logo.png) no-repeat center center;
	opacity: 1;
	z-index: 5;
}


/*map section*/
#map {
   /* min-height: 600px;
    min-width: 800px;*/
	height:100%;
	width:100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}


/* to keep unselectable some text part */
.unselectable {
   -moz-user-select: none;
   -khtml-user-select: none;
   user-select: none;
}


/* container */
.container{
	z-index: 2;
	/*min-width: 800px;
	max-height: 300px;*/
	height: 100px;
	position: absolute;
	border: 1px solid black;
	display: none;
}

#top_container{
    top: 0px;
	left: 0px;
	width: 800px;
	min-width: 285px;
   /* -moz-border-radius: 0px 7px 7px 0px ;	*/
	display: none;
}

#bottom_container{
    bottom: 0px;
    left: 0px;
    width: 800px;
    min-width: 120px;
/*	-moz-border-radius: 0px 0px 7px 7px ;	*/
}

.container .tab.hide, .container .panel.hide{
	display: none;
}

/*container's handle*/
.handle{
	background: #333;
	border: 1px solid #444;
	position : absolute;
	z-index: 6;
}

.handle.horizontal{
	height: 5px;
	width: 100%;
	cursor:ns-resize;	
	left: -1px;
}

.handle.vertical{
	height: 100%;
	width: 5px;
	cursor:ew-resize;
	top: -1px;
}

.handle.corner{
	height: 5px;
	width: 5px;
	z-index: 7;
}

.handle.corner.bottom.right	{cursor:se-resize;}
.handle.corner.top.right	{cursor:ne-resize;}
.handle.corner.bottom.left	{cursor:sw-resize;}
.handle.corner.top.left		{cursor:nw-resize;}

.handle.bottom	{bottom: -6px; border-top-color: black;}
.handle.top		{top: -6px; border-bottom-color: black;}
.handle.left	{left: -6px; border-right-color: black;}
.handle.right	{right: -6px; border-left-color: black;}

div.handle:hover, div.handle:active{background: #555;}


/* panel */
.panel{
	background: #000;
	color: #fff;
	display: block;
	height: 100%;
    opacity: 0.90;
	overflow: hidden;
	position: absolute;
	width: 100%;
    z-index: 4;
}
/*
#search_panel	{background: #011;}
#sensnet_panel	{background: #022;}
#files_panel	{background: #033;}
#settings_panel	{background: #044;}
#results_panel	{background: #011;}
#plot_panel		{background: #022;}
*/

/* tab */
div.tab{
	background: #333;
	opacity: 0.7;
    z-index: 5;
	position: absolute;
	text-align: center;
	cursor:pointer;
	color:#fff;
	border: 1px solid grey;
	padding: 1px 10px;
	display: block;
}

div.tab.active{background: #111;}

div.tab:hover, div.tab.active:hover, div.tab:active,  div.tab.active:active{opacity: 0.90;background: #555;}

div.tab.bottom {bottom: -26px; border-top: none;}
div.tab.top {top: -26px; border-bottom: none;}

#search_tab	{left: 0px;}
#sensnet_tab{left: 71px;}
#files_tab	{left: 149px;}
#settings_tab{left: 204px;}

#results_tab{left: 0px;}
#plot_tab{left: 73px;}

#gps_tab{left: 123px;}

div.tab.resizing{cursor: ns-resize;}



/* block_list */
.block_list{
	float: left;
	height: 100%;
	width: 20%;/*
	overflow: auto;
	margin-right: -5px;
	display: inline-table;
	position: relative;
	top: -15px;*/
}

#senspod_log_block_list{
	width:59.9%;
}

/* wrap_head */
.wrap_head{
	height: 100%;
	overflow: auto;
	top: 0px;
	width: 100%;/*
	width: 20%;
	position: absolute;*/
}


/* block_list_title */
.block_list_title{
	background: #222;
	border: 1px solid black;
	font-variant: small-caps;
	font-weight: bold;
	opacity: 0.7;
	padding: 3px 0px;	
	text-align: center;/*
	top: 0px;*/
}


/* list */
.list{
	overflow: auto;/*
	max-height: 100%;
	margin: -1px;
	position: absolute;
	width: 100%;*/
}

/* block_list_footer */
.block_list_footer{
	bottom: 0px;
	/*display: inline;
	position: absolute;
	overflow: auto;
	bottom: 0px;
	width: 20%;*/
}

/* block_list_footer .button */
.block_list_footer .button{
	/*bottom: 0px;*/
	overflow: hidden;
	padding : 1px;
	text-decoration: none;
	color:#fff;
}

/* block_list_footer input[type=text] */
.block_list_footer input[type=text]{
	color:#111;
	background-color: #eee;
	width: 15em;
}
/* block_list_footer input.button */
.block_list_footer input.button{
	display: inline;
}

/* list element */
.element{
	border-bottom: 1px dotted grey;
	/*border-right: 1px solid white;*/
	padding-bottom: 5px;
	opacity: 0.7;
	cursor: pointer;
}

.element.connected:hover, .element.disconnected:hover, .element.selected:hover{	
	opacity: 1;
}

.element.connected{color: white; background: url(../images/online.png) no-repeat center left; padding-left: 32px}

.element.disconnected{color: grey;	background: url(../images/offline.png) no-repeat center left; padding-left: 32px}

.element.selected{
	opacity: 0.8; color: green; 
	border-top: 1px solid green; 
	border-bottom: 1px solid green; 
	/*border-right: 1px dotted green;*/}

/* search panel */
#search_panel form {
	white-space : nowrap;
}

#search_panel .button, #settings_panel .button{
	display: inline;
	color: white;
	opacity: 1;
}

/* sensnet panel */

	
/*#senslink_list_container{
	position: absolute;
	top: 10px;
	z-index: 2;
}


#senslink_list, .sensors_list {
	padding-right: 0;
	margin-right: 0;
	border-bottom: 1px solid gray;
	max-width: 200px;
	display: block;
}

#senslink_list li, .sensors_list li{
	list-style: none;
	padding-bottom: 0.25em;
	border-top: 1px solid gray;
}

#senslink_list li a , .sensors_list li a{
	text-decoration: none;
}
*/


/* #plot_panel */
/*#plot_panel{
	overflow: auto;
}*/

/* tablesorter*/
table.tablesorter tbody{
	overflow-x: hidden;
	overflow-y: auto;
}
table.tablesorter {
	margin: 0px 0px 5px 0px;
	width: 100%;
	text-align: center;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	font-size: 10pt;
	color:#efefef;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background: url(../images/bg.gif) no-repeat center right;
	cursor: pointer;
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #444;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../images/desc.gif);
}

table.tablesorter thead th[name=pin]{
	background: url(../images/marker.png) no-repeat center center;
	height:26px;
}
/*
table.tablesorter thead th[name=edit]{
	background: url(../images/edition.png) no-repeat center center;
	height:24px;
}*/

table.tablesorter thead th[name=tracer]{
	background: url(../images/tracer.png) no-repeat center center;
	height:24px;
}

table.tablesorter thead th[name=dist]{
	background: url(../images/distance.png) no-repeat center center;
	height:24px;
}

table.tablesorter thead th[name=seuil]{
	background: url(../images/seuil.png) no-repeat center center;
	height:24px;
}

/*table.tablesorter tbody td.plot div{
	background: url(../images/icon_sensmanager_gray_32x32.png) no-repeat center center;
	height:32px;
	width: 32px;
	}*/

table.tablesorter tbody td.seuil{
	white-space:nowrap;
}

table.tablesorter select{
	color:#fff;
	border-width:1px;
	background-color: #aaa;
}
table.tablesorter td input[type=text]{
	color:#fff;
	border-width:1px;
	background-color: #aaa;
	width: 31px;
}
table.tablesorter tbody td {
	padding: 4px;
	vertical-align: top;
	font-size:small;
	font-weight:normal;
}
table.tablesorter tbody tr.even td {
	background-color:#333;
	color:#fff;
}
table.tablesorter tbody tr.odd td {
	background-color:#111;
	color:#fff;
}
table.tablesorter tbody tr.even.selected td{
	background-color:#004200;
}
table.tablesorter tbody tr.odd.selected td {
	background-color:#997711;
}

table.tablesorter tbody tr.even.selected.alerte td{
	background-color:#f3f300;
}
table.tablesorter tbody tr.odd.selected.alerte td {
	background-color:#B4DAE3;
}

.hidden{
	display:none;
}

/* new plot */
form.data_form{
	width: 390px;	
}

form.data_form fieldset{
	padding: 3px 0px;
}


form.data_form fieldset div.date,
form.data_form fieldset div.date label,
form.data_form fieldset div.date input,
form.data_form fieldset div.time,
form.data_form fieldset div.duration,
form.data_form fieldset div.duration label,
form.data_form fieldset div.duration input{
	float: left;
}
form fieldset label{
	padding-top: 3px;
}


form.data_form fieldset div.date input{
	width: 80px;
	text-align: center;
}

form.data_form fieldset div.duration input{
	width: 60px;
	text-align: right;
}

#plot_sl>label, #plot_data_choice>label, #gps_sl>label{
	display: block;
}
	
#plot_sl, #plot_data_choice, #gps_sl{
	overflow-y: auto;
}

#plot_sl, #plot_data_choice, #gps_sl{
	float: left;
}

#plot_display_choices label>input[type=text]{
	width: 40px;
}

#gps_options label>input[type=text]{
	width: 30px;
	text-align: right;
}

#plot_display_choices div>label{
	display: inline;
}

#plot_display_choices label, #gps_options label{
	display: block;
}

#plot_content{
	min-height: 1px;
	min-width: 1px;
	position: absolute;
	top: 0px;
	right: 0px;
}

#grid_color, #tick_color, #trace_color{
	display: inline;
	top: -2px;
	position: relative;
	width: 18px;
	height: 18px;
	background: url(../images/colorpicker/select.png);
}
#grid_color div, #tick_color div, #trace_color div{
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	background: url(../images/colorpicker/select.png) center;
}


/* new gps *//*
#gps_form{
	width: 350px;	
}

#gps_panel fieldset{

	border: none;
	padding: 0px;
}


#gps_panel fieldset input[type=radio]{
	margin: 0px;
}

#gps_panel fieldset input[type=text]{
	width: 80px;
}

#gps_panel fieldset input[type=text].time{
	width: 40px;
}

#time_interval{
	width: 130px;
}

#gps_sl>label, #gps_data_choice>label{
	display: block;
}
	
#gps_sl, #gps_data_choice{
	overflow-y: auto;
}

#gps_sl, #gps_data_choice{
	float: left;
}

#gps_display_choices label>input[type=text]{
	width: 40px;
}
#gps_display_choices label{
	display: block;
}

#gps_content{
	min-height: 1px;
	min-width: 1px;
	position: absolute;
	top: 0px;
	right: 0px;
}*/


/*date picker*/
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(../images/datepicker/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}


/*tooltip*/
a>em.tooltip {
	display:none;
}
a:hover {
	border: 0;
	position: relative;
	z-index: 500;
	text-decoration:none;
}
a:hover>em.tooltip {
	font-style: normal;
	display: block;
	position: absolute;
	top: 26px;
	left: -10px;
	padding: 5px;
	color: #000;
	border: 1px solid #bbb;
	background: #ffc;
	min-width:230px;
}
a:hover>em.tooltip>span {
    position: absolute;
    top: -7px;
    left: 15px;
    height: 7px;
    width: 50px;
    background: transparent url(../image/tooltip.png);
    margin:0;
    padding: 0;
    border: 0;
}

/*panel*//*
div.drop_right {
    display:none;
    font-style: normal;
    position: absolute;
    top: -36px;
    left: 20px;
    border-top: 1px  solid grey;
    border-bottom: 1px  solid grey;
    padding: 5px;
    min-width:100px;
    min-height: 59px;
    
}
li:hover {
    border: 0;
    position: relative;
    z-index: 500;
    text-decoration:none;
}
li>span:hover>div.drop_right, div.drop_right:hover, .selected>div.drop_right{
    display: block;
}

span.arrow{
	position: relative;
    top: 2px;
    height: 20px;
    width: 20px;
    display: inline-block;
}
	
li>span.arrow.selected:hover, li>span.arrow.selected{
	 background: transparent url(../image/arrow-clicked.png) no-repeat;
	}

:hover>span.arrow:hover{
    background: transparent url(../image/arrow-clickme.png) no-repeat;
}
:hover>span.arrow{
    background: transparent url(../image/arrow-active.png) no-repeat;
}
span.arrow{
    left: 5px;
    background: transparent url(../image/arrow-inactive.png) no-repeat;
}

/*div.panel{
	display: block;
}*/

.search_bar{
	height : 3em;
}

/*.wait{
	padding-left:20px;
}*/

.wait div{
	background: transparent url(../images/wait.gif)  no-repeat center center;
	witdh: 24px;
	height: 24px;
	bottom: -20px;
}
