﻿html, body {
    height: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

[ng-click],
[ui-sref],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.translate-cloak {
    display: none !important;
}

.form {
    margin: 20px;
}

.stretch-layout-panel {
    align-items: initial;
    flex: 1;
    display: flex;
    align-content: stretch;
    overflow: auto;
}

#header {
    flex: none;
}

.navbar {
    margin-bottom: 0px;
}

.modal-dialog {
    margin-top: 50px;
    width: 90%;
    height: 95%;
}

.modal-content {
    height: 80%;
    max-height: 80%;
    min-height: 600px;
}

.modal-sm {
    width: 600px;
    height: auto;
}

.modal-sm .modal-content {
    margin-top: 30%;
    height:200px;
    min-height: 200px;
}

.modal-sm .modal-header h3 {
    padding: 0px;
    margin: 0;
}

.modal-sm .modal-footer {
    padding: 5px;
    height: 80px;
}

.scrollable {
    overflow: auto;
}

#loaderDiv {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    background-color: white;
    opacity: .6;
}

.ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px; /* -1 * image width / 2 */
    margin-top: -32px; /* -1 * image height / 2 */
    display: block;
}

.page-header {
    margin: 0px 0 0 20px;
}

.navbar {
    border-radius: 0px;
}

.tab-content {
    border: 1px solid #e5e5e5;
    padding: 5px;
    border-top: none;
    overflow: auto;
}

.table-header {
    font-size: 14px;
    font-weight: bold;
}

.grid-container {
    margin: 0 30px;
}

.data-item div {
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid .grid-row .row {
    padding: 8px;    
}

.grid-table-body {
    border-top: 3px solid #eee;
}

.grid-striped .grid-row > .row:nth-child(odd) {
  background-color: #f9f9f9;
}

.page-header h3 {
    overflow-wrap: break-word;
    overflow: hidden;
}

.modal-header {
    margin: 0px;
}

.modal {
    overflow: hidden;
    overflow-y: hidden;
}

.wrap {
    overflow-wrap: break-word;
}

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 .group {
  padding: 1px 10px;
  background-image: url("/Content/img/group.png");
  background-repeat: no-repeat;
}

div[data-tree-model] li .abstractitem {
  padding: 1px 10px;
  background-image: url("/Content/img/abstractitem.gif");
  background-repeat: no-repeat;
}

div[data-tree-model] li .item {
  padding: 1px 10px;
  background-image: url("/Content/img/item.gif");
  background-repeat: no-repeat;
}

div[data-tree-model] li .hypercube {
  padding: 1px 10px;
  background-image: url("/Content/img/hypercube.png");
  background-repeat: no-repeat;
}

div[data-tree-model] li .dimension {
  padding: 1px 10px;
  background-image: url("/Content/img/dimension.gif");
  background-repeat: no-repeat;
}

div[data-tree-model] li .dimensionValue {
  padding: 1px 10px;
  background-image: url("/Content/img/abstractitem.gif");
  background-repeat: no-repeat;
}

div[data-tree-model] li i, div[data-tree-model] li span {
  cursor: pointer;
}

div[data-tree-model] li .selected {
  background-color: #aaddff;
}

form input[type="checkbox"] {
    height: 34px;
    font-size: 14px;
}

li.spacer {
    margin: 10px 0;
}

.table-fixed {
    table-layout: fixed;
}

.cell-break {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.view-content {
    padding: 30px;
}

.taxonomy-group-list {
    word-break: break-all;
    word-wrap: break-word;
}

.modal-footer .float-left {
    float: left;
}

.modal-open .modal {
    overflow-y: hidden;
}

#taxonomy-dropdown{
    height: 700px;
    overflow-y:scroll;
}

input[type="checkbox"]{
    box-shadow: none;
}

.grid-row .form-horizontal.grid-row-static:first-child{
    margin-top:10px;
}