@import "Bootstrap/variables";
@import "Bootstrap/mixins";
@import "Bootstrap/type";
@import "font";
@import "form";
@import "navbar";
@import "Backgrid/backgrid";
@import "prefixer";
@import "icons";
@import "checkbox-button";
@import "spinner";
@import "legend";
@import "progress-bars";
@import "../Shared/Styles/clickable";
@import "../Shared/Styles/card";
@import "../Rename/rename";
@import "typeahead";
@import "utilities";
@import "../Hotkeys/hotkeys";

.main-region {
  @media (min-width: @screen-lg-min) {
    padding-left  : 30px;
    padding-right : 30px;
  }
}

.toolbar {

  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }

  .page-toolbar {
    margin-top    : 10px;
    margin-bottom : 30px;

    .toolbar-group {
      display: inline-block;
    }

    .sorting-buttons {
      .sorting-title {
        display: inline-block;
        width: 110px;
      }
    }
  }
}

.toolbars {
  margin-top    : 5px;
  margin-bottom : 30px;

  .page-toolbar {
    margin-top    : 5px;
    margin-bottom : 0px;
  }
}

.page-container {
  min-height : 500px;
}

#scroll-up {
  .clickable;

  &:hover {
    text-decoration : none;
    .opacity         (0.4);
  }

  .opacity   (0.2);
  position  : fixed;
  bottom    : 50px;
  right     : 50px;
  display   : none;
  font-size : 56px;
  color     : white;
}

.control-panel-visible {
  #scroll-up {
    bottom: 100px;
  }
}

.label-large {
  padding   : 4px 6px;
  font-size : 16px;
}

.label-white {
  color            : black;
  background-color : white;
}

.label-disabled {
  opacity: 0.5;
}

th {
  cursor : default;

  &.sortable {
    &:hover {
      background : @table-bg-hover;
    }
    .clickable();

  }
}

a, .btn {
  i {
    cursor : pointer;
  }
}

body {
  background:
    url('../Content/Images/background/logo.png') 50px center no-repeat fixed,#272727;

  margin-bottom    : 100px;
  p {
    font-size : 0.9em;
  }
}

.footer {
  font-size       : 13px;
  font-weight     : lighter;
  padding-top     : 0px;
  padding-bottom  : 20px;
  color           : #999999;
  margin          : 0;
  text-decoration : none;

  a {
    color           : #999999;
    text-decoration : underline;
  }

  p {
    margin-bottom : 0px;
  }

  #footer-region {
    .text-center();
    position : relative;
    width    : 256px;
    margin   : 50px auto 0px auto;
    display  : block;
  }
}

.started #page {
  .card(#aaaaaa);
  /* width      : 1210px;
  min-width  : 1210px; */
  max-width  : 1210px;
  margin     : auto;
//  margin-top : -70px;
  padding    : 20px 0px;

  .header {
    padding-bottom : 10px;
    margin-bottom  : 20px;
    border-bottom  : 1px solid #eeeeee;
  }
}

.backdrop #page {
  background-color : transparent;
  box-shadow       : none;
}

.validation-errors {
  i {
    padding-right : 5px;
  }
}

.status-primary {
  color : @link-color;
}

.status-success {
  color : @state-success-text;
}

.status-warning {
  color : @state-warning-text;
}

.status-danger {
  color : @state-danger-text;
}

.error {
  background: #FF0000;
}

#errors{
  display : none;
}

.mono-space {
  font-family: "ubuntu mono"
}

.file-path {
  .mono-space();
}

.control-panel {
  .card(#333333);

  color: #f5f5f5;
  background-color: #333333;
  margin: 0px;
  margin-bottom: -100px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  opacity: 0;

  @media (max-width: @screen-sm-max) {
    height: initial;
    position: static;
  }
}

.tab-content {
  .tab-pane {
    padding-top: 10px;
  }
}

.modal-header {
  h3 {
    margin-top    : 0px;
    margin-bottom : 0px;
  }
}

.tooltip {
  .tooltip-inner {
    max-width : 250px;
  }
}
