/* Bodies */

body.index {
  background: url('../images/foundation.gif');
  font-weight: 300;
}

.navbar-inner {
}

/* Data Grid New */
.data-cell-buttons {
  width: 10px;
}

/* Commont */
h2 {
  font-size: 22px;
  font-weight: 300;
}

h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 5px;
}

table.report-income tr th {
  text-align: center !important;
}
table.report-income tr td {
  text-align: right !important;
  word-break: initial;
}
table.report-income .Person-name {
  max-width: 200px;
}
table.report-income p.person-info {
  color: #008000;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pager-row {
  margin-bottom: 20px;
}


/* filter */

.filter-panel {
  color: black;
  min-height: 20px;
  padding: 19px;
  margin-bottom: 10px;
  background-color: #efefef;
  border: 1px solid #eee;
  border: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.filter-panel label {
  color: #Fc3;
}

.filter-block {
  margin-right: 10px;
}
.filter-block label {
  color: black;
}

small.filter-description {
  font-size: 9pt;
  line-height: 18px;
}
small.filter-description strong {
  font-size: 9pt;
}

.hscrollable-content {
  overflow-y: auto;
}

.section-row {
  border-bottom: 1px solid #DDD;
  margin-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.table-section-row {
  border-bottom: 1px solid #DDD;
  margin-top: 5px;
  padding-bottom: 5px;
}

/* */
.index .comment-outer-section {
  border-top: 1px solid #c09853;
  border-bottom: 1px solid #c09853;
  margin-left: -30px;
  margin-right: -30px;
  background-color: #fcf8e3;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.index .comment-inner-section {
  margin-left: 30px;
  margin-right: 30px;
}

.index .comment-editor-editor .rendered-comment {
  border: 1px solid #CCC;
  border-radius: 3px;
  background-color: white;
  padding: 8px;
  height: 678px;
  overflow: auto;
  word-break: break-word;
}

.index .comment-editor-editor .CodeMirror {
  border: 1px solid #CCC;
  border-radius: 3px;
  height: 320px !important;
}

#taskDescriptionEditor_Modal .CodeMirror {
  margin-top:10px;
  border: 1px solid #CCC;
  border-radius: 3px;
}

#taskDescriptionEditor_Modal .rendered-comment {
  border: 1px solid #CCC;
  border-radius: 3px;
  background-color: white;
  padding: 8px;
  overflow: auto;
  word-break: break-word;
}


/* companies */
#newCommentSection .form-group {
  margin-bottom: 4px !important;
}
#newCommentSection .select2-choice {
  height: 32px !important;
}

div.profile-image-container {
  width:45px;
  height:45px;
  text-align:center;
  overflow:hidden;
  display:inline-block;
}

.nav div.profile-image-container {
  width:45px;
  height:45px;
  text-align:center;
  overflow:hidden;
  display:inline-block;
  margin-top:-12px;
  margin-bottom:-18px;
  margin-right:4px;
}

.nav div.profile-name-container {
  height:32px;
  text-align:center;
  overflow:hidden;
  display:inline-block;
  margin-top:-6px;
  margin-bottom:-17px;
}

img.profile {
  height: auto;
  width:45px;
}

img.profile-small {
  height: auto;
  width:16px;
}

div.profile-container {
  width:45px;
  height:45px;
  text-align:center;
  overflow:hidden;
  display:inline-block;
}

div.profile-container-small {
  width:16px;
  height:16px;
  float: left;
  margin-right: 10px;
  line-height: 16px;
}

.datepicker {
  font-size: 13px;
}

.selectize-dropdown {
  height: 202px !important;
}

/* three layuot pages */

.action-select-task {
  cursor: pointer;
}

.company-page .comment-editor-editor {
  margin-top:10px;
  margin-bottom:10px;
}

.company-page .comment-editor-editor .rendered-comment {
  border-top: 0px solid #CCC;
  border-left: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
  border-radius: 3px;
  background-color: white;
  padding: 8px;
  min-height: 250px;
  word-break: break-word;
}

.company-page .comment-editor-editor .CodeMirror {
  border-top: 0px solid #CCC;
  border-left: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
  border-radius: 3px;
  height: 250px !important;
}

.company-page .comment-outer-section {
  border-top: 1px solid #c09853;
  border-bottom: 1px solid #c09853;
  margin-left: -20px;
  margin-right: -20px;
  background-color: #fcf8e3;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.company-page .comment-inner-section {
  margin-left: 20px;
  margin-right: 20px;
}

table.sub-header-row {
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}

table.sub-header-row td.title {
  overflow: hidden;
  height:32px;
  display:block;
  word-break: break-all;
  font-size: 16pt;
}

table.sub-header-row a.title {
  overflow: hidden;
  height:28px;
  display:block;
  word-break: break-all;
  font-size: 16pt;
}

div.sub-header-row h2, div.sub-header-row h3 {
  margin-top: 8px;
  margin-bottom: 10px;
}

.panel-contaner {
  padding-top: 4px;
  padding-left: 15px;
  padding-right: 15px;
}

.north-panel-container {
  padding-top: 2px;
  padding-left: 5px;
  padding-right: 5px;
}

.north-panel-container table.header-table {
  width:100%;
  height:68px;
  line-height: 14pt;
}
.north-panel-container table.header-table tr td {
  vertical-align: top;
}

.north-panel-container table.header-table tr td.logo {
  vertical-align: middle;
  padding-right: 10px;
  padding-left: 5px;
}

.north-panel-container table.header-table tr td.stats {
  width: 240px;
  text-align: right;
  padding-top:1px;
}

.lookup-combo-container {
  position:absolute;
  width:280px;
  display:none;
  z-index:99999;
  top:115px;
  left:65px;
}

.north-panel-container h4 {
  margin-top: 2px;
  margin-bottom: 2px;
}

.toolbar-header-border {
  background-color: #EFEFEF;
  border-color: #EFEFEF;
  color: #EFEFEF;
}

div.box-badge {
  float: left;
  margin-left: 6px;
  width: 72px;
  text-align: center;
  cursor: pointer;
}
div.box-badge-header {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border: 1px solid #AAA;
  background-color: white;
  color: black;
  font-size: 10pt;
  line-height: 10pt;
  vertical-align: middle;
  overflow: hidden;
  padding: 2px;
  border-bottom: 1px solid #AAA;
  height: 32px;
}
div.box-badge-button {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border: 1px solid #AAA;
  background-color: white;
  color: black;
  font-size: 10pt;
  line-height: 12pt;
  vertical-align: middle;
  overflow: hidden;
  padding: 2px;
  padding-top: 6px;
  height: 64px;
}
div.box-badge-button:hover {
  background-color: #Fc3;
}
div.box-badge-body {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  vertical-align: middle;
  font-size: 14pt;
  font-weight: bold;
  height: 32px;
  padding-top: 7px;
}
div.box-badge-error div.box-badge-body {
  background-color: red;
  color:white;
}

div.box-badge-default div.box-badge-body {
  background-color: #EFEFEF;
  color: black;
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  border-left: 1px solid #CCC;
}
div.box-badge-success div.box-badge-body {
  background-color: #5cb85c;
  color: white;
}
div.box-badge-warning div.box-badge-body {
  background-color: #Fc3;
  color: white;
}

td {
  word-break: break-word;
}

.selectize-control.multi .selectize-input.has-items {
  padding: 3px 4px 0px;
}
.selectize-input {
  min-height: 30px;
  padding: 3px 4px 0px;
}
.selectize-control.multi .selectize-input > div {
  color: #000;
  background: #FC3;
  padding-left: 6px;
  padding-right: 6px;
}

div.dark-panel {
  background-color: #1b1b1b;
  color: #444;
}

div.dark-panel a.not-a {
  color: #EEE;
}

.editable {
}
.editable:hover {
  border-bottom: 2px dashed #Fc3;
  cursor: text;
}

/* activitis row */

.task-editable {
  border: 1px dotted transparent;
}

.task-editable:hover {
  cursor: text;
  border: 1px dotted orange;
}

.task-editable-datepicker {
  background-color: inherit;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  direction: ltr;
  border: 1px dotted transparent;
  height:20px;
  width: 100%;
}

.task-editable-datepicker:hover {
  cursor: text;
  border: 1px dotted orange;
}

.task-editable-datepicker:focus {
  background-color: #fff;
  color: #000;
}

.lightbox-panel .top-holder{
    overflow:hidden;
    padding:0 0 15px;
}
.lightbox-panel .small-logo {
    float:left;
    text-indent:-9999px;
    overflow:hidden;
    background:url(../images/popupinfo/small-logo.png) no-repeat;
    width:43px;
    height:43px;
}
.lightbox-panel .small-logo a{
    display:block;
    height:100%;
}
.lightbox-panel  .top-holder h2{
    color:#404040;
    font:28px/32px Arial, Helvetica, sans-serif;
    margin:6px 0 10px 15px;
    float:left;
}
.lightbox-panel{
    text-align:center;
}
.info-lightbox{
    max-width:830px;
    background:#fff;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding:16px;
    position:relative;
    display:inline-block;
    text-align:left;
}
.info-lightbox .close-btn{
    position:absolute;
    right:20px;
    top:20px;
    background:url(../images/popupinfo/close-btn.png) no-repeat;
    width:20px;
    height:20px;
}
.info-lightbox .text-block{
    background:#fcf3d4;
    padding:36px 37px 10px;
    font:400 15px/30px 'Open Sans', Arial, Helvetica, sans-serif;
    color:#303030;
    display:inline-block;
    vertical-align:top;
    margin:-4px 0 20px;
}
.info-lightbox .text-block p{
    margin:0 0 19px;
}
.info-lightbox .text-block h3{
    margin:0 0 11px;
    font:400 30px/32px 'Open Sans', Arial, Helvetica, sans-serif;
}
.info-lightbox .text-block h4{
    margin:0 0 20px;
    font-size:20px;
    line-height:22px;
    font-weight:400;
}
.info-lightbox .box-holder{
    text-align:center;
    overflow:hidden;
    margin:0 -10px;
}
.info-lightbox .box{
    text-align:left;
    width:390px;
    height:390px;
    background:url(../images/popupinfo/bg-birthday-box.jpg) no-repeat;
    padding:45px 0 0;
    display:inline-block;
    vertical-align:top;
    margin:0 7px 10px;
    box-sizing: border-box;
}
.info-lightbox .photo-box{
    background:#fff;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width:190px;
    height:190px;
    margin:0 auto;
    -webkit-box-shadow: 0 0 6px 6px rgba(0,0,0,0.05);
    box-shadow: 0 0 6px 6px rgba(0,0,0,0.05);
    overflow:hidden;
    position:relative;
    z-index:9;
}
.info-lightbox .photo-box img{
    width:100%;
    vertical-align:top;
    margin-top: -10px;
}
.info-lightbox .info-box{
    position:relative;
    top:-20px;
    z-index:11;
}
.info-lightbox .info-box img{
    display:block;
    margin:0 auto;
}
.info-lightbox .description{
    width:352px;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    background:url(../images/popupinfo/bg.png) no-repeat;
    margin:-18px auto 0;
    position:relative;
    z-index:12;
    padding:23px 50px 10px;
    text-align:center;
    min-height:89px;
}
.info-lightbox .name{
    color:#a20017;
    font-size:16px;
    line-height:12px;
    display:block;
    padding:0 0 4px;
}
.info-lightbox .position{
    display:block;
    color:#8c3b00;
    font-size:14px;
    line-height:15px;
}
.info-lightbox .box.add{
    background:url(../images/popupinfo/bg-welcome-box.jpg) no-repeat;
    padding:58px 0 0;
}
.info-lightbox .photo-holder{
    position:relative;
}
.info-lightbox .image-welcome{
    position:absolute;
    left:48.5%;
    top:-19px;
    width: 230px;
    margin:0 0 0 -109px;
}
.info-lightbox .box.add .description{
    background:url(../images/popupinfo/bg2.png) no-repeat;
    width:228px;
    min-height:50px;
}
.info-lightbox .box.add .description .welcome{
    color:#fff;
    font-size:20px;
    line-height:22px;
    text-transform:uppercase;
    display:block;
    padding:0;
}
.info-lightbox .box.add .info-box{
    text-align:center;
}
.info-lightbox .box.add .name{
    padding:19px 0 9px;
}
.info-lightbox .box.add .position{
    color:#155f9e;
    display:block;
    font-size:15px;
    line-height:18px;
    padding:0 0 14px ;
}
.info-lightbox .dept {
    color:#428bca;
    font-size:13px;
    line-height:15px;
}
.info-lightbox .dept span{
    display:block;
    padding:0 0 4px;
}
.info-lightbox .dept span + span{
    color:#155f9e;
    font-size:15px;
}
.info-lightbox .btn-holder{
    text-align:center;
    padding:10px 0 5px;
}
.info-lightbox .btn-holder .btn{
    min-width:184px;
    font-size:21px;
    line-height:24px;
    padding:9px 12px;
}


.CodeMirror .cm-spell-error {
     border-bottom: 1px dashed red;
}

.task-status-item {
    padding-left: 18px;
}

.group-status {
    color: #aaaaaa;
    padding-bottom: 4px;
    font-weight: bold;
}

div.br-ajax-dropdown > span.br-ex-action-change-menu-menu {
  display: block;
  margin: -5px -10px;
  padding: 5px 10px;
}

.ui-datepicker td.custom-day .ui-state-default {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.ui-datepicker td.red .ui-state-default {
    background-color: red;
}
.ui-datepicker td.green .ui-state-default {
    background-color: #5cb85c;
}
.ui-datepicker td.work10 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 10%, red 90%, red);
}
.ui-datepicker td.work20 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 20%, red 80%, red);
}
.ui-datepicker td.work30 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 30%, red 70%, red);
}
.ui-datepicker td.work40 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 40%, red 60%, red);
}
.ui-datepicker td.work50 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 50%, red 50%, red);
}
.ui-datepicker td.work60 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 60%, red 40%, red);
}
.ui-datepicker td.work70 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 70%, red 30%, red);
}
.ui-datepicker td.work80 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 80%, red 20%, red);
}
.ui-datepicker td.work90 .ui-state-default {
    background: -webkit-linear-gradient(top, #5cb85c, #5cb85c 90%, red 10%, red);
}
.ui-datepicker td.yellow .ui-state-default {
    background-color: #Fc3;
}
.ui-datepicker td.custom-day .ui-state-hover {
    color: #ffffff;
    background: #428bca;
    background-color: #428bca;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    border-color: #357ebd;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.planning-message {
  display: block;
  color: #999;
}
.planning-value-new {
  font-size: 18px;
}


/*Notification popup*/

.info-lightbox .announcement img {
    max-width: 100%;
}

@media (max-width: 1430px) {
  .navbar-nav.navbar-right .nav-item {display: none;}
  .navbar-nav>li>a {padding-left: 10px; padding-right: 10px;}
}

/*Popup data grid*/

.form-select.popup-data-grid {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px 6px 6px 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  display: none;
  left: 200px;
  margin: 2px 0 0;
  min-width: 160px;
  position: absolute;
  z-index: 1000;
  width: 525px;
}
.form-select.popup-data-grid .navbar {
  min-height: initial;
  border-radius: 0px;
}
.form-select.popup-data-grid .navbar .input-append {
  margin: 5px 0px 5px 0px;
}
.form-select.popup-data-grid .input-group-btn {
  width:  initial;
}
.form-select.popup-data-grid .input-group-btn i {
  font-size: 14px;
}
.form-select.popup-data-grid .btn-url {
  color: #999999;
}
.form-select.popup-data-grid .navbar .btn-mini {
  padding: 2px 6px;
  font-size: 11px;
  line-height: 17px;
}
.form-select.popup-data-grid .popup-data-grid-wrapp-column {
  font-size: 0;
  height: 300px;
}
.form-select.popup-data-grid .popup-data-grid-column {
  height: 300px;
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  overflow-y: scroll;
}
.form-select.popup-data-grid .popup-data-grid-column {
  height: 300px;
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  overflow-y: scroll;
}
.form-select.popup-data-grid .count-block {
  clear: both;
  border-top: 1px solid white;
  padding: 4px;
  background-color: #efefef;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  line-height: 24px;
}
.form-select.popup-data-grid .count-block>span {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
}

.project-data {
  width: 100%;
}
.project-data .btn-group {
  width: 100%;
  margin-top: 20px;
}
.project-data .btn-select-main {
  width: calc(100% - 26px);
  text-align: left;
}

a:focus,
a:active {
  outline: none;
}

a:focus:has(.glyphicon-link),
a:active:has(.glyphicon-link) {
  outline: none;
}

.nav-tabs > li > a:focus,
.nav-tabs > li > a:active,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:active {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

/*Login page*/
#login-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 640px;
    height: 640px;
    background-image: url('../images/login-background.png');
    opacity: 50%
}

.login .modal {
    width: 454px;
    margin: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid rgb(216, 216, 216, 0.3);
    box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.1);
}

.login .modal .action-login {
    text-decoration: none;
    width: 100%;
    height: 40px;
    background: #4BAE4F;
}

.login .modal .login-btn:hover {
    cursor: pointer;
}

.login .modal .login-btn {
    width: 296px;
    height: 40px;
    background: #4BAE4F;
    text-align: center;
}

.login .modal .login-btn a,
.login .modal .login-btn a:hover,
.login .modal .login-btn a:focus,
.login .modal .login-btn a:active {
    display: block;
    position: relative;
    border: none;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0;
    font-weight: 700;
    font-size: 15px;
    top: 0;
    color: #fff;
    background: transparent;
    background-image: none;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.login .modal #login-form-block {
    display: flex;
    flex-direction: column;
    place-items: center;
}

.login .modal #login-form-block img{
    margin-top: 10px;
}

.login .modal form {
    margin-bottom: 13px;
}

.login .modal .login-modal-body{
    width: 296px;
    margin-top: 17px
}

.login .modal .login-input-field, .login .modal .pass-input-field{
    width: 296px;
    height: 40px;
    border: 1px solid #D8D8D8;
    box-shadow: none;
}

.login .modal .login-input-field {
    margin: 0 0 10px 0;
}

.login .modal .pass-input-field {
    margin: 0 0 13px 0;
}

.login .modal .login-input-field input, .login .modal .pass-input-field input{
    margin: 0;
    padding: 0 0 0 10px;
    width: 286px;
    height: 100%;
    border: none;
}

.login .modal .remember-me-checkbox input[type="checkbox"]{
    width: 16px;
    height: 16px;
    margin: 0 0 2px 0;
    padding: 0;
}

.login .modal .remember-me-checkbox span{
    margin-left: 9px;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #222222;
    font-family: Open Sans;
}

.login .modal .twofa-email {
    margin: 0 0 10px 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #222222;
    font-family: Open Sans;
}

.login .modal .action-resend-twofa:focus,
.login .modal .action-resend-twofa:active,
.login .modal .action-back-to-login:focus,
.login .modal .action-back-to-login:active {
    outline: 0 none;
    outline-width: 0;
    border: 0;
    box-shadow: none;
}

.login .modal .twofa-links {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 296px;
}
/*End login page*/
