.bfh-colorpicker-popover {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 100px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
  padding: 20px;
  cursor: default;
}

.bfh-colorpicker-popover > canvas {
  width: 384px;
  height: 256px;
}

.bfh-colorpicker {
  position: relative;
}

.bfh-colorpicker-toggle {
  *margin-bottom: -3px;
}

.bfh-colorpicker-toggle > input[readonly] {
  cursor: inherit;
  background-color: inherit;
}

.bfh-colorpicker-toggle .bfh-colorpicker-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.open > .bfh-colorpicker-popover {
  display: block;
}
/*******************************************************
 * Events styles
 *******************************************************/

.calendar-container {
  width: 60%;
  float: left;
  margin-top: 0;
  margin-right: 10%;
}

.calendar-container .nav .month {
  font-size: 25px;
  margin-top: 0;
  margin-bottom: 0;
  color: #474747;
}

.calendar-container .nav {
  position: relative;
}

.calendar-container .nav a {
  position: absolute;
  top: 10px;
  width: 12px;
  height: 24px;
  display: block;
}

.calendar-container .nav .prev {
  left: 10px;
  background: url('/img/events-nav-prev.png') 0 0 no-repeat;
}

.calendar-container .nav .next {
  right: 10px;
  background: url('/img/events-nav-next.png') 0 0 no-repeat;
}

.calendar-container .calendar {
  width: 100%;
  border-collapse: collapse;
}

.calendar-container .calendar tbody {
  border: 4px solid #aeaeae;
}

.calendar-container .calendar th {
  padding-right: 1em;
  padding-top: 1em;
  padding-bottom: .5em;
  color: #626262;
  font-size: 16px;
  font-weight: normal;
  text-align: right;
  vertical-align: middle;
}

.calendar-container .calendar td {
  position: relative;
  border: 2px solid #c6c6c6;
  width: 90px;
  height: 65px;
  vertical-align: middle;
  text-align: right;
  padding-right: .5em;
  padding-top: 2.8em;
}

.calendar-container .calendar td .date {
  position: absolute;
  top: .5em;
  right: .5em;
  color: #141516;
  font-size: 16px;
  font-weight: bold;
}

.calendar-container .calendar td:hover,
.calendar-container .calendar td.active {
  background-color: #a1ece7;
  cursor: pointer;
}

.calendar-container .calendar td:nth-child(6) .date,
.calendar-container .calendar td:nth-child(7) .date {
  color: #cc4545;
}

.calendar-container .calendar td .date.prev-month,
.calendar-container .calendar td .date.next-month {
  color: #c4c4c5;
}

.calendar-container .calendar td:nth-child(6) .date.prev-month,
.calendar-container .calendar td:nth-child(7) .date.prev-month,
.calendar-container .calendar td:nth-child(6) .date.next-month,
.calendar-container .calendar td:nth-child(7) .date.next-month {
  color: #efc5c5;
}

.calendar-container .legend {
  margin-top: 1.5em;
  color: #626262;
}

.calendar-container .legend .pin {
  margin-left: 1em;
}

.calendar-container .pin,
.event-on-date-container .pin,
.list-events .pin,
.color-pin {
  width: 9px;
  height: 9px;
  margin-right: 2px;
  display: inline-block;
  border-radius: 50%;
}

.color-pin {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
}

.event-on-date-container {
  width: 347px;
  float: right;
  text-align: left;
}

.event-on-date-container .slick-dots {
  list-style-type: none;
  padding-left: 0;
  position: absolute;
  top: 203px;
  left: 5px;
}

.event-on-date-container .slick-dots li {
  display: inline-block;
  width: 27px;
  height: 39px;
  padding-top: 5px;
  padding-bottom: 25px;
  padding-left: 9px;
  padding-right: 9px;
  cursor: pointer;
}

.event-on-date-container .slick-dots li.slick-active {
  text-decoration: none;
  background: url('/img/calendar-pin-hover.png') 0 0 no-repeat;
}

.event-on-date-container .title {
  margin-top: 3.7em;
  margin-bottom: .7em;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

.event-on-date-container .description {
  text-align: justify;
  font-size: 16px;
  color: #626262;
  line-height: 1.2;
}

.list-events .badge {
  margin-right: 1em;
  margin-left: 1em;
}

/*****************************************************/

.dropdown-cash12k .sum_container {
  text-align: right;
}

header {
  padding: 10px 0;
}

h2 {
  margin-bottom: 1em;
}

.anticafe-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.projects-sidebar {
  position: fixed;
  top: 20%;
  left: 0;
  width: 60px;
  text-align: center;
}

.projects-sidebar a {
  display: block;
  border: 1px solid #ddd;
  border-top: none;
  padding-top: .3em;
  padding-bottom: .3em;
}

.projects-sidebar a:first-child {
  border-top: 1px solid #ddd;
}

.projects-sidebar a:hover {
  outline: 1px solid #aaa;
}

.visits-list li h4,
.stats-list li h4 {
  font-size: 100%;
  font-weight: normal;
  padding-left: 20%;
  margin-top: 0;
  margin-bottom: 0;
}

.stats-list li h4 {
  padding-left: 0;
}

.alert {
  position: absolute;
  left: 0;
  top: 53px;
  right: 0;
}

.page-login .alert {
  top: 0;
}

.table > thead > tr > th {
  text-align: center;
}

.table > tbody > tr > td,
.table > thead > tr > th {
  vertical-align: middle;
}

@media all and (min-width: 1200px) {
  .header-text {
    padding-top: 30px;
  }
}

.whois {
  text-decoration: underline;
}

.container {
  position: relative;
}

.show-borders {
  border: 1px solid red;
}

.show-borders + .show-borders {
  border: 1px solid green;
}

.img-responsive {
  margin: 0 auto;
}

.vam {
  vertical-align: middle !important;
}

#requests td,
#requests th,
.std_table td,
.std_table th {
  vertical-align: middle !important;
}

#requests th,
.std_table th {
  height: 50px;
  text-align: center;
  background-color: orange;
  color: #fff;
}

#requests td:first-child,
.std_table td:first-child {
  text-align: center;
}

.visible-1600 {
  display: none !important;
}

@media (min-width: 1400px) {
  .container {
    width: 1270px;
  }
}

@media (min-width: 1600px) {
  .container {
    width: 1560px;
  }

  .hidden-1600 {
    display: none !important;
  }

  .visible-1600 {
    display: block !important;
  }
}

@media (min-width: 1800px) {
  .container {
    width: 1760px;
  }
}

.dateCreateColumn {
  width: 10%;
}

.fioColumn {
  width: 10%;
}

.phoneColumn {
  width: 10%;
}

.nextContactColumn {
  width: 10%;
}

.lastContactColumn {
  width: 10%;
}

.sort-alpha,
.table .sort-alpha,
.table .sort-date,
.sort-date {
  cursor: pointer;
  background: orange url("/img/sprites/tablesorter.png") 1% center no-repeat;
}

.sorted-asc {
  background: orange url("/img/sprites/asc.png") 1% center no-repeat;
}

.sorted-desc {
  background: orange url("/img/sprites/desc.png") 1% center no-repeat;
}

.sortable-tasks .sort-alpha,
.sort-date {
  cursor: pointer;
  background: url("/img/sprites/tablesorter-dark.png") right center no-repeat;
}

.sortable-tasks .sorted-asc {
  background: url("/img/sprites/asc-dark.png") right center no-repeat;
}

.sortable-tasks .sorted-desc {
  background: url("/img/sprites/desc-dark.png") right center no-repeat;
}

.filters {
  position: absolute;
  right: -300px;
  top: 70px;
  border: 1px solid #ccc;
  padding: 2px 12px;
}

.filter {
  display: block;
  margin-bottom: 10px;
}

.label.label-primary {
  font-size: 20px;
  font-weight: 400;
}

#datePickerForm {
  position: absolute;
  left: 300px;
  top: 45px;
}

#new_request {
  position: relative;
  z-index: 1;
}

select.ui-datepicker-month {
  color: #000;
}

.rowsCounter {
  position: absolute;
  left: 20px;
  top: 80px;
  font-size: 120%;
}

.rowsCounter .badge {
  font-size: 110%;
  background-color: #3c78b4;
}

tr.danger .nextContactCell,
tr.danger .numberCell,
tr.danger .lastCommentCell {
  color: red;
  font-weight: bold;
  font-size: 110%;
}

.login-section {
  width: 500px;
  margin: 100px auto;
  position: absolute;
  left: 0;
  right: 0;
}

.form-section {
  width: 500px;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
}

.page-header {
  position: relative;
}

.agregate_val {
  font-weight: bold;
}

.header-logo {
  padding-top: 10px;
  margin-bottom: 10px;
}

.list-group-item-labels {
  margin-bottom: 5px;
  margin-left: -15px;
  margin-top: -15px;
}

.label.label-12k-tasks {
  font-weight: bold;
  font-size: 12px;
}

.tasks-informer {
  position: fixed;
  right: 1em;
  bottom: 1em;
  width: 250px;
  z-index: 999;
}

.tasks-informer .list-group {
  box-shadow: none;
  margin-bottom: 0;
}

.list-group-item.active .badge {
  background-color: orange;
  text-shadow: 0 0 5px #000;
}

a.list-group-item.active > .badge {
  background-color: orange;
  text-shadow: 0 0 5px #000;
  color: white;
}

.no-display {
  display: none;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.flier-input {
  display: none;
}

.login-section .panel.panel-primary {
  background: url('/img/login-bg.jpg') 0 20% no-repeat;
}

.login-section .panel.panel-primary .panel-body {
  padding-top: 120px;
}

.visit-sources.btn-group .btn {
  display: inline-block;
  float: none;
  margin-top: 4px;
}

tfoot.highlight {
  font-weight: bold;
}

.table-stats {
  margin-top: .5em;
}

.table-stats thead tr {
  background-color: #4678c8;
  color: #fff;
}

.mt2e {
  margin-top: 2em;
}

@media (max-width: 768px) {
  .main-container {
    padding-bottom: 60px;
  }

  body {
    position: relative;
  }

  .projects-sidebar {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    text-align: center;
  }

  .projects-sidebar a {
    display: inline-block;
    border: 1px solid #ddd;
    padding: .3em;
  }

  .navbar .xs-header {
    position: absolute;
    z-index: 10;
    font-size: 140%;
    left: 0;
    right: 0;
    text-align: center;
    top: -0.3em;
  }

  .navbar .navbar-toggle {
    position: relative;
    z-index: 20;
  }

  .filter-form {
    margin-bottom: 1em;
  }

  .filter-form .input-group {
    margin-bottom: .4em;
  }

  .filter-form .btn {
    width: 100%;
  }

  .nav.nav-tabs.visits-filter {
    width: 100%;
  }

  .nav.nav-tabs.visits-filter li {
    display: block;
    width: 100%;
  }

  .login-section {
    width: 100%;
  }
}

.active-toggle .btn-on.active {
  color: #fff;
  background-color: #419641;
  border-color: #3e8f3e;
  background-image: none;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.active-toggle .btn-off.active {
  color: #fff;
  background-color: #c12e2a;
  border-color: #b92c28;
  background-image: none;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}