.clearfix:after{
  content: "";
  display: block;
  line-height: 0;
  clear: both;
}
.modal {

  display: -webkit-box!important;
  display: -moz-box!important;
  display: -ms-flexbox!important;
  display: -webkit-flex!important;
  display: flex !important;

  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-align:center;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;

}

.modal .modal-dialog {
  width: auto;
}

.modal-dialog .modal-content{
  margin-left: auto;
  margin-right: auto;
}

.modal-body {
  min-width: 600px;
}



.modal_content_container {
  width: 99.7%;
  padding: 16px 16px 0;
}

html, body {
  margin:0 auto !important;
  padding:0 !important;
  height: 100% !important;
}

html, body, .wrapper, .main-content-container, .content-wrapper {
  height: 100%;
}

/*.content-wrapper {*/
/*overflow-y: scroll;*/
/*}*/

.modal-footer {
  clear: both;
}

.modal-footer .pull-left {
  float: none !important;
}

.box-footer {
  text-align: center;
}

.box-footer .pull-right {
  float: none !important;
}

.box-footer .pull-left {
  float: none !important;
}

.autocomplete-suggestions {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #999;
  background: #FFF;
  cursor: default;
  overflow: auto;
  -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
  box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
}

.autocomplete-no-suggestion {
  padding: 2px 5px;
}

.autocomplete-selected {
  background: #F0F0F0;
}

.autocomplete-suggestions strong {
  font-weight: bold;
  color: #000;
}

.autocomplete-group {
  padding: 2px 5px;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  display: block;
  border-bottom: 1px solid #000;
}

a {
  color: #3c8dbc;
  cursor: pointer;
}

.validationMessage {
  display: none !important;
}

.watermark {
  font-style: italic;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.25;
  font-size: 3em;
  width: 100%;
  text-align: center;
  z-index: 1000;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0
}

.mask {
  height: 100%;
  width: 100%;
  position: fixed;
  _position: absolute;
  top: 0;
  z-index: 100000;
  background-image: url(../image/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
}

.opacity {
//opacity: 0.3;
//filter: alpha(opacity=30);
//background-color: #000;
}

.navbar-nav>li.active>a {
  color: #fff !important;
  background: #1e282c  !important;
  border-left-color: #3c8dbc !important;
}
.ui-grid, .ui-grid-viewport {
  height: auto !important;
  min-height: 300px;

}
.ui-grid-viewport{
  overflow-x: auto !important;
}

.swal2-container{
  z-index: 99999!important;
}


.tree {
  border: 1px solid #d5d4d4;
  position: absolute;
  background-color: white;
  max-height: 300px;
  overflow: auto;
  height: 150px;
  z-index: 9999;
  width: calc(100% - 30px);
  display: none;
}

.headerTree {
  border: 1px solid #d5d4d4;
  position: absolute;
  background-color: white;
  max-height: 300px;
  overflow: auto;
  height: 150px;
  z-index: 9999;
  width: calc(100% - 30px);
}
.tab-content{
  height: 100%;
}

.content {
  padding-top: 4em !important;
}

.jstree-default .jstree-icon.organization_type_company{
  background: url("../image/treeicon/treenode_company.png")  0 0 no-repeat;
}

.jstree-default  .jstree-icon.organization_type_area{
  background: url("../image/treeicon/treenode_department.png")  0 0 no-repeat;
}

.jstree-default .jstree-icon.organization_type_project{
  background: url("../image/treeicon/treenode_manager.png")  0 0 no-repeat;
}

.jstree-default .jstree-icon.organization_type_divide{
  background: url("../image/treeicon/treenode_default.png")  0 0 no-repeat;
}

.jstree-default .jstree-icon.fee-lev1{
  background: url("../image/treeicon/fee-lev1.png")  0 0 no-repeat;
}
.jstree-default .jstree-icon.month-lev{
  background: url("../image/treeicon/month-lev.png")  0 0 no-repeat;
}
.jstree-default .jstree-icon.pay-lev{
  background: url("../image/treeicon/pay1.png")  0 0 no-repeat;
}

.jstree-default .jstree-icon.fee-lev2{
  background: url("../image/treeicon/fee-lev2.png")  0 0 no-repeat;
}

.treeFeeItem, .treeFeeItemNew, .headJsTree{
  border: 1px solid #d5d4d4;
  position: absolute!important;
  background-color: white;
  max-height: 350px;
  overflow: auto;
  min-height: 250px;
  z-index: 9999;
  min-width: 320px;
  max-width: 500px;
  display: none;
}


label .requeired-label{
  position: absolute\0;
}

.dataTables_paginate > button.paginate_button{
  height: 25px;
  line-height: 1;
}

.dataTables_paginate > span.paginate_button,.dataTables_wrapper .dataTables_paginate > span.paginate_button{
  height: 25px;
  line-height: 1;
}


div.dataTables_paginate .paginate_inputContain .paginate_input {
  height: 25px;
  line-height: 1;
}
.ui-grid div.dataTables_wrapper div.dataTables_paginate{
  margin-top: 8px;
}

div.dataTables_wrapper div.dataTables_length select{
  height: 25px;
  line-height: 1;
  margin: 0 4px;
  padding: 0px 10px;
  width: auto;
}

.moment-picker td{
  border:none;
}

.state-blue {
  background-color:rgb(69,141,254);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-green {
  background-color:rgb(32,205,112);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-violet {
  background-color:rgb(149,88,255);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-light-blue {
  background-color:rgb(46,186,241);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-orange {
  background-color:rgb(248,155,58);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-orange2 {
  background-color:rgb(241,105,29);
  padding: 6px 10px 6px 10px;
  color:white
}

.state-grey {
  background-color:rgb(206,205,205);
  padding: 6px 10px 6px 10px;
  color:white
}