html {
    overflow-y: scroll;
}

BODY {
	margin: 0px;
	font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
	background-color: white;
}

TD {
/*	font-size: 9pt; */
	color: #626261;
}

A {
	text-decoration: none;
}

TH.inline, TH.listHeader {
	background-color: #74869A;
	/*font-size: 10pt;*/
	font-weight: bold;
	color: #FFFFFF;
	border: 1px solid #656565;
}

TD.inline, TD.listCell, TD.param, TD.value {
/*	font-size: 10pt;*/
	color: #636363;
	border: 1px solid #656565;
}

TABLE.inline, TABLE.properties, TABLE.list_container {
	border-collapse: collapse;
	border: 1px solid #656565;
}

A:hover {
	text-decoration: underline;
}

.wide30  { width: 30px }
.wide40  { width: 40px }
.wide50  { width: 50px }
.wide60  { width: 60px }
.wide80  { width: 80px }
.wide100 { width: 100px }
.wide120 { width: 120px }
.wide130 { width: 130px }
.wide150 { width: 150px }
.wide200 { width: 200px }
.wide300 { width: 300px }
.wide350 { width: 350px }
.wide400 { width: 400px }
.wide500 { width: 500px }
.wide550 { width: 500px }
.wide600 { width: 600px }

TD.footer {
	font-size: 8pt;
	color: #FFFFFF;
	background: #73869A;
	padding-left: 5px;
}

TD.sub_footer {
	font-size: 9pt;
	color: #000000;
	background: #FFFFFF;
}

A.menu { 
	font-size: 10pt;
	font-weight: bold;
	color: #FFFFFF;
}

A.note { 
	font-size: 10pt;
	color: #FF9900;
	text-decoration: none;
}

A.menu_left { 
	font-weight: bold;
	color: #FF7200;
	text-decoration: none;
}

A.footer {  
	font-weight: bold;
	color: #FFFFFF;
}

A.under_footer {
	color: #000000;
}

TD.menu {
	font-family: Verdana;
	font-weight: bold;
	color: #FFFFFF;
	font-size: 10pt;
	padding-left: 10px;
	padding-right: 15px;
	vertical-align: top;
}

P.title {
	margin-bottom: 30px;
	margin-top: 0px;
	border-bottom: 2px solid #DFEFFC;
	font-size: 18px;
	font-style: italic;
}

P.content {
	margin-top: 6px;
	margin-bottom: 6px;
	margin-left: 18px;
	text-align: justify;
	font-size: 10pt;
	color: #626261;
}

SPAN.title {
	color: #6488AD;
	font-size: 10pt;
	font-family: Verdana;
	font-weight: bold;
}

.errors, P.warning {
	color: #FF4444;
}

TD.client {
	background-color: #F3F1DA;
	padding: 5px;
	font-style: italic;
}

TR.darkrow {
	background-color: #EFEFEF;
}

TR.lightrow {
	background-color: #FEFEFE;
}

TR.prepare_new {
	background-color: #C1D9FF;
}

TR.prepare_hole {
	background-color: #FCCDCD;
}

TR.prepare_changed {
	background-color: #99FF66;
}

TR.add_row {
	background-color: #EEFFEE;
}

TR.withdraw_row {
	background-color: #FFEEEE;
}

TD.withdraw_row {
	font-size: 11pt;
	border: 1px solid #656565;
	color: #990000;
}

TD.add_row {
	color: #009900;
	font-size: 11pt;
	border: 1px solid #656565;
}

OPTION.global {
	background-color: #CCFFCC;
}

OPTION.item {
}

.fndContact {
	background-color: #E6E9F4;
	padding-left: 1px;
	padding-top: 1px;
	position: absolute;
	max-height: 200px;
	overflow-y: scroll;
	min-height: 50px;
	display: none;
	border: 2px solid;
	border-color: #D9D9E4
}

* html .fndContact {
	overflow: auto;
	height: 200px;
}

div.item {
	/*background-color: #FFFF99;*/
	position: relative;
	float: top;
	overflow: hidden;
}
div.bg {
	/*background-color:orange;*/
	opacity: 1;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}
div.content {
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
	color: #006699;
	font-size: 10px;
	padding: 3px;
	/*height: 16px;*/
}

table.pr-listing {
	border-collapse: collapse;
	border-spacing: 0px;
	margin-top: 10px;
}

table.pr-listing th, table.pr-listing td {
	padding: 5px;
	border: 1px solid rgb(166, 201, 226);
}

table.pr-listing td span.ui-icon {
	float: left;
	cursor: pointer;
	opacity: 0.5;
}

table.pr-listing td span.ui-icon:hover {
	opacity: 1;
}

table.pr-listing tbody tr:hover {
	background-color: rgb(234, 244, 253);
}

fieldset label, fieldset input, fieldset select, fieldset textarea {
	display: block;
}

fieldset input.text, textarea.text {
	margin-bottom: 12px;
	margin-right: 24px;
	padding: 0.4em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}

fieldset select.text {
	margin-bottom: 12px;
	margin-right: 12px;
	padding: 0.4em;
	width: 100%;
}

label select {
	margin-bottom: 12px;
	margin-right: 12px;
	padding: 0.4em;
}

fieldset {
    border: 0 none;
    margin-top: 12px;
    padding: 0;
}

.required {
	color: red;
}

span.context-button {
	text-decoration: none;
	border-bottom: 1px #7c7 dotted;
	color: #009900;
	cursor: pointer;
}

span.context-button:hover {
	color: #FF7200;
	border-bottom: 1px #FF7200 dotted;
}

.changed-day-working a.ui-state-default {
	color: green !important;
}

.changed-day-weekend a.ui-state-default {
	color: #FF4444 !important;
}

.default-day a.ui-state-default {
	color: #C1D9FF !important;
}

td.ui-datepicker-week-end a.ui-state-default {
	color: red;
}

.ui-last-option {
	margin-bottom: 15px;
}

fieldset input.text:disabled {
	color: gray !important;
	opacity: 0.35;
}

input.input-calendar {
	/*
	border: 0px;
	background-color: transparent;
	text-decoration: underline;
	*/
	cursor: pointer;
	width: 80px;
	text-align: center;
}

input.input-calendar:hover {
	text-decoration: underline;
	-moz-text-decoration-style: dotted;
	color: green;
}

input.input-calendar:disabled {
	text-decoration: line-through;
	color: grey;
}

td.dataCell, th.dataCell {
	text-align: right !important;
}

tr.table-row:hover {
	background: url("hot-sneaks/images/ui-bg_glass_85_dfeffc_1x400.png") repeat-x scroll 50% 50% #DFEFFC;
}

div.toolbar label {
	font-size: 0.8em !important;
	margin-right: -0.6em !important;
}

div.queue-mon {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	width: 550px;
	max-height: 300px;
	overflow: auto;
	float: left;
	font-size: 11px;
	border: 1px solid #AAAAAA;
	margin: 2px;
}

div.item {
	background-color: #DFEFFC;
	position: relative;
	float: top;
	overflow: hidden;
}
div.bg {
	opacity: 1;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}
div.content {
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
	color: #006699;
	font-size: 10px;
	padding: 3px;
	/*height: 16px;*/
}

div.ajax-container { margin-top: 20px; text-align: center}
div.ajax-container table.ui-widget-content { margin: 1em 0; border-collapse: collapse; margin-left: auto; margin-right: auto; text-align: center}
div.ajax-container table.ui-widget-content th { border: 1px solid #ddd; padding: .6em 10px; text-align: left; }
div.ajax-container table.ui-widget-content td { border: 1px solid #ddd; text-align: left; vertical-align: middle; }
div.ajax-container table.ui-widget-content td a.simple { color: #009900; font-weight: bold }
div.ajax-container table.ui-widget-content td a.simple:hover { text-decoration: underline }


.topper {
	position:fixed;
	right:15px;
	bottom:15px;
	width:50px;
	height:25px;
	padding-top:25px;
	line-height:25px;
	background:#333;
	color:#888 !important;
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	text-align:center;
	font-size:14px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	behavior:url(../PIE.htc);
}

.topper:before {
	position:absolute;
	top:11px;
	left:14px;
	content:"";
	border-bottom:11px solid #888;
	border-left:11px solid transparent;
	border-right:11px solid transparent;
}

.topper:hover {
	color:#eee;
	text-decoration: none !important;
}

.topper:hover:before {
	border-bottom-color:#eee;
}

.topper {
	opacity:1;
	-webkit-transition:opacity 700ms linear;
	-moz-transition:opacity 700ms linear;
	transition:opacity 700ms linear;
}

.topper.hidden {
	opacity:0;
}

.no-opacity .topper.hidden {
	display:none;
}

ol, ul {
	list-style: none;
}

footer, nav {
	display: block;
}

.hide {
	width:1px;
	height:1px;
	position:absolute;
	text-indent:-9999px;
	overflow:hidden;
}

.reparam {
	border-left: medium double #ddd;
	padding-left: 5px;
}

.repgo {
	padding-left: 5px !important;
}
/*
.repoblock td {
	padding-left: 5px;
	padding-right: 5px;
}
*/

.event_good {
	color: #009900;
}

.event_warning {
	color: #FF9900;
}

.event_critical {
	color: #990000;
}

.event_system {
	color: #AAAAAA;
}

.event_transfer {
	color: #006699;
}

.editable-empty, .editable {
	cursor: pointer !important;
}

div.ui-tooltip-content label {
	margin-bottom: 5px;
	display: block;
}

.input-large {
    width: 300px;
}

.ui-table-action {
	padding: 0px !important;
}

fieldset span.attachment {
	margin-left: 5px;
	color: #303030;
	opacity: 0.7;
}

fieldset span.attachment:before {
	content: " ";
	background-image: url("/images/icon-paperclip.png");
	width: 16px;
	height: 16px;
    float: left;
    position: relative;
    top: 0px;
}

#logout img {
	opacity: 0.6;
	margin-right: 5px;
	vertical-align: bottom;
}

fieldset label {
	margin-bottom: 3px;
}

div.validateTips {
	padding: 0.7em;
	border: 1px solid white;
}

fieldset label.custom-field {
	margin-top: 10px;
}

tr.row-alert {
	background-color: #fbec88
}

tr.row-info {
	background-color: #E3F0F9
}

div.compact-comments {
	max-height: 5em;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-bottom: 1px; /* to see the underscore */
}

.input-tiny {
	width: 100px;
}

fieldset span.editable-phones-select2 input.text {
	width: inherit !important;
}

table.cellphone, table.emails {
	border: 0px;
	padding: 0px;
	border-collapse: collapse;
}

table.cellphone td, table.emails td {
	padding-left: 0px;
	padding-bottom: 3px;
}

table.cellphone .ui-icon, table.emails .ui-icon {
	background-image: url("/css/hot-sneaks/images/ui-icons_c02669_256x240.png");
	cursor: pointer;
}

table.cellphone input {
	width: 120px;
	margin-bottom: 0px;
	margin-right: 0px;
}

table.emails input {
	width: 240px;
	margin-bottom: 0px;
	margin-right: 0px;
}

/* Для таблиц после фильтров с кнопкой "обновить" */
div.ui-tabs-panel>table {
	border-collapse: collapse;
}

div.ui-tabs-panel>table td{
	padding-left: 0px;
}

table.table-centered td {
	text-align: center;
}

table.in-dialog-table {

}

table.in-dialog-table th, table.in-dialog-table td {
	border: 1px solid gray;
	padding: 5px;
	font-size: 0.8em;
}

table.in-dialog-table td.centered, table.in-dialog-table th {
	text-align: center !important;
}

table.in-dialog-table td label {
	font-weight: normal;
	cursor: pointer;
}

table.in-dialog-table td input[type=checkbox] {
	display: inline;
}

div.ajax-container table.ui-widget-content th {
    border: 1px solid #DDDDDD;
    padding: 0.6em 10px;
    text-align: left;
}

div.ajax-container table.ui-widget-content td {
	font-size: 0.75em;
    border: 1px solid #DDDDDD;
    text-align: left;
}

span.action {
	opacity: 0.5;
	cursor: pointer;
}
span.action:hover {
	opacity: 1;
}
span.info {
	cursor: help;
	opacity: 0.75;
}

.phonelink {
	text-decoration: none;
	border-bottom: 1px dotted;
	cursor: pointer;
	white-space: nowrap;
	text-wrap: avoid;
}
.phonelink.disabled {
	pointer-events: none;
	cursor: not-allowed;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
    box-shadow: none;
	opacity: .65;
}

.phonelink:hover {
	text-decoration: none;
	border-bottom: 1px solid;
}

table.sibling {
	background-color: transparent !important;
}

.borderless td {
    border: none !important;
}

.ui-widget-content a.editable-empty {
	color: #AAAAAA;
	border-color: #AAAAAA;
}


.refuse-tag {
  font-size: 0.9em;
  font-weight: normal;
  display:inline-block;
  padding-top:0;
  padding-bottom:0;
  line-height:1.5em;
  text-align: left;
  margin-top: 5px;
}
.refuse-tag a {
  color: #bbb;
  cursor: pointer;
  opacity: 0.6;
}
.refuse-tag a:hover {
  opacity: 1.0
}
.refuse-tag .remove {
  vertical-align: bottom;
  top: 0;
}
.refuse-tag a {
  margin: 0 0 0 .5em;
}
.refuse-tag a .glyphicon-white {
  margin-bottom: 2px;
}

.glyphicon-white {
  color: #fff;
}

.btn .glyphicon-white {
  font-size: 2em;
}

.table-nonfluid {
   width: auto !important;
   margin-bottom: 0px;
}

.table-filter input[type=text] {
	font-size: 0.85em;
	padding: 3px;
}

.select2-no-results {
	font-size: 0.8em;
}


th {
	padding-left: 5px;
	padding-right: 5px;
}

.no-close .ui-dialog-titlebar-close {
	display: none;
}

.state-call {
	background-color: #B0DE78;
}
.state-off {
	background-color: #AAA;
}
.state-ringing {
	background-color: #fbec88;
}
.state-hold {
	background-color: #C1D9FF;
}
.empl-stat {
	opacity: 0.5;
}
tr:hover .empl-stat, li:hover .empl-stat {
	opacity: 1;
}

.ui-sortable .handle {
	cursor: pointer;
}

.list-group-item .row {
	margin-left: 0px;
	margin-right: 0px;
}

.shop-stats .glyphicon, .shop-stats .fa {
	margin-left: 8px;
	margin-right: 2px;
}

.shop-stats .glyphicon-flash {
	margin-left: 3px;
	margin-right: 0px;
}

.panel-success > .panel-footer {
	background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.panel-danger > .panel-footer {
	background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

a i.fa {
	margin-right: 10px;
}

 /* Icon when the collapsible content is shown */
.panel-heading>h4>a:after {
    font-family: "Glyphicons Halflings";
    float: right;
    color: grey;
    content: "\e114";
}

/* Icon when the collapsible content is hidden */
.panel-heading>h4>a.collapsed:after {
    content: "\e080";
}

#call-subjects .checkbox {
	margin-bottom: 0px;
	margin-top: 0px;
}

#call-subjects .checkbox + .checkbox {
	margin-bottom: 0px;
	margin-top: 0px;
}

.input-xs {
  height: 22px!important;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
  height: 22px;
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
}
