html, body {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}
html {
  -webkit-text-size-adjust: none;
  font-size: 8.5pt;
}
body {
  font-family: Helvetica,Calibri,"PFSquareSansPro-Regular","Helvetica Neue","Open Sans",Arial,sans-serif;
  font-size: 12pt;
}
#loggedin, #main{display:none}
.btn {
  display:inline-block;
  padding:6px 12px;
  margin-bottom:0;
  font-size:14px;
  font-weight:400;
  line-height:1.42857143;
  text-align:center;
  white-space:nowrap;
  vertical-align:middle;
  -ms-touch-action:manipulation;
  touch-action:manipulation;
  cursor:pointer;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  background-image:none;
  border:1px solid transparent;
  border-radius:4px
}
.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus {
  outline:thin dotted;
  outline:5px auto -webkit-focus-ring-color;
  outline-offset:-2px
}
.btn.focus,.btn:focus,.btn:hover {
  color:#333;
  text-decoration:none
}
.btn.active,.btn:active {
  background-image:none;
  outline:0;
  -webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);
  box-shadow:inset 0 3px 5px rgba(0,0,0,.125)
}
.btn.disabled,.btn[disabled],fieldset[disabled] .btn {
  pointer-events:none;
  cursor:not-allowed;
  filter:alpha(opacity=65);
  -webkit-box-shadow:none;
  box-shadow:none;
  opacity:.65
}
.btn-default {
  color:#333;
  background-color:#fff;
  border-color:#ccc
}
.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default {
  color:#333;
  background-color:#e6e6e6;
  border-color:#adadad
}
.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default {
  background-image:none
}
.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover {
  background-color:#fff;
  border-color:#ccc
}
.btn-default .badge {
  color:#fff;
  background-color:#333
}
.btn-primary {
  color:#fff;
  background-color:#fa9e07;
  border-color:#fa9e07
}
.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary {
  color:#fff;
  background-color:#e49006;
  border-color:#e49006
}
.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary {
  background-image:none
}
.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover {
  background-color:#fa9e07;
  border-color:#fa9e07
}
.btn-primary .badge {
  color:#337ab7;
  background-color:#fff
}
.btn-success {
  color:#fff;
  background-color:#5cb85c;
  border-color:#4cae4c
}
.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success {
  color:#fff;
  background-color:#449d44;
  border-color:#398439
}
.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success {
  background-image:none
}
.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover {
  background-color:#5cb85c;
  border-color:#4cae4c
}
.btn-success .badge {
  color:#5cb85c;
  background-color:#fff
}
.btn-info {
  color:#fff;
  background-color:#5bc0de;
  border-color:#46b8da
}
.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info {
  color:#fff;
  background-color:#31b0d5;
  border-color:#269abc
}
.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info {
  background-image:none
}
.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover {
  background-color:#5bc0de;
  border-color:#46b8da
}
.btn-info .badge {
  color:#5bc0de;
  background-color:#fff
}
.btn-warning {
  color:#fff;
  background-color:#f0ad4e;
  border-color:#eea236
}
.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning {
  color:#fff;
  background-color:#ec971f;
  border-color:#d58512
}
.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning {
  background-image:none
}
.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover {
  background-color:#f0ad4e;
  border-color:#eea236
}
.btn-warning .badge {
  color:#f0ad4e;
  background-color:#fff
}
.btn-danger {
  color:#fff;
  background-color:#d9534f;
  border-color:#d43f3a
}
.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger {
  color:#fff;
  background-color:#c9302c;
  border-color:#ac2925
}
.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger {
  background-image:none
}
.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover {
  background-color:#d9534f;
  border-color:#d43f3a
}
.btn-danger .badge {
  color:#d9534f;
  background-color:#fff
}
.btn-link {
  font-weight:400;
  color:#337ab7;
  border-radius:0
}
.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link {
  background-color:transparent;
  -webkit-box-shadow:none;
  box-shadow:none
}
.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover {
  border-color:transparent
}
.btn-link:focus,.btn-link:hover {
  color:#23527c;
  text-decoration:underline;
  background-color:transparent
}
.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover {
  color:#777;
  text-decoration:none
}
.btn-group-lg>.btn,.btn-lg {
  padding:10px 16px;
  font-size:18px;
  line-height:1.3333333;
  border-radius:6px
}
.btn-group-sm>.btn,.btn-sm {
  padding:5px 10px;
  font-size:12px;
  line-height:1.5;
  border-radius:3px
}
.btn-group-xs>.btn,.btn-xs {
  padding:1px 5px;
  font-size:12px;
  line-height:1.5;
  border-radius:3px
}
.btn-block {
  display:block;
  width:100%
}
.btn-block+.btn-block {
  margin-top:5px
}
input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block {
  width:100%
}	
.form-control {
  display:block;
  width:100%;
  height:34px;
  padding:6px 12px;
  font-size:14px;
  line-height:1.42857143;
  color:#555;
  background-color:#fff;
  background-image:none;
  border:1px solid #ccc;
  border-radius:4px;
  -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s
}
.form-control:focus {
  border-color:#fa9e07;
  outline:0;
  -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(250,158,7,.6);
  box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(250,158,7,.6)
}
.form-control::-moz-placeholder {
  color:#999;
  opacity:1
}
.form-control:-ms-input-placeholder {
  color:#999
}
.form-control::-webkit-input-placeholder {
  color:#999
}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {
  cursor:not-allowed;
  background-color:#eee;
  opacity:1
}
textarea.form-control {
  height:auto
}		
.input-lg {
  height:46px;
  padding:10px 16px;
  font-size:18px;
  line-height:1.3333333;
  border-radius:6px;
}	
.input-md {
  font-size:16px;
  height: 20px;
  padding:5px 10px;
  line-height:1.3333333;
  border-radius:6px;
  margin-bottom: 10px;
  width: 70%;
}		
button {
  width: 230px !important;
  display: inline-block;
}
table td {
  vertical-align: top;
}
#filter {
  float: left;
  height: 100%;
}
#main {
  float: left;
  height: 100%;
  position: relative;
}
#list {
  float: left;
  clear: both;
  overflow-y: auto;
  width: 100%;
  position: relative;
  background-color: #f1f1f1;
}
#list_header {
  float: left;
  clear: both;
  width: 100%;
  position: relative;
  height: 40px;
}
.list_header div {
  float: left;
}
.list-nav {
  padding: 5px 5px;
  background-color: #fff;
  height: 30px;			
}
.list-nav-count {
  float: right;
  padding: 10px 0;
  font-size: 12px;
}
.list-nav-arrow {
  float: right;
  background: #f1f1f1;
  border: #ccc 1px solid;
  cursor: pointer;
  padding: 3px;
  margin-left:5px;
}
.list-nav-arrow-disabled {
  cursor: default;
}
.list-nav-arrow-disabled>img {
  opacity: 0.5;
}
.list-nav-arrow-prev {
    background: url('../images/sprite_black2.png') -21px -21px no-repeat;
  width: 21px;
  height: 21px;
}
.list-nav-arrow-next {
    background: url('../images/sprite_black2.png') -42px -21px no-repeat;
  width: 21px;
  height: 21px;
}
.list_row {
  width: 100%;
  clear: both;
  float: left;
  cursor: pointer;
}
.list_row>div {
  float: left;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.list_row>div>div {
  padding: 5px 10px;
}
.list_row_even {
  background-color: #f1f1f1;
  border-bottom: #ccc 1px solid;
}
.list_row_odd {
  background-color: #f1f1f1;
  border-bottom: #ccc 1px solid;
}
.list_row_active {
  background-color: #ccc;
}
#list>div.loader {
  position: relative;
  background-image: url('../images/loader_color.gif') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 40px 40px !important;
  height: 100%;
  width: 100%;
}
#draggable {
  height: 10px;
  float: left;
  clear: both;
  width: 100%;
  text-align: center;
  background-color: #eee;
  border-top: #d8d8d8 1px solid;
  border-bottom: #d8d8d8 1px solid;
  cursor: move;
}
#message {
  float: left;
  clear: both;
  width: 100%;
  overflow-y: auto;
}
iframe {
  border: 0;
}
select {
  width: 100%;
}
.attach {
  background: no-repeat url('../images/general.png') 0 -787px;
  height: 21px;
  width: 21px;
}
#message-panel {
  position: absolute;
  bottom: 10px;
  right: 5px;
}
#message-recode {
  float: right;
  background: #f1f1f1;
  border: #ccc 1px solid;
  cursor: pointer;
  padding: 3px;
  margin-right: 5px;
}
#message-recode>span {
  position: relative;
  margin: 2px 0 0 0;
  display: inline-block;
}
#message-save {
  float: right;
  background: #f1f1f1;
  border: #ccc 1px solid;
  cursor: pointer;
  padding: 3px;
}
#message-save>span {
  position: relative;
  margin: 2px 0 0 0;
  display: inline-block;
}
#message-save>span.ms1 {
  position: relative;
  margin: 2px 0 0 25px;
  display: inline-block;
}
#message-save>span.ms1:before {
  position: absolute;
  content: '';
  background: no-repeat url('../images/general.png') 0 -231px;
  height: 21px;
  width: 21px;
  top: -2px;
  left: -25px;
}
.message-save-loading>span.ms1:before {
  position: absolute;
  content: '';
  background-image: url('../images/loader_color.gif') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 21px 21px !important;
  height: 21px;
  width: 21px;
  top: -2px;
  left: -25px;
}
.message-type {
  padding: 5px 10px 5px 10px;
  cursor: pointer;
  margin: 0;
  display: inline-block;
}
.message-type-active {
  position: relative;
  font-weight: bold;
  background-color: #f1f1f1;
  border: #ccc 1px solid;
}
.message-type-active::before {
  content: ''; 
  position: absolute;
  right: -32px; top: -1px;
  border: 16px solid transparent;
  border-left: 16px solid #ccc;
}
.message-type-active::after {
  content: ''; 
  position: absolute;
  right: -30px; top: 0px;
  border: 15px solid transparent;
  border-left: 15px solid #f1f1f1;
}
.ui-datepicker-trigger {
  background: no-repeat url('../images/general.png') 0 -649px;
  position: absolute;
  right: 25%;
  top: 6px;
  height: 21px;
  width: 21px;
  cursor: pointer;
}
.filter_date_clear {
  cursor: pointer;
  padding: 2px;
  position: absolute;
  right: 10%;
  top: 7px;
}
.filter_date_clear>img {
  background: no-repeat url('../images/general.png') 0 -413px;
  height: 12px;
  width: 12px;
}
#current_user {
  height: 70px;
}
.current_user_photo {
  float: left;
  padding: 10px 20px;
}
.current_user_photo>img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.current_user_fio {
  float: left;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 10px 10px 0;
  height: 50px;
  overflow: hidden;
}