@resource-accountant-color: #11b08d;
@resource-lawyer-color: #1e88e5;
@resource-business-color: #f9a825;
@main-color1: #25408f;
@main-color2: #293a55;
@main-color3: #464748;
@main-color4: #7C8B9D;
@main-color5: #00B0FF;

@header-height: 44px;

@header-padding: 3px;

.transform(@rg) {
  transform: @rg;
  -webkit-transform: @rg;
  -moz-transform: @rg;
  -o-transform: @rg;
  -ms-transform: @rg;
}

.scale-rotate(@ratio; @degrees) {
  -webkit-transform: scale(@ratio) rotate(@degrees);
  -ms-transform: scale(@ratio) rotate(@degrees); // IE9 only
  -o-transform: scale(@ratio) rotate(@degrees);
  transform: scale(@ratio) rotate(@degrees);
}

.translate-rotate(@x; @y; @degrees) {
  -webkit-transform: translate(@x, @y) rotate(@degrees);
  -ms-transform: translate(@x, @y) rotate(@degrees); // IE9 only
  -o-transform: translate(@x, @y) rotate(@degrees);
  transform: translate(@x, @y) rotate(@degrees);
}

.translate-scale(@x; @y; @ratio) {
  -webkit-transform: translate(@x, @y) scale(@ratio);
  -moz-transform: translate(@x, @y) scale(@ratio);
  -ms-transform: translate(@x, @y) scale(@ratio); // IE9 only
  -o-transform: translate(@x, @y) scale(@ratio);
  transform: translate(@x, @y) scale(@ratio);
}

.border-radius(@radius) {
  border-radius: @radius;
}

.placeholderColor(@color){
  &::-webkit-input-placeholder {
    color: @color;
  }
  &::-moz-placeholder {
    color: @color;
  }/* Firefox 19+ */
  &:-moz-placeholder {
    color: @color;
  }/* Firefox 18- */
  &:-ms-input-placeholder {
    color: @color;
  }
}

.headerLineHeight(){
  line-height: @header-height;
}

.headerHeight(@row: 1){
  height: @header-height * @row;
}

.headerTop(@row: 1; @padding: 20px;){
  top: @header-height * @row + @padding;
}

.headerPaddingTop(@row: 2; @padding: 20px;){
  padding-top: @header-height * @row + @padding;
}

.clip(){
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.clip-row(@background; @line-height; @row){
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;

  white-space: normal;
  word-wrap: break-word;
  position: relative;
  &:after{
    content: "";
    height: 100%;
    width: 100%;
    background-color: inherit;
    position: absolute;
  }
  &:before{
    content: "...";
    position: absolute;
    right: 0;
    background-color: inherit;
  }

  background: @background;
  line-height: @line-height;
  max-height: @line-height * @row;
  &:before{
    top: @line-height * (@row - 1);
  }
}


html{
  height: 100%;
  -ms-overflow-style: scrollbar;
}
body {
  min-height: 100%;
  overflow-x: hidden;
  background: white;
  padding-top: 44px !important;
  -webkit-transition: margin 0.3s ease;
     -moz-transition: margin 0.3s ease;
       -o-transition: margin 0.3s ease;
          transition: margin 0.3s ease;
  @media(min-width: 758px) {
    padding-top: 75px !important;
  }
  &.scroll-not-top, &.lz-platforma-small-header {
    padding-top: 44px !important;
  }
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak] {
  display: none !important;
}

form input:focus {
  outline: none;
}
form input::-webkit-input-placeholder {
  color: #979ca2;
  font-weight: 100;
  font-style: italic;
}
form input:-moz-placeholder {
  color: #979ca2;
  font-weight: 100;
  font-style: italic;
}
form input::-moz-placeholder {
  color: #979ca2;
  font-weight: 100;
  font-style: italic;
}
form input:-ms-input-placeholder {
  color: #979ca2;
  font-weight: 100;
  font-style: italic;
}

.btn-group > .btn:first-child:not(:last-child) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.form-control-feedback{
  pointer-events: auto;
}

.well {
  margin-bottom: 0;
}
