/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

/* SMART ADMIN OVERRIDES */

.header-dropdown-list > li > .dropdown-toggle {
  margin-top: 0 !important;
}

.logged-user {
  margin: 6px 0 0 !important;
}

#profile {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

#logo {
  margin-top: 25px !important;
  width: 130px;
}

#logo img {
  width: 110px !important;
}

#extr-page #header #logo {
  margin-top: 25px !important;
}

.menu-on-top.smart-style-0 #left-panel,
.menu-on-top.smart-style-1 #left-panel,
.menu-on-top.smart-style-2 #left-panel,
.menu-on-top.smart-style-3 #left-panel,
.menu-on-top.smart-style-4 #left-panel,
.menu-on-top.smart-style-5 #left-panel,
.menu-on-top.smart-style-6 #left-panel {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.smart-style-0.menu-on-top .menu-item-parent,
.smart-style-1.menu-on-top .menu-item-parent,
.smart-style-2.menu-on-top .menu-item-parent,
.smart-style-3.menu-on-top .menu-item-parent,
.smart-style-4.menu-on-top .menu-item-parent,
.smart-style-5.menu-on-top .menu-item-parent,
.smart-style-6.menu-on-top .menu-item-parent {
  font-size: 13px;
}

#ribbon {
  border-bottom: 1px solid #b8b8b8 !important;
}

#hide-menu {
  margin-top: 10px;
  margin-right: 10px;
}

#hide-menu > :first-child > a {
  background-color: #5f5f5f !important;
  background-image: none !important;
}

.hidden-menu #hide-menu > :first-child > a {
  background-color: #e8e8e8 !important;
  background-image: none !important;
}

.select2-container-multi .select2-choices .select2-search-field input {
  padding: 6px 12px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  color: #555 !important;
}

.select2-container-multi.select2-container-disabled .select2-choices {
  background-color: #eee !important;
  border: 1px solid #ccc !important;
}

.select2-container-multi .select2-choices {
  min-height: 32px !important;
}

.select2-container-multi.select2-container-disabled
  .select2-choices
  .select2-search-choice {
  padding: 1px 5px !important;
}

.smart-style-2 .btn-primary,
.smart-style-2 .smart-form .button {
  background-color: #3276b1;
  border-color: #2c699d;
}

.smart-style-2 .btn-primary:hover,
.smart-style-2 .btn-primary:focus,
.smart-style-2 .btn-primary:active,
.smart-style-2 .btn-primary.active,
.smart-style-2 .open .dropdown-toggle.btn-primary {
  background-color: #275b89;
  border-color: #1f496d;
}

.smart-style-2 .btn-success {
  background-color: #739e73;
  border-color: #659265;
}

.smart-style-2 .btn-success:hover,
.smart-style-2 .btn-success:focus,
.smart-style-2 .btn-success:active,
.smart-style-2 .btn-success.active,
.smart-style-2 .open .dropdown-toggle.btn-success {
  background-color: #5b835b;
  border-color: #4c6e4c;
}

.smart-style-2 .btn-danger {
  background-color: #a90329;
  border-color: #900323;
}

.smart-style-2 .btn-danger:hover,
.smart-style-2 .btn-danger:focus,
.smart-style-2 .btn-danger:active,
.smart-style-2 .btn-danger.active,
.smart-style-2 .open .dropdown-toggle.btn-danger {
  background-color: #77021d;
  border-color: #540114;
}

.smart-style-2 .btn-warning {
  background-color: #c79121;
  border-color: #b1811d;
}

.smart-style-2 .btn-warning:hover,
.smart-style-2 .btn-warning:focus,
.smart-style-2 .btn-warning:active,
.smart-style-2 .btn-warning.active,
.smart-style-2 .open .dropdown-toggle.btn-warning {
  background-color: #9b711a;
  border-color: #7d5b15;
}

@media (max-width: 979px) {
  .menu-on-top #main {
    margin-top: 70px !important;
  }

  .menu-on-top #left-panel {
    display: block !important;
  }

  .menu-on-top aside#left-panel nav {
    margin-top: 70px;
    height: auto !important;
  }

  .menu-on-top.hidden-menu aside#left-panel nav {
    display: none !important;
  }

  .menu-on-top nav > ul > li {
    background: #fff !important;
  }

  .menu-on-top nav > ul > li:hover {
    background: #2e3e57 !important;
  }
}

@media only screen and (max-width: 479px) and (min-width: 0) {
  #logo-group,
  #logo {
    width: 100% !important;
  }

  #extr-page #header #logo {
    display: block !important;
  }

  .menu-on-top #main {
    margin-top: 118px !important;
  }

  .menu-on-top aside#left-panel nav {
    margin-top: 118px;
  }
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.grid-view-container > .list-group .list-group-item .btn-group.dropdown {
  float: right;
  margin-left: 5px;
  margin-right: -10px;
  margin-top: -5px;
}

.grid-view-container > .list-group .list-group-item .list-group-item-text {
  word-break: break-all;
}

.project-structure .dd-handle:hover,
.project-structure .dd-handle:hover + .dd-list .dd-handle {
  color: #333 !important;
  border: 1px solid #cfcfcf !important;
  background: #fbfbfb !important;
}

.project-structure .dd-handle.simple-handle,
.project-structure .dd-handle.simple-handle:hover,
.project-structure .dd-handle:hover + .dd-list .dd-handle.simple-handle {
  border: transparent !important;
  background: inherit !important;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 33px;
}

.logged-user {
  display: inline-block;
  height: 30px;
  line-height: 24px;
  min-width: 30px;
  padding: 2px 10px 2px 2px;
  text-align: center;
  text-decoration: none !important;
  -moz-user-select: none;
  -webkit-user-select: none;
  color: #6d6a69;
  font-size: 14px;
  margin: 10px 0 0;
}

.select2-container .select2-choice[allow-clear="true"] abbr {
  right: 34px;
  font-size: 15px;
}

.select2-container .select2-choice[allow-clear="true"] abbr:before {
  color: #444;
}

.ui-select-dropdown.select2-drop-active {
  opacity: 1 !important;
}

.dropdown-menu-right {
  min-width: 0;
}

.smart-form * {
  box-sizing: border-box;
}

.smart-form .checkbox input + i:after {
  top: -2px !important;
  left: 0 !important;
}

.smart-form .form-control {
  padding-left: 12px;
  padding-right: 12px;
}

.hide-locked-items .select2-locked {
  display: none;
}

/* FILES UPLOAD AND DROP BOX */

.drop {
  padding: 18px;
  border: 2px #b0b0b0 dashed;
  border-radius: 2px;
  line-height: 34px;
}

.drop.drag-over {
  background: #76a576;
  border: 2px #76a576 dashed;
  color: #fff;
}

.transfer-box {
  margin-bottom: 5px;
}

.transfer-box .progress {
  margin-top: 5px;
  margin-bottom: 5px;
}

.transfer-box .btn-group {
  margin-left: 1px;
  margin-bottom: 10px;
}

.transfer-box .checkbox-inline {
  margin-top: -2px;
}

.transfer-box label {
  width: 130px;
}

.transfer-box input.form-control {
  display: inline-block;
  width: 400px;
}

.transfer-box .ui-select-container {
  width: 400px;
}

.transfer-box div {
  margin-bottom: 5px;
}

/* DOCUMENT VIEW */

.doc-view {
  margin-bottom: 10px !important;
}

.doc-view label {
  width: 150px;
  margin-bottom: 0;
}

.doc-view input {
  display: inline-block;
  width: 400px;
}

.doc-view h5 {
  display: inline-block;
}

.doc-view table {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 2px;
  min-height: 20px;
  padding: 8px;
}

.doc-view table tr td {
  padding: 5px 2px;
}

.preview-img {
  height: 350px !important;
  width: 100%;
}

/* ACCESS RIGHTS */

.access-rights {
  height: 350px;
  border: 1px solid #ddd;
  overflow-y: scroll;
}

.access-rights table {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.access-rights table tr {
  /*border-left: 1px solid #b0b0b0;*/
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.access-rights table tr td {
  border: none !important;
  margin: 0 !important;
  padding-top: 2px !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  width: 100%;
  vertical-align: middle;
}

.access-rights table thead tr {
  border-left: none;
}

.access-rights table thead tr th {
  margin: 0 !important;
  padding: 5px 0 5px 0 !important;
  width: 100%;
}

.no-border-left {
  border-left: none !important;
}

.no-padding-left {
  padding-left: 0 !important;
}

.width-50 {
  width: 70px !important;
}

.width-50 div {
  width: 70px !important;
  min-height: 0 !important;
  text-align: center !important;
}

.width-50 .checkbox {
  padding-left: 10px !important;
}

.actions-log {
  height: 200px;
  border: 1px solid #ddd;
  overflow-y: scroll;
}

/* USERS ICONS */

.group-icon {
  padding-right: 5px;
  color: darkgray;
}

.select2-container-disabled .group-icon {
  color: gray;
}

.user-icon {
  padding-right: 5px;
}

.admin-icon {
  color: palevioletred;
}

.siteadmin-icon {
  color: cyan;
}

.manager-icon {
  color: darkorange;
}

.coordinator-icon {
  color: greenyellow;
}

.investigator-icon {
  color: darkviolet;
}

.label-danger .investigator-icon {
  color: violet;
}

.customer-icon {
  color: skyblue;
}

.select2-container-disabled .customer-icon {
  color: dodgerblue;
}

.field-error {
  color: #b94a48;
}

div[data-angular-treeview] {
  /* prevent user selection */
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* default */
  font-family: Tahoma;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

div[data-tree-model] ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  overflow: hidden;
}

div[data-tree-model] li {
  position: relative;
  padding: 0 0 0 20px;
  line-height: 20px;
}

div[data-tree-model] li i,
div[data-tree-model] li span {
  cursor: pointer;
}

div[data-tree-model] li .selected {
  background-color: #aaddff;
  font-weight: bold;
  padding: 1px 5px;
}

.tpl-btn {
  width: 140px;
}

.inline-middle {
  display: inline-block;
  vertical-align: middle;
}

.export-logs {
  margin-top: -47px;
}

.warn-text {
  color: red;
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
}

@media screen and (max-width: 1200px) {
  .export-logs {
    margin-top: 20px;
  }
}

#recognized-docs-content .selected-row {
  background-color: #cfd7d8;
}

#recognized-docs-content .pages-container {
  margin: 0;
  text-align: center;
  margin-top: 20px;
}

.drop.drag-over {
  background: #76a576 !important;
  border: 2px #76a576 dashed !important;
  color: #fff !important;
}

.top-modal-z-index {
  z-index: 999999 !important;
}

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.templateRulesDragAndDrop ul[dnd-list] {
  min-height: 42px;
  padding-left: 0px;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.templateRulesDragAndDrop ul[dnd-list] .dndDraggingSource {
  display: none;
}

/**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
.templateRulesDragAndDrop ul[dnd-list] .dndPlaceholder {
  background-color: #ddd;
  display: block;
  min-height: 42px;
}

.templateRulesDragAndDrop ul[dnd-list] li {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
}

.div-disabled
{
  pointer-events: none;
  opacity: 0.5;
  background: #CCC;
}

.link-disabled
{
  cursor: not-allowed;
  pointer-events: none;
  color: grey;
}

.rule-query-data-value
{  
  width: 178px;
  overflow: hidden;
  display: -webkit-box;
  word-break: break-all;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.highlight-rules-area {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
}

.folder-hierarchy-breadcrumbs-area {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  display: block;
  padding: 5px 15px;
  margin-bottom: -1px;
}

.document_action_logs {
  max-height:200px;
  overflow-y: auto;
}

.document_versions {
  max-height:200px;
  overflow-y: auto;
}

.document_annotations {
  max-height:200px;
  overflow-y: auto;
}

.uib-daypicker .btn-info {
  color: #fff;
  background-color: #39b3d7;
  border-color: #269abc
}

