@import url(https://fonts.googleapis.com/css?family=Exo+2&subset=latin,cyrillic);

body {
  font-family: 'Exo 2', sans-serif;
//padding-top: 100px;
  background: #e9f0f9;
  margin-bottom: 60px;
  font-size: 13px;
}

h1 {
  color: #38b2ce;
  text-transform: uppercase;
  padding: 6px 0;
  margin-top: 10px;
  margin-bottom: 6px;
  border-bottom: 2px solid #38b2ce;
  font-size: 1.6em;
}

h2 {
  color: #9acd64;
  font-size: 1.5em;
}
h6 {
  font-weight: bold;
  text-transform: uppercase;
  color: #60b9ce;
}
hr {
  border-color: #38b2ce;
}

a, a:hover {
  text-decoration: none;
  cursor: pointer;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.left {
  text-align: left;
}
.read-more {
  font-size: 12px;
  line-height: 1;
  color: #fff;
  font-weight: normal;
  text-transform: lowercase;
  background-color: #337ab7;
  background-image: url('../img/read-more.png');
  background-repeat: no-repeat;
  background-position: 97% 2px;
  background-size: 18px;
  padding: 3px 26px 5px 10px;
  margin: 0px 10px;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -o-border-radius: 20px;
  -webkit-border-radius: 20px;
}
.read-more:hover,
.read-more:active,
.read-more:focus {
  color: #fafafa;
  background-color: #60b9ce;
}
.left {
  text-align: left;
}
.modal {
 // z-index: 40050;
}
/*button*/
.btn-primary {
  background-color: #38b2ce;
  border-color: #38b2ce;
}
.btn-primary:hover {
  background-color: #04819e;
  border-color: #04819e;
}
.label-default {
  background-color: #ccc;
  color: #fff;
}
.btn-default {
  color: #fff;
  background-color: #a5d7e3;
  border-color: #91cedd;
}
.btn-transparent {
  color: #337ab7;
  border-color: #337ab7;
  background-color: transparent;
}
.btn-transparent:hover, 
.btn-transparent:focus, 
.btn-transparent:active {
  color: #888;
  border-color: #888;
  background-color: transparent;
}
.block-btn-submit {
  margin-bottom: 20px;
}
.btn-transparent, 
.btn-submit {
  width: 100%;
  margin: 10px 0;
}
.btn-performer-call, 
.btn-partner-call, 
.btn-client-call {
  width: 100%;
}
.btn-default:hover, 
.btn-default:focus, 
.btn-default:active {
  color: #fff;
  background-color: #91cedd;
  border-color: #91cedd;
}
.btn-exit {
  background-image: url('../img/exit_white.png');
  background-repeat: no-repeat;
  background-position: 6px 50%;
  background-size: 20px;
  padding-left: 30px; 
}
/*breadcrumbs*/
.breadcrumbs {
  font-size: 0.8em;
  color: #ccc;
  padding: 10px 0px 0px 20px;
}

.breadcrumbs a {
  color: #38b2ce;
}
.breadcrumbs a:hover {
  color: #ff7f00;
  text-decoration: none;
}
.breadcrumbs a:after, .breadcrumbs span:after {
  content: " | ";
  padding: 0 12px;
}
p.calls-readmore {
  margin: 20px;
}
.calls-readmore a {
  background-color: #f0ad4e;
  background-image: url('../img/arrow-right-link.png');
  background-position: 4px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 8px 16px;
  padding-left: 28px;
  color: #fff;
  font-weight: bold;
  border-radius: 3px;
  border-color: #eea236;
  font-size: 12px;
  line-height: 1.5;
}
.calls-readmore a:hover {
  text-decoration: none;
  color: #fff !important;
  border-color: #eea236;
  background-color: #ff7f00;
}
.call-select a {
  color: #fff;
  font-weight: normal;
}
.call-select a:hover {
  color: #ffc540;
  font-weight: normal;
  text-decoration: none;
}
/*menu*/
.navbar {
  margin-bottom: 0;
}
.navbar-default {
//height: 96px;
//height: auto;
}
a.navbar-brand {
  padding: 4px;
}
.navbar-nav>li>a {
  color: #fff;
  padding: 15px 8px;
}
.menu-user-state {
  color: #fff;
}
.navbar-default .navbar-nav>li>a {
  color: #a5d7e3;
}
.navbar-default .navbar-nav>li>a:hover {
  color: #fff;
}
.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
  color: #fff;
}
.navbar-default .navbar-nav>li>a:hover {
  background-color: #60b9ce;
}
#dropdown_hover {
  padding: 0;
  margin:0;
}
.navbar-default {
  background-color: #38b2ce;
  border-bottom: 4px solid #ff7f00;
}
.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
  background-color: #60b9ce;
}
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
  background-color: #a5d7e3;
}
.dropdown-menu {
  background-color: #a5d7e3;
  border: solid 1px #a5d7e3;
  color: #fff;
}
.dropdown-menu>li>a {
  background-color: #a5d7e3;
  border: solid 1px #a5d7e3;
  color: #fff;
}
.dropdown-menu>li>a:active, 
.dropdown-menu>li>a:focus, 
.dropdown-menu>li>a:hover {
  background-color: #60b9ce;
  color: #fff;
}
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
  color: #fff;
}
.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:focus, 
.dropdown-menu>.active>a:hover {
  background: #60b9ce;
}
/*menu-mobile*/
.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar-default .navbar-toggle {
  border-color: #fff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.2);
}
/*bloks*/
div#chratcolumn,
div#columnchart,
div#areachart {
  width: 100%;
  height: 200px;
}
h4.block-calls-today {
  padding: 10px 0;
  border-bottom: solid 1px #ccc;
  color: #444;
}
.block-calls {
  background-color: #eeedeb;
  margin-top: -1px;
}
.block-calls-graph {
  background-color: #fff;
}
.block-calls-group-header {
  background-color: #ffd473;
  border-top: solid 1px #fff;
}
div.block-calls-group-header h2 {
  color: #fff;
  padding: 0 10px;
  margin: 0px;
  line-height: 42px;
}
div.block-calls-group-header a {
  color: #fff;
  text-decoration: none;
}
div.block-calls-group-header a:hover, 
div.block-calls-group-header a:focus, 
div.block-calls-group-header a:active {
  color: #ff7f00;
  text-decoration: none;
}
.block-calls-manager-header {
  background-color: #9acd64;
  border-top: solid 1px #fff;
}
div.block-calls-manager-header h2 {
  color: #fff;
  padding: 0 10px;
  margin: 0px;
  line-height: 42px;
}
div.block-calls-manager-header h2 a {
  color: #fff;
  text-decoration: none;
}
div.block-calls-manager-header h2 a:hover {
  color: #7ab53b;
  text-decoration: none;
}
.block-calls, 
iframe {
  max-height: 385px;
  height: 385px;
}
.block-calls-users {
  max-height: 384px;
  height: 384px;
  overflow: auto;
}
.block-calls-users div a {
  color: #444;
}
.block-calls-users div {
  border-bottom: 1px solid #ffc540;
  color: #444;
  padding: 10px 0;
  margin: 0;
  line-height: 20px;
}
.block-calls-users div:hover {
  border-bottom: 1px solid #ffc540;
  color: #ff7f00;
  text-decoration: none;
  padding: 10px 0;
  margin: 0;
  line-height: 20px;
}
.block-calls-users span {
//background-color: #fff;
  color: #ffd473;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.block-calls-users span.in-calls-icon, 
.block-calls-users span.out-calls-icon {
  padding-left: 20px;
  padding-right: 4px;
  line-height: 20px;
}
.block-calls-users span.in-calls-icon {
  background: transparent url('../img/calls/in-icon.png') left no-repeat;
  color: #9acd64;
}
.block-calls-users span.out-calls-icon {
  background: transparent url('../img/calls/out-icon.png') left no-repeat;
  color: #49afcd;
}
.block-calls-users span.miss-calls-icon {
  color: #ff0000;
  padding-left: 20px;
  padding-right: 4px;
  background: transparent url('../img/calls/miss-icon.png') left no-repeat;
  line-height: 20px;
}
.block-calls-users div.count  {
  background-color: #fff;
  color: #ffd473;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  float: left;
  text-align: center;
  margin-right: 6px;
  padding: 0;
  line-height: 26px;
}
h4.block-calls-all-title {
  color: #9acd64;
}
.block-calls-all p {
  color: #fff;
  font-weight: bold;
  font-size: 2.0em;
  line-height: 20px;
  padding-top: 16px;
}
.block-calls-all {
  background-color: #9acd64;
  border-radius: 50%;
  border: solid 4px #afd785;
  padding: 16px;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  cursor: pointer;
}
.block-calls-all small {
  color: #fff;
  font-weight: normal;
  font-size: 11px;
  line-height: 12px;
} 
p span.block-calls-all {
  line-height: 100px;
}
.block-calls {
  text-align: center;
}
.block-calls-incoming,
.block-calls-outgoing, 
.block-calls-canceled, 
.block-calls-missed {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  line-height: 24px;
  border-radius: 50%;
  padding: 10px;
  margin: 4px;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.block-calls-incoming {
  background-color: #9acd64;
  border: solid 2px #afd785;
}
.block-calls-outgoing {
  background-color: #49afcd;
  border: solid 2px #6fc0d7;
}
.block-calls-canceled {
  background-color: #ffcc00;
  border: solid 2px #ffdb4b;
}
.block-calls-missed {
  background-color: #ff0000;
  border: solid 2px #ff4b4b;
}
table {
  background-color: #fff;
  width: 100%;
}
table.block-calls-table {
  margin: 0 auto;
  border-color: #eeedeb;
  text-align: center;
}
table.block-calls-table.pickup-transfer {
  color: #38b2ce;
  text-align: center;
  width: 100%;
}
table.block-calls-table.pickup-transfer td {
  width: 50%;
}
table.table-book-contact tr > th{
  background-color: #60b9ce;
}
table td.description {
  font-size: 0.9em;
  text-align: left;
  min-width: 100px;
}

/*tabs*/
#servicesTab.nav-tabs>li.active>a:focus, 
#servicesTab.nav-tabs>li.active>a {
  color: #fff;
  background-color: #60b9ce;
  border-bottom: 1px solid #60b9ce;
}
#servicesTab.nav-tabs>li>a {
  color: #999;
  border-color: #ccc;
  background-color: #d5e3f4;
}
#servicesTab.nav-tabs>li>a:hover {
  background-color: #60b9ce;
  color: #fff;
}
#servicesTab.nav-tabs>li.active>a:hover {
  background-color: #60b9ce;
}
.nav-tabs {
//  border-bottom: none;
}
/*graph*/
.graph {
  padding: 8px;
  background-color: #fff;
  margin-bottom: 10px;
}
/*reports*/
tr.thead-report th {
  background-color: #c1d0ef;
  color: #fff;
  text-align: center;
}
/*footer*/
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 26px;
  background: #e9f0f9;
  border-top: solid 1px #ccc;
  box-shadow: -4px 0px 6px rgba(0,0,0,0.15);
  color: #888;
  z-index: 10;
}
.footer .container .text-muted {
  margin: 4px 0;
  font-size: 0.8em;
}
.footer .container .text-muted img {
  padding-right: 10px;
}
.footer .container .text-muted img:hover {
  padding-right: 10px;
  opacity: 0.6;
}
.footer .container .text-muted p {
display: block-inline;
}
/*tooltip color*/
.tooltip-inner {
  background: #015367;
}
.tooltip.top
.tooltip-arrow {
  border-top-color: #015367;
}
.tooltip.left
.tooltip-arrow {
  border-left-color: #015367;
}
.tooltip.right
.tooltip-arrow {
  border-right-color: #015367;
}
.tooltip.bottom
.tooltip-arrow {
  border-bottom-color: #015367;
}
/*up2top*/
.up2top {
  display: none;
  bottom: 46px;
  right: 10px;
  position: fixed;
  z-index: 10;
}
.up2top:hover {
  bottom: 46px;
  right: 10px;
  position: fixed;
  z-index: 10;
  opacity: 0.6;
}
/*all calls*/
.table {}
.table>thead>tr>th {
  border-bottom: none;
}
tr.calls-username th {
  background-color: #6e84d6;
  color: #fff;
}
tr.calls-today th {
  background-color: #60b9ce;
  color: #fff;
}
tr.calls-yesterday th {
  background-color: #ccc;
  color: #fff;
}
.table-flex-head .subtitle-order div,
tr.subtitle-order th {
  background-color: #60b9ce;
  color: #fff;
  font-size: 0.9em;
  height: 29px;
}

.table-flex-head .subtitle-order div img {
  margin: 5px;  
}

.call-select {
  text-align: right;
}
.call-time, 
.calling-name {
  text-align: left;
}
td.call-status {
  width: 25px;
}
td.call-status img {
  padding-bottom: 12px;
}
td.call-time {
  width: 12%;
  font-size: 1.2em;
}
td.call-time small{
  font-size: 12px;
}
td.call-comments {
  width: 26px;
}
td.call-comments span {
  background: url('../img/icons_calls/icon_comment.png') no-repeat;
  width: 36px;
  height: 36px;
  color: #fafafa;
  font-weight: bold;
  padding: 6px 14px 6px 11px;
  font-size: 1.1em;
  cursor: pointer;
}
td.call-comments span.added{
  background: url('../img/icons_calls/icon_comment_green.png') no-repeat;
  width: 36px;
  height: 36px;
  color: #fafafa;
  font-weight: bold;
  padding: 6px 14px 6px 11px;
  font-size: 1.1em;
  cursor: pointer;
}
td.call-comments span.added:hover, 
td.call-comments span:hover {
  background: url('../img/icons_calls/icon_comment_hover.png') no-repeat;
}
td.call-comments-text button {
  background-image: url('../img/icons_calls/icon_comment_white.png');
  background-repeat: no-repeat;
  text-transform: uppercase;
  padding-left: 26px;
}
td.call-comments-text h5 {
  font-weight: bold;
  text-transform: capitalize;
}
td.calling-name {
  width: 40%;
  font-size: 1.2em;
}
td.calling-name small{
  font-size: 12px;
}
td.call-back {
  text-align: left;
}
/*A-Z*/
p.filter_az {
  color: #FFF;
}
p.filter_az i:hover {
  color: #ff7f00;
}
/*button selector*/
a.btn-selector {
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}
.btn-blue {
  color: #fff;
  background-color: #c1d0ef;
  border-color: #b6c5e2;
}
.btn-blue:hover {
  color: #fff;
  background-color: #b6c5e2;
  border-color: #b6c5e2;
}
.btn-blue-inactive, 
.btn-danger-inactive {
  color: #ccc;
  background-color: #fff;
  border-color: #ccc;
}
.btn-blue-inactive:hover {
  color: #fff;
  background-color: #c1d0ef;
  border-color: #b6c5e2;
}
.btn-danger-inactive:hover {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-yellow {
  color: #fff;
  background-color: #ffd473;
  border-color: #f3ca6e;
}
.btn-yellow:hover {
  color: #fff;
  background-color: #f3ca6e;
  border-color: #f3ca6e;
}
a.btn-yellow {
  color: #fff;
}
.btn-default.apply:hover {
  background-color: #9acd64;
  border-color: #afd785;
  color: #fff;
}
/*FORM*/
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
  font-style: italic;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #ccc;
  font-style: italic;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #ccc;
  font-style: italic;
}
:-moz-placeholder { /* Firefox 18- */
  color: #ccc;
  font-style: italic;
}
placeholder {
  color: #ccc;
  font-style: italic;
}
/*FORM login, account user*/
.login-form, 
.login-form p, 
.login-form a, 
.account-form, 
.account-form p, 
.account-form a {
  color: #fff;
}
.login-form h4, 
.account-form h4 {
  color: #fff;
  text-align: center;
}
div.login-form, 
div.account-form {
  background: #38b2ce;
  padding: 20px;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.login-form-img img {
  width: 20%;
}
.form-inline li {
  list-style: none;
  margin-top: 10px;
}
.form-inline p,
.form-inline input[type='submit'] {
  margin-bottom: 4px;
}
div.login-form label {
  color: #fff;
  margin-right: 6px;
  font-size: 0.8em;
  display: inline-block;
  position: absolute;
  max-width: 100%;
  margin-bottom: 6px;
  font-weight: bold;
}
div.login-form input[type='text'], 
div.login-form input[type='password'] {
  width: 100%;
}
@media screen and (max-width: 480px) {
  .login-form, 
  .account-form {
    width: 100%;
    margin: 0 auto;
  }  
}
@media screen and (max-width: 768px) {
.login-form, 
  .account-form {
    width: 100%;
    margin: 0 auto;
  }
  .navbar-default {}
}
@media screen and (min-width: 1120px) {
  .login-form, 
  .account-form {
    width: 100%;
    margin: 0 auto;
  }
  .navbar-default {}
}
div.account-form {
  margin-top: 10%;
}
.account-form {
  font-size: 1.1em;
}
.account-foto img {
  background: #ddd;
  border-radius: 50%;
  border: solid 3px #fff;
  height: 84px;
  width: 84px;
  opacity: 0.6;
}
.account-foto {
  padding-bottom: 10px;
}
.account-form h5 {
  font-size: 1.2em;
  padding-top: 10px;
  border-top: solid 1px rgba(255, 255, 255, 0.2);
}
/*user form*/
div.form-add-user {
  background-color: #fff;
  padding: 10px 40px;
  border-radius: 4px;
  border-top: 20px solid #f2f2f2;
  border-bottom: 4px dashed #f2f2f2;
}
div.form-add-user label {
  position: absolute;
  display: inline;
}
div.form-add-user #id_is_staff,
div.form-add-user #id_is_active,
div.form-add-user #id_is_superuser {
  margin-top: 20px;
}
div.form-add-user #id_username,
div.form-add-user #id_first_name,
div.form-add-user #id_last_name,
div.form-add-user #id_email,
div.form-add-user #id_password,
div.form-add-user #id_last_login,
div.form-add-user #id_date_joined,
div.form-add-user select#id_groups,
div.form-add-user select#id_user_permissions {
  width: 100%;
}
div.form-add-user textarea, 
div.form-add-user input[type='text'], 
div.form-add-user input[type='password'], 
div.form-add-user select {
  color: #444;
}
div.form-add-user span.helptext {
  color: #888;
}
/*comment form*/
.add-form textarea {
//  height: 5%;
//  width: 100%;
}
.add-form li {
  list-style: none;
}
.add-form label {
  position: absolute;
  display: inline;
}
.delete-form {
  border: solid 2px #d43f3a;
  padding: 0 10px;
  background-color: #fff;
  border-radius: 4px !important;
  margin-top: 10px;
}
.delete-form h4 {
  color: #d43f3a;
}
/*error message*/
ul.errorlist {
  margin-inline-start: 0; 
  margin-inline-start: 0; 
  margin-inline-start: 0;    
  -o-margin-before: 0;
  -o-padding-start: 0px;
  -o-margin-after: 0;
  -o-margin-start: 0px;
  -o-margin-end: 0px;
  -moz-padding-start: 0px;
  -moz-margin-before: 0;
  -moz-margin-after: 0;
  -moz-margin-start: 0px;
  -moz-margin-end: 0px;
  -moz-padding-start: 0px;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
  display: block;
  list-style-type: none !important;
  margin: 14px 0;
}
.errorlist li {
  margin: 6px 0;
}
.errorlist {
  color: #a94442;
  position: relative;
  background: #f2dede;
  border: 1px solid #dca7a7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  text-align: center;
}
.errorlist:after, .errorlist:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.errorlist:after {
  border-color: rgba(242, 222, 222, 0);
  border-top-color: #f2dede;
  border-width: 10px;
  margin-left: -10px;
}
.errorlist:before {
  border-color: rgba(220, 167, 167, 0);
  border-top-color: #dca7a7;
  border-width: 11px;
  margin-left: -11px;
}
/*login*/
div.hello-user {
  text-align: right;
  color: #fff;
  background-color: #04819e;
  z-index: 1100;
}
div.hello-user a {
  color: #fff;
}
div.hello-user  p {
  font-size: 12px;
  line-height: 20px;
  margin-bottom: 2px;
}
div.hello-user a:hover {
  color: #ff7f00;
  text-decoration: none;
}
.menu-orders {
  padding:6px 6px 6px 24px;
  background: url('../img/order_blue.png') no-repeat left;
}
.menu-orders:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/order_white.png') no-repeat left;
}
.menu-mappoint {
  padding:6px 6px 6px 24px;
  background: url('../img/mappoint_blue.png') no-repeat left;
}
.menu-mappoint:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/mappoint_white.png') no-repeat left;
}
.menu-dropdown-orders,
.menu-dropdown-orders:hover {
  padding:6px 10px 6px 26px;
  background: url('../img/order_white.png') no-repeat left;
  background-size: 20px;
}
.menu-dropdown-mappoint,
.menu-dropdown-mappoint:hover {
  padding:6px 10px 6px 26px;
  background: url('../img/point_white.png') no-repeat left;
  background-size: 20px;
}
.menu-performers {
  padding:6px 6px 6px 24px;
  background: url('../img/performer_blue.png') no-repeat left;
}
.menu-performers:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/performer_white.png') no-repeat left;
}
.menu-services {
  padding:6px 6px 6px 24px;
  background: url('../img/service_blue.png') no-repeat left;
}
.menu-services:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/service_white.png') no-repeat left;
}
.menu-dropdown-services,
.menu-dropdown-services:hover {
  padding:6px 10px 6px 26px;
  background: url('../img/services_white.png') no-repeat left;
  background-size: 20px;
}
.menu-partners {
  padding:6px 6px 6px 24px;
  background: url('../img/partner_blue.png') no-repeat left;
}
.menu-partners:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/partner_white.png') no-repeat left;
}
.menu-clients {
  padding:6px 6px 6px 24px;
  background: url('../img/client_blue.png') no-repeat left;
}
.menu-clients:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/client_white.png') no-repeat left;
} 
.menu-dialogs {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_blue.png') no-repeat left;
} 
.menu-dialogs:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_white.png') no-repeat left;
}
.menu-dialog-classes {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_class_blue.png') no-repeat left;
}
.menu-dialog-classes:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_class_white.png') no-repeat left;
}
.menu-dropdown-dialog-class, 
.menu-dropdown-dialog-class:hover {
  padding:6px 10px 6px 26px;
  background: url('../img/label_white.png') no-repeat left;
  background-size: 20px;
}
.menu-dialog-comments {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_comment_blue.png') no-repeat left;
}
.menu-dialog-comments:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/dialog_comment_white.png') no-repeat left;
}
.menu-dropdown-dialog-comment, 
.menu-dropdown-dialog-comment:hover {
  padding:6px 10px 6px 26px;
  background: url('../img/comment_white.png') no-repeat left;
  background-size: 20px;
}
.menu-dropdown-blacklist,
.menu-dropdown-greylist,
.menu-dropdown-greylist:hover,
.menu-dropdown-queueroute,
.menu-dropdown-queueroute:hover,
.menu-dropdown-blacklist:hover {
  padding:6px 6px 6px 26px;
  background: url('../img/blacklist_white.png') no-repeat left;
  background-size: 20px;
}
.menu-blacklist,
.menu-greylist {
 padding:6px 6px 6px 24px;
  background: url('../img/black_list_blue.png') no-repeat left;
  background-size: 20px;
}
.menu-blacklist:hover,
.menu-greylist:hover {
 padding:6px 6px 6px 24px;
  background: url('../img/black_list_white.png') no-repeat left;
  background-size: 20px;
} 
.menu-wheel-storage {
  padding:6px 6px 6px 24px;
  background: url('../img/wheel_storage_blue.png') no-repeat left;
}
.menu-wheel-storage:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/wheel_storage_white.png') no-repeat left;
}
.menu-dropdown-wheel-storage, 
.menu-dropdown-wheel-storage:hover {
  padding:6px 0px 6px 26px;
  background: url('../img/wheel_white.png') no-repeat left;
  background-size: 20px;
}
.menu-insurance {
  padding:6px 6px 6px 24px;
  background: url('../img/insurance_blue.png') no-repeat left;
}
.menu-insurance:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/insurance_white.png') no-repeat left;
}
.menu-dropdown-insurance,
.menu-dropdown-insurance:hover {
  padding:6px 0px 6px 26px;
  background: url('../img/ins_white.png') no-repeat left;
  background-size: 20px;
}
.menu-reminde {
  padding:6px 6px 6px 24px;
  background: url('../img/reminde_blue.png') no-repeat left;
}
.menu-reminde:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/reminde_white.png') no-repeat left;
}
.menu-dropdown-reminde,
.menu-dropdown-reminde:hover {
  padding:6px 0px 6px 26px;
  background: url('../img/reminder_white.png') no-repeat left;
  background-size: 20px;
}
.exit-user {
  padding:6px 6px 6px 24px;
  background: url('../img/exit_blue.png') no-repeat left;
}
.exit-user:hover {
  padding:6px 6px 6px 24px;
  background: url('../img/exit_white.png') no-repeat left;
}
.account-user {
  padding: 6px 6px 6px 24px;
  background: url('../img/user_blue.png') no-repeat left;
}
.account-user:hover {
  padding: 6px 6px 6px 24px;
  background: url('../img/user_white.png') no-repeat left;
}
.account-new {
  padding: 6px 6px 6px 24px;
  background: url('../img/register_blue.png') no-repeat left;
}
.account-new:hover {
  padding: 6px 6px 6px 24px;
  background: url('../img/register_white.png') no-repeat left;
}
div.on-line, 
div.off-line,
div.cssload-container {
  padding: 15px 10px;
}
.off-line a {
  cursor: pointer;
  padding-left: 26px !important;
  background-image: url('../img/status/off-line.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 0px 50%;
  color: #a5d7e3;
}
.on-line a {
  cursor: pointer;
  padding-left: 26px !important;
  background-image: url('../img/status/on-line.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 0px 50%;
  color: #a5d7e3;
}
.off-line a:hover,
.off-line a:focus, 
.off-line a:active,
.on-line a:hover,
.on-line a:focus,
.on-line a:active {
  color: #fff;
}
div.menu-user-state:hover,
div.menu-user-state:focus,
div.menu-user-state:active {
  background-color: #60b9ce;
}
/*slide panel*/
p.on-line a, 
p.on-line a:hover,
p.on-line a:focus,
p.on-line a:active {
  color: #9acd64;
}
p.off-line a, 
p.off-line a:hover, 
p.off-line a:focus, 
p.off-line a:active {
  color: #ccc;
}
.navbar-default .navbar-nav>.open>a>span.account-user, 
.dropdown-menu>li>a>span.account-user {
  background: url('../img/user_white.png') no-repeat left;
}
.dropdown-menu>li>a>span.account-new {
  background: url('../img/register_white.png') no-repeat left;
}
.dropdown-menu>li>a>span.exit-user {
  background: url('../img/exit_white.png') no-repeat left;
}
/**/
.top-sit-lg {
  display: block;
  width: 100%;
  height: auto;
  top: 0;
  background: url('../img/sit_bg_dark.jpg') no-repeat;
  background-size: 100%;
  text-align: center;
  margin-top: -100px;
}
.top-sit-lg img {
  padding: 100px 40px;
  width: 45%;
}
.navbar-sit-main {
  background: url('../img/sit_bg_dark.jpg') no-repeat;
  background-size: 100%;
  border-bottom: none;
}
.navbar-sit-main .navbar-nav>.active>a, 
.navbar-sit-main .navbar-nav>.active>a:focus, 
.navbar-sit-main .navbar-nav>.active>a:hover {
  background: transparent;
}
.navbar-sit-main .navbar-nav>li>a:hover {
  background: transparent;
}
.navbar-collapse.collapse.in {
  background: #38b2ce;
}
.sit-main h1 {
  border: none;
}
.sit-main .lead {
  color: #38b2ce;
  font-size: 2em;
}
ul.checklist li {
  list-style: none;
  font-weight: bold;
}
ul.checklist li:before {
  content: '✔ ';
  font-weight: normal;
}
ul.list li {
  list-style: disc;
  font-weight: normal;
}
ul.list li:before {
  content: '';
}
.sit-main img {
  width: 100%;
}
.sit-main div.row {}
/*MODAL*/
.calls h1 {
  text-align: center;
  border: none;
}
.calls h1 a {
  color: green;
}
.calls h1 a:hover {
  color: #ff7f00;
}
.calls h4 {
  text-align: center;
}
.calls h4 a{
  text-align: center;
  color: #ccc;
}
h4.panel-title.more a {
  color: #04819e;
  font-style: italic;
}
h4.panel-title.more a:hover {
  color: #04819e;
  font-style: italic;
  text-decoration: none;
}
.panel-default>.panel-heading, 
.panel-default {
  border: none;
}
.modal-header {
//  background: #04819e;
//  background-color: #f0f1f3;
  background-color: #60b9ce;
  color: #fff;
  font-size: 1.6rem;
}
#callModal .modal-header {
  background-color: #fff;
  border-color: #fff;
}
/*---slide-info_open_onclick---*/
.queue-memberlist {
  clear: both;
  cursor: pointer;
  background: transparent;
}
.queue-membername {
  display: inline-block;
  float: left;
  font-weight: bold;
  padding: 0 10px;
  color: #04819e;
}
.title-memberlist {
  display: inline-block;
  font-weight: bold;
  color: #04819e;
  padding: 0 10px;
}
.info {
  display: none;
  clear: both;
}
.arrup:before {
  content: "⇊ ";
  color: #04819e;
  float: left;
  padding-left: 10px;
  font-size: 16px;
}
.arrdown:before {
  content: "⇈ ";
  color: #04819e;
  padding-left: 10px;
  float: left;
  font-size: 16px;
}
.calls-arrup {
  background: url('../img/icons_calls/icon_arr_down.png') no-repeat;
  background-position: 100%;
  background-size: 26px 26px;
  height: 20px;
  cursor: pointer;
}
.calls-arrdown {
  background: url('../img/icons_calls/icon_arr_up.png') no-repeat;
  background-position: 100%;
  background-size: 26px 26px;
  height: 20px;
  cursor: pointer;
}
p.queue-memberstatus {
  line-height: 22px;
}
.queue-memberstatus img{
  padding-bottom: 4px;
}
.queue-alltime {
  line-height: 22px;
  color: green;
  font-size: 0.9em;
  font-style: italic;
  padding-bottom: 20px;
}
.timeperiod td {
  font-style: italic;
}
.text-error {
  color: red;
}
.text-error span {
  font-weight: bold;
}
.queue-title h4 {
  color: #9acd64;
}
/*audio*/
.audio {
  padding-left: 0;
}
.audio-player {
  width: 488px;
  margin: 0 auto;
}
.audio-player-talks {
  width: 488px;
  margin: 0 auto;
}
.audio-status-att {
  background: #337ab7;
  color: red;
  padding-left: 20px;
}
.readaudio .audio-status-att {
  background: #ccc;
  color: red;
  padding-left: 20px;
}
.audio-status-check {
  background: #337ab7;
  color: green;
  padding-left: 20px;
}
.readaudio .audio-status-check {
  background: #ccc;
  color: green;
  padding-left: 20px;
}
.jp-audio {
  width: 488px;
}
.jp-audio .jp-controls {
  width: 488px;
}
.jp-audio .jp-type-single .jp-progress {
  left: 178px;
  width: 186px;
}
.jp-volume-controls {
  left: 372px;
}
.jp-audio .jp-type-single .jp-time-holder {
  left: 178px;
}
.jp-downl {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  margin-top: 6px;
  background: url(../audio/image/downl.jpg) no-repeat;
}
.jp-check {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  margin-top: 16px;
  background: url(../audio/image/check.jpg) -16px no-repeat;
}
.readaudio .jp-check {
  width: 16px;
  height: 16px;
  margin-right: 10px;
  margin-top: 16px;
  background: url(../audio/image/check.jpg) 0px no-repeat;
}
.jp-audio.readaudio {
  border-color: #888;
  color: #888;
}
.jp-details {
  text-align: left;
  padding-left: 40px;
}
.readaudio div.jp-details{
  background-color: #ccc;
  color: #888;
}
.readaudio .jp-interface {
  background-color: #eee;
  color: #888;
}
.readaudio .jp-title {
  font-weight: normal;
}
.jp-audio {
  border-color: #337ab7;
}
.jp-interface {
  color: #337ab7;
}
.jp-details, 
.jp-playlist {
  background-color: #337ab7;
  color: #fff;
}
.jp-details {
  background: #337ab7 url('../audio/image/new_voicemail.png') no-repeat;
  background-position: 20px;
}
.readaudio .jp-details {
  background: #ccc url('../audio/image/read_voicemail.png') no-repeat;
  background-position: 20px;
}
.audio-player-talks .jp-details {
  background: #337ab7 url('../audio/image/new_talking.png') no-repeat;
  background-position: 20px;
}
.audio-player-talks .readaudio .jp-details {
  background: #ccc url('../audio/image/read_talking.png') no-repeat;
  background-position: 20px;
}
.modal-dialog.gtimeline {
  width: auto;
}
/*CONTACT ACCOUNT*/
div.contact_info {
  border: solid 4px #fff;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  -webkit-border-radius: 4px;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
div.contact_info img.contact_image {
  border-radius: 50%;
  border: solid 2px #fff;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
}
div.contact_info .contact_header h3,
div.contact_info .contact_header h3 small {
  color: #38b2ce;
  font-weight: bold;
}
div.contact_info .contact_header h4, 
div.contact_info .contact_header p {
  color: #38b2ce;
}
div.contact_header {
  background-color: #d8edf2;
  border-bottom: solid 4px #fff;
}
div.contact_info h4 {
  color: #04819e;
  padding-left: 10px;
  text-align: left;
}
div.contact_info h5 {
  font-weight: bold;
  color: #206676;
}
div.contact_info p small {
  color: #60b9ce;
  padding-left: 10px;
}
div.contact_info h4 span.contact_addbook {
  background: url('../img/icons/icon_contact_addbook.png') no-repeat;
  background-position: 0 50%;
  background-size: 20px;
  padding-left: 22px;
}
div.contact_info h4 span.contact_company {
  background: url('../img/icons/icon_contact_company.png') no-repeat;
  background-position: 0 100%;
  background-size: 20px;
  padding-left: 22px;
}
div.contact_info div.contact_note h5 {
  background: url('../img/icons/icon_contact_note.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info div.contact_phone h5 {
  background: url('../img/icons/icon_contact_phone.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info div.contact_email h5 {
  background: url('../img/icons/icon_contact_email.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info div.contact_im h5 {
  background: url('../img/icons/icon_contact_im.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info div.contact_url h5 {
  background: url('../img/icons/icon_contact_url.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info div.contact_birthday h5 {
  background: url('../img/icons/icon_contact_birthday.png') no-repeat;
  background-position: 4px 100%;
  background-size: 15px;
  padding-left: 22px;
}
div.contact_info .contact_header h4.company_name_header {
  background: url('../img/icons/icon_contact_company.png') no-repeat;
  background-position: 0 50%;
  background-size: 25px;
  padding: 6px 30px;
  margin-left: 10px;
  text-align: left;
}
div.title.error {
  clear: both;
}
div.title.error h5 {
  color: red;
  margin-top: 20px;
}
.error {
  color: red;
}
/*ADD CONTACT FORM*/
#display_company_list {
  width: 100%;
  display: none;
  margin-right: 30px;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}
.display_box {
  padding:4px;.
  border-top:solid 1px #dedede;.
  font-size: 1em;.
  height: 30px;
}
.display_box:hover {
  background: #d9edf7;
  color: #333;
  cursor: pointer;
}
#field {
  margin-bottom:20px;
}
/*new calls list*/
tr.missed {
  background-color: #ffe1e1 !important;
}
tr.missed:hover {
  background-color: #e9f0f9 !important;
}
.table>tbody>tr.missed>td, 
.table>tbody>tr.missed>th, 
.table>tfoot>tr.missed>td, 
.table>tfoot>tr.missed>th, 
.table>thead>tr.missed>td, 
.table>thead>tr.missed>th {
}
/*calls info*/
td.calls-info-time {
  width: 16.66666667%;
}
td.calls-info-startname {
  width: 25%;
}
td.calls-info-event {
  width: 16.66666667%;
}
td.calls-info-secondname {
}
td.calls-info-event.call-start {
  color: green;
}
td.calls-info-event.call-hangup {
  color: #999;
}
td.calls-info-event.call-transfer {
    color: #38b2ce;
}
td.calls-info-event.call-attendedtransfer, 
td.calls-info-event.call-pickup {
  color: #38b2ce;
}
td.calls-info-event.call-waiting {
  color: #38b2ce;
}
td.calls-info-event.call-forward {
  color: green;
}
/*calls table*/
table.dialog-table,
table.calls-table tr>td>div {
  font-size: 0.9em;
}
table.dialog-table, 
table.calls-table tr {
  background-color: #fff;
}
table.dialog-table tr:hover,
table.calls-table tr:hover {
  background-color: #e9f0f9;
}
table.dialog-table th {
  text-align: center;
}
table.dialog-table > thead > tr.calls-today > th {
  text-align: left;
}
table.dialog-table > tbody > tr > td > div {
  min-height: 30px;
}
table.dialog-table > tbody > tr > td > div.eventtype > img {
  height: 30px;
  width: 30px;
}
table.dialog-table > thead tr.subtitle > th:first-child,
table.dialog-table > thead tr.subtitle > th:first-child(6) {
  width: 8.33333333%;
}
table.dialog-table > thead tr.subtitle > th:nth-child(2), 
table.dialog-table > thead tr.subtitle > th:nth-child(3),
table.dialog-table > thead tr.subtitle > th:nth-child(4),
table.dialog-table > thead tr.subtitle > th:nth-child(5),
table.dialog-table > thead tr.subtitle > th:nth-child(7) {
  width: 16.66666667%;
}
table.calls-info-table {
  font-size: 0.9em;
  line-height: 1.5;
  color: #555;
}
table.calls-info-table {
  width: 100%;
  border-top: solid 2px #ccc;
}
table.calls-info-table tbody tr>td {
  padding:0px 15px;
  float: left;
}
.answered table.calls-info-table>tbody>tr:nth-child(odd),
table.calls-info-table>tbody>tr:nth-child(odd) {
  background: #e3f4d7;
}
div.info {
  background-color: #f2f2f2;
}
div.dialog-options {
  border-top: solid 2px #ccc;
  background-color: #f2f2f2;
}
tr.options td, tr.options, 
.answered table.calls-info-table>tbody>tr:nth-child(odd),
table.calls-info-table>tbody>tr:nth-child(even) {
  background: #f2f2f2;
  border: none;
}
.answered table.calls-info-table>tbody>tr:nth-child(odd):hover,
table.calls-info-table>tbody>tr:nth-child(even):hover, 
.answered table.calls-info-table>tbody>tr:nth-child(odd):hover,
table.calls-info-table>tbody>tr:nth-child(odd):hover {
  background: #e9f0f9;
}
.missed table.calls-info-table>tbody>tr:nth-child(even) {
  background: #ffe1e1;
}
.missed table.calls-info-table>tbody>tr:nth-child(even):hover {
  background: #e9f0f9;
}
tr.calls.attendedtransfer, 
tr.calls.pickup, 
.attendedtransfer table.calls-info-table>tbody>tr:nth-child(even), 
.pickup table.calls-info-table>tbody>tr:nth-child(even) {
  background: #e0f3f8;
}
tr.calls.attendedtransfer:hover, 
tr.calls.pickup:hover, 
.attendedtransfer table.calls-info-table>tbody>tr:nth-child(even):hover, 
.pickup table.calls-info-table>tbody>tr:nth-child(even):hover {
  background: #e9f0f9;
}
/*comment-table*/
div.comment-table {
  background: #fff;
  margin: 30px 0px 0px 0px;
  border-top: 2px solid #60b9ce;
  border-bottom: 2px solid #60b9ce;
  border-left: solid 1px #ddd;
  border-right: solid 1px #ddd;
}
table.comment-table {
  background: #fff;
}
table.comment-table tr > th {
  background-color: #60b9ce;
  color: #fff;
}
table.comment-table tr > th a {
  color: #fff;
} 
table.comment-table td.datetime {
  width: 16.66666667%;
}
table.comment-table td.comment {}
td.box-user {
  width: 16.66666667%;
  text-align: left;
  text-transform: capitalize;
}
td.box-user img {
  width: 15%;
  margin-right: 6px;
}
table.comment-table td.linkedid {
  width: 8.33333333%;
}
table.comment-table td.add-comment {
  width: 8.33333333%;
}
.hidden {
  display: none;
}
/*CEL*/
.all_calls_num {
  background: #fff;
  border-radius: 50%;
  border-left: solid 6px #afd785;
  border-right: solid 6px #49afcd;
  border-top: solid 6px #49afcd;
  border-bottom: solid 6px #49afcd;
  padding: 20px 2px;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  color: #49afcd;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.all_calls_num span {
  font-size: 2.8em;
  line-height: 1.0;
}
.all_calls_num small {
  font-size: 1.0em;
  line-height: 1.5;
}
a.all_calls_num span, 
a.all_calls_num small {
  color: #49afcd;
}
div.block-calls-pickup, 
div.block-calls-attransfer {
  background: #fff;
  border-radius: 50%;
  border: solid 4px #38b2ce;
  font-weight: bold;
  font-size: 0.9em;
  line-height: 24px;
  padding: 10px;
  margin: 0 auto 4px;
  width: 56px;
  height: 56px;
  cursor: pointer;
}
.external_out_num div.ext {
  background: #fff;
  border-radius: 50%;
  border-left: solid 4px #04819e;
  border-right: solid 4px #ff7f00;
  border-top: solid 4px #04819e;
  border-bottom: solid 4px #04819e;
  padding: 10px 6px;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
  color: #04819e;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.external_in_num div.ext {
  background: #fff;
  border-radius: 50%;
  border-left: solid 4px #38b2ce;
  border-right: solid 4px #ffdd55;
  border-top: solid 4px #38b2ce;
  border-bottom: solid 4px #38b2ce;
  padding: 10px 6px;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
  color: #04819e;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.internal_num div.int {
  background: #fff;
  border-radius: 50%;
  border-left: solid 4px #6e84d6;
  border-right: solid 4px #ffc540;
  border-top: solid 4px #6e84d6;
  border-bottom: solid 4px #6e84d6;
  padding: 10px 6px;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  cursor: pointer;
  text-align: center;
  color: #49afcd;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.external_in_num div.ext p, 
.external_out_num div.ext p, 
.internal_num div.int p {
  font-size: 0.8em;
  text-align: center;
  line-height: 1.0;
  font-weight: bold;
  text-transform: uppercase;
}
.external_in_num,
.external_out_num,
.internal_num {
  text-align: center;
}
.external-out_num a,
.external_out_num span#ext_num {
  color: #04819e;
}
.external-in_num a,
.external_in_num span#ext_num {
  color: #38b2ce;
}
.internal_num a, 
.internal_num span#int_num {
  color: #6e84d6;
}
.internal_num .int span#int_num, 
.external_in_num .ext span#ext_num, 
.external_out_num .ext span#ext_num {
  font-size: 2em;
  line-height: 1.0;
}
.external_in_num, 
.external_out_num, 
.internal_num {
  cursor: pointer;
}
/*TERMINS*/
.termins h5 {
  color: #fff;
  background-color: #c1d0ef;
  padding: 4px 8px;
}
.termins h5 a {
  color: #fff;
}
.termins h5 a:focus, 
.termins h5 a:active, 
.termins h5 a:hover  {
  color: #2c3e82;
}
.termins h3 {
  text-transform: uppercase;
  background-color: #c1d0ef;
  color: #fff;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 1.2em;
}
.termins div.row{
  border-bottom: 1px solid #c1d0ef;
}
/*LANGUAGES*/
.lang {
  cursor: pointer;
  margin-right: 10px;
}
div.lang-container {
  position: fixed;
  top: 0;
  z-index: 1200;
}

.table-flex-head .subtitle {
   height: 20px;
   justify-content: space-around;
   background-color: #60b9ce;
   color: #fff;
   font-weight: normal;
   font-size: 0.9em;
   display: flex;
}

table tr.subtitle th {
  background-color: #60b9ce;
  color: #fff;
  font-weight: normal;
  font-size: 0.9em;
}

.table-flex-head .subtitle div a,
table tr.subtitle th a {
  color: #fff;
  font-weight: normal;
}

.table-flex-head .subtitle .th-sort a {
  color: #ffd473;
  font-weight: normal;
}

.table-flex {
  display: flex;
  flex-direction: column;
  width: 100%; 
}


.table-flex .mappoint-row-space-around,
.table-flex .mappoint-row-normal,
.table-flex .mappoint-row {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 4px;
}

.table-flex .mappoint-row-space-around {
  justify-content: space-around;
}


.table-flex .mappoint-row-normal {
  justify-content: normal;
}

.table-flex .mappoint-column-25 {
  max-width: 25%;
}

.table-flex .mappoint-container {
  //border: 1px solid #D3D3D3;
  border: 1px solid white;
  min-width: 33.3%;
  max-width: 33.3%;
}

.table-flex .exists-on-map {
  background-color: #d7f4d7;
}

.table-flex .not-exists-on-map {
  background-color: #f3cbc2;
}

.table-flex .mappoint-column {
  display: flex;
  flex: 1;
  flex-direction: column;
} 

.table-flex .mappoint-edit {
  display: flex;
  width: 100%;
  min-width: 40px;
  max-width: 40px;
}

.table-flex .mappoint-edit a {
  margin: 4px;
  height: 20px;
}

.table-flex .mappoint-container .header,
.table-flex .mappoint-container .body {
  display: flex;
  justify-content: center;
} 

.table-flex .exists-on-map .header {
  font-size: 0.8em;
  // background-color: #F5F5F5;
  background-color: #d7f4d7;
  // background-color: inherit;
  /* border-bottom: 1px solid #60b9ce; */
}

.table-flex .body {
  padding: 4px;
}

.table-flex .exists-on-map:hover,
.table-flex .exists-on-map:hover .header {
  background-color: #e7f5e1;
}

.table-flex .not-exists-on-map:hover,
.table-flex .not-exists-on-map:hover .header {
  background-color: #efdfd5;
}



table tr.subtitle th a:hover,
table tr.subtitle th a:focus,
table tr.subtitle th a:active {
  color: #a5d7e3;
  font-weight: normal;
  text-decoration: none;
}
table tr.subtitle th.th-sort a, 
.th-sort a {
  font-weight: normal;
  color: #ffd473;
}
.th-sort a:hover,
.th-sort a:focus,
.th-sort a:active, 
table tr.subtitle th.th-sort a:hover,
table tr.subtitle th.th-sort a:focus,
table tr.subtitle th.th-sort a:active {
  color: #fff;
  text-decoration: none;
}
.pass-change-form li {
  display: inline;
}
.pass-change-form li #id_new_password2, 
.pass-change-form li #id_new_password1,
.pass-change-form li #id_old_password {
  width: 26%;
  margin-right: 10px;
}
.timetable-filter-form {
  padding: 0px 15px;
  margin: 0px;
}
.timetable-filter-form .btn {
  margin: 0px 10px 0px 0px;
} 
.timetable-filter-form select {
  margin: 16px 10px 0px 0px;
}
.timetable-filter-form label {
  position: absolute;
  text-transform: none !important;
}
.filter-form {
  padding: 10px;
  background-color: #fff;
  margin: 10px 15px 15px 15px;
}
.filter-form label {
  position: absolute;
  text-transform: none !important;
}
label {
  color: #38b2ce;
//  color: #808080;
  margin-right: 6px;
  font-size: 0.8em;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: normal;
}
input[type=checkbox], 
input[type=radio] {
  display: inline-block;
  height: 34px;
  padding: 3px 6px;
  font-size: 14px;
  line-height: 1;
  color: #444;
  margin-right: 20px;
  margin-top: 14px;
  margin-bottom: 10px;
}
textarea {
  display: block;
  overflow: hidden;
  height: auto;
  min-height: 34px;
  width: 100%;
  padding: 3px 6px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
input[type='text'], 
input[type='password'], 
input[type='number'],
input[type='email'],
select {
  display: inline-block;
  height: 34px;
  padding: 3px 6px;
  font-size: 14px;
  line-height: 1;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin-right: 20px;
  margin-top: 14px;
  margin-bottom: 10px;
}
html input[disabled],
input:disabled, 
select:disabled,
textarea:disabled {
  color: #808080;
  cursor: crosshair;
  background-color: transparent;
  border-color: #fafafa;
}
.filter-form input[type='text'],
.filter-form select {
  width: 94px;
  margin-right: 2px;
}



.filter-form #id_queue,
.filter-form #id_queue_status,
.filter-form #id_profile,
.filter-form #id_comment_regex, 
.filter-form #id_username, 
.filter-form #id_dialogtype,
.filter-form #id_dialogmissed,
.filter-form #id_dialogrecord,
.filter-form #id_dialogclass,
.filter-form #id_cid_regex,
.filter-form #id_exten_regex,
.filter-form #id_role {
  width: 110px;
  margin-right: 6px;
}
.filter-form #id_region,
.filter-form #id_with_mappoints,
.filter-form #id_with_orders,
.filter-form #id_region_regex {
  width: 200px;
  margin-right: 6px;
}
#id_name_regex,
#id_address_regex {
  width: 110px;
} 
#id_daterange,
#id_daterange_start,
#id_daterange_stop {
  width: 180px;
}
#id_year,
#id_month,
#id_weekrange,
#id_day,
#id_daterange, 
#id_daterange_start,
#id_daterange_stop,
#id_daterange_reminde,
#id_daterange_queuestatus,
#id_state {
  margin-right: 6px;
}
#id_id,
#id_order_id {
  width: 70px;
  margin-right: 2px;
}
.filter-form #id_state {
  width: 112px;
}
.filter-form #id_state.analyzer_list_select {
  width: 200px;
}

.filter-form #id_daterange_queuestatus, 
.filter-form #id_daterange_reminde,
.filter-form #id_daterange_stop {
  width: 180px;
}
.external_in,
.external_in_missed,
.external_out,
.external_out_missed,
.internal,
.internal_missed,
.pickup,
.attransfer {
  cursor: pointer;
}
.form-blacklist #id_exten_regex {
  width: 160px;
}
table.calls-table > thead tr.subtitle > th:first-child,
table.calls-table > thead tr.subtitle > th:nth-child(3) {
  width: 8.33333333%;
}
table.calls-table > thead tr.subtitle > th:nth-child(4) {
  width: 16.66666667%;
}
table.calls-table > thead tr.subtitle > th:nth-child(2) {
  width: 25%;
} 
table.calls-table > thead tr.subtitle > th:nth-child(6) {
}
table.calls-table > thead tr.subtitle > th:nth-child(7) {
//  width: 16.66666667%;
//  text-align: center;
}
table.calls-table > thead tr.subtitle > th:nth-child(5) {
  width: 100px;
}
table.calls-table tr>td>div.duration, 
table.calls-table tr>td>div.waiting {
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
}
table.calls-table tr>td>div.comment a {
  background: url('../img/comment.png') no-repeat;
  background-position: 50% 50%;
  background-size: 34px;
  padding: 10px 2px;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  font-size: 10px;
  font-weight: bold;
}
.box-shadow {
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  border-radius: 1px;
}
div.eventtype {
  text-align: center;
}
td.eventtype {
  width: 16.66666667%;
}
td.cid_name {
  width: 25%;
}
td.time,
td.exten, 
td.cid_num {
  width: 8.33333333%;
}
/*calls-option*/
li.dropdown {
  list-style: none;
}
.call-option .dropdown-menu li a {
  background-color: #fff;
  color: #337ab7;
  border: solid 1px #fff;
}
.call-option .dropdown-menu li a:hover {
  background-color: #60b9ce;
  color: #fff;
}
.call-option .dropdown-menu {
  border-radius: 0px 4px 4px 4px;
  border-color: #cecece;
  background-color: #fff;
  color: #444;
}
.dropdown-menu>li>a.label-img {
  background-image: url('../img/edit_blue.png');
  background-repeat: no-repeat;
  padding-left: 30px;
  background-size: 20px;
}
.dropdown-menu>li>a.label-img:hover {
  background-image: url('../img/edit_white.png');
}
.dropdown-menu>li>a.add-comment-img {
  background-image: url('../img/add_comment_blue.png');
  background-repeat: no-repeat;
  padding-left: 30px;
  background-size: 20px;
}
.dropdown-menu>li>a.add-comment-img:hover {
  background-image: url('../img/add_comment_white.png');
}
.dropdown-menu>li>a.audio-img {
  background-image: url('../img/audio_blue.png');
  background-repeat: no-repeat;
  padding-left: 30px;
  background-size: 20px;
}
.dropdown-menu>li>a.audio-img:hover {
  background-image: url('../img/audio_white.png');
}
/*comments*/
.box-arrow {
  position: relative;
  background: rgba(255,255,255,0);
  border: 1px solid #ddd;
  border-right-color: #fff; 
  border-bottom: none;
  border-top: none;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
}
.box-arrow:after, .box-arrow:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.box-arrow:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #ffffff;
  border-width: 5px;
  margin-top: -5px;
}
.box-arrow:before {
  border-color: rgba(204, 204, 204, 0);
  border-right-color: #ddd;
  border-width: 6px;
  margin-top: -6px;
}
.box-user {
  text-align: center;
}
.box-user img {
  width: 22%;
/ height: 60px;
  border-radius: 50%;
  border: solid 2px #fff;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15);
}
/*dialog label class*/
td.blacklist-edit,
td.greylist-edit,
td.user-edit,
td.service-edit,
td.wheel-edit,
td.insurance-edit,
td.reminde-edit,
td.contact-edit,
td.queueroute-edit,
td.item-edit,
td.class-edit,
td.class-edit-disabled,
td.order-edit,
td.order-view, 
td.mappoint-edit {
  min-width: 30px;
}
td.user-delete,
td.contact-delete,
td.class-delete {
  width: 30px;
}
td.contact-edit-disabled,
td.class-edit-disabled a, 
td.order-edit-disabled {
  background-image: url('../img/edit_grey.png');
  background-repeat: no-repeat;
  padding: 2px 20px;
  background-size: 20px;
}
td.contact-delete-disabled,
td.class-delete-disabled a {
  background-image: url('../img/delete_grey.png');
  background-repeat: no-repeat;
  padding: 2px 20px;
  background-size: 20px;
}
td.order-edit > p {
  background-image: url('../img/edit_blue.png');
  background-repeat: no-repeat;
  padding: 20px 10px;
  background-size: 20px;
  cursor: pointer;
} 
td.order-edit > p:hover {
  background-image: url('../img/edit_blue.png');
  background-repeat: no-repeat;
  padding: 20px 2px;
  background-size: 20px;
  cursor: pointer;
  opacity: 0.6;
}
td.blacklist-edit a,
td.greylist-edit a,
td.user-edit a,
td.service-edit a,
td.wheel-edit a,
td.insurance-edit a,
td.reminde-edit a,
td.contact-edit a,
td.queueroute-edit a,
td.item-edit a,
td.order-edit a,
td.mappoint-edit a,
.mappoint-edit a {
  background-image: url('../img/edit_blue.png');
  background-repeat: no-repeat;
  padding: 2px 10px;
  background-size: 20px;
  text-decoration: none;
}
td.order-edit a {
  padding: 2px 10px 0px 20px;
  background-size: 16px;
}

td.order-view a {
  background-image: url('../img/info_blue.png');
  background-repeat: no-repeat;
  padding: 2px 10px;
  background-size: 20px;
}
td.class-edit a {
  background-image: url('../img/edit_blue.png');
  background-repeat: no-repeat;
  padding: 2px 20px;
  background-size: 20px;
}
td.blacklist-edit a:hover,
td.greylist-edit a:hover,
td.user-edit a:hover,
td.service-edit a:hover,
td.wheel-edit a:hover,
td.insurance-edit a:hover,
td.reminde-edit a:hover,
td.contact-edit a:hover,
td.queueroute-edit a:hover,
td.item-edit a:hover,
td.class-edit a:hover,
td.order-edit a:hover, 
td.mappoint-edit a:hover,
.mappoint-edit a:hover {
  background-image: url('../img/edit_blue.png');
  opacity: 0.6;
}
td.order-view a:hover {
  background-image: url('../img/info_blue.png');
  opacity: 0.6;
}
td.user-delete a,
td.contact-delete a,
td.greylist-delete a {
  background-image: url('../img/delete_red.png');
  background-repeat: no-repeat;
  padding: 2px 10px;
  background-size: 20px;
}
td.class-delete a {
  background-image: url('../img/delete_red.png');
  background-repeat: no-repeat;
  padding: 2px 20px;
  background-size: 20px;
}
td.user-delete a:hover,
td.contact-delete a:hover,
td.class-delete a:hover,
td.greylist-delete a:hover {
  background-image: url('../img/delete_red.png');
  opacity: 0.6;
}
td.class-name {
  width: 20%;
}
td.class-descr {
  width: 50%;
}
td.class-dialog-list {
  width: 25%;
  text-align: center;
}
table.service-table td.description {
  min-width: 100px;
}
td.performers {
  text-align: center;
  width: 130px;
}
div.dialog-edit-class-header {
  background-color: #60b9ce;
}
div.dialog-edit-class-list {
  background-color: #fff;
  border-bottom: solid 1px #ddd;
}
div.dialog-edit-class-list div {
//  background-color: #fff;
//  min-height: 24px;
//  border-top: solid 1px #ddd;
}
.dialog-edit-class-header p {
  background-color: #60b9ce;
  color: #fff;
  padding: 2px 10px;
  margin: 0;
  text-align: left;
}
a.show-list,
a.hide-list {
  color: #9acd64;
  text-decoration: none;
  font-weight: bold;
}
.show-list {
  background: url('../img/arr-down.png') no-repeat;
  padding: 0px 20px;
  background-size: 20px;
}
.hide-list {
  background: url('../img/arr-up.png') no-repeat;
  padding: 0px 20px;
  background-size: 20px;
}
ul#dialog-label-list li {
  list-style: none;
  background: url('../img/check-list.png') no-repeat;
  background-size: 12px;
  background-position: 0 50%;
  padding-left: 20px;
  
}
/*dialog details*/
div.detail-dialog-class,
div.detail-dialog,
div.detail-audio,
div.detail-events,
div.detail-comments {
  background-color: #fff;
  margin-top: 4px;
  margin-right: -13px;
  margin-left: -13px;
  padding: 6px;
}
div.dialog-detail {
  background-color: #fff;  
}
div.detail-dialog {
  min-height: 52px;
}
div.detail-audio {
  padding: 0px;
}
tr.options td {
  width: 100%;
  font-size: 1.4em;
}
tr.dialog-detail {
  border-bottom: 2px solid #38b2ce;
}
tr.options.dialog-detail td,
.dialog-detail {
  font-size: 1em;
  text-align: left;
}
tr.options.dialog-detail {
}
tr.dialog-detail td {
  width: 100%;
  background-color: #fff;
}
tr.comment-detail {
  width: 100%;
  background-color: #fff !important;
//  color: #337ab7;
}
tr.comment-detail {
  border-top: 1px solid #ccc !important;
  border-bottom: 1px solid #ccc !important;
}
tr.comment-detail td {
  min-height: 38px;
}
tr.comment-detail td.datetime {
  width: 10%;
}
tr.comment-detail td.box-user {
  width: 20%;
  text-align: left;
  text-transform: capitalize;
}
tr.comment-detail td.comment {
  width: 70%;
}
/*BOOK CONTACT*/
.contact-img img {
  border: solid 2px #fff;
  width: 60%;
  border-radius: 50%;
}
.border-red img {
  border-color: #d43f3a;
}
.label-primary {
  background-color: #015367;
}
.book-contact h3 {
  margin-top: 10px;
  margin-bottom: 4px;
}
.book-contact h4 {
  color: #337ab7;
  margin: 10px;
}
div.book-contact {
  border: solid 4px #fff; 
  border-radius:4px;
  margin-top: 10px;
}
.contact-header {
  background-color: #f2f2f2;
}
.contact-main {
  background-color: #fff;
}
.contact-label {
  float: right;
  margin-right: 15px;
}
.contact-label img {
  width: 20px;
  height: 20px;
}
.contact-label span {
//  margin-left: 4px;
}
.contact-type {
  color: #777;
} 
#id_lastname_regex,
#id_firstname_regex,
#id_phone_regex,
#id_email_regex {
  width: 100px;
  margin-right: 10px;
}

.filter-flex {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.filter-flex .filter-row-normal,
.filter-flex .filter-row-space-around,
.filter-flex .filter-row {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 4px;
}

.filter-flex .filter-column {
  display: flex;
  flex: 1;
  flex-direction: column;
}


.filter-flex .filter-row-space-around {
  justify-content: space-around;
}

.filter-flex .filter-row-normal {
  justify-content: normal;
}


.filter-form .row #id_queue,
.filter-form .row #id_queue_status,
.filter-form .row #id_profile,
.filter-form .row #id_comment_regex,
.filter-form .row #id_username,
.filter-form .row #id_dialogtype,
.filter-form .row #id_dialogmissed,
.filter-form .row #id_dialogrecord,
.filter-form .row #id_dialogclass,
.filter-form .row #id_cid_regex,
.filter-form .row #id_exten_regex,
.filter-form .row #id_role,
.filter-form .row #id_logist,
.filter-form .row #id_order_state,
.filter-form .row #id_id,
.filter-form .row #id_cid2,
.filter-form .row #id_daterange_start,
.filter-form .row #id_phone_regex,
.filter-form .row #id_rating,
.filter-form .row #id_partner,
.filter-form .row #id_performer {
  width: 100%;
}

.filter-form .filter-row .filter-button,
.filter-form .row .filter-button {
    margin-bottom: 10px;
    margin-top: 14px;
}
.filter-form .row .filter-button .btn {
    width: 100%;
}

.filter-form #id_partner,
.filter-form #id_performer,
.filter-form #id_order_state,
.filter-form #id_location_regex,
.filter-form #id_number_regex, 
.filter-form #id_brand, 
.filter-form #id_cid2,
.filter-form #id_logist,
.filter-form #id_firstname_regex,   
.filter-form #id_lastname_regex, 
.filter-form #id_radius_regex,
.filter-form #id_disks,
.filter-form #id_rating,
.filter-form #id_sphere,
.filter-form #id_insurance_type,
.filter-form #id_insurance_company,
.filter-form #id_performer_action {
  width: 92px;
  margin-right: 2px;
}

.filter-form #id_sphere {
  width: 50px;
  margin-right: 2px;
}

.filter-form #id_order_state {
  width: 110px;
}

.filter-form #id_operator {
  min-width: 130px;
  margin-right: 2px;
}
.filter-form #id_phone_regex {
  min-width: 100px;
  margin-right: 2px;
}
.filter-form #id_daterange_start {
  width: 111px;
  margin-right: 2px;
}
#id_company,
#id_book,
#id_contact_group {
  width: 100px;
  margin-right: 10px;
}
/*ORDER CONTACT*/
.order-contact {
  border: solid 4px #ccc;
  border-radius: 4px;
  background-color: #fff;
  padding: 10px;
}
.order-contact h1 {
  color: #333;
  border: none;
}
.order-contact p small {
  color: #777;
}
/*ADD, DELETE, EDIT CONTACT FORM*/
.add-contact-form {
  padding: 10px;
}
.add-contact-form h4 {
  color: #206676;
  margin-bottom: 0;
}
.add-contact-form li {
  list-style: none;
}
.add-contact-form label {
  position: absolute;
}
.add-contact-form input[type='text'],
.add-contact-form select#id_company, 
.add-contact-form select#id_book, 
.add-contact-form textarea {
  width: 100%;
}
input[type='file'] {
  padding: 20px 0;
}
input#fileAs-clear_id {
  float: left;
  margin-top: 24px;
}
label[for=fileAs-clear_id] {
  position: relative;
  float: left;
  margin-left: 10px;
  color: red;
  font-size: 1em;
  display: inline;
  width: 90%;
}
.contact-arrup {
  text-transform: uppercase;
  background-image: url('../img/book/arr-down-white.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  background-size: 16px;
  padding-left: 20px;
}
.contact-arrdown {
  text-transform: uppercase;
  background-image: url('../img/book/arr-up-white.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  background-size: 16px;
  padding-left: 20px;
}
.add-contact-email li, 
.add-contact-phone li,
.add-contact-address li,
.add-contact-im li,
.add-contact-anniversary li, 
.add-contact-url li, 
.add-contact-attr li,
.add-contact-custom li {
  display: inline;
}
.add-contact-email input[type='text'], 
.add-contact-phone input[type='text'],
.add-contact-im input[type='text'],
.add-contact-anniversary input[type='text'] {
  width: 60%;
}
.add-contact-url input[type='text'], 
.add-contact-attr input[type='text'],
.add-contact-custom input[type='text'] {
  width: 42%;
}
.add-contact-email select, 
.add-contact-phone select,
.add-contact-im select, 
.add-contact-anniversary select {
  width: 24%;
}
.add-contact-address select {
  width: 27%;
}
.add-contact-address textarea {
  width: 100%;
  margin-bottom: 0;
}
.add-contact-form select#id_contact_group, 
.add-contact-form select#id_company, 
.add-contact-form select#id_book {
  width: 100%;
}
a#add-phone,
a#add-email,
a#add-im,
a#add-url,
a#add-anniversary,
a#add-attr,
a#add-custom,
a#add-address {
  margin-bottom: 4px;
}
.delete-contact-form div.order-contact, 
.delete-contact-form div.book-contact {
  border-color: #d43f3a;
}
/*BUTTONS*/
.btn-edit {
  background-image: url('../img/edit_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-add {
  background-image: url('../img/add_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-delete {
  background-image: url('../img/delete_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-close {
  background-image: url('../img/close_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-add-wheel {
  background-image: url('../img/add-wheel_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-add-insurance {
  background-image: url('../img/add-insurance_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-add-reminde {
  background-image: url('../img/add-reminde_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-add-mappoint {
  background-image: url('../img/add-mappoint_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}

.btn-add-contact, 
.btn-add-contact-group, 
.btn-add-country, 
.btn-add-city, 
.btn-add-contact-book, 
.btn-add-contact-company, 
.btn-add-phone, 
.btn-add-email, 
.btn-add-im, 
.btn-add-anniversary, 
.btn-add-address, 
.btn-delete, 
.btn-add-comment,
.btn-add-partner,
.btn-add-insurer,
.btn-add-reminde {
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px !important;
  background-size: 20px;
} 
.btn-add-contact {
  background-image: url('../img/add-contact_white.png');
}
.btn-add-contact-group {
  background-image: url('../img/add-contact-group_white.png');
}
.btn-delete {
  background-image: url('../img/delete_white.png');
}
.btn-add-comment {
  background-image: url('../img/add-comment_white.png');
}
.btn-add-country {
  background-image: url('../img/add-country_white.png');
}
.btn-add-city {
  background-image: url('../img/add-city_white.png');
}
.btn-add-contact-book {
  background-image: url('../img/add-contact-book_white.png');
}
.btn-add-contact-company {
  background-image: url('../img/add-contact-company_white.png');
}
.btn-add-phone {
  background-image: url('../img/add-phone_white.png');
}
.btn-add-email {
  background-image: url('../img/add-email_white.png');
}
.btn-add-im {
  background-image: url('../img/add-im_white.png');
}
.btn-add-anniversary {
  background-image: url('../img/add-anniversary_white.png');
}
.btn-add-address {
  background-image: url('../img/add-address_white.png');
}
.btn-add-partner {
  background-image: url('../img/add-partner_white.png');
}
.btn-add-insurer {
  background-image: url('../img/add-insurer_white.png');
}
.btn-xs.btn-add-comment, 
.btn-xs.btn-edit, 
.btn-xs.btn-add-contact, 
.btn-xs.btn-delete {
  background-repeat: no-repeat;
  background-position: 4px 50%;
  padding-left: 25px;
  background-size: 20px;
}
.btn-xs.btn-add-comment {
  background-image: url('../img/add-comment_white.png');
}
.btn-xs.btn-edit {
  background-image: url('../img/edit_white.png');
}
.btn-xs.btn-add-contact {
  background-image: url('../img/add-contact_white.png');
}
.btn-xs.btn-delete {
  background-image: url('../img/delete_white.png');
}
.btn-add-name {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}
.btn-add-name:hover, 
.btn-add-name:focus,
.btn-add-name:active {
  opacity:1;
  cursor: pointer;
}
.btn-blacklist {
  background-color: #000;
  border-color: #000;
  background-image: url('../img/blacklist_white.png');
  background-repeat: no-repeat;
  background-position: 10px 50%;
  padding-left: 35px;
  background-size: 20px;
}
.btn-blacklist:hover,
.btn-blacklist:focus,
.btn-blacklist:active {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}
.add-contact-group-form li, 
.add-contact-company-form li, 
.add-contact-book-form li  {
  list-style: none;
}
.add-contact-group-form label, 
.add-contact-company-form label, 
.add-contact-book-form label,
.add-greylist-form label {
  position: absolute;
}
.add-contact-group-form #id_contact_group,
.add-contact-company-form #id_company, 
.add-contact-book-form #id_book {
  width: 100%;
}
.add-contact-group-form #id_color {
  width: 100px;
}
.add-contact-group-form textarea#id_description,
.add-contact-company-form textarea#id_description, 
.add-contact-book-form textarea#id_description {
  width: 100%;
}
h1.add-contact {
  background-image: url('../img/add-contact-user_blue.png');
}
h1.add-contact-group {
  background-image: url('../img/add-contact-group_blue.png');
}
h1.add-contact-company {
  background-image: url('../img/add-contact-company_blue.png');
}
h1.add-contact-book {
  background-image: url('../img/add-contact-book_blue.png');
}
h1.add-contact, 
h1.add-contact-group, 
h1.add-contact-company, 
h1.add-contact-book {
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 0 50%;
  padding-left: 30px;
}
/*ORDERS* SERVICES* MAPPOINT*/
table.timetable-table {
  width: 100%;
  table-layout: fixed;
}
table.timetable-table th, 
table.timetable-table td {
  width: 100%;
  text-align: center;
}
table.mappoint-table {
  font-size: 0.9em;
}
table.comment-table > thead > tr > th > span.lead,
table.blacklist-table > thead > tr > th > span.lead,
table.greylist-table > thead > tr > th > span.lead,
table.queueroute-table > thead > tr > th > span.lead,
table.dialog-table > thead > tr > th > span.lead,
table.users-table > thead > tr > th > span.lead,
table.service-table > thead > tr > th > span.lead,
table.timetable-table > thead > tr > th > span.lead,
table.queuestatus-table > thead > tr > th > span.lead,
table.reminde-table > thead > tr > th > span.lead, 
table.wheelstorages-table > thead > tr > th > span.lead, 
table.insurance-table > thead > tr > th > span.lead, 
table.performers-table > thead > tr > th > span.lead, 
table.partners-table > thead > tr > th > span.lead, 
table.clients-table > thead > tr > th > span.lead, 
table.orders-table > thead > tr > th > span.lead, 
table.mappoint-table > thead > tr > th > span.lead,
.table-flex-head .subtitle-order span.lead {
  color: #ffd473;
  font-weight: bold;
  font-size: 1.1em;
}
table.blacklist-table > thead > tr.subtitle > th,
table.users-table > thead > tr.subtitle > th,
table.service-table > thead > tr.subtitle > th,
table.timetable-table > thead > tr.subtitle > th,
table.queuestatus-table > thead > tr.subtitle > th,
table.comment-table >thead > tr.subtitle > th, 
table.reminde-table >thead > tr.subtitle > th, 
table.wheelstorages-table >thead > tr.subtitle > th, 
table.insurance-table >thead > tr.subtitle > th, 
table.performers-table >thead > tr.subtitle > th, 
table.partners-table >thead > tr.subtitle > th, 
table.clients-table >thead > tr.subtitle > th, 
table.orders-table >thead > tr.subtitle > th, 
table.calls-table >thead > tr.subtitle > th, 
table.class-table >thead > tr.subtitle > th, 
table.mappoint-table >thead > tr.subtitle > th {
  font-size: 0.8em;
}
td.timetable-time,
th.timetable-time {
  width: 55px;
  font-size: 0.7em;
}
td.time-busy .tooltip-inner {
  text-align: left;
}
td.time-busy,
td.time-busy:hover {
  background-color: #ff8080;
  cursor: crosshair;
}
td.time-free {
  cursor: pointer;
}
td.time-free:hover {
  background-color: #9acd64;
  cursor: pointer;
}
td.accepted,
td.accepted:hover {
  background-color: #ffc540;
  cursor: crosshair;
}
td.notaccepted,
td.notaccepted:hover {
  background-color: #b3b3b3;
  cursor: crosshair;
}
tr.time-past,
tr.time-past:hover {
  cursor: crosshair;
  background-color: #f5f5f5;
}
tr.time-past td {
  cursor: crosshair;
  color: #ddd;
}
tr.time-past td.time-free:hover {
  background-color: #f5f5f5;
  cursor: crosshair;
}
td.order-state-empty {
  width: 5%;
  min-width: 80px;
}
td.deleteTrue,
td.deleteFalse,
td.actionFalse, 
td.actionTrue,
td.blacklist-state-on, 
td.blacklist-state-off, 
td.order-state-completed,
td.order-state-canceled, 
td.order-state-active,
td.order-state-registration {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  border: none;
  color: rgba(255,255,255,0);
}

td.blacklist-state-on a,
td.blacklist-state-off a,
td.blacklist-state-on a:hover,
td.blacklist-state-off a:hover,
td.blacklist-state-on a:focus,
td.blacklist-state-off a:focus,
td.blacklist-state-on a:active,
td.blacklist-state-off a:active {
  display: block;
  border: none;
  width: 20px;
  min-width: 20px;
  background-color: transparent;
}
td.deleteTrue a,
div.deleteTrue a {
  background-image: url('../img/icons_orders/order_state_completed.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.deleteTrue a:hover,
div.deleteTrue {
  opacity: 0.6;
}
td.actionTrue a,
div.actionTrue a,
td.order-state-active a {
  background-image: url('../img/icons_orders/order_state_active.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.actionTrue a:hover, 
div.actionTrue a:hover,
td.order-state-active a:hover {
  background-image: url('../img/icons_orders/order_state_active.png');
  opacity: 0.6;
}
td.order-state-registration a {
  background-image: url('../img/icons_orders/order_state_registration.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.order-state-registration a:hover {
  background-image: url('../img/icons_orders/order_state_registration.png');
  opacity: 0.6;
}
td.order-state-logistics a {
  background-image: url('../img/icons_orders/order_state_logistics.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.order-state-logistics a:hover {
  background-image: url('../img/icons_orders/order_state_logistics.png');
  opacity: 0.6;
}
td.order-state-ontheway a {
  background-image: url('../img/icons_orders/order_state_ontheway.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.order-state-ontheway a:hover {
  background-image: url('../img/icons_orders/order_state_ontheway.png');
  opacity: 0.6;
}
td.order-state-inprogress a {
  background-image: url('../img/icons_orders/order_state_inprogress.png');
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 4px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.order-state-inprogress a:hover {
  background-image: url('../img/icons_orders/order_state_inprogress.png');
  opacity: 0.6;
}
td.order-state-completed a {
  background-image: url('../img/icons_orders/order_state_completed.png');
  background-repeat: no-repeat;
  background-position: 4px 50%;
  padding: 2px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.order-state-completed a:hover {
  background-image: url('../img/icons_orders/order_state_completed.png');
  opacity: 0.6;
}
td.actionFalse a, 
div.actionFalse a, 
td.order-state-canceled a {
  background-image: url('../img/icons_orders/order_state_canceled.png');
  background-repeat: no-repeat;
  background-position: 4px 50%;
  padding: 2px 10px;
  background-size: 16px;
  width: 22px;
  min-width: 22px;
  color: rgba(255,255,255,0);
}
td.actionFalse a:hover, 
div.actionFalse a:hover, 
td.order-state-canceled a:hover {
  background-image: url('../img/icons_orders/order_state_canceled.png');
  opacity: 0.6;
}
/*options buttons dialog detail*/
.dialog-options div.col-md-1,
.dialog-options div.col-md-2,
.dialog-options div.col-md-3,
.dialog-options div.col-md-4,
.dialog-options div.col-md-4,
.dialog-options div.col-md-6,
.dialog-options div.col-md-7,
.dialog-options div.col-md-8,
.dialog-options div.col-md-9,
.dialog-options div.col-md-10,
.dialog-options div.col-md-11,
.dialog-options div.col-md-12,
.dialog-options div.col-lg-1,
.dialog-options div.col-lg-2,
.dialog-options div.col-lg-3,
.dialog-options div.col-lg-4,
.dialog-options div.col-lg-5,
.dialog-options div.col-lg-6,
.dialog-options div.col-lg-7,
.dialog-options div.col-lg-8,
.dialog-options div.col-lg-9,
.dialog-options div.col-lg-11,
.dialog-options div.col-lg-10,
.dialog-options div.col-lg-12 {
  margin-top: 4px;
  padding-left: 4px;
  padding-right: 4px;
}
div.options-comment-struct div,
div.options-blacklist-struct div {
  min-height: 34px;
  border-top: 1px solid #ccc;
}
div.options-edit-labelclass div,
div.options-edit-exten div,
div.options-add-exten div,
div.options-add-blacklist div,
div.blacklist-state-on div,
div.blacklist-state-off div,
div.add-comment div, 
div.view-comment div {
  border-color: #ccc;
  color: #ccc;
  border-width: 2px;
  border-style: solid;
  border-radius: 4px;
  padding: 1px 6px;
  text-align: center;
  min-height: 34px;
  font-size: 1.2rem;
  line-height: 1.2;
  vertical-align: middle;
}
div.options-edit-labelclass div,
div.options-edit-labelclass a div,
div.options-edit-exten a div,
div.options-add-exten a div,
div.add-comment a div,  
div.view-comment a div, 
div.add-comment div,
div.view-comment div {
  border-color: #337ab7;
  color: #337ab7;
}
div.options-add-blacklist a div,
div.options-add-blacklist div {
  border-color: #000;
  color: #000;
}
div.options-add-blacklist a div:hover,
div.options-add-blacklist a div:focus,
div.options-add-blacklist a div:active {
  border-color: #444;
  color: #444;
  background-color: rgba(0,0,0,0.04);
}
div.blacklist-state-on a div,
div.blacklist-state-on div {
  border-color: #f15e4a;
  color: #f15e4a;
}
div.blacklist-state-on a div:hover,
div.blacklist-state-on a div:focus,
div.blacklist-state-on a div:active {
  border-color: #ee3c24;
  color: #ee3c24;
  background-color: rgba(0,0,0,0.04);
}
div.blacklist-state-off a div,
div.blacklist-state-off div {
  border-color: #999;
  color: #999;
}
div.blacklist-state-off a div:hover,
div.blacklist-state-off a div:focus,
div.blacklist-state-off a div:active {
  border-color: #555;
  color: #555;
  background-color: rgba(0,0,0,0.04);
}
div.add-comment div {
  width: 66%;
  float: left;
  border-radius: 4px 0px 0px 4px;
}
div.view-comment div,
div.view-comment a div {
  width: 33%;
  float: left;
  border-left-color: transparent;
  border-radius: 0px 4px 4px 0px;
}
div.options-edit-labelclass a div:hover,
div.options-edit-labelclass a div:focus,
div.options-edit-labelclass a div:active,
div.options-edit-exten a div:hover,
div.options-edit-exten a div:focus,
div.options-edit-exten a div:active,
div.options-add-exten a div:hover,
div.options-add-exten a div:focus,
div.options-add-exten a div:active,
div.add-comment a div:hover,
div.add-comment a div:focus,
div.add-comment a div:active,
div.view-comment a div:hover, 
div.view-comment a div:focus, 
div.view-comment a div:active {
  color: #23527c;
  border-color: #23527c;
  background-color: rgba(0,0,0,0.04);
}
td.blacklist-state-on a {
  background-image: url('../img/icons_state/blacklist_on.png');
  background-repeat: no-repeat;
  background-position: 50%;
  padding: 2px 20px;
  background-size: 16px;
  color: rgba(255,255,255,0);
}
td.blacklist-state-on a:hover {
  background-image: url('../img/icons_state/blacklist_on.png');
  opacity: 0.6;
}
td.blacklist-state-off a {
  background-image: url('../img/icons_state/blacklist_off.png');
  background-repeat: no-repeat;
  background-position: 50%;
  padding: 2px 20px;
  background-size: 16px;
  color: rgba(255,255,255,0);
}
td.blacklist-state-off a:hover {
  background-image: url('../img/icons_state/blacklist_off.png');
  opacity: 0.6;
}
td.price {
  width: 55px;
  min-width: 55px;
} 
td.datetime {
  width: 85px;
  min-width: 85px;
}
td.datetime_start, 
td.datetime_stop {
  width: 100px;
  min-width: 100px;
}
td.discount {
  width: 70px;
  min-height: 70px;
}
td.reminde {
  width: 100px;
  min-width: 100px;
}
td.role {
  width: 80px;
  min-width: 80px;
  text-align: center;
}
td.radius, 
td.disk {
  width: 80px;
  min-width: 80px;
}
td.location, 
td.problem {
  width: 10%;
  min-width: 100px;
  white-space: normal;
  word-wrap: anywhere; 
}
td.history-base {
 // width: 7%;
  min-width: 70px;
  white-space: normal;
  word-wrap: anywhere;
}
td.client, 
td.performer, 
td.operator, 
td.partner, 
td.point_name,
td.logist,
td.mappoint {
  width: 10%;
  min-width: 100px;
}
table.wheelstorages-table td.client {
  width: 20%;
  min-width: 100px;
}
table.partners-table td.first-name,
table.partners-table td.last-name,
table.partners-table td.phone,
table.mappoint-table td.phone,
table.performers-table td.first-name, 
table.performers-table td.last-name,
table.performers-table td.phone {
  width: 15%;
}
table.clients-table td.first-name,
table.clients-table td.last-name,
table.clients-table td.phone {
  width: 10%;
}
table.clients-table td.wheelstorage,
table.clients-table td.insurance {
  width: 90px;
  min-width: 90px;
}
td.rating {
  width: 65px;
  min-width: 65px;
  color: #ffc540;
  font-size: 0.8em;
}
tr.logistics-color {
  background-color: #fafad2;
}

tr.rating-color-5 {
//  background-color: #fffaf1;
  background-color: #d7f4d7;
}
tr.rating-color-4 {
//  background-color: #fff6e3;
  background-color: #e7f5e1;
}
tr.rating-color-3 {
//  background-color: #fff2d5;
  background-color: #efdfd5;
}
tr.rating-color-2 {
//  background-color: #ffedc7;
  background-color: #f3cbc2;
}
tr.rating-color-1 {
//  background-color: #ffe9b9;
  background-color: #ffaaaa;
}
#order_comment {
  color: #337ab7;
}
#order_comment:hover, 
#order_comment:focus, 
#order_comment:active {
  opacity: 0.8;
  cursor: pointer;
}
td.datetime.update_yandex,
td.datetime.update_balance,
td.datetime.update_megafon_pass {
  border-right: solid 1px #ccc;
  text-align: center;
}
td.problem .tooltip.top .tooltip-arrow {
//  border-top-color: #337ab7;
}
td.problem .tooltip-inner {
//  background: #337ab7;
}
.add-order {
  border-bottom: solid 4px #5cb85c;
  padding-top: 6px;
}
.add-order h1 {
  color: #5cb85c;
  text-transform: uppercase;
  padding: 2px 0;
  margin-top: 6px;
  margin-bottom: 2px;
  border-bottom: solid 4px #5cb85c;
  font-size: 1.6em;
}
.edit-order {
  border-bottom: solid 4px #38b2ce;
  padding-top: 6px;
}
.edit-order h1 {
  color: #38b2ce;
  text-transform: uppercase;
  padding: 6px 0;
  margin-top: 6px;
  margin-bottom: 2px;
  border-bottom: solid 4px #38b2ce;
  font-size: 1.6em;
}
.add-blacklist-form,
.edit-blacklist-form,
.edit-greylist-form,
.add-servicename-form,
.edit-servicename-form,
.add-serviceattr-form,
.edit-serviceattr-form,
.add-partner-form, 
.add-performer-form,
.add-contact-form,
.add-client-form, 
.add-order-form, 
.add-wheelstorage-form,
.add-insurance-form,
.add-insurer-form,
.add-reminde-form {
  padding: 10px;
}
.add-blacklist-form h2,
.edit-blacklist-form h2,
.edit-greylist-form h2,
.add-order-form h2,
.add-client-form h2, 
.add-wheelstorage-form h2,
.add-insurance-form h2,
.add-insurer-form h2,
.add-reminde-form h2 {
  font-size: 1.2em;
  text-transform: lowercase;
  font-weight: bold;
  color: #206676;
  margin: 4px 0px 0px 0px;
}
.add-class-form li,
.edit-class-form li,
.add-blacklist-form li,
.edit-blacklist-form li,
.edit-greylist-form li,
.add-service-form li,
.edit-service-form li,
.add-timetable-order-form li, 
.add-partner-form li, 
.add-performer-form li,
.add-contact-form li,
.add-client-form li,  
.add-order-form li,  
.add-wheelstorage-form li,
.add-insurance-form li,
.add-insurer-form li,
.add-reminde-form li {
  list-style: none;
}
.add-class-form label,
.edit-class-form label,
.add-blacklist-form label,
.edit-blacklist-form label,
.edit-greylist-form label,
.add-servicename-form label,
.edit-servicename-form label,
.add-serviceattr-form label,
.edit-serviceattr-form label,
.add-service-form label,
.edit-service-form label,
.mappoint-form label,
.queueroute-form label,
.item-form label,
.add-timetable-order-form label, 
.add-partner-form label, 
.add-performer-form label,
.add-contact-form label,
.add-client-form label,  
.add-order-form label, 
.add-wheelstorage-form label,
.add-insurance-form label,
.add-insurer-form label,
.add-reminde-form label,
.add-performer-user-form label,
.edit-performer-user-form label,
.change-password-performer-user-form label {
  position: absolute;
}
.add-class-form input[type='text'],
.edit-class-form input[type='text'],
.add-class-form textarea,
.edit-class-form textarea,
.add-blacklist-form input[type='text'],
.edit-blacklist-form input[type='text'],
.edit-greylist-form input[type='text'],
.add-blacklist-form textarea,
.edit-blacklist-form textarea,
.edit-greylist-form textarea,
.add-blacklist-form select,
.edit-blacklist-form select,
.edit-greylist-form select,
.add-servicename-form input[type='text'],
.add-servicename-form textarea,
.edit-servicename-form input[type='text'],
.edit-servicename-form input[type='text'],
.add-serviceattr-form input[type='text'],
.add-serviceattr-form textarea,
.edit-serviceattr-form input[type='text'],
.edit-serviceattr-form input[type='text']
.add-service-form input[type='text'],  
.add-service-form select,
.add-service-form textarea,
.edit-service-form input[type='text'],
.edit-service-form select,
.edit-service-form textarea,
.add-timetable-order-form input[type='text'],
.add-timetable-order-form select,
.add-timetable-order-form textarea,
.add-partner-form input[type='text'],
.add-partner-form select, 
.add-partner-form textarea,
.add-performer-form input[type='text'],
.add-performer-form select, 
.add-performer-form textarea,
.add-contact-form input[type='text'],
.add-contact-form select,
.add-contact-form textarea,
.queueroute-form input[type='text'],
.queueroute-form select,
.queueroute-form textarea,
.item-form input[type='text'],
.item-form select,
.item-form textarea,
.add-client-form input[type='text'],
.add-client-form select,
.add-client-form textarea, 
.add-order-form input[type='text'],
.add-order-form select,
.add-order-form textarea, 
.add-wheelstorage-form input[type='text'], 
.add-wheelstorage-form input[type='number'],
.add-wheelstorage-form select, 
.add-wheelstorage-form textarea,
.add-insurance-form input[type='text'],
.add-insurance-form input[type='number'],
.add-insurance-form select,
.add-insurance-form textarea,
.add-insurer-form input[type='text'],
.add-insurer-form input[type='number'],
.add-insurer-form select,
.add-insurer-form textarea,
.add-reminde-form input[type='text'],
.add-reminde-form input[type='number'],
.add-reminde-form select,
.add-reminde-form textarea,
.add-performer-user-form select,
.edit-performer-user-form select,
.add-performer-user-form input[type='text'],
.edit-performer-user-form input[type='text'],
.change-password-performer-user-form input[type='text'],
.change-password-performer-user-form input[type='password'] {
  width: 100% !important;
  margin: 14px 0px;
}
.mappoint-form input[type='checkbox'] {
  display: inline-block;
  box-sizing: border-box;
  padding: 0;
  position: absolute;
  margin-top: .3rem;
  height: 20px;
}
.mappoint-form div#label_action {
  display: inline-block;
  text-align: left;
  margin-bottom: 0;
  padding-left: 20px;
  line-height: 1.5; 
}
.mappoint-form input[type='text'],
.mappoint-form select,
.mappoint-form textarea {
  width: 100%;
  margin: 14px 0px;
}
.edit-user-form input[type='password'],
.add-user-form input[type='password'],
.edit-user-form input[type='text'],
.add-user-form input[type='text'] {
  width: 100%;
  margin: 0px 0px 10px 0px !important;
}
.add-service-performer-form select {
  width: 100%;
  margin: 0px 0px 10px 0px !important;
}

/*required fields*/
.add-order .add-partner-form input#id_firstName,
.add-order .add-partner-form input#id_phone,
.add-order .add-performer-form input#id_firstName, 
.add-order .add-performer-form input#id_phone, 
.add-order .add-order-form input#id_location, 
.add-order .add-order-form input#id_problem,
.add-order .add-order-form input#id_datetime_start, 
.add-order .add-order-form select#id_order_state, 
.add-order .add-order-form input#id_first_name, 
.add-order .add-order-form input#id_cid1, 
.add-order .add-order-form input#id_price,
.add-order .add-order-form select#id_service_name {
  border: solid 2px #5cb85c;
}
.edit-order .add-performer-form input#id_firstName,
.edit-order .add-performer-form input#id_phone,
.edit-order .add-partner-form input#id_firstName,
.edit-order .add-partner-form input#id_phone,
.edit-order .add-order-form input#id_location,
.edit-order .add-order-form input#id_problem,
.edit-order .add-order-form input#id_datetime_start,
.edit-order .add-order-form select#id_order_state,
.edit-order .add-order-form input#id_first_name,
.edit-order .add-order-form input#id_cid1, 
.edit-order .add-order-form input#id_price,
.edit-order .add-order-form select#id_service_name {
  border: solid 2px #38b2ce;
}
input#id_first_name,
input#id_middle_name,
input#id_last_name,
input#id_firstName,
input#id_middleName,
input#id_lastName {
  text-transform: capitalize;
}
/*MAP*/
.btn-map {
  background-image: url('../img/map.png');
  background-repeat: no-repeat;
  background-size: 36px;
  background-position: 0 50%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 10px;
  border-radius: 3px;
  color: #fff;
  position: relative;
  background-color: #abc26e;
  border: 1px solid #92a65e;
}
.btn-map:after, .btn-map:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.btn-map:after {
  border-color: rgba(171, 194, 110, 0);
  border-top-color: #abc26e;
  border-width: 10px;
  margin-left: -10px;
}
.btn-map:before {
  border-color: rgba(146, 166, 94, 0);
  border-top-color: #92a65e;
  border-width: 12px;
  margin-left: -12px;
}
.btn-map:hover,
.btn-map:active,
.btn-map:focus {
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
}
.btn-yamap {
  display: block;
  background-image: url('../img/map.png');
  background-repeat: no-repeat;
  background-size: 26px;
  background-position: 0 50%;
  height: 34px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 26px;
  padding-right: 2px;
  border-radius: 3px;
  color: #000;
  position: relative;
  background-color: #ffdb4d;
  border: 1px solid #ffdb4d;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1;
}
.btn-yamap:hover,
.btn-yamap:active,
.btn-yamap:focus {
  background-color: #ffd015;
  border: 1px solid #ffd015;
  color: #000;
  cursor: pointer;
}
#pointmap {
  background-image: url('../img/map_point.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 0 50%;
  padding-left: 20px;
  padding-top: 3px;
  height: 20px;
  line-height: 20px;
  color: #f15e4a;
  cursor: pointer;
}
#pointmap:hover,
#pointmap:focus,
#pointmap:active {
  color: #ff7f00;
}
/*BTN*/
.btn-close-window {
  color: #ccc;
  border-radius: 50%;
  border: solid 2px #ccc;
  background-color: transparent;
  background-image: url(../img/close_grey.png);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 50%;
  padding: 14px;
  opacity: 0.6;  
}
.btn-close-window:hover,
.btn-close-window:focus,
.btn-close-window:active {
  color: #ccc;
  border-radius: 50%;
  border: solid 2px #ccc;
  background-color: transparent;
  background-image: url(../img/close_grey.png);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 50%;
  padding: 14px;
  opacity: 1;
}
.call-beforesend-message {
  color: rgba(92, 184, 92, 1);
  text-align: center;
  font-size: 1.2em;
  margin: 20px 0px;
}
.call-success-message {
  color: rgba(92, 184, 92, 1);
  text-align: center;
  font-size: 1.2em;
  margin: 20px 0px;
}
.call-error-message {
  color: rgba(255, 85, 85, 1);
  text-align: center;
  font-size: 1.2em;
  margin: 20px 0px;
}
td.client-active-orders,
td.performer-active-orders {
  width: 120px;
  min-width: 120px;
  text-align: center;
}
td.pass,
td.balance,
td.gateway,
td.point-orders,
td.client-orders, 
td.performer-orders,
td.region-mappoints,
td.partner-orders {
  width: 80px;
  min-width: 80px;
  text-align: center;
}
td.point-orders a,
td.point-orders p,
td.performer-orders p,
td.performer-orders a,
td.region-mappoints p,
td.region-mappoints a,
td.client-orders a,
td.client-orders p,
td.partner-orders a,
td.partner-orders p {
  font-weight: bold;
}
td.performer-active-orders p, 
td.performer-active-orders a,
td.client-active-orders a,
td.client-active-orders p {
  color: #5cb85c;
  font-weight: bold;
}
td.performer-active-orders p:hover,
td.performer-active-orders a:hover,
td.client-active-orders a:hover, 
td.performer-active-orders a:focus,
td.client-active-orders a:focus, 
td.performer-active-orders a:active, 
td.client-active-orders a:active, 
td.performer-orders a:hover,
td.performer-orders a:focus, 
td.performer-orders a:active,
td.region-mappoints a:hover,
td.region-mappoints a:focus,
td.region-mappoints a:active,
td.client-orders a:hover, 
td.client-orders a:active,
td.client-orders a:focus {
  color: #ff7f00;
  cursor: pointer;
}
td.performer-active-orders a:after,
td.client-active-orders a:after, 
td.performer-orders a:after,
td.region-mappoints a:after,
td.client-orders a:after {
}
/*PAGINATION*/
.pagination a,
.pagination a:hover,
.pagination a:focus, 
.pagination a:active {
  color: #fff;
}
.pagination .page-active {
  font-weight: bold;
  color: #337ab7;
}
/*HORIZONTAL SCROLL*/
.horizontal-scroll-outer {
  width:300px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
  background:#a5d7e3;
}
.horizontal-scroll-wrapper{
  position:relative;
  width:50px;
  max-height:324px;
  margin-top:-16px;
  margin-left: 24px;
  background:#a5d7e3;
  border: solid 1px #91cedd;
  overflow-y:auto;
  overflow-x:hidden;
  transform:rotate(-90deg) translateY(-80px);
  transform-origin:right top;
}
.horizontal-scroll-wrapper > div a {
  display:block;
  padding: 2px 2px;
  background:#a5d7e3;
  border: solid 1px #e2eff2;
  border-radius: 2px;
  color: #e2eff2;
  transform:rotate(90deg);
  transform-origin: right top;
}
.horizontal-scroll-wrapper > div a:hover {
  background: #91cedd;
}
.horizontal-scroll-wrapper > div span {
  display:block;
  padding: 2px 2px;
  background:#a5d7e3;
  border: solid 1px #e2eff2;
  border-radius: 2px;
  color: #337ab7;
  transform:rotate(90deg);
  transform-origin: right top;
}
.squares {
  text-align: center;
  padding: 26px 0 0 0;
}
.squares > div {
  width:26px;
  height:26px;
  margin:4px;
  font-size: 12px;
  line-height: 1.8;
}
.view {
  margin-top: 20px;
}
.view.disabled {
  height: 30px;
  padding: 2px 4px;
  margin: 14px 0px 4px 0px;
  font-size: 0.9em;
  line-height: 1.5;
  width: 100%;
  cursor: crosshair;
  color: #808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080808080;
  cursor: crosshair;
  background-color: transparent;
  border: 1px solid #fafafa;
  display: inline-block;
  background-image: none;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
/*services*/
.service-count {
  padding: 14px 0 0 0;
}
.service-count .btn {
  width: 100%;
}
table.queuestatus-table td.datetime {
  width: 80px;
  min-width: 80px;
}
table.queuestatus-table td.questatus {
  width: 100px;
  min-width: 100px;
}
table.queuestatus-table td.queue {
  width: 80px;
  min-width: 80px;
}
table.queuestatus-table td.user {
  width: 120px;
  min-width: 120px;
}
/*modal form*/
#clientModalOpt input[type="text"], 
#clientModalOpt select, 
#clientModalOpt textarea {
  background-color: #fafafa;
  margin-top: 20px;
}
#clientModalOpt label {
  color: #808080;
}
#clientModalOpt h5 {
  font-size: 1.6rem;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
#clientModalOpt i {
  color: #ccc;
}
.services-form {
  margin-top: 25px;
}
/*modal-form*/
.modal-form-value {
  padding: 6px 0;
  margin: 6px 0;
  line-height: 2;
}
.modal-form-value.state-canceled {
  color: #ff8080;
}
.modal-form-value.state-active {
  color: #9acd64;
}
.modal-form-value.state-completed {
  color: #ccc;
}
.add-description-form textarea,
.add-comment-form textarea,
.add-comment-form select,
.edit-dialog-class-form textarea,
.edit-dialog-class-form select {
  margin-top: 0 !important;
  width: 100%;
}

/*condensed form order*/
.form-condensed .col-lg-1, 
.form-condensed .col-lg-10, 
.form-condensed .col-lg-11, 
.form-condensed .col-lg-12, 
.form-condensed .col-lg-2, 
.form-condensed .col-lg-3, 
.form-condensed .col-lg-4, 
.form-condensed .col-lg-5, 
.form-condensed .col-lg-6, 
.form-condensed .col-lg-7, 
.form-condensed .col-lg-8, 
.form-condensed .col-lg-9, 
.form-condensed .col-md-1, 
.form-condensed .col-md-10, 
.form-condensed .col-md-11, 
.form-condensed .col-md-12, 
.form-condensed .col-md-2, 
.form-condensed .col-md-3, 
.form-condensed .col-md-4, 
.form-condensed .col-md-5, 
.form-condensed .col-md-6, 
.form-condensed .col-md-7, 
.form-condensed .col-md-8, 
.form-condensed .col-md-9, 
.form-condensed .col-sm-1, 
.form-condensed .col-sm-10, 
.form-condensed .col-sm-11, 
.form-condensed .col-sm-12, 
.form-condensed .col-sm-2, 
.form-condensed .col-sm-3, 
.form-condensed .col-sm-4, 
.form-condensed .col-sm-5, 
.form-condensed .col-sm-6, 
.form-condensed .col-sm-7, 
.form-condensed .col-sm-8, 
.form-condensed .col-sm-9, 
.form-condensed .col-xs-1, 
.form-condensed .col-xs-10, 
.form-condensed .col-xs-11, 
.form-condensed .col-xs-12, 
.form-condensed .col-xs-2, 
.form-condensed .col-xs-3, 
.form-condensed .col-xs-4, 
.form-condensed .col-xs-5, 
.form-condensed .col-xs-6, 
.form-condensed .col-xs-7, 
.form-condensed .col-xs-8, 
.form-condensed .col-xs-9 {
  position: relative;
  min-height: 1px;
  padding-right: 3px;
  padding-left: 3px;
}
.form-condensed input[type='text'],
.form-condensed select,
.form-condensed textarea {
  height: 30px;
  padding: 2px 4px;
  font-size: 0.9em;
  line-height: 1;
  margin-bottom: 4px;
}
.form-condensed h2 {
  font-size: 0.9em;
}
.form-condensed .block-btn-submit {
  margin-bottom: 0px;
}
.form-condensed .btn-yamap,
.form-condensed .btn-add-wheel,
.form-condensed .btn-add-reminde,
.form-condensed .btn-add-insurance,
.form-condensed .btn-add-poll,
.form-condensed .btn-performer-call,
.form-condensed .btn-partner-call,
.form-condensed .btn-client-call {
  height: 30px;
}
.form-condensed .btn-performer-call,
.form-condensed .btn-partner-call, 
.form-condensed .btn-client-call {
  margin-top: 13px;
}

/*timetable fixed top header*/
.timetable-header { 
  width:100%;
}
.timetable-header-padding {
  padding-top:40px;
}
.timetable-tooltip {
  width: 100%;
  background-color: transparent;
  height: 24px;
}
.timetable-table td.time-busy {
  padding: 0px;
}
.sharecall {
  background-image: url('../img/share_blue.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 100%;
  padding-left: 20px;
  padding-top: 2px;
  width: 24px;
  height: 20px;
  cursor: pointer;
  float: right;
}
.sharecall:hover {
  opacity: 0.8;
}
.baloon {
  background-color: rgba(135,200,80,0.8);
  color: #fff;
  position: absolute;
  box-shadow: 0px -2px 2px rgba(0,0,0,0.15);
  padding: 4px 10px;
  z-index: 1010;
  display: none;
  border: 1px solid #87c850;
}
.baloon:after, .baloon:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.baloon:after {
  border-color: rgba(135, 200, 80, 0);
  border-right-color: rgba(135,200,80,0.8);
  border-width: 5px;
  margin-top: -5px;
}
.baloon:before {
  border-color: rgba(135, 200, 80, 0);
  border-right-color: rgba(135,200,80,0.8);
  border-width: 6px;
  margin-top: -6px;
}
.dialog-charts-bar-vertical,
.dialog-charts-area {
  background-color: #fff;
  margin-bottom: 10px;
}
.client-operator-chart,
.price-operator-chart {
  display: inline-block;
  min-width: 12%;
  width: 12%;
  flex-grow: 1;
  max-width: 33%;
  padding-right: 2px;
  padding-left: 2px;
  float: left;

} 
.order-operator-chart {
  min-width: 26%;
  width: 26%;
  padding-right: 2px;
  padding-left: 2px;
  flex-grow: 1;
}
.call-operator-chart {
  display: inline-block
  float: left;
  padding-right: 2px;
  padding-left: 2px;
  flex-grow: 1;
  width: 50%;
  min-width: 400px;

}
/*ajax blocks*/
div.include-block {
  height: auto;
  margin-bottom: 36px;
}
.font-smaller {
    font-size: smaller;
}
.font-bold {
    font-weight: bold;
}
.formfields.disabled {
    pointer-events: none;
}
.formfields.disabled input#id_price,
.formfields.disabled input#id_datetime_start,
.formfields.disabled input#id_location,
.formfields.disabled select#id_payment_type,
.formfields.disabled input#id_cid1,
.formfields.disabled input#id_first_name,
.formfields.disabled input#id_last_name,
.formfields.disabled select#id_performer,
.formfields.disabled select#id_partner,
.formfields.disabled select#id_cid2,
.formfields.disabled select#id_order_state,
.formfields.disabled input#id_problem {
    background: transparent;;
    border: 1px solid #fafafa !important;
}

.row.graph {
    display: flex !important;
    width: 100%;
    margin: 1px;
    flex-wrap: wrap; 
    flex-grow: 1;
    justify-content: space-around;
    background: transparent;
}



.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
  width: 300px;
  margin: 0px auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
}

.modal-header h3 {
  margin-top: 0;
  color: #42b983;
}

.modal-body {
  margin: 20px 0;
}

.modal-default-button {
  float: right;
}

/*
 *  * The following styles are auto-applied to elements with
 *   * transition="modal" when their visibility is toggled
 *    * by Vue.js.
 *     *
 *      * You can easily play with the modal transition by editing
 *       * these styles.
 *        */

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

