
@font-face {
    font-family: 'Raleway Cyr';
    src: url('../fonts/raleway-light.eot');
    src: url('../fonts/raleway-light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/raleway-light.woff') format('woff'),
    url('../fonts/raleway-light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@media (min-width: 1000px) {

  .page-filters .col-xs-2 select[name="limit"] {
    width: 70px;

  }

}


html {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased !important;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
  height: 100%;
}


.align-right {
  text-align: right;
}

.label {
    display: inline-block;
    white-space: normal;
}

/**
 * bootstrap-additions
 *
 */

/*
 * Datepicker element
 */
.datepicker.dropdown-menu {
    width: 250px;
    height: 270px;
}

.datepicker.dropdown-menu button,
.timepicker.dropdown-menu button {
    outline: none;
    border: 0px;
}
.datepicker.dropdown-menu tbody {
    height: 180px;
}
.datepicker.dropdown-menu tbody button {
    padding: 6px;
}
.datepicker.dropdown-menu.datepicker-mode-1 tbody button,
.datepicker.dropdown-menu.datepicker-mode-2 tbody button {
    height: 65px;
}

.datepicker.dropdown-menu .btn-default,
.timepicker.dropdown-menu .btn-default {
  background: #ffffff;
}

.datepicker.dropdown-menu .btn-default:hover,
.timepicker.dropdown-menu .btn-default:hover {
  background: #e8e8e8;
  color: #333;
}

.datepicker.dropdown-menu .btn-info.btn-today {
  background: #49afcd;
  color: #ffffff;
}

.datepicker.dropdown-menu .btn-primary,
.timepicker.dropdown-menu .btn-primary {
  background: #3498DB;
  color: #ffffff;
}


.datetime.date {
  margin-right: 82px;
}

.datetime.time {
  width: 80px;
  position: absolute;
  top: 0;
  right: 15px;
}

.datetime.date .form-control-feedback,
.datetime.time .form-control-feedback {
  top: 7px;
  right: -4px !important;
}

.datetime.date>input,
.datetime.time>input {
  padding-right: 25px;
}



/*
 * bootstrap-vertical-tabs - v1.1.0
 * https://dbtek.github.io/bootstrap-vertical-tabs
 * 2014-07-24
 * Copyright (c) 2014 İsmail Demirbilek
 * License: MIT
 */
.tabs-left, .tabs-right {
    border-bottom: none;
    padding-top: 2px;
}
.tabs-left {
    border-right: 1px solid #ddd;
}
.tabs-right {
    border-left: 1px solid #ddd;
}
.tabs-left>li, .tabs-right>li {
    float: none;
    margin-bottom: 2px;
}
.tabs-left>li {
    margin-right: -1px;
}
.tabs-right>li {
    margin-left: -1px;
}
.tabs-left>li.active>a,
.tabs-left>li.active>a:hover,
.tabs-left>li.active>a:focus {
    border-bottom-color: #ddd;
    border-right-color: transparent;
}

.tabs-right>li.active>a,
.tabs-right>li.active>a:hover,
.tabs-right>li.active>a:focus {
    border-bottom: 1px solid #ddd;
    border-left-color: transparent;
}
.tabs-left>li>a {
    border-radius: 0;
    margin-right: 0;
    display:block;
}

.tabs-left>li>a:hover {
  border-color: #eee;
}

.tabs-right>li>a {
    border-radius: 0 4px 4px 0;
    margin-right: 0;
}
.sideways {
    margin-top:50px;
    border: none;
    position: relative;
}
.sideways>li {
    height: 20px;
    width: 120px;
    margin-bottom: 100px;
}
.sideways>li>a {
    border-bottom: 1px solid #ddd;
    border-right-color: transparent;
    text-align: center;
    border-radius: 4px 4px 0px 0px;
}
.sideways>li.active>a,
.sideways>li.active>a:hover,
.sideways>li.active>a:focus {
    border-bottom-color: transparent;
    border-right-color: #ddd;
    border-left-color: #ddd;
}
.sideways.tabs-left {
    left: -50px;
}
.sideways.tabs-right {
    right: -50px;
}
.sideways.tabs-right>li {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.sideways.tabs-left>li {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}



/* Img Crop */
.img-crop {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.img-crop canvas {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}



/* Tree */
* {margin: 0; padding: 0;}

.tree {
  overflow-y: scroll;
  padding: 30px 0;
}

#tree-inner {
  width: 8000px;
}

.tree ul {
    padding-top: 12px; position: relative;

    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree li {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 12px 10px 0 5px;
  margin: 0;

}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
    content: '';
    position: absolute; top: 0; right: 50%;
    border-top: 1px solid #ccc;
    width: 50%; height: 12px;
}
.tree li::after{
    right: auto; left: 50%;
    border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
    display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
    border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
    border-right: 1px solid #ccc;
    border-radius: 0 3px 0 0;
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
}
.tree li:first-child::after{
    border-radius: 3px 0 0 0;
    -webkit-border-radius: 3px 0 0 0;
    -moz-border-radius: 3px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 12px;
}

.tree li .node-item {
  border: 1px solid #ccc;
  text-decoration: none;
  color: #666;
  font-family: arial, verdana, tahoma;
  font-size: 11px;
  display: inline-block;
  position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  width: 170px;
  height: 80px;
}

.tree li .title {
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  font-weight: bold;
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li .node-item:hover,
.tree li .node-item:hover+ul li .node-item {
  color: #000;
  border: 1px solid #e67e22;
}

.tree li .node-item:hover .title,
.tree li .node-item:hover+ul li .node-item .title {
  border-bottom: 1px solid #e67e22;
}

/*Connector styles on hover*/
.tree li .node-item:hover+ul li::after,
.tree li .node-item:hover+ul li::before,
.tree li .node-item:hover+ul::before,
.tree li .node-item:hover+ul ul::before{
    border-color:  #394263;
}


.tree>ul>li:first-child {
  display: block;
}

.tree .node-controls {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: none;
}

.tree .node-item:hover .node-controls {
  display: block;
}

.tree .node-controls button {
  padding: 0 3px;
  font-size: 10px;
}

#modalBox, .modalBox {
  background: rgba(0,0,0,0.5);
}

#modalBox .modal-dialog,
.modalBox .modal-dialog  {
  margin-top: 100px;
}

.modalBox {
  text-align: center;
}

.modalBox .modal-dialog {
  width: inherit;
  min-width: 100px;
  display: inline-block;
  margin: 30px;
}

.modalBox .modal-body {
  text-align: center;
}

.modalBox .modal-body img {
  display: inline-block;
  max-width: 100%;
}

.modalBox .description {
  text-align: left;
}

/*  */
.dropdown-menu {
  border-radius: 0;
  padding: 10px;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, .175);
  -moz-box-shadow:    0px 1px 3px rgba(0, 0, 0, .175);
  box-shadow:         0px 1px 3px rgba(0, 0, 0, .175);
}

/*$leftSideBarWidth: 55px;*/
#wrapper {
    padding-left: 55px;
    /* transition: all 0.4s ease 0s; */
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none;
}

a, a:hover {
    color: #0E54C2;
}

/* Modal */
.modal-header {
  background: #f5f5f5;
}

.modal-content {
  border-radius: 0;
}

/* Loading bar */

#loading-bar .bar {
    background: #e67e22;
}

#loading-bar .bar .peg {
  box-shadow: none;
}

#loading-bar-spinner {
    display: none;
}

/* Top Nav */

#top-nav {
  background: #ffffff;
  min-height: 40px;
  padding-left: 90px;
  padding-right: 40px;
  padding-top: 5px;
  border: none;
}

#top-nav .navbar-nav li a {
  color: #000000;
}

#top-nav .icons {
  font-size: 22px !important;
  color: #767676;
}

#top-nav .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
}

#top-nav .navbar-brand,
#top-nav .navbar-brand:hover {
    color: #000000;
}

#top-nav.navbar-default .navbar-nav>.open>a,
#top-nav.navbar-default .navbar-nav>.open>a:hover,
#top-nav.navbar-default .navbar-nav>.open>a:focus,
#top-nav.navbar-default .navbar-nav>.active>a,
#top-nav.navbar-default .navbar-nav>.active>a:hover,
#top-nav.navbar-default .navbar-nav>.active>a:focus {

    background-color: #ffffff;
}

#top-nav .dropdown-menu>li>a {
    color: #333;
    padding: 3px 10px;
}

.navbar-brand {
  height: 40px;
  padding: 10px 0;
  margin-right: 30px;
}

.navbar-brand img {
  width: 100px;
}

#top-nav .navbar-form {
    padding: 0 0 0 50px;
    margin: 6px 0;
}

#top-nav .navbar-form input {
  width: 300px;
  border-radius: 0;
}

#top-nav .navbar-form input.ng-dirty.ng-valid:focus {
  border-color: #66afe9;
}

#top-nav .navbar-form .has-feedback .form-control-feedback {
    top: 10px;
}

#top-nav .navbar-nav>li.user>a {
  padding-top: 6px;
  padding-right: 0;
  padding-bottom: 12px;
}

.dropdown-arrow:before {
  border-bottom: 8px solid rgba(0,0,0,.15);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  display: inline-block;
  right: 17px;
  position: absolute;
  top: -8px;
}

.dropdown-arrow:after {
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  display: inline-block;
  right: 17px;
  position: absolute;
  top: -6px;
}

#top-nav img.avatar {
  width: 30px;
  display: inline-block;
  margin: 0 5px 0 0;
  border: 1px solid #ccc;
  border-radius: 15px;
}

#top-nav .search-form .dropdown-menu {
  padding: 0 0 10px;
  margin-top: -1px;
}

#top-nav .search {
  width: 398px;
}


#top-nav .search .section-title {
  background: #f5f5f5;
  color: #868686;
  padding: 5px 10px;
  font-size: 12px;
}

#top-nav .search .section-content {
  padding: 8px 15px;
  vertical-align: top;
}

#top-nav .search .section-content ul {
  list-style: none;
}

#top-nav .search .section-content ul li {
  padding: 0 0 4px;
}

#top-nav .search img.avatar {
  width: 28px;
  display: inline-block;
  margin: 0 8px 0 0;
  border: 1px solid #ccc;
}


/* Notifications */
.badge-red {
  background: #ff2d23;
  position: absolute;
  top: 12px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  padding: 2px;
}

#notificationCenter .dropdown-menu {
  padding: 0;
}

#notificationCenter .dropdown-arrow:after {
  border-bottom: 8px solid #F0EFEF;
}

#notifications {
  width: 350px;
}

#notifications .notifications-title {
  padding: 5px 10px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  color: #000000;
  background: #F0EFEF;
}

#notifications .notifications-messages {
  list-style: none;
  overflow: auto;
  max-height: 500px;
}

#notifications .notifications-msg {
  border-bottom: 1px solid #ccc;
  padding: 10px 30px 30px 20px;
  font-size: 13px;
  position: relative;
}

#notifications .notifications-msg .created-at {
  display: block;
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: #7B7A7A;
  font-size: 11px;
}

#notifications .notifications-no-msg {
  padding: 10px 18px;
  font-size: 13px;
  text-align: center;
  color: #7B7A7A;
}

#notifications .notifications-msg a,
#notifications .notifications-msg a.close-btn:hover {
  text-decoration: none;
  display: block;
  padding: 5px 0px;
}

#notifications .notifications-msg a.close-btn {
  text-decoration: none;
  position: absolute;
  top: 7px;
  right: 10px;
  font-size: 10px;
}

#notifications .notifications-msg a:hover {
  text-decoration: underline;
}


#notifications .notifications-msg:last-child {
  border-bottom: none;
}


/* left sidebar */
#add-button .dropdown-menu {
  margin: -21px 0 0 32px;
  border-radius: 0;
  padding: 15px 10px;
  z-index: 1032;
}

#add-button .dropdown-menu li a {
  padding: 5px 20px;
}

#sidebar-wrapper {
    margin-left: -55px;
    left: 55px;
    width: 55px;
    background: #394263;
    position: fixed;
    height: 100%;
    z-index: 1031;
    /* transition: all 0.4s ease 0s; */

}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 55px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav>li>a {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  padding: 10px 0;
  color: #ffffff;
  display: block;
  text-decoration: none;
}

.sidebar-nav i {
    font-size: 22px;
    display: block;
    margin-bottom: 5px;
}

.sidebar-nav li.active a {
    color: #ffffff;
    text-decoration: none;
    background: #e67e22;
}

.sidebar-nav>li>a:hover {
  background: #E88A37;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

#main-menu {
    position: relative;
    top: 47px;
    width: 55px;
    height: 88%;

}

/* Notes Pane */

#notespane-wrapper {
  position: fixed;
  right: -350px;
  top: 0;
  z-index: 1028;
  height: 100%;
  width: 300px;
  background: #ffffff;
  overflow-y: hidden;
  overflow-x: hidden;
  -webkit-box-shadow: -2px 0px 7px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow:    -2px 0px 7px 0px rgba(50, 50, 50, 0.3);
  box-shadow:         -2px 0px 7px 0px rgba(50, 50, 50, 0.3);
}

#notespane-wrapper.active {
  right: 0;
}

#notespane-header {
  position: absolute;
  top: 50px;
  width: 100%;
  padding: 10px;
  background: #F0EFEF;
}

#notespane-header h2 {
  font-size: 17px;
  padding: 0;
  margin: 0;
}

#notespane-header a,
#notespane-header a:hover {
  color: #333;
  text-decoration: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

#notespane-inner {
    position: absolute;
    top: 90px;
    width: 300px;
    padding: 0;
    overflow-y: auto;
    overflow-h: hidden;
}

#notespane-form {
    position: absolute;
    bottom: 0;
    width: 300px;
    padding: 10px 10px;
    text-align: right;
  background: #F0EFEF;
}

#notespane-form .ng-invalid {
  border-color: #ccc;
}

#notespane-form .form-group {
    margin-bottom: 5px;
}

#notespane-inner .note {
    background: #ffffff;
    padding: 12px;
    border-bottom: 1px solid #ccc;
  position: relative;
}

/*
#notespane-inner .note:last-child {
  border-bottom: 0px;
}
*/

#notespane-inner h3 {
    margin: 0;
    font-size: 14px;
}

#notespane-wrapper span.color {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 5px;
}

#notespane-wrapper .color.gray {
    background: #bdc3c7;
}

#notespane-wrapper .color.green {
    background: #27ae60;
}

#notespane-wrapper .color.red {
    background: #e74c3c;
}

#notespane-wrapper .color.orange {
    background: #f39c12;
}

#notespane-wrapper .color.blue {
    background: #2980b9;
}



#notespane-inner .note-text {
    font-size: 13px;
    padding: 8px 0;
}

#notespane-inner .note-date {
    float: left;
    font-size: 12px;
    font-weight: bold;
}

#notespane-inner .note-controls {
    float: right;
    display: none;
}

#notespane-inner .note .note-footer {
    height: 20px;
}

#notespane-inner .note:hover .note-controls {
    display: block;
}

#notespane-inner .note-controls button {
    padding: 0 3px;
    font-size: 9px;
}

#notespane-inner .note-delete-button,
#notespane-inner .note-delete-button:hover {
  font-size: 9px;
  position: absolute;
  top: 10px;
  right: 5px;
  text-decoration: none;
  color: #333;
  display: none;
}

#notespane-inner .note:hover .note-delete-button {
  display: block;
}

/* Right Button Bar */
#right-button-bar {
  width: 50px;
  background: #ecf0f1;
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1027;
  display: block;
}

#right-button-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#right-button-bar ul li {
  text-align: center;
}

#right-button-bar ul li a,
#right-button-bar ul li a:hover {
  font-size: 20px;
  color: #474747;
  text-decoration: none;
  padding: 10px;
  display: block;
}

#right-button-bar ul li.active a {
  background: #e67e22;
  color: #ffffff;
}




/* Page content */

#page-content-wrapper {
    width: 100%;
}

.page-content {
    padding: 45px 40px 30px 35px;
}

.table>tbody>tr.total>td {

  background-color: #ffffff;

}

.table-hover>tbody>tr:hover {
    cursor: pointer;
}

/* Buttons */
.btn {
  border-radius: 0;
  border-width: 0;
}

.btn-default-gr {
  background: #f2f2f2;
  background: linear-gradient(to bottom,#fff 0,#f2f2f2 100%);
  border: 1px solid #cccccc;
  color: #333;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
}

.btn-default-gr:hover {
  border-color: #B5B3B3;
}

.btn-default {
  color: #333;
  background-color: #F0EFEF;
}

.btn-default:hover {
  color: #333;
  background-color: #e8e8e8;
}

.btn-danger {
  color: #ffffff;
  background-color: #da4f49;
}

.btn-danger:hover {
  color: #ffffff;
  background-color: #bd362f;
}

.btn-info {
  color: #ffffff;
  background-color: #3498DB;
}

.btn-info:hover {
  color: #ffffff;
  background-color: #2980B9;
}

.btn-success {
  color: #ffffff;
  background-color: #5bb75b;
}

.btn-success:hover {
  color: #ffffff;
  background-color: #51a351;
}



.btn-radio-gray.active {
  color: #ffffff;
  text-shadow: none;
  background-color: #bdc3c7;
}

.btn-radio-yes.active,
.btn-radio-green.active {
    color: #ffffff;
    text-shadow: none;
    background-color: #51a351;
}

.btn-radio-no.active,
.btn-radio-red.active {
    color: #ffffff;
    text-shadow: none;
    background-color: #bd362f;
}


/* Tables */
.table>tbody>tr>td {
    vertical-align: middle;
}


/* Panels */
.panel {
  box-shadow: none;
  border-radius: 0;
}

.panel-heading {
  border-radius: 0;
  background: #EDEDED;
}


/* Forms */
/*$placeholderColor: #a9a9a9;*/

textarea:-moz-placeholder { color: #a9a9a9 !important; font-weight: 200; }
textarea::-webkit-input-placeholder { color: #a9a9a9 !important; font-weight: 200;}

input:-moz-placeholder { color: #a9a9a9 !important; font-weight: 200;}
input::-webkit-input-placeholder { color: #a9a9a9 !important; font-weight: 200;}

.form-control, .form-control:focus, select {
  box-shadow: none !important;
  border-radius: 0 !important;
}

.divider {
    height: 25px;
}

p.txt {
  margin: 8px 0 0;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: left;
    font-weight: normal;
}

.error-block {
    display: block;
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 12px;
}

/*.form-horizontal .has-feedback .form-control-feedback {*/
    /*top: 7px;*/
    /*right: 12px;*/
/*}*/

.ng-pristine {

}

input.ng-invalid,
select.ng-invalid,
textarea.ng-invalid {
  border-color: #f05050;
}

.form-control.ng-dirty.ng-valid:focus {
  border-color: #27c24c;
}



/*** Pages ***/

.page-control-tabs {
    text-align: center;
    padding-bottom: 20px;
}

.page-control-tabs>.nav>li>a {
    padding: 6px 10px;
  border-radius: 0;
}

.page-controls {
    text-align: right;
    padding: 0px 0px 20px;
}

#usergroups .page-controls {
  padding-bottom: 0;
}

.page-controls.ui-scrollfix {
  position: fixed;
  top: 50px;
  background: #ffffff;
  -webkit-box-shadow: 0px 1px 7px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow:    0px 1px 7px 0px rgba(50, 50, 50, 0.3);
  box-shadow:         0px 1px 7px 0px rgba(50, 50, 50, 0.3);
  z-index: 1029;
  padding: 8px 110px 8px 0;
  width: 100%;
  margin-left: -35px;
}

.page-controls .dropdown {
  display: inline-block;
}

.page-controls .dropdown .dropdown-menu {
  right: 0;
  left: auto;
  margin-top: 8px;
}

.page-total {
  padding: 0 0 10px;
}

.page-total span {
  font-weight: bold;
}

.page-pagination .page-total {
  position: absolute;
  left: 0;
  top: 25px;
  width: 200px;
  text-align: left;
}

.page-main-content {
    padding: 0 0 30px;
}

.page-header {
  font-size: 33px;
  line-height: 33px;
  margin: 10px 0 20px;
  padding: 0;
  border: none;
  font-family: 'Raleway Cyr';
}

h2 {
    font-size: 21px;
    margin-bottom: 25px;
}

.page-header a {
  color: #767676;
  font-size: 26px;
}

.page-header a:hover {
  color: #767676;
  text-decoration: none;
}

.page-header .view-changer {
  color: #919191;
  border: 1px solid #919191;
  display: inline-block;
  padding: 7px 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin: 4px;
  font-size: 20px;
  text-align: center;
  vertical-align: top;
}

.page-header .view-changer:hover {
  color: #767676;
  border: 1px solid #767676;
}

.page-header .view-changer.active {
  color: #e67e22;
  border: 1px solid #e67e22;
}

span.star {
    color: red;
}

a.delete-link, a.delete-link:hover {
  text-decoration: none;
  font-size: 13px;
  color: #767676;
}

/* App Loader */
#app-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 2000;

}


#app-loader #app-loader-inner {
    width: 300px;
    height: 200px;
    position: absolute;
    top: 40%;
    left: 50%;
    margin-left: -150px;
    margin-top: -100px;
    text-align: center;
    padding: 30px 40px;
    background: #ffffff;
    border-radius: 3px;
}

#app-loader #app-loader-inner h2 {
    font-size: 26px;
    margin: 0 0 30px;
    color: #205076;
    text-align: center;
}

#app-loader #app-loader-inner h2 img {
  width: 110px;
}


/* Login page */
#login {
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    background: #ffffff;

}


#login #login-form {
    width: 300px;
    height: 260px;
    position: absolute;
    top: 40%;
    left: 50%;
    margin-left: -150px;
    margin-top: -130px;
    text-align: center;
    padding: 30px 40px;
    background: #ffffff;
    border-radius: 3px;
}

#login #login-form h2 {
    font-size: 26px;
    margin: 0 0 30px;
    color: #205076;
    text-align: center;
}

#login #login-form h2 img {
  width: 110px;
}

#login #login-form .form-control-feedback {
  top: 10px;
}


#login input.ng-valid,
#login input.ng-invalid {
    border: 1px solid #ccc;
    webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);

}

#login #login-form button i {
    margin-left: 5px;
}


/* Dashboard */

#dashboard #quick-buttons {
    text-align: center;
    margin: 20px 0 60px;

}

#dashboard #quick-buttons button {
    margin-right: 15px;
}



/* Role */

#role table select {
    width: 100px;
}

/* Users */

#users img.avatar {
    width: 40px;
    display: inline-block;
    border-radius: 20px;
    margin-right: 5px;
    border: 1px solid #ccc;
}

#users span.color {
  width: 10px;
  height: 10px;
  position: absolute;
  margin-left: -20px;
  border-radius: 5px;
}

#users .color.gray {
  background: #bdc3c7;
}

#users .color.green {
  background: #27ae60;
}

#users .color.red {
  background: #ff2d23;
}

/* User */

#user .avatar img {
    width: 250px;
    display: block;
}

#user .chenge-buttons {
    text-align: center;
    width: 250px;
    padding: 10px 0;
}

#user #modalBox .modal-dialog {
  width: 850px;
}

#user #modalBox .cropArea {
  background: #f5f5f5;
  overflow: hidden;
  height:300px;
}

#user #modalBox .file-input-wrapper {
  display: block;
  position: absolute;
  height: 310px;
  width: 820px;
  z-index: 1;
  background: #ffffff;
}

#user #modalBox .file-input {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 50px;
  margin-left: -125px;
  margin-top: -25px;
  cursor: pointer;
}

#user #modalBox .file-input input[type=file] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 50px;
  display: block;
  cursor: pointer;
}

#user #modalBox .file-input .file-button {
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  background: #3ba5b3;
  color: white;
  height: 50px;
  width: 250px;
  line-height: 50px;
}

#user #modalBox h3 {
  font-size: 17px;
  margin: 0 0 10px;
  padding: 0;
}



/* User Group */

#usergroup h2 {
    margin: 30px 0;
}

#usergroup select {

    width: 200px;
}


/* Tasks */

#tasks .datetime.date {
  margin-right: 0px;
}

p.avatar-inline {
    margin-top: 3px;
    display: table;
}

.avatar-inline img {
  margin-right: 10px;
  width: 30px;
    display: table-cell;
}

.avatar-inline img.no-photo {
  border: 1px solid #C4C4C4;
    display: table-cell;
}

.avatar-inline span {
    white-space: nowrap;
    display: table-cell;
    vertical-align: middle;
}


#task-edit #complete {
  padding: 20px;
  margin: 20px 0;
  border: 8px solid #F0EEEE;
}

#task-edit #complete h2 {
  margin: 0px 0px 25px;
  font-size: 25px;
  font-family: 'Raleway Cyr';
}

#task-edit #complete .page-controls {
  padding-bottom: 0px;
}

#task-add .for_object a.edit,
#task-add .for_object a.edit:hover,
#task-edit .for_object a.edit,
#task-edit .for_object a.edit:hover,

#modalBox .for_object a.edit,
#modalBox .for_object a.edit:hover {
  display: inline-block;
  border-bottom: 1px dashed #0E54C2;
  line-height: 13px;
  text-decoration: none;
  margin-left: 5px;
}


/* Reports */
.charts-container {
  position: relative;
}

.charts-container .chrat-inner {
  background: #F0F0F0;
}

.charts-container .no-data {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  text-align: center;;
}

.color-label {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #cccccc;
  display: inline-block;
  margin-right: 5px;
}

.reports-filter .datetime.date {
  margin-right: 0px;
}

.report-divider {
  height: 60px;
}

/* Contacts */

#contact-edit .page-filters .datetime.date {
  margin-right: 0px;
}

#contact-add .select_company a.edit,
#contact-add .select_company a.edit:hover,
#contact-edit .select_company a.edit,
#contact-edit .select_company a.edit:hover {
  display: inline-block;
  border-bottom: 1px dashed #0E54C2;
  line-height: 13px;
  text-decoration: none;
  margin-left: 5px;
}

/* Companies */

#company-edit .page-filters .datetime.date {
  margin-right: 0px;
}


/* Deals */
#deal-edit #complete {
  padding: 20px;
  margin: 20px 0;
  border: 8px solid #F0EEEE;
}

#deal-edit #complete h2 {
    margin: 0px 0px 25px;
    font-size: 25px;
    font-family: 'Raleway Cyr';
}

#deal-edit #complete .page-controls {
    padding-bottom: 0px;
}

#deals .datetime.date,
#deals-select .page-filters .datetime.date,
#tasks-filter .datetime.date {
    margin-right: 0px;
}

#deal-edit .priceTotal {
    text-align: right;
}

#deal-edit .priceTotal .sum {
    padding-left: 50px;
    padding-right: 76px;
    font-weight: bold;
}

/* Users */
#users .roles-list .role {
    padding-bottom: 20px;
}

#users .roles-list .role h2 {
    margin: 0px;
}

/* ui.bootstrap */
.nav, .pagination,
.carousel, .panel-title a {
    cursor: pointer;
}

/* Group-X */

.group-x {
    padding: 3px 55px 3px 0;
    position: relative;
}

.group-x button {
    position: absolute;
    top: 6px;
    right: 28px;
}

.group-x button.sortable-handle {
    right: 0;
}

.group-x-wrapper .buttons {
    text-align: right;
}

.group-x .colorpicker {
    display: block;
    width: 15px;
    height: 15px;
}

.dragged {
    position: absolute;
    z-index: 2000;
    margin-left: -84%;
    margin-top: -15px;

}

.group-x-wrapper .placeholder {
    position: relative;
    height: 30px;
    border: 1px dashed #ccc;
    background: #ffffff;
    border-radius: 0;
    /** More li styles **/
}

.group-x-wrapper .placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    left: -9px;
    margin-top: 10px;
    border-right: none;
}

.group-x.input-group.phone .input-group-addon {
    padding: 6px 7px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 2px 0 0 2px;
    border-right: 0px;
}

/* Flash Messages */

#flash-messages {
  position: fixed;
  top: 5px;
  z-index: 2000;
  width: 500px;
  left: 50%;
  margin-left: -250px;
}

#flash-messages .alert {
  position: relative;
  margin-bottom: 5px;
  border-radius: 0;
  padding: 12px;
}

#flash-messages .close {
    position: absolute;
    top: 5px;
    right: 5px;
  font-size: 15px;
}


/* Animations */


/* Slide right */

/* Filter */
.page-filters {
  padding: 10px 0 20px;
}

.page-filters h3 {
  display: block;
  margin: 0 0 20px;
  font-size: 16px;
  color: #5e5e5e;
}

.page-filters a,
.page-filters a:hover {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  color: #5e5e5e;
  text-decoration: none;
}

.page-filters select[name="limit"] {

  display: inline-block;
}

.page-filters .row {
  margin-bottom: 15px;
}


/* Pagination */
.page-pagination {
    text-align: right;

}

.pagination-counts {
    color: #A6A6A6;
    display: inline-block;
    vertical-align: middle;
}
.page-pagination .pagination {
    margin: 0px 0px 0px 10px;
    display: inline-block;
    vertical-align: middle;
}

.pagination>li:first-child>a,
.pagination>li:last-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>span {
    border-radius: 0px;
}

.pagination>li>a, .pagination>li>span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

/* Large Modal*/

#modalBox.large .modal-dialog {
  width: 980px;
}

#modalBox.large .modal-body {
  padding: 30px;
}

a[title="JavaScript charts"] {
  display: none !important;
}

/* About License */

#about-license .table{
  margin-bottom: 30px;
}

#about-license .table>tbody>tr>td {
  border-top: none;
  padding: 4px;
}

/* Action tabs */
.action-tabs .tab-pane {
  padding: 25px 0 0;
}

.action-tabs .tab-pane .row {
  margin-bottom: 10px;
}

.columns-arrows {
  font-size: 20px;
  line-height: 10px;
  text-align: center;
  padding-top: 50px;
}

.columns {
  background: #F0EFEF;
  padding: 5px;
}

.columns h3 {
  text-align: center;
  font-size: 15px;
  margin: 0 0 10px;
}

.columns > div {
  min-height: 30px;
}

.column-cont {
  position: relative;
  padding: 2px 23px 2px 6px;
  border: 1px solid #D2D2D2;
}

.column-cont > span {
  font-size: 13px;
}

.column-cont > i {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 11px;
}

/* file list */

.file-list .file-important a {
  font-size: 16px;
  color: #C4C4C4;
  text-decoration: none;
}

.file-list .file-important a.active,
.file-list .file-important span.active {
  color: #E67E22;
}

.file-list .file-img, .file-list .file-name {
  display: inline-block;
  vertical-align: middle;
}

.file-list .file-img {
  width: 40px;
  margin-right: 10px;
  text-align: center;
}

.file-list .file-img i {
  font-size: 20px;
  color: #767676;
}

.file-list .file-name div.description {
  color: #4A4A4A;
  font-size: 13px;
  margin-top: 5px;
  line-height: 15px;
}

/* Map */
ul.ym-search-obj-list {
    margin: 0;
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
}

ul.ym-search-obj-list li h3{
    font-size: 13px;
    color: #1A3DC1;
    margin: 0 0 4px;
}

ul.ym-search-obj-list li {
    font-size: 12px;
    line-height: 13px;
    padding: 5px 8px;
}

ul.ym-search-obj-list li:hover {
    cursor: pointer;
}

ul.ym-search-obj-list li:hover h3 {
    text-decoration: underline;
}

ul.ym-search-obj-list li.active {
    background: #E3E3E3;
}

/* Nested List */
.nested-list ol li {
    /*border: 1px solid #ccc;*/
    list-style: none;
}

.nested-list ol {
    padding-left: 30px;
}

.nested-list ol.top {
    padding: 0px;
}

.nested-list ol.top>li{
    padding-bottom: 10px;
}

.nested-list ol li {
    position: relative;
    padding: 5px 52px 0px 0px;
}

.nested-list ol li input {
    vertical-align: middle;
    display: inline-block;
}

.nested-list ol li button {
    position: absolute;
    top: 9px;
    right: 0px;
}

.nested-list ol li button.delete-handle {
    right: 26px;
}


.nested-list .dragged {
    position: absolute;
    z-index: 2000;
    margin-left: -75%;
    margin-top: -15px;

}

.nested-list .top>.dragged {
    margin-left: -90%;
}

.nested-list .placeholder {
    position: relative;
    height: 30px;
    border: 1px dashed #ccc;
    background: #ffffff;
    border-radius: 0;
    /** More li styles **/
}

.nested-list .placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    left: -9px;
    margin-top: 5px;
    border-right: none;
}

.nested-list .tpl {
    display: none;
}

/* List nested */
.list-nested, .list-nested ul {
    list-style: none;
}

.list-nested ul {
    padding-left: 30px;
}

.list-nested li {
    padding: 10px 0px;
}

.list-nested li .controls {
    display: inline-block;
    vertical-align: middle;
    padding-left: 20px;
}

.list-nested .placeholder {
    position: relative;
    height: 30px;
    border: 1px dashed #ccc;
    background: #ffffff;
    border-radius: 0;
    /** More li styles **/
}

.list-nested .placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    left: -9px;
    margin-top: 5px;
    border-right: none;
}

.list-nested .dragged {
    position: absolute;
    z-index: 2000;
    margin-left: -120px;
    margin-top: -15px;

}

.list-nested .top>.dragged {
    /*margin-left: -90%;*/
    height: 30px;
}

/* Autocomplete */
.autocomplete-suggestions {
    border: 1px solid #ccc;
    border-top: none;
    background: #FFF;
    overflow: auto;
}
.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-suggestion span {
    display: block;
    font-size: 13px;
    line-height: 13px;
    color: #808080;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-group {
    padding: 2px 5px;
}
.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/* Tasks list */
.tasks-list h3 {
    font-size: 16px;
    margin-top: 0px;
    padding: 0 0 4px 0;
    border-bottom: 2px solid #dddddd;
    font-weight: bold;
}

.tasks-list .panel:hover {
    cursor: pointer;    
}

.tasks-list .range {
    font-size: 13px;
    width: 59%;
    float: left;
    font-weight: bold;
}
.tasks-list .priority {
    font-size: 13px;
    width: 40%;
    float: right;
    text-align: right;
}

.tasks-list .panel-footer {
    background-color: #f5f5f5;
    border-top: none;
}

/* Marquee */
.marquee {
    width: 500px;
    height: 32px;
    overflow: hidden;
    background: #3f4d82;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 16px;
    padding: 5px 0;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.marquee:hover {
    cursor: pointer;
}

.marquee .msg {
    display: inline-block;
    margin-right: 30px;
}

/* Pbx */
#pbx_incoming_call {
    position: fixed;
    width: 350px;
    bottom: 0px;
    right: 0;
    background: #f2f2f2;
    background: linear-gradient(to bottom,#fff 0,#f2f2f2 100%);
    border: 1px solid #cccccc;
    color: #333;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    margin: 0px 25px 25px 0px;
    padding: 18px;
}

#pbx_incoming_call .msg-header h2 {
    margin: 0px 0px 8px 0px;
}

#pbx_incoming_call .msg-header button {
    position: absolute;
    right: 10px;
    top: 5px;
}

#pbx_incoming_call .number {
    font-size: 25px;
    color: #09ab09;
    font-weight: bold;
}

#pbx_incoming_call .no_number {
    font-size: 18px;
    color: #ef2f27;
    font-weight: bold;
}

#pbx_incoming_call .contact {
    margin-top: 5px;
    border-top: 1px dashed #9a9a9a;
    padding: 10px 0px 0px 0px;
}

#pbx_incoming_call .contact .name {
    display: inline-block;
    padding-top: 5px;
}

/* Notifications */
#notifications-list .notifications-msg {
    border: 1px solid #dddddd;
    background: #fbfbfb;
    padding: 10px 15px 0px 15px;
    margin-bottom: 15px;
    position: relative;
}

#notifications-list .notifications-msg:hover {
    cursor: pointer;
    background: #f7f7f7;
}

#notifications-list .notifications-msg:last-child {
    margin-bottom: 0px;
}

#notifications-list .notifications-msg .close_btn {
    position: absolute;
    top: 0px;
    right: -5px;
    font-size: 10px;
    text-decoration: none;
    color: #565656;
}

#notifications-list .notifications-msg .notification-text {
    margin-bottom: 10px;
}

#notificationAlert {
    display: none;
}

#notificationsModal .progress-wrapper {
    width: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
}

#notificationsModal .progress-wrapper .progress {
    margin:50px 200px 50px 200px;
    height: 8px;
    border-radius: 0;
}



