@import 'theme.less';
@blue: #00BCD4;
@gray: #E3E3E3;
.no-bold {
  font-weight: normal !important;
  text-align: left !important;
}
.text-muted {
  text-align: right !important;
}
.no-wrap {
  white-space: nowrap;
}
.rating-stars {
    color: gold;
}
.padding {
  padding: 10px;
}
.entry {
  margin: 10px 0;
  input {
    margin: 0 10px;
  }
}
.text-red {
  color: red;
}
.text-gray {
  color: #9b9b9b !important;
}
.cke.validate-failed.show-error {
  border: 1px solid red;
}
.validate-failed.show-error {
  color: red;
  input {
    border: 1px solid red !important;
  }
}
.photo-library-item {
  padding: 10px;
}
.modal.wide .modal-dialog{
  width: 900px;
}
.gridview {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 400px;
}
.img-preview {
  max-width: 70px;
  &.big {
    height: 120px;
  }
  &.max {
    height: auto;
    max-width: 100%;
  }
}
.waitting {
  text-align: center;
  font-size: 30px;
  padding: 40px;
}
.pagination {
  a {
    cursor: pointer;
  }
}
.content {
  position: relative;
}
.overlay-all {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.67);
  font-size: 30px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-editor {
  width: 100%;
}
.width250 {
  width: 250px;
}
.width160 {
  width: 160px;
}
.width70 {
  width: 70px;
}
.category-list {
  .label {
    margin-right: 4px;
    display: inline-block;
  }
}
.content-header {
  overflow: hidden;
}
.breadcrumb {
  display: inline-block;
}
.margin-top {
  margin-top: 10px;
}
.delay-showing {
  -webkit-animation: delay-showing 1.5s;
  -moz-animation: delay-showing 1.5s;
  -o-animation: delay-showing 1.5s;
  animation: delay-showing 1.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes delay-showing {
  0% {
    opacity: 0;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

table.sortable {
  th {
    white-space: nowrap;
    span {
      cursor: pointer;
    }
  }
}
table th.has-filter-true .sort-icon {
  margin-right: 30px;
}
.search-box {
  margin-bottom: 10px;
}
.editable-address {
  display: flex;
  justify-content: space-between;
  .Select {
    flex-grow: 9;
  }
  button {
    flex-grow: 1;
  }
}
#build-number {
  color: #6D6D6D;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 10px;
  opacity: 0;
  padding: 10px;
  &:hover {
    opacity: 1;
  }
}
.editable-checkbox-enabled {
  .btn.toggle {
    opacity: 1 !important;
  }
}
.btn.toggle {
  width: 50px !important;
  height: 26px !important;
  .toggle-on.btn {
    padding: 2px 10px 0 0;
  }
  .toggle-off.btn {
    padding: 2px 0 0 10px;
  }
}

.info-box-bottom {
  margin-top: 15px;
}
.chart-legend {
  white-space: nowrap;
}

.dropdown-menu > li > a {
  text-transform: capitalize;
}

.editable-popup {
  background-color: #eee;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  &:hover {
    background-color: #d6d6d6;
  }
}
#location-picker {
  width: 100%;
  height: 250px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.marginTop10 {
  margin-top: 10px;
}
.marginBot10 {
  margin-bottom: 10px;
}
#pac-input {
  display: none;
}
.gm-style #pac-input {
  display: block;
}
.inline-block {
  display: inline-block;
}
.center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-30 {
  margin-top: 30px;
}
.sorting-row {
  background: #BFD6FF !important;
}
.location-selector {
  position: relative;
}
#hider {
  display: none;
  background-color: rgba(255,255,255,0.5);
  z-index: 99;
  position: absolute;
  width: 100%;
  height: 100%;
  &.show {
    display: block;
  }
}
.mr-20 {
  margin-right: 20px;
}
.mr-10 {
  margin-right: 10px;
}

.expandable-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.textarea-upload-photo {
  @size: 40px;
  float: right;
  height: @size;
  width: @size;
  margin-left: -@size;
  padding-top: 6px;
  .photo-upload-button {
    @btn-size: 30px;
    display: none;
    width: @btn-size;
    height: @btn-size;
    border-radius: 3px;
    border: 1px solid #a6a6a6;
    border-bottom-color: #979797;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;
    background: #e4e4e4;
    background-image: linear-gradient(to bottom,#fff,#e4e4e4);
    text-align: center;
    line-height: @btn-size;
    &:not(.disabled):hover {
      background: #ccc;
      background-image: linear-gradient(to bottom,#f2f2f2,#ccc);
      filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');
      outline: 0;
    }
    &:not(.disabled):active {
      border: 1px solid #777;
      box-shadow: 0 1px 0 rgba(255,255,255,.5),0 1px 5px rgba(0,0,0,.6) inset;
      background: #b5b5b5;
      background-image: linear-gradient(to bottom,#aaa,#cacaca);
      filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#aaaaaa',endColorstr='#cacaca');
    }
    &.disabled {
      color: #bbb;
    }
  }
}
.sidebar-menu .treeview-menu {
  display: block;
}
.noscrollbar{
  -ms-overflow-style:none;
  overflow:-moz-scrollbars-none;// but it seems to not work...
}
.noscrollbar::-webkit-scrollbar{
  width: 0px;
  display: none;
}
.file-drop {
    /* relatively position the container bc the contents are absolute */
    position: relative;
    height: 1px;
    width: 100%;
}

.file-drop > .file-drop-target {
    /* basic styles */
    position: relative;
    top: 0;
    left: 0;
    height: 430px;
    width: 100%;
    border-radius: 2px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.file-drop > .file-drop-target.file-drop-dragging-over-frame {
    /* when dragging over the frame */
    border: none;
    background-color: rgba(255, 255, 255, 0.65);
    box-shadow: none;
    z-index: 50;
    opacity: 1.0;
    color: #333;
    font-size: 20px;
}

.file-drop > .file-drop-target.file-drop-dragging-over-target {
    /* dragging over the target */
     box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.3);
}
.breadcumb {
  margin-top: 6px;
}

.pre-table {
  padding: 10px;
  padding-right: 100px;
  background-color: white;
  .pre-table-line {
    display: flex;
    justify-content: space-between;
    &>div {
      width: 150px;
      display: flex;
      justify-content: space-between;
      b {
        width: 70px;
        text-align: left;
      }
    }
  }
}
.action-button {
  @size: 20px;
  width: @size;
  height: @size;
  border-radius: @size;
  background-color: #ccc;
  display: inline-block;
  line-height: @size;
  text-align: center;
  margin: 2px;
  color: white;
  &:hover {
    background-color: #aaa;
  }
}
.editable-entity-select.inline {
  width: 190px;
  display: inline-block;
  vertical-align: middle;
}
.login-panel {
  width: 400px;
  margin: 5% auto;
  position: relative;
}

.dropdown-menu a {
  cursor: pointer;
}
