
h1{
	-webkit-margin-after: 0.3em;
}

.dialog {
	display: none;
}

.action {
	cursor: pointer;
}

.deleted {
	color: #808080;
}

.hidden {
	display: none;
}

#form {
	width: 400px;
	float: left; 
}

#map {
	height: 580px;
	float: left;
	width: 800px;
}

.readonly, .legal_doc:read-only {
	background-color: #d0d0d0;
	color: #404040;
}

/* - - - - - - - - - - - - - - - - - - - - - */

.sys_unselectable {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.gotoymaps{
	display: none !important;
}

button {
	border-radius:15px;
	background:#DDDDDD;
}

.uibutton {
	cursor: pointer;
	font-size: 1em;
	font-family: Arial,Helvetica,sans-serif;
	border-radius: 3px;
	color: #454545;
	text-decoration: none;
	border: 1px solid #c5c5c5;
	background: #f6f6f6;
	font-weight: normal;
	padding: .4em .8em;
	display: inline-block;
	position: relative;
	line-height: normal;
	vertical-align: middle;
	text-align: center;
	user-select: none;
	overflow: visible;
}
.uibutton:hover,
.uibutton:focus {
	border: 1px solid #cccccc;
	background: #ededed;
	font-weight: normal;
	color: #2b2b2b;
}
.uibutton_selected {
        cursor: pointer;
        font-size: 1em;
        font-family: Arial,Helvetica,sans-serif;
        border-radius: 3px;
        color: #454545;
        text-decoration: none;
        border: 1px solid #c5c5c5;
        background: #AEEAAE;
        font-weight: normal;
        padding: .4em .8em;
        display: inline-block;
        position: relative;
        line-height: normal;
        vertical-align: middle;
        text-align: center;
        user-select: none;
        overflow: visible;
}
input, select {
	border-radius:5px;
	background:#FFFFFF;
	border:1px solid #BBBBBB;
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
	box-sizing:content-box;
}

button:focus, input:focus, select:focus { outline: none; }

input::-webkit-input-placeholder {
	color:#000000;
}

input:-moz-placeholder {
	color:#000000;
}

input[type="text"], input[type="password"], input:not([type]) {
	padding-left: 2px;
	padding-right: 18px;
	background:url(/img/pencil_gray.png) right center no-repeat #FFFFFF;
}

input:disabled {
	background-color: #e9e9e9;
}
/*
option[value="0"] {
	color:#BBBBBB!important;
}
*/
.dropdown_container {
	padding:3px;
	background:silver;
	border-radius:3px;
}
.dropdown_header {
	padding:3px;
	background:lightgray;
	border-radius:3px;
	cursor:pointer;
}
.dropdown_dropdown {
	background:silver;
	border-radius:3px;
	width:100px;
}
.checklist_element {
	padding:3px;
	background:lightgray;
	border-radius:3px;
	margin:3px;
	cursor:pointer;
}
.checklist_solo_element {
	border-radius:3px;
	background:silver;
	padding:3px;
}
.top_filter_button {
	padding:3px;
	background:lightgray;
	border-radius:3px;
	border:3px solid silver;
	cursor:pointer;
	display:inline-block;
	width:204px;
}
td .dropdown_container {
	width:220px;
}
.checklist_solo_element .checklist_element {
	margin:0px;
}

body {
	background:#F9F9F9;
	font-family: Tahoma, sans-serif;
	font-size: 0.9em;
	margin: 0px;
	padding: 32px 2px 40px 8px;
}

#title {
	font-family: Helvetica, sans-serif;
}

.js_table {
	width: 100%;
}
.js_table th {
    padding: 5px;
	border-left: 1px solid #909090;
	border-top: 1px solid #909090;
}
.js_table td {
    padding: 5px;
	border-left: 1px solid #909090;
	border-top: 1px solid #909090;
}
.js_table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
.js_table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}
.js_table tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.js_table tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
.js_table tr td:last-child {
    border-right: 1px solid #909090;
}
.js_table tr th:last-child {
    border-right: 1px solid #909090;
}
.js_table tr:first-child th {
	background: #BBBBBB;
}
.js_table tfoot tr:last-child td {
    border-bottom: 1px solid #909090;
	background: #BBBBBB;
}
.js_table tr:hover {
	background-color: rgba(128, 160, 255, 0.2);
}

.incell-table {
	border: none !important;
	border-spacing: 0px;
}
.incell-table td {
	border: none !important;
	padding: 0px;
}

.report thead tr:first-child {
	outline: none;
}
.report tr:last-child {
	outline: none;
}

.unread_token {
	background-image: url('/img/unread_line.png');
	padding-right: 10px;
	background-position: center right;
    background-repeat: no-repeat;
}

.dialog_spacer {
	width: 100%;
	height: 15px;
}

.dialog_title {
	font-size: 12px;
	font-weight: 700;
}

/* стили для главного меню */
#nav {
    display:inline-block;
    width:100%;
    background:#414141;	
	position:fixed;
	top:0px;
	left:0px;
	z-index: 10;
}
#nav li {
    float:left;
    position:relative;
    list-style:none;
}
#nav > li {
	border-right:1px solid #EEEEEE;
}
#nav a {
    display:block;
	padding:8px;
    text-decoration:none;
    font:bold 12px Verdana;
	color:#EEEEEE;
}
#nav li:hover > a {
    background-color:#616161;
}
/*#nav ul li:hover a, #nav li:hover li a {
    background:white;
}*/
#nav ul {
	visibility:hidden;
    padding:0;
    width:175px;
    position:absolute;
}
#nav ul li {
	top:-16px;
    float:none;
    background:#414141;
}
#nav ul a {
    font-weight:normal;
}
#nav ul ul {
    left:175px;
    top:0px;
}

/* Фильтры */
.filter_box {
	float: left;
	margin-right: 20px;
}
.clear {
	clear: both;
}
.is_driver_search {
	background: #b4f7b0;
}
.is_time_warn {
	background: #f8b7c8;
}
button.filter-button {
	border-radius: 0;
	margin-right: 4px;
	margin-bottom: 4px;
	border: 2px solid #A0A0A0;
}
button.filter-button.selected {
	border-color: #008010;
}

.filter_box input, input.filter-input {
	margin-right: 4px;
	margin-bottom: 4px;
	border-radius: 0;
	border: 2px solid #A0A0A0;
	background-image: none;
	padding-right: 0px;
}

.filter_box .ios-ui-select {
	margin-right: 3px;
	margin-left: 6px;
}

::-webkit-input-placeholder {color:#bbbbbb; opacity: 0.6;}
::-moz-placeholder          {color:#bbbbbb;}
:-moz-placeholder           {color:#bbbbbb;}
:-ms-input-placeholder      {color:#bbbbbb;}
span.dr_o_time {
	display: inline-block; 
	color: #fff;
	padding: 0 3px;
}
#sortable { list-style-type: none; margin: 0; padding: 0; }
#sortable li { cursor: pointer; background: #f6f6f6; margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; border: 1px solid #c5c5c5; }
a.additional {
	display: block;
}
a.additional div{
	font-size: 0.9em;
}

.inlineErrorIndicator {
	background-image: url(images/ui-icons_cc0000_256x240.png);
	background-position: -1px -142px;
    min-height: 16px;
    min-width: 16px;
    margin-left: 6px;
	display: none;
}
        margin-bottom: 6px;
}
.ui-dialog-content input[type=text], .inputDialogActionBtnWMargin {
	margin-bottom: 6px;
}
.ui-dialog-content select {
	margin-bottom: 0px
}
.ui-datepicker, .ui-slider {
	box-shadow: 0 0px 2px 0 #000;
	border:1px solid #c5c5c5;
}

.ui-checkboxradio-label {
	padding: .3em !important;
}

/*.ios-ui-select{
	width: 38px;
	height: 20px;
	vertical-align: middle;
}
.ios-ui-select .inner {
	width: 16px;
    height: 16px;
    top: 2px;
}
.ios-ui-select.checked .inner {
    left: 19px;
}*/

.inputDialogActionBtn, .inputDialogActionBtnWMargin {
	display: inline-block;
	text-decoration: underline;
	cursor: pointer;
	color: #808080;
	font-size: 0.9em;
}
.inputDialogActionBtn:hover, .inputDialogActionBtnWMargin:hover {
	color: #299059;
}

.message_element {
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	padding: 14px 16px 14px 16px;
	font-size: 1.2em;
	font-family: sans-serif;
	border-radius: 16px;
	font-weight: bold;
	vertical-align:middle;
}

.message_verlay {
	position : fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.33);
	z-index: 150;
	text-align: center;
	vertical-align: middle;
}

.input_phone input {
	border-left: 0px;
	border-radius: 0px 5px 5px 0px;
	width: 152px;
}
.input_phone select {
	border-radius: 5px 0px 0px 5px;
}

.driver_doc_image {
	width: 180px;
	height: 180px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

.hoverableRows tr:hover {
	background-color: rgba(127, 240, 255, 0.33);
}

.img_overlay_action {
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.15);
}

.img_overlay_action:hover  {
	background-color: rgba(255, 255, 255, 0.5);
}

.menu_item_right {
	display: block;
	border-left: 1px solid #EEEEEE;
	border-right: 0px !important;
    float: right !important;
}

.menu_item_left {
	display: block;
	border-right: 1px solid #EEEEEE;
    float: left;
}

.dev_tasks_comment {}

.dev_tasks_comment .comment_date{}

.dev_tasks_comment .comment_author{}

.dev_tasks_comment .comment_text{
	margin: 2px;
	padding: 0.4em;
	border: 1px solid #c5c5c5;
	background-color: #f6f6f6;
	border-radius: 3px;
}

.dev_tasks_comment .comment_spacer{
	/*background: url('/img/comment_spacer_bg.png');*/
	min-height: 12px;
	height: 12px;
}

.incell_button {
	cursor: pointer;
	border: 1px rgba(0, 0, 0, 0.33) solid;
	background-color: rgba(128, 128, 128, 0.15);
	border-radius: 2px;
	padding: 1px;
	display: block;
}

.incell_button:hover {
	background-color: rgba(128, 128, 128, 0.08);
}

.icon_button {
	background-repeat: no-repeat;
	background-position: center center;
	display: inline-flex;
	min-width: 20px;
	min-height: 20px;
	margin-right: 6px;
}

.menu_item_map, .menu_item_order {
	width: 36px;
	background-repeat: no-repeat;
	background-position: center center;
	height: 16px;
	cursor: pointer;
}

.menu_item_map {
	background-image: url('/img/menu_map.png');
}

.menu_item_order {
	background-image: url('/img/menu_order.png');
}

.map_filter_button_active, .map_filter_button_inactive {
	background-color: rgba(128, 128, 128, 0.15);
	cursor: pointer;
	/*border-radius: 2px;*/
	padding: 2px;
	display: block;
	width: 46px;
	height: 46px;
	text-align: center;
	vertical-align: middle;
	border-radius: 1px;
	background-repeat: no-repeat;
	background-position: center center;
}
.map_filter_button_active {
	border: 2px rgba(0, 160, 32, 1) solid;
	box-shadow: inset 0px 1px 3px rgba(0, 160, 32, 0.7);
}
.map_filter_button_inactive {
	border: 2px rgba(128, 128, 128, 1) solid;
}
.map_filter_button_active:hover {
	border: 2px rgba(0, 180, 32, 1) solid;
	box-shadow: inset 0px 1px 5px rgba(0, 180, 32, 0.8);
	background-color: rgba(128, 128, 128, 0.08);
}
.map_filter_button_inactive:hover {
	border: 2px rgba(160, 160, 160, 1) solid;
	background-color: rgba(128, 128, 128, 0.08);
}

.order_cancel_btn {
	cursor: pointer;
	border: 1px rgba(0, 0, 0, 0.33) solid;
	background: rgba(220, 0, 0, 0.33);
	border-radius: 2px;
	padding: 1px;
}

.order_cancel_btn:hover {
	background: rgba(220, 0, 0, 0.16);
}

.span_show_task_details
, .span_show_user_details
, .span_show_order_details {
	cursor: pointer;
	text-decoration: none;
	color: #100060;
	background-image: url('/img/link_dialog.png');
	padding-right: 5px;
	background-position: top right;
	background-repeat: no-repeat;
}

.span_show_task_details:hover
, .span_show_user_details:hover
, .span_show_order_details:hover {
	background-image: url('/img/link_dialog_hover.png');
}

.dialog_fullscreen {
	border-width: 0px !important;
	padding: 0px !important;
	width: 100% !important;
	height: 100% !important;
	overflow-y: auto;
}

.page_select_wrapper {
	text-align: right;
	float: right;
	padding: 6px 0px 1px 0px;
	margin: 0px;
}

.page_select_wrapper table { 
	border-spacing: 0px;
}

.page_select_wrapper table td { 
	padding: 0px 8px 0px 0px;
}

.page_select_table {
	border: 0px;
}
.page_select_table td {
	cursor: pointer;
	text-decoration: underline;
	color: #101030;
	border: 1px #fff solid;
	background-color: #d0d0d0;
	padding: 3px 6px 3px 6px !important;
}

.page_select_table_selected {
	background-color: #fff !important;
	text-decoration: none !important;
	cursor: default !important;
	color: #000 !important;
}

.filter-checkbox {
	padding: 4px 8px 4px 22px;
	border: 1px #999 solid;
	background-color: #e0e0e0;
	cursor: pointer;
	margin: 1px;
}
.filter-checkbox-selected {
	border: 2px solid #249C24;
	background-image: url('/img/galochka.png');
	background-position: 2px center;
	background-repeat: no-repeat;
	margin: 0px;
	/*background-color: #9BE799;*/
}
.filter-checkbox:hover {
	border-color: #707070;
}
.filter-checkbox-selected:hover {
	border: 2px solid #46FA46;
}
.filter-checkbox input[type=checkbox] {
	position: absolute;
	top: -300px;
}
.filter-checkbox-special {
	padding: 4px 8px 4px 8px;
	border: 1px #999 solid;
	background-color: #e0e0e0;
	cursor: pointer;
	margin: 1px;
	text-align: center; 
}
.filter-checkbox-special:hover {
	border: 2px solid #249C24;
	margin: 0px;
}

.cell-table {
	border: 0px;
	border-bottom: 1px solid grey;
	font-size: 0.9em;
}

.cell-table th {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-radius: 0px;
	font-size: 0.9em;
	background-color: #DDDDDD;
}

.element_loading {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	/*background-color: rgba(255, 255, 255, 0.05);*/
	z-index: 900;
	cursor: wait;
}

.element_loading_text {
	position: fixed;
	left: 64px;
	bottom: 64px;
	font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	z-index: 901;
}

.dispatcher_bar {
	display:block;
    width:100%;
    background:#414141;	
	position:fixed;
	padding: 0px;
	margin: 0px;
	bottom:0px;
	left:0px;
	height: 40px;
	z-index: 70;
}

.dispatcher_bar .call_btn
, .dispatcher_bar .chat_btn
, .dispatcher_bar .notifications_btn {
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	width: 86px;
	height: 40px;
	min-width: 86px;
	background-color:#414141;	
}

.dispatcher_bar .call_btn:hover
, .dispatcher_bar .chat_btn:hover
, .dispatcher_bar .notifications_btn:hover {
	background-color:#616161;
}

.dispatcher_bar .call_btn {
	background-image: url('/img/dispatch_call.png');
}
.dispatcher_bar .chat_btn {
	background-image: url('/img/dispatch_chat.png');
}
.dispatcher_bar .notifications_btn {
	background-image: url('/img/dispatch_notify.png');
}

.dispatcher_bar_panel {
	display: none;
	background: #ECECEC;
    border:#414141 1px solid;	
	position:fixed;
	padding: 0px;
	margin: 0px;
	bottom:40px;
	right:0px;
	height: 340px;
	width: 280px;
	z-index: 70;
	overflow-y: scroll;
	color: #000;
}

.dispatcher_bar_panel .panel_header {
	display:block;
	background: #414141;
	padding: 2px 4px;
	color: #ECECEC;
	margin: 0px;
	width: 100%;
	font-weight: bold;
	height: 24px;
}

.dispatcher_bar_panel .panel_close_button {
	background-image: url('/img/dispatch_close.png');
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	display:block;
	right: 0px;
	float: right;
	background-color: #414141;
	color: #ECECEC;
	margin: 0px;
	width: 24px;
	height: 24px;
}
.dispatcher_bar_panel .panel_close_button:hover {
	background-color:#616161;
}

.dispatcher_bar_panel .notification {
	display:block;
	background: #fff;
	border:#a0a0a0 1px solid;
	border-radius: 4px;
	padding: 4px;
	margin: 4px;
	width: 272x;
}

.dispatcher_bar_panel .message {
	display:block;
	background: #fff;
	border:#a0a0a0 1px solid;
	border-radius: 4px;
	padding: 4px;
	margin: 4px;
	width: 230px;
}

.dispatcher_bar_panel .dispatch_message {
	margin-left: 46px;
}

.switching_input.disabled {
	cursor: pointer;
	opacity: 0.7;
	background-color: #cecece;
	border-color: #9D9D9D;
}

.switching_input.left {
	border-right:0px;
	margin-right: 0px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}

.switching_input.right {
	margin-left: 0px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

.switching_input.center {
	border-right:0px;
	margin-left: 0px;
	margin-right: 0px;
	border-radius: 0px;
}

.named_fieldset {
	border: 1px #c5c5c5 solid;
    border-radius: 4px;
}

.unnamed_fieldset {
	border: none;
	padding: 0px;
    margin: 0px;
}

.order-formulae-button {
	cursor: pointer;
	padding-top: 6px;
	font-size: 0.87em;
	background-color: #e9e9e9;
}

.switch_button_left, button.filter-button.switch_button_left {
	border-width: 2px 1px 2px 2px;
	margin-right: 0px;
}
.switch_button_center, button.filter-button.switch_button_center {
	border-width: 2px 1px 2px 1px;
	margin-right: 0px;
}
.switch_button_right, button.filter-button.switch_button_right {
	border-width: 2px 2px 2px 1px;
}

.chat_dialog_send_button {
	width: 56px;
	height: 56px;
	background-image: url('/img/send_message.png');
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
}

.chat_dialog_send_button:disabled {
	background-image: url('/img/loading1.gif');
}
.chat_dialog_message_table {
	background-color: #d0d0d0;
}
.chat_dialog_message_table .incoming {
	background-color: #99efff;
}
.chat_dialog_message_table .outgoing {
	background-color: #f0f0f0;
}

.chat_dialog_message_table .incoming, .chat_dialog_message_table .outgoing {
	border: 1px #c0c0c0 solid;
	border-radius: 2px;
	margin: 2px;
	padding: 6px;
	width: 248px;
}

.call_window_list_container {
	/*width: 312px;
	//overflow-y: auto;
	//height: 120px;*/
}

.call_window_list_container table {
	width: 300px;
	margin: 2px;
	padding: 0px 2px 0px 2px;
	border: 1px #c0c0c0 solid;
	border-radius: 4px;
	border-spacing: 0px;
}

.call_window_list_container table td {
	height: 30px;
}

.call_window_list_container table .button {
	width: 36px;
	border-left: 1px #c0c0c0 solid;
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
}

.call_window_list_container table .button:hover {
	background-color: #c0c0c0;
}

.notifications_window_list_container table {
	width: 300px;
	margin: 2px;
	padding: 2px;
	border: 1px #c0c0c0 solid;
	border-radius: 4px;
	border-spacing: 0px;
}

.notifications_window_list_container table .message {
	max-width: 326px;
	padding: 6px;
	font-size: 0.9em;
	overflow-wrap: break-word;
}

.notifications_window_list_container table .date {
	font-size: 0.8em;
	text-align: right;
}

.notifications_window_list_container table .order_btn {
	font-size: 0.8em;
	cursor: pointer;
}
.notifications_window_list_container table .order_btn:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

/**
 *	Доки Доки
 */
.doc_menu {
	padding-right: 20px;
	border-right: #999 1px solid;
	vertical-align: top;
}
.doc_menu ul {
	list-style-type: none;
}
.doc_menu li {
	cursor: pointer;
	text-decoration: underline;
	font-size: 1.2em;
}
.code_span {
	font-size: 0.95em;
	font-family: Consolas, monospace;
	background-color: rgba(128, 128, 128, 0.2)
}
.doc_link {
	text-decoration: underline;
	cursor: pointer;
}
