/* main.css */

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  position:fixed;
  font-family: tahoma, arial, helvetica;
  font-size: 12px;
}

#map, #sidebar {
    text-align: center;
    border: 0px;
    height: 100%;
}

.div {
  border: 0px;
}

#sidebar {
    border-color: #BCD;
    display: none;
    text-align: left;
}

#map {
    background-color: #EFE;
    border-color: #CDC;
    width: 100%;
}

.use-sidebar #map {width: 65%;}

.use-sidebar #sidebar {
    display: block;
    width: 34%;
}

#tree ul.dynatree-container {
  height: 100%;
  width: 100%;
  overflow: scroll;
  border: 1px solid #CDC;
  padding: 0;
  margin: 0;
}

.use-sidebar.sidebar-at-left #map, .use-sidebar.sidebar-at-right #sidebar {float: right;}
.use-sidebar.sidebar-at-right #map, .use-sidebar.sidebar-at-left #sidebar {float: left;}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 6px;
}

::-webkit-scrollbar:horizontal {
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 6px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: #ffffff;
}

.selectable-scrollable  {
    font-family: tahoma, arial, helvetica;
    font-size: 12px;
    overflow: auto;
    height: 40vh;
    width: 100%;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.selectable-scrollable li {
    width: 100%;
    height: auto;
    font-size: 12px;
    list-style-type: none;
    margin: 1px;
    overflow: auto;   /* Да не се маха, иначе не скролва в Android 5 & 6  */
}

.selectable-scrollable li table {
	background-color: #eee;
}

.selectable-scrollable li table:hover {
	background-color:#FCFF96;
}

.selectable-scrollable li.ui-selected table {
	background-color: #2196F3; 
	color: #FFFFFF;
}

.maintoolbar {width: 100%; height: 27px; padding: 0; border: 1px solid #dddddd; background-color: rgba(240, 240, 240, .5);    }

.expandedbtn {background: url('../img/down.png') no-repeat !important;}
.collapsedbtn {background:url('../img/up.png') no-repeat !important;}
#draggablebtn {position:absolute; left:20; width:24px; height:24px; top:10}

/*
.gm-style-iw1
{
   left: 0 !important;
   margin-left:0 !important;
   height: 73px !important;
}
*/

.ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-buttonpane {font-size: 0.8em;}
.statdlg .ui-widget-header {background: #03A9F4; border: 0}
.statdlg .ui-dialog-titlebar-close { }
.statdlg div {font-size: 12px;}
.no-close .ui-dialog-titlebar-close {display: none;}
.no-close .ui-widget-header {background: #03A9F4; border: 0}
.no-close div {font-size: 12px;}

.datepicker {
    font-size: 12px;
}

#statdlgmaintext {
    font-size: 12px;
}

.noselect  {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}


#panel {
    position: absolute;
    top: 6px;
    left: 30px;
    margin-left: 0px;
    z-index: 5;
    background-color: #fff;
    padding: 0px;
    border: 0px solid #999;
    opacity: 0.95;
    height: 0px;
}

#PanelPlayer {
    position: absolute;
    margin-left: 30%;
    margin-right: 30%;
    width: 40%;
    z-index: 9;
    background-color: #fff;
    border:1px solid black;
    opacity: 0.95;
    height: 30px;
    top: 5;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.14902);
    -webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
}

.button1 {
	 float: right;
   margin-top: 1px;
   margin-bottom: 1px;
	 margin-right: 2px;
   border:1px solid black;
	 border-bottom-left-radius: 2px;
   border-top-left-radius: 2px;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
		border: 1px solid rgba(0, 0, 0, 0.14902);
		-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
		box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
		vertical-align:middle;
}

#slider {
    width: 60%;
    height: 26px;
    vertical-align:middle;
    float:bottom;
}

.selectedRow {
  background-color: #2196F3 !important;
}

.ui-state-active a, .ui-state-hover a {
    outline: none;
}

#leftPane {
	float:left;width:30%;height:100%;
	overflow: none;
}

#rightPane{	/*Contains toolbar and horizontal splitter*/
	float:right;
	width:70%;
	height:100%;
}

#splitterContainer { /* Main splitter element */
	height:100%;width:100%;
	margin:0;padding:0;
}

.leftButton {
    position: absolute;
    left:8px;
}

#login_response { overflow: auto; color: #D6251F; font-weight: bold; right:10}

.chatSearch{background: url('../img/search16.png')  no-repeat !important;}
#chatSearch{width: 24px !important; height: 24px !important}

.chatclose{background: url('../img/close.png')  no-repeat !important;}
#chatclose{width: 24px !important; height: 24px !important}

.chatSend{margin:4 !important;}
#chatSend{width: 60px !important; height: 24px !important;}

.msgchat{ margin: 4px !important;}
#imgMail{ vertical-align: middle; display: none;position: absolute; left: 190px;}

/*#imgDMsg { vertical-align: middle;}*/

.drvchat-mgs-cell { vertical-align:top; font-weight: bold; }
.drvchat-date-cell { vertical-align:bottom; font-size: 10px;}
.drvchat-dot-cell { vertical-align: text-bottom;}
.drvchat-btn-fastmsg {background: url('../img/send-button.png') no-repeat !important; }
#drvchat-btn-fastmsg {width: 24px !important; height: 24px !important;}
.drvchat-btn-senddest {background: url('../img/location-pin.png') no-repeat !important; }
#drvchat-btn-senddest {width: 70px !important; height: 24px !important;}

.fastmsg-btn-add {background: url('../img/fastmsg_add.png') no-repeat !important; }
#fastmsg-btn-add {width: 24px !important; height: 24px !important; vertical-align: middle !important; }
.fastmsg-btn-edit {background: url('../img/fastmsg_add.png') no-repeat !important; }
#fastmsg-btn-edit {width: 24px !important; height: 24px !important; }
.fastmsg-btn-del {background: url('../img/fastmsg_add.png') no-repeat !important; }
#fastmsg-btn-del {width: 24px !important; height: 24px !important }
.fastmsg-btn-upload {background: url('../img/fastmsg_add.png') no-repeat !important; }
#fastmsg-btn-upload {width: 24px !important; height: 24px !important; }

.img-mgs-container { position: relative; }
.img-mgs-container .top {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.userSearchBtn {background: url('../img/search16.png') no-repeat center !important;}
#userSearchBtn {width:24px !important; height:24px !important; outline: none;}
.userCloseBtn {background: url('../img/close.png') no-repeat center !important;}
#userCloseBtn {width:24px !important; height:24px !important;}

#refinesearch {color: red;}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {color: #000000;}


/* Splitbar styles; these are the default class names and required styles */
.splitbarV {
	float:left;width:6px;height:100%;
	line-height:0px;font-size:0px;
	border-left:solid 1px #9cbdff;border-right:solid 1px #9cbdff;
	background:#cbe1fb url(img/panev.gif) 0% 50%;
}

.splitbarH {
	height:6px;text-align:left;line-height:0px;font-size:0px;
	border-top:solid 1px #9cbdff;border-bottom:solid 1px #9cbdff;
	background:#cbe1fb url(img/paneh.gif) 50% 0%;
}

.splitbuttonV{
	margin-top:-41px;margin-left:-4px;top:50%;position:relative;
	height:83px;width:10px;
	background:transparent url(img/panevc.gif) 10px 50%;
}

.splitbuttonV.invert{
margin-left:0px;background:transparent url(img/panevc.gif) 0px 50%;
}

.splitbuttonH{
	margin-left:-41px;left:50%;position:relative;
	height:10px !important;width:83px;
	background:transparent url(img/panehc.gif) 50% 0px;
}

.splitbuttonH.invert{
	margin-top:-4px;background:transparent url(img/panehc.gif) 50% -10px;
}

.splitbarV.working,.splitbarH.working,.splitbuttonV.working,.splitbuttonH.working{
 	-moz-opacity:.50; filter:alpha(opacity=50); opacity:.50;
}

.nodisplay {
  display: none;
}

svg > g:last-child > g:last-child { pointer-events: none }
div.google-visualization-tooltip { pointer-events: none }

#historyDialogID {
  padding: 0px !important;
}

#map_canvas_history_mob {
	padding: 0px;
	background-color: blue;
	width:100% !important;
	height:100% !important;
}

#historyMap {
	padding: 0px;
	background-color: blue;
}

/* popular tables `itab`  */
table.itab {
	border-left:#333333 1px solid;
	border-top:#333333 1px solid;
	margin:2px; 
	/*font-family: Tahoma, Arial, Verdana, sans-serif;*/
	font-size: 11px;
	font-weight: normal;
	color: #333333;
	text-align:none; 
	text-decoration:none;
}
table.itab td {
	border-right:#333333 1px solid;
	border-bottom:#333333 1px solid;
	padding:1px;
	text-align: center;
}
table.itab th {
	border-right: #333333 1px solid;
	border-bottom:#333333 double 3px;
	text-align: center;
	background:#eee;
	color:#000;
	/*margin:3px; */
	padding:1px;
	font-weight:bold;
}
table.itab_l tr td:first-child  {
	border-right:#333333 double 3px;
	text-align:center;
	background:#ddd;
	color:#000000;
	font-weight:bold;
}

table.eTab {
	border:none;
	margin:2px; 
	font-size:smaller;
	font-weight:normal;
	color:#000;
	text-decoration:none;
}
table.eTab tr th {
	border-bottom:#333333 1px solid;
	padding:1px;
	font-style:italic; 
	text-align:center;
}
table.eTab tr th:not(:first-child) {
	border-left: #333333 1px solid;
}
table.eTab tr td:not(:first-child) {
	border-left: #333333 1px solid;
}
table.eTab tr td {
	padding:1px;
}
table.eTab tr td.etdb {
	font-weight:bold; 
}
table.eTab tr td.etdi {
	font-style:italic; 
}


@media all and (orientation:landscape) {
  #leftPaneMob   {
    float:left;
		width:40% !important;
		height:100% !important;
    overflow: none;
  }
	
  #leftPaneMobTitle   {
    width: 100%; height: 28px; 
		padding: 0; border: 1px solid #dddddd; background-color: #3367d6; color: white; 
		vertical-align: middle; line-height: 28px; padding-left: 3px;
    overflow: none;
  }
	
  #rightPaneMob {
    float:right;width:60%;height:100%;
  }

  #historyGraphPane {
    float:left;width:100% !important;height:100% !important;
    overflow: scroll;
    background-color: blue;
    display: none;
  }
	
  #historyMapPane {
    width:100% !important;height:100% !important;
  }  
	
	#btnRight {
      position: absolute; right: 12px; width: 24px; height: 24px; top:15px;
  }
	
  #btnLeft {
      position: absolute; right: 12px; width: 24px; height: 24px; top:15px; display: none;
  }

}

@media all and (orientation:portrait) {

  #leftPaneMobTitle {
    width: 100%; height: 28px; padding: 0; border: 1px solid #dddddd; background-color: #3367d6; color: white;vertical-align: middle;line-height: 28px; padding-left: 3px;
    overflow: none;
  }
	
  #rightPaneMob {	/*Contains toolbar and horizontal splitter*/
    float:top;width:100%;height:60%;
  }
	
  #leftPaneMob {
    float:bottom;width:100% !important;height:36% !important;
    overflow: none;
  }

  #historyGraphPane {
    float:bottom;width:100% !important;height:100% !important;
    overflow: scroll;
    background-color: white;
    display: none;
  }
	
  #historyMapPane {
    width:100%;height:100%;
  }
	
  #btnRight {
      position: absolute; right: 12px; width: 24px; height: 24px; top:15px;
  }
	
  #btnLeft {
      position: absolute; right: 12px; width: 24px; height: 24px; top:15px; display: none;
  }

}

